sharparrow1%yahoo.com
10a2a082bc
Bug 388245: Remove NS_IMPL_THREADSAFE* macros from netwerk/streamconv. r+sr=biesi
...
git-svn-id: svn://10.0.0.236/trunk@230936 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 16:22:28 +00:00
bryner%brianryner.com
ddf32f15d6
Don't lose track of image requests that are multipart/x-mixed-replace, so that we can disable bfcache for these documents. Bug 308903, r=pavlov, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@181504 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 22:27:20 +00:00
bzbarsky%mit.edu
d5b67c4963
Make our content-type header parsing closer to spec (it wasn't allowing some
...
perfectly valid things), and have only one function for doing said parsing
instead of two separate functions. Bug 244964, r+sr=darin, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176555 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 20:27:04 +00:00
bzbarsky%mit.edu
b9910f7dd3
Include the part number inside a multipart document in the state key, so that
...
state restoration works correctly on each part. Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
git-svn-id: svn://10.0.0.236/trunk@167788 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 17:47:23 +00:00
cbiesinger%web.de
7a0cda61b9
bug 264599 make unfrozen necko interfaces use 64-bit integers.
...
r=darin sr=bz a=asa
git-svn-id: svn://10.0.0.236/trunk@167443 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-09 20:43:35 +00:00
cbiesinger%web.de
5999fe7ca6
bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@158580 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-29 16:45:07 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +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
darin%meer.net
6d7fab1144
fixes bug 239405 "strchr, strrchr, etc. implicit const_cast can cause problems for shared string buffers" r=bienvenu sr=dbaron a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154485 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 17:16:17 +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
darin%meer.net
474b765c00
initial patch for bug 210561 "eliminate nsCookieHTTPNotify; have HTTP talk directly to nsICookieService" patch=dwitte r=mvl sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@145577 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 01:44:27 +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
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
timeless%mac.com
d0cbc1af41
Bug 168248 minor cleanup to nsMultiMixedConv.cpp
...
r=brade sr=darin
git-svn-id: svn://10.0.0.236/trunk@129365 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 18:12:51 +00:00
bzbarsky%mit.edu
ccde92f9ab
Honor content-disposition: attachment even when it's set on content we
...
can handle internally. Bug 98360, r=law,rpotts, sr=darin. Correct
whitespace this time.
git-svn-id: svn://10.0.0.236/trunk@128739 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:00:22 +00:00
bzbarsky%mit.edu
dd584a1b1c
doh. Wrong patch version (-w). backing it out and fixing the whitespace...
...
git-svn-id: svn://10.0.0.236/trunk@128732 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:47:44 +00:00
bzbarsky%mit.edu
d6efaf6bdf
Honor content-disposition: attachment even when it's set on content we
...
can handle internally. Bug 98360, r=law,rpotts, sr=darin
git-svn-id: svn://10.0.0.236/trunk@128731 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:46:25 +00:00
darin%netscape.com
7c90640409
fixes bug 158500 "Binary data in multipart/x-mixed-replace get an extra line end when saved or viewed." r=dougt sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@127211 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 23:39:36 +00:00
darin%netscape.com
f0cbbd351e
fixes bug 94734 - crash on a bugzilla search
...
patch=ajschult@eos.ncsu.edu r/sr=darin,blizzard a=brendan
git-svn-id: svn://10.0.0.236/trunk@125956 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 22:59:44 +00:00
darin%netscape.com
ad0d32a868
fixes bug 100595 "crash @nsMultiMixedConv::FindToken [was: sandiegozoo.org
...
- this site crashes the browser, every time]"
r=dougt sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@122116 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:46:01 +00:00
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
bzbarsky%mit.edu
fe03bdce6c
Fix parsing of content-types with options (bug 138639). r=bbaetz, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@119578 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:55:30 +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
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