ChangeLog 165 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131
  1. 2008-04-08 Marek Habersack <[email protected]>
  2. * TemplateParser.cs: CodeFile/Src handling uses
  3. HostingEnvironment.VirtualPathProvider to check for file
  4. existence.
  5. 2008-04-02 Marek Habersack <[email protected]>
  6. * Page.cs: make SetContext internal (used from tests).
  7. 2008-04-01 Marek Habersack <[email protected]>
  8. * TemplateControl.cs: ParseControl implemented for the 2.0
  9. profile.
  10. * UserControlParser.cs: added support for compiling controls
  11. without input file (e.g. from TemplateControl.ParseControl).
  12. * TemplateParser.cs: implemented VirtualPathProvider support for
  13. registering UserControls.
  14. If there is no input file path provided, auto-generate the class
  15. name in the ClassName property getter.
  16. 2008-03-27 Marek Habersack <[email protected]>
  17. * Page.cs: added an implementation of the ClientQueryString
  18. property.
  19. 2008-03-13 Marek Habersack <[email protected]>
  20. * TemplateParser.cs: HttpApplication.BinaryDirectories property no longer
  21. exists, use HttpApplication.BinDirectory instead.
  22. 2008-03-09 Dean Brettle <[email protected]>
  23. * Page.cs (SavePageControlState, LoadPageControlState): save/load
  24. adapter state in 2.0 profile.
  25. * Page.cs (CreateHtmlTextWriter): call Browser.CreateHtmlTextWriter()
  26. in 2.0 profile.
  27. * Page.cs (RenderPage): call CreateHtmlTextWriter() to get the writer
  28. in 2.0 profile.
  29. * Page.cs (DeterminePostBackMode, InitOutputCache,
  30. RenderClientScriptFormDeclaration, InternalProcessRequest,
  31. PageStatePersister): added support for PageAdapters.
  32. * Control.cs (Adapter, ResolveAdapter): implemented. Adapter calls
  33. ResolveAdapter and remembers result. ResolveAdapter checks for adapters
  34. of the Type hierarchy until it finds one.
  35. * Control.cs (SaveViewStateRecursive, LoadViewStateRecursive): save/load
  36. adapter state in 2.0 profile.
  37. * HtmlTextWriter.cs (BeginRender, EndRender): added empty virtual methods
  38. required by 2.0 profile. These are called by corresponding methods of
  39. System.Web.UI.Adapters.ControlAdapter.
  40. * Page.cs, Control.cs: don't access Request.Browser if it couldn't have
  41. any adapters/writers because there are no files in App_Browsers/.
  42. 2008-03-09 Marek Habersack <[email protected]>
  43. * TemplateControlParser.cs: 2.0 allows controls with extensions
  44. different than .ascx, as long as they derive from
  45. System.Web.UI.UserControl and a build provider is available for
  46. them.
  47. * TemplateParser.cs: user controls must derive from
  48. System.Web.UI.UserControl.
  49. * SimpleWebHandlerParser.cs: if the input file doesn't contain the
  50. correct directive string (tag name is empty for the <%@ %> tag),
  51. use the default directive.
  52. 2008-02-28 Marek Habersack <[email protected]>
  53. * TemplateControlParser.cs: when registering a control, check for
  54. the .ascx extension case-insensitively. Fixes bug #364995
  55. 2008-02-28 Igor Zelmanovich <[email protected]>
  56. * Control.cs:
  57. fixed exception propagation in case of multiple control with same id
  58. were found.
  59. 2008-02-26 Marek Habersack <[email protected]>
  60. * TemplateParser.cs: a better error message.
  61. * ControlBuilder.cs: if one of the parent builders is a
  62. TemplateBuilder, use it as the naming container and use its
  63. ContainerType property as the value of the BindingContainerType
  64. property.
  65. 2008-02-25 Marek Habersack <[email protected]>
  66. * ControlBuilder.cs: correctly chain up to the parent builder when
  67. looking for the naming container.
  68. 2008-02-21 Marek Habersack <[email protected]>
  69. * ControlBuilder.cs: introduced a new internal property -
  70. MyNamingContainer used by the public properties
  71. NamingContainerType and BindingContainerType. This simplifies the
  72. code in the latter property, as the binding container type must
  73. almost always be the same as the naming container type. The only
  74. exception is when we're inside a content builder, in which case we
  75. return the parent's BindingContainerType. Fixes bug #363665
  76. 2008-02-12 Vladimir Krasnov <[email protected]>
  77. * Page.jvm.cs: StateSerializer.readExternal and writeExternal fixed
  78. to support viewstate encryption
  79. 2008-02-12 Vladimir Krasnov <[email protected]>
  80. * ObjectStateFormatter.cs: revert of 91820
  81. 2008-02-08 Marek Habersack <[email protected]>
  82. * SimpleWebHandlerParser.cs: always return a non-null value from
  83. the Program property.
  84. * TemplateParser.cs: make sure that the Src attribute is treated
  85. correctly in the 2.0 profile. Fixes bug #319016
  86. 2008-02-07 Vladimir Krasnov <[email protected]>
  87. * Page.jvm.cs: added StateSerializer class, fixed processSaveState,
  88. processRestoreState
  89. 2008-02-07 Marek Habersack <[email protected]>
  90. * PageHandlerFactory.cs: call PageParser.GetCompiledPageInstance
  91. only - that method calls the appropriate APIs for 1.1 and 2.0
  92. profiles.
  93. 2008-02-06 Vladimir Krasnov <[email protected]>
  94. * Control.cs: fixed ResolveClientUrlInternal for portal url prefixes
  95. 2008-02-04 Marek Habersack <[email protected]>
  96. * SimpleWebHandlerParser.cs: use WebEncoding.FileEncoding when
  97. reading the source file.
  98. 2008-01-30 Igor Zelmanovich <[email protected]>
  99. * ObjectStateFormatter.cs:
  100. ensure ReaderContext.GetCache called with positive arg to prevent from
  101. ArgumentOutOfRange being thrown.
  102. 2008-01-29 Igor Zelmanovich <[email protected]>
  103. * ObjectStateFormatter.cs: has public constructor.
  104. 2008-01-29 Vladimir Krasnov <[email protected]>
  105. * Page.cs: performance optimization of DeterminePostBackMode
  106. 2008-01-24 Marek Habersack <[email protected]>
  107. * PageThemeFileParser.cs: the DefaultBaseType property removed.
  108. * ApplicationFileParser.cs: added constructor which takes a
  109. TextReader.
  110. Removed the DefaultBaseType property.
  111. Added the Reader property.
  112. * MasterPage.cs: use BuildManager to create page instance.
  113. * WebHandlerParser.cs: added a compatibility constructor.
  114. * TemplateControl.cs: GetTypeFromControlPath uses
  115. BuildManager.GetCompiledType for the 2.0+ profile.
  116. * WebServiceParser.cs: added a compatibility internal
  117. constructor.
  118. * SimpleWebHandlerParser.cs: properly treat context and
  119. physicalPath parameters to the constructor, especially for the
  120. 2.0+ profile where they are obsolete.
  121. Dependencies are added using virtual paths.
  122. * PageThemeParser.cs: DefaultBaseType property removed.
  123. * Page.cs: Style sheets and themes are compiled using
  124. BuildManager.
  125. Previous page instance is compiled using BuildManager for the 2.0+
  126. profile.
  127. * MasterPageParser.cs: Use BuildManager to create instance and
  128. compile types.
  129. Dependencies are added using virtual paths.
  130. * SimpleHandlerFactory.cs: Use
  131. BuildManager.CreateInstanceFromVirtualPath for the 2.0+ profile.
  132. * UserControlParser.cs: if the parser is created using a
  133. TextReader, take the input file path from the virtual path.
  134. Added a new internal constructor which takes both a TextReader and
  135. an inputFile parameters.
  136. Set base type to the default in the constructors.
  137. Use virtual path when setting master page dependency.
  138. DefaultBaseTypename doesn't use a literal string in the 2.0+
  139. profile, it gets the base type from the application
  140. configuration.
  141. * TemplateControlParser.cs: Dependency on a control/page mentioned
  142. in the Reference directive is registered using the virtual path.
  143. TextReader property is an override now.
  144. * TemplateParser.cs: RegisterCustomControl adds a dependency on
  145. the virtual path, not the physical path. The custom control is
  146. compiled using BuildManager.GetCompiledType for the 2.0+ profile.
  147. RegisterNamespace does not add a dependency on the assembly.
  148. LoadType does not add a dependency on the assembly.
  149. Legacy Src attribute is handled properly now.
  150. Dependency on code-behind (Src and CodeFile directive attributes)
  151. is added using the code-behind file's virtual path.
  152. GetAssemblyFromSource adds a dependency using the virtual path.
  153. DefaultBaseType implemented here, using DefaultBaseTypeName which
  154. is implemented in the descendant classes.
  155. Added internal CodeBehindSource property, used by build
  156. providers.
  157. ClassName property works correctly if inputFile is missing
  158. (e.g. when the parser has been created using a TextReader)
  159. Added a virtual internal property TextReader to return the readed
  160. which has been used to create the parser instance.
  161. * PageHandlerFactory.cs: GetHandler uses
  162. BuildManager.CreateInstanceFromVirtualPath for the 2.0+ profile.
  163. * PageParser.cs: set the default base type in the constructors.
  164. If the input file is not passed to a constructor, take the input
  165. file path from the virtual path.
  166. GetCompiledPageInstance uses BuildManager.CreateInstanceFromVirtualPath
  167. for the 2.0+ profile.
  168. MasterPage dependency is set using the virtual path of the master
  169. page.
  170. MasterPage is compiled into a type using BuildManager.GetCompiledType.
  171. GetCompiledPageType uses BuildManager.GetCompiledType for the 2.0
  172. profile.
  173. DefaultBaseType override removed, it is implemented in the
  174. TemplateParser class.
  175. DefaultBaseTypename doesn't use a literal string in the 2.0+
  176. profile, it gets the base type from the application
  177. configuration.
  178. 2008-01-17 Igor Zelmanovich <[email protected]>
  179. * Control.cs: fix ResolveUrl for some cases.
  180. 2008-01-17 Igor Zelmanovich <[email protected]>
  181. * Control.cs: consider changes in BaseCompiler.cs.
  182. 2008-01-14 Igor Zelmanovich <[email protected]>
  183. * Control.cs: fixed ResolveClientUrl.
  184. use Context.FilePath instead of Context.CurrentExecutionPath for
  185. resolvint app. releative path.
  186. 2008-13-01 Vladimir Krasnov <[email protected]>
  187. * Page.jvm.cs: optimized SetupResponseWriter, fixed getChildCount and
  188. getChildren methods
  189. * Control.jvm.cs: fixed getChildCount method
  190. 2008-01-09 Igor Zelmanovich <[email protected]>
  191. * Page.cs:
  192. * ClientScriptManager.cs:
  193. refactoring.
  194. 2008-01-07 Igor Zelmanovich <[email protected]>
  195. * Page.cs: added internal API
  196. * IScriptManager.cs: added new internal interface.
  197. 2008-01-07 Igor Zelmanovich <[email protected]>
  198. * ClientScriptManager.cs:
  199. * Control.jvm.cs:
  200. * Page.cs:
  201. * Page.jvm.cs:
  202. for TARGET_J2EE ensure page life cycle is completed in CrossPagePostBack.
  203. 2008-01-07 Marek Habersack <[email protected]>
  204. * TemplateParser.cs: handle legacy 'src' attribute in the 2.0
  205. profile in the correct way. Fixes bug #319016
  206. BaseType is global by default.
  207. 2008-01-02 Marek Habersack <[email protected]>
  208. * TemplateParser.cs: added a wrapper class for server-side script
  209. snippets, to keep track of locations.
  210. Store main directive location for later use in DirectiveLocation
  211. internal property.
  212. 2008-01-01 Igor Zelmanovich <[email protected]>
  213. * Page.cs:
  214. make SubmitDisabledControls and SetFocus works in multiform environment
  215. 2007-12-31 Vladimir Krasnov <[email protected]>
  216. * Page.cs: fixed thread abort handling in ProcessRequest
  217. 2007-12-27 Marek Habersack <[email protected]>
  218. * TemplateParser.cs: check for base type globality also when the
  219. default type is used.
  220. 2007-12-26 Igor Zelmanovich <[email protected]>
  221. * Control.cs:
  222. * Page.cs:
  223. make Trace considers control state info.
  224. 2007-12-20 Igor Zelmanovich <[email protected]>
  225. * Page.cs: refactoring:
  226. split method such InternalProcessRequest to several methods.
  227. It is required for implementing alternative hosting under TARGET_J2EE.
  228. 2007-12-20 Marek Habersack <[email protected]>
  229. * ClientScriptManager.cs: write hidden fields inside a div only in
  230. the 2.0 profile. Fixes bug #349991
  231. 2007-12-20 Igor Zelmanovich <[email protected]>
  232. * Page.cs:
  233. * Control.cs:
  234. * ClientScriptManager.cs:
  235. refactoring: removed Page.LifeCycle internal API,
  236. used Control's stateMask flag instead.
  237. 2007-12-17 Marek Habersack <[email protected]>
  238. * TemplateParser.cs: support the 'Src' directive attribute on 2.0
  239. profile as well as on the 1.1 one. Fixes bug #319016
  240. 2007-12-16 Igor Zelmanovich <[email protected]>
  241. * Page.cs: on CrossPagePostBack previous page is processed by Execute API,
  242. that allow CurrentHandler property works correctly during Page processing.
  243. 2007-12-15 Marek Habersack <[email protected]>
  244. * SimpleWebHandlerParser.cs: Default value for Debug is taken from
  245. the compilation config section.
  246. * TemplateParser.cs: Added LoadConfigDefaults here, loads default
  247. value for Debug from the compilation section.
  248. Cache CompilationConfig in methods where it is accessed more than
  249. once.
  250. Default value for Debug in ProcessMainAttributes is taken from the
  251. compilation config.
  252. * PageParser.cs, TemplateControlParser.cs: LoadPagesConfigDefaults
  253. renamed to LoadConfigDefaults.
  254. 2007-12-13 Marek Habersack <[email protected]>
  255. * ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
  256. Page.cs: speed optimization - use String.Concat instead of
  257. String.Format in some cases.
  258. 2007-12-13 Igor Zelmanovich <[email protected]>
  259. * Page.cs:
  260. - When Transfer/Execute is called with preserveForm=true, transferred
  261. page is not processed as PostBack but form collection is preserved.
  262. - When Execute is called more than once, PreviousPage property is set
  263. correct.
  264. 2007-11-22 Marek Habersack <[email protected]>
  265. * OutputCacheParameters.cs: added the VaryByContentEncoding
  266. property.
  267. * Page.cs: added new InitCache overload.
  268. * TemplateParser.cs: added support for the VaryByContentEncodings
  269. attribute of the OutputCache directive.
  270. 2007-11-19 Vladimir Krasnov <[email protected]>
  271. * Page.jvm.cs: IsMultiForm optimized, cached configuration call
  272. 2007-11-14 Marek Habersack <[email protected]>
  273. * SimpleWebHandlerParser.cs: expect GetTypeFromBin to be called
  274. with a fully qualified type name and act accordingly. Fixes bug
  275. #341456.
  276. 2007-11-13 Igor Zelmanovich <[email protected]>
  277. * ClientScriptManager.cs:
  278. Ensure a script resource is included once in multi form environment.
  279. 2007-11-07 Igor Zelmanovich <[email protected]>
  280. * PageParser.cs: fixed initial value of tracemode.
  281. 2007-11-07 Igor Zelmanovich <[email protected]>
  282. * Control.cs: removes '#define MONO_TRACE'.
  283. It allows to run MONO in release mode without supplementary trace info.
  284. 2007-11-07 Igor Zelmanovich <[email protected]>
  285. * Page.cs: added missing trace information for NET_2_0
  286. 2007-11-06 Igor Zelmanovich <[email protected]>
  287. * Page.cs:
  288. * Page.jvm.cs:
  289. affects TARGET_J2EE only:
  290. validators state (isValid) is restored on GetBack.
  291. 2007-11-06 Marek Habersack <[email protected]>
  292. * Page.cs: formatting
  293. 2007-11-05 Marek Habersack <[email protected]>
  294. * ClientScriptManager.cs: EventStateFieldName is a constant now.
  295. * Page.cs: use full control ids when processing post data. Fixes
  296. bug #317615
  297. 2007-11-03 Marek Habersack <[email protected]>
  298. * Control.cs: need to append a "/" to TemplateSourceDirectory
  299. before calling VirtualPathUtility.Combine, in order to get the
  300. correct physical path to the requested file. Combine looks for the
  301. last occurrence of "/" to determine where the relative paths
  302. should be joined.
  303. * MinimizableAttributeTypeConverter.cs: don't throw on null value,
  304. call the base class method in that case.
  305. * SimpleWebHandlerParser.cs: don't NRE on a null assembly passed
  306. to AddAssembly.
  307. AddAssemblyByName must check the return value of
  308. Assembly.LoadWithPartialName, as the method doesn't throw on
  309. missing assembly, it returns null instead.
  310. * ClientScriptManager.cs: eventValidationArray is serialized in an
  311. optimized fashion, so that its serialized form occupies only as
  312. many slots as were actually used. It may result in that an array
  313. of 0 entries will be serialized and then
  314. restored. EnsureEventValidationArray takes that into consideration
  315. now.
  316. 2007-11-01 Marek Habersack <[email protected]>
  317. * Page.cs, ObjectStateFormatter.cs: use the new
  318. MachineKeySectionUtils class wherever necessary.
  319. 2007-10-29 Marek Habersack <[email protected]>
  320. * TemplateParser.cs: add the file pointed to by the Src or
  321. CodeFile attributes to the list of page cache dependencies.
  322. * PageParser.cs, UserControlParser.cs: Add the MasterPage file to
  323. the list of page cache dependencies.
  324. * MasterPageParser.cs: add the source pointed to by VirtualPath to
  325. the list of cache dependencies.
  326. 2007-10-23 Marek Habersack <[email protected]>
  327. * ClientScriptManager.cs: added two constants to define start/end
  328. script block comments rendering. 1.1 uses HTML comments, while 2.0
  329. uses a CDATA block.
  330. * Page.cs: render script blocks with start/end comments taken from
  331. the ClientScriptManager constants above.
  332. 2007-10-17 Marek Habersack <[email protected]>
  333. * TemplateParser.cs: removed code that ignored the Async and
  334. AsyncTimeout attributes.
  335. * PageParser.cs: handle the Async and AsyncTimeout attributes
  336. here. Fixes bug #325450
  337. * Control.cs: properly configure control visibility in
  338. PreRenderRecursiveInternal. The check must be made by looking at
  339. the Visible value, not at the flags directly. Fixes bug #325303
  340. 2007-10-03 Marek Habersack <[email protected]>
  341. * Page.cs: complete implementation of ValidationGroups. Fixes bug
  342. #330423. Patch from Juraj Skripsky <[email protected]>, thanks!
  343. 2007-10-02 Marek Habersack <[email protected]>
  344. * SimpleWebHandlerParser.cs: fix the way types are loaded from
  345. top-level assemblies.
  346. 2007-10-01 Marek Habersack <[email protected]>
  347. * Page.cs: do not set IsPostBack to true if we're in transfer from
  348. another page. Fixes bug #329341
  349. 2007-09-18 Marek Habersack <[email protected]>
  350. * TemplateParser.cs: VaryByControl OutputCache attribute is
  351. allowed for both controls and pages in 2.0.
  352. 2007-09-11 Marek Habersack <[email protected]>
  353. * WebServiceParser.cs: inputFile is a virtual path to the service,
  354. not a physical one in GetCompiledType.
  355. 2007-09-05 Marek Habersack <[email protected]>
  356. * RootBuilder.cs: make Foundry settable, but protect the backing
  357. field from being set to null.
  358. 2007-09-04 Marek Habersack <[email protected]>
  359. * TemplateParser.cs: don't optimize for case when 'name' is a full
  360. assembly name in AddAssemblyByName. Assembly.Load triggers the
  361. AssemblyResolve event on the current AppDomain if an assembly
  362. isn't found and we use this mechanism to map names like "App_Code"
  363. or "App_GlobalResources" to the real names of those dynamic
  364. assemblies.
  365. 2007-09-02 Igor Zelmanovich <[email protected]>
  366. * Page.jvm.cs: implemented IsMultiForm property to take
  367. the value from configuration.
  368. 2007-08-30 Igor Zelmanovich <[email protected]>
  369. * Page.cs: fixed MaintainScrollPositionOnPostBack feature.
  370. 2007-08-29 Marek Habersack <[email protected]>
  371. * TemplateBuilder.cs: check for and store for later use the
  372. TemplateContainerAttribute. Added a nullable property
  373. TemplateInstance to return the value of the attribute.
  374. 2007-08-29 Vladimir Krasnov <[email protected]>
  375. * Control.cs: optimized performance in InitControlsCache()
  376. 2007-08-28 Marek Habersack <[email protected]>
  377. * Page.cs: The following property values are returned from cached
  378. fields instead of looking them up on Context: Application,
  379. Response, Request, Cache (as determined by the tests).
  380. Added a backing field for the Session property.
  381. Session doesn't throw an exception when Context is null - it
  382. silently ignores it and throws a session not available exception.
  383. _context is never used directly, the Context property is used
  384. instead. Fixes bug #82606
  385. 2007-08-23 Juraj Skripsky <[email protected]>
  386. * Control.cs (InitControlsCache): Make the hash table case insensitive to
  387. make FindControl compatible with MS.net again. Add LAMESPEC note.
  388. 2007-08-23 Marek Habersack <[email protected]>
  389. * SimpleWebHandlerParser.cs: use
  390. HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin and
  391. LoadAssemblyFromBin.
  392. Restore the old logic in GetTypeFromBin, also use
  393. HttpApplication.BinDirectoryAssemblies there.
  394. * TemplateParser.cs: use HttpApplication.BinDirectories to
  395. interate over the list of bin dirs.
  396. Use HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin.
  397. 2007-08-23 Igor Zelmanovich <[email protected]>
  398. * ClientScriptManager.cs: encode values of hidden fields.
  399. 2007-08-21 Marek Habersack <[email protected]>
  400. * SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
  401. enumerator when loading or adding assemblies from binary
  402. directories. Remove unused PrivateBinPath property.
  403. * ControlBuilder.cs: remove unused PrivateBinPath property.
  404. * TemplateParser.cs: use HttpApplication.PrivateBinPath when
  405. adding assemblis and loading types.
  406. 2007-08-21 Igor Zelmanovich <[email protected]>
  407. * ClientScriptManager.cs: fixed onsubmit script for MultiForm environment
  408. 2007-08-20 Marek Habersack <[email protected]>
  409. * MasterPage.cs: use the place holder IDs collection instead of
  410. the placholder collection to see if we have the place holder in
  411. the master page. Fixes bug #82485.
  412. * MasterPageParser.cs: store the content place holder ids in the
  413. internal cache to gain access to them when needed.
  414. 2007-08-19 Vladimir Krasnov <[email protected]>
  415. * MasterPageParser.jvm.cs: optimized GetDirectory call
  416. * PageTheme.cs: optimized string formatting in CreateSkinKey
  417. 2007-08-19 Vladimir Krasnov <[email protected]>
  418. * Page.cs: ResetEventValidationState call moved back to
  419. InternalProcessRequest
  420. 2007-08-19 Marek Habersack <[email protected]>
  421. * Page.cs: make sure not to ever pass a null value as the value
  422. of the postCollection parameter to control's LoadPostData. The
  423. ProcessPostData's 'data' parameter is no longer passed to
  424. LoadPostData, instead we pass _requestValueCollection or an empty
  425. collection if it is null. The controls should always get all the
  426. request data, no matter if the 'data' parameter is null or
  427. not. Possible fix for bug #82477.
  428. 2007-08-18 Gert Driesen <[email protected]>
  429. * MasterPage.cs: Include relative URL of MasterPage in exception
  430. message.
  431. 2007-08-18 Marek Habersack <[email protected]>
  432. * MasterPage.cs: if a ContentPlaceHolder ID is not found in the
  433. associated MasterPage, throw an exception. This is compatible with
  434. what MS.NET does. Fixes bug #82447.
  435. 2007-08-15 Igor Zelmanovich <[email protected]>
  436. * Page.cs: fixed:
  437. - avoid NullRefferenceException from Title property
  438. when Page does not have <head runat="server>,
  439. - scriptManager.ResetEventValidationState () is called from Render.
  440. It allows multiply calling of RenderControl returns the same output.
  441. 2007-08-14 Vladimir Krasnov <[email protected]>
  442. * Control.cs: optimized GetDirectory call in ResolveClientUrl
  443. 2007-08-14 Vladimir Krasnov <[email protected]>
  444. * ClientScriptManager.cs: otimized string.Replace in GetScriptLiteral
  445. 2007-08-14 Marek Habersack <[email protected]>
  446. * Control.cs: include the actual exception when reporting control
  447. id clash.
  448. 2007-08-10 Gert Driesen <[email protected]>
  449. * PageParser.cs: Replace enableSessionState and readOnlySessionState
  450. bools with enum backed field. Move 1.0 profile code for checking value
  451. of EnableSessionState pages config to PagesConfigurationHandler.
  452. Fixes bug #82392 for 1.0 profile.
  453. 2007-08-09 Marek Habersack <[email protected]>
  454. * PageParser.cs: honor web.config enableSessionState
  455. ReadOnly setting instead of overwriting based on default value for
  456. page directive EnableSessionState. Patch from Joel Reed
  457. <[email protected]>, thanks! Fixes bug #82392
  458. 2007-08-09 Vladimir Krasnov <[email protected]>
  459. * CssStyleCollection.cs: used ListDictionary instead of
  460. HybridDictionary as underlaying data structure
  461. 2007-08-07 Vladimir Krasnov <[email protected]>
  462. * Control.cs: refactoring of LookForControlByName with caching
  463. 2007-08-06 Igor Zelmanovich <[email protected]>
  464. * DataSourceView.cs: fixed:
  465. view raises onchange event when datasource is chenged.
  466. 2007-08-06 Igor Zelmanovich <[email protected]>
  467. * Control.cs: fixed: control ID management.
  468. 2007-08-06 Igor Zelmanovich <[email protected]>
  469. * Control.cs: refactoring: code formatting only.
  470. 2007-08-05 Vladimir Krasnov <[email protected]>
  471. * HtmlTextWriter.cs: performance refactoring, optimized AddAttribute
  472. overloads, used StringComparer for tag, styles and attrs hashtables
  473. fixed AddAttribute, id attr should not be encoded by default
  474. 2007-07-31 Vladimir Krasnov <[email protected]>
  475. * Control.cs: fixed AppRelativeTemplateSourceDirectory that should
  476. depend on AppRelativeVirtualPath
  477. * Control.jvm.cs: fixed TemplateSourceDirectory that should depend on
  478. AppRelativeTemplateSourceDirectory
  479. 2007-07-30 Vladimir Krasnov <[email protected]>
  480. * Page.jvm.cs: fixed RenderResponse property, should not fail in no
  481. Contex available
  482. 2007-07-29 Igor Zelmanovich <[email protected]>
  483. * Page.cs: added TARGET_J2EE variable at client side.
  484. 2007-07-24 Igor Zelmanovich <[email protected]>
  485. * ClientScriptManager.cs:
  486. * Page.cs:
  487. * Page.jvm.cs:
  488. added new internal property IsMultiForm which returns false under
  489. !TARGET_J2EE (Portal). All client scripts are rendered
  490. according this property.
  491. 2007-07-24 Igor Zelmanovich <[email protected]>
  492. * ClientScriptManager.cs: fixed: GetCallbackEventReference method.
  493. 2007-07-23 Igor Zelmanovich <[email protected]>
  494. * Page.cs: refactoring: __doPostBack client script
  495. It is a part of adapting System.Web to work whith
  496. System.Web.Extensions (AJAX).
  497. 2007-07-23 Konstantin Triger <[email protected]>
  498. * Control.cs: calculate AppRelativeTemplateSourceDirectory from HttpContext
  499. when control is not in control collection.
  500. 2007-07-22 Konstantin Triger <[email protected]>
  501. * Control.cs,
  502. TemplateControl.cs: base AppRelativeTemplateSourceDirectory property
  503. on TemplateControl; implement special behavior of Control.TemplateControl for
  504. TemplateControl instances.
  505. 2007-07-18 Marek Habersack <[email protected]>
  506. * ControlBuilder.cs: on the 2.0 profile BindingContainerType
  507. returns the associated control's base type when parent builder is
  508. absent instead of typeof (Control). It returns typeof (Control) if
  509. the parent builder type is determined to be a
  510. NamingContainer. This makes the generated code match the MS.NET
  511. output. Fixes bug #82119.
  512. 2007-07-18 Igor Zelmanovich <[email protected]>
  513. * Page.cs:
  514. * ClientScriptManager.cs:
  515. scripts, registered using RegisterClientScriptInclude,
  516. RegisterClientScriptResource and RegisterClientScriptBlock appear on Page
  517. in order matches the order in which the scripts were registered.
  518. 2007-07-16 Igor Zelmanovich <[email protected]>
  519. * Control.cs: fixed EnsureID.
  520. ID is not assigned, if already was set.
  521. 2007-07-12 Vladimir Krasnov <[email protected]>
  522. * ClientScriptManager.cs: refactored event validation data structure
  523. * Page.cs: fixed InternalProcessRequest, event validation list should
  524. be cleared before render
  525. 2007-06-24 Vladimir Krasnov <[email protected]>
  526. * ObjectStateFormatter.cs: optimized loops in array formatters
  527. 2007-07-03 Marek Habersack <[email protected]>
  528. * SimpleWebHandlerParser.cs: improve directive
  529. pre-parsing. Directives can span multiple lines, they don't have
  530. to start at the beginning of the line and any content can follow
  531. them after the directive end. Also, do not trim the input since
  532. that might affect program content. Fixes bug #81993.
  533. 2007-07-02 Marek Habersack <[email protected]>
  534. * Control.cs: make sure TemplateSourceDirectory returns meaningful
  535. results in the 1.1 profile. Fixes bug #81950.
  536. 2007-06-24 Vladimir Krasnov <[email protected]>
  537. * ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out
  538. parameter
  539. 2007-06-20 Marek Habersack <[email protected]>
  540. * BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
  541. keep the private entries.
  542. 2007-06-18 Igor Zelmanovich <[email protected]>
  543. * Control.cs: revised the changes from r79982.
  544. 2007-06-18 Igor Zelmanovich <[email protected]>
  545. * Control.cs: optimized flow in ResolveClientUrl.
  546. 2007-06-15 Gert Driesen <[email protected]>
  547. * ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
  548. 2007-06-09 Marek Habersack <[email protected]>
  549. * TemplateControl.cs: make sure TemplateControl is set to the
  550. current control.
  551. * Control.cs: TemplateControl property goes up the parent chain if
  552. the property isn't defined in the current control.
  553. TemplateSourceDir finally implemented correctly.
  554. 2007-06-06 Marek Habersack <[email protected]>
  555. * Control.cs: more changes to the way TemplateSourceDirectory
  556. works in the 2.0 profile. Take into account situations when a
  557. control is placed in a UserControl (.ascx) and only then fall back
  558. to the parent for its TemplateSourceDirectory.
  559. 2007-06-05 Marek Habersack <[email protected]>
  560. * Control.cs: TemplateSourceDirectory uses TemplateControl to
  561. lookup the virtual source directory in the 2.0 instead of the
  562. Parent.
  563. ResolveClientUrl copes with empty TemplateSourceDirectory in the
  564. correct way now - the check is made after the basePath checks.
  565. The changes above make ResolveClientUrl work properly when called
  566. from within a control residing in a TemplateControl.
  567. 2007-05-30 Vladimir Krasnov <[email protected]>
  568. * HtmlTextWriter.cs: EncodeAttributeValue should call
  569. HtmlAttributeEncode as documented
  570. 2007-05-24 Marek Habersack <[email protected]>
  571. * PageParser.cs: added support for the PreviousPageType
  572. directive.
  573. 2007-05-23 Marek Habersack <[email protected]>
  574. * TemplateParser.cs: use VirtualPathUtility.Combine to properly
  575. create the custom control's virtual path.
  576. 2007-05-22 Marek Habersack <[email protected]>
  577. * TemplateBuilder.cs: in the absence of containerAttribute,
  578. default to two-way binding direction.
  579. 2007-05-21 Igor Zelmanovich <[email protected]>
  580. * DataSourceView.cs: refactoring: Update, Insert methods:
  581. exception is re-thrown from catch scope.
  582. It allows actual call stack be shown
  583. 2007-05-17 Vladimir Krasnov <[email protected]>
  584. * TemplateControl.jvm.cs: refactored key for CachedString method
  585. 2007-05-16 Vladimir Krasnov <[email protected]>
  586. * HtmlTextWriter.cs: refactoring, created hashtables for tags, styles
  587. and attributes arrays, that gives performance improvement in GetTagKey
  588. GetStyleKey and GetAttributeKey methods
  589. 2007-05-15 Marek Habersack <[email protected]>
  590. * TemplateControl.cs: implemented the 3-parameter overloads of
  591. GetLocalResourceObject and GetGlobalResourceObject.
  592. * TemplateParser.cs: refactoring - use HttpApplication.LoadType to
  593. actually look up types.
  594. * ControlBuilder.cs: as above
  595. 2007-05-14 Marek Habersack <[email protected]>
  596. * ClientScriptManager.cs: put the hidden field within a <div>, the
  597. way MS.NET does it.
  598. 2007-05-11 Gert Driesen <[email protected]>
  599. * ControlBuilder.cs: Fixed exception message in MapType.
  600. 2007-05-10 Marek Habersack <[email protected]>
  601. * Control.cs: small formatting change
  602. 2007-05-10 Igor Zelmanovich <[email protected]>
  603. * Page.cs: ExecuteRegisteredAsyncTasks:
  604. implimentation for TARGET_JVM doesn't use WaitHandle.WaitAll, but WaitOne
  605. 2007-05-09 Vladimir Krasnov <[email protected]>
  606. * HtmlTextWriter.cs: used classes instead of sctrucs in TARGET_JVM for
  607. AddedTag, AddedStyle and AddedAttr members
  608. * TemplateControl.jvm.cs: refactored CachedString method
  609. 2007-05-09 Marek Habersack <[email protected]>
  610. * CollectionBuilder.cs: formatting changes
  611. * ControlBuilder.cs: if a control enables children as properties,
  612. has a default property and parser encounters a child tag/container
  613. with the default property name, discard the default property
  614. builder in order to avoid invalid sub builder invocation. An
  615. example is: <asp:DropDownList><Items></Items></asp:DropDownList>
  616. Formatting changes.
  617. When checking for empty string, use Length not comparison with ""
  618. 2007-05-08 Marek Habersack <[email protected]>
  619. * CssStyleCollection.cs: put the style in the bag each time a key
  620. is set, otherwise resetting of a key has no effect on rendered
  621. style.
  622. 2007-05-07 Marek Habersack <[email protected]>
  623. * TemplateParser.cs: added support for implicit language
  624. detection. If the language isn't set explicitly in the Page
  625. directive, the language value taken from the configuration
  626. considered to be implicit - that is, it can be overwritten by the
  627. first <script> with the runat="server" and language="xx" sets the
  628. language for the parser. This makes it possible to have the
  629. default language set to "C#" and the inline code in, e.g.,
  630. VisualBasic.
  631. * ControlBuilder.cs: when mapping types, catch casses of missing
  632. original and mapped types.
  633. If mapped type doesn't derive from the original type, throw an
  634. exception. Fixes bug #81553.
  635. 2007-05-04 Marek Habersack <[email protected]>
  636. * Control.cs: added an internal method to resolve a physical path
  637. to a file from its virtual path considering the possibility that a
  638. control is placed in a master page, which in turn is referenced
  639. from a directory another than that of master page itself.
  640. 2007-05-03 Igor Zelmanovich <[email protected]>
  641. * AttributeCollection.cs:
  642. * DataBindingHandlerAttribute.cs:
  643. * HtmlTextWriter.cs:
  644. * PartialCachingControl.cs:
  645. * TemplateControl.cs:
  646. * TemplateControl.jvm.cs:
  647. * XPathBinder.cs:
  648. added missing API.
  649. 2007-05-03 Igor Zelmanovich <[email protected]>
  650. * CssStyleCollection.cs: optimization:
  651. used StringBuilder instead string to hold value.
  652. When added key that not exists in collection, value is recalculated by
  653. appending required key to existing value.
  654. 2007-05-02 Igor Zelmanovich <[email protected]>
  655. * Control.cs: ResolveClientUrl: optimization.
  656. if basePath is the same as TemplateSourceDirectory
  657. releativeUrl is returned as is.
  658. 2007-05-02 Igor Zelmanovich <[email protected]>
  659. * Control.cs:
  660. ResolveClientUrl considers TemplateSourceDirectory property.
  661. 2007-05-01 Marek Habersack <[email protected]>
  662. * PageParser.cs: clientTarget comparisons must be case-insensitive
  663. 2007-04-30 Konstantin Triger <[email protected]>
  664. * DataBinder.cs: When formatting, threat empty string as null.
  665. 2007-04-27 Marek Habersack <[email protected]>
  666. * TemplateControlParser.cs: 2.0 allows 'Namespace' without the
  667. 'Assembly' attribute on tag prefix registration.
  668. * TemplateParser.cs: do not rely on assembly name being not null.
  669. 2007-04-19 Gert Driesen <[email protected]>
  670. * TemplateParser.cs: On 2.0 profile, allow namespace in ClassName
  671. attribute. Fixes part of bug #81399.
  672. 2007-04-11 Marek Habersack <[email protected]>
  673. * Page.cs: check whether control passed to
  674. RegisterRequiresPostBack implements the IPostBackDataHandler
  675. interface.
  676. 2007-04-06 Marek Habersack <[email protected]>
  677. * ClientScriptManager.cs: render the 'type' attribute in
  678. WriteScript and do not render the 'language' attribute when in
  679. NET_2_0+ mode.
  680. * Page.cs: defaults for ViewStateEncrptionMode and AsyncTimeout
  681. are read from the pages section, if found.
  682. * TemplateControlParser.cs: added support for loading
  683. pages/controls defaults from web.config even if the page/control
  684. does not have its corresponding directive.
  685. Added support for reading the CompilationMode attribute.
  686. * PageParser.cs: added support for loading pages/controls defaults
  687. as above. Fixes bug #80915.
  688. Added support for reading the maxPageStateFieldLength setting.
  689. Added support for reading the pageParserFilter setting.
  690. * ControlBuilder.cs: allow tag mappings from code found
  691. in bin/* or App_Code/*. Fixes bug #80811.
  692. 2007-03-29 Vladimir Krasnov <[email protected]>
  693. * TemplateControl.jvm.cs: performance improvement, added cache for
  694. methods and events in user code
  695. 2007-03-26 Marek Habersack <[email protected]>
  696. * TemplateControl.cs: make local resources work with master
  697. pages - use the AppRelativeVirtualPath for resource resolution.
  698. * TemplateParser.cs: support the meta:resourcekey attribute in
  699. Page and Control directives. Fixes bug #81204.
  700. 2007-03-21 Marek Habersack <[email protected]>
  701. * UnknownAttributeDescriptor.cs: an internal helper class for
  702. custom directive attributes support.
  703. * BaseParser.cs: ThrowParseException can now take variadic
  704. parameters, for convenience.
  705. * TemplateParser.cs: add support for custom attributes for the
  706. Page and Control directives.
  707. Added support for the CodeFileBaseClass directive. Fixes bug #81132
  708. 2007-03-20 Igor Zelmanovich <[email protected]>
  709. * Control.cs: fixed ResolveClientUrl method.
  710. 2007-03-18 Marek Habersack <[email protected]>
  711. * BaseParser.cs: fix BaseVirtualDir to always return app-absolute
  712. paths.
  713. 2007-03-17 Marek Habersack <[email protected]>
  714. * MasterPageParser.cs: remove superfluous #ifdef
  715. * TemplateParser.cs: use VirtualPathUtility here
  716. 2007-03-14 Vladimir Krasnov <[email protected]>
  717. * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, performance
  718. optimization
  719. 2007-03-13 Marek Habersack <[email protected]>
  720. * TemplateParser.cs: name generated classes the same way MS.NET
  721. does - include the app-relative path to the control/page in the
  722. class name.
  723. 2007-03-13 Adar Wesley <[email protected]>
  724. * Page.cs: improved Async Page implementation.
  725. 2007-03-13 Marek Habersack <[email protected]>
  726. * TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
  727. #80634.
  728. 2007-03-12 Marek Habersack <[email protected]>
  729. * RootBuilder.cs: change the error text to be less misleading.
  730. 2007-03-12 Igor Zelmanovich <[email protected]>
  731. * AttributeCollection.cs:
  732. * CssStyleCollection.cs: fixed: works w/o state bag.
  733. 2007-03-12 Igor Zelmanovich <[email protected]>
  734. * HtmlTextWriter.cs: fixed:
  735. - Fixed writing background-image style attribute (different behavior in
  736. 1.1 and 2.0).
  737. - Does not encode 'name' attribute.
  738. - Always encode style attributes (for 2.0 only).
  739. 2007-03-06 Adar Wesley <[email protected]>
  740. * Page.cs: initial implementation of support for Async=true. Added
  741. initial support for ViewStateEncryption. Implemented
  742. CreateHtmlTextWriterFromType.
  743. * PageAsyncTask.cs: Created class to support Async pages.
  744. * ObjectStateFormatter.cs: Added support for ViewState encryption.
  745. * HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
  746. to conform to MS behavior.
  747. 2007-03-05 Vladimir Krasnov <[email protected]>
  748. * Control.jvm.cs: fixed TemplateSourceDirectory property
  749. 2007-03-03 Marek Habersack <[email protected]>
  750. * TemplateParser.cs: support but ignore the Async and AsyncTimeOut
  751. page directive attributes.
  752. Support the LinePragmas page directive attribute.
  753. * PageParser.cs: added support for the
  754. MaintainScrollPositionOnPostBack page directive attribute.
  755. 2007-02-26 Igor Zelmanovich <[email protected]>
  756. * TemplateControl.cs:
  757. * TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
  758. Method 'Page_XXX' is declared in the base class must be
  759. called even is private.
  760. 2007-02-26 Vladimir Krasnov <[email protected]>
  761. * Control.cs: fixed AppRelativeTemplateSourceDirectory property, should
  762. not return AppRelativeTemplateSourceDirectory of master page
  763. 2007-02-26 Igor Zelmanovich <[email protected]>
  764. * ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:
  765. 2007-02-22 Igor Zelmanovich <[email protected]>
  766. * TemplateControl.cs: added missing property AppRelativeVirtualPath
  767. 2007-02-21 Konstantin Triger <[email protected]>
  768. * TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier
  769. check from Global.asax inherits attribute to let inherits="A.B" construct.
  770. 2007-02-20 Igor Zelmanovich <[email protected]>
  771. * ObjectStateFormatter.cs:
  772. optimization for serialization of primitive type arrays
  773. 2007-02-19 Igor Zelmanovich <[email protected]>
  774. * ClientScriptManager.cs:
  775. * Control.cs:
  776. * Page.cs:
  777. implemented PostBackOptions.TrackFocus feature.
  778. 2007-02-14 Igor Zelmanovich <[email protected]>
  779. * Page.cs: for 2.0: refactoring:
  780. prepare infrastructure for Form.SubmitDisabledControls feature
  781. 2007-02-18 Eyal Alaluf <[email protected]>
  782. * Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file.
  783. * Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm
  784. * Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks
  785. for J2EE portlets.
  786. 2007-02-14 Igor Zelmanovich <[email protected]>
  787. * Page.cs: for 2.0:
  788. '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are
  789. registered only once.
  790. 2007-02-14 Igor Zelmanovich <[email protected]>
  791. * Page.cs: for 2.0: '__doPostBack' declared as function of form.
  792. convention to use 'currForm' instead 'myForm'
  793. 2007-02-14 Igor Zelmanovich <[email protected]>
  794. * Page.cs:
  795. * ClientScriptManager.cs:
  796. including 'webform.js' requires '__doPostBack' on the form be rendered.
  797. 2007-02-14 Igor Zelmanovich <[email protected]>
  798. * Page.cs:
  799. * ClientScriptManager.cs:
  800. refactoring: 'theForm' variable is always declared on client.
  801. '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
  802. RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.
  803. 2007-02-14 Vladimir Krasnov <[email protected]>
  804. * Page.cs: fixed OnInit, adding css should throw exception if no header
  805. present on the page
  806. 2007-02-14 Igor Zelmanovich <[email protected]>
  807. * Page.cs: __doPostBack considers 2.0 features
  808. such RegisterOnSubmitStatement
  809. 2007-02-14 Igor Zelmanovich <[email protected]>
  810. * Page.cs:
  811. * ClientScriptManager.cs:
  812. implemented RegisterOnSubmitStatement for 2.0
  813. 2007-02-13 Igor Zelmanovich <[email protected]>
  814. * ClientScriptManager.cs: EventValidation feature optimization on Callback.
  815. 2007-02-13 Igor Zelmanovich <[email protected]>
  816. * Page.cs: fixed exception handling on Callback at client.
  817. 2007-02-08 Marek Habersack <[email protected]>
  818. * Page.cs: Make sure to create specific cultures.
  819. 2007-02-08 Vladimir Krasnov <[email protected]>
  820. * ClientScriptManager.cs: added array declaration also as member of
  821. form in TARGET_J2EE for j2ee portal support.
  822. Added validators context init for GetClientValidationEvent under
  823. TARGET_J2EE for j2ee portal support.
  824. * Page.cs: fixed OnFormPostRender, render array declarations after
  825. postback script.
  826. 2007-02-04 Igor Zelmanovich <[email protected]>
  827. * Page.cs:
  828. * ClientScriptManager.cs:
  829. client scripts (webform.js, callback.js and
  830. MaintainScrollPositionOnPostBack.js) were merged into one resource file.
  831. 2007-02-04 Igor Zelmanovich <[email protected]>
  832. * Page.cs:
  833. http://msdn2.microsoft.com/en-us/library/ms178141.aspx
  834. LAMESPEC: on Callback IsPostBack is set to false, but true.
  835. 2007-02-04 Igor Zelmanovich <[email protected]>
  836. * Page.cs:
  837. VerifyRenderingInServerForm does not fire exception when IsCallback
  838. 2007-02-04 Igor Zelmanovich <[email protected]>
  839. * Page.cs:
  840. * ClientScriptManager.cs:
  841. fixed RegisterClientScriptInclude: all includes that was registered before
  842. rendering are rendered at begin form.
  843. 2007-02-02 Marek Habersack <[email protected]>
  844. * TemplateParser.cs: Do not register controls here.
  845. 2007-02-02 Adar Wesley <[email protected]>
  846. * Control.cs: Changed UniqueId implementation to have '$' and not ':'
  847. to conform to MS. This led to updating several Tests that referenced
  848. the UniqueId as string.
  849. 2007-01-30 Eyal Alaluf <[email protected]>
  850. * ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
  851. 2007-01-29 Igor Zelmanovich <[email protected]>
  852. * Page.cs:
  853. * ClientScriptManager.cs:
  854. CallBack works with EvantValidation.
  855. 2007-01-25 Eyal Alaluf <[email protected]>
  856. * Page.cs: Change code to use the 'theForm' property when generating
  857. JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
  858. * Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
  859. the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
  860. * Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
  861. saving hidden fields for TARGET_J2EE Portlets re-render.
  862. * Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
  863. to all the control IDs to ensure they different between portlets.
  864. 2007-01-24 Vladimir Krasnov <[email protected]>
  865. * Page.cs: fixed CheckForValidationSupport,
  866. SupportsEventValidationAttribute should be checked at only one level
  867. 2007-01-23 Vladimir Krasnov <[email protected]>
  868. * TemplateControl.jvm.cs: ParseControl not supported, added limited
  869. implementation if TestDeviceFilter
  870. 2007-01-22 Konstantin Triger <[email protected]>
  871. * ClientScriptManager.cs: ensure the callback client script is
  872. registered before the client script includes are rendered.
  873. 2007-01-22 Konstantin Triger <[email protected]>
  874. * Page.cs, ClientScriptManager.cs: ensure the web form client script is
  875. registerd before the client script includes are rendered.
  876. 2007-01-21 Konstantin Triger <[email protected]>
  877. * Page.cs: move the WriteClientScriptIncludes to the top of the form,
  878. according to the MSDN.
  879. 2007-01-20 Miguel de Icaza <[email protected]>
  880. * XhtmlTextWriter.cs: comment out unused code.
  881. * ThemeProvider.cs: comment out unused code.
  882. * DataSourceView.cs: Comment unused variable.
  883. * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
  884. code
  885. * Control.cs: Put _templateControl inside the NET_2_0 ifdef
  886. 2007-01-20 Marek Habersack <[email protected]>
  887. * TemplateParser.cs: Check whether the base type is in the root
  888. namespace.
  889. 2007-01-18 Eyal Alaluf <[email protected]>
  890. * Control.jvm.cs: Added PortletNamespace property.
  891. 2007-01-16 Vladimir Krasnov <[email protected]>
  892. * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
  893. * Control.cs: moved TemplateSourceDirectory from TemplateControl for
  894. TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
  895. 2007-01-16 Vladimir Krasnov <[email protected]>
  896. * TemplateControl.jvm.cs: added 2.0 event names for wiring up
  897. 2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
  898. * Control.cs:
  899. - IsViewStateEnabled - removed check for non-null page, since
  900. the control by definition should come with enabled
  901. view state, even if it not 'attached' to the page
  902. - HasEvents() - implementation (still could produce bug in exotic scenarios
  903. when all events added to 'this' control has been removed
  904. through the property 'Events', but currently we can't see
  905. better implementation)
  906. 2007-01-14 Eyal Alaluf <[email protected]>
  907. * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
  908. * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
  909. support for TARGET_J2EE.
  910. 2007-01-12 Miguel de Icaza <[email protected]>
  911. * Control.cs: Remove comment, it provides no information about
  912. what could be wrong.
  913. 2007-01-08 Vladimir Krasnov <[email protected]>
  914. * PageTheme.cs: implemented
  915. * Page.cs: fixed InitializeTheme, added PageTheme page initialization
  916. * TemplateControl.cs,
  917. * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
  918. IXmlNamespaceResolver parameter
  919. * XPathBinder.cs: added Eval, Select overloads with
  920. IXmlNamespaceResolver parameter, refactored
  921. 2007-01-08 Vladimir Krasnov <[email protected]>
  922. * TemplateControl.jvm.cs: added GetGlobalResourceObject
  923. 2007-01-07 Igor Zelmanovich <[email protected]>
  924. * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
  925. 2007-01-04 Igor Zelmanovich <[email protected]>
  926. * Control.cs: ensure 'id' attribute will be rendered if
  927. ClientID was accessed but ID is generated by the Page,
  928. important for custom controls developing.
  929. 2007-01-04 Igor Zelmanovich <[email protected]>
  930. * Page.cs: fixed: InitializeCulture should be called
  931. before creating controls.
  932. 2007-01-03 Marek Habersack <[email protected]>
  933. * Page.cs: Make sure the ValidatorOnSubmit function is defined for the
  934. document before attempting to use it.
  935. 2007-01-01 Vladimir Krasnov <[email protected]>
  936. * Control.cs: fixed ResolveClientUrl, wrong when control that calls
  937. this method and the page are in different folders
  938. 2006-12-31 Gonzalo Paniagua Javier <[email protected]>
  939. * Page.cs: show the validation summary when client validation and
  940. linkbuttons are used. Patch by Juraj Skripsky.
  941. 2006-12-31 Igor Zelmanovich <[email protected]>
  942. * Page.cs: fixed: EventValidation is not performed for CallBack request.
  943. 2006-12-27 Igor Zelmanovich <[email protected]>
  944. * Page.cs: fixed: RegisterRequiresPostBack feature.
  945. 2006-12-21 Marek Habersack <[email protected]>
  946. * ControlBuilder.cs: Add support for tag mapping in 2.0
  947. 2006-12-20 Marek Habersack <[email protected]>
  948. * TemplateParser.cs: make sure Context.ApplicationInstance is not
  949. valid before adding application assembly.
  950. 2006-12-11 Igor Zelmanovich <[email protected]>
  951. * Page.cs: fixed and optimized ProcessPostData
  952. The "second try" used for controls that created at OnLoad.
  953. fixed for controls that use RgisterRequeresPostBack to handle post data.
  954. 2006-11-29 Igor Zelmanovich <[email protected]>
  955. * Page.cs: The specified theme must exist as either an application theme.
  956. If the theme does not exist, an HttpException exception s thrown.
  957. 2006-12-09 Marek Habersack <[email protected]>
  958. * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
  959. also in the 1.x profile)
  960. * ObjectStateFormatter.cs: Implement the IStateFormatter interface
  961. * ClientScriptManager.cs: Use IStateFormatter instead of
  962. LosFormatter.
  963. Use the IStateFormatter interface when registering the hidden
  964. field with the state.
  965. * LosFormatter.cs: Use ObjectStateFormatter
  966. * PageStatePersister.cs: Make the class available as internal for
  967. 1.x profile.
  968. Constructor throws an exception on its page parameter being null.
  969. Implemented several properties: ControlState, ViewState, Page,
  970. StateFormatter
  971. * Page.cs: Use new state persister for all the profiles.
  972. Use the new HiddenFieldPageStatePersister class.
  973. * IStateFormatter.cs: Make the class available as internal for 1.x profile.
  974. 2006-12-04 Vladimir Krasnov <[email protected]>
  975. * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
  976. 2006-11-29 Marek Habersack <[email protected]>
  977. * TemplateParser.cs: if the OutputCache directive is present, make
  978. sure the cache does not expire the current output.
  979. 2006-11-29 Igor Zelmanovich <[email protected]>
  980. * Page.cs: added missing methods and properties:
  981. AsyncMode
  982. AsyncTimeout
  983. IsAsync
  984. UniqueFilePathSuffix
  985. MaxPageStateFieldLength
  986. ViewStateEncryptionMode
  987. AddOnPreRenderCompleteAsync
  988. AddOnPreRenderCompleteAsync
  989. ExecuteRegisteredAsyncTasks
  990. CreateHtmlTextWriterFromType
  991. RegisterRequiresViewStateEncryption
  992. 2006-11-29 Igor Zelmanovich <[email protected]>
  993. * Page.cs: Master property returns null when no HttpContext.
  994. 2006-11-29 Igor Zelmanovich <[email protected]>
  995. * Page.cs: InitializeCulture method is called before OnPreInit.
  996. 2006-11-28 Marek Habersack <[email protected]>
  997. * TemplateControlParser.cs: Use the new TemplateParser methods to
  998. register controls/namespaces
  999. * TemplateParser.cs: Implement support for the
  1000. system.web/pages/namespaces collection instead of hard-coding the
  1001. namespaces into the source.
  1002. Refactoring: added two internal methods to handle both the
  1003. system.web/pages/controls registration and the Register directive.
  1004. Added a new internal method to pull the system.web/pages/controls
  1005. collection before parsing.
  1006. 2006-11-27 Marek Habersack <[email protected]>
  1007. * SimpleWebHandlerParser.cs: Added support for looking up types in
  1008. the top-level assemblies (App_Code et al)
  1009. 2006-11-27 Igor Zelmanovich <[email protected]>
  1010. * Control.cs: implemented EnsureID method.
  1011. 2006-11-27 Igor Zelmanovich <[email protected]>
  1012. * Control.cs: implemented Focus methods.
  1013. 2006-11-27 Igor Zelmanovich <[email protected]>
  1014. * Page.cs: implemented SetFocus methods.
  1015. * PageLifeCycle.cs:
  1016. 2006-11-27 Igor Zelmanovich <[email protected]>
  1017. * ClientScriptManager.cs: refactoring:
  1018. extracted method RegisterWebFormClientScript
  1019. 2006-11-27 Igor Zelmanovich <[email protected]>
  1020. * Control.cs: implemented OpenFile()
  1021. 2006-11-26 Igor Zelmanovich <[email protected]>
  1022. * Page.cs:
  1023. * Control.cs:
  1024. implemented ClearChildState(), ClearChildControlState() and
  1025. IsChildControlStateCleared
  1026. 2006-11-26 Igor Zelmanovich <[email protected]>
  1027. * Page.cs:
  1028. * ClientScriptManager.cs:
  1029. implemented RegisterExpandoAttribute feature
  1030. 2006-11-23 Igor Zelmanovich <[email protected]>
  1031. * ListSourceHelper.cs: optimization of implementation
  1032. 2006-11-23 Igor Zelmanovich <[email protected]>
  1033. * ListSourceHelper.cs: implemented
  1034. 2006-11-21 Igor Zelmanovich <[email protected]>
  1035. * DataSourceView.cs: fixed: constructor throws ArgumentNullException
  1036. 2006-11-21 Igor Zelmanovich <[email protected]>
  1037. * Page.cs: fixed: PreviousPage property
  1038. when CrossPostBack is processed PreviousPage is initialized
  1039. only if PreviousPage property is called.
  1040. 2006-11-21 Igor Zelmanovich <[email protected]>
  1041. * DataSourceControl.cs: fixed: Focus(), EnableTheming
  1042. 2006-11-21 Marek Habersack <[email protected]>
  1043. * Control.cs: Make ClientIDSeparator private for !NET_2_0
  1044. 2006-11-21 Igor Zelmanovich <[email protected]>
  1045. * Page.cs: fixed: LoadControlState is called for controls
  1046. that added on Load and latter
  1047. 2006-11-20 Marek Habersack <[email protected]>
  1048. * Control.cs: Implementations of a few missing properties.
  1049. * Page.cs: Added support for automatic culture detection from the
  1050. user's browser.
  1051. * PageParser.cs: Added support for "auto" cultures in the Page
  1052. directive.
  1053. 2006-11-20 Igor Zelmanovich <[email protected]>
  1054. * ClientScriptManager.cs: fixed: ValidateEvent feature:
  1055. client side return eventArgument as empty string
  1056. for controls that set it as null
  1057. 2006-11-18 Marek Habersack <[email protected]>
  1058. * ClientScriptManager.cs: Implemented two missing
  1059. GetPostBackEventReference overloads. Made one of the overloads
  1060. internal for .NET < 2.0.
  1061. 2006-11-17 Marek Habersack <[email protected]>
  1062. * PostBackOptions.cs: Renamed the constructors parameters to match
  1063. those Microsoft .NET uses.
  1064. targetControl must not be passed null to the constructor.
  1065. * ClientScriptManager.cs: Support for event validation.
  1066. Implemented a GetPostBackHyperlink overload.
  1067. Implemented the RegisterForEventValidation methods.
  1068. Implemented the ValidateEvent method.
  1069. Added support for saving/restoring event validation state.
  1070. * Page.cs: EnableEventValidation can be set only from the config
  1071. files (the <pages> element), the Page directive or from
  1072. Page_Init. After Page_Init returns, an exception is thrown.
  1073. Made GetFormatter internal, so that ClientScriptManager can use
  1074. it.
  1075. Added the internal LifeCycle property which contains the current
  1076. life cycle stage of the page request processing.
  1077. Added calls to save/restore event validation state.
  1078. Added checks for whether child controls of the page support event
  1079. validation or not.
  1080. Added calls to ClientScriptManager.ValidateEvent in appropriate
  1081. places.
  1082. * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
  1083. validation.
  1084. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1085. * LosFormatter.cs:
  1086. * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
  1087. empty strings.
  1088. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1089. * SimpleWebHandlerParser.cs: 'using' for file reading.
  1090. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1091. * Page.cs: revert r67514 until after tagging for the next release.
  1092. 2006-11-12 Igor Zelmanovich <[email protected]>
  1093. * LiteralControl.cs: fixed: constructors & Text property
  1094. 2006-11-09 Igor Zelmanovich <[email protected]>
  1095. * Page.cs: fixed: LoadControlState is called for controls
  1096. that added on Load and latter, for 1.x refactoring only
  1097. 2006-11-02 Igor Zelmanovich <[email protected]>
  1098. * ClientScriptManager.cs:
  1099. fixed: checks arguments for null in public methods,
  1100. fixed public interface.
  1101. 2006-10-23 Igor Zelmanovich <[email protected]>
  1102. * PostBackOptions.cs: fixed: default values of properties
  1103. 2006-10-22 Igor Zelmanovich <[email protected]>
  1104. * CssStyleCollection.cs:
  1105. * AttributeCollection.cs:
  1106. fixed: style collection is synchronized with style attribute
  1107. 2006-10-19 Igor Zelmanovich <[email protected]>
  1108. * ClientScriptManager.cs: fixed: renders id attribute in hidden field
  1109. 2006-10-18 Marek Habersack <[email protected]>
  1110. * TemplateParser.cs: reference System.Resources when compiling a
  1111. control.
  1112. * TemplateControl.cs: implement the GetGlobalResourceObject
  1113. ASP.NET 2.0 APIs.
  1114. 2006-10-12 Igor Zelmanovich <[email protected]>
  1115. * Page.cs: fixed: for 2.0 only
  1116. When Page processes Callback IsPostBack = false, but it still needs
  1117. LoadViewState/ControlState and ProcessPostData
  1118. 2006-10-11 Igor Zelmanovich <[email protected]>
  1119. * DataSourceSelectArguments.cs: fixed:
  1120. SortExpression not returns null,
  1121. Empty property returns new instance each time
  1122. 2006-10-10 Igor Zelmanovich <[email protected]>
  1123. * DataSourceSelectArguments.cs:
  1124. fixed: RaiseUnsupportedCapabilitiesError method.
  1125. 2006-10-09 Igor Zelmanovich <[email protected]>
  1126. * DataSourceSelectArguments.cs: fixed: Equals method.
  1127. 2006-10-09 Gonzalo Paniagua Javier <[email protected]>
  1128. * CssStyleCollection.cs: don't clear the collection of properties, but
  1129. create a new one.
  1130. 2006-10-06 Gonzalo Paniagua Javier <[email protected]>
  1131. * CssStyleCollection.cs: 'style' can be modified on our back, so build
  1132. the style table every time instead of keeping one that is not in sync.
  1133. Fixes bug #79587.
  1134. 2006-09-25 Igor Zelmanovich <[email protected]>
  1135. * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
  1136. When page is invoked by cross-page posting, PreviousPage processed all
  1137. live-cycle up to OnLoadComplite included.
  1138. IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
  1139. 2006-09-20 Gonzalo Paniagua Javier <[email protected]>
  1140. * TemplateParser.cs: patch by Joel Reed that makes use of the namespace
  1141. collection from the PagesConfiguration to add new namespaces when
  1142. generating the page/control code.
  1143. 2006-09-18 Gonzalo Paniagua Javier <[email protected]>
  1144. * PageParser.cs: support the EnableEventValidation attribute.
  1145. 2006-09-18 Igor Zelmanovich <[email protected]>
  1146. * Page.cs: fixed: Title property works properly
  1147. 2006-09-17 Igor Zelmanovich <[email protected]>
  1148. * ClientScriptManager.cs: added helper method
  1149. 2006-09-14 Igor Zelmanovich <[email protected]>
  1150. * Page.cs: fixed: GetValidators(string), Validate(string) works properly
  1151. 2006-09-08 Robert Jordan <[email protected]>
  1152. * Page.cs: assure that RenderTrace is called even if an
  1153. exception occurred. Fixes bug #78930.
  1154. 2006-09-08 Gonzalo Paniagua Javier <[email protected]>
  1155. * TemplateControl.cs: search for the new Page_* event handlers in 2.0.
  1156. Patch by Marek Habersack that fixes bug #78268.
  1157. 2006-09-07 Lluis Sanchez Gual <[email protected]>
  1158. * Page.cs: Use lowercase getElementById in the javascript that
  1159. checks the browser.
  1160. 2006-08-22 Vladimir Krasnov <[email protected]>
  1161. * KeyedListEnumerator.cs: fixed Current property to return real object
  1162. instead of DictionaryEntry
  1163. 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
  1164. * Page.cs: don't use the Browser object, as it slows down process
  1165. request time *a lot*. Fixes bug #79206.
  1166. 2006-09-05 Konstantin Triger <[email protected]>
  1167. * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
  1168. * OutputCacheParameters.cs: added an implementation.
  1169. 2006-09-04 Igor Zelmanovich <[email protected]>
  1170. * CssStyleCollection.cs: fixed: background-image style attribute
  1171. 2006-08-31 Konstantin Triger <[email protected]>
  1172. * StaticPartialCachingControl.cs: added forwarding implementation for
  1173. 2.0 version of BuildCachedControl().
  1174. 2006-08-30 Igor Zelmanovich <[email protected]>
  1175. * Page.cs: added internal method
  1176. * ClientScriptManager.cs:
  1177. 2006-08-30 Igor Zelmanovich <[email protected]>
  1178. * ClientScriptManager.cs: added helper method
  1179. 2006-08-22 Vladimir Krasnov <[email protected]>
  1180. * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
  1181. if compiled with .net aspx parser
  1182. fixed OnInit, GetStyleSheets may return null if no css files found by
  1183. .net aspx parser
  1184. 2006-08-22 Vladimir Krasnov <[email protected]>
  1185. * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
  1186. modifiers check on event handlers
  1187. 2006-08-22 Vladimir Krasnov <[email protected]>
  1188. * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
  1189. parser 2.0
  1190. * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
  1191. fixed TemplateSourceDirectory, should not work on master pages.
  1192. 2006-08-20 Vladimir Krasnov <[email protected]>
  1193. * MasterPageParser.jvm.cs: fixed path resolving
  1194. GetCompiledMasterInstance
  1195. 2006-08-17 Vladimir Krasnov <[email protected]>
  1196. * TemplateControl.jvm.cs: fixed data binding API, implemented
  1197. AppRelativeVirtualPath, ReadStringResource
  1198. 2006-08-17 Vladimir Krasnov <[email protected]>
  1199. * Page.cs: added stubs to run aspx files compiled by .net
  1200. 2006-08-17 Vladimir Krasnov <[email protected]>
  1201. * MasterPageParser.jvm.cs: implemented
  1202. 2006-08-10 Andrew Skiba <[email protected]>
  1203. * Page.cs: render css path as a virtual path.
  1204. 2006-08-09 Robert Jordan <[email protected]>
  1205. * Control.cs: add the 2.0 ResolveClientUrl method.
  1206. Expose ResolveClientUrl as internal for the 1.1 profile.
  1207. Fixes bug #77539.
  1208. 2006-08-08 Vladimir Krasnov <[email protected]>
  1209. * added MasterPageParser.jvm.cs
  1210. 2006-08-08 Vladimir Krasnov <[email protected]>
  1211. * ControlBuilder.jvm.cs: added BuildObject method
  1212. 2006-08-08 Vladimir Krasnov <[email protected]>
  1213. * ParseChildrenAttribute.cs: fixed ChildControlType property to
  1214. compliant to .net
  1215. * UserControl.cs: fixed ParseChildren attribute to be compliant
  1216. to .net
  1217. 2006-08-08 Igor Zelmanovich <[email protected]>
  1218. * Page.cs: implemented MaintainScrollPositionOnPostBack feature
  1219. 2006-08-06 Vladimir Krasnov <[email protected]>
  1220. * Control.cs: fixed EnableTheming proprty, fixes bug when child
  1221. control has EnableTheming=false and parent has true.
  1222. 2006-07-31 Vladimir Krasnov <[email protected]>
  1223. * MasterPage.cs: fixed default values, fixed AddContentTemplate
  1224. 2006-07-31 Vladimir Krasnov <[email protected]>
  1225. * Control.cs: fixed EnableTheming proprty, fixes the bug when skins
  1226. are applied even if EnableTheming property was set to false.
  1227. 2006-07-24 Andrew Skiba <[email protected]>
  1228. * DataSourceView.cs: refactor to keep the original exception stack.
  1229. 2006-07-21 Gonzalo Paniagua Javier <[email protected]>
  1230. * PostBackOptions.cs: default to String.Empty for several field values.
  1231. Patch by Marek Habersack.
  1232. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  1233. * Page.cs: when ProcessRequest is not called, get the session from
  1234. the current context. Fixes bug #78730.
  1235. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  1236. * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
  1237. by Peijen Lin that closes bug #78646.
  1238. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1239. * TemplateControlParser.cs: fix compilation caching when more than one
  1240. @control is compiled from source. Closes bug #78626.
  1241. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1242. * Page.cs: add the 2.0 Items property. Fixes bug #78467.
  1243. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1244. * Page.cs: use the new internal LosFormatter.SerializeToBase64.
  1245. * LosFormatter.cs: always work on base 64 strings even if the
  1246. input/output is on a Stream. Fixes bug #78640.
  1247. 2006-06-08 Konstantin Triger <[email protected]>
  1248. * Page.cs: For loading themes, use '~/App_Themes' instead of
  1249. './App_Themes' to enable theme support for files in sub folders.
  1250. 2006-05-25 Andrew Skiba <[email protected]>
  1251. * Control.cs: move 2.0 stuff into ifdef NET_2_0
  1252. 2006-05-25 Andrew Skiba <[email protected]>
  1253. * Page.cs, Control.cs: Fix the order of OnInit invocation of controls
  1254. created via master page content (see
  1255. http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
  1256. 2006-05-11 Andrew Skiba <[email protected]>
  1257. * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
  1258. PageTheme and from StyleSheetPageTheme to insert links in page header.
  1259. 2006-05-10 Andrew Skiba <[email protected]>
  1260. * TemlpateParser.cs: surround file name with quotes
  1261. 2006-05-08 Chris Toshok <[email protected]>
  1262. * ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
  1263. fixes the last thing keeping the test in #76818 from working.
  1264. 2006-05-07 Andrew Skiba <[email protected]>
  1265. * Page.cs: if no theme is defined in aspx, read default from web.config.
  1266. Same for the style sheet theme.
  1267. 2006-04-27 Andrew Skiba <[email protected]>
  1268. * TemplateParser.cs: format according to
  1269. http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
  1270. 2006-04-25 Chris Toshok <[email protected]>
  1271. * PageThemeParser.cs (LinkedStyleSheets): reformat.
  1272. 2006-04-25 Konstantin Triger <[email protected]>
  1273. * Control.cs: implementation for IsViewStateEnabled.
  1274. 2006-04-25 Andrew Skiba <[email protected]>
  1275. * Control.cs: fix null pointer exception
  1276. 2006-04-23 Andrew Skiba <[email protected]>
  1277. * PageThemeParser.cs: add LinkedStyleSheets property
  1278. 2006-04-16 Andrew Skiba <[email protected]>
  1279. * TemplateParser.cs: add internal method AddAssemblyByFileName
  1280. 2006-04-16 Konstantin Triger <[email protected]>
  1281. * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
  1282. 2006-04-11 Konstantin Triger <[email protected]>
  1283. * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
  1284. 2006-04-10 Chris Toshok <[email protected]>
  1285. * PageThemeFileParser.cs (AddDirective): allow Register directives
  1286. in skin files.
  1287. 2006-04-02 Chris Toshok <[email protected]>
  1288. * Control.cs (DesignMode): always return false for now. Fixes
  1289. #77991.
  1290. 2006-03-24 Gonzalo Paniagua Javier <[email protected]>
  1291. * ControlBuilder.cs: when creating a default property builder, handle
  1292. strings specially.
  1293. * StringPropertyBuilder.cs: new builder used in TextBox 2.0.
  1294. 2006-03-15 Vladimir Krasnov <[email protected]>
  1295. * ControlCollection.cs: fixed CopyTo method, fixes bug when if target
  1296. index is not zero
  1297. 2006-03-13 Chris Toshok <[email protected]>
  1298. * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
  1299. * HtmlTextWriterAttribute.cs: same.
  1300. * HtmlTextWriterStyle.cs: same.
  1301. * VirtualReferenceType.cs: new enum.
  1302. 2006-03-13 Chris Toshok <[email protected]>
  1303. * UserControl.cs: rework InitializeAsUserControl and
  1304. InitializeAsUserControlInternal - the Internal variety doesn't set
  1305. this.page to null now.
  1306. * MasterPage.cs (CreateMasterPage): map the masterPageFile path,
  1307. and also remove a line of spew.
  1308. 2006-03-09 Vladimir Krasnov <[email protected]>
  1309. * Added PageParser.jvm.cs, WebServiceParser.jvm.cs
  1310. 2006-03-07 Chris Toshok <[email protected]>
  1311. * Page.cs (InitializeStyleSheet): load the style sheet theme using
  1312. ThemeDirectoryCompiler.
  1313. (InitializeTheme): load the page's theme using
  1314. ThemeDirectoryCompiler.
  1315. (InternalProcessRequest): call InitializeTheme after OnPreInit.
  1316. (FrameworkInitialize): call InitializeStyleSheet.
  1317. (PageTheme,StyleSheetPageTheme): new properties to get the
  1318. respective themes.
  1319. * Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
  1320. on the ControlSkin (if there is one) for this control in the
  1321. page's StyleSheetSkin.
  1322. (ApplyThemeRecursively): applies the page's theme recursively to
  1323. the control hierarchy. Must be done this way because the control
  1324. tree is already present when we apply the theme (it has to be,
  1325. since theme's override settings).
  1326. * PageTheme.cs (GetControlSkin): add internal call to do the
  1327. lookup for us.
  1328. * PageThemeFileParser.cs: the parser object that represents each
  1329. individual skin file.
  1330. * PageThemeParser.cs: the parser object that represents the entire
  1331. theme directory.
  1332. * PageThemeBuilder.cs: this class generates the right exception on
  1333. the right event, but it's not hooked up yet.
  1334. 2006-03-02 Chris Toshok <[email protected]>
  1335. * Control.cs (ApplyStyleSheetTheme): remove the exception, and add
  1336. a MonoTODO.
  1337. * Page.cs (Theme): implement setter/getter.
  1338. (StyleSheetTheme): same.
  1339. * PageParser.cs (ProcessMainAttributes): parse the Theme and
  1340. StyleSheetTheme attributes.
  1341. 2006-02-27 Chris Toshok <[email protected]>
  1342. * TemplateControl.cs: corcompare work.
  1343. * ExpressionBindingCollection.cs: same.
  1344. * HierarchicalDataSourceControl.cs: same.
  1345. * PostBackOptions.cs: same.
  1346. * ClientScriptManager.cs: same.
  1347. * FilterableAttribute.cs: same.
  1348. * ControlCollection.cs: same.
  1349. * DataBindingCollection.cs: same.
  1350. * PropertyEntry.cs: mark ctor internal.
  1351. * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
  1352. * Page.cs: stub out two Theme oriented 2.0 properties.
  1353. * DataBinder.cs: remove the obsolete attribute on the ctor.
  1354. * TwoWayBoundPropertyEntry.cs: remove this.
  1355. * ControlBuilder.cs (BindingContainerType): virtual in 2.0.
  1356. * ThemeProvider: new (stubbed) class.
  1357. * SkinBuilder.cs: same.
  1358. * PageTheme.cs: same.
  1359. * ControlSkin.cs: same.
  1360. * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
  1361. * SimplePropertyEntry.cs: mark ctor as internal.
  1362. * IThemeResolutionService.cs: enable the 3 members of this
  1363. interface.
  1364. 2006-02-27 Chris Toshok <[email protected]>
  1365. * ListSourceHelper.cs: this class is static.
  1366. * Page.cs: add some EditorBrowsable attributes to the 2.0 events.
  1367. 2006-02-27 Chris Toshok <[email protected]>
  1368. * DataSourceView.cs: Name isn't virtual.
  1369. * DataSourceControl.cs: beat this class over the head with the
  1370. corcompare stick.
  1371. * DataSourceControlBuilder.cs: new stubbed control builder for
  1372. DataSourceControl.
  1373. 2006-02-23 Chris Toshok <[email protected]>
  1374. * Page.cs: more corcompare work.
  1375. 2006-02-23 Chris Toshok <[email protected]>
  1376. * Page.cs (ProcessCallbackData): track change to
  1377. ICallbackEventHandler iface.
  1378. * ICallbackEventHandler.cs: enable the proper members of this
  1379. interface.
  1380. * DataSourceSelectArguments.cs: reformat getter/setters.
  1381. 2006-02-22 Cesar Lopez Nataren <[email protected]>
  1382. * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
  1383. 2006-02-14 Gonzalo Paniagua Javier <[email protected]>
  1384. * WebHandlerParser.cs:
  1385. * WebServiceParser.cs:
  1386. * UserControlParser.cs:
  1387. * PageParser.cs: added new ctor that uses a TextReader as input.
  1388. * TemplateControlParser.cs: new Reader property.
  1389. * SimpleWebHandlerParser.cs: new Reader property and ctor.
  1390. 2006-02-12 Cesar Lopez Nataren <[email protected]>
  1391. * HtmlTextWriter.cs: Implemented IsValidFormAttribute and
  1392. WriterBreak for the .NET 2.0 profile.
  1393. 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
  1394. * IThemeResolutionService.cs: this is now added to the
  1395. sources file, but some other stuff does not compile yet as the
  1396. interface changed after the beta.
  1397. * ObjectConverter.cs: removed extra attribute.
  1398. * ObjectStateFormatter.cs: add IStateFormatter for 2.0.
  1399. * ICallbackEventHandler.cs: update the interface, but commented the
  1400. 'good' stuff out, since other files need to be fixed too.
  1401. 2006-02-07 Chris Toshok <[email protected]>
  1402. * ControlBuilder.cs: rename flushOutputStatements to
  1403. methodStatements to at least reflect that they're in that method.
  1404. 2006-02-07 Chris Toshok <[email protected]>
  1405. * MasterPage.cs (CreateMasterPage): don't nullref on null
  1406. contentTemplateCollection.
  1407. * ControlBuilder.cs: add a flushOutputStatements field.
  1408. * PageParser.cs (ProcessMainAttributes): handle Title attribute.
  1409. (Title): add getter.
  1410. * Page.cs (Title): implement getter/setter.
  1411. (InternalProcessRequest): after calling ApplyMasterPage, apply the
  1412. page's Title directive if there is one.
  1413. (AddContentTemplate): make the EditorBrowsable attribute apply to
  1414. the method, not the field.
  1415. 2006-02-07 Chris Toshok <[email protected]>
  1416. * MasterPage.cs: rework this file, adding some static methods
  1417. gleaned from MS stack traces, and clear up the propogation of
  1418. content templates between nested master pages.
  1419. * Control.cs (TemplateControl): implement.
  1420. * TemplateControl.cs: re-indent some of the code.
  1421. (ReadStringRecource): according to msdn2, these throw
  1422. NotSupportedException.
  1423. * MasterPageParser.cs (HandleOption): implement. assign our
  1424. master page's MasterPageFile from the UserControl property.
  1425. * UserControl.cs (InitializeAsUserControlInternal): new method
  1426. that allows initialization without a page.
  1427. * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
  1428. MasterPageFile attributes, so we can have nested master pages.
  1429. (MasterPageFile): add a 2.0 specific property.
  1430. * TemplateControlParser.cs: in .net 2.0, our base class is
  1431. BaseTemplateParser.
  1432. (HandleOptions): be consistent and call base.HandleOptions.
  1433. * BaseTemplateParser.cs: new (stubbed) class.
  1434. * MasterPageControlBuilder.cs: new file, not filled in (and really
  1435. not used either.)
  1436. * Page.cs (InternalProcessRequest): call ApplyMasterPage.
  1437. (SaveExistingContentTemplates): nuke.
  1438. (ReapplyExistingContentTemplate): nuke.
  1439. (ApplyMasterPage): if we have a master page, call
  1440. MasterPage.ApplyMasterPageRecursive with it and add it to our
  1441. controls.
  1442. (set_MasterPageFile): remove call to SaveExistingContentTemplates.
  1443. (get_Master): call MasterPage.CreateMasterPage.
  1444. (AddContentTemplate): keep track of the page's content templates
  1445. in a local Hashtable - they aren't our master page's content
  1446. templates.
  1447. 2006-02-01 Chris Toshok <[email protected]>
  1448. * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
  1449. calls to GetWebApplicationSection with GetSection.
  1450. * SimpleWebHandlerParser.cs: same.
  1451. * Page.cs: same.
  1452. * PageParser.cs: same.
  1453. * BaseParser.cs: same.
  1454. 2006-01-27 Chris Toshok <[email protected]>
  1455. * MasterPage.cs (ContentTemplatesInternal): add get/set for the
  1456. actual Hashtable.
  1457. * Page.cs (SaveExistingContentTemplates): store off the existing
  1458. MasterPage content templates so they can be reapplied when setting
  1459. MasterPageFile to something else.
  1460. (ReapplyExistingContentTemplates): set masterPage's
  1461. ContentTemplates to our saved copy.
  1462. (set_MasterPageFile): save off the current content templates
  1463. before clearing masterPage.
  1464. (get_Master): reapply the saved content templates after we create
  1465. the new MasterPage.
  1466. 2006-01-25 Chris Toshok <[email protected]>
  1467. * ClientScriptManager.cs (RegisterClientScriptResource): last
  1468. patch, I swear. How can 1 line of code have 3 bugs?
  1469. 2006-01-25 Chris Toshok <[email protected]>
  1470. * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
  1471. problem with last commit - unquote "resourceName" so it uses the
  1472. parameter instead of the string constant.
  1473. 2006-01-22 Chris Toshok <[email protected]>
  1474. * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
  1475. quiet mcs.
  1476. * PageParser.cs (ProcessMainAttributes): i missed a
  1477. CONFIGURATION_2_0 block.
  1478. * BoundPropertyEntry.cs (.ctor): mark as internal to fix
  1479. corcompare.
  1480. 2006-01-18 Konstantin Triger <[email protected]>
  1481. * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
  1482. 2006-01-18 Konstantin Triger <[email protected]>
  1483. * HtmlTextWriter.cs: perform case insensitive compare;
  1484. return correct key in default case.
  1485. 2006-01-11 Chris Toshok <[email protected]>
  1486. * ClientScriptManager.cs (RegisterClientScriptResource):
  1487. implement.
  1488. 2006-01-11 Vladimir Krasnov <[email protected]>
  1489. * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
  1490. TypeFormatter.Read
  1491. 2006-01-10 Chris Toshok <[email protected]>
  1492. * Page.cs (ValidateCollection): in NET_2_0 if event validation is
  1493. off, return true.
  1494. 2006-01-09 Chris Toshok <[email protected]>
  1495. * Page.cs: fix a lot of indentation, and add the
  1496. EnableEventValidation .net 2.0 property.
  1497. 2006-01-09 Vladimir Krasnov <[email protected]>
  1498. * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
  1499. TypeFormatter.Read, TypeFormatter.Write from /main/5
  1500. 2006-01-09 Konstantin Triger <[email protected]>
  1501. * Page.cs: make ProcessRequest virtual under TARGET_JVM.
  1502. 2006-01-04 Chris Toshok <[email protected]>
  1503. * TemplateParser.cs (.ctor): kinda gross, but handle the
  1504. AddAssembliesInBin case here.
  1505. * SimpleWebHandlerParser.cs (.ctor): same.
  1506. 2006-01-04 Chris Toshok <[email protected]>
  1507. * SimpleWebHandlerParser.cs: Remove the declaration of
  1508. compilationConfig in the CONFIGURATION_2_0 case. it's
  1509. unnecessary.
  1510. (.ctor): ifdef out the AddAssembliesInBin call in the
  1511. CONFIGURATION_2_0 case. need to revisit this.
  1512. (CompilationConfig): add a CONFIGURATION_2_0 version.
  1513. * BaseParser.cs: Remove the declaration of compilationConfig in
  1514. the CONFIGURATION_2_0 case. it's unnecessary.
  1515. 2005-12-08 Gonzalo Paniagua Javier <[email protected]>
  1516. * Control.cs: use _controls instead of the property wherever possible.
  1517. 2005-12-05 Gonzalo Paniagua Javier <[email protected]>
  1518. * Control.cs: use the _controls field instead of the Controls property.
  1519. Fixes bug #76919.
  1520. 2005-11-30 Sebastien Pouliot <[email protected]>
  1521. * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
  1522. Now internal.
  1523. * KeyedListEnumerator.cs: Now internal.
  1524. 2005-11-29 Gonzalo Paniagua Javier <[email protected]>
  1525. * ControlCollection.cs: allow 'null' in Remove.
  1526. 2005-11-28 Chris Toshok <[email protected]>
  1527. * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
  1528. * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
  1529. (PagesConfig): add a CONFIGURATION_2_0 version that returns a
  1530. PagesSection.
  1531. * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
  1532. * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
  1533. version that returns a CompilationSection.
  1534. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  1535. * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
  1536. 2005-11-09 Chris Toshok <[email protected]>
  1537. * ViewStateEncryptionMode.cs: new 2.0 enum.
  1538. 2005-11-08 Gonzalo Paniagua Javier <[email protected]>
  1539. * TemplateParser.cs: fixes #76423. Not tested properly.
  1540. 2005-11-07 Gonzalo Paniagua Javier <[email protected]>
  1541. * Page.cs: call LoadViewStateRecursive when the Form collection has
  1542. not been used by a different page (GetTypeHashCode). This fixes problems
  1543. when calling Server.Transfer while preserving Form and QueryString,
  1544. as the page we transfer to used the view state stored in the Form, which
  1545. contained the serialized data for the page calling Server.Transfer
  1546. instead.
  1547. 2005-10-31 Gonzalo Paniagua Javier <[email protected]>
  1548. * Page.cs: add/remove the error before/after invoking OnError.
  1549. 2005-10-27 Gonzalo Paniagua Javier <[email protected]>
  1550. * Page.cs: call OnError when there's an exception (not for TAE). Fixes
  1551. bug #76572.
  1552. 2005-10-25 Gonzalo Paniagua Javier <[email protected]>
  1553. * TemplateControl.cs:
  1554. * PartialCachingControl.cs: if a control is cacheable, LoadControl
  1555. returns a PartialCachingControl that holds the VaryBy* and takes care
  1556. of partial caching and rendering. Fixes bug #76547.
  1557. 2005-10-17 Gonzalo Paniagua Javier <[email protected]>
  1558. * Page.cs: don't cache the 'Validate()' results. IsValid retests
  1559. the validators again.
  1560. 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
  1561. * DesignerDataBoundLiteralControl.cs: changed autoid api.
  1562. * DataBoundLiteralControl.cs: changed autoid api.
  1563. * Control.cs: fixlet for UniqueID and weird test case. Removed
  1564. PreventAutoID and only use the property to set that value.
  1565. * LiteralControl.cs: changed autoid api.
  1566. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  1567. * AttributeCollection.cs: avoid code duplication and
  1568. don't add "style" to the bag, or it will overwrite the settings made
  1569. by CssStyleCollection.
  1570. * CssStyleCollection.cs: make it throw where MS throws.
  1571. Minimize the number of times we create the "style" string and take
  1572. care of updating it for the AttributeCollection. FillStyle and
  1573. BagToString are now private. One should use the 2.0 (internal in <2.0)
  1574. Value property.
  1575. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  1576. * Control.cs: fix HasChildViewStates.
  1577. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  1578. * LosFormatter.cs: when the default ctor is used, MAC is disabled.
  1579. Fixes bug #76240.
  1580. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  1581. * ObjectTagBuilder.cs: only fail when no id and no attributes.
  1582. 2005-09-23 Sebastien Pouliot <[email protected]>
  1583. * DataBindingCollection.cs: Using an hashtable is a nice trick but
  1584. we need to copy values (not the DictionaryEntry) in CopyTo.
  1585. * Page.cs: IsValid throws an exception if the page hasn't be
  1586. validated. VerifyRenderingInServerForm doesn't throw an exception
  1587. during unit testing (without a context?) but does in normal ops.
  1588. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  1589. * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
  1590. save the allocation of new MemoryStreams when possible. Thanks to
  1591. Sebastien again.
  1592. 2005-09-23 Ben Maurer <[email protected]>
  1593. * HtmlTextWriter.cs: Initial support for escaping.
  1594. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  1595. * ViewStateOutputHashStream.cs: Removed. It didn't last long.
  1596. * Page.cs: almost restored to its previous state, but now that we found
  1597. that LosFormatter ctor that takes 'enableMac', moved the logic to
  1598. add the hash and validate there. Thanks to Sebastien for his input.
  1599. * LosFormatter.cs: implemented the missing ctors and support for
  1600. "MAC" validation of the data.
  1601. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  1602. * Page.cs:
  1603. * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
  1604. prevents the viewstate being altered on the client and it's disabled
  1605. by default as per the documentation, but MS machine.config has it
  1606. enabled in machine.config.
  1607. 2005-09-22 Miguel de Icaza <[email protected]>
  1608. * DataBindingCollection.cs: Raise the event, remove MonoTODO.
  1609. * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
  1610. string.
  1611. 2005-09-21 Sebastien Pouliot <[email protected]>
  1612. * Control.cs: Added null checks for Trace as it can be null when
  1613. rendering (like it was for 39 unit tests).
  1614. 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
  1615. * Page.cs: reverted hacks used with the wrong method of getting a
  1616. control rendered size.
  1617. * Control.cs: if the trace is enabled, save control rendered size.
  1618. 2005-09-19 Sebastien Pouliot <[email protected]>
  1619. * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
  1620. now use HtmlHeader directly.
  1621. * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
  1622. rewrote Equals to avoid dual type cast.
  1623. 2005-09-19 Sebastien Pouliot <[email protected]>
  1624. * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
  1625. 2005-09-19 Sebastien Pouliot <[email protected]>
  1626. * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
  1627. * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
  1628. with Minimal level. Fixed checks on ctor.
  1629. * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
  1630. AspNetHostingPermission with Minimal level.
  1631. * TemplateContainerAttribute.cs: Added LinkDemand for
  1632. AspNetHostingPermission with Minimal level.
  1633. * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
  1634. AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
  1635. Stubbed IFilterResolutionService for CAS testing.
  1636. * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
  1637. AspNetHostingPermission with Minimal level.
  1638. * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
  1639. AspNetHostingPermission with Minimal level.
  1640. * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
  1641. with Minimal level. Removed IDispose interface.
  1642. * ToolboxDataAttribute.cs: Added LinkDemand for
  1643. AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
  1644. to work on both 1.x and 2.0 profiles.
  1645. * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
  1646. for AspNetHostingPermission with Minimal level.
  1647. * UserControl.cs: Added LinkDemand and InheritanceDemand for
  1648. AspNetHostingPermission with Minimal level. Stubbed
  1649. IFilterResolutionService for CAS testing.
  1650. * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
  1651. for AspNetHostingPermission with Minimal level.
  1652. * ValidationPropertyAttribute.cs: Added LinkDemand for
  1653. AspNetHostingPermission with Minimal level.
  1654. * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
  1655. with Minimal level.
  1656. * WebResourceAttribute.cs: Removed extra ctor and added setter to
  1657. PerformSubstitution.
  1658. * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
  1659. AspNetHostingPermission with Minimal level.
  1660. 2005-09-15 Sebastien Pouliot <[email protected]>
  1661. * ParseChildrenAttribute.cs: Added LinkDemand for
  1662. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  1663. casting. Added new ctor and public fields (2.0). Changed
  1664. ChildControlType setter visibility to internal.
  1665. * PartialCachingAttribute.cs: Added LinkDemand for
  1666. AspNetHostingPermission with Minimal level. Added new ctor and
  1667. SqlDependency property (2.0).
  1668. * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
  1669. AspNetHostingPermission with Minimal level.
  1670. * PersistenceModeAttribute.cs: Added LinkDemand for
  1671. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  1672. casting.
  1673. * PersistChildrenAttribute.cs: Added LinkDemand for
  1674. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  1675. casting.
  1676. * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
  1677. with Minimal level. Class is static in 2.0.
  1678. * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
  1679. AspNetHostingPermission with Minimal level. Class is no more sealed in
  1680. 2.0. Added new (2.0) BuiltObjects property.
  1681. * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
  1682. for AspNetHostingPermission with Minimal level.
  1683. * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
  1684. Minimal level.
  1685. * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
  1686. Minimal level. Removed SetDirty() which was called (2.0) but did
  1687. nothing.
  1688. * StaticPartialCachingControl.cs: Added LinkDemand and
  1689. InheritanceDemand for AspNetHostingPermission with Minimal level.
  1690. 2005-09-15 Sebastien Pouliot <[email protected]>
  1691. * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
  1692. AspNetHostingPermission with Minimal level. Added new 2.0 properties
  1693. (but the generated HTML doesn't use them).
  1694. * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
  1695. AspNetHostingPermission with Minimal level.
  1696. * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
  1697. with Minimal level.
  1698. * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
  1699. AspNetHostingPermission with Minimal level. Default Text is null.
  1700. * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
  1701. AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
  1702. * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
  1703. AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
  1704. * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
  1705. with Minimal level. Added check for null id (HttpException).
  1706. * Page.cs: Added LinkDemand and InheritanceDemand for
  1707. AspNetHostingPermission with Minimal level. Throw some HttpException
  1708. when no context is available.
  1709. * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
  1710. level. InheritanceDemand too for 1.x.
  1711. * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
  1712. Minimal level.
  1713. 2005-09-14 Sebastien Pouliot <[email protected]>
  1714. * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
  1715. Minimal level. Fixed some exceptions.
  1716. * DataBindingCollection.cs: Added LinkDemand for
  1717. AspNetHostingPermission with Minimal level. Added 2.0 method and
  1718. event.
  1719. * DataBindingHandlerAttribute.cs: Added LinkDemand for
  1720. AspNetHostingPermission with Minimal level.
  1721. * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
  1722. Minimal level. Simplified Equals (reduced casts).
  1723. * DataBoundLiteralControl.cs: Added LinkDemand for
  1724. AspNetHostingPermission with Minimal level. Implemented ITextControl
  1725. for 2.0.
  1726. * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
  1727. AspNetHostingPermission with Minimal level.
  1728. * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
  1729. with Minimal level. Added new 2.0 properties.
  1730. * DesignTimeTemplateParser.cs: Added LinkDemand for
  1731. AspNetHostingPermission with Minimal level. Made class static and
  1732. stubbed missing methods (2.0).
  1733. * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
  1734. for AspNetHostingPermission with Minimal level. Changed Add* methods
  1735. exceptions to HttpException.
  1736. 2005-09-14 Sebastien Pouliot <[email protected]>
  1737. * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
  1738. with Minimal level.
  1739. * BaseParser.cs: Added LinkDemand and InheritanceDemand for
  1740. AspNetHostingPermission with Minimal level.
  1741. * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
  1742. for AspNetHostingPermission with Minimal level.
  1743. * CompiledTemplateBuilder.cs: Added LinkDemand for
  1744. AspNetHostingPermission with Minimal level.
  1745. * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
  1746. AspNetHostingPermission with Minimal level.
  1747. * ControlBuilderAttribute.cs: Added LinkDemand for
  1748. AspNetHostingPermission with Minimal level. Simplified Equals and
  1749. IsDefaultAttribute.
  1750. * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
  1751. AspNetHostingPermission with Minimal level.
  1752. * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
  1753. * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
  1754. AspNetHostingPermission with Minimal level. Fixed possible stack
  1755. overflow in Add* methods. Fixed CopyTo as we're not allocating the
  1756. array based on the number of items.
  1757. * Control.cs: Added LinkDemand and InheritanceDemand for
  1758. AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
  1759. * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
  1760. with Minimal level.
  1761. * IStyleSheet.cs: Fixed parameter orders (2.0).
  1762. 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
  1763. * TemplateParser.cs: default VS 2005 pages are compiled fine now.
  1764. 2005-09-07 Chris Toshok <[email protected]>
  1765. * MinimizableAttributeTypeConverter.cs: new class, whose existence
  1766. we know about because of corcompare, and for whose implementation
  1767. we have exclusively nunit to thank.
  1768. 2005-09-06 Chris Toshok <[email protected]>
  1769. * RootBuilder.cs (.cctor): doh, add all the new html controls
  1770. here.
  1771. 2005-08-31 Chris Toshok <[email protected]>
  1772. * DataSourceSelectArguments.cs (Empty): this is apparently,
  1773. according to corcompare, a property, not a field. go figure.
  1774. (Equals): implement.
  1775. (IsEmpty): remove all mention of it.
  1776. 2005-08-29 Chris Toshok <[email protected]>
  1777. * StateBag.cs (GetChar): add.
  1778. 2005-08-28 Chris Toshok <[email protected]>
  1779. * Page.cs: more random corcompare work.
  1780. (PageAdapter): implement.
  1781. 2005-08-28 Chris Toshok <[email protected]>
  1782. * Page.cs (.ctor): set our initial ID to "__Page".
  1783. (SmartNavigation): obsolete in 2.0.
  1784. (FindControl): new implementation. Just check our own ID against
  1785. the control we're looking for. otherwise pass it along to
  1786. base.FindControl.
  1787. (GetPostBackClientHyperlink): obsolete in 2.0.
  1788. 2005-08-28 Chris Toshok <[email protected]>
  1789. * ClientScriptManager.cs: public sealed in 2.0
  1790. * IAdaptableTextWriter.cs: new 2.0 interface.
  1791. * IHierarchyData.cs: fix return type for GetParent.
  1792. 2005-08-28 Chris Toshok <[email protected]>
  1793. * Pair.cs: mark serializable and sealed in 2.0.
  1794. 2005-08-26 Sebastien Pouliot <[email protected]>
  1795. * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
  1796. existing (but internal) FillStyle method. Rewrote BagToString to use an
  1797. HtmlTextWriter so we get the "right" format for background-image url.
  1798. 2005-08-26 Sebastien Pouliot <[email protected]>
  1799. * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
  1800. Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
  1801. the extra space from last patch because they break some unit tests.
  1802. 2005-08-26 Lluis Sanchez Gual <[email protected]>
  1803. * CssStyleCollection.cs: Added some spacing.
  1804. * HtmlTextWriter.cs: Made style and attribute tables static.
  1805. Implemented StaticGetStyleName().
  1806. 2005-08-26 Sebastien Pouliot <[email protected]>
  1807. * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
  1808. compilation.
  1809. * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
  1810. The new rendering formats the value as "url(" + original + ")".
  1811. 2005-08-26 Sebastien Pouliot <[email protected]>
  1812. * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
  1813. depends on the HtmlTextWriterStyle ordering).
  1814. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  1815. * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
  1816. 2005-08-25 Sebastien Pouliot <[email protected]>
  1817. * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
  1818. fixed the rest of the enum values).
  1819. * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
  1820. parameter to match 2.0 API. Added a setter to the AllowedTypes
  1821. property.
  1822. 2005-08-24 Chris Toshok <[email protected]>
  1823. * Control.cs (get_Adapter): Instead of throwing an exception, just
  1824. return null, so we can write the rest of the Control specific
  1825. Adapter code and just not enable any of those code paths until we
  1826. have actual adapters. Also flag TODO.
  1827. (EnsureChildControls): Call out to Adapter.CreateChildControls if
  1828. we have an adapter.
  1829. (RenderChildren): call "RenderControl (writer, adapter)" if we
  1830. have an adapter.
  1831. (RenderControl): implement the adapter case naively.
  1832. (LoadRecursive): call out to Adapter.OnLoad if we have one.
  1833. (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
  1834. we have one.
  1835. (InitRecursive): call out to Adapter.OnInit if we have one.
  1836. 2005-08-24 Chris Toshok <[email protected]>
  1837. * Page.cs (GetPostBackEventReference): track change to
  1838. ClientScriptManager and don't call a removed method.
  1839. * ClientScriptManager.cs: track more recent docs and corcompare
  1840. output.
  1841. 2005-08-24 Sebastien Pouliot <[email protected]>
  1842. * KeyedList.cs: Fixed bug when removing an unexisting object.
  1843. * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
  1844. in implementing RoleGroupCollection.
  1845. 2005-08-22 Sebastien Pouliot <[email protected]>
  1846. * Page.cs: Use Control property (and not the _control variable) to get
  1847. the User (so the virtual Control property can be overriden properly).
  1848. Sadly this doesn't seems to be the case for other properties (like
  1849. Request).
  1850. 2005-08-18 Dick Porter <[email protected]>
  1851. * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
  1852. UserControl.cs, DesignerDataBoundLiteralControl.cs,
  1853. PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
  1854. BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
  1855. stubs and attribute fixes
  1856. 2005-08-13 Sebastien Pouliot <[email protected]>
  1857. * Control.cs: Add protected virtual SetDesignModeState, in 2.0
  1858. profile, as this is required for the Login control.
  1859. 2005-08-11 Dick Porter <[email protected]>
  1860. * CssStyleCollection.cs: Tweak the css string format to pass a
  1861. unit test
  1862. * AttributeCollection.cs: Don't NRE if someone sets the "style"
  1863. attribute to null.
  1864. 2005-08-05 Ben Maurer <[email protected]>
  1865. * HtmlTextWriter.cs: Revert the patch below, see test case
  1866. 2005-08-05 Dick Porter <[email protected]>
  1867. * HtmlTextWriter.cs: Make <option> tags render inline, to match
  1868. the ms output
  1869. 2005-08-03 Ben Maurer <[email protected]>
  1870. * HtmlTextWriter.cs: Optmize this not to do insane amounts of
  1871. allocation for large pages, etc.
  1872. 2005-07-30 Chris Toshok <[email protected]>
  1873. * Page.cs (VerifyRenderingInServerForm): copy MS's error message
  1874. since our form-errors jsunit tests depend on it.
  1875. 2005-07-30 Chris Toshok <[email protected]>
  1876. * DataBinder.cs (FormatResult): make internal, not private.
  1877. 2005-07-29 Ben Maurer <[email protected]>
  1878. * StateBag.cs: Don't remove when tracking viewstate, as per msft
  1879. docs.
  1880. 2005-07-29 Ben Maurer <[email protected]>
  1881. * StateBag.cs: Actually *remove* items that are null. Duh.
  1882. 2005-07-21 Peter Dennis Bartok <[email protected]>
  1883. * Page.cs: Need to throw exception when accessing Request but no
  1884. context exists
  1885. 2005-07-20 Chris Toshok <[email protected]>
  1886. * ClientScriptManager.cs (GetClientValidationEvent): the JS we
  1887. stick in onclick handlers for buttons/links/etc.
  1888. * Page.cs (GetSubmitStatements): new function to return
  1889. scriptManager.WriteSubmitStatements. Used by HtmlForm.
  1890. (AreValidatorsUplevel): used by many of the button/linkbutton
  1891. controls (the ones that can CauseValidation) to tell whether or
  1892. not to emit client side validation calls.
  1893. 2005-07-20 Chris Toshok <[email protected]>
  1894. * WebResourceAttribute.cs: make internal (and available) in
  1895. !NET_2_0.
  1896. 2005-07-20 Chris Toshok <[email protected]>
  1897. * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
  1898. available) in !NET_2_0.
  1899. 2005-07-18 Peter Dennis Bartok <[email protected]>
  1900. * Control.cs: Added IDataBindingsAccessor interface methods
  1901. 2005-07-18 Ben Maurer <[email protected]>
  1902. * HtmlTextWriter.cs: Fix nested indentation
  1903. 2005-07-18 Peter Dennis Bartok <[email protected]>
  1904. * Control.cs: Added missing IParserAccessor.AddParsedSubObject
  1905. interface method
  1906. 2005-07-18 Ben Maurer <[email protected]>
  1907. * HtmlTextWriter.cs: Fix indentation (somewhat at least)
  1908. 2005-07-18 Peter Dennis Bartok <[email protected]>
  1909. * Control.cs:
  1910. - Default name for controls on MS.Net is "_ctl" not "_ctrl"
  1911. - MS does not append 'a' for auto-generated names
  1912. 2005-07-17 Ben Maurer <[email protected]>
  1913. * AttributeCollection.cs: Use the invariant culture.
  1914. * StateBag.cs: "Duh" optimization: return null when there are no
  1915. dirty items in the view state
  1916. 2005-07-14 Ben Maurer <[email protected]>
  1917. * StateBag.cs: A "short" version of my favorite method.
  1918. * HtmlTextWriter.cs: New method to get the tag name staticly.
  1919. 2005-07-14 Duncan Mak <[email protected]>
  1920. * DataBindingHandlerAttribute.cs: Fixed after receiving some
  1921. comments from Gonzalo.
  1922. 2005-07-13 Jackson Harper <[email protected]>
  1923. * PropertyConverter.cs: No public constructors.
  1924. 2005-07-13 Ben Maurer <[email protected]>
  1925. * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
  1926. 2005-07-12 Ben Maurer <[email protected]>
  1927. * HtmlTextWriter.cs: Make styles work.
  1928. 2005-07-11 Peter Dennis Bartok <[email protected]>
  1929. * AttributeCollection.cs:
  1930. - Changes to match MS behaviour, the "style" attribute is always
  1931. added to the list, in addition to being added to the
  1932. CssStyleCollection. Also added check for "style" attribute when
  1933. setting via index setter
  1934. - When "Style" attribute is added, CssStyleCollection is
  1935. automatically created
  1936. - The style keyword needs to be lowercase
  1937. 2005-07-11 Ben Maurer <[email protected]>
  1938. * HtmlTextWriter.cs: Missing a PopEndTag here.
  1939. * PropertyConverter.cs: Pass tests
  1940. 2005-07-09 Miguel de Icaza <[email protected]>
  1941. * DataBindingHandlerAttribute.cs: Create the "Default" property.
  1942. 2005-07-09 Duncan Mak <[email protected]>
  1943. * DataBindingHandlerAttribute.cs: Implemented.
  1944. 2005-07-08 Ben Maurer <[email protected]>
  1945. * HtmlTextWriter.cs: Much better compliance with msft
  1946. 2005-07-08 Jackson Harper <[email protected]>
  1947. * ToolbarDataAttribute.cs: New implementation.
  1948. 2005-07-07 Jackson Harper <[email protected]>
  1949. * PropertyConverter.cs: New implementation.
  1950. 2005-07-07 Ben Maurer <[email protected]>
  1951. * StateBag.cs: Noticed an issue where SetDirty was called when the
  1952. key did not exist.
  1953. 2005-07-07 Ben Maurer <[email protected]>
  1954. * StateBag.cs: Add a method that gets a string or else a default
  1955. value.
  1956. 2005-07-07 Dick Porter <[email protected]>
  1957. * StateBag.cs: Added internal SetDirty (void) method to fix the
  1958. build
  1959. 2005-07-07 Sebastien Pouliot <[email protected]>
  1960. * HtmlTextWriter.cs: Small fixlet when attribute has no value.
  1961. 2005-07-07 Miguel de Icaza <[email protected]>
  1962. * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
  1963. tests.
  1964. * StateBag.cs: Add NET_2_0 SetDirty method to get the build
  1965. going.
  1966. 2005-07-07 Sebastien Pouliot <[email protected]>
  1967. * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
  1968. 2005-07-06 Ben Maurer <[email protected]>
  1969. * HtmlTextWriter.cs: Make sure to clear attributes when they are
  1970. written.
  1971. * StateBag.cs: New impl
  1972. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  1973. * Page.cs:
  1974. * Control.cs: avoid the creation of the EventHandlerList and accessing
  1975. to it whenever possible. Fix ENABLE_THEMING constant.
  1976. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  1977. * TemplateParser.cs:
  1978. * TemplateControlParser.cs:
  1979. * UserControlParser.cs: detect circular references when a control tries
  1980. to register itself as a tag. Fixes bug #75376.
  1981. 2005-06-14 Gonzalo Paniagua Javier <[email protected]>
  1982. * PageParser.cs: don't try to compile the master page if it wan't
  1983. provided. Use MapPath from the base classes instead of the long
  1984. version. Fixes bug #75269 that prevented xsp2 from working properly.
  1985. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  1986. * MasterPage.cs: Clear the default content of placeholders before
  1987. adding the page content. Fixes bug #75193.
  1988. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  1989. * PageParser.cs: Added MasterType property. Get the type from the
  1990. MasterType directive.
  1991. * MasterPageParser.cs: Added GetCompiledMasterType method.
  1992. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  1993. * UserControl.cs:
  1994. * Page.cs:
  1995. * Control.cs: updates for 1.1 SP1
  1996. 2005-06-06 Lluis Sanchez Gual <[email protected]>
  1997. * Control.cs: Added new DataBind() overload for 2.0. The old
  1998. method calls this new overload.
  1999. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  2000. * TemplateParser.cs: ignore empty assembly.Location for in-memory
  2001. generated assemblies.
  2002. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  2003. * Page.cs: added AddContentTemplate method.
  2004. 2005-05-26 Gonzalo Paniagua Javier <[email protected]>
  2005. * AttributeCollection.cs: html-encode attribute values. Fixes
  2006. bug #73771.
  2007. 2005-05-26 Lluis Sanchez Gual <[email protected]>
  2008. * DataSourceView.cs: Fix api.
  2009. * NonVisualControlAttribute.cs: Implemented.
  2010. * IDataItemContainer.cs: Added missing properties.
  2011. * Control.cs: Added new EnableTheming and SkinID properties.
  2012. * HierarchicalDataSourceControl.cs: Implemented missing methods.
  2013. 2005-05-13 Lluis Sanchez Gual <[email protected]>
  2014. * ControlCollection.cs: Added internal setter for ReadOnly.
  2015. 2005-05-09 Geoff Norotn <[email protected]>
  2016. * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
  2017. uses instead of codebehind.
  2018. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  2019. * Page.cs: as setting CurrentCulture is slow, don't set it if the
  2020. culture has not changed since before the page started processing.
  2021. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  2022. * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
  2023. not found.
  2024. 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
  2025. * TemplateParser.cs:
  2026. * SimpleWebHandlerParser.cs: removed values assigned and neved used.
  2027. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  2028. * SimpleWebHandlerParser.cs:
  2029. * TemplateParser.cs: always get the location (full path) for assemblies,
  2030. even the ones from the GAC.
  2031. * BaseCompiler.cs: check that DynamicBase directory exists before
  2032. creating the TempFileCollection.
  2033. 2005-04-22 Lluis Sanchez Gual <[email protected]>
  2034. * ClientScriptManager.cs: Use a linked list instead of a Hashtable
  2035. to store the scripts. In this way, scripts will be rendered in the
  2036. same order as they have been registered. It shouldn't be slower
  2037. since pages don't have many scripts.
  2038. 2005-04-21 Lluis Sanchez Gual <[email protected]>
  2039. * IEditableTextControl.cs: Implemented.
  2040. * DataBinder.cs: Marked constructor as obsolete in 2.0.
  2041. In GetDataItem, check for the IDataItemContainer interface
  2042. in the container.
  2043. * TemplateControl.cs: Improved check for data item.
  2044. 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
  2045. * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
  2046. * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
  2047. for second postback.
  2048. 2005-04-20 Rafael Teixeira <[email protected]>
  2049. * TemplateParser.cs: Adding support for Strict/Explicit attributes
  2050. for @Page/@Control directives as documented at
  2051. http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
  2052. First step don't choke on them. Fixing #74671
  2053. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  2054. * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
  2055. there from the time when Load wasn't working properly. First part of the
  2056. fix to 74500.
  2057. 2005-04-15 Lluis Sanchez Gual <[email protected]>
  2058. * ControlBuilder.cs: The BindingContainerType property happens
  2059. to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
  2060. which is used to get the binding container that is managing
  2061. the current two-way binding context.
  2062. * TemplateBuilder.cs: Added some methods and an internal class
  2063. to support two-way bindings.
  2064. * CompiledBindableTemplateBuilder.cs: Implemented.
  2065. * IBindableTemplate.cs: This interface inherits from ITemplate.
  2066. 2005-04-14 Lluis Sanchez Gual <[email protected]>
  2067. * ControlBuilder.cs: Added BindingContainerType property,
  2068. which works like NamingContainerType but takes into account
  2069. template builders with a specific container type (specified
  2070. using the TemplateContainerAttribute.
  2071. * StateManagedCollection.cs: Reimplemented Save/Load view
  2072. state methods. The existing implementation was not correct
  2073. in all cases.
  2074. 2005-04-08 Lluis Sanchez Gual <[email protected]>
  2075. * DataSourceView.cs: Added null check.
  2076. 2005-04-07 Lluis Sanchez Gual <[email protected]>
  2077. * TemplateControl.cs:
  2078. * Page.cs: Moved Eval and XPath from Page
  2079. to TemplateControl.
  2080. * StateManagedCollection.cs: Avoid saving null state.
  2081. 2005-04-01 Lluis Sanchez Gual <[email protected]>
  2082. * DataSourceView.cs: Rethrow exceptions not handled by operation
  2083. callbacks.
  2084. * ITextControl.cs: Removed event.
  2085. * CollectionBuilder.cs: Don't crash when a collection has more
  2086. than one indexer.
  2087. 2005-03-23 Lluis Sanchez Gual <[email protected]>
  2088. * Control.cs: Added a new internal property: HasRenderMethodDelegate.
  2089. * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
  2090. * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
  2091. 2005-03-16 Lluis Sanchez Gual <[email protected]>
  2092. * ClientScriptManager.cs: Fix build.
  2093. 2005-03-11 Lluis Sanchez Gual <[email protected]>
  2094. * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
  2095. since it is deprecated in 2.0.
  2096. * Page.cs: Deprecated GetPostBackClientEvent and similar methods
  2097. in 2.0. Moved callback management methods to ClientScriptManager.
  2098. * ClientScriptManager.cs: Moved here deprecated methods from Page.
  2099. In GetPostBackEventReference (PostBackOptions), don't use the
  2100. WebForm_DoPostback script if the post can be done with a simple
  2101. __doPostBack call.
  2102. * PostBackOptions.cs: Fixed default values for some properties.
  2103. 2005-03-09 Gonzalo Paniagua Javier <[email protected]>
  2104. * Control.cs: in FindControl, throw if there's more than one control
  2105. with the same ID. Fixes bug #73479.
  2106. 2005-03-04 Lluis Sanchez Gual <[email protected]>
  2107. * Page.cs: Load control state before loading view state, and the
  2108. same for saving.
  2109. * DataSourceSelectArguments.cs: Fix recursive property call.
  2110. 2005-02-25 Lluis Sanchez Gual <[email protected]>
  2111. * DataSourceView.cs: Fixed incorrect implementation of
  2112. RaiseUnsupportedCapabilityError.
  2113. * IDataItemContainer.cs: Added new properties.
  2114. * Page.cs: Implemented Form property.
  2115. * Control.cs: Fixed formatting.
  2116. * StateManagedCollection.cs: Track view state of items loaded
  2117. in LoadViewState.
  2118. 2005-02-22 Lluis Sanchez Gual <[email protected]>
  2119. * FilterableAttribute.cs: Fix endless loop.
  2120. 2005-02-18 Lluis Sanchez Gual <[email protected]>
  2121. * Page.cs: Implemented missing events.
  2122. 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
  2123. * BoundPropertyEntry.cs:
  2124. * PropertyEntry.cs:
  2125. * TwoWayBoundPropertyEntry.cs: implemented.
  2126. 2005-02-10 Lluis Sanchez Gual <[email protected]>
  2127. * Page.cs: Added support for validation groups. Some fixes in
  2128. SavePageControlState().
  2129. * IFilterResolutionService.cs: Removed extra field.
  2130. * INavigateUIData.cs: Added missing field.
  2131. * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
  2132. Implemented new interfaces.
  2133. 2005-02-04 Lluis Sanchez Gual <[email protected]>
  2134. * Page.cs: Implemented support for cross page postback. Implemented
  2135. support for postback with options. Fixed several method and property
  2136. signatures for 2.0.
  2137. * PostBackOptions.cs: Added some TODOs.
  2138. 2005-02-02 Lluis Sanchez Gual <[email protected]>
  2139. * ParseChildrenAttribute.cs: Set the correct default value for the
  2140. childType property.
  2141. 2005-01-28 Lluis Sanchez Gual <[email protected]>
  2142. * ParseChildrenAttribute.cs: Added 2.0 property.
  2143. * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
  2144. * Page.cs: Added support for control state.
  2145. * TemplateBuilder.cs: ContainerType should be internal.
  2146. * Control.cs: Added some new 2.0 methods.
  2147. 2005-01-21 Lluis Sanchez Gual <[email protected]>
  2148. * PageParser.cs: Read the MasterPageFile attribute.
  2149. * UserControlParser.cs: Not sealed any more since we need to inherit from
  2150. it. Added new constructor with an additional "type" parameter.
  2151. * MasterPageParser.cs: Parser for master pages.
  2152. * Page.cs: Added support for master pages.
  2153. * MasterPage.cs: Implemented.
  2154. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  2155. * TemplateBuilder.cs: Added a special constructor that takes an
  2156. attribute provider as parameter. The container type for the template
  2157. may be defined in a TemplateContainerAttribute.
  2158. * ControlBuilder.cs: Create the TemplateBuilder using that special
  2159. constructor.
  2160. * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
  2161. 2004-12-20 Lluis Sanchez Gual <[email protected]>
  2162. * IStyleSheet.cs: Added missing "using".
  2163. * Page.cs: Implemented Header property.
  2164. * CssStyleCollection.cs: Made BagToString method internal.
  2165. * RootBuilder.cs: Register HtmlHead control.
  2166. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  2167. * CssStyleCollection.cs: Minor (!) fix.
  2168. * HtmlTextWriter.cs: Register names for new 2.0 styles.
  2169. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  2170. * CssStyleCollection.cs: Make it work as a standalone collection.
  2171. * HtmlTextWriter.cs: Added static method for getting style names.
  2172. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  2173. * ControlCollection.cs: fix off-by-one and store a null at the end to
  2174. remove the reference to the removed control.
  2175. 2004-12-10 Lluis Sanchez Gual <[email protected]>
  2176. * ClientScriptManager.cs: Added GetScriptLiteral helper method.
  2177. 2004-12-02 Lluis Sanchez Gual <[email protected]>
  2178. * Page.cs: Added support for callback events. Moved theform variable
  2179. outside the __doPostBack function, so it can be used by other
  2180. scripts.
  2181. * StateBag.cs: Implemented SetDirty().
  2182. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  2183. * Control.cs: when saving "Visible" into the ViewState, save the value
  2184. for this precise control, as using the Visible property might give us
  2185. Control's parent visibility. Fixes bug #69200.
  2186. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  2187. * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
  2188. sessions.
  2189. * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
  2190. the appRoot + SessionID + vpath format.
  2191. Fixes the 3 issues reported in bug #66623.
  2192. 2004-11-26 Lluis Sanchez Gual <[email protected]>
  2193. * Page.cs: Moved code for managing client scripts to ClientScriptManager,
  2194. which is public in 2.0 and internal in 1.1.
  2195. * ClientScriptManager.cs: Implemented.
  2196. 2004-11-25 Sanjay Gupta <[email protected]>
  2197. * DataSourceView.cs: Removed extra method.
  2198. 2004-11-24 Sanjay Gupta <[email protected]>
  2199. * DataSourveViewSelectCallback.cs: Corrected method signature.
  2200. 2004-11-23 Lluis Sanchez Gual <[email protected]>
  2201. * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
  2202. even if the class doesn't implement IParserAccessor.
  2203. * WebResourceAttribute.cs: Allow multiple attributes of this type.
  2204. 2004-11-15 Lluis Sanchez Gual <[email protected]>
  2205. * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
  2206. from SqlDataSourceView.cs.
  2207. 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
  2208. * Control.cs: unified a few bool fields into an int one.
  2209. * ControlCollection.cs: use an array internally instead of always
  2210. allocating an arraylist. Also added our own enumerator.
  2211. * EmptyControlCollection.cs: there's no 'special' ctor now in the base
  2212. class.
  2213. 2004-11-05 Sanjay Gupta <[email protected]>
  2214. * DataSourceView.cs: Changes in access modifiers of methods.
  2215. 2004-10-20 Sanjay Gupta <[email protected]>
  2216. * DataSourceCapabilities.cs: Added Flags attribute.
  2217. * DataSourceSelectArguments.cs: Updated.
  2218. * DataSourveView.cs: Updated.
  2219. 2004-10-19 Sanjay Gupta <[email protected]>
  2220. * HierarchicalDataSourceView.cs: Corrected class definition and updated.
  2221. 2004-10-18 Gonzalo Paniagua Javier <[email protected]>
  2222. * HierarchicalDataSourceView.cs: fix typo.
  2223. 2004-10-18 Sanjay Gupta <[email protected]>
  2224. * HierarchicalDataSourceView.cs: Updated.
  2225. 2004-10-18 Sanjay Gupta <[email protected]>
  2226. * DataSourceSelectArguments.cs: Initial implementation.
  2227. 2004-10-12 Sanjay Gupta <[email protected]>
  2228. * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
  2229. 2004-10-12 Sanjay Gupta <[email protected]>
  2230. * UrlTypes.cs: Updated.
  2231. 2004-10-12 Sanjay Gupta <[email protected]>
  2232. * UrlPropertyAttribute.cs: Added new file.
  2233. 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
  2234. * Control.cs: even if the control has no children the naming container
  2235. may contain the control we're looking for. Fixes bug #67304.
  2236. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  2237. * AspGenerator.cs: added OtherTags.
  2238. 2004-09-24 Sanjay Gupta <[email protected]>
  2239. * ControlValuePropertyAttribute.cs: Initial implementation.
  2240. 2004-09-24 Sanjay Gupta <[email protected]>
  2241. * IPaginationContainer.cs: Corrected name of class.
  2242. 2004-09-24 Sanjay Gupta <[email protected]>
  2243. * IDReferencePropertyAttribute.cs: Completed implementation.
  2244. 2004-09-24 Sanjay Gupta <[email protected]>
  2245. * ThemeableAttribute.cs:
  2246. * FilterableAttribute.cs: Code scrubbing and optimization.
  2247. 2004-09-14 Sanjay Gupta <[email protected]>
  2248. * ThemeableAttribute.cs: Completed implementation.
  2249. 2004-09-14 Sanjay Gupta <[email protected]>
  2250. * FilterableAttribute.cs: Completed implementation.
  2251. 2004-09-14 Sanjay Gupta <[email protected]>
  2252. * Control.cs: Added new attributes and a method.
  2253. * FilterableAttribute.cs: New attribute, initial implementation.
  2254. * ThemeableAttribute.cs: New attribute, initial implemenataion.
  2255. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  2256. * TemplateParser.cs: ensure bin directory exists before trying to access
  2257. it. Fixes bug #65446 (not closed yet due to dependencies).
  2258. 2004-09-09 Sanjay Gupta <[email protected]>
  2259. * Control.cs: Implemented methods of interface IExpressionAccessor.
  2260. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  2261. * SimpleWebHandlerParser.cs: correctly cache Type instead of the
  2262. assembly for ashx/asmx. Otherwise we need to open the file and check
  2263. for the class name in there. Thanks to Ben for pointing this out.
  2264. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  2265. * TemplateParser.cs: removed creation of StringWriter. It's not used.
  2266. * Control.cs: don't create the EventHandlerList until requested.
  2267. 2004-09-03 Sanjay Gupta <[email protected]>
  2268. * Control.cs: Added new interfaces implemented in .Net 2.0.
  2269. * ExpressionBinding.cs: Added new class.
  2270. * ExpressionBindingCollection.cs: Added new class.
  2271. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  2272. * LiteralControl.cs: stylized. This control has EnableViewState disabled
  2273. by default and doesn't get an automatic ID. When text is null -> "".
  2274. 2004-08-31 Sanjay Gupta <[email protected]>
  2275. * ControlSkinProc.cs:
  2276. * DataSourceViewOperationCallback.cs:
  2277. * DataSourceViewSelectCallback.cs:
  2278. * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
  2279. required in definition as delegates by default are sealed.
  2280. 2004-08-31 Sanjay Gupta <[email protected]>
  2281. * IDReferencePropertyAttribute.cs: Corrected and changed from interface
  2282. to class.
  2283. * IMobileTextWriter.cs: Corrected method signatures.
  2284. 2004-08-09 Sanjay Gupta <[email protected]>
  2285. * ControlSkinProc.cs:
  2286. * DataSourceViewOperationCallback.cs:
  2287. * DataSourceViewSelectCallback.cs:
  2288. * ExtractTemplateValuesMethod.cs: Added new delegates.
  2289. 2004-08-06 Sanjay Gupta <[email protected]>
  2290. * IBindableTemplate.cs:
  2291. * ICallbackEventHandler.cs:
  2292. * IControlBuilderAccessor.cs:
  2293. * IControlDesignerAccessor.cs:
  2294. * IControlTypeFilter.cs:
  2295. * IDataItemContainer.cs:
  2296. * IDataSourceViewSchemaAccessor.cs:
  2297. * IDReferencePropertyAttribute.cs:
  2298. * IExpressionsAccessor.cs:
  2299. * IFilterResolutionService.cs:
  2300. * IItemPaginationInfo.cs:
  2301. * IMobileTextWriter.cs:
  2302. * IPageHeader.cs:
  2303. * IPaginationContainer.cs:
  2304. * IPaginationInfo.cs:
  2305. * IResourceResolutionService.cs:
  2306. * IResourceUrlGenerator.cs:
  2307. * IStateFormatter.cs:
  2308. * IStyleSheet.cs:
  2309. * IThemeResolutionService.cs:
  2310. * IUrlResolutionService.cs:
  2311. * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
  2312. 2004-08-05 Sanjay Gupta <[email protected]>
  2313. * PostBackOptions.cs: Added new file and implemented the class.
  2314. 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
  2315. * HtmlTextWriterTag.cs: readded author name.
  2316. 2004-08-04 Sanjay Gupta <[email protected]>
  2317. * HtmlTextWriterAttribute.cs:
  2318. * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
  2319. * CompilationMode.cs:
  2320. * ConflictOptions.cs:
  2321. * DataSourceCacheExpiry.cs:
  2322. * DataSourceCapabilities.cs:
  2323. * DataSourceOperation.cs:
  2324. * TemplateContentType.cs:
  2325. * TemplateInstance.cs:
  2326. * UrlTypes.cs:
  2327. * VerificationConditionalOperator.cs:
  2328. * VerificationReportLevel.cs:
  2329. * VerificationRule.cs:
  2330. * XhtmlMobileDocType.cs: Added enumerations.
  2331. 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
  2332. * Control.cs: style. Reverted previous patch modification of
  2333. TemplateSourceDirectory (failed when the control is reparented). Use
  2334. HasControls() and Controls all over instead of _controls, as Controls
  2335. property and HasControls() might be overriden.
  2336. 2004-07-27 Alon Gazit <[email protected]>
  2337. * Control.cs: Changed the implementation of TemplateSourceDirectory
  2338. and GetDefaultName(). replaced foreach statements with for statements,
  2339. in order to improve performence.
  2340. 2004-07-27 Alon Gazit <[email protected]>
  2341. * Page.cs: changed the implementation of GetViewStateString().
  2342. if the view state object is null there is no need to perform
  2343. Serialization.
  2344. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  2345. * TemplateControl.cs: don't include private methods of base classes when
  2346. auto-attaching events. Fixes bug 61569.
  2347. 2004-07-14 Alon Gazit <[email protected]>
  2348. * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
  2349. 2004-07-08 Pablo Baena <[email protected]>
  2350. * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
  2351. 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
  2352. * Page.cs: added additional checks for saving/displaying trace data.
  2353. * PageParser.cs: removed checks for trace enabled in configuration
  2354. files.
  2355. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  2356. * ControlCollection.cs: when clearing the control collection, tell the
  2357. owners about the removal. Fixes bug #60800.
  2358. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  2359. * Page.cs: don't nullify _context after processing the request as there
  2360. are events not triggered yet. Fixes bug #60726.
  2361. 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
  2362. * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
  2363. bug #60681.
  2364. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  2365. * PageParser.cs:
  2366. * UserControlParser.cs: set the page/user control base type even when no
  2367. default directive provided. Fixes bug #60572.
  2368. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  2369. * PageParser.cs: use default trace settings from web.config and check
  2370. if trace is only requested for local connections. Fixes bug #60180.
  2371. 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
  2372. * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
  2373. we read the default directive, check the cache for the Type and if
  2374. present, don't keep reading and store the type found.
  2375. * WebHandlerParser.cs:
  2376. * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
  2377. compiling.
  2378. 2004-06-14 Gonzalo Paniagua Javier <[email protected]>
  2379. * Control.cs: properly fixed bug #59794.
  2380. 2004-06-10 Gonzalo Paniagua Javier <[email protected]>
  2381. * Control.cs:
  2382. (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
  2383. #59794.
  2384. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  2385. * SimpleWebHandlerParser.cs:
  2386. * TemplateParser.cs: pass the language when compiling from a file.
  2387. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  2388. * SimpleWebHandlerParser.cs: if we have a global.asax, move its
  2389. reference to the end to help mcs loading the assemblies. Fixes bug
  2390. #58768.
  2391. * TemplateParser.cs: same as above. Removed some kludges to workaround
  2392. loading assemblies from bin path that are now in the runtime. Don't
  2393. load the assemblies in bin if not needed, but still reference them
  2394. when compiling.
  2395. 2004-06-07 Alon Gazit <[email protected]>
  2396. * Page.cs: Changed Page.ProcessPostData().
  2397. After the change ,the state of controls that aren't visible is saved
  2398. during a postback.
  2399. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  2400. * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
  2401. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  2402. * Page.cs: IsPostBack also returns true when method is GET and we have
  2403. viewstate information in the query string. Fixes bug #58151.
  2404. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  2405. * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
  2406. HttpRutime.TraceManager.
  2407. * PageParser.cs: for 'trace' we have 2 variables now. Added support
  2408. for 'buffer' attribute.
  2409. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  2410. * Page.cs: implemented ClientTarget.
  2411. * PageParser.cs: support for clientTarget and check for validity.
  2412. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  2413. * Control.cs:
  2414. * Html32TextWriter.cs:
  2415. * HtmlTextWriter.cs:
  2416. * SimpleWebHandlerParser.cs:
  2417. * TemplateControl.cs: Added protected missing members and attributes.
  2418. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  2419. * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
  2420. calling a protected method of another object.
  2421. 2004-06-03 Atsushi Enomoto <[email protected]>
  2422. * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
  2423. (of other objects) are called in TypeConverterFormatter.
  2424. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  2425. * ObjectStateFormatter.cs: before choosing the binary formatter, check
  2426. if the object type has a TypeConverter that can convert to/from string.
  2427. Fixes bug #59495.
  2428. * Page.cs: call GetViewStateString from outside the WriteLine. This
  2429. allows writing to the Response when getting the string without breaking
  2430. the HTML generated.
  2431. 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
  2432. * HtmlTextWriter.cs: render end tag for unknown tags.
  2433. Patch frmo Markus Krutner. Fixes bug #59466.
  2434. 2004-05-24 Gonzalo Paniagua Javier <[email protected]>
  2435. * Page.cs: call DeterminePostBackMode only once per request. Patch by
  2436. Evain Jb.
  2437. 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
  2438. * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
  2439. [meddochat].
  2440. * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
  2441. that.
  2442. 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
  2443. * SimpleWebHandlerParser.cs:
  2444. * TemplateParser.cs: for the assembly names given in the 'assembly'
  2445. attribute, use LoadWithPartialName instead of Load.
  2446. 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
  2447. * Page.cs: return HttpContext.Current if _context has not yet been
  2448. assigned to. Fixes bug #55245.
  2449. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  2450. * TemplateParser.cs: don't add import statement or assemblies from
  2451. global.asax to every file. Fixes bug #55496.
  2452. 2004-03-09 Juraj Skripsky <[email protected]>
  2453. * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
  2454. handle single quotes and a few corner cases correctly (see test cases).
  2455. 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
  2456. * TemplateControl.cs: fixed typos and added new method names to the set
  2457. of page events.
  2458. 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
  2459. * ControlBuilder.cs: added SetTagName().
  2460. * ObjectTagBuilder.cs: use SetTagName so that we can properly close
  2461. <object> builders if the closing tag is provided.
  2462. 2004-02-16 Jackson Harper <[email protected]>
  2463. * Page.cs: Set cacheability for Location.DownStream.
  2464. 2004-02-10 Jackson Harper <[email protected]>
  2465. * TemplateParser.cs: Use full path if the assembly is in the
  2466. private bin directory. Patch by Gonzalo Paniagua Javier.
  2467. 2004-02-09 Jackson Harper <[email protected]>
  2468. * Page.cs: Set cacheability for server side caching.
  2469. 2004-01-30 Jackson Harper <[email protected]>
  2470. * Control.cs: Ensure that dynamically loaded controls are
  2471. initialized.
  2472. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  2473. * ApplicationFileParser.cs: check for error in directives. Use
  2474. GlobalAsaxCompiler.CompileApplicationType for compiling.
  2475. * ObjectTagBuilder.cs: load the Type and check for errors.
  2476. * TemplateParser.cs: add assemblies and imports from global.asax.
  2477. Now we properly create accessors for session and application objects in
  2478. the application itself, pages and controls. First step for fixing
  2479. bug #53387.
  2480. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  2481. * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
  2482. to Eric Lindvall for pointing this out.
  2483. 2004-01-15 Jackson Harper <[email protected]>
  2484. * TemplateParser.cs: Detect if we are parsing a control or page
  2485. properly.
  2486. * Page.cs: vary by params and vary by headers can be null now.
  2487. 2004-01-15 Martin Willemoes Hansen <[email protected]>
  2488. * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
  2489. indention.
  2490. 2004-01-14 Jackson Harper <[email protected]>
  2491. * Page.cs: If we have a postback that wasn't sent through a
  2492. postback script (ie user hit submit on a input type=submit) call
  2493. Validate so page validation occurs. This fixes bug #52770.
  2494. 2004-01-14 Jackson Harper <[email protected]>
  2495. * Page.cs: Don't tell the response to cache anymore. This is done
  2496. when the cacheability is modified by a callback. Set the cache's
  2497. duration.
  2498. 2004-01-14 Jackson Harper <[email protected]>
  2499. * TemplateParser.cs: If varybyparam is set to "none" make it null
  2500. so we dont get a param named null in the outputcache key.
  2501. 2004-01-14 Jackson Harper <[email protected]>
  2502. * BasePartialCachingControl.cs: Use varyby attributes in key
  2503. generation.
  2504. 2004-01-14 Jackson Harper <[email protected]>
  2505. * TemplateParser.cs: Add all the outputcache attribute error
  2506. messages.
  2507. 2004-01-13 Jackson Harper <[email protected]>
  2508. * TemplateParser.cs: Add VaryByControls and Shared output cache
  2509. properties. These are not assigned yet.
  2510. * TemplateControlParser.cs: Do not ignore the OutputCache
  2511. attribute.
  2512. * BasePartialCachingControl.cs: Initial implementation. Keys are
  2513. still not created properly.
  2514. * StaticPartialCachingControl.cs: Assign properties in base class,
  2515. implement CreateControl.
  2516. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  2517. * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
  2518. * PageParser.cs: support validateRequest.
  2519. * TemplateControlParser.cs: get default values from system.web/pages
  2520. section.
  2521. * TemplateParser.cs: added separate method for changing base type
  2522. (Inherits or system.web/pages).
  2523. * UserControlParser.cs: support system.web/pages defined base type.
  2524. 2004-01-11 Andreas Nahr <[email protected]>
  2525. * UserControl.cs: Added missing attribute, implemented method
  2526. * Page.cs: Added missing attribute, implemented method
  2527. 2004-01-10 Jackson Harper <[email protected]>
  2528. * Page.cs: Handle trace being enabled in the config file.
  2529. 2004-01-10 Jackson Harper <[email protected]>
  2530. * Page.cs: Save trace data before rendering it.
  2531. * System.Web.dll.sources: Add TraceData.cs
  2532. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  2533. * Page.cs: removed a couple of MonoTODO on methods we're not gonna
  2534. implement. Applied patch from Jan Jaros ([email protected]) to
  2535. ensure that Unload event is raised. Fixes bug #52555.
  2536. 2004-01-02 Zoltan Varga <[email protected]>
  2537. * KeyedList.cs: 'private' is not allowed on explicit interface
  2538. implementations. Fixes 1.2 build.
  2539. 2003-12-31 Jackson Harper <[email protected]>
  2540. * TemplateControlParser.cs: When registering tag prefixs make sure
  2541. the file exists and throw the correct error if it does not.
  2542. 2003-12-25 Jackson Harper <[email protected]>
  2543. * Page.cs: Throw error if the session is accessed when sessions
  2544. are disabled.
  2545. 2003-12-18 Jackson Harper <[email protected]>
  2546. * Page.cs: Write Trace info.
  2547. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  2548. * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
  2549. * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
  2550. internal.
  2551. * PageParser.cs: the ctor is public.
  2552. * PartialCachingAttribute.cs: added new ctor and Shared property.
  2553. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  2554. * Page.cs: assign the ErrorPage to the context if we get an exception
  2555. when processing the page which only calls Unload.
  2556. * PageParser.cs: handle ErrorPage.
  2557. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  2558. * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
  2559. are not [Serializable]. Fixes bug #52244.
  2560. 2003-12-16 Jackson Harper <[email protected]>
  2561. * Page.cs: Render trace data when tracing is enabled.
  2562. 2003-12-15 Jackson Harper <[email protected]>
  2563. * PageParser.cs: Add Trace and Trace mode attributes.
  2564. 2003-12-15 Jackson Harper <[email protected]>
  2565. * Page.cs: Use the context trace object.
  2566. 2003-12-14 Alon Gazit <[email protected]>
  2567. * AttributeCollection.cs: Changed AttributeCollection.Render().
  2568. After the change attributes ,that their value is null, aren't
  2569. rendered.
  2570. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  2571. * Control.cs: remove a few dangling ^M, don't set values for fields
  2572. that has the default value. If Visible is modified and we're tracking
  2573. viewstate, save and restore it. Fixes bug #48689.
  2574. 2003-12-11 Jackson Harper <[email protected]>
  2575. * Control.cs: Give null for the ID if it hasn't been explicitly
  2576. set. This fixes bug #51520.
  2577. 2003-12-08 Jackson Harper <[email protected]>
  2578. * PageParser.cs: Ignore the SmartNavigation attribute for now.
  2579. 2003-12-05 Jackson Harper <[email protected]>
  2580. * DataBinder.cs (GetIndexedPropertyValue): Check if container is
  2581. an IList and use a cast instead of reflection to retrieve the item
  2582. if it is. Fixes bug #51759.
  2583. 2003-12-04 Alon Gazit <[email protected]>
  2584. * Page.cs: Changed Page.ID so it will call Control.ID.
  2585. Fixed Bug 51682.
  2586. 2003-12-02 Jackson Harper <[email protected]>
  2587. * Page.cs: Implemented registered array declarations. Patch by
  2588. Benjamin Jemlich <[email protected]>
  2589. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  2590. * TemplateParser.cs: basic check for 'classname' attribute and added
  2591. patch by [email protected] for bug #51568, which fixes automatic class
  2592. names for pages starting with a number.
  2593. 2003-11-30 Ben Maurer <[email protected]>
  2594. * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
  2595. reduction.
  2596. * ObjectStateFormatter.cs: Comment out tracing.
  2597. 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
  2598. * Page.cs: fixed UICulture, LCID and Culture. Set the thread
  2599. [UI]Culture before processing the request.
  2600. * PageParser.cs: read Culture, UICulture and LCID attributes. Added
  2601. properties for these. Partially contributed by Mohammad Damt.
  2602. Fixes bug #51511.
  2603. 2003-11-27 Jackson Harper <[email protected]>
  2604. * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
  2605. 51434.
  2606. 2003-11-22 Ben Maurer <[email protected]>
  2607. * ObjectStateFormatter.cs: Fix bug when reading small ints.
  2608. Add some tracing so we can see what is going on.
  2609. 2003-11-21 Jackson Harper <[email protected]>
  2610. * Page.cs: Set vary by params when cache location is Server.
  2611. 2003-11-21 Ben Maurer <[email protected]>
  2612. * ObjectStateFormatter.cs: v2 file. In v1.x this will be
  2613. internal as LosFormatter will eventually use it to save
  2614. the view state.
  2615. 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
  2616. * PersistChildrenAttribute.cs:
  2617. * PersistenceModeAttribute.cs: implemented.
  2618. * TODO: Removed file.
  2619. * OutputCacheLocation.cs:
  2620. * TemplateControlParser.cs:
  2621. * HtmlInputFile.cs: class status based fixes.
  2622. 2003-11-19 Jackson Harper <[email protected]>
  2623. * Page.cs: Always set the cache expire time. Tell the response to
  2624. cache itself for server side cached pages.
  2625. 2003-11-19 Jackson Harper <[email protected]>
  2626. * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
  2627. thing, some corner cases still need work though. Was this the
  2628. shortest lived method in the history of mono?
  2629. 2003-11-19 Jackson Harper <[email protected]>
  2630. * Control.cs: New method for resolving urls that use ~/ to denote
  2631. the applications base directory.
  2632. 2003-11-19 Jackson Harper <[email protected]>
  2633. * TemplateParser.cs: Fix typo in error message.
  2634. 2003-11-19 Gonzalo Paniagua Javier <[email protected]>
  2635. * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
  2636. to Sanjay Gupta.
  2637. 2003-11-19 Todd Berman <[email protected]>
  2638. * KeyedList.cs:
  2639. * KeyedListEnumerator.cs: New v2 implementations.
  2640. 2003-11-17 Ben Maurer <[email protected]>
  2641. * StateManagedCollection.cs: Implement.
  2642. 2003-11-13 Jackson Harper <[email protected]>
  2643. * Page.cs: Initial implementation of InitOutputCache.
  2644. * TemplateParser.cs: Page OutputCache options
  2645. 2003-11-09 Ben Maurer <[email protected]>
  2646. * HierarchicalDataSourceControl.cs: Implement.
  2647. 2003-11-09 Ben Maurer <[email protected]>
  2648. * XPathBinder.cs: Implemented.
  2649. 2003-11-08 Ben Maurer <[email protected]>
  2650. * DataSourceView.cs:
  2651. * IDataSource.cs:
  2652. * ListSourceHelper.cs:
  2653. * DataSourceControl.cs:
  2654. * HierarchicalDataSourceView.cs:
  2655. * IHierarchicalDataSource.cs: Move v2 stuff.
  2656. 2003-11-07 Jackson Harper <[email protected]>
  2657. * Control.cs (ResolveUrl): Special case for urls that consist of
  2658. only a page anchor. ie <a href="#top">. This fixes bug #50165.
  2659. 2003-11-07 Ben Maurer <[email protected]>
  2660. * IHierarchicalEnumerable.cs:
  2661. * IHierarchyData.cs:
  2662. * INavigateUIData.cs: New v2 interfaces.
  2663. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  2664. * Page.cs: patch by Alon Gazit <[email protected]> to remove extra
  2665. space in generated javascript.
  2666. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  2667. * LosFormatter.cs: encoding updates.
  2668. * Page.cs: implemented CodePage and ContentType.
  2669. * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
  2670. attributes.
  2671. 2003-11-04 Ben Maurer <[email protected]>
  2672. * Control.cs (GetWebResourceUrl): new v2 function
  2673. * Page.cs (GetWebResourceUrl): ditto.
  2674. make the JS we generate work with moz if the form is not a child
  2675. of document.
  2676. * WebResourceAttribute.cs: Added, new v2 attribute.
  2677. 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
  2678. * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
  2679. * PageParser.cs: initialize the parser in the constructor, not just
  2680. before compiling and reference the application assembly.
  2681. * SimpleWebHandlerParser.cs: reference the assembly that contains the
  2682. application Type.
  2683. * TemplateControl.cs:
  2684. * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
  2685. path and physical path when compiling a user control.
  2686. * TemplateParser.cs: new AddApplicationAssembly ().
  2687. * UserControlParser.cs: now we get valid values in the ctor.
  2688. Referencing the application assembly fixes bug #49652.
  2689. 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
  2690. * TemplateControl.cs: moved NoParamsInvoker class to its own file.
  2691. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  2692. * BaseParser.cs: added CompilationConfig property.
  2693. * TemplateParser.cs:
  2694. * SimpleWebHandlerParser.cs: added CompilationConfig property.
  2695. Don't hardcode assembly names any more, assemblies in bin are added
  2696. depending on the configuration. The default language is also taken
  2697. from the configuration.
  2698. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  2699. * LosFormatter.cs: fixed bug #49604. Patch by [email protected].
  2700. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  2701. * Control.cs: removed some debug lines.
  2702. * Page.cs: implemented RegisterOnSubmitStatement
  2703. * TemplateControl.cs: fixed wire up for methods with no parameters.
  2704. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  2705. * PageParser.cs: ignore ValidateRequest by now.
  2706. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  2707. * System.Web.UI/TemplateControl.cs: support for wiring up events without
  2708. parameters.
  2709. 2003-10-08 Pedro Martnez Juli <[email protected]>
  2710. * PageParser.cs: drop some useless code.
  2711. 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
  2712. * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
  2713. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  2714. * System.Web.UI/PageParser.cs:
  2715. * System.Web.UI/TemplateControlParser.cs: honour the input file given
  2716. as argument.
  2717. 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
  2718. * Control.cs:
  2719. (ClearChildViewState): doh! Don't clear control viewstate but the
  2720. viewstate of possible children.
  2721. (LoadViewStateRecursive): load viewstate even when control is not
  2722. visible.
  2723. Fixes bug #49024.
  2724. The rest are just dangling ^M removed.
  2725. * DataBoundLiteralControl.cs:
  2726. (LoadViewState): we get an object [], not a string [].
  2727. 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
  2728. * Control.cs: implemented ClearChildViewState ().
  2729. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  2730. * Page.cs: store unique IDs for controls requiring postback. Fixes bug
  2731. #47985.
  2732. 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
  2733. * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
  2734. dependencies so that it's recompiled when changed.
  2735. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  2736. * LosFormatter.cs: fixed Deserialize for empty viewstate.
  2737. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  2738. * Page.cs: check if controls that require postback have
  2739. been changed by an event and register them to be notified of data
  2740. changed event.
  2741. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  2742. * Control.cs: patch by [email protected] (Yaron Shkop) that fixes
  2743. bug #47866.
  2744. 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
  2745. * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
  2746. are not serializable. Fixes bug #47784.
  2747. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  2748. * Control.cs: index the viewstates saved by the control position, not
  2749. the control name. Fixes bug #47697.
  2750. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  2751. * ControlCollection.cs:
  2752. * EmptyControlCollection.cs: create a minimum ArrayList for this.
  2753. * BaseParser.cs: added setter for BaseVirtualDir.
  2754. * Page.cs: fixed message when restoring view state fails.
  2755. * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
  2756. when a relative path to the control is given. Fixes bug #47685.
  2757. 2003-08-18 Gonzalo Paniagua Javier <[email protected]>
  2758. * Control.cs: when we load the viewstate for a control that has children
  2759. viewstates and the child is not found, keep its viewstate around and
  2760. wait until the child is added to load the viewstate. Fixes bug #47697.
  2761. 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
  2762. * TemplateControl.cs: more Delegate.CreateDelegate fixes.
  2763. 2003-08-01 Andreas Nahr <[email protected]>
  2764. * PartialCachingControl.cs: is not abstract
  2765. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  2766. * SimpleHandlerFactory.cs: implemented GetHandler.
  2767. * WebHandlerParser.cs: new file that parses .ashx files.
  2768. 2003-07-30 Andreas Nahr <[email protected]>
  2769. * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
  2770. 2003-07-30 Andreas Nahr <[email protected]>
  2771. * UserControl.cs: Added attribute
  2772. * BasePartialCachingControl.cs: New class and paritally implemented
  2773. * DesignerDataBoundLiteralControl.cs: New class and implemented
  2774. * DesignTimeTemplateParser.cs:
  2775. * PartialCachingControl.cs:
  2776. * StaticPartialCachingControl.cs: New class and paritally implemented
  2777. 2003-07-27 Andreas Nahr <[email protected]>
  2778. * ApplicationFileParser.cs: Fixed signature
  2779. * DesignTimeParseData.cs: Added missing properties, implemented
  2780. * Page.cs: Added attributes
  2781. * PageParser.cs:
  2782. * TemplateControlParser.cs:
  2783. * TemplateParser.cs:
  2784. * UserControlParser.cs: Fixed signature
  2785. 2003-07-17 Andreas Nahr <[email protected]>
  2786. * HtmlControlPersistableAttribute.cs: Added
  2787. * IgnoreUnknownContentAttribute.cs: Added
  2788. 2003-07-17 Andreas Nahr <[email protected]>
  2789. * IUserControlDesignerAccessor.cs: Added and implemented
  2790. * Control.cs: Missing member added, added all attributes
  2791. * Page.cs: Added attributes, fixed signature
  2792. * TemplateControl.cs: Fixed signature, added all attributes
  2793. * UserControl.cs: Added all attributes, added and implemented missing interface
  2794. 2003-07-17 Gonzalo Paniagua Javier <[email protected]>
  2795. * ControlCollection.cs: fixed bug #46472.
  2796. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  2797. * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
  2798. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  2799. * SimpleWebHandlerParser.cs: updated to new compilation interface.
  2800. * TemplateParser.cs: use the new parameter when compiling.
  2801. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  2802. * Page.cs: also keep the value for the second try on handling postback
  2803. events.
  2804. 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
  2805. * BaseParser.cs: fixed MapPath for non-rooted files.
  2806. * PageParser.cs: don't pass a non-virtual file around.
  2807. * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
  2808. the exception teh may be throw by MapPath on an invalid path.
  2809. * TemplateParser.cs: removed unused method.
  2810. * UserControlParser.cs: modified inputfile. The result is the same, but
  2811. this one is better.
  2812. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  2813. * RootBuilder.cs: throw exception when the tagprefix is not valid or
  2814. not found.
  2815. 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
  2816. * TemplateControlParser.cs: return after processing @Register.
  2817. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  2818. * TemplateParser.cs: Added support for server side includes.
  2819. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  2820. * TemplateControl.cs: fixed the flags used to find the methods that
  2821. are automatically hooked up on events.
  2822. * TemplateParser.cs: don't compile a source file directly. Use the
  2823. cache instead.
  2824. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  2825. * BaseParser.cs: Location property is now here. Added a couple of
  2826. convenience methods to throw a ParseException.
  2827. * TemplateParser.cs:
  2828. * TemplateControlParser.cs:
  2829. * PageParser.cs: throw ParseException where appropiate.
  2830. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  2831. * ApplicationFileParser.cs: use the generator to actually parse the
  2832. file.
  2833. * ControlBuilder.cs: small fix in NamingContainerType because
  2834. TemplateBuilders have a null ControlType. When a control is appended
  2835. to a parent, assign the child's parent.
  2836. * UserControlParser.cs: fixed the value of InputFile.
  2837. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  2838. * ApplicationFileParser.cs: store the Context and override
  2839. BaseVirtualDir so that it's the application path.
  2840. * BaseParser.cs: removed CurrentVirtualPath property.
  2841. * TemplateControlParser.cs: use BaseVirtualDir.
  2842. * UserControlParser.cs: removed CurrentVirtualPath.
  2843. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  2844. * TemplateParser.cs: always reference all the assemblies in bin
  2845. directory.
  2846. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  2847. * ApplicationFileParser.cs: it works now. Prior to these changes, we
  2848. were using the compiler directly.
  2849. * BaseParser.cs: added some useful properties and methods.
  2850. * CodeBuilder.cs: use ILocation.
  2851. * CodeRenderBuilder.cs: use ILocation.
  2852. * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
  2853. * ControlBuilder.cs: made it useful.
  2854. * DataBindingBuilder.cs: the control type for data bound text is
  2855. DataBoundLiteralControl now.
  2856. * ObjectTagBuilder.cs: store some object tag attributes.
  2857. * PageParser.cs: handle page-only directives.
  2858. * RootBuilder.cs: bah.
  2859. * SimpleWebHandlerParser.cs: made it dummy.
  2860. * TemplateControl.cs: Modified file.
  2861. * TemplateControlParser.cs: handle directives that are common to pages
  2862. and user controls.
  2863. * TemplateParser.cs: utility methods and handling of directives that
  2864. are common to app, page and user controls.
  2865. * UserControl.cs: added ControlBuilderAttribute.
  2866. * UserControlControlBuilder.cs: builder for user controls.
  2867. * UserControlParser.cs: use the new interfaces.
  2868. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  2869. * ControlBuilder.cs: line and fileName are protected now.
  2870. * CodeBuilder.cs: base class for the next 2 files.
  2871. * CodeRenderBuilder.cs: builder for code render.
  2872. * DataBindingBuilder.cs: builder for data binding.
  2873. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  2874. * ITagNameToTypeMapper.cs: made it internal.
  2875. * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
  2876. * ObjectTag.cs:
  2877. * RootBuilder.cs: initial builder.
  2878. 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
  2879. * CollectionBuilder.cs:
  2880. * TemplateBuilder.cs: new classes derived from ControlBuilder that
  2881. represent a property or a ITemplate.
  2882. * ControlBuilder.cs: implemented all the missing bits.
  2883. * TemplateParser.cs: added mapping from tag name to Type feature.
  2884. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  2885. * Control.cs: have i definitely fixed naming container stuff this time?
  2886. * LosFormatter.cs: activated binary serialization code.
  2887. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  2888. * Control.cs:
  2889. (AddedControl): fixed default id assignation when the sequence of
  2890. AddedControl until it's included in the page or one of its controls
  2891. does not pass through a naming container.
  2892. 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
  2893. * Control.cs: give different default names depending on the place where
  2894. it is assigned. Implemented ResolveURl (no more ~ rendered in
  2895. attributes!).
  2896. 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
  2897. * Control.cs: when adding a control, assign default names to th
  2898. children that don't have one.
  2899. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  2900. * SimpleWebHandlerParser.cs: modified to use the new parser interface.
  2901. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  2902. * Control.cs: some more tweaks to naming containers stuff.
  2903. * DataBinder.cs: don't throw exception if the container is null.
  2904. * Page.cs: now we can render client scripts, startup scripts and hidden
  2905. fields. Only render __VIEWSTATE if there is someone that will take care
  2906. of it.
  2907. (RaisePostBackEvents): first try the last one that required raise event,
  2908. then try __EVENTTARGET.
  2909. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  2910. * Control.cs: fixes in UniqueID, FindControl, AddedControl,
  2911. UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
  2912. FindControl work with NamingContainers.
  2913. * ControlCollection.cs: notify the parent when clearing the collection.
  2914. * LosFormatter.cs: Added debugging output and generate a valid
  2915. viewstate even for unknown types.
  2916. * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
  2917. viewstate.
  2918. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  2919. * Page.cs: make it fire the LoadData related events also for controls
  2920. such as ImageButton, whose variable(s) in the query string are of the
  2921. form ctrl_name.x and only fire them once per control.
  2922. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  2923. * DataBinder.cs:
  2924. (GetPropertyValue): don't try to get the property as indexed
  2925. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  2926. * DataBinder.cs: use TypeDescriptor to get the properties and their
  2927. values.
  2928. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  2929. * Control.cs:
  2930. (AddedControl): take the children to the same state of the parent.
  2931. (InitRecursive): set the page of the children.
  2932. * Page.cs: removed one line (it's done a few lines above).
  2933. * UserControl.cs:
  2934. (OnInit): always call InitializeAsUserControl
  2935. (InitializeAsUserControl): sets the page for the control.
  2936. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  2937. * Control.cs: fixed bug #36037.
  2938. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  2939. * BaseParser.cs: a couple of path fixes to make it work
  2940. when the page is not in the root directory.
  2941. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  2942. * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
  2943. reporting the bug.
  2944. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  2945. * BaseParser.cs: use MapPath and context to locate files.
  2946. * Control.cs: implemented MapPathSecure.
  2947. * TemplateControl.cs: use UrlUtils to generate the path.
  2948. * TemplateControlParser.cs: use the context and MapPath.
  2949. * UserControl.cs: implemented MapPath.
  2950. * UserControlParser.cs: added context parameter to constructor.
  2951. 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
  2952. * Control.cs: implemented MapPathSecure.
  2953. * Page.cs: fixed Server property.
  2954. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  2955. * DataBinder.cs: try the indexer if the property is not found in
  2956. GetPropertyValue ().
  2957. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  2958. * Control.cs: added AutoEventWireup internal property.
  2959. * Page.cs: removed page events wire up from here.
  2960. * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
  2961. and user controls events.
  2962. * TemplateControlParser.cs: process the options that are applicable
  2963. once we have the instance of the control.
  2964. * TemplateParser.cs: also stores the options.
  2965. * UserControl.cs: hook up events before initializing the control.
  2966. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  2967. * Control.cs: new method to set bindingContainer value.
  2968. * TemplateControl.cs: added controls are not binding containers.
  2969. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  2970. * Control.cs: implemented TemplateSourceDirectory.
  2971. * TemplateControl.cs: implemented LoadControl and LoadTemplate.
  2972. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  2973. * UserControl.cs: fixed SetAttribute.
  2974. * UserControlParser.cs: set the correct base type.
  2975. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  2976. * TemplateParser.cs: fixed BaseType.
  2977. * UserControlParser.cs: helper class to compile user controls.
  2978. 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
  2979. * LosFormatter.cs: added DateTime to special types.
  2980. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  2981. * LosFormatter.cs: added array serialization support. Disabled binary
  2982. serialization and add some debugging code.
  2983. * StateBag.cs: the length of the list of value can be less than the
  2984. length if the list of keys when remaining values are null.
  2985. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  2986. * Page.cs: return something useful in GetPostBackClientEvent.
  2987. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  2988. * Page.cs: implemented FileDependecies and made it protected.
  2989. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  2990. * Control.cs: save control names instead of the controls
  2991. themselves to the ViewState.
  2992. * LosFormatter.cs: added support for serializing unknown
  2993. types. BinaryFormatter does not work so you better don't store anything
  2994. of unknown Type in ViewState.
  2995. * Page.cs: GetViewStateString works now using LosFormatter.
  2996. Complete "Control execution lifecycle" by unloading all the child
  2997. controls. Check for null in RaisePostBackEvents.
  2998. LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
  2999. 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
  3000. * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
  3001. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  3002. * LosFormatter.cs: Use WebEncoding.Encoding.
  3003. * Control.cs:
  3004. * Page.cs: fixed namespace.
  3005. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  3006. * Page.cs: set the context in ProcessRequest. Added a few trace calls.
  3007. * Control.cs: added some trace information.
  3008. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  3009. * SimpleHandlerFactory.cs: new handler for .ashx files.
  3010. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  3011. * System.Web.UI/PageHandlerFactory.cs: new file.
  3012. * System.Web.UI/PageParser.cs:
  3013. * System.Web.UI/TemplateControlParser.cs: we are now able to compile
  3014. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  3015. 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
  3016. * Control.cs: implemented ObBubbleEvent.
  3017. * Page.cs: temporary workaround to make POST work with xsp server.
  3018. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  3019. * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
  3020. return pvt methods.
  3021. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  3022. * SimpleWebHandlerParser.cs: New file.
  3023. * WebServiceParser.cs: New file.
  3024. 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
  3025. * LosFormatter.cs: almost fully implemented.
  3026. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  3027. * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
  3028. * EmptyControlCollection.cs: throw correct exception.
  3029. * LosFormatter.cs: stubbed out.
  3030. * OutputCacheLocation.cs: little fix.
  3031. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  3032. * System.Web.UI/ApplicationFileParser.cs:
  3033. * System.Web.UI/BaseParser.cs:
  3034. * System.Web.UI/PageParser.cs:
  3035. * System.Web.UI/TemplateControl.cs:
  3036. * System.Web.UI/TemplateControlParser.cs:
  3037. * System.Web.UI/TemplateParser.cs: first steps to move xsp into
  3038. System.Web.
  3039. 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
  3040. * Page.cs: request to render postback script can be after form started
  3041. rendering.
  3042. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  3043. * Page.cs: added more page events to invoke automagically if some
  3044. methods are defined.
  3045. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  3046. * Control.cs:
  3047. (SaveViewState): save state even when control is not visible.
  3048. (SaveViewStateRecursive):
  3049. (LoadViewStateRecursive): made internal.
  3050. 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
  3051. * Page.cs: improved event raising to allow client postback for a wider
  3052. variety of actions (clicking an hyperlink, ...).
  3053. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  3054. * UserControl.cs: implemented Load/SaveViewState.
  3055. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  3056. * AttributeCollection.cs:
  3057. (Add): handle 'style' through styleCollection.
  3058. * CssStyleCollection.cs:
  3059. (fillStyle): renamed to FillStyle and made it internal.
  3060. * Page.cs:
  3061. (GetViewStateString): fixed, broken after other recent changes.
  3062. (ProcessPostData): allow a second try for postback data after OnLoad.
  3063. (ProcessRequest): clear controls collection, removed call to
  3064. UnloadRecursive.
  3065. 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
  3066. * Control.cs: uncommented Dispose.
  3067. * Page.cs:
  3068. (DeterminePostBackMode): more checkings.
  3069. (GetPostBackClientHyperLink): implemented.
  3070. (GetPostBackEventReference): added some comments with the HTML that MS
  3071. generates for that.
  3072. (ProcessRequest): fixed processing order. The page is unloaded after
  3073. a request and regenerated from view state on subsequents posts.
  3074. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  3075. * Control.cs: fixed related to ViewState. Added RemovedControl.
  3076. * ControlCollection.cs: notify owner of control removal.
  3077. * CssStyleCollection.cs: almost rewritten to make it render the style
  3078. attribute after changes to it.
  3079. * Page.cs: follow the guidelines in 'Control execution lifecycle'.
  3080. Removed Xml code.
  3081. * StateBag.cs: don't use IDictionary.GetEnumerator on the
  3082. HybridDictionary: it makes the program give an InvalidCastException at
  3083. runtime. Why?
  3084. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  3085. * Page.cs: fire Init and Load events for all children.
  3086. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  3087. * UserControl.cs: New file.
  3088. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  3089. * ControlBuilderAttribute.cs: finished implementation.
  3090. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  3091. * ConstructorNeedsTagAttribute.cs: the default constructor sets the
  3092. property to false.
  3093. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  3094. * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
  3095. * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
  3096. Hashtable. Added internal .ctor.
  3097. * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
  3098. Equals and GetHashCode.
  3099. * System.Web.UI/DataBoundLiteralControl.cs:
  3100. (LoadViewState):
  3101. (SaveViewState): implemented.
  3102. * System.Web.UI/Page.cs: FileDependencies is not public.
  3103. * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
  3104. (GetHashCode):
  3105. (Equals):
  3106. (IsDefaultAttribute): implemented.
  3107. 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
  3108. * Control.cs: fixed Visible property.
  3109. * Page.cs: fixed GetViewStateString.
  3110. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  3111. * System.Web.UI/Page.cs:
  3112. (GetViewStateString): new function to give the server access to the
  3113. generated view state string.
  3114. (Validate): d'oh!
  3115. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  3116. * Control.cs:
  3117. (SaveViewstateRecursive): implemented.
  3118. (SaveViewState): fixed.
  3119. (IParserAccessor.AddParsedSubObject): don't use 'this'.
  3120. * Page.cs: added code to save view state to an xml file. It's not
  3121. being used right now.
  3122. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  3123. * System.Web.UI/LiteralControl.cs:
  3124. Fixes based on class status page:
  3125. - Add attributes (DefaultEvent, ParseChildren).
  3126. - Fix declarations.
  3127. - Explicitly implement some interfaces (IPostBackDataHandler
  3128. and IPostBackEventHandler).
  3129. - Implemented some missing methods.
  3130. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  3131. * Control.cs: reimplemented FindControls.
  3132. * Page.cs:
  3133. (.ctor): set the page for this control.
  3134. (IsPostBack): return valid value.
  3135. (DeterminePostBackMode): finished.
  3136. (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
  3137. (ProcessPostData): implemented. Raises change and postback events.
  3138. (ProcessRequest): changed to support reuse of the instance.
  3139. (RegisterRequiresPostBack): implemented.
  3140. * ValidatorCollection.cs: implemented all methods.
  3141. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  3142. * Control.cs:
  3143. * Page.cs: first attemp to save view state.
  3144. * HtmlForm.cs: don't render Action.
  3145. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  3146. * Page.cs: implemented more properties using information we already
  3147. have in Context.
  3148. (OnFormRender):
  3149. (OnFormPostRender):
  3150. (VerifyRenderingInServerForm): implemented.
  3151. 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
  3152. * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
  3153. out runtime. Renamed Page_Init and Page_Load.
  3154. After this, we can load a dll and render HTML in linux.
  3155. 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
  3156. * Control.cs:
  3157. (AddedControl): new function that is called whenever a control is
  3158. added to a collection of controls in a container. It sets the defaults
  3159. except for Page.
  3160. * ControlCollection.cs: call AddedControl in Add/AddAt.
  3161. * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
  3162. SetStaticString and SetDataBoundString.
  3163. * Page.cs: removed SetDefaults.
  3164. 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
  3165. * CompiledTemplateBuilder.cs: new file. Used in the code generated
  3166. by xsp.
  3167. * Control.cs:
  3168. (BindingContainer): implemented.
  3169. (EnsureChildControls): avoid stack overflow.
  3170. * DataBinder.cs: implemented Eval and PropertyValue.
  3171. 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
  3172. * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
  3173. bug as in regular attributes).
  3174. 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
  3175. * Control.cs: implemented PreventAutoID.
  3176. * Page.cs:
  3177. (SetDefaults): don't set ID automatically if Control.PreventAutoID has
  3178. been called.
  3179. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  3180. * Page.cs:
  3181. (Validators): if the collection is null, create one.
  3182. (GetPostBackEventReference 2): don't throw exception.
  3183. (GetPostBackClientEvent): return a string with containing the method
  3184. name, the control name and the argument.
  3185. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  3186. * Page.cs: SetPage is now called SetDefaults and also sets a default
  3187. ID for controls that don't have one yet.
  3188. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  3189. * Page.cs:
  3190. (GetPostBackClient):
  3191. (RegisterRequiresPostBack): don't throw NotImplementedException to
  3192. keep going.
  3193. (ProcessRequest): set the current page as the Page property for *all*
  3194. the controls, not just the direct children of the page.
  3195. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  3196. * Control.cs:
  3197. (MapPathSecure): until security is implemented, return the same path
  3198. received as argument.
  3199. (RenderControl): call OnPreRender before rendering the control. So
  3200. AdRotator can read its configuration file.Is there any other place
  3201. where this should be done?
  3202. * HtmlTextWriter.cs:
  3203. (AddAttribute): fixed. Now it really stores attributes.
  3204. (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
  3205. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  3206. * ControlCollection.cs:
  3207. (AddAt): if index is -1 behave as a plain Add.
  3208. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  3209. * Page.cs: for each child control to render, assign Control.Page.
  3210. Probably also needed in HtmlContainerControl derived classes.
  3211. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  3212. * AttributeCollection.cs: don't need a Hastable. StateBag now works
  3213. fine and takes care of the details.
  3214. * Control.cs: added HasChildren property.
  3215. * StateBag.cs: fixed a couple of nasty bugs.
  3216. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  3217. * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
  3218. Invoke Page_Init and/or Page_Load if the user supplied them (though
  3219. this should depend on AutoEventWireUp attribute of Page directive).
  3220. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  3221. * Control.cs: don't throw exception in ControlID. By now, it returns ID.
  3222. * Page.cs:
  3223. (ProcessRequest): implemented.
  3224. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  3225. * System.Web.UI/Page.cs: finished stubbing out. Implemented some
  3226. methods.
  3227. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  3228. * Page.cs:
  3229. (FileDependencies): now is public public.
  3230. (EnableViewStateMAC): uncommented and made protected.
  3231. (GetTypeHashCode): added method.
  3232. 2002-05-24 Duncan Mak <[email protected]>
  3233. * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
  3234. * StateBag.cs (Item): Changed the visibility level of the this
  3235. [object] indexer.
  3236. Misc. formatting edits, fixing some bugs introduced by the indentation.
  3237. * DataBinder.cs (Eval)
  3238. (GetIndexedPropertyValue)
  3239. (GetPropertyValue): Fixed return types.
  3240. 2002-05-21 Miguel de Icaza <[email protected]>
  3241. * HtmlTextWriter.cs: Use this to change the member instances.
  3242. 2002-05-17 Duncan Mak <[email protected]>
  3243. * AttributeCollection.cs:
  3244. * ControlCollection.cs:
  3245. * CssStyleCollection.cs:
  3246. * DataBindingCollection.cs:
  3247. * EmptyControlCollection.cs: Added missing Collection classes.
  3248. 2002-05-17 Duncan Mak <[email protected]>
  3249. * BaseParser.cs:
  3250. * TemplateParser.cs: Implemented. BaseParser is weird because
  3251. there is no documentation on what it does.
  3252. * ControlBuilder.cs:
  3253. * DataBinder.cs:
  3254. * DataBinding.cs: Added.
  3255. * DataBoundLiteralControl.cs:
  3256. * Triplet.cs: Added.
  3257. * RenderMethod.cs: Added this delegate for Control.cs
  3258. 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
  3259. * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
  3260. 2002-05-14 Duncan Mak <[email protected]>
  3261. * ValidationPropertyAttribute.cs: Added to CVS.
  3262. 2002-05-10 Duncan Mak <[email protected]>
  3263. * ConstructorNeedsTagAttribute.cs:
  3264. * ControlBuilderAttribute.cs:
  3265. * ImageClickEventArgs.cs:
  3266. * ParseChildrenAttribute.cs:
  3267. * PartialCachingAttribute.cs:
  3268. * PersistChildrenAttribute.cs:
  3269. * PersistenceModeAttribute.cs:
  3270. * TemplateContainerAttribute.cs: Added to CVS.
  3271. * PersistanceMode.cs: Removed, fixed typo.
  3272. * PersistenceMode.cs: Replacing above.
  3273. * StateBag.cs (this): Fixed indexer, it takes a string as the
  3274. index, not an object.
  3275. * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
  3276. * Page.cs (Validators): return type should be ValidatorCollection,
  3277. not ValidatedCollection.
  3278. * TagPrefixAttribute.cs: Added to CVS.
  3279. 2002-05-07 Duncan Mak <[email protected]>
  3280. * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
  3281. 2002-03-26 Gaurav Vaish <[email protected]>
  3282. * DataBindingHandlerAttribute.cs
  3283. - Completed
  3284. * ToolboxDataAttribute.cs - Completed
  3285. 2002-01-03 Nick Drochak <[email protected]>
  3286. * DesignTimeParseData.cs: initialze static member to avoid compile
  3287. error
  3288. * PropertyConverter.cs: remove uneeded exception variables from
  3289. catch blocks.
  3290. 2002-01-02 Nick Drochak <[email protected]>
  3291. * DesignTimeParseData.cs: fix header to show correct class name
  3292. 2001-12-21 Gaurav Vaish <[email protected]>
  3293. * StateBag.cs - Completed
  3294. 2001-12-19 Gaurav Vaish <[email protected]>
  3295. * Pair.cs - Small undocumented class. Completed.
  3296. 2001-12-18 Gaurav Vaish <[email protected]>
  3297. * DesignTimeParseData.cs - Initial implementation
  3298. * StateBag.cs - Initial implementation
  3299. 2001-12-17 Gaurav Vaish <[email protected]>
  3300. * PropertyConverter.cs - Undocumented class. Completed.
  3301. * Utils.cs - Undocumented, private class.
  3302. Initial implementation
  3303. 2001-08-28 Bob Smith <[email protected]>
  3304. * Control.cs: Figured out some undocumented API.
  3305. * Added TODO.
  3306. * BuildMethod.cs: Initial implementation.
  3307. * BuildTemplateMethod.cs: Initial implementation.
  3308. * HtmlTextWriterAttribute.cs: Initial implementation.
  3309. * HtmlTextWriterStyle.cs: Initial implementation.
  3310. * HtmlTextWriterTag.cs: Initial implementation.
  3311. * IAttributeAccessor.cs: Initial implementation.
  3312. * IDataBindingsAccessor.cs: Initial implementation.
  3313. * ImageClickEventHandler.cs: Initial implementation.
  3314. * INamingContainer.cs: Initial implementation.
  3315. * IParserAccessor.cs: Initial implementation.
  3316. * IPostBackDataHandler.cs: Initial implementation.
  3317. * IPostBackEventHandler.cs: Initial implementation.
  3318. * IStateManager.cs: Initial implementation.
  3319. * ITagNameToTypeMapper.cs: Initial implementation.
  3320. * ITemplate.cs: Initial implementation.
  3321. * IValidator.cs: Initial implementation.
  3322. * OutputCacheLocation.cs: Initial implementation.
  3323. * PersistanceMode.cs: Initial implementation.
  3324. * StateItem.cs: Initial implementation.
  3325. 2001-08-27 Bob Smith <[email protected]>
  3326. * Control.cs: Bug fixes and implementations.
  3327. 2001-08-24 Bob Smith <[email protected]>
  3328. * Control.cs: Bug fixes.
  3329. 2001-08-23 Bob Smith <[email protected]>
  3330. * Control.cs: More implementation. Events reworked for performance.
  3331. 2001-08-22 Bob Smith <[email protected]>
  3332. * LiteralControl.cs: Implemented.
  3333. * Control.cs: Even more implementation (Events). What a beast.
  3334. 2001-08-20 Bob Smith <[email protected]>
  3335. * Control.cs: More implementation. Not done yet. Shutter.
  3336. 2001-08-17 Bob Smith <[email protected]>
  3337. * Control.cs: Partial implementation.