brade%netscape.com
0309643e19
remove unused static kFileTransportServiceCID saving 16 bytes (bug 117927; rs=darin)
...
git-svn-id: svn://10.0.0.236/trunk@111661 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 14:21:00 +00:00
darin%netscape.com
d196c1b384
fixes bug 113949 "Trunk crash [@ nsFileTransport::Process]"
...
r=dougt, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@110308 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 23:05:51 +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
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
gordon%netscape.com
01ee4eee70
Fix for bug 86474 and bug 79983. Truncate files used by nsFileTransport
...
and eliminate trailing garbage from updated cache files. r=gagan, sr=darin
git-svn-id: svn://10.0.0.236/trunk@99853 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 00:40:42 +00:00
jaggernaut%netscape.com
51b17b5bf0
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dougt%netscape.com
b13f1b27f7
Fixes in-use file transport count going negative. patch by sfraser@netscape.com, r=me, sr=darin@netscape.com. (87861)
...
git-svn-id: svn://10.0.0.236/trunk@98250 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 04:51:11 +00:00
rpotts%netscape.com
fccb2d91f6
bug #82458 (r=jst, sr=darin, a=blizzard). THis patch causes STATE_TRANSFERRING notifications to fire when URLs are loaded out of the disk cache or memory cache...
...
git-svn-id: svn://10.0.0.236/trunk@97855 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 06:22:44 +00:00
dougt%netscape.com
c0eda73966
Fix for 80101. minor optimization in GetName(). submitted by sfraser@netscape.com, sr=dougt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@95376 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 06:17:00 +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
neeti%netscape.com
2b28e76f46
fix for bug 78654 - netwerk must not print to console in opt builds.r=dougt, sr==darin.
...
git-svn-id: svn://10.0.0.236/trunk@94484 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 13:14:03 +00:00
bienvenu%netscape.com
588c63e4e8
add ability to reuse file transports r=dougt,sr=darin 74597
...
git-svn-id: svn://10.0.0.236/trunk@93418 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-29 14:57:31 +00:00
darin%netscape.com
3df39b6d18
Fixes bug 74512 "file transport should support non-blocking streams" r=dougt, sr=rpotts.
...
git-svn-id: svn://10.0.0.236/trunk@92178 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 06:14:11 +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
darin%netscape.com
fc0ec464ed
Fixes bug 73231. nsFileTransport should report progress even if content-length
...
is unknown. r=rpotts, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@90676 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:56:59 +00:00
darin%netscape.com
060025d292
Completes transistion from ULONG_MAX to PRUint32(-1) which was intended to
...
fix frizilla redness. pinkerton checked in the necessary ones; this is
just for completeness. r=gagan,sdagley,sfraser,pinkerton
git-svn-id: svn://10.0.0.236/trunk@90189 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:32:26 +00:00
sfraser%netscape.com
f96da00aea
Fix the fizilla build a better way by #including <limits.h> only where needed. r=pinkerton,brade, a=akkana.
...
git-svn-id: svn://10.0.0.236/trunk@90145 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 22:56:11 +00:00
dougt%netscape.com
65840ed246
fix for 69143. This patch prevents non existant files from entering into
...
the file transport process loop for reading.
git-svn-id: svn://10.0.0.236/trunk@90015 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:44:23 +00:00
darin%netscape.com
f47757388e
Adding comment line.
...
git-svn-id: svn://10.0.0.236/trunk@89287 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 18:07:01 +00:00
beard%netscape.com
1142c3fe58
Implement pre-seeking when underlying seekable output streams. r=darin, r=gordon
...
git-svn-id: svn://10.0.0.236/trunk@88788 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:07:05 +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
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
darin%netscape.com
165bf1520d
Corrected copyright headers.
...
git-svn-id: svn://10.0.0.236/trunk@88019 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 22:29:40 +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
warren%netscape.com
d9f2608732
Bug 47263 - null check for top crasher (mOutputStream becomes null -- could be going through END_READ state twice).
...
git-svn-id: svn://10.0.0.236/trunk@82117 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 00:58:10 +00:00
warren%netscape.com
c597247d16
Bug 52111. Fix for race condition between file transport and async stream listener -- mStatus was temporarily getting set to WOULD_BLOCK. code=alex@cendio.se, r=warren
...
git-svn-id: svn://10.0.0.236/trunk@79959 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 05:03:47 +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
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
warren%netscape.com
43db39eeb6
Bug 44342 - hang on startup. Added back a lock to mutually exclude cancel/suspend/resume. Seems to work on Mac (i.e. can't reproduce the problem now). Also cleaned up file transport service, removing unused stuff.
...
git-svn-id: svn://10.0.0.236/trunk@73983 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 01:52:12 +00:00
warren%netscape.com
5c26c6e8c5
Fix for lost status/error return value. Affects javascript: urls. r=gagan
...
git-svn-id: svn://10.0.0.236/trunk@73719 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:40:53 +00:00
warren%netscape.com
9c9d05c025
Bug 37463. Fixed javascript: url deadlock. Also made the file transport more efficient in the process by eliminating the lock. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@73582 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 07:18:52 +00:00
dougt%netscape.com
bf15c34b53
I IDL-ifying the nsProxyObjectManager.
...
I have updated all users that I found
grepping the source tree.
r=valeski@netscape.com
a=waterson@netscape.com
b=43131
Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
git-svn-id: svn://10.0.0.236/trunk@73129 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:03:10 +00:00
valeski%netscape.com
51f1dd1c1d
35506. r=warren. File transport now fires OnStart for *all* loads.
...
git-svn-id: svn://10.0.0.236/trunk@72423 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:46:03 +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
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
rpotts%netscape.com
2cfc6b829d
Propagate load attributes down into the file transport. This avoids generating unnecessary calls if the URI is LOAD_BACKGROUND...
...
git-svn-id: svn://10.0.0.236/trunk@71340 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 05:15:13 +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
scc%netscape.com
99119fc4be
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66069 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 05:40:34 +00:00
ruslan%netscape.com
b8fe8a2254
Fix 35508, 33762, 35024.
...
git-svn-id: svn://10.0.0.236/trunk@66003 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:10:27 +00:00
warren%netscape.com
7cefc01f95
Factoring stream i/o operations into nsIStreamIO interface.
...
git-svn-id: svn://10.0.0.236/trunk@65799 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:20:50 +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
davidm%netscape.com
5fc312c27f
31054 'TEXT' file which contains non ASCII does not open correctly
...
git-svn-id: svn://10.0.0.236/trunk@65311 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:03:50 +00:00
warren%netscape.com
1850303e1b
Changed 'default' content type to application/x-unknown-content-type (was text/html!).
...
git-svn-id: svn://10.0.0.236/trunk@65164 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:13:22 +00:00