ChangeLog 85 KB

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