Commit Graph

43 Commits

Author SHA1 Message Date
davidm%netscape.com
871baea0d9 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
1ca037af67 Fix problem with prefs not being initialized 2000-04-19 04:43:04 +00:00
ruslan%netscape.com
848ca9862f Fix 35508, 33762, 35024. 2000-04-14 21:10:27 +00:00
mkaply%us.ibm.com
16e912ab31 # 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
12bc8b0f4f unregister pref callbacks turn on compile flag for disk cache 2000-04-03 01:58:17 +00:00
davidm%netscape.com
9c35ae4635 32610 nsReplacementPolicy::LoadAllRecordsInAllCacheDatabases( 2000-04-03 01:46:45 +00:00
scc%netscape.com
52e40e9c6d making string conversions explicit 2000-04-01 22:31:00 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
dougt%netscape.com
72979944e8 removing checks for null before calling delete(). I do not know what I was
thinking.  davidm pointed this out.
2000-03-28 11:39:06 +00:00
bruce%cybersight.com
9493200111 Fix for memory leak. r=gordon bug #28902 2000-03-18 04:10:27 +00:00
gagan%netscape.com
f1c26981bb Fix a mem leak. r=bruce. 2000-03-16 04:15:38 +00:00
dougt%netscape.com
5bb01f0609 adding checks before delete(). 2000-03-15 07:47:33 +00:00
gagan%netscape.com
c6349ecc8b Fix for 30385. We were leaking channel due to the no longer needed "proxy channel" by the cache transport (mem cache) Also removed nsIHttpEventSink.h since its now an IDL. Also fixed 31667, 31222, 31657 (the assertion failures for thread safety) 2000-03-14 03:24:56 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
rpotts%netscape.com
04d8935869 bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels... nsCacheEntryChannel.cpp 2000-02-29 04:45:14 +00:00
davidm%netscape.com
a8348da192 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 2000-02-16 07:48:06 +00:00
gagan%netscape.com
2113f0d630 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 2000-01-25 03:11:16 +00:00
mscott%netscape.com
4ab4a29bdf 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
2000-01-24 00:32:14 +00:00
valeski%netscape.com
09d0af3430 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. 2000-01-21 23:58:29 +00:00
mscott%netscape.com
c18efc0320 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
2000-01-13 03:17:38 +00:00
jdunn%netscape.com
33b9771398 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
2000-01-06 20:50:59 +00:00
jdunn%netscape.com
20691ec6d3 |T| requires an accessible default constructor (on some old compilers)
r= scc@netscape.com
2000-01-06 00:43:19 +00:00
rpotts%netscape.com
672c0938ff Removed over aggressive assert when the loadgroup listener factory does not exist 2000-01-04 05:46:47 +00:00
dougt%netscape.com
43d538707a Including nsIAllocator.h directly. 2000-01-03 23:23:33 +00:00
fur%geocast.com
a516109cda 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.
1999-12-18 14:59:59 +00:00
fur%geocast.com
94eddbd362 Fix #21660 (Browser buster crash in cache). a:chofmann 1999-12-18 14:58:09 +00:00
alecf%netscape.com
9eb84400c8 fix bustage so I can check in 1999-12-08 06:44:18 +00:00
fur%netscape.com
e422da8a9b 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. 1999-12-08 05:46:31 +00:00
fur%netscape.com
ed725966ce + Handle the case of inability to write into cache correctly.
+ Be more aggressive about clearing the UPDATE_IN_PROGRESS flag on the cache entry
1999-12-08 03:32:56 +00:00
fur%netscape.com
45bb9c5427 + Eliminated use of bool to accommodate non-ANSI C++ compilers.
(Thanks to tor@cs.brown.edu for the patch)
+ Eliminated compiler warnings
1999-12-07 09:49:55 +00:00
sspitzer%netscape.com
736cf231a3 ignore the generated Makefiles 1999-12-07 09:31:05 +00:00
fur%netscape.com
771d577a8e Fixed incorrect calculation of content download time and profitability of caching a given URL. r:none 1999-12-07 08:51:03 +00:00
fur%netscape.com
c9ad7f29ae Increase default memory cache capacity to 1M from 100KB testing value 1999-12-07 08:49:42 +00:00
fur%netscape.com
4bfc9b0810 Sun compiler requires nsCOMPtr types to be fully defined 1999-12-07 07:51:31 +00:00
sfraser%netscape.com
d7bec0c5bc Some casts and a .get() so that it compiles on Mac. r=fur 1999-12-07 06:31:14 +00:00
sfraser%netscape.com
e72089e1d6 Fixes to build on Mac, where PRInt64 is a struct, and fix a typo. r=fur 1999-12-07 06:29:13 +00:00
fur%netscape.com
f084d505e3 + Added cast to help Mac compile
+ Fixed problem in which download-time was not being computed (#8305)
1999-12-07 04:54:05 +00:00
pavlov%netscape.com
78ef5d486d build cache build r=fur 1999-12-07 04:29:26 +00:00
fur%netscape.com
a3e4a5596f Landing of CacheIntegration_BRANCH in support of bug #8305 (Implement cache) 1999-12-07 02:07:31 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
waterson%netscape.com
bdfcaec321 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 1999-10-12 03:05:10 +00:00
briano%netscape.com
a54c669e40 General cleanup. 1999-09-14 01:35:43 +00:00
hoa.nguyen%intel.com
3ab6a57a1d Initial checkin 1999-09-10 23:16:40 +00:00