89 Commits

Author SHA1 Message Date
sspitzer%netscape.com
bd06626120 fix assertion, reported by mjudge.
git-svn-id: svn://10.0.0.236/trunk@67501 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:09:57 +00:00
ruslan%netscape.com
2a5e84b4e0 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.


git-svn-id: svn://10.0.0.236/trunk@67490 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:36:31 +00:00
mscott%netscape.com
c3461eec43 implement GetContentLength for a memory cache entry. This helps us report
progress for items coming out of the cache


git-svn-id: svn://10.0.0.236/trunk@67032 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:48:48 +00:00
cls%seawood.org
edfdaaa3a8 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).


git-svn-id: svn://10.0.0.236/trunk@66931 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 17:48:04 +00:00
danm%netscape.com
6e7d9365b0 stop up a couple of leaks. r=davidm
git-svn-id: svn://10.0.0.236/trunk@66743 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:23:10 +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
davidm%netscape.com
d3d43bee83 Fix problem with prefs not being initialized
git-svn-id: svn://10.0.0.236/trunk@66412 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:43:04 +00:00
davidm%netscape.com
34312be304 35197 Leaking nsFileSpecImpl
git-svn-id: svn://10.0.0.236/trunk@66410 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:41:28 +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
warren%netscape.com
22161b7197 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.
git-svn-id: svn://10.0.0.236/trunk@65680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:24 +00:00
mkaply%us.ibm.com
30e533ca3d # 34082
r= warren@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage


git-svn-id: svn://10.0.0.236/trunk@65290 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:32:07 +00:00
davidm%netscape.com
9ac1d46fcb 34314 Whacky permissions on Cache directories.
git-svn-id: svn://10.0.0.236/trunk@65226 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:08:21 +00:00
cls%seawood.org
f5a05cad34 Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106


git-svn-id: svn://10.0.0.236/trunk@65167 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:37:50 +00:00
warren%netscape.com
1850303e1b Changed 'default' content type to application/x-unknown-content-type (was text/html!).
git-svn-id: svn://10.0.0.236/trunk@65164 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:13:22 +00:00
cls%seawood.org
a26020ddae 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
git-svn-id: svn://10.0.0.236/trunk@65143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:46:38 +00:00
davidm%netscape.com
464de633a0 viewer crashing on http url
git-svn-id: svn://10.0.0.236/trunk@65071 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:53:39 +00:00
davidm%netscape.com
f5d8545cf8 unregister pref callbacks
turn on compile flag for disk cache


git-svn-id: svn://10.0.0.236/trunk@64983 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:58:17 +00:00
davidm%netscape.com
f6652ff6aa unregister pref listeners
r = gordon@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64982 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:56:15 +00:00
davidm%netscape.com
11162e5110 update channel to work with warrens changes
git-svn-id: svn://10.0.0.236/trunk@64977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:47:43 +00:00
davidm%netscape.com
b2a5114130 32610 nsReplacementPolicy::LoadAllRecordsInAllCacheDatabases(
git-svn-id: svn://10.0.0.236/trunk@64976 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:46:45 +00:00
scc%netscape.com
30c94c1d11 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64906 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:31:00 +00:00
jim_nance%yahoo.com
b1ccfbf2cb 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


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
alecf%netscape.com
2868141ead reduce dependancies on nsIPref.h
git-svn-id: svn://10.0.0.236/trunk@64475 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 09:46:39 +00:00
warren%netscape.com
bb20bd58fe Added prio.h for linux.
git-svn-id: svn://10.0.0.236/trunk@64452 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 04:46:19 +00:00
warren%netscape.com
9fa657f1cd 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.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
dougt%netscape.com
8c7386c26d removing checks for null before calling delete(). I do not know what I was
thinking.  davidm pointed this out.


git-svn-id: svn://10.0.0.236/trunk@64362 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 11:39:06 +00:00
bruce%cybersight.com
fbaca24345 Fix for memory leak. r=gordon bug #28902
git-svn-id: svn://10.0.0.236/trunk@63367 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 04:10:27 +00:00
dougt%netscape.com
9c2acfa2d6 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren.
git-svn-id: svn://10.0.0.236/trunk@63319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:06:32 +00:00
gagan%netscape.com
0b998bfacc Fix a mem leak. r=bruce.
git-svn-id: svn://10.0.0.236/trunk@63133 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 04:15:38 +00:00
dougt%netscape.com
6da87faa08 adding checks before delete().
git-svn-id: svn://10.0.0.236/trunk@63025 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 07:47:33 +00:00
gagan%netscape.com
2243abab30 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)
git-svn-id: svn://10.0.0.236/trunk@62832 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:24:56 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
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
rpotts%netscape.com
72d5cba5a2 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
git-svn-id: svn://10.0.0.236/trunk@60590 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 06:18:50 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
sspitzer%netscape.com
5e9679c2c2 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


git-svn-id: svn://10.0.0.236/trunk@59826 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 01:20:09 +00:00
mcafee%netscape.com
271a9a8241 Fixing /* within /* warning, r=slamm
git-svn-id: svn://10.0.0.236/trunk@59721 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 02:56:48 +00:00
sdagley%netscape.com
bcdcf3c3c3 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59359 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 04:27:22 +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
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +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
rpotts%netscape.com
50c3fad132 Made contentType a read/write attribute of nsIChannel
git-svn-id: svn://10.0.0.236/trunk@57178 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 06:26:04 +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
colin%theblakes.com
8e103e8b60 Add MOZ_COMPONENT_LIBS. r=jdunn
git-svn-id: svn://10.0.0.236/trunk@56952 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 11:06:54 +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