Commit Graph
51 Commits
Author SHA1 Message Date
gagan@netscape.com 5f6a85bf24 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
dougt@netscape.com d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
mscott@netscape.com 8db653eb1c 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 ba42191892 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 05b4df17f2 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
rpotts@netscape.com f1c2022b34 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
jdunn@netscape.com 09f2cea5ba 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
colin@theblakes.com a43494a70e Add MOZ_COMPONENT_LIBS. r=jdunn 2000-01-06 11:06:54 +00:00
jdunn@netscape.com fa443f29b8 |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 a48fe6594b Removed over aggressive assert when the loadgroup listener factory does not exist 2000-01-04 05:46:47 +00:00
dougt@netscape.com 2576c195fb Including nsIAllocator.h directly. 2000-01-03 23:23:33 +00:00
fur@geocast.com 9bc88a218d 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 10c386831a Fix #21660 (Browser buster crash in cache). a:chofmann 1999-12-18 14:58:09 +00:00
sdagley@netscape.com 0586b035d2 Checking in fur's fix for #21162 - throbber animation not stoping. Also major speed improvment on NT and Mac. a=brendan 1999-12-11 02:25:00 +00:00
alecf@netscape.com e39e8a6ab0 fix bustage so I can check in 1999-12-08 06:44:18 +00:00
fur@netscape.com 0a0fdd80ed 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 265e246526 + 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 ba74a1e219 Change failure to shut down memory cache cleanly into a warning, instead of an assertion 1999-12-08 03:29:21 +00:00
fur@netscape.com 9648dc1d1a Change name of cache lib from libnkcache.so to libnecko_cache.so, to be more consistent with other necko components 1999-12-07 22:16:58 +00:00
fur@netscape.com f63d0a65c5 + 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 aecaf290ae ignore the generated Makefiles 1999-12-07 09:31:05 +00:00
fur@netscape.com 061b33964a 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 737787c05e Increase default memory cache capacity to 1M from 100KB testing value 1999-12-07 08:49:42 +00:00
fur@netscape.com b58e3ed04e Sun compiler requires nsCOMPtr types to be fully defined 1999-12-07 07:51:31 +00:00
fur@netscape.com 6bc2790de0 Include definition of nsIStorageStream class to satisfy Sun compiler 1999-12-07 07:05:31 +00:00
sfraser@netscape.com b399ee9d7e Add DBM to the project. r=fur 1999-12-07 06:48:22 +00:00
sfraser@netscape.com ea94fb241c First Checked In. 1999-12-07 06:43:19 +00:00
sfraser@netscape.com aca3122390 Changing usage of nsCOMPtr on a non-interface pointer to raw addref-release. r=fur 1999-12-07 06:32:52 +00:00
sfraser@netscape.com cc1ab6a8c7 Some casts and a .get() so that it compiles on Mac. r=fur 1999-12-07 06:31:14 +00:00
sfraser@netscape.com 78443c6d6e Fixes to build on Mac, where PRInt64 is a struct, and fix a typo. r=fur 1999-12-07 06:29:13 +00:00
sdagley@netscape.com 5efb2a219d First Checked In. 1999-12-07 06:05:45 +00:00
fur@netscape.com 3c270ec33e + 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
fur@netscape.com 6a5be8a786 Christ, forgot the semicolon 1999-12-07 04:49:43 +00:00
fur@netscape.com 6679d970a7 Remove test code 1999-12-07 04:45:44 +00:00
pavlov@netscape.com cf0da23f0f build cache build r=fur 1999-12-07 04:29:26 +00:00
fur@netscape.com 6aeb7e623b Landing of CacheIntegration_BRANCH in support of bug #8305 (Implement cache) 1999-12-07 02:07:31 +00:00
dougt@netscape.com 15861e6442 fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
warren@netscape.com 2faadce595 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren@netscape.com d781c103fb Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
cls@seawood.org 9d0ef09d74 Replaced NO_SECURITY ifdef with MOZ_SECURITY one. This causes pref_VerifyLockFile to always return PR_TRUE rather than linking against the dummy secfree library. This replacement also removed the last dependency upon that dummy library so it will no longer be built (next patch). 1999-11-09 23:13:53 +00:00
dmose@mozilla.org 796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
fur@netscape.com 1faf6bb904 Checkpoint 1999-11-05 21:58:37 +00:00
cls@seawood.org 824ba18df3 Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
fur@netscape.com 5aae7ee47d Initial version of net data cache APIs 1999-10-15 00:46:41 +00:00
waterson@netscape.com 66100de2fb 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
dveditz@netscape.com e4c61f2088 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
fur@netscape.com 01d2df4380 Updated API 1999-10-01 21:30:53 +00:00
fur@netscape.com 5ac4860838 Initial cut at network cache IDL 1999-09-20 06:43:24 +00:00
briano@netscape.com b020e5a24e General cleanup. 1999-09-14 01:35:43 +00:00
hoa.nguyen@intel.com cdff1c75c9 Initial checking 1999-09-10 23:17:09 +00:00