Commit Graph

935 Commits

Author SHA1 Message Date
dougt%netscape.com
9abc147712 Adding two new interfaces based on API review. Bugs: (71060,71056,71055). NOT PART OF BUILD YET 2001-03-08 01:11:58 +00:00
dougt%netscape.com
364b8176ca Adding break's to the switch statement. r=darin/sr=gagan 2001-03-08 00:49:31 +00:00
darin%netscape.com
e0c911235f [not part of the build] Added implementation files for nsIStreamListenerTee. 2001-03-07 12:54:45 +00:00
darin%netscape.com
55f7806f68 [not part of the build] Added nsIStreamListenerTee for the new cache. 2001-03-07 12:53:39 +00:00
beard%netscape.com
e0f09d54a6 Implement pre-seeking when underlying seekable output streams. r=darin, r=gordon 2001-03-07 04:07:05 +00:00
darin%netscape.com
98b60778c6 [used only by the new cache] nsStorageTransport incorrectly returned TRUE for GetNonBlocking. r=dougt 2001-03-06 20:29:06 +00:00
bryner%uiuc.edu
a9a1045773 forgot a file 2001-03-06 05:44:53 +00:00
bryner%uiuc.edu
8b80c7c363 Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. 2001-03-06 05:10:33 +00:00
dougt%netscape.com
2c3940a081 Fixes 68483 as well as fixes some mem leaks cause by canceling a request. r=darin@netscape.com, sr=waterson@netscape.com 2001-03-06 01:27:54 +00:00
beard%netscape.com
c6a0b479f4 Since file streams can't be non-blocking, return that fact from nsFileOutputStream::GetNonBlocking(). r=dougt, sr=gagan 2001-03-05 03:43:33 +00:00
beard%netscape.com
1d2a7021a0 Fix bug where overridden Close() doesn't get called in base class destructor. r=dougt, sr=gagan 2001-03-05 03:42:24 +00:00
beard%netscape.com
79bcc81294 Delegate GetNonBlocking/SetNonBlocking to wrapped output stream. r=dougt, sr=gagan 2001-03-05 03:40:41 +00:00
darin%netscape.com
9460ba088d OS/2 didn't like inheriting a nsStorageTransport::ns{In,Out}putStream from
nsStorageTransport::nsBlockingStream since both are declared with private
access in nsStorageTransport.  This should fix the problem.
2001-03-03 03:07:10 +00:00
darin%netscape.com
5b7fd2451c Bug 70707. Pulled generic transport implementation out of new memory cache
and created netwerk/base/src/nsStorageTransport.{h,cpp}
2001-03-03 01:57:37 +00:00
disttsc%bart.nl
277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
bryner%uiuc.edu
8c6ba024ec Don't return an async proxied object when the socket transport is asked for its ProgressEventSink. r=dougt, sr=shaver. 2001-03-01 00:55:08 +00:00
gordon%netscape.com
941c2a073f Added comments to netCore.h declaring error ranges for SocketTransport and CacheService. r=beard. 2001-03-01 00:54:29 +00:00
darin%netscape.com
c4d709039a Corrected copyright headers. 2001-02-26 22:29:40 +00:00
darin%netscape.com
e5174a8589 Fixes bug 66837. Query interface needed. r=dougt, sr=mscott. 2001-02-23 00:07:58 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com
e306ca0364 Suggested fix from scc@mozilla.org 2001-02-21 23:02:29 +00:00
dougt%netscape.com
fc084234b8 making the SunOS complier happy with an static cast 2001-02-21 22:15:31 +00:00
dougt%netscape.com
43d310f1b9 fixing typo. 2001-02-21 21:51:50 +00:00
dougt%netscape.com
128f95aa9b 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
2001-02-21 20:38:08 +00:00
mstoltz%netscape.com
5dbb3f0b61 Bug 66331, nsCodebasePrincipal::GetOrigin needs to specify the port
if nonstnandard. Fixes a bug in LiveConnect. r=dougt, sr=jband.
2001-02-14 00:27:34 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 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
2001-02-10 00:16:26 +00:00
mscott%netscape.com
bf44a83159 Bug #63193 --> if we can't find a protocol handler for the specified scheme then create the default protocol handler
and use it instead.
sr=rpotts
2001-02-07 05:54:35 +00:00
dbaron%fas.harvard.edu
5bb7f6fc90 Fix orange by correcting mismatch of strings and return values. r=disttsc@bart.nl 2001-02-07 05:12:18 +00:00
law%netscape.com
5a7112f3dd Long lost patch for bugs 27609,35161, et al; r=mcafee, sr=mscott 2001-02-07 04:33:39 +00:00
gagan%netscape.com
8eba084e89 Adding ldap optimization cuz dmose wants it real bad. r=dmose 2001-02-07 02:14:52 +00:00
gagan%netscape.com
97bcbf3a99 More of the scheme compare changes. This fixes the javascript: urls that I so shamelessly broke. The bug numbers are 66577 and 67347. r=mstoltz sr=brendan,shaver. 2001-02-07 01:12:19 +00:00
bryner%uiuc.edu
120c2b4fd9 bug 67527 -- cleaning up psm module registration (both psm 1.x and PIP). r=javi, sr=brendan. 2001-02-06 23:10:16 +00:00
bryner%uiuc.edu
a34bb210c2 bug 67582 - set channel on security info object for ssl-forcehandshake sockets. r=pavlov, sr=mscott. 2001-02-06 00:31:56 +00:00
bryner%uiuc.edu
1ce5786aaa Bug 67530 - failure sending mail if PSM not installed. r/sr=mscott. 2001-02-04 01:16:13 +00:00
bryner%uiuc.edu
0fc1b4c1b4 fix a compiler warning. sr=scc. 2001-01-31 06:48:25 +00:00
gagan%netscape.com
79713bc4c2 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
bryner%uiuc.edu
f0c96eafce Bug 66886 - parent PSM dialogs correctly. This fixes all of the cases in PSM2 and several cases in PSM1. r=javi,danm. sr=mscott. 2001-01-30 02:12:53 +00:00
darin%netscape.com
0215be729e Fixes bug 66494. Assertion in nsAutoLock. r/sr=brendan@mozilla.org. 2001-01-27 16:35:21 +00:00
darin%netscape.com
d4b4bf4bce Fixes bug 66493. nsSocketTransport changes broke in-process PSM.
r=bryner,gagan,brendan,dougt sr=mscott
2001-01-27 01:28:00 +00:00
darin%netscape.com
a3a3960c43 Bug 62566. Left out a change to makefile.win. 2001-01-23 22:57:30 +00:00
darin%netscape.com
6a7567992b Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
bryner%uiuc.edu
4e954931d3 PSM 2.0 work:
- Split nsISecureSocketInfo into nsISSLSocketControl and nsIChannelSecurityInfo.
- Incorporate lock icon fixes from psm-glue into pipnss code.
- Implement password callback for client auth in pipnss.
- Locallize the lock icon tooltip.
- Lots of code cleanup.

r=javi, jgmyers, sr=ben.
2001-01-19 01:12:10 +00:00
alecf%netscape.com
b80f4f8766 fix random crashes during shutdown
r=bryner,blake (trying to get tree open, no sr=)
2001-01-17 23:42:42 +00:00
alecf%netscape.com
c3bca6ce8d fix for 44208 - send notification when we go offline/online
r=valeski, sr=bienvenu
2001-01-17 19:51:28 +00:00
dougt%netscape.com
00d3cd613f Fixes dropped socket transport during shutdown. The xpcom fix causes the UI event queue to be processed one final time after services shutdown. The socket transport fix forces all remaining active transports to be canceled, then released. r= waterson@netscape.com && darin@netscape.com a=mscott@netscape.com. b=63565 2001-01-09 05:44:47 +00:00
vidur%netscape.com
0a4eedc07d Implementation of ReadSegments to support less copying in the parser. r=rpotts, sr=jst 2000-12-12 21:57:47 +00:00
dougt%netscape.com
c6c63a0641 60723. check for null. r=valeski@netscape.com 2000-11-30 21:12:54 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
alecf%netscape.com
fea851d3d1 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self
2000-11-17 03:45:13 +00:00
warren%netscape.com
22f79f828b Bug 29207 - made it not allocate the PLEvent object. Added defensive code for mReceiver going away. r=waterson 2000-11-14 20:03:21 +00:00
pollmann%netscape.com
468f6835ea Bug 579678: Strip linebreaks from URLs before escaping r=gagan, sr=mscott 2000-11-07 01:03:04 +00:00
jst%netscape.com
25b8e29ff2 Fixing bug 58888. The content sink was incorrectly releasing the stream loader in its OnStreamComplete() method, this caused a crash when mozilla was running in off-line mode since OnStreamComplete() was called without the sink having a string reference to the stream loader so the incorrect release call in the sink caused a crash later on in necko. sr=rpotts, r=gagan,heikki 2000-11-06 23:22:44 +00:00
warren%netscape.com
fe7c6ebabe Bug 47263 - null check for top crasher (mOutputStream becomes null -- could be going through END_READ state twice). 2000-11-01 00:58:10 +00:00
blizzard%redhat.com
695b8ad662 bug #58258. Fix warnings in nsNetUtil.h, take II. This should work on win32. 2000-10-30 02:02:00 +00:00
blizzard%redhat.com
b7569a5e22 backing out last change. it makes win32 sad. 2000-10-29 18:26:42 +00:00
blizzard%redhat.com
faab80400e bug #58258 - warning fixes for nsIChannel::LOAD_NORMAL. r=scc sr=mscott,brendan 2000-10-29 17:44:42 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mscott%netscape.com
f5614e7782 Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).
sr=rpotts, r=sspitzer
2000-10-26 06:34:20 +00:00
jst%netscape.com
c1ccea8268 Fixing rtm++ bug 56529. Necko was unescaping the content of URL's if a segment of the URL is requested (but not if the whole URL is requested), the DOM code used this unescaped string as is and that caused backwards compatibility problems. a=gagan&brendan, r=andreas.otte@primus-online.de 2000-10-24 04:56:10 +00:00
darin%netscape.com
3c271c19c7 Fixes bug 54081. Uploading large files (>50k). r=warren, sr=mscott. 2000-10-24 02:35:18 +00:00
mkaply%us.ibm.com
ef3ca7c3e7 #56763
r=gagan, sr=mscott
Race condition in netwerk was causing timeouts on fast systems/slow connections
2000-10-20 04:39:44 +00:00
gagan%netscape.com
34549dbcd5 Fix for bug 31174. Misc. ssl related fixes for getting SSL proxies to work. r=ruslan,pavlov sr=dougt. Thanks nikolay.igotti@eng.sun.com 2000-10-13 03:18:55 +00:00
akhil.arora%sun.com
3de56aad0e fixes for making auto proxies work again (phase1) b=53080 r=gagan@netscape.com a=brendan@mozilla.org 2000-09-27 02:03:43 +00:00
warren%netscape.com
094af23a1f 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 2000-09-26 05:03:30 +00:00
bryner%uiuc.edu
43b47e9463 Moving files out of security/base at request of security team. The new home for these files is in netwerk. Bug 53648. r=scc. a=gagan,brendan. 2000-09-22 04:42:20 +00:00
mstoltz%netscape.com
504b6630e9 Final (I hope) fix for 24765, using Necko file cache for the jar protocol. r=beard, a=warren. 2000-09-21 05:01:16 +00:00
mstoltz%netscape.com
04f1130628 Fix for bugs 24765, 49288. Using Necko file cache for the jar protocol. r=beard, a=warren. 2000-09-15 19:27:05 +00:00
rayw%netscape.com
3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
dougt%netscape.com
c2923c8476 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts
2000-09-14 22:56:56 +00:00
bryner%uiuc.edu
14b39559f7 This is the rest of the checkin to remove mozilla's dependency on building psm-glue. All security glue
interfaces and resources that aren't specific to PSM have moved to security/base.  The remaining psm-glue
interfaces which are used elsewhere in the code have been abstracted to be non-PSM-specific, and the call
sites changed to use the abstracted interface.  Bug 18352.  r=brendan,pavlov,shaver.  a=brendan.
2000-09-14 19:27:23 +00:00
dougt%netscape.com
b9beecb0b7 First checkin of security event sink. not part of build yet. 2000-09-14 18:57:11 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
shaver%mozilla.org
bc4ba277fb Part 1.1 of 18352 (remove extensions/ dependencies from non-extensions/ code):
Teach netwerk about nsIPasswordManager.
  (Craves better interfaces, current versions just C&P'd from wallet's.)
r=valeski,a=brendan
2000-09-12 02:35:29 +00:00
ccarlen%netscape.com
3335f30fbd Fix for #51459 For Mac, in nsStdURL::GetFile, only convert '/' to ':' in directory portion of path, not leaf name. r=rjc 2000-09-11 12:51:52 +00:00
gordon%netscape.com
75155a5171 Fix bug 35564 '[MLK] Potential nsIIOService Leak' - integrated Patrick's changes 2000-09-08 23:31:26 +00:00
mscott%netscape.com
81b816da2e Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
2000-09-08 00:24:13 +00:00
scc%mozilla.org
9aa980c04a explicit constructors stop the automatic construction of a string for a comparison. Really, they want the equivalent of |IsEmpty()| here; let's just test the value of the char[0] in the buffer. 2000-09-03 05:47:01 +00:00
pavlov%netscape.com
b956215375 fix for secure smtp bug 30321 r=mscott for the smtp part and r=bryner for the rest 2000-09-01 09:00:37 +00:00
ruslan%netscape.com
19e9e19187 Finally fix the last dogfood regression (big http posts), 47936 2000-09-01 00:59:48 +00:00
rpotts%netscape.com
70b257c35e bug #48546. SocketTransport now obeys the LOAD_BACKGROUND flag and will not call the nsIProgressEventSink. 2000-08-25 04:43:48 +00:00
ruslan%netscape.com
9a37ed0f3c Fix large posts - 47936, a/r=gagan 2000-08-24 22:18:33 +00:00
jst%netscape.com
9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
warren%netscape.com
50ca0d0bd6 Added .get() 2000-08-22 07:45:19 +00:00
warren%netscape.com
e05eef45e9 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 2000-08-22 07:03:33 +00:00
dp%netscape.com
69e5243d4f bug# 49786 Weak ref cache commonly used protocol handlers. This will
eliminate about 1500 string copies and calls to ProgIDToClassID()
r=gagan,valeski
2000-08-22 06:16:50 +00:00
warren%netscape.com
e12f238589 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
scc%mozilla.org
3f0620d231 fixing code that relied on implicit string construction 2000-08-19 20:01:04 +00:00
rayw%netscape.com
6385bb207a Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces.  Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.

Bug 46771.

r=waterson.

I am in today and tomorrow.
2000-08-10 20:12:08 +00:00
gagan%netscape.com
01e3f7007e Fix for bug 20145. Proxy Auto Config is now in. For more information check http://www.mozilla.org/docs/netlib/pac.html r=bryner,rjc. 2000-07-31 21:24:55 +00:00
warren%netscape.com
2b01440bc0 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 2000-07-25 05:45:56 +00:00
pnunn%netscape.com
3aaf44d945 fix for bug#30852: backing out change that resets the loadgroups attribs from the channel. pnunn,
r:gagan.
2000-07-21 22:57:36 +00:00
ruslan%netscape.com
c45d68256f Applying Justin's patch to fix 40203 (proxy ssl connect), a=gagan,r=myself 2000-07-21 00:03:39 +00:00
ruslan%netscape.com
2c3efade67 WIP on 42283 - make nsNetModules to be thread-safe; r/a=gagan 2000-07-20 21:24:38 +00:00
pnunn%netscape.com
38ed05f47f fix for bug#30852.(nsbeta2+). Image reloads not using necko reload attributes. pnunn.
rev:neeti; and tested on win/mac/linux.
2000-07-20 01:52:35 +00:00
gagan%netscape.com
6dff277714 Removed a not-being-used file. r=warren 2000-07-14 02:43:12 +00:00
pavlov%netscape.com
20dc0118ea fix for secure imap and news bug 39154 r=mscott 2000-07-13 23:53:54 +00:00
dougt%netscape.com
d84c495203 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
dprice%netscape.com
bdd5713749 fixed a crasher when getting the length of an empty string. 2000-07-12 07:39:34 +00:00
mstoltz%netscape.com
a8545c4aed Fixing 40159 and 44822, both [nsbeta2+] regressions on signed scripts. r=sgehani 2000-07-12 03:10:33 +00:00
warren%netscape.com
0a2c5e193e 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. 2000-07-11 01:52:12 +00:00
ruslan%netscape.com
87373a21f6 WIP on 40449, a/r=gagan 2000-07-07 22:02:47 +00:00
mscott%netscape.com
51f87a2831 Bug #43652 --> fix running of JS urls by returning the error status of the
underlying file transport if the input stream channel doesn't have an error
of it's own.
r=warren
2000-07-07 21:42:15 +00:00
warren%netscape.com
2b4188f0bb Fix for lost status/error return value. Affects javascript: urls. r=gagan 2000-07-06 00:40:53 +00:00
jab%atdot.org
3ff5cd0f65 a=brendan@mozilla.org
Bug #16103
Support for SOCKS proxies in HTTP, HTTPS, and FTP protocols.
Also includes the prefs configuration and UI bits.
2000-07-01 10:25:25 +00:00
andreas.otte%primus-online.de
1a2a5c7fee fix bug 43659, URL bar does not accept hexadecimal domain names, r=gagan@netscape.com, a=waterson@mozilla.org 2000-07-01 06:29:13 +00:00
warren%netscape.com
dd4b81932e Bug 37463. Fixed javascript: url deadlock. Also made the file transport more efficient in the process by eliminating the lock. r=waterson 2000-06-30 07:18:52 +00:00
warren%netscape.com
9b15d99214 Fixed spelling. 2000-06-28 07:06:09 +00:00
dougt%netscape.com
8b638a4c67 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.
2000-06-24 00:03:10 +00:00
waterson%netscape.com
66a05bec2a Bugs 21650, 42586. Remove nsISocketTransportService::LateInit(), move code that gets string bundles to lazily grab the bundle when it's needed. This avoids re-entrancy into the service manager which causes a leak. r=dbaron,warren 2000-06-23 02:02:04 +00:00
ftang%netscape.com
4f7a6834d9 fix bug 35076. r=gagan add UCS2toUTF8 conversion before assign UTF8 back to nsString 2000-06-22 23:53:21 +00:00
andreas.otte%primus-online.de
3392872205 small performance patch for SetDirectory from jst@netscape.com, r/a=gagan@netscape.com, a=waterson@mozilla.org 2000-06-22 22:02:47 +00:00
warren%netscape.com
1927d0a1ce Bug 41390. js prompt() contains remember this value checkbox. r=morse 2000-06-17 01:57:36 +00:00
valeski%netscape.com
1ec65ef5ad 35506. r=warren. File transport now fires OnStart for *all* loads. 2000-06-16 21:46:03 +00:00
mscott%netscape.com
a78719dcba Bug #40116 --> check to see if the channel was canceled before
propogating calls to the content listener...
this is actually warren's code.
r=mscott
2000-06-16 21:21:57 +00:00
valeski%netscape.com
f0fec56b70 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
ruslan%netscape.com
4eac345a41 Fixing 42107, a=gagan. Documenting some APIs in the process as well. 2000-06-13 03:00:53 +00:00
warren%netscape.com
ecc2d9c51c Bug 27971. Better strategy for resource: urls to use less memory. Saves about 0.4% of entire run just bring up one page (home.mozilla.org). r=waterson 2000-06-09 07:51:13 +00:00
tor%cs.brown.edu
4b4bb95568 SUNWspro build bustage fix: use PL_strchr() instead of strchr(). 2000-06-04 18:19:47 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
andreas.otte%primus-online.de
6d3c4521f9 fix reopened bug 27930 [URL parser should support RFC 2732 - IPv6 address literals] and bug 39340 [regression: file:/ URLs no longer work], r=gagan@netscape.com, a=waterson@mozilla.org 2000-06-03 09:17:16 +00:00
warren%netscape.com
88151adad6 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433 2000-06-02 23:39:45 +00:00
rpotts%netscape.com
5388d57e2b Propagate load attributes down into the file transport. This avoids generating unnecessary calls if the URI is LOAD_BACKGROUND... 2000-06-02 05:15:13 +00:00
shaver%mozilla.org
e21b687d60 make HTTP auth pluggable (#39781), r=gagan 2000-06-02 00:23:56 +00:00
warren%netscape.com
457fa2def4 Removed input buffer from file input stream. Bug 41067 2000-05-31 05:33:12 +00:00
ruslan%netscape.com
e83b37e98a Fix 26486 2000-05-26 20:12:50 +00:00
warren%netscape.com
3658e33085 Removing URIParser attribute from nsIURI interface. Fixed Equals for case when port is the default. Cached URL parsers (all 3) to reduce object allocation. r=andreas,dp 2000-05-25 08:27:40 +00:00
dougt%netscape.com
a494c5e7d4 Making ProxyService Threadsafe for Add and Remove Proxy. r=gagan. 2000-05-24 22:55:35 +00:00
dougt%netscape.com
d83290854c Fix for 31164, possibly 35658, and prep work for 31174.
1) Passing the proxy hostname and port to the underlying socket
   and changing all users that appeared in lxr.

2) (psm-glue) registering with the cache manager to allow local loopback so that
   psm will work with a proxy.

3) (psm-glue) Storing proxy information in psmSocketInfo.

most reviewed by gagan@netscape.com.
2000-05-19 22:56:12 +00:00
warren%netscape.com
5f6b57ef08 Bug 39416. Made ftp work with single sign-on for more than one user/host. 2000-05-17 07:12:40 +00:00
warren%netscape.com
61dabd80c7 Removed nsINetPrompt.idl (obsolete). 2000-05-17 05:46:40 +00:00
ftang%netscape.com
66cd85e281 fix OS2 problem for ibm 2000-05-16 21:41:14 +00:00
gagan%netscape.com
3541939de2 Fix for bug 27930. Support for IPv6 in the url parser. 2000-05-16 08:42:40 +00:00
warren%netscape.com
618d468469 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
ftang%netscape.com
9a3eda7bbf fix OS/2 problem for IBM. Change the #ifdef XP_PC to #if defined(XP_PC) && !defined(XP_OS2) 2000-05-13 13:13:38 +00:00
andreas.otte%primus-online.de
f8406c718e fix bug 37616, Retire SetRelativePath, removing unused SetRelativePath from nsIURI.idl and all it's implementations, r=warren@netscape.com, a=mscott@netscape.com for the mailnews part 2000-05-13 13:05:00 +00:00
colin%theblakes.com
8097be8740 Fix segmented reads on local files. r=warren 2000-05-13 12:29:13 +00:00
andreas.otte%primus-online.de
972e78add0 fix bug 32997, file URLs that include a hostname don't work, look for a hostname and do some special work on detecting drivenames for XP_PC, r=gagan@netscape.com 2000-05-13 12:00:38 +00:00
gordon%netscape.com
1851500ae6 Change allocation/deallocation of monitor to use nsAutoMonitor methods, as per brendan's suggestion. 2000-05-12 23:42:33 +00:00
gordon%netscape.com
aebe469af2 Reorder shutdown of DNS and SocketTransport services to allow the DNS service to notify socket transports that outstanding lookups are going away. Part of fix for bug 33821 and 34663. 2000-05-12 23:41:40 +00:00
putterman%netscape.com
fe2651b61e Fix OS/2 bustage. 2000-05-11 22:24:39 +00:00
ruslan%netscape.com
78b4edc5d2 Fix 37744 2000-05-08 20:25:01 +00:00
andreas.otte%primus-online.de
1c857f0f86 working on bug 37616, Retire SetRelativePath, NS_MakeAbsolute now only calls Resolve, let it do the complete resolving, r=warren@netscape.com 2000-05-07 11:04:33 +00:00
andreas.otte%primus-online.de
0617f66909 working on bug 37616, Retire SetRelativePath, Resolve now uses ExtractScheme from nsURLHelper, r=warren@netscape.com 2000-05-07 10:56:33 +00:00
andreas.otte%primus-online.de
a6c89dfe21 working on bug 37616, Retire SetRelativePath, make nsIOService use the nsURLHelper version of ExtractScheme, r=warren@netscape.com 2000-05-07 10:49:29 +00:00
andreas.otte%primus-online.de
2a0301fa8e working on bug 37616, Retire SetRelativePath, moving ExtractScheme into nsURLHelper, r=warren@netscape.com 2000-05-07 10:43:36 +00:00
warren%netscape.com
185c96de20 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
warren%netscape.com
eb6959f7b7 Fixed mac build warnings. 2000-05-06 09:07:31 +00:00
andreas.otte%primus-online.de
412281d5fa fix a possible mem leak introduced with my last checkin 2000-05-05 22:39:03 +00:00
andreas.otte%primus-online.de
7fbecd38cb fix bug 37109, nsStdURL::Equals() should not malloc, r=warren@netscape.com 2000-05-05 21:23:08 +00:00
andreas.otte%primus-online.de
4811de2210 fix bug 37801, SetFile does not add a / in front of the path before calling SetPath on XP_PC, r=cmanske@netscape.com
fix bug 34966, fragment id on root-documents without /  misinterpreted, fixing the missed case, r=gagan@netscape.com
2000-05-05 21:11:28 +00:00
andreas.otte%primus-online.de
5871fe9114 fix bug 37801, SetFile does not add a / in front of the path before calling SetPath on XP_PC, the fix is more general and applys to all platforms, r=cmanske@netscape.com 2000-05-05 21:08:31 +00:00
valeski%netscape.com
bc0588ce89 backing out socket change that is choking imap/pop 2000-05-05 19:54:42 +00:00
gagan%netscape.com
3f3e541a66 More proxy auto config work. 2000-05-05 09:49:42 +00:00
gagan%netscape.com
13e7b2f428 Relevant idl includes for proxy auto config changes. 2000-05-05 09:35:50 +00:00
gagan%netscape.com
0355ed4aa1 More proxy autoconfig stuff (in the making...) 2000-05-05 09:34:37 +00:00
valeski%netscape.com
ebf4de0824 Socket transport now blocks until DNS is resolved *only* in the Sync api usage case (Open*Stream() calls). This allows callers to deal w/ dns error failures when they're using the sync apis. 24435 2000-05-04 22:50:25 +00:00
warren%netscape.com
1702bc6092 Added ioFlags enum. Bugs 37711. 2000-05-03 22:43:21 +00:00
gagan%netscape.com
24b80ae946 Fix for bug 36862. Added parameter checks to avoid crashes. 2000-05-03 21:47:56 +00:00
valeski%netscape.com
2e3acb0592 28880. socket transport now provides access to the underlying ip address 2000-05-02 22:25:00 +00:00
valeski%netscape.com
c693632d12 backing out sync failure checkin because of suspect behavior 2000-05-02 19:58:29 +00:00
valeski%netscape.com
6209f221f2 back in we go 2000-05-02 13:08:20 +00:00
valeski%netscape.com
d477e7a322 backing out changes until I can figure out what went wrong w/ the tests 2000-05-02 13:04:00 +00:00
valeski%netscape.com
858b077c3d 24435. socket transport now handles synchronous failure so we can capture conection errors w/ the sync api 2000-05-02 12:29:34 +00:00
putterman%netscape.com
5ad0586f78 Fix for 29543 so we can now create new Japanese local folders. Patch submitted by
m_kato@ga2.so-net.ne.jp. r=andreas.otte@primus-online.de
2000-05-02 03:58:25 +00:00
mkaply%us.ibm.com
b8805604b8 # 37239
r= warren@netscape.com
OS/2 bring up continues - Remove some legacy #ifdef stuff for OS/2
2000-05-01 22:32:47 +00:00
mkaply%us.ibm.com
c89b0224a1 # 37239
r= warren@netscape.com
OS/2 bring up continues - Add !defined XP_OS2 to #ifdef XP_PC
2000-05-01 22:32:02 +00:00
gagan%netscape.com
e4db9151b6 First checkin of proxy auto config interfaces. Not in the build. 2000-04-27 18:42:47 +00:00
mstoltz%netscape.com
2d56321f9e Removed getOwner() function from nsIStreamLoader. getChannel() now fulfills this function. 2000-04-27 00:30:27 +00:00
slamm%netscape.com
ab6e3eb4e6 Fix declaration order to quiet build warning 2000-04-26 14:31:01 +00:00
gagan%netscape.com
61440864c7 Fixed bug 36831. Removed an accidental checkin of an assertion. 2000-04-25 01:18:26 +00:00
gagan%netscape.com
7e1c03978a First checkin of proxy auto config stuff. 2000-04-25 01:15:35 +00:00
mscott%netscape.com
f37fe5e5b7 Some folks were confused about why we had AsyncOpen I put a comment saying this method is being
made obsolete and no one really implements it.
2000-04-23 01:45:21 +00:00
sspitzer%netscape.com
bce7ee2e29 turn off gagan's assertion. #36831. r=mscott. 2000-04-22 23:34:03 +00:00
gagan%netscape.com
9508ade32b Fixed bug 23480. Changed the PostDataStream api to be UploadStream api to allow PUT requests as well.
Fixed bug 32560. Added AsyncWrite implementation for HTTP.
Fixed bug 33842. Some of the earliar code that ruslan had landed broke the status updating for proxy cases.
Fixed bug 36602. Added an api to add (and remove) entries to the "no proxy for" array. Also changed the array to be constructed once (and hence parsed once) instead on each call to ExamineForProxy.
Part fix for bug 31174. Added HTTPS proxy settings.
And finally also un"ruslan"ized the HTTP code :)
2000-04-22 00:35:05 +00:00
andreas.otte%primus-online.de
8bfb7e4dea extended fix for bug 34863 [Local Harddisks not found if I tried with C: without \], partial fix for bugs 32997 [file URLs that include a hostname don't work] and 19174 [Canonify does not handle UNC file paths], enable the urlparser to handle unc paths better for XP_PC, r=dougt@netscape.com 2000-04-21 14:10:23 +00:00
warren%netscape.com
24eeb1f34c Removed extra call to Open 2000-04-21 05:15:42 +00:00
warren%netscape.com
d4340805ee Changed max thread count to 4 (for now). 2000-04-21 05:14:49 +00:00
ruslan%netscape.com
e987cc8f7c Adjust transport socket timeout everytime it's getting put back into the
work queue. Fix WinGate crash (32048) by stopping using polable events in case
when creation of pollable event has failed (until nspr finds a real solution).
Fix 36445. Apply slamm's patch to shut off some compiler warnings.
2000-04-20 01:10:30 +00:00
andreas.otte%primus-online.de
b4f09c2342 fix bug 34966 [fragment id on root-documents without / misinterpreted], r=warren@netscape.com 2000-04-15 16:07:28 +00:00
andreas.otte%primus-online.de
4a2473a780 fix bug 35736 [url encoding - character encoded when it shouldn't] No longer escaping $, r=gagan@netscape.com 2000-04-15 15:52:40 +00:00
scc%netscape.com
5510895b32 making string conversions explicit 2000-04-15 05:40:34 +00:00
ruslan%netscape.com
3485166c98 Implement firing of OnStartRequest regardless of the error code but don't
enable it yet till the webshell is fixed.
2000-04-15 00:01:23 +00:00
ruslan%netscape.com
848ca9862f Fix 35508, 33762, 35024. 2000-04-14 21:10:27 +00:00
warren%netscape.com
e495d8bf34 Fixed to truncate by default. Fixed permissions to default to 664. 2000-04-14 09:32:24 +00:00
warren%netscape.com
5be72cd60a Fixed leak in AsyncRead/AsyncWrite. r=danm 2000-04-14 05:29:21 +00:00
ftang%netscape.com
94e2018782 check in fix of 29341 . patched submitted by m_kato@ga2.so-net.ne.jp
Make sure the \ to / conversion respect double byte system on window.
2000-04-14 04:43:02 +00:00
jbetak%netscape.com
b74494e409 r=valeski, exposing channel for 32604 Trunk fix for illegal use of nsString-external JavaScript 2000-04-14 02:46:28 +00:00
ruslan%netscape.com
88cc8694d8 Fix 35024 - add new API to the socketTransportService to see how many
connections are alive/in-progress/etc.
2000-04-13 22:30:21 +00:00
gagan%netscape.com
b1542cff0d Backing out last changes since warren has the new ones. 2000-04-13 19:50:43 +00:00
gagan%netscape.com
a8aac69619 35564 MLK fixes and IOService optimization from beard. 2000-04-13 19:44:15 +00:00
warren%netscape.com
dd13ffb6ac Fixed assertion problem with rv/rv2. 2000-04-13 10:07:13 +00:00
warren%netscape.com
cb7cb57ef6 Removed 2000-04-13 09:22:09 +00:00
warren%netscape.com
c544ed30ef Factoring stream i/o operations into nsIStreamIO interface. 2000-04-13 09:20:50 +00:00
warren%netscape.com
15ae528e0d Added nsIStreamIO.idl 2000-04-12 21:32:15 +00:00
warren%netscape.com
2979b9b4c6 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. 2000-04-12 07:58:24 +00:00
ruslan%netscape.com
6658571391 Landing link-click problem fix. Also fix DNS lockup (gordon) on Windows,
memory leak of socket transports during pipelined request, add timeout
setters on socket transport, add a restriction on the number of keep-alive
connections.
2000-04-12 01:47:22 +00:00
mscott%netscape.com
c8d4aa91c4 Bug #34561 --> we were reporting false timeouts with connection based protocols
r=ruslan,warren
a=granrose
2000-04-05 21:15:44 +00:00
warren%netscape.com
f1f675ff42 Fix to not call OnStartRequest if channel has been canceled. Bug #31957 2000-04-05 06:46:00 +00:00