ChangeLog 76 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296
  1. 2007-10-10 Marek Habersack <[email protected]>
  2. * TemplateControlCompiler.cs: be careful when using type
  3. converters taken from attributes attached to class members. They
  4. may come from the System.Design namespace, which is mostly not
  5. implemented on Mono.
  6. 2007-10-01 Marek Habersack <[email protected]>
  7. * AppResourcesCompiler.cs: resources are no longer compiled into a
  8. single assembly. Instead, the common assembly construction code
  9. has been moved to AppResourcesAssemblyBuilder to use satellite
  10. assemblies.
  11. * AppResourcesAssemblyBuilder.cs: new resource assembly
  12. construction code which takes care of outputting satellite
  13. assemblies.
  14. 2007-09-27 Marek Habersack <[email protected]>
  15. * TemplateControlCompiler.cs: support nullable types in
  16. GenerateExpressionFromString.
  17. 2007-09-21 Marek Habersack <[email protected]>
  18. * TemplateControlCompiler.cs: if we're running on a platform with
  19. the directory separator character that's different to the Unix
  20. style '/' one, convert the input file path to the virtual path
  21. style string, with path parts separated by '/'. Patch from Robert
  22. Jordan <[email protected]>, thanks! Fixes bug #324229.
  23. 2007-09-20 Marek Habersack <[email protected]>
  24. * TemplateControlCompiler.cs: if a member passed to
  25. GetExpressionFromString has a TypeConverter attribute set, try to
  26. use the named type converter to convert the string value into the
  27. target type. Fixes bug #325489.
  28. 2007-09-14 Marek Habersack <[email protected]>
  29. * AppResourcesCompiler.cs: use _culture and _resourceManager
  30. instead of culture and resourceManger in the generated code, to
  31. avoid case problems for languages that are case-insensitive.
  32. 2007-09-10 Marek Habersack <[email protected]>
  33. * TemplateControlCompiler.cs: cast the expression to the field
  34. type whenever appropriate in GetExpressionFromString.
  35. When generating an object instance and one of the parameters is
  36. System.Type, return a typeof expression.
  37. 2007-09-07 Marek Habersack <[email protected]>
  38. * TemplateControlCompiler.cs: another modification to the way
  39. TemplateInstance.Single templates are treated. The search for
  40. parent with this attribute set stops as soon as the first
  41. TemplateBuilder is encountered, no matter what the value of its
  42. TemplateInstance attribute is.
  43. 2007-09-06 Marek Habersack <[email protected]>
  44. * TemplateControlCompiler.cs: ID must be assigned as soon as
  45. possible, before any other attributes of the control are
  46. accessed. The control code may rely on ID being set.
  47. Extend the process of checking if a control is located within a
  48. template with the TemplateInstance.Single attribute set, to all
  49. the parents of the current builder.
  50. 2007-09-05 Marek Habersack <[email protected]>
  51. * ThemeDirectoryCompiler.cs: all the skin files compiled in one
  52. batch must share the same component foundry. Under MS.NET if any
  53. earlier .skin file registers a control prefix any later .skin
  54. files may use it without registering.
  55. 2007-09-04 Marek Habersack <[email protected]>
  56. * TemplateControlCompiler.cs: make sure that base class doesn't
  57. contain a field of the same name which is accessible from the
  58. current control if we're within a singleton template.
  59. When generating code for a property or field, use the name
  60. retrieved from the metadata by reflection instead of the one
  61. parsed from html. Fixes bug #82687. Patch from SunHo Kim
  62. <[email protected]>, thanks!
  63. 2007-08-29 Marek Habersack <[email protected]>
  64. * CachingCompiler.cs: consider contents of the
  65. <compilation><assemblies> section when constructing a list of
  66. assemblies during compilation.
  67. * TemplateControlCompiler.cs: mark fields corresponding to the
  68. controls as global references.
  69. When control tree is constructed and the parent of the current
  70. builder is a TemplateBuilder marked with the TemplateInstance
  71. attribute set to Single, use the control's ID as the field
  72. name. This makes it possible to refer to controls inside templates
  73. by name instead of by using FindControl.
  74. 2007-08-23 Marek Habersack <[email protected]>
  75. * AppCodeCompiler.cs: use HttpApplication.BinDirectoryAssemblies
  76. and HttpApplication.LoadTypeFromBin.
  77. * BuildProvider.cs: use HttpApplication.BinDirectoryAssemblies in
  78. AddAssembliesInBin.
  79. 2007-08-21 Marek Habersack <[email protected]>
  80. * BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
  81. to look up assemblies in the binary path(s).
  82. 2007-08-19 Juraj Skripsky <[email protected]>
  83. * GlobalAsaxCompiler.cs (ProcessObjects): Make string comparison
  84. for scope case insensitive. Fixes bug #82479.
  85. 2007-08-14 Marek Habersack <[email protected]>
  86. * TemplateControlCompiler.cs: remove dead code.
  87. * AssemblyBuilder.cs: include actual exception information when
  88. reporting inability to load a compiled assembly.
  89. * AppCodeCompiler.cs: remove unused variables.
  90. * AspComponentFoundry.cs: use an ArrayList to implement LIFO for
  91. component collections, instead of the old Queue which implemented
  92. FIFO. Fixes situations when a control registered later for a
  93. certain prefix would not be used in preference to a previously
  94. registered one of the same name.
  95. 2007-08-06 Marek Habersack <[email protected]>
  96. * AspComponentFoundry.cs: properly add new foundry if the
  97. corresponding entry in the foundries collection is a Queue. Patch
  98. from Juraj Skripsky <[email protected]>, thanks! Fixes bug #82285.
  99. 2007-07-31 Marek Habersack <[email protected]>
  100. * AspComponentFoundry.cs: do not overwrite previously registered
  101. foundries when a new one is registered with the same prefix. Fixes
  102. bug #82216
  103. 2007-07-18 Marek Habersack <[email protected]>
  104. * TemplateControlCompiler.cs: on the 2.0 profile, GetContainerType
  105. does not look up the Item/Items properties to determine the
  106. container type, instead it just returns the type reported by the
  107. builder passed to this method. This change makes the generated
  108. code match MS.NET. Fixes bug #82119.
  109. 2007-07-02 Marek Habersack <[email protected]>
  110. * TemplateControlCompiler.cs: don't use StartWith to see if a
  111. variable's value is a bind expression, as it erroneously renames
  112. all calls to methods starting with the string Bind. Use a regular
  113. expression now instead. Fixes bug #81928.
  114. 2007-06-20 Marek Habersack <[email protected]>
  115. * AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
  116. private entries.
  117. * CachingCompiler.cs: as above
  118. * AspGenerator.cs: as above
  119. 2007-06-13 Marek Habersack <[email protected]>
  120. * TemplateControlCompiler.cs: make sure control has a writable
  121. TemplateControl property prior to assigning values to it.
  122. 2007-06-09 Marek Habersack <[email protected]>
  123. * TemplateControlCompiler.cs: TemplateControl is assigned for
  124. controls that are placed within ContentPlaceHolder and not for the
  125. ContentPlaceHolder itself.
  126. No longer add the overriden version of TemplateSourceDirectory to
  127. the generated source, all the work is now done in
  128. Control.TemplateSourceDirectory.
  129. * BaseCompiler.cs: AppRelativeVirtualPath shouldn't end with a
  130. slash, for compatibility with MS.NET
  131. 2007-06-05 Marek Habersack <[email protected]>
  132. * TemplateControlCompiler.cs: TemplateSourceDirectory in the 2.0
  133. profile uses the TemplateControl property instead of Parent. This
  134. allows to return the correct path.
  135. 2007-06-01 Marek Habersack <[email protected]>
  136. * TemplateControlCompiler.cs: be case-insensitive when looking for
  137. Bind requests.
  138. 2007-05-29 Marek Habersack <[email protected]>
  139. * ThemeDirectoryCompiler.cs: pass the skin file's
  140. virtual path to the skin file parser as its first paramenter, and
  141. not a physical path.
  142. 2007-05-28 Marek Habersack <[email protected]>
  143. * ResourceExpressionBuilder.cs: properly cast
  144. GetGlobalResourceObject calls to the type of the property being
  145. assigned to.
  146. 2007-05-25 Marek Habersack <[email protected]>
  147. * TemplateControlCompiler.cs: Changed a few incorrect
  148. ObjectCreationExpression to the correct DelegateCreationExpression.
  149. Fixes #81706.
  150. 2007-05-24 Marek Habersack <[email protected]>
  151. * PageCompiler.cs: added support for the PreviousPageType directive.
  152. * Directive.cs: as above.
  153. 2007-05-22 Marek Habersack <[email protected]>
  154. * UserControlCompiler.cs: the Profile property should be present
  155. also in user controls.
  156. 2007-05-15 Marek Habersack <[email protected]>
  157. * ResourceExpressionBuilder.cs: added a static method to generate
  158. a GetLocalResourceObject call which properly handles types which
  159. cannot be converted from strings.
  160. * TemplateControlCompiler.cs: use code described above to generate
  161. code for properties assigned from resources.
  162. * WsdlBuildProvider.cs: make the code actually work - get the
  163. physical path of VirtualPath instead of converting it to absolute
  164. URI path.
  165. Do not generate source, add the code unit to assembly builder
  166. instead.
  167. * XsdBuildProvider.cs: added
  168. 2007-05-08 Marek Habersack <[email protected]>
  169. * TemplateControlCompiler.cs: BuildTemplateMethod is a delegate,
  170. so use a delegate create expression - it may make difference for
  171. languages other than C# (e.g. VisualBasic).
  172. 2007-05-07 Marek Habersack <[email protected]>
  173. * AspGenerator.cs: if the parser's language is implicit (i.e. set
  174. from the default configuration), the first script with the
  175. language attribute present sets the language of the parser.
  176. 2007-05-04 Marek Habersack <[email protected]>
  177. * TemplateControlCompiler.cs: do not query the parent for
  178. TemplateSourceDirectory if we are generating code for a Master
  179. Page.
  180. 2007-04-30 Marek Habersack <[email protected]>
  181. * ConnectionStringsExpressionBuilder.cs: support expressions with
  182. suffixes .ProviderName and .ConnectionString (case-insensitie) and
  183. generate a call to GetConnectionStringProviderName in the former
  184. case. Fixes bug #81490
  185. * AppCodeCompiler.cs: support for cases when there exists a custom
  186. profile class but there is no App_Code directory or it's
  187. empty. Fixes bug #81489.
  188. * TemplateControlCompiler.cs: fix generation of code for
  189. declarative attribute assignments of the form Font-Size="small"
  190. (i.e. when a font size is assigned a symbolic, relative size
  191. value). This fixes for example rendering of the 0th level of
  192. TreeView controls.
  193. 2007-04-27 Marek Habersack <[email protected]>
  194. * AppCodeCompiler.cs: do not look at the number of errors, check
  195. the compiler return code instead.
  196. Resolve assembly names from the global web.config to their
  197. locations before passing them to the compiler provider.
  198. * AssemblyBuilder.cs: as above
  199. * AppResourcesCompiler.cs: as above
  200. * AspComponentFoundry.cs: formatting changes.
  201. AssemblyFoundry looks for the specified namespace+type in the
  202. top-level assemblies if necessary.
  203. 2007-04-26 Marek Habersack <[email protected]>
  204. * AssemblyBuilder.cs: handle compilation failures in a better
  205. way.
  206. * PageCompiler.cs: the Master property must be in the partial
  207. class if present. Fixes bug #81442
  208. 2007-04-20 Marek Habersack <[email protected]>
  209. * AppCodeCompiler.cs: fix App_Code build when the directory
  210. contains both known and unknown files.
  211. 2007-04-19 Gert Driesen <[email protected]>
  212. * AspComponentFoundry.cs: Fixed build on 1.0 profile. Spaces to
  213. tabs.
  214. 2007-04-19 Marek Habersack <[email protected]>
  215. * AppCodeCompiler.cs: yet another method of detecting if we have a
  216. custom profile.
  217. * BaseCompiler.cs: as above
  218. * AspComponentFoundry.cs: implemented delayed loading of control
  219. assemblies. Fixes bug #81058.
  220. 2007-04-19 Gert Driesen <[email protected]>
  221. * BaseCompiler.cs: On 2.0, when ClassName attribute contains namespace
  222. then use it instead of the default ASP namespace. Fixes part of bug
  223. #81399.
  224. 2007-04-19 Marek Habersack <[email protected]>
  225. * BaseCompiler.cs: don't look at the number of profile properties
  226. when deciding if we have a custom profile. It is possible to have
  227. a profile that just inherits from a base class and does not list
  228. any custom properties. Fixes bug #81396.
  229. * AppCodeCompiler.cs: as above
  230. 2007-04-15 Marek Habersack <[email protected]>
  231. * AppCodeCompiler.cs: properly convert physical file path to
  232. virtual path for build providers.
  233. Make sure there's actually anything to compile.
  234. 2007-04-11 Marek Habersack <[email protected]>
  235. * AppCodeCompiler.cs: move custom profile type check till after
  236. the App_Code compilation is done. That way we can have custom
  237. profile providers in there. Fixes bug #81307.
  238. 2007-04-10 Marek Habersack <[email protected]>
  239. * AppResourceFilesCollection.cs: watch App_LocalResources for
  240. changes.
  241. 2007-04-06 Marek Habersack <[email protected]>
  242. * BaseCompiler.cs: display the source of the file in which the
  243. error actually happened if the file exists, or the unit
  244. otherwise.
  245. 2007-04-03 Marek Habersack <[email protected]>
  246. * AppResourcesCompiler.cs: global resources are put in the
  247. "Resources." namespace while local ones are not. Fixes bug #81174
  248. which was reopened after r75261.
  249. 2007-03-26 Marek Habersack <[email protected]>
  250. * TemplateControlCompiler.cs: refactor assining properties from
  251. resources a bit to support pages and user controls. Fixes bug
  252. #81204.
  253. Process meta:resourcekey after all the field/attribute assignments
  254. are done. Fixes bug #80809.
  255. Clean the code up a bit.
  256. Use GetExpressionFromString to generate a correct expression for
  257. custom page/control attributes. Fixes bug #81132.
  258. 2007-03-21 Marek Habersack <[email protected]>
  259. * BaseCompiler.cs: cast 'this' to CodeFileBaseClass in
  260. AssignAppRelativeVirtualPath if the attribute was defined.
  261. * TemplateControlCompiler.cs: added support for setting custom
  262. attributes of a base class from the Page or Control directive
  263. attributes.
  264. 2007-03-20 Marek Habersack <[email protected]>
  265. * ResourceExpressionBuilder.cs: if the resource class key is null
  266. or empty, call GetLocalResourceObject, if not,
  267. GetGlobalResourceObject. Fixes bug #81174.
  268. 2007-03-16 Marek Habersack <[email protected]>
  269. * AppCodeCompiler.cs: produce message that makes more sense.
  270. 2007-03-15 Marek Habersack <[email protected]>
  271. * AppResourcesCompiler.cs: handle global resource keys with dots
  272. the way MS.NET does. All the dots are replaced with underscores
  273. when generating the stronly-typed property.
  274. 2007-03-14 Marek Habersack <[email protected]>
  275. * AppResourcesCompiler.cs: Fix a bug with global resources file
  276. grouping where no translated resources were processed due to base
  277. name mismatch.
  278. * TemplateControlCompiler.cs: hadle situations when there exist a
  279. control in the page with id matching the name of a field/property
  280. in the parent class. In this case we use 'protected new' to
  281. override the parent.
  282. 2007-03-13 Marek Habersack <[email protected]>
  283. * AspParser.cs: fix an off-by-one parsing bug with server-side
  284. includes.
  285. * PageThemeCompiler.cs: let property builders through, stop the
  286. builders that have no control type. Fixes bug #81092
  287. * PageCompiler.cs: interfaces are to be implemented by the parent
  288. partial class, not the generated one.
  289. * AppResourceFilesCollection.cs: added separate constructor for
  290. local resources handling.
  291. * TemplateControlCompiler.cs: request the local resource object
  292. with proper virtual path.
  293. Put field declarations for controls in the partial class.
  294. Make sure builders are in valid state before trying to use them.
  295. * BaseCompiler.cs: added code to assing AppRelativeVirtualPath
  296. property in the page/control constructor.
  297. Change the generated code model for pages/controls to comply with
  298. the way MS.NET does (partial class contains only two properties
  299. plus declarations of all the controls, the actual control/page
  300. class inherits from the partial class). Fixes bug #81001.
  301. * AppResourcesCompiler.cs: does not require specifying manually
  302. whether it's a global or local resource compiler anymore. New
  303. constructors take care of that.
  304. Changed to compile local resources on demand, when a control/page
  305. is parsed.
  306. 2007-03-12 Marek Habersack <[email protected]>
  307. * AspParser.cs: revert r73587 as it breaks more than it fixes.
  308. * AspComponentFoundry.cs: try to register foundries from App_Code
  309. assemblies if tag prefix and its namespace are defined. Fixes bug
  310. #78797.
  311. * BuildManager.cs, BaseCompiler.cs: CodeAssemblies is a collection
  312. of Assembly instances, not strings.
  313. * CachingCompiler.cs: make sure items in the CodeAssemblies and
  314. TopLevelAssemblies are really instances of the Assembly class
  315. before trying to use them.
  316. CodeAssemblies is a collection of Assembly instances, not
  317. strings.
  318. * AppCodeCompiler.cs: on MS.NET CodeAssemblies is a collection of
  319. assemblies, not paths to assemblies.
  320. 2007-03-10 Marek Habersack <[email protected]>
  321. * PageCompiler.cs, BaseCompiler.cs: refactoring: moved the
  322. CreateProfileProperty and InternalCreatePageProperty to
  323. BaseCompiler from PageCompiler.
  324. * GlobalAsaxCompiler.cs: generate the Profile property for the
  325. Global_asax class.
  326. 2007-03-09 Marek Habersack <[email protected]>
  327. * AppCodeCompiler.cs: Add the GetProfile method to the
  328. ProfileCommon auto-generated class.
  329. * AppResourcesCompiler.cs: attempt to load the resource file
  330. earlier in the process, to gracefully handle empty files.
  331. * ThemeDirectoryCompiler.cs: make compiled themes depend on the
  332. .skin and .css files composing the theme.
  333. 2007-03-05 Marek Habersack <[email protected]>
  334. * PageThemeCompiler.cs: Use correct theme path for
  335. AppRelativeTemplateSourceDirectory.
  336. Do not process builders of type CodeRenderBuilder.
  337. Make sure builder.ControlType is not null before depending on it.
  338. * ThemeDirectoryCompiler.cs: theme parser should be passed the
  339. virtual directory of the theme.
  340. 2007-03-03 Marek Habersack <[email protected]>
  341. * PageCompiler.cs: Added support for setting the
  342. MaintainScrollPositionOnPostBack property if the corresponding
  343. page directive attribute is found.
  344. * Directive.cs: added the MaintainScrollPositionOnPostBack and
  345. LinePragmas directives.
  346. 2007-03-02 Marek Habersack <[email protected]>
  347. * AppCodeCompiler.cs: Correctly process App_Code directories which
  348. have no compilable files in the top-level directory. Fixes bug
  349. #80998.
  350. Write preservation files for the App_Code assemblies.
  351. 2007-03-01 Marek Habersack <[email protected]>
  352. * AspParser.cs: fix GetVerbatim for cases when the end is
  353. e.g. --> or --%> and the string matched is ---> or ---%>
  354. respectively. The new code always backs out to make sure the end is
  355. matched correctly.
  356. 2007-02-27 Marek Habersack <[email protected]>
  357. * TemplateControlCompiler.cs: ParseExpression returns an object,
  358. don't assume any concrete type.
  359. Use the current culture when converting the expression to a
  360. string.
  361. * ConnectionStringsExpressionBuilder.cs: Implement support for
  362. expressions of the <%$ ConnectionStrings:StringName %> form
  363. 2007-02-19 Marek Habersack <[email protected]>
  364. * ResourceExpressionBuilder.cs: Do not prepend the .Resources prefix here
  365. 2007-02-16 Marek Habersack <[email protected]>
  366. * CachingCompiler.cs, BaseCompiler.cs: Make sure that no assembly
  367. is referenced twice by the compiler(s).
  368. * TemplateControlCompiler.cs: Fix the problem with cultures which
  369. have a comma as their decimal separator and font/whatever
  370. units. New code does not reparse the text representation of the
  371. unit on the runtime (e.g. 0.9em) but instead it constructs the
  372. property using the FontUnit/Unit constructors which take,
  373. respectively, Unit and double/unittype parameters. This avoids
  374. culture-specific parsing.
  375. Also fix converting from invariant strings in a culture-aware
  376. environment (e.g. in a page that uses Culture="auto") during the
  377. page parsing phase.
  378. 2007-02-12 Marek Habersack <[email protected]>
  379. * PreservationFile.cs: Support preservation (assembly mapping)
  380. files (the ones with .compiled extension in the ASP.NET temporary
  381. directory). This one implements a loader/saver class.
  382. * AppResourcesCompiler.cs: support for assembly name mapping.
  383. * AppCodeCompiler.cs: support for assembly name mapping.
  384. 2007-02-08 Marek Habersack <[email protected]>
  385. * TemplateControlCompiler.cs: Fix TemplateSourceDirectory.
  386. * AspComponentFoundry.cs: Avoid duplicate control registration
  387. exception.
  388. * ResourceExpressionBuilder.cs: Make sure all the global resources
  389. are looked up using the "Resources." prefix.
  390. * AppResourcesCompiler.cs: Make sure all the global resources are
  391. embedded with the "Resources." prefix.
  392. 2007-02-02 Marek Habersack <[email protected]>
  393. * AspGenerator.cs: Move the cache insert code to a separate method, for
  394. use from other places.
  395. * AspComponentFoundry.cs: Register controls mentioned in web.config, but
  396. defer their compilation to the moment when they are actually requested.
  397. 2007-01-22 Marek Habersack <[email protected]>
  398. * ThemeDirectoryCompiler.cs: Make sure the code works for empty themes.
  399. 2007-01-20 Miguel de Icaza <[email protected]>
  400. * ClientBuildManager.cs: Remove unused variable (this could be a
  401. real problem, we never use the appPhysicalTargetDir)
  402. * AssemblyBuilder.cs: Remove unused field.
  403. * AppResourceFilesCollection.cs: Remove unused field.
  404. * TemplateControlCompiler.cs (GetExpressionFromString): Remove
  405. unused variable.
  406. * AppResourcesCompiler.cs: Remove unused variable.
  407. * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
  408. parameter.
  409. * PageCompiler.cs: Put InternalCreatePageProperty inside the
  410. NET_2_0 block to eliminate warnings.
  411. 2007-01-20 Gert Driesen <[email protected]>
  412. * BaseCompiler.cs: Fixed build on 1.0 profile.
  413. 2007-01-20 Marek Habersack <[email protected]>
  414. * BaseCompiler.cs: If the control base type is in the root
  415. namespace, make sure global:: is prepended to it.
  416. * TemplateControlCompiler.cs: AutoHandlers is obsolete in 2.0,
  417. mark it as such in the generated code as well.
  418. * AppCodeCompiler.cs: Include debug information if configured in
  419. web.config. Fixes bug #80096.
  420. 2007-01-17 Marek Habersack <[email protected]>
  421. * AppCodeCompiler.cs: Reference toplevel assemblies (at this stage
  422. App_GlobalResources) when compiling App_Code sources.
  423. * CachingCompiler.cs: Reference toplevel assemblies when compiling
  424. e.g. Global.asax
  425. * AppResourcesCompiler.cs: Close the streams properly.
  426. * AspGenerator.cs: Don't ignore thead/tbody anymore.
  427. 2007-01-15 Marek Habersack <[email protected]>
  428. * WsdlBuildProvider.cs: New build provider for WSDL files.
  429. Compile only when System.Web.Services are present.
  430. * TemplateControlCompiler.cs: Forgotten in the previous commit -
  431. don't pass the current culture to GetLocalResourceObject, let the
  432. method figure it out on its own.
  433. 2007-01-05 Marek Habersack <[email protected]>
  434. * AppResourceFilesCollection.cs: new class to keep and manage
  435. collection of resource files for the App_{Global,Local}Resources
  436. folders.
  437. * TemplateControlCompiler.cs: rely on
  438. HttpContext.GetLocalResourceObject to select the correct culture.
  439. * AppResourceFileInfo.cs: new class for keeping resource files
  440. information.
  441. * AppResourcesCompiler.cs: new implementation.
  442. 2006-12-20 Marek Habersack <[email protected]>
  443. * AssemblyBuilder.cs: add an internal version of the
  444. AddCodeCompileUnit method.
  445. * AppCodeCompiler.cs: implement support for ProfileCommon
  446. generation from properties named in the <profile> element in
  447. Web.config.
  448. * PageCompiler.cs: create the Profile property in 2.0 code.
  449. 2006-12-12 Vladimir Krasnov <[email protected]>
  450. * ThemeDirectoryCompiler.jvm.cs: fixed virtual path for themes
  451. 2006-12-10 Igor Zelmanovich <[email protected]>
  452. * ThemeDirectoryCompiler.cs: refactoring.
  453. 2006-11-28 Marek Habersack <[email protected]>
  454. * BuildManager.cs: Add an internal property to signal whether or
  455. not we have any resources from App_{Global,Local}Resources
  456. * AspGenerator.cs: Register controls from
  457. system.web/pages/controls collection before parsing.
  458. * AppResourcesCompiler.cs: Let the build process know if we have
  459. compiled any resources from App_{Global,Local}Resources
  460. 2006-11-27 Marek Habersack <[email protected]>
  461. * CachingCompiler.cs: Automatically reference App_Code
  462. assemblies.
  463. * AppCodeCompiler.cs: Add ~/bin/*.dll to the referenced assemblies
  464. when compiling.
  465. 2006-11-25 Marek Habersack <[email protected]>
  466. * AppResourcesCompiler.cs: small optimizations.
  467. * AppResourceFilesCompiler.cs: small optimizations.
  468. 2006-11-21 Gonzalo Paniagua Javier <[email protected]>
  469. * WebServiceCompiler.cs: add the type to the cache after getting it
  470. from the compiled assembly.
  471. 2006-11-20 Marek Habersack <[email protected]>
  472. * AppCodeCompiler.cs: Reference assemblies listed in
  473. system.web/compilation/assemblies.
  474. Don't create empty assemblies.
  475. 2006-11-19 Igor Zelmanovich <[email protected]>
  476. * TemplateControlCompiler.cs: fixed:
  477. When <%# Bind(...) %>-expression is used more then once for same control
  478. The variable associated with this control is declared only once.
  479. 2006-11-18 Marek Habersack <[email protected]>
  480. * AppResourceFilesCompiler.cs: Fixed an exception thrown when
  481. files with names like File.resources or File.resx are found in the
  482. resource directories.
  483. 2006-11-16 Marek Habersack <[email protected]>
  484. * ForceCopyBuildProvider.cs: Added the build provider for
  485. copy-only files.
  486. * MasterPageBuildProvider.cs: Added the build provider for Master
  487. Pages.
  488. * IgnoreFileBuildProvider.cs: Make the class sealed.
  489. * AppCodeCompiler.cs: Fixed BuildProvider creation for a path. Now
  490. correctly uses the BuildProviderCollection to retrieve the
  491. appropriate builder and maps the physical input file path into
  492. application relative path when setting the virtual path of the
  493. build provider.
  494. 2006-11-13 Marek Habersack <[email protected]>
  495. * AssemblyBuilder.cs: Added referenced assemblies support. Added a
  496. constructor with just the CodeDomProvider argument. CreateCodeFile
  497. now uses the code provider's file extension. Added internal method
  498. to add pre-generated source code files. Added a BuildAssembly
  499. overload that takes no virtual path as the
  500. parameter. BuildAssembly now uses an array of source files instead
  501. of compile units and also handles embedded resources and
  502. referenced assemblies. BuildAssembly deletes the temporary files
  503. if MONO_ASPNET_NODELET isn't set in the environment.
  504. * AppCodeCompiler.cs: Use the FileUtils methods for temporary file
  505. creation. Use the build providers collection to build unknown
  506. files in App_Code. Use AssemblyBuilder to compile the assembly.
  507. * AppResourceFilesCompiler.cs: Use the FileUtils methods for
  508. temporary file creation.
  509. * WebHandlerBuildProvider.cs: Added the BuildProviderAppliesTo
  510. attribute.
  511. * UserControlBuildProvider.cs: Added the BuildProviderAppliesTo
  512. attribute.
  513. * PageBuildProvider.cs: Added the BuildProviderAppliesTo
  514. attribute.
  515. * WebServiceBuildProvider.cs: Added the BuildProviderAppliesTo
  516. attribute.
  517. * IgnoreFileBuildProvider.cs: Added the BuildProviderAppliesTo
  518. attribute.
  519. 2006-11-08 Marek Habersack <[email protected]>
  520. * BuildProvider.cs: Implemented the GetCustomString
  521. method. Removed the necessity to retrieve the CompilationSection
  522. twice when GetDefaultCompilerType is called.
  523. * AppResourcesCompiler.cs: Added resource compiler results
  524. handling.
  525. * AppCodeCompiler.cs: The App_Code compiler classes
  526. * BuildManager.cs: Implement the CodeAssemblies property.
  527. Added an internal TopLevelTypes property to be used in the custom
  528. GetType methods. Implemented the GetCompiledCustomString method.
  529. Implemented the GetType method overloads. Implemented the
  530. GetVirtualPathDependencies method.
  531. * BaseCompiler.cs: Reference the assemblies from App_Code, if any
  532. 2006-10-18 Marek Habersack <[email protected]>
  533. * TemplateControlCompiler.cs: add support for resource
  534. expressions in tag attributes.
  535. * ResourceExpressionBuilder.cs: add support for resource
  536. expressions in tag attributes.
  537. * BaseCompiler.cs: add global/local resource assemblies to
  538. compilation references, if present.
  539. * AppResourcesCompiler.cs: global/local resources compiler.
  540. * AppResourceFilesCompiler.cs: compiler of resource files.
  541. 2006-10-03 Igor Zelmanovich <[email protected]>
  542. * TemplateControlCompiler.cs: fixed: Bind functions (Data-Binding Syntax).
  543. At run time, the Bind method calls the Eval method, if there is DataItem
  544. != null to bind to.
  545. If there is DataItem == null (like InsertItemTemplate in FormView) Bind
  546. method don't raise exception and works properly to extract data from
  547. bounded controls on postback.
  548. 2006-09-20 Gonzalo Paniagua Javier <[email protected]>
  549. * AspGenerator.cs: if we are tracking non-server tags for
  550. well-formedness, handle tags that do not need to be closed (br, img,...)
  551. Fixes bug #79437.
  552. 2006-09-18 Gonzalo Paniagua Javier <[email protected]>
  553. * PageCompiler.cs: support the EnableEventValidation attribute.
  554. 2006-09-08 Gonzalo Paniagua Javier <[email protected]>
  555. * AspGenerator.cs: after parsing an include file, don't error out if we
  556. still have opened tags unless this was the last file to parse. Fixes
  557. bug #79318.
  558. 2006-09-05 Konstantin Triger <[email protected]>
  559. * ParseException.cs: Ensure the source file stream is closed.
  560. 2006-08-25 Kornél Pál <[email protected]>
  561. * AppSettingsExpressionBuilder.cs: Use assembly name constants.
  562. * ConnectionStringsExpressionBuilder.cs: Use name reference
  563. constants.
  564. * ResourceExpressionBuilder.cs: Use assembly name constants.
  565. 2006-08-20 Vladimir Krasnov <[email protected]>
  566. * ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
  567. 2006-08-10 Gonzalo Paniagua Javier <[email protected]>
  568. * ClientBuildManager.cs: handle domain shutdown and unload.
  569. Implemented some properties. Commented.
  570. 2006-08-10 Andrew Skiba <[email protected]>
  571. * ThemeDirectoryCompiler.cs: render css path as a virtual path.
  572. 2006-08-08 Vladimir Krasnov <[email protected]>
  573. * added ThemeDirectoryCompiler.jvm.cs
  574. 2006-07-28 Gonzalo Paniagua Javier <[email protected]>
  575. * PageThemeCompiler.cs: Don't generate a 'Items.Clear ()' call if
  576. the property Items does not exist. Patch by Marek Habersack that fixes
  577. bug #78971.
  578. 2006-07-28 Gonzalo Paniagua Javier <[email protected]>
  579. * TemplateControlCompiler.cs: support assigning nullable types.
  580. Patch by Marek Habersack that fixes bug #78970.
  581. 2006-07-13 Gonzalo Paniagua Javier <[email protected]>
  582. * TemplateControlCompiler.cs: make password work again.
  583. 2006-06-21 Juraj Skripsky <[email protected]>
  584. * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
  585. MS.NET handles nested quotes differently for server controls and
  586. for "normal" controls. Add a property "AlternatingQuotes" to the
  587. tokenizer and let the parser decide whether it is well-formed or not.
  588. 2006-06-20 Andrew Skiba <[email protected]>
  589. * PageThemeCompiler.cs, TemplateControlCompiler.cs: take care of
  590. UrlPropertyAttribute.
  591. 2006-06-18 Andrew Skiba <[email protected]>
  592. * TemplateControlCompiler.cs: check IsWritablePropertyOrField before
  593. generating code for assignment statement and DataBind event.
  594. 2006-06-15 Juraj Skripsky <[email protected]>
  595. * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
  596. Don't allow an attribute value to contain the same quote characters
  597. as the ones used for delimiting the value itself. Add a token
  598. NOTWELLFORMED to signal that case to AspParser. Fixes bug #78643.
  599. 2006-06-08 Konstantin Triger <[email protected]>
  600. * ThemeDirectoryCompiler.cs: use physical path instead of virtual path.
  601. 2006-04-24 Andrew Skiba <[email protected]>
  602. * ThemeDirectoryCompiler.cs: use UrlUtils.Combine to combine pathes
  603. 2006-04-23 Andrew Skiba <[email protected]>
  604. * PageThemeCompiler.cs: initialize __linkedStyleSheets field with the
  605. array of style sheets from the parser
  606. * ThemeDirectoryCompiler.cs: scan *.css files in theme directory and
  607. put them in LinkedStyleSheets of PageThemeParser
  608. 2006-04-20 Chris Toshok <[email protected]>
  609. * BaseCompiler.cs: for 2.0, emit the correct namespace and class
  610. names in the case where you use "NS.ClassName" in the Inherits
  611. attribute. Fixes bug #78135.
  612. 2006-04-20 Gonzalo Paniagua Javier <[email protected]>
  613. * CachingCompiler.cs: no need to play the Wait/PulseAll game, as we
  614. already acquired the lock even when we might have not created the 'key'
  615. to the compilation ticket.
  616. 2006-04-16 Andrew Skiba <[email protected]>
  617. * ThemeDirectoryCompiler.cs: add to the directory parser all the
  618. assemblies found by PageThemeFileParsers
  619. 2006-04-12 Lluis Sanchez Gual <[email protected]>
  620. * TemplateControlCompiler.cs: Properly read all content of
  621. string properties.
  622. 2006-04-11 Andrew Skiba <[email protected]>
  623. * TemplateControlCompiler.cs : fix for partial parsers
  624. 2006-04-11 Andrew Skiba <[email protected]>
  625. * ThemeDirectoryCompiler.cs : map the virtual path to the physical
  626. path
  627. 2006-04-08 Miguel de Icaza <[email protected]>
  628. * TemplateControlCompiler.cs: An attempt to fix the regression
  629. introduced in r58505 (a bug fix for 77762). This was reported in
  630. the mailing list with a batch of new 2.0 failures.
  631. We really need a test suite in NUnit to check on ASP.NET aspx
  632. changes.
  633. 2006-03-27 Robert Jordan <[email protected]>
  634. * CachingCompiler.cs: change the compilation locking scheme
  635. from "one mcs per process" to "one mcs per file".
  636. 2006-03-24 Gonzalo Paniagua Javier <[email protected]>
  637. * System.Web.Compilation/TemplateControlCompiler.cs: handle the new
  638. StringPropertyBuilder.
  639. 2006-03-24 Chris Toshok <[email protected]>
  640. * BaseCompiler.cs (GetCompiledType): fall back to CodeDomProvider
  641. if system.web/compilation doesn't list a compiler for our
  642. language.
  643. 2006-03-13 Chris Toshok <[email protected]>
  644. * TemplateControlCompiler.cs (InitMethod): when generating the
  645. call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
  646. argument to it. Only do that if the class we're compiling is
  647. actually a subclass of Page. If it's not, pass this.Page.
  648. 2006-03-07 Chris Toshok <[email protected]>
  649. * AspGenerator.cs: refactor the parsing code so that we can
  650. initiate parsing from outside this class.
  651. * PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
  652. method, add our StyleSheetTheme assignment here.
  653. (AppendStatementsToFrameworkInitialize): rename AddStatements* to
  654. this.
  655. * TemplateControlCompiler.cs (EnsureID): make protected.
  656. (CreateAssignStatementsFromAttributes): same
  657. (AddChildCall): same.
  658. (CreateControlTree): same.
  659. (CreateFrameworkInitializeMethod): change
  660. "AddStatementsToFrameworkInitialize" to
  661. "AppendStatementsToFrameworkInitialize", and add call to
  662. "PrependStatementsToFrameworkInitialize" before the generation of
  663. "base.FrameworkInitialize()."
  664. * PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
  665. 2006-03-07 Chris Toshok <[email protected]>
  666. * ThemeDirectoryCompiler.cs: new file.
  667. * PageThemeCompiler.cs: new file.
  668. 2006-03-07 Chris Toshok <[email protected]>
  669. * BaseCompiler.cs: fix typo in "initialize" in multiple places.
  670. (Init): move the CreateMethods call here.
  671. 2006-03-02 Chris Toshok <[email protected]>
  672. * TemplateControlCompiler.cs (InitMethod): emit an assignment for
  673. SkinID just after the creation of our object, and right after that
  674. call "_ctrl.ApplyStyleSheetSkin (page)".
  675. (CreateAssignStatementsFromAttributes): split out the majority of
  676. this code to CreateAssignStatementFromAttribute, and change this
  677. method to simply a loop over the attribute keys. In the 2.0 case,
  678. skip the SkinID property, since that's handled explicitly in
  679. InitMethod.
  680. * PageCompiler.cs (AddStatementsToInitMethod): emit assignments
  681. for Theme and StyleSheetTheme.
  682. 2006-02-23 Chris Toshok <[email protected]>
  683. * TemplateControlCompiler.cs (AddContentTemplateInvocation): track
  684. change from ContentControlBuilderInternal to
  685. ContentBuilderInternal.
  686. (AddCodeRender): same.
  687. 2006-02-16 Gonzalo Paniagua Javier <[email protected]>
  688. * AssemblyBuilder.cs:
  689. * BuildManager.cs: compile the assembly from AssemblyBuilder and use
  690. GetGeneratedType() on the BuildProvider instead of loading the assembly
  691. and trying a wild guess at the type name.
  692. 2006-02-14 Gonzalo Paniagua Javier <[email protected]>
  693. * GlobalAsaxCompiler.cs:
  694. * PageCompiler.cs:
  695. * TemplateControlCompiler.cs: CreateMethods is now internal.
  696. * WebServiceBuildProvider.cs:
  697. * PageBuildProvider.cs:
  698. * UserControlBuildProvider.cs:
  699. * WebHandlerBuildProvider.cs: new build providers.
  700. * BuildProvider.cs: add assemblies.
  701. * BaseCompiler.cs: expose the provider and the compile unit through
  702. properties.
  703. 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
  704. * CompilerType.cs: implemented.
  705. * AssemblyBuilder.cs: implemented most of it.
  706. * WebServiceCompiler.cs:
  707. * CachingCompiler.cs: update 2.0 compiler instance creation code.
  708. * ClientBuildManager.cs: implemented some of its methods. Not yet
  709. ready.
  710. * BuildManager.cs: the more interesting methods are implemented now.
  711. * BaseCompiler.cs: delete the temporary files in case of error.
  712. * BuildProvider.cs: implemented the Get*Compiler* protected methods.
  713. 2006-02-07 Chris Toshok <[email protected]>
  714. * TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
  715. calls to AddParsedSubObject to a special statement collection --
  716. builder.flushOutputStatements -- not to builder.method.Statements.
  717. (InitMethod): initially, set flushOutputStatements to
  718. method.Statements. If we're dealing with a ContentPlaceHolder,
  719. set flushOutputStatements to be the else block of a conditional we
  720. create. This causes the compiled control to fall back to the
  721. ContentPlaceHolder's child controls in case there's no
  722. corresponding Content template.
  723. (AddChildCall): use methodStatements instead of method.Statements.
  724. (CreateControlTree): same.
  725. * PageCompiler.cs (CreatePropertyAssign): factor out the
  726. string,string implementation and add one that also takes a
  727. CodeExpression; make the string,string implementation call the
  728. three arg one with thisRef.
  729. (AddStatementsToInitMethod): make use of the 3-arg form of
  730. CreatePropertyAssign to reduce code. Also, add support for
  731. setting the page's Title from the parser's Title.
  732. 2006-02-07 Chris Toshok <[email protected]>
  733. * UserControlCompiler.cs (AddStatementsToInitMethod): emit code to
  734. assign __ctrl.MasterPageFile to our master page, if we have one.
  735. * PageCompiler.cs (CreateContructor): remove the MasterPageFile
  736. assignment from here.
  737. (AddStatementsToInitMethod): and move it here.
  738. * TemplateControlCompiler.cs (InitMethod): in the case where
  739. builder is a RootBuilder (we're building the __BuildControlTree
  740. method), call a virtual method so that subclasses can add their
  741. own statements to the method (used by both Page and MasterPage);
  742. Also, in the RootBuilder case, the argument should be the
  743. parser.ClassName type (the class we're building); lastly, expand
  744. the ContentPlaceHolder logic to include all the
  745. ContentTemplates/InstantiateIn magic.
  746. (AddStatementsToInitMethod): empty virtual method.
  747. (AddContentTemplateInvocation): ContentControlBuilder ->
  748. ContentControlBuilderInternal.
  749. (CreateControlTree): same.
  750. (CallBaseFrameworkInitialize): new function, create call to
  751. base.FrameworkInitialize.
  752. (CreateFrameworkInitializeMethod): call CallBaseFrameworkIniitialize.
  753. 2006-02-06 Gonzalo Paniagua Javier <[email protected]>
  754. * IgnoreFileBuildProvider.cs: it's not public.
  755. * BuildProvider.cs: mostly implemented.
  756. 2006-02-01 Chris Toshok <[email protected]>
  757. * WebServiceCompiler.cs: CONFIGURATION_2_0 => NET_2_0, and use
  758. GetSection instead of GetWebApplicationSection.
  759. * CachingCompiler.cs: same.
  760. * AspGenerator.cs: same.
  761. * BaseCompiler.cs: same.
  762. 2006-01-23 Gonzalo Paniagua Javier <[email protected]>
  763. * AspGenerator.cs: ignore 'thead'. Fixes bug #77326.
  764. 2006-01-22 Chris Toshok <[email protected]>
  765. * IgnoreFileBuildProvider.cs: build provider which does nothing.
  766. 2006-01-22 Chris Toshok <[email protected]>
  767. * AspComponentFoundry.cs (.ctor): use a 2.0 friendly form of the
  768. Hashtable ctor to silence a couple of warning.
  769. (CompoundFoundry.ctor): same
  770. * Directive.cs (InitHash): use a 2.0 friendly form of the
  771. Hashtable ctor to silence a couple of warning.
  772. * TagAttributes.cs (MakeHash): use a 2.0 friendly form of the
  773. Hashtable ctor to silence a warning.
  774. (GetDictionary): same.
  775. 2006-01-22 Chris Toshok <[email protected]>
  776. * AppSettingsExpressionBuilder.cs: implement this, patterning it
  777. after an example on msdn. Also, enable the ExpressionEditor
  778. attribute, but use the string rather than the Type overload so we
  779. won't have yet another circular dep.
  780. * ConnectionStringsExpressionBuilder.cs: partial implementation.
  781. Same deal with the ExpressionEditor attribute.
  782. * ResourceExpressionBuilder.cs: same deal with the
  783. ExpressionEditor attribute.
  784. 2006-01-20 Chris Toshok <[email protected]>
  785. * ResourceExpressionBuilder.cs (ParseExpression): implement.
  786. * ResourceExpressionFields.cs: implement.
  787. 2006-01-20 Chris Toshok <[email protected]>
  788. * ClientBuildManagerParameter.cs: implement.
  789. * ClientBuildManagerCallback.cs: this class contains an empty
  790. default implementation.
  791. 2006-01-10 Gonzalo Paniagua Javier <[email protected]>
  792. * AspGenerator.cs: add support for 'src' in <script runat="server">.
  793. Fixes bug #77150.
  794. 2006-01-04 Chris Toshok <[email protected]>
  795. * WebServiceCompiler.cs (GetCompiledType): add CONFIGURATION_2_0
  796. code.
  797. * AspGenerator.cs (CheckLanguage): add CONFIGURATION_2_0 code.
  798. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  799. * AspGenerator.cs: fix yesterday's fix.
  800. 2005-12-06 Gonzalo Paniagua Javier <[email protected]>
  801. * AspGenerator.cs: only do special processing for <script> if it has
  802. the runat="server" attribute. Fixes bug #76918.
  803. 2005-12-01 Gonzalo Paniagua Javier <[email protected]>
  804. * TemplateControlCompiler.cs: treat LightGrey as a synonym of LightGray.
  805. Fixes bug #76677.
  806. 2005-11-30 Gonzalo Paniagua Javier <[email protected]>
  807. * TemplateControlCompiler.cs: handle data bound attributes for html
  808. controls. Fixes bug #76785.
  809. 2005-11-28 Chris Toshok <[email protected]>
  810. * CachingCompiler.cs (Compile): CONFIGURATION_2_0 work.
  811. * BaseCompiler.cs (GetCompiledType): CONFIGURATION_2_0 work.
  812. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  813. * WebServiceCompiler.cs: fixed caching for web handlers.
  814. 2005-11-21 Gonzalo Paniagua Javier <[email protected]>
  815. * AspParser.cs: don't change case for verbatim IDs.
  816. Fixes bug #76657.
  817. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  818. * AspParser.cs: when processing verbatim input, throw if we reach EOF
  819. before the expected end of the data.
  820. 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
  821. * CachingCompiler.cs:
  822. * WebServiceCompiler.cs: when caching a type loaded from an assembly
  823. that we didn't compile, make it depend on the file itself, not on a
  824. non-existing cache key. This problem affected performance of web
  825. services and .ashx, making unnecessary extra calls to LoadFrom every
  826. time the cache was cleared.
  827. 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
  828. * BaseCompiler.cs: set the domain's DynamicBase property instead of
  829. guessing it in BaseCompiler.
  830. 2005-08-18 Gonzalo Paniagua Javier <[email protected]>
  831. * WebServiceCompiler.cs: apply the same fix as in r45440 that fixed bug
  832. 75146 for pages/controls.
  833. 2005-08-09 Miguel de Icaza <[email protected]>
  834. * WebServiceCompiler.cs: Use the new DynamicDir method.
  835. * BaseCompiler.cs: Use the DynamicBase property as a hint, but
  836. since this value is null most of the time, compute the real value.
  837. Added Bonus: if the directory has some kind of permission problem,
  838. try a different directory name.
  839. 2005-07-13 Miguel de Icaza <[email protected]>
  840. * AspGenerator.cs (AspGenerator.CheckLanguage): Use
  841. BaseParser.Context for the context.
  842. 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
  843. * TagAttributes.cs:
  844. * AspParser.cs:
  845. * TemplateControlCompiler.cs: use invariant culture versions of starts/
  846. endswith.
  847. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  848. * TemplateControlCompiler.cs: comparison between member name and the
  849. first part of the id provided by the user should also be
  850. case-insensitive. Fixes bug #75379.
  851. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  852. * CachingCompiler.cs: use cache.InsertPrivate.
  853. * AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
  854. AddDependency.
  855. 2005-06-24 Gonzalo Paniagua Javier <[email protected]>
  856. * CachingCompiler.cs: create the assemly in the DynamicBase directory,
  857. as all the others, when compiling an assembly from a Src file. Fixes
  858. bug #75371.
  859. 2005-06-15 Gonzalo Paniagua Javier <[email protected]>
  860. * TemplateControlCompiler.cs: if the property is not found, don't forget
  861. about trying the field.
  862. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  863. * Directive.cs: Register the MasterType directive.
  864. * PageCompiler.cs: If a MasterType is specified, add a type specific
  865. Master property. All this fixes bug #75192.
  866. 2005-06-11 Gonzalo Paniagua Javier <[email protected]>
  867. * TemplateControlCompiler.cs: when mapping an attribute name to a field
  868. or property name, there's no need to try with every property and field,
  869. but just the one found when searching by name (no case). There was one
  870. call to ProcessPropertiesAndFields per property or field until found,
  871. now only one if the property/field is found, none otherwise.
  872. 2005-06-11 Gonzalo Paniagua Javier <[email protected]>
  873. * TemplateControlCompiler.cs: allow more than 2 levels when looking for
  874. properties of fields for an attribute like "Prop1-Prop2-Prop3". Fixes
  875. bug #75234.
  876. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  877. * BaseCompiler.cs: when the OutputAssembly is null, we can still have
  878. the assembly file there and be able to load it. Thanks to Rogerio and
  879. Mark.
  880. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  881. * AspParser.cs: InvariantCulture love.
  882. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  883. * TemplateControlCompiler.cs: use the Page AddContentTemplate method,
  884. as the one in Master is protected. Fixes bug #75157.
  885. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  886. * AspComponentFoundry.cs: tagnames have precedence over types in
  887. assemblies when they use the same prefix. Fixes bug #71855.
  888. 2005-05-03 Lluis Sanchez Gual <[email protected]>
  889. * WebServiceCompiler.cs: Create the temp directory before
  890. creating the web service source code file.
  891. 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
  892. * AspGenerator.cs: when checking languages, try to match other aliases
  893. too (ie, 'cs' == 'c#').
  894. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  895. * BaseCompiler.cs: check that DynamicBase directory exists before
  896. creating the TempFileCollection.
  897. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  898. * AspGenerator.cs: use a stack for non-server tags even before getting
  899. to a form. Fixes bug #70274.
  900. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  901. * AspParser.cs: don't error out on ill formed tags if it's not a server
  902. tag (ie, allow something like '<table align="left cellpadding="0">' to
  903. work, as MS does. Fixes bug #67909.
  904. 2005-04-20 Rafael Teixeira <[email protected]>
  905. * BaseCompiler.cs: do the bridge of Explicit/Strict attributes from
  906. @Page/@Control directives to CodeDOM (VB.NET support)
  907. 2005-04-19 Lluis Sanchez Gual <[email protected]>
  908. * AspParser.cs: Fixed parsing of data binding tags in server
  909. tag attributes. Allow <%...%> blocks not assigned to
  910. attributes in client tags.
  911. * TagAttributes.cs: Make sure that data binding blocks in server
  912. tags are always assigned to attributes.
  913. 2005-04-15 Lluis Sanchez Gual <[email protected]>
  914. * TemplateControlCompiler.cs: Implemented support for two-way
  915. binding.
  916. 2005-04-14 Lluis Sanchez Gual <[email protected]>
  917. * TemplateControlCompiler.cs: Use the new BindingContainerType
  918. property to find the type of the binding container.
  919. 2005-04-07 Lluis Sanchez Gual <[email protected]>
  920. * TemplateControlCompiler.cs: Avoid using the GetConverter() trick
  921. for primitive types. Parse an empty color string as Color.Empty.
  922. Get the converter for a property using its PropertyDescriptor.
  923. 2005-04-05 Lluis Sanchez Gual <[email protected]>
  924. * TemplateControlCompiler.cs: Don't autogenerate IDs for
  925. controls inside Content template.
  926. 2005-03-18 Gonzalo Paniagua Javier <[email protected]>
  927. * TemplateControlCompiler.cs: make typedesc.aspx work again.
  928. 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
  929. * ExpressionBuilderContext.cs:
  930. * ExpressionBuilder.cs: implemented.
  931. 2005-02-11 Gonzalo Paniagua Javier <[email protected]>
  932. * AspGenerator.cs: don't fail on <tbody runat=server>. Fixes bug #71856.
  933. 2005-01-28 Lluis Sanchez Gual <[email protected]>
  934. * TemplateControlCompiler.cs: When generating a property value,
  935. check for TypeConverterAttribute in the PropertyInfo, not only in the
  936. property type.
  937. Implemented code generation using InstanceDescriptor, when the type
  938. converter supports conversion to that type.
  939. 2005-01-21 Lluis Sanchez Gual <[email protected]>
  940. * Directive.cs: Added MASTER directive.
  941. * AspGenerator.cs: Use UserControlCompiler for compiling master pages.
  942. * PageCompiler.cs: Set the master file name when generating the page.
  943. * TemplateControlCompiler.cs: When generating the method for a
  944. content holder, register the content holder in the base MasterPage.
  945. Added method for registering a Content control for a MasterPage.
  946. Generate code for Content controls.
  947. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  948. * TemplateControlCompiler.cs: Get the container type from the
  949. template (if it was defined using TemplateContainerAttribute.
  950. 2004-10-29 Gonzalo Paniagua Javier <[email protected]>
  951. * AspGenerator.cs: correctly process script tags that self-closing.
  952. Fixes bug #69657.
  953. 2004-10-27 Gonzalo Paniagua Javier <[email protected]>
  954. * CachingCompiler.cs: when compiling a single .cs file, add the file
  955. itself to dependencies. Fixes bug #68788.
  956. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  957. * ControlBuilder.cs: don't close server tags when we get to a closing
  958. tag that is not applied to a server control. Fixes bug #60323.
  959. 2004-09-08 Gonzalo Paniagua Javier <[email protected]>
  960. * WebServiceCompiler.cs: fix buglet in my last commit.
  961. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  962. * BaseCompiler.cs:
  963. * CachingCompiler.cs:
  964. * WebServiceCompiler.cs: correctly cache Type instead of the assembly
  965. for ashx/asmx. Otherwise we need to open the file and check for the
  966. class name in there. Thanks to Ben for pointing this out.
  967. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  968. * AspParser.cs:
  969. * AspTokenizer.cs: prevent quotes from being swallowed when we're
  970. inside a server tag and they are the next non-whitespace character.
  971. Fixes bug #63451.
  972. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  973. * CachingCompiler.cs: don't try to watch for changes in system
  974. assemblies. Fixes bug #64871.
  975. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  976. * AspGenerator.cs: handle builders that need to process inner text
  977. with tags.
  978. * Location.cs: added setters for the properties.
  979. 2004-08-02 Duncan Mak <[email protected]>
  980. * BuildProviderResultFlags.cs:
  981. * IImplicitResourceProvider.cs:
  982. * ImplicitResourceKey.cs:
  983. * IResourceReader.cs: Added.
  984. 2004-07-21 Gonzalo Paniagua Javier <[email protected]>
  985. * AspGenerator.cs: the path for file was treated as virtual, but it's
  986. physical. Fixes bug #61524.
  987. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  988. * AspParser.cs: fixed case-sensitivity issues with #include and its
  989. attributes. Closes #61429.
  990. 2004-07-07 Gonzalo Paniagua Javier <[email protected]>
  991. * BaseCompiler.cs:
  992. * WebServiceCompiler.cs: really create the dlls under DynamicBase
  993. 2004-06-19 Gonzalo Paniagua Javier <[email protected]>
  994. * TemplateControlCompiler.cs: for system colors, use SystemColors class
  995. instead of Color. Fixes bug #60249.
  996. 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
  997. * BaseCompiler.cs: try getting the Type from the cache before doing the
  998. real work. Remove temporary files right after successful compilation.
  999. * CachingCompiler.cs: added GetTypeFromCache.
  1000. * UserControlCompiler.cs: nothing interesting.
  1001. * WebServiceCompiler.cs: try getting the Type from the cache before
  1002. doing anything else. Remove temp files on sucessful compilation.
  1003. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  1004. * AspGenerator.cs:
  1005. * CachingCompiler.cs: use a different prefix when caching compiler
  1006. results or Types.
  1007. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  1008. * BaseCompiler.cs: dynamicBase is now protected. Check
  1009. MONO_ASPNET_NODELETE here.
  1010. * TemplateControlCompiler.cs: if the type is not known but has a
  1011. TypeConverter, invoke ConvertFromString in the generated code.
  1012. * WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
  1013. the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
  1014. * CachingCompiler.cs: updated compilation of web services and simple
  1015. web handlers.
  1016. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  1017. * CSCompiler.cs: removed.
  1018. * CachingCompiler.cs: language independent compilation for single files.
  1019. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  1020. * BaseCompiler.cs:
  1021. * WebServiceCompiler.cs: adapted to the 'new' CachingCompiler.
  1022. * CachingCompiler.cs: use HttpRuntime.Cache.
  1023. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  1024. * PageCompiler.cs: fixed Trace and add support for Buffer.
  1025. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  1026. * PageCompiler.cs: override CreateConstructor to add assignment for
  1027. ClientTarget.
  1028. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  1029. * TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
  1030. of CodeObjectCreateExpression for the render method delegate. Thanks
  1031. to Jochen Wezel.
  1032. 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
  1033. * BaseCompiler.cs: use DynamicBase for the output assemblies.
  1034. 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
  1035. * AspGenerator.cs: ObjectTagBuilder do not override HasBody now.
  1036. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  1037. * AspParser.cs: indent a few lines.
  1038. * AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
  1039. attribute value. This way we can simulate reading 2 characters ahead
  1040. (one in ungetc and the other in Peek) and work with values like
  1041. text/javascript. Fixes bug #57302.
  1042. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  1043. * AspParser.cs: ignore whitespace after directives. Fixes bug #58057.
  1044. 2004-04-02 Lluis Sanchez Gual <[email protected]>
  1045. * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
  1046. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  1047. * GlobalAsaxCompiler.cs: removed Imports and Assemblies properties.
  1048. 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
  1049. * AspGenerator.cs: error out when <object> server tag is not closed.
  1050. Ignore any content inside it.
  1051. 2004-02-10 Jackson Harper <[email protected]>
  1052. * AspTokenizer.cs: Collect discarded characters that might be used
  1053. in client side scripts. Patch by Liyu Liu.
  1054. * AspParser.cs: Add discarded characters. Patch by Liyu Liu.
  1055. 2004-02-10 Jackson Harper <[email protected]>
  1056. * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
  1057. bug #54117.
  1058. 2004-01-30 Jackson Harper <[email protected]>
  1059. * TemplateControlCompiler.cs: Call ToString on the types hashcode,
  1060. the build method takes strings not ints.
  1061. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  1062. * AspGenerator.cs: handle more possible errors in global.asax file.
  1063. * BaseCompiler.cs: added utility methods for creating <object> related
  1064. properties and fields.
  1065. * GlobalAsaxCompiler.cs: keep around applications and session scope
  1066. objects builders. Also a list of imports and assemblies added in
  1067. global.asax.
  1068. * TemplateControlCompiler.cs: use base class methods for <object> stuff.
  1069. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  1070. * AspGenerator.cs: use the Cache to store compiled Types. Don't parse
  1071. pages more than once. Thanks to Eric Lindvall for pointing this out.
  1072. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  1073. * TemplateControlCompiler.cs: allow handling subproperties for other
  1074. types than Style and Font. Fixes bug #53217.
  1075. 2004-01-16 Jackson Harper <[email protected]>
  1076. * TagAttribute.cs: attributes can be stored as encoded html so we
  1077. decode them here.
  1078. 2004-01-14 Jackson Harper <[email protected]>
  1079. * TemplateControlCompiler.cs: Is a user control is cached and
  1080. shared use the controls type hashcode for the GUID so it will be
  1081. the same across instances.
  1082. 2004-01-13 Jackson Harper <[email protected]>
  1083. * TemplateControlCompiler.cs: If an item has the partial caching
  1084. attribute build a PartialCachingControl in the parents __Build method.
  1085. * BaseCompiler.cs: Add a method for adding class attributes to the
  1086. class.
  1087. * UserControlCompiler.cs: If caching is enabled on a user control
  1088. add the PartialCachingAttribute to it.
  1089. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  1090. * PageCompiler.cs: invoke Request.ValidateInput if required.
  1091. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  1092. * AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
  1093. #52521. Patch by [email protected].
  1094. 2003-12-25 Jackson Harper <[email protected]>
  1095. * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
  1096. #52522.
  1097. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  1098. * PageCompiler.cs: assign the ErrorPage property if provided.
  1099. 2003-12-15 Jackson Harper <[email protected]>
  1100. * PageCompiler.cs: Add Trace and TraceMode to framework initialize
  1101. method if they are set.
  1102. 2003-12-15 Gonzalo Paniagua Javier <[email protected]>
  1103. * AspGenerator.cs: ignore <tbody> when we're inside a server table and
  1104. fail when runat="server" is applied to <tbody> with a parse error
  1105. instead of waiting for a compilation error. Fixes bug #52157.
  1106. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  1107. * AspGenerator.cs: basic checking of ID validity. Throw a
  1108. ParseException when mixing languages.
  1109. 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
  1110. * PageCompiler.cs: assign LCID, Culture and/or UICulture in
  1111. FrameworInitialize() if provided in @Page.
  1112. Fixes bug #51511.
  1113. 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
  1114. * TemplateControlCompiler.cs: support for expressions of
  1115. System.Drawing.Size type. Allow getting Color from comma separated
  1116. numbers, which is not allowed by ColorConverter.
  1117. This makes http://www.codeproject.com/aspnet/asppopup.asp work.
  1118. 2003-11-13 Jackson Harper <[email protected]>
  1119. * PageCompiler.cs: Call InitOutputCache when the OutputCache
  1120. directive is set.
  1121. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  1122. * AspGenerator.cs: use fileEncoding from configuration files.
  1123. * PageCompiler.cs: add assign statements for ContentType,
  1124. ResponseEncoding and CodePage if supplied.
  1125. 2003-10-21 Gonzalo Paniagua Javier <[email protected]>
  1126. * TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
  1127. a return statement for user controls with 'void' return type.
  1128. 2003-10-19 Gonzalo Paniagua Javier <[email protected]>
  1129. * AspParser.cs: fixed bug #49627.
  1130. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  1131. * BaseCompiler.cs: now gets the CodeCompiler from configuration files.
  1132. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  1133. * Directive.cs: new attribute for @Page directive in 1.1.
  1134. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  1135. * AspParser.cs:
  1136. * TagAttributes.cs: allow duplicated runat=server attributes and display
  1137. error page when duplicated attributes and runat is specified.
  1138. 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
  1139. * AspTokenizer.cs: moved token numbers above unicode.
  1140. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  1141. * AspGenerator.cs: don't process code render tags inside scripts. Check
  1142. the language of the script and treat javascript as verbatim input.
  1143. Fixes bug #48592.
  1144. 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
  1145. * TemplateControlCompiler.cs: fixed bug #48212.
  1146. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  1147. * WebServiceCompiler.cs: remove the temporary files here too.
  1148. 2003-08-03 Gonzalo Paniagua Javier <[email protected]>
  1149. * AspGenerator.cs: fixed bug #46429.
  1150. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  1151. * Directive.cs: support @WebHandler.
  1152. 2003-07-16 Gonzalo Paniagua Javier <[email protected]>
  1153. * TemplateControlCompiler.cs: support string []. Fixes bug #46415.
  1154. 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
  1155. * BaseCompiler.cs: first look for cached items, then generate the tree.
  1156. This should speed things up.
  1157. * CachingCompiler.cs: when compiling web services, use the full path of
  1158. the .asmx file as key when caching.
  1159. * WebServiceCompiler.cs: first look for cached items, then generate
  1160. the source file.
  1161. 2003-07-04 Gonzalo Paniagua Javier <[email protected]>
  1162. * AspParser.cs: more useful error information,
  1163. * BaseCompiler.cs:
  1164. * CachingCompiler.cs: honor the debug="true" option.
  1165. * TemplateControlCompiler.cs: small fixes for templates.
  1166. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  1167. * BaseCompiler.cs: made Compiler property virtual.
  1168. * CachingCompiler.cs: added support for compiling web services.
  1169. * WebServiceCompiler.cs: implemented.
  1170. 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
  1171. * CachingCompiler.cs: fixed bug #43477.
  1172. 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
  1173. * AspParser.cs:
  1174. * AspTokenizer.cs: fixed bugs #43206 and #43371.
  1175. 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
  1176. * TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
  1177. of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
  1178. reporting.
  1179. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  1180. * CompilationException.cs: don't add duplicated lines in the case that
  1181. mcs reports several errors for the same one.
  1182. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  1183. * AspGenerator.cs: fully support including files, ie., treat them just
  1184. as C treats #includes.
  1185. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  1186. * AspGenerator.cs:
  1187. * AspParser.cs:
  1188. * TagType.cs: Added support for server side includes.
  1189. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  1190. * CSCompiler.cs: actually add the list of referenced assemblies to the
  1191. compiler options. Throw a CompilationException if there's an error.
  1192. * CachingCompiler.cs: added a method to compile directly from a source
  1193. file.
  1194. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  1195. * AspGenerator.cs: copy the location before setting the value for the
  1196. control builders.
  1197. * BaseCompiler.cs: changed parameters for CompilationException.
  1198. * CompilationException.cs: it takes now line numbers and error
  1199. descriptions from the CompilerErrorCollection.
  1200. * Location.cs: used when a copy of an ILocation is needed.
  1201. * ParseException.cs: implemented new methods to provide line numbers
  1202. and souce file.
  1203. * TemplateControlCompiler.cs: throw a ParseException where appropiate.
  1204. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  1205. * AspGenerator.cs: also support data bind syntax inside tags not
  1206. processed as controls. Added debugging method.
  1207. * TemplateControlCompiler.cs: reset the number of data binding handlers
  1208. in the proper place. Small fix when getting the container type.
  1209. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1210. * TemplateControlCompiler.cs: correctly set the TemplateSourceDirectory
  1211. value.
  1212. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1213. * AspGenerator.cs: handle code render syntax in tag attributes.
  1214. * AspParser.cs: the constructor now takes a TextReader.
  1215. * TemplateControlCompiler.cs: removed comment.
  1216. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1217. * TemplateControlCompiler.cs: added support for data bound properties.
  1218. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1219. * AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
  1220. instead of their names.
  1221. * AspElements.cs: removed. No longer needed.
  1222. * AspGenerator.cs: this file is now in charge of interfacing between
  1223. the parser and the compiler. It manages the creation of the
  1224. ControlBuilder tree and the compilation of the CodeDOM tree.
  1225. * AspParser.cs: tag handling is simpler now. Instead of a whole bunch
  1226. of different Types, tags are just and id and a set of attributes.
  1227. Implement ILocation interface.
  1228. * AspTokenizer.cs: added a few methods to help the parser implementing
  1229. ILocation.
  1230. * BaseCompiler.cs: handles the portions of the CodeDOM tree that are
  1231. common to appliaction, page and user control, including the actual
  1232. compilation and error handling.
  1233. * CSCompiler.cs: compiles C# files using CodeDOM interfaces.
  1234. * CachingCompiler.cs: simplified to use the new interfaces.
  1235. * CompilationException.cs: it's now using CompilationResult to report
  1236. errors.
  1237. * CompilationResult.cs: Removed file.
  1238. * Directive.cs: to check for the validity of a directive.
  1239. * GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
  1240. in BaseCompiler.
  1241. * ILocation.cs: interface used to now the exact place where a parse
  1242. error happens.
  1243. * PageCompiler.cs: generates a couple of methods that are only used in
  1244. pages.
  1245. * ParseException.cs: use the ILocation interface.
  1246. * TagAttributes.cs: handles the attributes of the tags parsed.
  1247. * TagType.cs: an enum for the different kinds of tags.
  1248. * TemplateControlCompiler.cs: this is the one that does most of the
  1249. conversion from teh ControlBuilder tree into a CodeDOM tree.
  1250. * UserControlCompiler.cs: simplified as most of the work is done in
  1251. its base classes.
  1252. * WebServiceCompiler.cs: dummy.
  1253. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  1254. * AspComponentFoundry.cs: added GetComponentType method.
  1255. 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
  1256. * AspTokenizer.cs: allow quotes inside server tags that are part of
  1257. attribute values.
  1258. * CachingCompiler.cs: no more 'FileNotFound' exceptions when the
  1259. compilation fails.
  1260. 2003-03-27 Gonzalo Paniagua Javier <[email protected]>
  1261. * AspGenerator.cs: generate correct appbase path. It was working with
  1262. mcs but not with csc.
  1263. * BaseCompiler.cs: quote arguments and removed GetRandomFileName.
  1264. * CachingCompiler.cs: quote source file.
  1265. 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
  1266. * AspGenerator.cs: now the Inherits attribute works as expected for
  1267. global.asax file.
  1268. 2003-03-24 Gonzalo Paniagua Javier <[email protected]>
  1269. * CompilationException.cs:
  1270. * ParseException.cs: display the correct line number in error messages.
  1271. * AspElements.cs: added TargetSchema attribute for control. It's
  1272. ignored.
  1273. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  1274. * BaseCompiler.cs: fixed the hack to work under windows.
  1275. * CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.
  1276. 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
  1277. * BaseCompiler.cs: hacks to work-around our buggy System.Uri.
  1278. 2003-03-17 George Kodinov <[email protected]>
  1279. * BaseCompiler.cs: Removed a FIXME: and added a correct calculation of
  1280. app's private bin path
  1281. 2003-03-10 Gonzalo Paniagua Javier <[email protected]>
  1282. * AspGenerator.cs:
  1283. * BaseCompiler.cs:
  1284. * CachingCompiler.cs:
  1285. * CompilationResult.cs:
  1286. * GlobalAsaxCompiler.cs:
  1287. * PageCompiler.cs:
  1288. * UserControlCompiler.cs: recompile the page if dependencies change.
  1289. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  1290. * AspGenerator.cs: corrected typo and wrong fix.
  1291. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  1292. * AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
  1293. when used explicitly.
  1294. 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
  1295. * AspElements.cs: get the property Type for controls that use
  1296. ParseChildren with a property name.
  1297. * AspGenerator.cs: generate correct signature for the method that
  1298. adds controls to the default property in ParseChildren.
  1299. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  1300. * AspGenerator.cs: rethrow exceptions that may come from parsing or
  1301. compilation if a user control.
  1302. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  1303. * AspGenerator.cs: throw ParseException on parse
  1304. error.
  1305. * AspParser.cs: added Line and Column props.
  1306. * CompilationException.cs: derives now from HtmlizedException.
  1307. * CompilationResult.cs: added fileName field. Fixed set_ExitCode.
  1308. * GlobalAsaxCompiler.cs:
  1309. * PageCompiler.cs:
  1310. * UserControlCompiler.cs: pass the file name in the CompilationResult.
  1311. * ParseException.cs: new exception.
  1312. 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
  1313. * AspGenerator.cs: remove "file://" from the private bin path. Fixes
  1314. bug #37628.
  1315. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  1316. * AspParser.cs: the parser fires events when it parses an element.
  1317. * GlobalAsaxCompiler.cs:
  1318. * PageCompiler.cs:
  1319. * UserControlCompiler.cs:
  1320. * AspElements.cs: modified to use the new parser interface.
  1321. * AspGenerator.cs: modified to use the new parser. Merge multiple text
  1322. strings into one single LiteralControl.
  1323. * AspTokenizer.cs: added Line and Column properties.
  1324. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  1325. * AspParser.cs: fixed bug #36929.
  1326. 2003-01-21 Tim Haynes <[email protected]>
  1327. * AspGenerator.cs:
  1328. * BaseCompiler.cs:
  1329. * CachingCompiler.cs: changes to work around spaces and
  1330. directory-separators in the local filesystem.
  1331. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  1332. * AspGenerator.cs: make the generated file compile with csc after last
  1333. change.
  1334. 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
  1335. * AspGenerator.cs: removed unused variable. Added support for
  1336. properties/fields of type string [].
  1337. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  1338. * AspGenerator.cs: modified loading of the parent type now that
  1339. Type.GetType is fixed.
  1340. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  1341. * AspGenerator.cs: cast to Control if the container does not implement
  1342. INamingContainer.
  1343. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  1344. * AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.
  1345. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  1346. * AspElements.cs: attributes without value lacked a space afterwards.
  1347. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  1348. * AspGenerator.cs: functions for columns don't return anything. Fixed
  1349. typo.
  1350. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  1351. * AspGenerator.cs: add data bound controls to code render function.
  1352. 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
  1353. * AspComponentFoundry.cs: reworked to allow same prefix for multiple
  1354. controls. You can register 1 assembly plus any number of user controls
  1355. under the same prefix.
  1356. * AspGenerator.cs: don't add duplicate 'using' for the same namespace.
  1357. Hack to allow @Register access to assemblies in other places than bin
  1358. directory.
  1359. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  1360. * AspElements.cs: added 'codebehind' attribute for page, control and
  1361. application. It's ignored by MS, but allowed. Fixed typo.
  1362. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  1363. * AspGenerator.cs: fixed EnableSesssionState handling.
  1364. 2003-01-05 Gonzalo Paniagua Javier <[email protected]>
  1365. * AspGenerator.cs: don't generate instance fields for pages/controls
  1366. when the base class specified in the Inherits attribute already has
  1367. them. Closes bug #36262.
  1368. 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
  1369. * AspGenerator.cs: generate code like 'control.XXX = value' also for
  1370. public fields (properties were being handled in that way too).
  1371. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  1372. * AspGenerator.cs: now it uses the current HttpContext when creating
  1373. user controls. TemplateSourceDirectory is no longer a dummy value.
  1374. * GlobalAsaxCompiler.cs:
  1375. * PageCompiler.cs:
  1376. * UserControlCompiler.cs: set the context which will be used to locate
  1377. the files.
  1378. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  1379. * AspGenerator.cs: added support for AutoEventWireup attribute in
  1380. @Page and @Control.
  1381. * CompilationResult.cs:
  1382. * GlobalAsaxCompiler.cs:
  1383. * PageCompiler.cs:
  1384. * UserControlCompiler.cs: store the options.
  1385. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  1386. * AspElements.cs: new method Tag.GetElements
  1387. used to parse the inner contents of a tag looking for data binding or
  1388. code render tags.
  1389. New property HtmlControlTag.ParseChildren allows
  1390. differentiation of a couple of HtmlControls that has children as
  1391. properties (namely HtmlTable and HtmlTableRow).
  1392. * AspGenerator.cs: fixed container semantics to
  1393. match BindingContainer one. Implemented Inherits attribute for page and
  1394. control.
  1395. Support HtmlControls that has ChildrenAsProperties.
  1396. Generate code for data binding functions that matches the semantic of
  1397. Container.
  1398. Handle data bound and code render attribute values.
  1399. Set proper value return for TemplateSourceDirectory. Should be relative
  1400. to appPath.
  1401. * BaseCompiler.cs: moved CompilerOptions and
  1402. References handling here.
  1403. * CachingCompiler.cs: copy result of compilation.
  1404. * CompilationException.cs: simple ToString () implementation.
  1405. * CompilationResult.cs: implemented CopyFrom and ToString.
  1406. * GlobalAsaxCompiler.cs:
  1407. * PageCompiler.cs:
  1408. * UserControlCompiler.cs: removed CompilerOptions as it's now handled
  1409. in the base class. Get all the types in the generated assembly and
  1410. look for one that derives from the correct Type.
  1411. 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
  1412. * AspElements.cs: added @Application directive.
  1413. * AspGenerator.cs: make it work also with application files. We
  1414. currently generate an extra private function.
  1415. 2002-11-29 Gonzalo Paniagua Javier <[email protected]>
  1416. * GlobalAsaxCompiler.cs: compiler for global.asax file. If the file
  1417. exists, it will be compiled into an HttpApplication derived class
  1418. (directly or through a user-provided class).
  1419. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  1420. * AspGenerator.cs: fixed target file name and generated class name.
  1421. * BaseCompiler.cs: reference assemblies in PrivateBinPath.
  1422. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  1423. * AspGenerator.cs: reworked user control
  1424. compilation. Provide the options as a Hashtable for use in compilation.
  1425. Create the user controls in the private bin path of the domain.
  1426. * BaseCompiler.cs: base class for the various compiler types.
  1427. * CachingCompiler.cs: actually executes mcs and do some poor caching
  1428. (it will use Cache when finished).
  1429. * CompilationException.cs: this exception has enough information to
  1430. generate a nice error page.
  1431. * CompilationResult.cs: used in caching.
  1432. * PageCompiler.cs: now derives from BaseCompiler
  1433. * TemplateFactory.cs: no longer needed.
  1434. * UserControlCompiler.cs: new class used when compiling user controls.
  1435. * WebServiceCompiler.cs: derives from BaseCompiler.
  1436. 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
  1437. * AspElements.cs: added ServerComment class.
  1438. * AspParser.cs: ignore ServerComments tags. Remove server comments when
  1439. in verbatim mode.
  1440. Fixes #33482.
  1441. * PageCompiler.cs: check if the type is already cached before generating
  1442. the C# file.
  1443. * TemplateFactory.cs: if csFile parameter is null, only checks if we
  1444. already have the page compiled.
  1445. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  1446. * AspGenerator.cs: undo one-liner change.
  1447. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  1448. * AspGenerator.cs: removed a few hacks no longer needed.
  1449. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  1450. * PageCompiler.cs: tracing.
  1451. * TemplateFactory.cs: cache compiled types and tracing.
  1452. * WebServiceCompiler.cs: new parameter in GetTypeFromsource,
  1453. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  1454. * AspComponentFoundry.cs: fixed typo.
  1455. * TemplateFactory.cs: use csc style options.
  1456. * AspGenerator.cs: don't use FileDependencies property of base class.
  1457. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  1458. * System.Web.Compilation/AspElements.cs:
  1459. * System.Web.Compilation/AspGenerator.cs:
  1460. * System.Web.Compilation/AspParser.cs:
  1461. * System.Web.Compilation/PageCompiler.cs:
  1462. * System.Web.Compilation/TemplateFactory.cs: we are now able to compile
  1463. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  1464. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  1465. * AspElements.cs: added WebService directive.
  1466. * WebServiceCompiler.cs: New file.
  1467. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1468. * PageCompiler.cs: fixed compilation.
  1469. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1470. * PageCompiler.cs: generate C# file using AspGenerator.
  1471. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1472. * AspComponentFoundry.cs: LookupFoundry now returns bool.
  1473. * AspGenerator.cs: New file.
  1474. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  1475. * AspComponentFoundry.cs: New file.
  1476. * AspElements.cs: renamed Component to Aspcomponent.
  1477. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  1478. * AspElements.cs:
  1479. * AspParser.cs:
  1480. * AspTokenizer.cs:
  1481. * ChangeLog:
  1482. * PageCompiler.cs:
  1483. * TemplateFactory.cs: first steps to move xsp into System.Web.