beard%netscape.com
c167dd8067
[not part of build] changed linker output to cache.headers rather than necko.headers.
2001-03-01 00:05:31 +00:00
beard%netscape.com
2e059bf699
[not part of build] Now tests opening output and input streams.
2001-02-28 23:52:20 +00:00
dougt%netscape.com
0ff09eae40
Fixing 69836. Increasing data buffer sizes which improves perf on Mac. r=sfraser, sr=mscott
2001-02-28 23:37:03 +00:00
gordon%netscape.com
52de7aa8e6
Fix access mode for new entries. Not part of the build.
2001-02-28 22:39:07 +00:00
beard%netscape.com
10a38c5434
[not part of build] truncate files when mode = nsICache::ACCESS_WRITE.
2001-02-28 12:09:41 +00:00
beard%netscape.com
aaddf29c81
[not part of build] create up to 3 different transports for different nsCacheAccessMode values.
2001-02-28 11:30:39 +00:00
beard%netscape.com
46567d8f82
[not part of build] renamed PRUint32 parameters to nsCacheAccessMode. Set initial descriptor mode to be requested as temporary workaround.
2001-02-28 11:29:22 +00:00
beard%netscape.com
317f5fec75
[not part of build] enforce nsCacheAccessMode when creating transports.
2001-02-28 10:04:27 +00:00
gordon%netscape.com
ecb52c437c
Begin implementing enumeration of MetaData for cache devices.
2001-02-28 07:13:32 +00:00
gordon%netscape.com
aaa938e5b0
Added check in ReadRequestCompleted() in case aReader paramter is not found in the mReadRequests list.
2001-02-28 05:48:00 +00:00
gordon%netscape.com
54a2ab1696
Adding test for cache service.
2001-02-28 05:28:50 +00:00
beard%netscape.com
bc439b5703
[not part of build] Tests disk cache using XPConnnect.
2001-02-28 05:06:25 +00:00
beard%netscape.com
ff21b4221a
[not part of build] successfully creates writeable nsITransport for cache files!
2001-02-28 05:05:29 +00:00
darin%netscape.com
7d7ec8671a
Minor tweak [not part of the build]
2001-02-28 04:37:46 +00:00
darin%netscape.com
084f574d18
Made nsMemoryCacheDevice::BindEntry return NS_OK
2001-02-28 04:36:51 +00:00
darin%netscape.com
9647d227cc
Completed nsCacheService::BindEntry
2001-02-28 04:34:41 +00:00
darin%netscape.com
004b919287
Removed an extraneous QI from nsCacheEntry::Open()
2001-02-28 04:28:15 +00:00
beard%netscape.com
b6d563d650
[not part of build] must call init on hashtable in nsDiskCacheDevice::Init().
2001-02-28 04:17:56 +00:00
beard%netscape.com
b50591c434
[not part of build] really delegate GetTransport() to the cache service.
2001-02-28 04:17:24 +00:00
gordon%netscape.com
f2290a6cd4
Added GetTransportForEntry(), DoomEntry() to public methods, and BindEntry() and DoomEntry_Internal() to private methods.
2001-02-28 04:10:43 +00:00
darin%netscape.com
a26fbc60e3
Added MOZ_NEW_CACHE ifdef to Makefile.in to prevent building of cache tests
...
by default.
2001-02-28 04:06:06 +00:00
beard%netscape.com
c7f88186cd
[not part of build] using nsIPref to find cache directory, first cut at creating nsITransport for cache entries.
2001-02-28 04:00:08 +00:00
beard%netscape.com
391a04f744
[not part of build] removed redundant NULL check in MarkValid().
2001-02-28 03:59:02 +00:00
gordon%netscape.com
510792cb80
Added MarkDoomed(), MarkStreamData(), and set StreamData in constructor.
2001-02-28 03:54:16 +00:00
gordon%netscape.com
13d79d0bf7
Added DoomEntry() to nsCacheDevice.
2001-02-28 03:42:33 +00:00
darin%netscape.com
42cfde7451
[not part of the build] Added code to the descriptor to call GetTransportForEntry()
2001-02-28 02:19:14 +00:00
darin%netscape.com
1ba483bdea
[not part of the build] Added hooks to enable streaming to the mem cache!
2001-02-28 01:41:02 +00:00
beard%netscape.com
a2cb1db911
[not part of build] allocate the nsDiskCacheDevice.
2001-02-28 00:36:07 +00:00
beard%netscape.com
c3a62ef8c2
[not part of build] changed fragment name to CACHE_DLL instead of NECKO_DLL (oops).
2001-02-28 00:33:24 +00:00
gordon%netscape.com
e14fa0b121
Changed 'getters' on nsCacheEntry to simply return values, rather than require out parameters.
...
Added a PRCList member and accessors for linking entries on eviction and doom lists.
Moved check for IsStreamBased() from nsCacheEntry::GetData() to nsCacheEntryDescriptor::GetData(), to allow cache devices to set the mData member.
Added checks to nsCacheEntryDescriptor methods to return NS_ERROR_NOT_AVAILABLE if the descriptor is already closed.
2001-02-28 00:06:13 +00:00
darin%netscape.com
15bd09102f
updating the .cvsignore file
2001-02-27 23:17:58 +00:00
darin%netscape.com
218da462f7
[not part of the build] Forgot to update the WIN32 makefile after adding the
...
CID for the memory cache transport.
2001-02-27 23:15:57 +00:00
beard%netscape.com
05e65ecf0e
[not part of build] added nsMemoryCacheTransport.cpp.
2001-02-27 19:41:13 +00:00
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