ChangeLog 9.4 KB

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