24 Commits

Author SHA1 Message Date
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
bryner%uiuc.edu
ab5139c48f Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@88637 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:10:33 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
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.

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


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
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
darin%netscape.com
73495dffa0 Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@85390 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:10:34 +00:00
rpotts%netscape.com
3a6bfa541f bug #48546. The cache channel should delegate the handling of load attributes to the cache channel (ie. disk/memory channel)...
git-svn-id: svn://10.0.0.236/trunk@77127 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:54:45 +00:00
warren%netscape.com
f29b00bbe4 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
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +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
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
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
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
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
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
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
fur%geocast.com
244b5031b2 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.


git-svn-id: svn://10.0.0.236/trunk@56197 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 14:59:59 +00:00
fur%netscape.com
0ed5b2154b 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.
git-svn-id: svn://10.0.0.236/trunk@55734 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:46:31 +00:00
fur%netscape.com
111e27ee79 Fixed incorrect calculation of content download time and profitability of caching a given URL. r:none
git-svn-id: svn://10.0.0.236/trunk@55572 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:51:03 +00:00
sfraser%netscape.com
356f03c947 Some casts and a .get() so that it compiles on Mac. r=fur
git-svn-id: svn://10.0.0.236/trunk@55542 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 06:31:14 +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