Commit Graph

1030 Commits

Author SHA1 Message Date
gordon%netscape.com
b48bfc8c83 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
1931787d13 bug 41950 Preventing garbage content lengths from cache. r=neeti 2000-08-29 03:14:28 +00:00
neeti%netscape.com
71e792567f applying Waterson's patch to bug 49108. r=neeti 2000-08-28 13:44:12 +00:00
rpotts%netscape.com
17e544aa84 bug #48546. Implement Get/SetLoadAttributes(...) 2000-08-24 22:56:41 +00:00
rpotts%netscape.com
749abe34f1 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
e05eef45e9 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
fa79d800a4 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
e12f238589 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
warren%netscape.com
d43828f23c 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
394519c970 Fix 47408, a=gagan,r=neeti 2000-08-11 21:31:13 +00:00
warren%netscape.com
84b5fd67e3 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
4275f64f82 38260. removing shadowed rv declaration, and xpfe #include dependency 2000-08-08 21:43:47 +00:00
mkaply%us.ibm.com
1e502bd8e0 #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
4ad9286280 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
70e2ba8ffa 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
41ff58d508 fix for bug 40084 - [CRASH] Crash in disk cache code, r/a=gagan 2000-07-27 14:28:48 +00:00
warren%netscape.com
2b01440bc0 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
c5cd14f561 Fix for bug 38244 - modified files cached incorrectly,r=ruslan@netscape.com 2000-07-21 04:33:26 +00:00
dougt%netscape.com
d84c495203 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
7ce825ddd8 Fixed comment 2000-07-07 23:43:00 +00:00
ruslan%netscape.com
d2c1fc301c 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
1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
rusty.lynch%intel.com
7367543c9a David Baron's patch to fix bug #41172. r=waterson 2000-06-26 21:03:19 +00:00
neeti%netscape.com
cf07bf69ec Removing an useless include xpcomio_s from the Makefile.r/a=gagan 2000-06-26 19:57:41 +00:00
valeski%netscape.com
f0fec56b70 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
warren%netscape.com
88151adad6 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
6ac995b23d solving missing .xpt file install issue 2000-06-02 08:10:41 +00:00
mkaply%us.ibm.com
8063571b08 # 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
4bf37f3e3f File Removed. 2000-05-25 14:25:11 +00:00
davidm%netscape.com
c4fa42cc1c 34545 blo P1ermissions of 000 for disk cache directories r= sspitzer 2000-05-19 02:14:04 +00:00
cls%seawood.org
a8000b8bb5 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
7c57f0befa Fix return code error, davidm 2000-05-17 00:32:47 +00:00
davidm%netscape.com
e67e10847a 34314 Remove execute permission from cache files 2000-05-16 21:58:17 +00:00
jdunn%netscape.com
7115e67255 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
19d5868936 hp only fix, word boundary problem
bug # 37482  r=jdunn@netscape.com
2000-05-10 01:11:22 +00:00
davidm%netscape.com
c986db0a37 37071 Crash while downloading anything 37353 browser segfaults on page loading 2000-05-07 05:38:02 +00:00
warren%netscape.com
185c96de20 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
davidm%netscape.com
538f53ea9a Use QI to prevent a nsCOMPtr assert 2000-05-05 03:09:08 +00:00
davidm%netscape.com
d02c8bd902 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
06fb0d06ec fix assertion, reported by mjudge. 2000-04-28 08:09:57 +00:00
ruslan%netscape.com
89455c8bd4 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
8fd8ee025a 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
8754202470 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
a0fe6c9940 stop up a couple of leaks. r=davidm 2000-04-21 21:23:10 +00:00
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
davidm%netscape.com
59af07abb0 35197 Leaking nsFileSpecImpl 2000-04-19 04:41:28 +00:00
ruslan%netscape.com
848ca9862f Fix 35508, 33762, 35024. 2000-04-14 21:10:27 +00:00
warren%netscape.com
2979b9b4c6 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
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
d1da2233ff 34314 Whacky permissions on Cache directories. 2000-04-05 00:08:21 +00:00
cls%seawood.org
fdd09457b4 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
91aed9a261 Changed 'default' content type to application/x-unknown-content-type (was text/html!). 2000-04-04 07:13:22 +00:00
cls%seawood.org
f6740baa20 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
7d74a5a853 viewer crashing on http url 2000-04-03 22:53:39 +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
7e8ae39cbf unregister pref listeners r = gordon@netscape.com 2000-04-03 01:56:15 +00:00
davidm%netscape.com
9d9886c47f update channel to work with warrens changes 2000-04-03 01:47:43 +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
jim_nance%yahoo.com
dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
alecf%netscape.com
08200aa661 reduce dependancies on nsIPref.h 2000-03-29 09:46:39 +00:00
warren%netscape.com
998a989f7d Added prio.h for linux. 2000-03-29 04:46:19 +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
dougt%netscape.com
8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +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
rpotts%netscape.com
bfb8fe0af9 Too many OnStopRequest(...) calls were being made by the memcache in AsyncReadStreamAdaptor::Cancel(...). It turns out that Cancel() is called more than once. Each call was generating an OnStopRequest(...). This was later triggering an ASSERT that mDownstreamListener was NULL 2000-02-12 06:18:50 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
sspitzer%netscape.com
b8c3a871df some bulletproofing code. I got a random crash here (sorry, I lost the stack) because the
downstreamlister was null.  trying to reproduce.  at least now it will only assert.
r=mscott
2000-02-05 01:20:09 +00:00
mcafee%netscape.com
f20ed5907b Fixing /* within /* warning, r=slamm 2000-02-04 02:56:48 +00:00
sdagley%netscape.com
813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +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
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +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
rpotts%netscape.com
023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +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
colin%theblakes.com
0800ef0b74 Add MOZ_COMPONENT_LIBS. r=jdunn 2000-01-06 11:06:54 +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
sdagley%netscape.com
7f46d43ea4 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
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
82e896700b 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
971124a079 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
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
fur%netscape.com
bb0b094ab5 Include definition of nsIStorageStream class to satisfy Sun compiler 1999-12-07 07:05:31 +00:00
sfraser%netscape.com
1c1ea70b42 Add DBM to the project. r=fur 1999-12-07 06:48:22 +00:00
sfraser%netscape.com
11bbeee76c First Checked In. 1999-12-07 06:43:19 +00:00
sfraser%netscape.com
f63f0d0e73 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
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
sdagley%netscape.com
07e8b3cac6 First Checked In. 1999-12-07 06:05:45 +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
fur%netscape.com
1a5893f09f Christ, forgot the semicolon 1999-12-07 04:49:43 +00:00
fur%netscape.com
f9af2987a9 Remove test code 1999-12-07 04:45:44 +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
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
cls%seawood.org
dcb3aa39d9 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
5312eacf8c 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
28ad514473 Checkpoint 1999-11-05 21:58:37 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
fur%netscape.com
d372095c34 Initial version of net data cache APIs 1999-10-15 00:46:41 +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
dveditz%netscape.com
ff01d5e8f4 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
4bb28b8cda Updated API 1999-10-01 21:30:53 +00:00
fur%netscape.com
83b33c9a8b Initial cut at network cache IDL 1999-09-20 06:43:24 +00:00
briano%netscape.com
a54c669e40 General cleanup. 1999-09-14 01:35:43 +00:00
hoa.nguyen%intel.com
adf82b7cf1 Initial checking 1999-09-10 23:17:09 +00:00
hoa.nguyen%intel.com
3ab6a57a1d Initial checkin 1999-09-10 23:16:40 +00:00