ChangeLog 13 KB

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