2580 Commits

Author SHA1 Message Date
valeski%netscape.com
343585ffe8 sr=rpotts. 39987. handling broken servers which don't provide a boundary token in the first block. also protecting against stray parsing which can result in crashes. 2001-02-27 12:33:12 +00:00
darin%netscape.com
28c029ce16 Fixed a minor bug. 2001-02-27 09:38:09 +00:00
darin%netscape.com
c5ad81d47d Adding myself in the contributor section. 2001-02-27 09:34:12 +00:00
darin%netscape.com
7c13c3763f Added a test file for exercising the mem cache transport. 2001-02-27 09:30:41 +00:00
darin%netscape.com
ae2d382ff8 [not part of the build] Added a debug-only CID for nsMemoryCacheTransport
to allow this class to be independently tested.
2001-02-27 09:06:11 +00:00
dveditz%netscape.com
17034612db fix for topcrash bug 65798, r=neeti, sr=rpotts 2001-02-27 07:41:55 +00:00
beard%netscape.com
57deaf036e [not part of build] added other new files. 2001-02-27 05:50:57 +00:00
beard%netscape.com
b38a2785a4 Gordon has much more to say about the last few checkins... But we forgot to wire up nsCacheEntryDescriptor::MarkValid() to nsCacheEntry::MarkValid(). Enjoy the ride. 2001-02-27 05:43:16 +00:00
gordon%netscape.com
da22074c6d Changed GetKey() to return key as return value, rather than out parameter. Added flag predicates for storage policy. 2001-02-27 05:35:53 +00:00
gordon%netscape.com
41f6ec1758 Add virtual methods for desctructor and Init(). Changed ActivateEntryIfFound() to FindEntry(). 2001-02-27 05:33:34 +00:00
gordon%netscape.com
db0eae7ff6 Add explicit close() method to decouple descriptor state from cache entry. Close() is an idempotent operation, and will be called by default from the descriptor's destructor. This allows Javascript to release the cache entry earlier than the descriptor may be garbage collected. 2001-02-27 05:29:25 +00:00
beard%netscape.com
1c05ec4343 tests new object cache. 2001-02-27 05:27:55 +00:00
dprice%netscape.com
199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
darin%netscape.com
8d0d0b8f05 [not part of the build] Added AsyncRead support to nsMemoryCacheTransport. 2001-02-27 04:29:24 +00:00
dougt%netscape.com
4e26add3c6 conditionally compiling new cache. r=dougt/a=gagan 2001-02-27 03:16:59 +00:00
dougt%netscape.com
8518edb494 Conditionally compiling new cache. r=dougt/a=gagan 2001-02-27 02:27:21 +00:00
dougt%netscape.com
9c636b1448 NOT PART OF BUILD. Updating new cache windows makefile to produce a dll. Removing the empty virtual destructor in nsCacheDevice.h 2001-02-26 23:51:03 +00:00
darin%netscape.com
c4d709039a Corrected copyright headers. 2001-02-26 22:29:40 +00:00
beard%netscape.com
1a9592f726 [not part of build] added nsCacheSession.cpp. 2001-02-26 15:54:11 +00:00
beard%netscape.com
30bb9bbe9a [not part of build] I changed all the declaration of all PRInt32 storagePolicy variables to nsCacheStoragePolicy. 2001-02-26 15:53:31 +00:00
gordon%netscape.com
1849fd2f14 Update Makefile.in to build cache service as separate module. 2001-02-26 14:58:58 +00:00
gordon%netscape.com
7aca7c5812 Begin implementing eviction of memory cache entries. 2001-02-26 14:57:40 +00:00
gordon%netscape.com
4c47d10d3e Updated methods for addition of nsCacheSession. 2001-02-26 14:55:58 +00:00
gordon%netscape.com
bf694b72f9 Add the session's storagePolicy to nsCacheRequest, and changed type of mAccessRequested to nsCacheAccessMode. 2001-02-26 14:53:28 +00:00
gordon%netscape.com
fadc2c609d Fix HashKey method. 2001-02-26 14:46:54 +00:00
gordon%netscape.com
974bd79339 Add stub methods for getting/setting data size, and getting the transport for a cache entry descriptor. Update for change to Substring parameters. 2001-02-26 14:45:45 +00:00
gordon%netscape.com
55f28b0eba Add code for removing requests and descriptors from cache entries. 2001-02-26 14:42:50 +00:00
gordon%netscape.com
e3db681306 Adding files for nsCacheSession implementation. 2001-02-26 14:40:22 +00:00
gordon%netscape.com
1f40874791 Add constants to indicate whether a cache session is streamBased or not. This interface file is not part of the build yet. 2001-02-26 14:27:16 +00:00
darin%netscape.com
a012624af4 Initial memory cache nsITransport implementation (not part of the build). 2001-02-26 07:40:34 +00:00
blakeross%telocity.com
bbe999182d Backing out doug to fix win bustage. 2001-02-26 00:55:18 +00:00
dougt%netscape.com
e52b19822a Adding New Cache interfaces to build 2001-02-26 00:02:44 +00:00
pavlov%netscape.com
07b05160ea fixing unix makefile 2001-02-25 23:13:51 +00:00
dougt%netscape.com
e047ff2c94 Fixing return type: 2001-02-25 07:31:13 +00:00
dougt%netscape.com
806ef186c2 NOT PART OF BUILD!!
This is the windows makefile for the new cache.
2001-02-25 07:18:36 +00:00
cls%seawood.org
3580b1cac0 Adding and updating necessary .cvsignore files. Bug #61550 2001-02-24 06:22:49 +00:00
beard%netscape.com
c637de1de1 [not part of build] changes to build correctly on Mac, and link correctly on all platforms. 2001-02-24 04:22:19 +00:00
beard%netscape.com
e16678d994 [not part of build] projects to build new cache on Mac. 2001-02-24 04:21:26 +00:00
scc%mozilla.org
9226b1aed1 bug #'s 69940 and 69289: r=dbaron, sr=waterson. Fix parameters to, templatization of |Substring()|. 2001-02-24 02:55:46 +00:00
gordon%netscape.com
58aeb43790 Include nsNetCID.h for cache service contract id. 2001-02-24 02:47:37 +00:00
gordon%netscape.com
cfb921fac8 Adding contract id for new cache service. r=beard. 2001-02-24 02:44:43 +00:00
darin%netscape.com
d22de88f0f Made accessGranted be of type nsCacheAccessMode. This is not part of the mozilla build. 2001-02-24 01:36:11 +00:00
darin%netscape.com
a19e03ee92 Updating cache IDL documentation. This is not part of the mozilla build. 2001-02-24 01:27:49 +00:00
gordon%netscape.com
cb127e5457 Updated new cache source to build with recent changes to interface files. These files are not part of the build. r=beard, darin. 2001-02-24 01:02:37 +00:00
beard%netscape.com
67f04722d0 [not part of build] stand-alone cache module. 2001-02-24 00:19:43 +00:00
gordon%netscape.com
e41f5dd4d8 Remove inheritance from interface, and provide transport as an attribute. This change is not part of the build. 2001-02-23 23:55:42 +00:00
gordon%netscape.com
8706317ae2 Add nsICache.idl for common typedefs and constants. These changes are not part of the build. r = beard, darin. 2001-02-23 23:20:15 +00:00
gordon%netscape.com
d13aaaff49 New interfaces for cache service. These are not part of the build. r=beard, darin, gagan. 2001-02-23 22:23:55 +00:00
gordon%netscape.com
0abd1aae6c Adding Makefile.in for new cache service. 2001-02-23 21:05:32 +00:00
gordon%netscape.com
619c6dc8ae Rough first cut of cache service and memory object cache. It currently builds on linux. 2001-02-23 13:18:01 +00:00