ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. 2006-11-25 Marek Habersack <[email protected]>
  2. * AggregateCacheDependency.cs: A small code optimization.
  3. 2006-11-14 Marek Habersack <[email protected]>
  4. * Cache.cs:
  5. * CacheDependency.cs:
  6. * AggregateCacheDependency.cs: implement this one.
  7. 2006-09-11 Andrew Skiba <[email protected]>
  8. * CacheDependency.cs: ifdef TARGET_JVM
  9. 2006-08-03 Gonzalo Paniagua Javier <[email protected]>
  10. * CacheDependency.cs:
  11. * Cache.cs: check dependencies on other cache keys. Fixes bug #79002.
  12. 2006-03-18 Robert Jordan <[email protected]>
  13. * OutputCacheModule.cs: invoke the validation callbacks of
  14. HttpCachePolicy. Fixes bug #77825.
  15. 2006-03-14 Robert Jordan <[email protected]>
  16. * CachedVaryBy.cs: Fixed VaryByParam="*". Replaced request.Param
  17. with QueryString and Form lookups. Made the param name output case
  18. insensitive. Fixes bug #77757.
  19. 2005-10-24 Gonzalo Paniagua Javier <[email protected]>
  20. * Cache.cs: new internal method.
  21. 2005-09-08 Eyal Alaluf <[email protected]>
  22. * OutputCacheModule.cs: Use C# 1.0 style of delegate instantiating.
  23. Needed to compile Grasshopper (TARGET_J2EE) which uses MS C# 1.0
  24. compiler and does not use msc.
  25. 2005-09-02 Gonzalo Paniagua Javier <[email protected]>
  26. * Cache.cs: ignore exceptions thrown by removed item callbacks.
  27. 2005-09-02 Sebastien Pouliot <[email protected]>
  28. * Cache.cs: Added security permissions with Minimal level for
  29. AspNetHostingPermissionLevel (only LinkDemand as the class is sealed).
  30. * CacheDependency.cs: : Added security permissions with Minimal level
  31. for AspNetHostingPermissionLevel (note class is sealed only in 1.x).
  32. 2005-09-01 Eyal Alaluf <[email protected]>
  33. * CacheDependency.cs: TARGET_J2EE fixes.
  34. 2005-08-20 Gonzalo Paniagua Javier <[email protected]>
  35. * CacheDependency.cs: add missing ctor.
  36. 2005-08-15 Jackson Harper <[email protected]>
  37. * CacheItemPriority.cs:
  38. * CacheItemRemovedCallback.cs:
  39. * CacheItemRemovedReason.cs: New implementations.
  40. 2005-07-30 Miguel de Icaza <[email protected]>
  41. * OutputCacheModule.cs: Make synchronous.
  42. 2005-07-15 Lluis Sanchez Gual <[email protected]>
  43. * Cache.cs: New implementation.
  44. * CacheDependency.cs: New implementation.
  45. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  46. * Cache.cs: added new InsertPrivate overload.
  47. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  48. * Cache.cs:
  49. * CacheEntry.cs: style. Removed doc. comments.
  50. 2005-06-08 Ilya Kharmatsky <ilyak-at-mainsoft.com>
  51. * CacheDependency.cs - added TARGET_JVM directives in places,
  52. where file watching is using (Mainsoft's implementation currently
  53. doesn't support the feature).
  54. 2005-05-09 Gonzalo Paniagua Javier <[email protected]>
  55. * CacheEntry.cs: credits for this patch should go to mcs. it catched
  56. that the code after 'if ((_enumFlags & Flags.Removed) != 0)' was
  57. unreachable.
  58. 2005-04-28 Gonzalo Paniagua Javier <[email protected]>
  59. * ExpiresBuckets.cs:
  60. * Cache.cs:
  61. * CacheExpires.cs: fix NullReferenceException thrown sometimes when
  62. using sliding expiration and under high load. Patch by Eyal Alayuf from
  63. Mainsoft.
  64. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  65. * CacheDependency.cs: remove warnings.
  66. 2005-04-01 Gonzalo Paniagua Javier <[email protected]>
  67. * CachedVaryBy.cs: fixed VaryByParam and wildcard (*). Patch by Ilya
  68. Kharmatsky (Mainsoft) that fixes bug #73981.
  69. 2005-04-01 Lluis Sanchez Gual <[email protected]>
  70. * CachedRawResponse.cs: Fix warning.
  71. 2004-11-08 Gonzalo Paniagua Javier <[email protected]>
  72. * CacheEntry.cs: convert the external DateTime to GMT, as everything
  73. else uses that timezone. Fixes bug #69194.
  74. 2004-10-03 Ben Maurer <[email protected]>
  75. * Cache.cs, CacheEntry.cs, CacheExpires.cs, ExpiresBuckets.cs:
  76. use UtcNow rather than Now.
  77. 2004-05-27 Patrik Torstensson <[email protected]>
  78. * ExpiresBucket.cs (FlushExpiredItems): fix csc and a typo bug
  79. 2004-05-27 Patrik Torstensson <[email protected]>
  80. * CacheEntry.cs,CacheExpires.cs,ExpiresBucket.cs,
  81. Cache.cs : Fixed deadlock issues, fixed
  82. items not correctly being flushed, fixed update
  83. of item when expiration has been updated more
  84. than 1 min (placed in wrong bucket),
  85. fixed deadlock during cache callback when item
  86. is removed due to expiriation.
  87. Rewrite of locking handling in Cache class, leading
  88. to better performance and less bugs.
  89. This rewrite is due to a number of bugs found
  90. in the output caching during load (leading to memory
  91. leaks and deadlocks)
  92. 2004-05-16 Patrik Torstensson <[email protected]>
  93. * ExpiresBucket.cs: Style changes plus;
  94. (Update): Fixed possible lock bug (bug 54531)
  95. (Expand): remove lock optimization due to it can cause newly
  96. added items to be lost.
  97. (Remove): fixed possible lock bug.
  98. 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
  99. * Cache.cs: fix from Jan Jaros for NullRef (bug #56996).
  100. 2004-04-07 Lluis Sanchez Gual <[email protected]>
  101. * Cache.cs, CacheEntry.cs, ExpiresBuckets.cs: The value to use to
  102. specify infinite timeout in ReaderWriterLock is -1, not 0.
  103. 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
  104. * Watcher.cs: Removed file. Jackson made it obsolete and already
  105. removed it from the .sources file.
  106. 2004-02-09 Jackson Harper <[email protected]>
  107. * ExpiresBucket.cs: Remove duplicate code. Fixes bug #54031.
  108. 2004-02-09 Jackson Harper <[email protected]>
  109. * Cache.cs: Close entries that are removed.
  110. * CacheDependency.cs: Use FileSystemWatcher instead of custom
  111. Watcher for file dependencies.
  112. * OutputCacheModule.cs: Make the varyby objects dependent on the
  113. cached page.
  114. 2004-02-05 Jackson Harper <[email protected]>
  115. * CacheDependency.cs: Handle cache keys that have not been added
  116. to the cache yet.
  117. 2004-02-02 Jackson Harper <[email protected]>
  118. * OutputCacheModule.cs: We can use file dependancies now.
  119. 2004-01-14 Jackson Harper <[email protected]>
  120. * Cache.cs: Return null when items are expired but have not been
  121. removed yet.
  122. * OutputCacheModule.cs: Handle sliding expirations. Remove hacks
  123. checking if the item is expired, the cache no longer returns
  124. expired items.
  125. 2004-01-14 Jackson Harper <[email protected]>
  126. * Cache.cs: When using sliding expiration update the cache objects
  127. expires time as well as the expires entry expire time because the
  128. objects expire time is checked when objects are pulled out. This
  129. fixex bug #52778.
  130. 2004-01-11 Jackson Harper <[email protected]>
  131. * OutputCacheModule.cs: Remove varyby objects when there are no
  132. more raw responses that belong to them.
  133. * CachedRawResponse.cs: Keep a reference to the VaryBy object that
  134. this response belongs to this is so the varyby can be cleaned up.
  135. * CachedVaryBy.cs: Keep a reference to the keys that belong to the
  136. varyby and a reference to the varyby's key.
  137. 2004-01-04 Jackson Harper <[email protected]>
  138. * OutputCacheModule.cs: Dont cache items when trace is enabled.
  139. 2004-01-04 Jackson Harper <[email protected]>
  140. * OutputCacheModule.cs: Update the date header value.
  141. * CachedRawResponse.cs: Expose a ref to the date header, so it can
  142. be easily set/updated. Remove unused methods and vars.
  143. 2004-01-04 Jackson Harper <[email protected]>
  144. * CacheDependency.cs: Copy all the entries into the entries array,
  145. set on removed callback for items that we are dependent on.
  146. * Cache.cs: Add method to get CacheEntry objects.
  147. * OutputCacheModule.cs: Make raw repsonse entries dependent on
  148. their varyby param entries.
  149. 2004-01-04 Jackson Harper <[email protected]>
  150. * OutputCacheModule.cs: VaryBy keys now need the HttpContext not just the request.
  151. * CachedVaryBy.cs: Handle vary by headers, and vary by custom.
  152. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  153. * ExpiresBuckets.cs: set _intPos when expanding the array. Fixes bug
  154. 52541. Patch by Jan Jaros ([email protected]).
  155. 2003-11-21 Jackson Harper <[email protected]>
  156. * OutputCacheModule.cs: Only cache a page if it has a 200 status
  157. code. Fix tabbing.
  158. * CachedVaryBy.cs: Give raw response keys a name, use the
  159. httpmethod in the key, and delimit items with \n so it is easier
  160. to read when debugging.
  161. 2003-11-21 Jackson Harper <[email protected]>
  162. * OutputCacheModule.cs: Store a CachedVaryBy object for each
  163. cached page. Then store a CachedRawResponse for each combination
  164. of varried parameters for a page.
  165. * CachedRawResponse.cs: Do not need to store param values anymore
  166. those are stored in the CachedVaryBy now. Get the content length
  167. so we dont send back the entire buffer.
  168. * CachedVaryBy.cs: New file - holds the varyby data for a page,
  169. and a method to generate a key based on params. Right now this
  170. only works with VaryByParams. TODO: support VaryByHeaders and
  171. VaryByCustom.
  172. 2003-11-20 Jackson Harper <[email protected]>
  173. * Cache.cs: New method so non public cache items can be added.
  174. * CachedRawResponse.cs: New file - A snapshot of a response that
  175. is stored in the cache and can be used to create a new response.
  176. * OutputCacheModule.cs: Module for inserting and retrieving
  177. responses from the cache.
  178. 2003-04-09 Gonzalo Paniagua Javier <[email protected]>
  179. * CacheDependency.cs:
  180. * CacheEntry.cs:
  181. * Watcher.cs: added a FileSystemWatcher-like class for dependency checking.
  182. 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
  183. * Cache.cs:
  184. * CacheDefinitions.cs:
  185. * CacheDependency.cs:
  186. * CacheEntry.cs:
  187. * CacheExpires.cs:
  188. * ExpiresBuckets.cs: reformatted, make class status page happier. Does
  189. not work yet (wait for the next patch).
  190. 2002-12-27 Daniel Cazzulino <[email protected]>
  191. * CacheEntry.cs: several changes. New constants, use of constants
  192. defined in Cache.cs, modified locks to optimize perf. Fixed property
  193. sets which weren't using the keyword value to set the new values
  194. (don't know how this worked before!).
  195. * Cache.cs: changed singleton implementation to only create the object
  196. when actually used. Changed Insert overloads to use constants
  197. defined instead of hard values.
  198. * ExpiresBuchets: major changes. All locking now uses ReaderWriterLock
  199. class. Bucket now efectively reuses free indexes from removed items
  200. to avoid unnecessary expansions. Expansion now uses Array.CopyTo to
  201. add elements to the new list. Added private Int32Collection to
  202. handle int indexes efficiently (thanks Shawn Van Ness). See comments
  203. there.
  204. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  205. * Cache.cs: little fixes.
  206. 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
  207. * CacheDefinitions.cs: fixed a couple of enums.
  208. * CacheDependency.cs: the class is sealed.
  209. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  210. * CacheDependency.cs: fixed a couple of typos and don't throw
  211. NotImplementedException in constructors.
  212. 2001-12-21 Gaurav Vaish <[email protected]>
  213. * CacheDependency.cs: Some unimplemented methods to make build
  214. 2001-07-20 Patrik Torstensson ([email protected])
  215. * Cache.cs: Implemented. (90% ready)
  216. * CacheDefinitions.cs: Implemented.
  217. * CacheDependency.cs: Added. (20% ready)
  218. * CacheExpires: Implemented.
  219. * CacheEntry.cs: Implemented. (95% ready, going to be changed due to CacheDependecy support)
  220. * ExpiresBuckets.cs: Implemented.