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
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
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
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
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
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
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
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
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
gordon%netscape.com
75155a5171
Fix bug 35564 '[MLK] Potential nsIIOService Leak' - integrated Patrick's changes
2000-09-08 23:31:26 +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
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
warren%netscape.com
e12f238589
Bug 46864 - Embedding needs a name attribute on nsIRequest.
2000-08-21 08:23:54 +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
gagan%netscape.com
6dff277714
Removed a not-being-used file. r=warren
2000-07-14 02:43:12 +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
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
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
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
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
512c8bf433
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
2000-06-03 09:46:12 +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
shaver%mozilla.org
e21b687d60
make HTTP auth pluggable ( #39781 ), r=gagan
2000-06-02 00:23:56 +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
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
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
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
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
warren%netscape.com
185c96de20
Combined all necko dlls into two. Bug 17031.
2000-05-06 09:15:56 +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
warren%netscape.com
1702bc6092
Added ioFlags enum. Bugs 37711.
2000-05-03 22:43:21 +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
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
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
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
ruslan%netscape.com
848ca9862f
Fix 35508, 33762, 35024.
2000-04-14 21:10:27 +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
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
pavlov%netscape.com
8242fd6791
Make nsIFileURL scriptable and QueryInterfaceable. fix bug #34335 and 34328 and 34470. Minor cleanups on unix file picker dialog
2000-04-04 23:50:41 +00:00
scc%netscape.com
c05019b2a8
making string conversions explicit
2000-04-01 00:39:02 +00:00
warren%netscape.com
727f312b32
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.
2000-03-29 03:58:50 +00:00
gordon%netscape.com
48d21bfb64
Landing DNS_CANCEL_BRANCH. Moving Init() method to interface.
2000-03-27 22:16:20 +00:00
norris%netscape.com
7163dd7d8f
Stream loader now saves principals from channel; needed for signed scripts. r=norris
...
(this is mstoltz's checkin)
2000-03-21 04:16:03 +00:00
ruslan%netscape.com
32c1eabc0e
Add reuseCount attribute on nsSocketTransport. Misc code cleanup.
2000-03-21 01:29:49 +00:00
ruslan%netscape.com
cc358edad9
Fix 31882, 31884, 31979 (all keep-alive fixes + patch from Tomi.Leppikangas@oulu.fi)
2000-03-18 18:39:41 +00:00
andreas.otte%primus-online.de
796d671dd3
fix bug 26003, Files with the percentage (%) sign cannot be viewed via mouse, r=valeski@netscape.com
2000-03-18 11:07:04 +00:00
dougt%netscape.com
8126ff53b4
Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren.
2000-03-17 22:06:32 +00:00
ruslan%netscape.com
c9b313d004
Fix 10738, partial fix for 21020. Keep-alive, http/1.1, transfer-encoding: chunked
...
can now be turned on (network.http.version=1.1); network.http.keep-alive can also
be used, however not recommended (1.1 pref will automatically enable keepa-alive).
r=warren,gagan
2000-03-14 03:41:46 +00:00
sspitzer%netscape.com
09b7b9db4f
fix for #26773 , alert when there is a network error in mailnews. r=mscott, a=phil
2000-02-26 01:04:50 +00:00
gagan%netscape.com
a38a9745a3
Completing the last change. r=valeski.
2000-02-24 02:08:01 +00:00
valeski%netscape.com
b04b1a5255
removing an un-necessary comment
2000-02-18 23:38:13 +00:00
ftang%netscape.com
a2c4d17325
fix bug 28197 (firt part of 14155). Change the damage data ToNewCString to ToNewUTF8String. r=warren, a=bobj
2000-02-18 23:15:46 +00:00
warren%netscape.com
e3c3120aad
Bug 27576 - fixed warnings. r=gordon
2000-02-15 07:53:08 +00:00
brade%netscape.com
d316cdddc8
checkin change for valeski
2000-02-14 14:40:12 +00:00
valeski%netscape.com
83735368bf
15594. r=gagan. adding protocol service to the linux and windows builds
2000-02-14 10:06:34 +00:00
valeski%netscape.com
81610c7ff5
15594. r=gagan. The protocol proxy service. I'm just dropping this in for now. It won't be used until FTP changes are in
2000-02-14 10:04:56 +00:00
mccabe%netscape.com
73185e4db4
Remove trailing \ in NS_LOADGROUP_CID define, as it can unintentionally pick up subsequent text in generated .h file.
...
r=mozbot
2000-02-12 04:22:31 +00:00
gagan%netscape.com
fa0c3e93e6
Fixed bug 27024. Changed nsIHTTPChannel.idl to have proxy host/port
...
accessors and modifiers. Channels may now override the proxy setting
from the HTTP handler. r=valeski
Fixed bug 24329. Made mProxyAuthList in nsAuthEngine to keep the list of proxy authentications. Logout now clears both proxy and basic auths. r=rjc
Fixed bug 26149. Authenticate now aborts only if the user doesn't click cancel on the PromptUserPass dialog. Removed the unnecessary nsIChannel* parameter on Authenticate. r=rjc
Fixed bug 24304. We now register a callback for proxy preferences. r=rjc
Fixed bug 17158. We now honor "network.proxy.no_proxies_on" preference to diable proxy activity on specified host or domain. We still need a fix for 27141 to read and write this pref correctly. r=rjc
Fixed bug 16442. Referer is only added if its an http URI. r=rjc
2000-02-11 00:47:50 +00:00
valeski%netscape.com
03406ba06f
removing our internal #defines, nsMimeTypes.h is the way to go now
2000-02-09 05:06:01 +00:00
valeski%netscape.com
eb41008e8e
removing UA component methods from ioservice
2000-02-08 06:45:18 +00:00
valeski%netscape.com
ae97d62b62
fixing unix bustage
2000-02-08 06:43:01 +00:00
valeski%netscape.com
7afeaae750
adding nsIProxy to the unix and win makefiles
2000-02-08 06:09:12 +00:00
valeski%netscape.com
2f0514a817
no longer exporting nsIProxy.h
2000-02-08 06:07:59 +00:00
valeski%netscape.com
f0e19f9d1e
.h is now gone
2000-02-08 06:07:11 +00:00
valeski%netscape.com
92e5717ebe
r=dougt. 10465. upgrading nsIProxy to a full blown idl
2000-02-08 06:05:29 +00:00
warren%netscape.com
9e08bb8519
Added stream buffering. Made file transport use it. Bug #19233 r=dougt
2000-02-04 07:31:43 +00:00
sspitzer%netscape.com
96a0249281
change to allow someone to use the "no strip url" interface in wallet.
...
no one is using it yet, because it doesn't work.
r=mscott
2000-02-03 05:01:42 +00:00
valeski%netscape.com
41512e1d6a
URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes
2000-02-03 03:44:22 +00:00
valeski%netscape.com
920b9a358b
fixing bustage
2000-02-02 23:47:43 +00:00
valeski%netscape.com
03162cf7fe
this iface has been replaced
2000-02-02 23:05:46 +00:00
valeski%netscape.com
a567c875bb
r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data.
2000-02-02 23:04:47 +00:00
sspitzer%netscape.com
b4f1c05ac0
make it so we can stuff a value given to us by the user from a Prompt()
...
can be stuffed into the single signon database, just like a password
can be. auth news needs this. r=dp,alecf
2000-02-01 08:43:48 +00:00
mscott%netscape.com
4d50d925e5
Bug #21173 --> Add a document uri retargeted flag. This flag is set when the uri loader retargets the output
...
of the channel to another content window.
r=travis
2000-01-29 05:03:58 +00:00
mscott%netscape.com
0bb47eda96
fix mac breakage for sspitzer...export nsIPrompt.idl
2000-01-29 01:48:40 +00:00