63 Commits

Author SHA1 Message Date
gordon%netscape.com
0c5bd606b5 Fix bug 111049 "add attribute to nsICacheSession to detect device availability". sr=darin.
git-svn-id: svn://10.0.0.236/trunk@112609 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:25:25 +00:00
gordon%netscape.com
d48149f01d Fix for bug 103167, removing old cache interfaces. r=sfraser, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105734 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:54:42 +00:00
alecf%netscape.com
ecd07394d1 fix for bug 103988 - fix the cache module so it is it's own module, not necko
r=cls, dbaron


git-svn-id: svn://10.0.0.236/trunk@105171 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:33:52 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
cls%seawood.org
80832fa814 Remove obsolete --disable-new-cache option & MOZ_NEW_CACHE/OLD_CACHE ifdefs from the tree. We are not turning back now. :)
Bug #89008 r=dougt sr=waterson


git-svn-id: svn://10.0.0.236/trunk@98798 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 08:07:43 +00:00
darin%netscape.com
59d5a4317d Fixes bug 85054 "Hard Drive grinds when disk cache set to zero."
patch=gordon, r=gagan, sr=darin


git-svn-id: svn://10.0.0.236/trunk@98119 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-28 01:30:26 +00:00
gordon%netscape.com
7a7e4f8f3a Fix bug 79585 "need non-blocking OpenCacheEntry() for HTTP", r=pavlov, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@94320 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 03:36:00 +00:00
gordon%netscape.com
e7690cb2a9 For bug 74668. Add cache device ID attribute to nsICacheEntryInfo interface,
and implementing classes.  r=beard, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@93442 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 01:18:34 +00:00
dveditz%netscape.com
152683d8fc Fixing build bustage (evil trailing ^M's).
git-svn-id: svn://10.0.0.236/trunk@92555 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 12:46:17 +00:00
gordon%netscape.com
5661879251 bug 72528, remove old cache from build. sr=darin.
git-svn-id: svn://10.0.0.236/trunk@92549 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 10:47:22 +00:00
gordon%netscape.com
1e0c0b4023 Landing DISKCACHE1_BRANCH (part Deux) which enables dynamic eviction and efficient cache miss detection for the disk cache (bug 72506) r=beard, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@91234 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:30:45 +00:00
gordon%netscape.com
0484dbbaf3 Added evictEntries() methods to nsICacheService and nsICacheSession. Removed lastValidated attribute from nsICacheVisitor. r=beard sr=darin.
git-svn-id: svn://10.0.0.236/trunk@90751 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 05:51:46 +00:00
gordon%netscape.com
7b8581452d Landing MOZ_NEW_CACHE_20010314_BRANCH, incorporating feedback from recent test builds. New cache is still disabled by default.
git-svn-id: svn://10.0.0.236/trunk@89933 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 22:42:03 +00:00
darin%netscape.com
db46fd8e9e [not part of the build] Changes to make the new cache use PRUint32's for
time instead of PRTime's.  r=gordon


git-svn-id: svn://10.0.0.236/trunk@89597 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:54:05 +00:00
darin%netscape.com
ed9b1f24cd [not part of the build] Make nsICacheEntryDescriptor inherit from nsICacheEntryInfo
git-svn-id: svn://10.0.0.236/trunk@89561 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 01:11:14 +00:00
darin%netscape.com
7dfcc23627 [not part of the build] Replaced instances of cache manager with cache service
in comments.


git-svn-id: svn://10.0.0.236/trunk@89331 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 07:09:24 +00:00
darin%netscape.com
1af6095baa [not part of the build] Updated some comments.
git-svn-id: svn://10.0.0.236/trunk@89324 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:23:52 +00:00
beard%netscape.com
ff501a2d55 [not part of build] Added new interfaces nsICacheDeviceInfo, nsICacheEntryInfo.
git-svn-id: svn://10.0.0.236/trunk@88981 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 20:58:11 +00:00
gordon%netscape.com
e7a4e32b50 [not part of build]
Added readonly lastModified attribute to nsICacheEntryDescriptor.  Added PRBool attribute doomEntriesIfExpired to nsICacheSession.


git-svn-id: svn://10.0.0.236/trunk@88926 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:31:52 +00:00
gordon%netscape.com
dbd8c256b9 [not part of build] Add security info attribute to nsICacheEntryDescriptor.
git-svn-id: svn://10.0.0.236/trunk@88766 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:47:08 +00:00
beard%netscape.com
1bed9bd372 [not part of build] Added file attribute to nsICacheEntryDescriptor, added STORE_ON_DISK_AS_FILE to nsICache.
git-svn-id: svn://10.0.0.236/trunk@88747 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:37:42 +00:00
darin%netscape.com
5bf29d7b78 [not part of the buid] Renamed onDescriptorAvailable to onCacheEntryAvailable.
git-svn-id: svn://10.0.0.236/trunk@88699 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:04:05 +00:00
gordon%netscape.com
8403d04279 Fix casing of SetMetaDataElement method.
git-svn-id: svn://10.0.0.236/trunk@88365 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 01:52:29 +00:00
gordon%netscape.com
60782a007c Added error codes for read/write access denied.
git-svn-id: svn://10.0.0.236/trunk@88257 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 01:56:29 +00:00
gordon%netscape.com
74143c8568 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.
git-svn-id: svn://10.0.0.236/trunk@88061 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 05:29:25 +00:00
dougt%netscape.com
e596ad7b22 conditionally compiling new cache. r=dougt/a=gagan
git-svn-id: svn://10.0.0.236/trunk@88051 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 03:16:59 +00:00
dougt%netscape.com
da9719c954 Conditionally compiling new cache. r=dougt/a=gagan
git-svn-id: svn://10.0.0.236/trunk@88046 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 02:27:21 +00:00
beard%netscape.com
d908473d6c [not part of build] I changed all the declaration of all PRInt32 storagePolicy variables to nsCacheStoragePolicy.
git-svn-id: svn://10.0.0.236/trunk@87994 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:53:31 +00:00
gordon%netscape.com
7588c50017 Add constants to indicate whether a cache session is streamBased or not. This interface file is not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87978 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:27:16 +00:00
blakeross%telocity.com
de1ab3bc71 Backing out doug to fix win bustage.
git-svn-id: svn://10.0.0.236/trunk@87963 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:55:18 +00:00
dougt%netscape.com
db6a52c778 Adding New Cache interfaces to build
git-svn-id: svn://10.0.0.236/trunk@87950 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:02:44 +00:00
darin%netscape.com
1b288a7e6a Updating cache IDL documentation. This is not part of the mozilla build.
git-svn-id: svn://10.0.0.236/trunk@87864 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 01:27:49 +00:00
gordon%netscape.com
101fdd4466 Remove inheritance from interface, and provide transport as an attribute. This change is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@87856 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:55:42 +00:00
gordon%netscape.com
8831b05581 Add nsICache.idl for common typedefs and constants. These changes are not part of the build. r = beard, darin.
git-svn-id: svn://10.0.0.236/trunk@87848 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:20:15 +00:00
gordon%netscape.com
86c0c4d0d0 New interfaces for cache service. These are not part of the build. r=beard, darin, gagan.
git-svn-id: svn://10.0.0.236/trunk@87839 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 22:23:55 +00:00
gordon%netscape.com
b226a94440 Adding interface files for new cache service.
git-svn-id: svn://10.0.0.236/trunk@87727 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:11:10 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df 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


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
cls%seawood.org
8373cf37d8 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454
git-svn-id: svn://10.0.0.236/trunk@82809 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:18:46 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
neeti%netscape.com
f375211dd9 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


git-svn-id: svn://10.0.0.236/trunk@75139 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:32:14 +00:00
neeti%netscape.com
91d835a058 fix for bug 40084 - [CRASH] Crash in disk cache code, r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@74916 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 14:28:48 +00:00
neeti%netscape.com
654207280e Fix for bug 38244 - modified files cached incorrectly,r=ruslan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74577 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 04:33:26 +00:00
warren%netscape.com
e705a0a4d7 Fixed comment
git-svn-id: svn://10.0.0.236/trunk@73858 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 23:43:00 +00:00
warren%netscape.com
d9314a9d34 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71415 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:39:45 +00:00
dveditz%netscape.com
b6d34294eb solving missing .xpt file install issue
git-svn-id: svn://10.0.0.236/trunk@71350 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:10:41 +00:00
warren%netscape.com
06f5a41c27 Combined all necko dlls into two. Bug 17031.
git-svn-id: svn://10.0.0.236/trunk@68526 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 09:15:56 +00:00
davidm%netscape.com
c02dd57263 28412 metaDataLength is wrong in nsCachedNetData::Deserialize
Update streamasfile interface to be a file rather than filename.


git-svn-id: svn://10.0.0.236/trunk@66418 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:55:57 +00:00
ruslan%netscape.com
b8fe8a2254 Fix 35508, 33762, 35024.
git-svn-id: svn://10.0.0.236/trunk@66003 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:10:27 +00:00