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
bzbarsky%mit.edu
84bf45c17f
Make parts of multipart streams expose content-disposition. Bug 123043,
...
r=law, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@113743 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:39:04 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
darin%netscape.com
82d866c6cf
fixing compiler warning, function missing a return value.
...
git-svn-id: svn://10.0.0.236/trunk@109067 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 00:24:00 +00:00
radha%netscape.com
ddac650d1a
nsPartChannel implements nsIMultiPartChannel to provide access to base channel. r=darin sr=rpotts bug=99638
...
git-svn-id: svn://10.0.0.236/trunk@109050 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 23:13:10 +00:00
gagan%netscape.com
86e1f7ce7b
Fix for bug 100595. Resetting cursor after buffer has been prepended with the boundary string. r/sr=darin/dougt
...
git-svn-id: svn://10.0.0.236/trunk@106874 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:51:38 +00:00
jaggernaut%netscape.com
5e2a1a7476
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106206 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:47:43 +00:00
jaggernaut%netscape.com
51e0dc7a6c
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +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
darin%netscape.com
26e705bd56
fixes bug 83465 "response with empty content-type opens helper dialog (telocity dsl modem/router)"
...
r=bbaetz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@100451 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 01:23:54 +00:00
dougt%netscape.com
1f60ded100
Fixes a problem when the data ends in a header. 85529, r=valeski, sr=rpotts
...
git-svn-id: svn://10.0.0.236/trunk@98711 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 21:30:47 +00:00
dougt%netscape.com
1f813122bc
Fixes 85529. r=valeski@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@98677 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 17:35:20 +00:00
dougt%netscape.com
643a5fd80b
Fix for some servers that send "Range" instead of "Content-Range". r=peterl, sr=rpotts bug 85547.
...
git-svn-id: svn://10.0.0.236/trunk@98639 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 15:59:47 +00:00
blizzard%redhat.com
85dfb8c811
bug #87534 . multipart/mixed handler doesn't parse content-type handler properly. r=dougt, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@98458 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-02 19:35:48 +00:00
dougt%netscape.com
f2792caa5d
Fixes 84444 & 84441. r=gagan@netscape.com, sr=darin@netscape.com, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@97698 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 22:06:19 +00:00
scc%mozilla.org
90f810b66a
bug #85271 : sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
...
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
rpotts%netscape.com
d13a557074
bug #81937 (r=valeski, sr=mscott, a=selmer) multipart/x-mixed-replace content was not being retargetted correctly...
...
git-svn-id: svn://10.0.0.236/trunk@96012 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 22:10:50 +00:00
blizzard%redhat.com
aa65972667
Fix crasher bug #82003 . Mozilla would crash when viewing some multipart pages. Make sure that we call free on the right variable. r=gagan, rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@95679 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 14:44:28 +00:00
dougt%netscape.com
26646cfeba
Fix for 81384. Add multipart/byterange support to the multipart/mixed stream converter. At somepoint we should rename this file. r=valeski@netscape.com, sr=darin@Netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@95434 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 22:22:15 +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
timeless%mac.com
75929d9555
fix Bugzilla Bug 75853 CR and LF are naked ifdefs
...
r=dveditz, sr=scc
git-svn-id: svn://10.0.0.236/trunk@92666 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 05:59:43 +00:00
darin%netscape.com
afd4500f54
Patch to finalize necko loadFlags and fix HTTP validation correctness w.r.t.
...
cache validation preferences and browsing via history. r=gagan,gordon.
Fixes several bugs that I would mention here if bugzilla weren't down ;-)
git-svn-id: svn://10.0.0.236/trunk@92271 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 02:02:19 +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
valeski%netscape.com
71ac843c4b
sr=rpotts. 61160. allowing buffering if we haven't started a sub response yet.
...
git-svn-id: svn://10.0.0.236/trunk@88437 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:59:42 +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
valeski%netscape.com
5ce21403d9
sr=rpotts. 39987. handling broken servers which don't provide a boundary token in the first block. also protecting against stray parsing which can result in crashes.
...
git-svn-id: svn://10.0.0.236/trunk@88077 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 12:33:12 +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
valeski%netscape.com
d605064355
44848. r=gagan. fixing leaked strings
...
git-svn-id: svn://10.0.0.236/trunk@75354 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 23:27:29 +00:00
valeski%netscape.com
f8c7cff256
37669. removing unused buildURI code
...
git-svn-id: svn://10.0.0.236/trunk@75081 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:54:59 +00:00
valeski%netscape.com
d01141325c
r-vidur. fixing boundary parsing logic to handle boundary identifiers wrapped in double quotes and spaces, 45878
...
git-svn-id: svn://10.0.0.236/trunk@74763 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:03:15 +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
ruslan%netscape.com
5038376f85
WIP on 40449, a/r=gagan
...
git-svn-id: svn://10.0.0.236/trunk@73846 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:02:47 +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
2eb57c7b05
Fix 39941; a=gagan
...
git-svn-id: svn://10.0.0.236/trunk@71290 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:47:53 +00:00
valeski%netscape.com
5357b0c6ca
r=alecf. 39987. occasional crasher in nsMultiMixedConv.cpp stream converter. We now ensure that we don't search for EOL if we've moved beyond the legitimate buf len
...
git-svn-id: svn://10.0.0.236/trunk@70589 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 06:06:57 +00:00
valeski%netscape.com
17253bd373
38864. making multi mixed converter more flexible to handle more boundary types.
...
git-svn-id: svn://10.0.0.236/trunk@69447 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:56:47 +00:00
valeski%netscape.com
64ae3223bf
35329. MultiMixed converter was stripping *all* whitespace from header values, now it is just compressing it off the ends.
...
git-svn-id: svn://10.0.0.236/trunk@68094 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:14:39 +00:00
valeski%netscape.com
91b336fbed
fixing multi mixed so it can handle errors coming from the data producer (http)
...
git-svn-id: svn://10.0.0.236/trunk@66286 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 13:42:40 +00:00
scc%netscape.com
8bddc6616e
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66079 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 09:16:58 +00:00
valeski%netscape.com
a7376f3952
re-write of multi-mixed converter so it handles binary data. also have the unknown decoder looking for script tags.
...
git-svn-id: svn://10.0.0.236/trunk@66008 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:27:32 +00:00
scc%netscape.com
f969456203
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@64929 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 09:10:15 +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
mscott%netscape.com
7bd0e8d855
Bug #31581 --> nsMultiMixedConv::BuildURI was calling nsString.Append with a PRInt32. Unfortunately,
...
the compiler was implicitly converting this integer into a PRunichar. this caused us to
get the wrong strings for each part.
I simply forced us to use the correct version of append that takes a PRInt32. This fixes the
problems we've been having using bugzilla.
r=none due to the trivial nature of the fix, the severity of the problem and the fact
that I couldn't find an appropriate reviewer.
git-svn-id: svn://10.0.0.236/trunk@63266 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:52:56 +00:00
valeski%netscape.com
042424bf28
24033. r=vidur. the multi-mixed-replace converter wasn't clearing it's layover buffer. this was causing headers to bleed into content and double content generation
...
git-svn-id: svn://10.0.0.236/trunk@62068 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 20:42:27 +00:00
rpotts%netscape.com
8457af366d
bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs
...
git-svn-id: svn://10.0.0.236/trunk@57915 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 06:12:54 +00:00
valeski%netscape.com
07aa01c722
a=chofmann, multi-mixed converter wasn't returning nsIStreamObserver if QI'd for it, even though it implements it; now it does
...
git-svn-id: svn://10.0.0.236/trunk@56267 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 02:54:55 +00:00
warren%netscape.com
c7d8a4a439
Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
...
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00