Граф коммитов

424 Коммитов

Автор SHA1 Сообщение Дата
gordon%netscape.com 5fe3fdac08 [not part of build] Restructured nsCacheService:ActivateEntry() to properly handle a FORCE-WRITE. Cleaned up ownership of key between request and entry. Add deletion of request for synchronous open. Add deletion of unbound entries on deactivation. 2001-03-03 02:27:49 +00:00
darin%netscape.com 8a7011a63d [not part of the build] updated the module file for the removal of nsMemoryCacheTransport 2001-03-03 02:27:18 +00:00
darin%netscape.com 6c82a1709c [not part of the build] Make mem cache use nsStorageTransport. 2001-03-03 01:59:03 +00:00
beard%netscape.com 1338ff6e0b [not part of build] removed dirty flag from DiskCacheEntry, added key comparision to readDiskCacheEntry(). 2001-03-03 00:35:33 +00:00
gordon%netscape.com 74679406ed [not part of build] REALLY fix nsCacheEntryHashTable::RemoveEntry. This time for sure! 2001-03-03 00:00:29 +00:00
gordon%netscape.com 6ce0ccda34 [not part of build] Fix nsCacheEntryHashTable::RemoveEntry(). r=beard. 2001-03-02 23:50:53 +00:00
darin%netscape.com 06bfa84268 [not part of the build] Added implementation of nsMemoryCacheReadRequest::Available 2001-03-02 22:28:38 +00:00
beard%netscape.com 872e35d85d [not part of build] slight optimization, check for cache file existence before creating an entry and attempting to open a transport for it. 2001-03-02 20:14:41 +00:00
beard%netscape.com cb5309e789 [not part of build] need a way to transfer ownership of key from request to entry. for now just leak and dont' crash. 2001-03-02 20:04:08 +00:00
disttsc%bart.nl 043186b34e Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
beard%netscape.com 362163351d Now reading/writing all metadata into disk cache. 2001-03-02 04:57:09 +00:00
beard%netscape.com b98758d275 [not part of build] Added CalculateSize() to account for null termination of strings. 2001-03-02 04:54:27 +00:00
beard%netscape.com 78e82c5bb1 [not part of build] Added FlattenMetaData()/UnflattenMetaData(). 2001-03-02 04:09:01 +00:00
gordon%netscape.com 9edfcd7fd6 Fix casing of SetMetaDataElement method. 2001-03-02 01:52:29 +00:00
gordon%netscape.com 6c09c5a1de [not part of build]
Fixed cache meta data. Implemented eviction list for memory cache device. Worked on entry deactivation, validation, and doom.
2001-03-02 01:51:41 +00:00
dougt%netscape.com bf69d7c0b9 not part of build. we should init the cache meta data. 2001-03-01 21:27:11 +00:00
gordon%netscape.com d7b78b8520 [not part of build]
Mark cache entry meta data dirty when key/value pair added.
2001-03-01 20:06:16 +00:00
gordon%netscape.com 8901ec09dd [not part of build]
Add utility method to nsCacheEntryDescriptor to change the data size for the associated cache entry.
2001-03-01 19:52:06 +00:00
darin%netscape.com e04bbbd9f1 [not part of the build] Removed knowledge of nsCacheEntry from nsMemoryCacheTransport,
and fixed a bug in the blocking output stream (it claimed to be non blocking).
2001-03-01 19:33:00 +00:00
beard%netscape.com 39035cb7cd [not part of build] Forgot NS_INIT_ISUPPORTS() in DiskCacheEntry constructor. 2001-03-01 19:32:41 +00:00
beard%netscape.com c6f34b986d [not part of build] When OpenOutputStream() is called for a descriptor with nsICache::ACCESS_WRITE, set initial cache entry size to 0. 2001-03-01 19:24:10 +00:00
beard%netscape.com 8ed9fd2751 [not part of build] Use NS_IMPL_THREADSAFE_ISUPPORTS0 to avoid thread-safety asserts in DiskCacheEntry. 2001-03-01 17:48:36 +00:00
beard%netscape.com 8a597b5932 [not part of build] Added DiskCacheEntry to store internal data in nsCacheEntry. Now saving metadata when DiskCacheEntry becomes dirty. 2001-03-01 17:31:06 +00:00
beard%netscape.com 646885530b [not part of build] Make ~nsCacheOutputStream() virtual 2001-03-01 09:51:22 +00:00
beard%netscape.com 27d05b3058 [not part of build] Fix LL bustage. 2001-03-01 08:38:50 +00:00
beard%netscape.com e72e807a38 [not part of build] First cut at wrapper nsIOutputStream for tallying total bytes written to a cache entry. 2001-03-01 08:29:43 +00:00
gordon%netscape.com fbf1b173c4 [not part of build]
Changed OnDataSizeChanged() to OnDataSizeChange() and added a deltaSize parameter.  Added OnDataSizeChange() method on nsCacheService so we can grab the service lock and bind the entry if necessary.

Commented out the implementation of nsCacheEntryDescriptor::AsyncWrite(), since we are not planning to provide it.
2001-03-01 05:01:43 +00:00
beard%netscape.com a7c9e20908 [not part of build] needed to add nsITransport to QueryInterface. 2001-03-01 02:51:07 +00:00
darin%netscape.com 0055170d0e [not part of the build] Added code to update the entry's data size as data is streamed
to the memory cache.
2001-03-01 02:49:26 +00:00
gordon%netscape.com 200e2ecb04 [not part of build]
Add finalization code to cache entry hashtables to delete remaining entries.
2001-03-01 02:46:12 +00:00
gordon%netscape.com 00e77d5c3b [not part of build]
Changed nsCacheEntryDescriptor to implement nsITransport as a wrapper that checks access priviledges for the underlying transport provided by the device.

Added code to lazily allocate the underlying transport for the cache descriptor.

Added NS_ENSURE_ARG_POINTER() to all necessary interface methods. r=beard.
2001-03-01 02:25:07 +00:00
darin%netscape.com f2a3038563 [not part of the build] Cleans up ReadRequestCompleted; there was no reason
to be walking the list of read requests!
2001-03-01 02:20:35 +00:00
gordon%netscape.com 6e1f816ac3 Added error codes for read/write access denied. 2001-03-01 01:56:29 +00:00
gordon%netscape.com a4b916bb0c Fix access mode for new entries. Not part of the build. 2001-02-28 22:39:07 +00:00
beard%netscape.com 7b158223b7 [not part of build] truncate files when mode = nsICache::ACCESS_WRITE. 2001-02-28 12:09:41 +00:00
beard%netscape.com a741825f69 [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 c3edcffec7 [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 8a9cdea782 [not part of build] enforce nsCacheAccessMode when creating transports. 2001-02-28 10:04:27 +00:00
gordon%netscape.com 933488b277 Begin implementing enumeration of MetaData for cache devices. 2001-02-28 07:13:32 +00:00
gordon%netscape.com e1fde86b4f Added check in ReadRequestCompleted() in case aReader paramter is not found in the mReadRequests list. 2001-02-28 05:48:00 +00:00
beard%netscape.com 569af8d92e [not part of build] successfully creates writeable nsITransport for cache files! 2001-02-28 05:05:29 +00:00
darin%netscape.com ce2aa6ba6f Made nsMemoryCacheDevice::BindEntry return NS_OK 2001-02-28 04:36:51 +00:00
darin%netscape.com b31cd3c2ac Completed nsCacheService::BindEntry 2001-02-28 04:34:41 +00:00
darin%netscape.com 2c069b9c3e Removed an extraneous QI from nsCacheEntry::Open() 2001-02-28 04:28:15 +00:00
beard%netscape.com e58db096e1 [not part of build] must call init on hashtable in nsDiskCacheDevice::Init(). 2001-02-28 04:17:56 +00:00
beard%netscape.com 324eaee24b [not part of build] really delegate GetTransport() to the cache service. 2001-02-28 04:17:24 +00:00
gordon%netscape.com 469a57114d Added GetTransportForEntry(), DoomEntry() to public methods, and BindEntry() and DoomEntry_Internal() to private methods. 2001-02-28 04:10:43 +00:00
beard%netscape.com da6be08e8f [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 4d543e736a [not part of build] removed redundant NULL check in MarkValid(). 2001-02-28 03:59:02 +00:00
gordon%netscape.com 11a84e6653 Added MarkDoomed(), MarkStreamData(), and set StreamData in constructor. 2001-02-28 03:54:16 +00:00
gordon%netscape.com bba1728ef8 Added DoomEntry() to nsCacheDevice. 2001-02-28 03:42:33 +00:00
darin%netscape.com e13b0d309b [not part of the build] Added code to the descriptor to call GetTransportForEntry() 2001-02-28 02:19:14 +00:00
darin%netscape.com 74b246f5a4 [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 e68b83c86f [not part of build] allocate the nsDiskCacheDevice. 2001-02-28 00:36:07 +00:00
gordon%netscape.com 3be042db59 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 6b47b5f8db [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
darin%netscape.com 5308bba867 [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 3430310449 fix for topcrash bug 65798, r=neeti, sr=rpotts 2001-02-27 07:41:55 +00:00
beard%netscape.com 0ad8867b91 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 70e4ffa871 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 c3aabe44ae Add virtual methods for desctructor and Init(). Changed ActivateEntryIfFound() to FindEntry(). 2001-02-27 05:33:34 +00:00
gordon%netscape.com 9fc8b79304 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
darin%netscape.com 7cb6aff2bd [not part of the build] Added AsyncRead support to nsMemoryCacheTransport. 2001-02-27 04:29:24 +00:00
dougt%netscape.com 29c9488e5d conditionally compiling new cache. r=dougt/a=gagan 2001-02-27 03:16:59 +00:00
dougt%netscape.com f3dbd403a3 Conditionally compiling new cache. r=dougt/a=gagan 2001-02-27 02:27:21 +00:00
dougt%netscape.com 4dd38917f8 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
beard%netscape.com de42517279 [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 e0a68f083a Update Makefile.in to build cache service as separate module. 2001-02-26 14:58:58 +00:00
gordon%netscape.com 1780583b6d Begin implementing eviction of memory cache entries. 2001-02-26 14:57:40 +00:00
gordon%netscape.com 95d6fcbbf8 Updated methods for addition of nsCacheSession. 2001-02-26 14:55:58 +00:00
gordon%netscape.com ff29b0d80c 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 b9f45f8198 Fix HashKey method. 2001-02-26 14:46:54 +00:00
gordon%netscape.com 6b38190835 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 6620702aed Add code for removing requests and descriptors from cache entries. 2001-02-26 14:42:50 +00:00
gordon%netscape.com 068b8526d4 Adding files for nsCacheSession implementation. 2001-02-26 14:40:22 +00:00
gordon%netscape.com c9992e5bab 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 852de67670 Initial memory cache nsITransport implementation (not part of the build). 2001-02-26 07:40:34 +00:00
blakeross%telocity.com b97006280f Backing out doug to fix win bustage. 2001-02-26 00:55:18 +00:00
dougt%netscape.com ae0660d4ca Adding New Cache interfaces to build 2001-02-26 00:02:44 +00:00
pavlov%netscape.com 7952181024 fixing unix makefile 2001-02-25 23:13:51 +00:00
dougt%netscape.com 1d6aa9809c Fixing return type: 2001-02-25 07:31:13 +00:00
dougt%netscape.com 74fefc4c9c NOT PART OF BUILD!!
This is the windows makefile for the new cache.
2001-02-25 07:18:36 +00:00
beard%netscape.com e3954dddbd [not part of build] changes to build correctly on Mac, and link correctly on all platforms. 2001-02-24 04:22:19 +00:00
gordon%netscape.com d75f56b14e Include nsNetCID.h for cache service contract id. 2001-02-24 02:47:37 +00:00
darin%netscape.com a7f5e770bf 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 77c0aa2d9d Updating cache IDL documentation. This is not part of the mozilla build. 2001-02-24 01:27:49 +00:00
gordon%netscape.com 04beb97fd8 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 ca4097ba59 [not part of build] stand-alone cache module. 2001-02-24 00:19:43 +00:00
gordon%netscape.com 438b40d2ee 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 414b0ff434 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 0bcfd56974 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 6bc9415a83 Adding Makefile.in for new cache service. 2001-02-23 21:05:32 +00:00
gordon%netscape.com 4658c07097 Rough first cut of cache service and memory object cache. It currently builds on linux. 2001-02-23 13:18:01 +00:00
gordon%netscape.com e47ae228f9 Adding interface files for new cache service. 2001-02-23 00:11:10 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
pinkerton%netscape.com 105d3c555e carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
colin%theblakes.com d7e453cf37 VMS specific fix; tagFile name needs a case blind compare. b=55950 r=rpotts 2001-02-06 15:28:11 +00:00
darin%netscape.com 6bfaf3912c Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
ccarlen%netscape.com dff975b718 Fix for #56127 - Was not handling pref changed callback when dir changed. r=gagan, sr=mscott 2001-01-08 15:45:18 +00:00
rpotts%netscape.com 29590cb129 Fix for assert when loading content from the memory cache (ie. hitting Back). r=jst 2000-12-13 23:11:32 +00:00
vidur%netscape.com 1f40cba7d1 Implementation of ReadSegments to support less copying in the parser. r=rpotts, sr=jst 2000-12-12 21:57:47 +00:00
cls%seawood.org fc9c54cb3d Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454 2000-11-21 00:18:46 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
alecf%netscape.com ec958920a7 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self
2000-11-17 03:45:13 +00:00
darin%netscape.com a4b1f04c3b Fixes bug 59661. Occurances of uninitialized variables... r=gagan, sr=mscott. 2000-11-15 22:21:46 +00:00
dougt%netscape.com d8eab54dd4 Fixes uninitililzed variable. b58510. r=rpotts@netscape.com sr=waterson@netscape.com 2000-10-31 01:05:28 +00:00
dbaron%fas.harvard.edu 2610b33dfd Fix refcount logging for nsCachedNetData objects so they don't appear to leak by indicating a refcount of 0 (for deletion) when the RECYCLED flag is set or when the arena is destroyed. r=rpotts@netscape.com sr=scc@mozilla.org b=31367 2000-10-29 21:24:39 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
neeti%netscape.com 2f34c7bef4 fix for rtm++ bug 57746 crashes [@ nsDBAccessor::EnumEntry],r=gagan, sr=buster 2000-10-26 19:41:07 +00:00
neeti%netscape.com abc25deed0 fix for rtm++ bug 57326, Crash trying to use the save link as context menu, r=gagan, sr=mscott. 2000-10-25 13:28:39 +00:00
neeti%netscape.com 54a4ef139a Fix for rtm++ bug 55405 SetSizeEntry(..) called during shutdown could lead to corrupted cache, r=dp,sr=rpotts 2000-10-18 03:59:34 +00:00
neeti%netscape.com 3c355d0da1 fix for rtm++ bug 54630 - Disk cache not writing files after 512 files reached. r=dp, sr=rpotts 2000-10-13 03:01:10 +00:00
neeti%netscape.com e8be9f9a8e fix for bug 54072,r=dp, sr=rpotts/mscott 2000-10-11 03:03:40 +00:00
dp%netscape.com 8460f58942 bug 54470 Deleting orphaned entries (no record associated with them)
rather than holding them forever in memory on evict.
r=neeti sr=rpotts
(updating fix from branch 1.29.4.2 to tip)
2000-10-03 22:54:55 +00:00
dp%netscape.com 1261ac6e1f bug 54470 Deleting orphaned entries (no record associated with them)
rather than holding them forever in memory on evict.
r=neeti sr=rpotts
(updating fix from branch 1.28.2.2 to tip)
2000-10-03 22:04:15 +00:00
rpotts%netscape.com f2f31a12bc bug #41398. The cache manager is now a memory-pressure observer and flushed the memory cache on each notification. 2000-09-30 05:30:22 +00:00
rpotts%netscape.com 52ec55b33a when RemoveAll() is called do not double count the storage being freed... 2000-09-28 23:03:03 +00:00
neeti%netscape.com 852cabe4f0 fix for crasher nsbeta3++ bug 52818, r=dp, r/a=rpotts 2000-09-28 04:08:22 +00:00
neeti%netscape.com eff702bc32 fix for bug 51095- mStorageInUse grows faster than required if we update files.r=dp,a=mscott 2000-09-22 04:17:22 +00:00
rpotts%netscape.com 911490a21c bug #53273 (r=neeti,fur a=me).Clear the TRUNCATED_CONTENT flag when all of the data arrives for a URI. This handles the case where the entry was evicted (and the content was truncated) and is later reused... 2000-09-22 04:12:42 +00:00
bryner%uiuc.edu d60ee138b0 Fixing bustage. 2000-09-15 20:46:06 +00:00
neeti%netscape.com 83d25088bd Fix for bug 48401.
Number of entries and records limited to 512. All known evict situations fixed.
Causing evict to start happening.
r=dp
2000-09-14 19:12:03 +00:00
dp%netscape.com c097ee7045 - Fixing deletion of cache on version change
- DBRecovery(): removing all fancy moves to trash folder. Just delete
  the cache when it is corrupted.
r=neeti
2000-09-14 18:48:57 +00:00
dp%netscape.com 8528da1a73 Bumping cache version number up so everyone's corrupted caches uptil
now will be automatically deleted. r=neeti
2000-09-14 18:47:30 +00:00
dp%netscape.com 0b2b72d5fe bug 46147 Ignoring record get failures to accomodate uncommited new
entries r=gagan,neeti
2000-09-14 13:51:18 +00:00
dp%netscape.com 55ac2c9a9f bug 46147 nsDiskCacheRecord::Delete() can ignore file delete errors as
for the file might not exist. r=gagan,neeti
2000-09-14 13:49:07 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
rpotts%netscape.com c4c33cc5a8 Keep the cache size correct when deleting cache entries. 2000-09-13 06:05:06 +00:00
neeti%netscape.com cc68b5d120 fix for bug 50977-After surfing, web pages stop loading. Tossing cache fixes,r=dp 2000-09-11 19:00:40 +00:00
rpotts%netscape.com 42cdb62a9b Do not crash when calling GetNExtCache() if the Disk Cache is not available... 2000-09-10 08:11:40 +00:00
rpotts%netscape.com 299064f0b0 Fixed memory leak when calling nsCachedNetData::GetUriSpec(...). 2000-09-10 07:58:27 +00:00
rpotts%netscape.com b34a50936e Cleaned up the cache selection code in GetCacheAndReplacementPolicy(...). 2000-09-10 06:13:30 +00:00
rpotts%netscape.com c343876fe3 do not try to evict cache entries that are active... 2000-09-10 06:11:57 +00:00
rpotts%netscape.com bccca9fa02 Random improvements to the memory cache... 2000-09-10 06:10:52 +00:00
mscott%netscape.com da8a396757 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
2000-09-08 00:24:13 +00:00
dp%netscape.com cc848473e2 Fixing mac. No more friends. Making WriteComplete() public. That is
actually what we really want.
2000-09-05 22:32:00 +00:00
dp%netscape.com 4d427636ed bug 50922 mFile's stat cache isnt refreshed after file changed on
disk. This causes wrong content length and incorrect cache
updates. r=neeti
2000-09-05 21:42:10 +00:00
scc%mozilla.org ebde012e3f fixing code that relied on implicit string construction 2000-09-02 21:47:30 +00:00
cls%seawood.org 54af486cb6 Including nsString.h 2000-09-02 00:21:03 +00:00
alecf%netscape.com ce1ea48ebd another fix for #42102 - removing consumers of nsIFileSpec
r=valeski
2000-09-01 23:36:28 +00:00
gordon%netscape.com 46f788b40c Fix for Bug 31900 "[MLK] Leaking CacheInfo objects". The mCaches field is the head of a linked list. I've added code to nsReplacementPolicy destructor to walk the list, deleting the objects along the way, rather than simply deleting the head of the list. 2000-09-01 21:24:40 +00:00
dp%netscape.com dc53608ef0 bug 41950 Preventing garbage content lengths from cache. r=neeti 2000-08-29 03:14:28 +00:00
neeti%netscape.com 6173cfc310 applying Waterson's patch to bug 49108. r=neeti 2000-08-28 13:44:12 +00:00
rpotts%netscape.com 8fcd8efbbb bug #48546. Implement Get/SetLoadAttributes(...) 2000-08-24 22:56:41 +00:00
rpotts%netscape.com a332472a5a bug #48546. The cache channel should delegate the handling of load attributes to the cache channel (ie. disk/memory channel)... 2000-08-24 22:54:45 +00:00
warren%netscape.com 1c8511e78c Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
valeski%netscape.com 24c4115380 49360. removing core cache module from the build on unix. this was missed a few months ago when we started building the cache stuff into netwerk/build 2000-08-21 19:07:49 +00:00
warren%netscape.com 64a99efec0 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
warren%netscape.com b47c7c21df Added back in nsOpaqueKey, used in nsMemCache. Went back to 37 as the magic number (prime). 2000-08-21 02:37:20 +00:00
ruslan%netscape.com 085aa211e1 Fix 47408, a=gagan,r=neeti 2000-08-11 21:31:13 +00:00
warren%netscape.com 4af572e4c1 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
valeski%netscape.com c40f656eac 38260. removing shadowed rv declaration, and xpfe #include dependency 2000-08-08 21:43:47 +00:00
mkaply%us.ibm.com 5789b1a009 #47881
r=valeski, a=brendan
OS/2 tinderbox break - we need to link mozdbm
2000-08-08 21:05:59 +00:00
valeski%netscape.com 8d2b514e9c 47881, r=dougt. removing extraneous static link of dbm lib, and fixing the file cache so it does the static link 2000-08-08 00:20:23 +00:00
neeti%netscape.com 3f4387386a fix for bug 40084, [CRASH] Crash in disk cache code, backed out changes made on 7/27, put new fix
fix for bug 46014, No keywords loaded on bugzilla pages, r/a=gagan
2000-07-29 02:32:14 +00:00
neeti%netscape.com c3e135d664 fix for bug 40084 - [CRASH] Crash in disk cache code, r/a=gagan 2000-07-27 14:28:48 +00:00
warren%netscape.com 7ac7233df8 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
neeti%netscape.com 316e12740b Fix for bug 38244 - modified files cached incorrectly,r=ruslan@netscape.com 2000-07-21 04:33:26 +00:00
dougt%netscape.com c422448137 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
warren%netscape.com 8912327b8f Fixed comment 2000-07-07 23:43:00 +00:00
ruslan%netscape.com 9e3c57923a Fix 42377 - make http SetNotificationCallbacks go through the proxy object, thus
avoiding crashers when OpenInputStream is used, a=gagan,warren
2000-07-05 22:57:50 +00:00
cls%seawood.org e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
rusty.lynch%intel.com bf709d74fe David Baron's patch to fix bug #41172. r=waterson 2000-06-26 21:03:19 +00:00
neeti%netscape.com 932da1f88a Removing an useless include xpcomio_s from the Makefile.r/a=gagan 2000-06-26 19:57:41 +00:00
valeski%netscape.com c9ce86137e 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
warren%netscape.com 870a7d208a Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433 2000-06-02 23:39:45 +00:00
dveditz%netscape.com 075510ec58 solving missing .xpt file install issue 2000-06-02 08:10:41 +00:00
mkaply%us.ibm.com 34a95cecaf # 37239
r = gagan, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (casts, PR_CALLBACK)
2000-05-30 14:56:52 +00:00
brade%netscape.com 6c3ce51d35 File Removed. 2000-05-25 14:25:11 +00:00
davidm%netscape.com 80a28a0b3a 34545 blo P1ermissions of 000 for disk cache directories r= sspitzer 2000-05-19 02:14:04 +00:00
cls%seawood.org 1165ad3a33 Mass replace of -lmozjs with $(MOZ_JS_LIBS) needed for OS/2 and consistency. 2000-05-17 06:45:45 +00:00
ruslan%netscape.com 4c9420759c Fix return code error, davidm 2000-05-17 00:32:47 +00:00
davidm%netscape.com 9f770dfc33 34314 Remove execute permission from cache files 2000-05-16 21:58:17 +00:00
jdunn%netscape.com 942e3cd669 Fix alignment problem with DB reads.
r= davidm@netscape.com, wtc@netscape.com
#= 38884
2000-05-13 15:05:18 +00:00
jgaunt%netscape.com 3b5244ae70 hp only fix, word boundary problem
bug # 37482  r=jdunn@netscape.com
2000-05-10 01:11:22 +00:00
davidm%netscape.com 43963449c6 37071 Crash while downloading anything 37353 browser segfaults on page loading 2000-05-07 05:38:02 +00:00
warren%netscape.com a451c5f762 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
davidm%netscape.com 695df4a8aa Use QI to prevent a nsCOMPtr assert 2000-05-05 03:09:08 +00:00
davidm%netscape.com 502bf571a8 change from nsIEnumerator to nsISimpleEnumerator since that is the interface that the class actually implements 2000-05-05 03:08:26 +00:00
sspitzer%netscape.com cefea94a1e fix assertion, reported by mjudge. 2000-04-28 08:09:57 +00:00
ruslan%netscape.com a31cbd3d80 Turn on nsHTTPFinalListener to fix various notification bugs, r=gagan. Make
disk cache classes implement threadsafe_isupports, r=davidm, add placeholder
for resource bundles for necko.
2000-04-28 06:36:31 +00:00
mscott%netscape.com 78ba47064e implement GetContentLength for a memory cache entry. This helps us report
progress for items coming out of the cache
2000-04-25 01:48:48 +00:00
cls%seawood.org 33edc21c9c General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
danm%netscape.com 0568020caf stop up a couple of leaks. r=davidm 2000-04-21 21:23:10 +00:00
davidm%netscape.com 374b1f8ba3 28412 metaDataLength is wrong in nsCachedNetData::Deserialize Update streamasfile interface to be a file rather than filename. 2000-04-19 04:55:57 +00:00
davidm%netscape.com 4bb18cf471 Fix problem with prefs not being initialized 2000-04-19 04:43:04 +00:00
davidm%netscape.com 703737995e 35197 Leaking nsFileSpecImpl 2000-04-19 04:41:28 +00:00
ruslan%netscape.com 4965f4905d Fix 35508, 33762, 35024. 2000-04-14 21:10:27 +00:00
warren%netscape.com 942ccefd74 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code. 2000-04-12 07:58:24 +00:00
mkaply%us.ibm.com 9ec188bd3a # 34082
r= warren@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:32:07 +00:00
davidm%netscape.com d2752fc594 34314 Whacky permissions on Cache directories. 2000-04-05 00:08:21 +00:00
cls%seawood.org 372343f97f Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106
2000-04-04 07:37:50 +00:00
warren%netscape.com b5fe97ca18 Changed 'default' content type to application/x-unknown-content-type (was text/html!). 2000-04-04 07:13:22 +00:00
cls%seawood.org 57978e5c23 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
davidm%netscape.com ab73837dbd viewer crashing on http url 2000-04-03 22:53:39 +00:00