Commit Graph

28 Commits

Author SHA1 Message Date
rpotts%netscape.com
a41498ae21 bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels... nsCacheEntryChannel.cpp
git-svn-id: svn://10.0.0.236/trunk@61840 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 04:45:14 +00:00
davidm%netscape.com
8767521c24 26171 Trigger bigfile .xpi a 2nd time results in -207
install fail 
 25585      Leaking a C string 
 25590   Leaking C string in cache co
20893    Cache preferences need to be hooked up 
r = gordon@netscape.com


git-svn-id: svn://10.0.0.236/trunk@61115 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:48:06 +00:00
gagan%netscape.com
2ad38ca064 We had a nsCOMPtr on a class instead on a interface (along with the problem that its default constructor was protected) This was preventing the cache from being built on AIX. Should work now. r=self(& scc) See bug 24876
git-svn-id: svn://10.0.0.236/trunk@58535 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:11:16 +00:00
mscott%netscape.com
b3652645d8 Bug #24796 --> the fix for the cache manager friday night broke quoting msgs
for imap (which uses the memory cache). You don't need a load group to run a url
through the cache....so don't return an error if the load group is null
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@58445 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 00:32:14 +00:00
valeski%netscape.com
703d390a6d 24250. r=gordon,mscott,warren. We now ensure that a cache entry adds itself to the loadgroup *before* the load group goes away. This allows the editor to 'Edit Page's again.
git-svn-id: svn://10.0.0.236/trunk@58364 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 23:58:29 +00:00
mscott%netscape.com
0d69d94b7d add nsIStreamObserver to QI method. Since it is inherited from nsIStreamListener, you need to explicitly list both
otherwise it generates an assert when you use a nsCOMPtr to QI for a method on nsIStreamObserver


git-svn-id: svn://10.0.0.236/trunk@57616 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 03:17:38 +00:00
jdunn%netscape.com
7d4368fdcc Move the Class definition for CacheInfo from the CPP file to the header.
While this is valid C++, the AIX 3.6 compiler doesn't like it.

r= warren


git-svn-id: svn://10.0.0.236/trunk@56988 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:50:59 +00:00
jdunn%netscape.com
e40f96a2d5 |T| requires an accessible default constructor (on some old compilers)
r= scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@56894 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:43:19 +00:00
rpotts%netscape.com
4e1497e3cf Removed over aggressive assert when the loadgroup listener factory does not exist
git-svn-id: svn://10.0.0.236/trunk@56723 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 05:46:47 +00:00
dougt%netscape.com
6418d2a7e5 Including nsIAllocator.h directly.
git-svn-id: svn://10.0.0.236/trunk@56678 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:23:33 +00:00
fur%geocast.com
244b5031b2 Added assertion and trivial recovery code to catch the case of a load group
listener factory that reports success, but nevertheless returns a NULL stream
listener.


git-svn-id: svn://10.0.0.236/trunk@56197 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 14:59:59 +00:00
fur%geocast.com
a6f1d0feec Fix #21660 (Browser buster crash in cache). a:chofmann
git-svn-id: svn://10.0.0.236/trunk@56196 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 14:58:09 +00:00
alecf%netscape.com
4b790c8861 fix bustage so I can check in
git-svn-id: svn://10.0.0.236/trunk@55740 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:44:18 +00:00
fur%netscape.com
0ed5b2154b It turns out that PR_Now() has only one second resolution on the Mac, hence it's unsuitable for computing download rates for the cache. Thanks to sdagley for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@55734 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:46:31 +00:00
fur%netscape.com
c125f8fc68 + Handle the case of inability to write into cache correctly.
+ Be more aggressive about clearing the UPDATE_IN_PROGRESS flag on the cache entry


git-svn-id: svn://10.0.0.236/trunk@55699 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:32:56 +00:00
fur%netscape.com
e2cc250b30 + Eliminated use of bool to accommodate non-ANSI C++ compilers.
(Thanks to tor@cs.brown.edu for the patch)
+ Eliminated compiler warnings


git-svn-id: svn://10.0.0.236/trunk@55576 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 09:49:55 +00:00
fur%netscape.com
111e27ee79 Fixed incorrect calculation of content download time and profitability of caching a given URL. r:none
git-svn-id: svn://10.0.0.236/trunk@55572 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:51:03 +00:00
fur%netscape.com
2ae24d5c5f Increase default memory cache capacity to 1M from 100KB testing value
git-svn-id: svn://10.0.0.236/trunk@55570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:49:42 +00:00
fur%netscape.com
a793371759 Sun compiler requires nsCOMPtr types to be fully defined
git-svn-id: svn://10.0.0.236/trunk@55564 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:51:31 +00:00
sfraser%netscape.com
356f03c947 Some casts and a .get() so that it compiles on Mac. r=fur
git-svn-id: svn://10.0.0.236/trunk@55542 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:31:14 +00:00
sfraser%netscape.com
0bf5246e2c Fixes to build on Mac, where PRInt64 is a struct, and fix a typo. r=fur
git-svn-id: svn://10.0.0.236/trunk@55541 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:29:13 +00:00
fur%netscape.com
cfe011edf5 + Added cast to help Mac compile
+ Fixed problem in which download-time was not being computed (#8305)


git-svn-id: svn://10.0.0.236/trunk@55530 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:54:05 +00:00
pavlov%netscape.com
0f8dec295e build cache build r=fur
git-svn-id: svn://10.0.0.236/trunk@55526 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:29:26 +00:00
fur%netscape.com
cb8d4be3b8 Landing of CacheIntegration_BRANCH in support of bug #8305 (Implement cache)
git-svn-id: svn://10.0.0.236/trunk@55511 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:07:31 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
waterson%netscape.com
30e53d03e9 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50416 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 03:05:10 +00:00
briano%netscape.com
5d4c8c7daa General cleanup.
git-svn-id: svn://10.0.0.236/trunk@47249 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 01:35:43 +00:00
hoa.nguyen%intel.com
fd33fd7e0b Initial checkin
git-svn-id: svn://10.0.0.236/trunk@46876 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:16:40 +00:00