ChangeLog 10 KB

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