22 Commits

Author SHA1 Message Date
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
alecf%netscape.com
63a1f09a5d #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82723 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:45:13 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
neeti%netscape.com
7c1ad399fa Fix for bug 48401.
Number of entries and records limited to 512. All known evict situations fixed.
Causing evict to start happening.
r=dp


git-svn-id: svn://10.0.0.236/trunk@79149 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:12:03 +00:00
dp%netscape.com
37a7afe1b7 bug 46147 nsDiskCacheRecord::Delete() can ignore file delete errors as
for the file might not exist. r=gagan,neeti


git-svn-id: svn://10.0.0.236/trunk@79130 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:49:07 +00:00
neeti%netscape.com
a48f9debee fix for bug 50977-After surfing, web pages stop loading. Tossing cache fixes,r=dp
git-svn-id: svn://10.0.0.236/trunk@78743 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:00:40 +00:00
dp%netscape.com
187a9be221 bug 50922 mFile's stat cache isnt refreshed after file changed on
disk. This causes wrong content length and incorrect cache
updates. r=neeti


git-svn-id: svn://10.0.0.236/trunk@78172 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:42:10 +00:00
dp%netscape.com
c4f5139c2f bug 41950 Preventing garbage content lengths from cache. r=neeti
git-svn-id: svn://10.0.0.236/trunk@77446 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:14:28 +00:00
neeti%netscape.com
00589ce8f2 applying Waterson's patch to bug 49108. r=neeti
git-svn-id: svn://10.0.0.236/trunk@77357 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 13:44:12 +00:00
warren%netscape.com
e5706a7236 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
neeti%netscape.com
f375211dd9 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


git-svn-id: svn://10.0.0.236/trunk@75139 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:32:14 +00:00
neeti%netscape.com
91d835a058 fix for bug 40084 - [CRASH] Crash in disk cache code, r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@74916 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 14:28:48 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +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
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
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
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
sfraser%netscape.com
a60b2a2d65 Changing usage of nsCOMPtr on a non-interface pointer to raw addref-release. r=fur
git-svn-id: svn://10.0.0.236/trunk@55543 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:32:52 +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