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
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
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
cbiesinger%web.de
b612ae2e98
Bug 217433. Implement nsIRequest::Suspend and ::Resume for the data: channel, by using nsIInputStreamPump.
...
r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147833 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 13:41:20 +00:00
cbiesinger%web.de
8653e085ef
Bug #218920
...
nsDataChannel uses WriteSegments for no good reason
r=darin sr=bz
git-svn-id: svn://10.0.0.236/trunk@146852 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 21:18:08 +00:00
bzbarsky%mit.edu
fe3f1277a3
Make setting contentType or contentCharset act as hints if done before channel
...
open; use this in the CSSLoader to hint that we want text/css data. Bug
120789, r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@144065 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 21:00:46 +00:00
cbiesinger%web.de
64f1912be5
193728 r=bbaetz sr=darin data: Base64-encoded URIs don't support %-encoded characters
...
git-svn-id: svn://10.0.0.236/trunk@142871 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:41:35 +00:00
darin%netscape.com
5e26e4feef
fixing bustage!
...
git-svn-id: svn://10.0.0.236/trunk@137890 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-17 04:38:24 +00:00
darin%netscape.com
e58f1a2138
fixes bug 192478 "mozilla freezes when 'View Selection Source' @ nsPipe3.cpp::nsPipeOutputStream::WriteSegments" r=dougt sr=bz a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@137882 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-17 01:37:28 +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
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
smontagu%netscape.com
d6054944dd
Correct parsing errors of some edge cases omitting optional parameters in data: URLs. Bug 161965 and bug 162019, r=bz, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@127718 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 20:34:39 +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
cbiesinger%web.de
f129e9fca9
bug 138052 patch by timeless r=biesi sr=darin
...
data: is still too agressive about stripping whitespace XML
git-svn-id: svn://10.0.0.236/trunk@120785 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 09:10:36 +00:00
cbiesinger%web.de
c6736ed621
bug 136538 r=bbaetz sr=darin
...
data: protocol doesn't unescape its uri string
git-svn-id: svn://10.0.0.236/trunk@119475 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 06:54:02 +00:00
bzbarsky%mit.edu
1070ebf374
Fix potential memory leaks in nsDataChannel. Bug 138081, r=timeless,
...
sr=darin
git-svn-id: svn://10.0.0.236/trunk@119430 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:37:41 +00:00
bzbarsky%mit.edu
6718729877
Backing patch out since it breaks Win32 and I don't have time to fix it
...
right now.
git-svn-id: svn://10.0.0.236/trunk@119352 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:48:22 +00:00
bzbarsky%mit.edu
e0b7afec0a
Fix potential memory leaks in nsDataChannel. Bug 138081, r=timeless,
...
sr=darin
git-svn-id: svn://10.0.0.236/trunk@119350 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:16:37 +00:00
cbiesinger%web.de
0bae04cfa4
bug 133715 patch by neil@parkwaycc.co.uk r=biesi sr=darin a=asa
...
data: url without charset kills browser
git-svn-id: svn://10.0.0.236/trunk@117687 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-28 21:07:46 +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
seawood%netscape.com
ebd9dc6387
Fix |Cannot use const char* to initialize char*| errors for Sun Forte compilers.
...
Bug #129533 r=jag sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@116302 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 07:35:22 +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
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
rpotts%netscape.com
64c357497f
added new-line at the end
...
git-svn-id: svn://10.0.0.236/trunk@110753 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:43:31 +00:00
rpotts%netscape.com
df5918caa1
bug #102779 (r=darin@netscape.com, sr=jst@netscape.com) data:// urls now use load groups... this allows onLoad events to fire (when appropriate).
...
git-svn-id: svn://10.0.0.236/trunk@110752 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:42:16 +00:00
jaggernaut%netscape.com
576ec93128
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +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
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
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
jat%princeton.edu
d1d3298406
Fixes bug 81185: strips whitespace from base64 encoded test/*, using data: urls. r=valeski, sr=dougt.
...
git-svn-id: svn://10.0.0.236/trunk@98895 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-09 20:09:48 +00:00
neeti%netscape.com
27c9aff84f
patch for bug 78876 - null bytes badly interpreted in base64-encoded data: URI scheme. r=sspitzer, sr=valeski
...
git-svn-id: svn://10.0.0.236/trunk@94989 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 12:45:50 +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
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
sspitzer%netscape.com
396748a09c
fix for #53792 . sr=mscott. compute the length of the data correctly.
...
git-svn-id: svn://10.0.0.236/trunk@83062 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:20:29 +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
4d62e29749
Bug 46864 - Embedding needs a name attribute on nsIRequest.
...
git-svn-id: svn://10.0.0.236/trunk@76772 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 08:23:54 +00:00
valeski%netscape.com
23654db003
42767. AsyncOpen (dead code) removal.
...
git-svn-id: svn://10.0.0.236/trunk@72387 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:39:19 +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
d9314a9d34
Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71415 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:39:45 +00:00
warren%netscape.com
06f5a41c27
Combined all necko dlls into two. Bug 17031.
...
git-svn-id: svn://10.0.0.236/trunk@68526 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 09:15:56 +00:00
valeski%netscape.com
c92e7d31c2
37200. text type data urls were having whitespace stripped out of them.
...
git-svn-id: svn://10.0.0.236/trunk@67369 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 03:55:20 +00:00
valeski%netscape.com
495b392d65
35439. data urls having trouble with data including spaces.
...
git-svn-id: svn://10.0.0.236/trunk@66285 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 13:39:59 +00:00
warren%netscape.com
22161b7197
Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code.
...
git-svn-id: svn://10.0.0.236/trunk@65680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:24 +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