114 Commits

Author SHA1 Message Date
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cbiesinger%web.de
880175df8c bug 327065 misc necko cleanup, see bug for details
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@189957 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 15:37:10 +00:00
darin%meer.net
6ced2768d4 fix error in last checkin: a.Left(b, 10) != a = Substring(b, 10)
r=biesi


git-svn-id: svn://10.0.0.236/trunk@184330 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 23:39:42 +00:00
bsmedberg%covad.net
fa1e0343c1 Bug 315087 - convert necko tests to use the glue, r=darin
git-svn-id: svn://10.0.0.236/trunk@184308 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 19:23:00 +00:00
cbiesinger%web.de
5d85d7ccaa bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property


git-svn-id: svn://10.0.0.236/trunk@171661 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 17:40:32 +00:00
cbiesinger%web.de
af30395567 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@170312 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:46:06 +00:00
darin%meer.net
c7f88fd682 attempt to fix otaku bustage
git-svn-id: svn://10.0.0.236/trunk@165111 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-08 06:39:59 +00:00
bsmedberg%covad.net
1fee476a79 Revert timeless' incorrect bustage-fix.
git-svn-id: svn://10.0.0.236/trunk@164655 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 04:30:48 +00:00
timeless%mozdev.org
3389051d73 random efforts at build bustage fixing.
statics are guaranteed to be null anyway so there's no reason to specify
NULL.


git-svn-id: svn://10.0.0.236/trunk@164638 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 23:20:50 +00:00
dveditz%cruzio.com
cda3a7d10c bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst
git-svn-id: svn://10.0.0.236/trunk@164582 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 22:52:45 +00:00
darin%meer.net
1fc943d9ea make necko tests work on the trunk
git-svn-id: svn://10.0.0.236/trunk@164159 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-21 20:57:17 +00:00
cbiesinger%web.de
849b9ea6cc Bug 227057 remove nsIResumableEntityID in favor of using strings for the entity
id.
r=darin sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@161596 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 18:04:17 +00:00
cbiesinger%web.de
8f66d1ac2b bug 243974 can't download files larger than 4 GB
Also changes nsIResumableChannel to have a resumeAt function, that does not open the channel immediately, and changes its size parameter to a 64 bit integer
r=darin sr=bryner


git-svn-id: svn://10.0.0.236/trunk@157978 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-16 19:51:21 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
cbiesinger%web.de
67e0cece61 Bug 219556 necko support for resumable downloads via http
r=darin sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@154876 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 17:37:39 +00:00
darin%meer.net
79e6c3ed92 fixes bug 224653 "provide cross-platform NTLM auth implementation" r=kaie sr=bryner
git-svn-id: svn://10.0.0.236/trunk@149475 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 02:20:34 +00:00
bryner%brianryner.com
109d623425 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146624 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 23:12:15 +00:00
timeless%mozdev.org
3fbb54fa10 Bug 199200 Make Networking Tests XP friendly by using the eventqueueservice
r=darin


git-svn-id: svn://10.0.0.236/trunk@140703 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 16:01:51 +00:00
darin%netscape.com
2b1d90b6ed modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
855a1b80fa Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136019 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:35:09 +00:00
darin%netscape.com
d23b0dfd5f fixes bug 56629 "Proxy: Client->Proxy connection errors should show proxy,
not target hostname" r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@134769 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 04:18:08 +00:00
darin%netscape.com
b59017f198 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134319 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 07:40:16 +00:00
dougt%netscape.com
75999480e5 moves nsIHttpHeaderVisitor into a separate IDL file. b=157133. r=neeti@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130541 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 23:04:01 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
timeless%mac.com
585baa0803 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk


git-svn-id: svn://10.0.0.236/trunk@124683 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 14:29:25 +00:00
dougt%netscape.com
a17830dad4 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118995 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:26:29 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
timeless%mac.com
548b1ac6fd Bug 127270 ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr'
The problem was that InputTestConsumer's QI only listed nsIStreamListener even though
nsIStreamListener inherited from interface nsIRequestObserver.
This adds nsIRequestObserver to the QI.

patch by badami@netscape.com rs=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@115922 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:30:02 +00:00
bbaetz%student.usyd.edu.au
ee8f97679e Bug 107552 - backend for resuming ftp downloads
r=dougt, sr=darin, mac build patches by zach


git-svn-id: svn://10.0.0.236/trunk@114473 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 03:10:19 +00:00
bbaetz%student.usyd.edu.au
115450f895 Bug 120891. TestProtocols was including a cookies header file it didn't
need, breaking no-extentions builds.
r=bryner, sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@112481 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-19 04:04:51 +00:00
timeless%mac.com
8fcbf1b095 Bug 117727 make testprotocols pretty print error condition for unknown Content-Length
a=darin


git-svn-id: svn://10.0.0.236/trunk@112039 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-13 00:54:27 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
valeski%netscape.com
8db35965a8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
darin%netscape.com
b247c6b53d Http branch landing: changes to netwerk/ (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94681 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:04:09 +00:00
rpotts%netscape.com
e8ce898932 fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski)
git-svn-id: svn://10.0.0.236/trunk@93297 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:05:52 +00:00
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
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +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
dbaron%fas.harvard.edu
1b7eec341f Fix OS/2 bustage from dougt's changes with PR_STATIC_CALLBACK.
git-svn-id: svn://10.0.0.236/trunk@86742 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:54:47 +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
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
warren%netscape.com
997161d193 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
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
valeski%netscape.com
308822e8ed making urlinfo threadsafe for test harness a=granrose
git-svn-id: svn://10.0.0.236/trunk@73082 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 18:49:07 +00:00
valeski%netscape.com
5297878f1d 42767. AsyncOpen (dead code) removal.
git-svn-id: svn://10.0.0.236/trunk@72393 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:59:30 +00:00