Commit Graph

587 Commits

Author SHA1 Message Date
valeski%netscape.com
f42541d203 r=warren. a=jar. we're now using the threadsafe macros for sync stream listeners 2000-03-07 00:37:36 +00:00
warren%netscape.com
9956a185c8 Making nsFileStream and nsBufferedStream be threadsafe. 2000-03-06 00:51:44 +00:00
warren%netscape.com
48da3455de Bug 21556: Making linux be thread-safe. Additional diffs from Andreas. r=warren,a=jar 2000-03-05 21:36:54 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
dougt%netscape.com
5acecfb31e Changing file worker thread count to have a minimum and maximum. Bug fix 27336.
r=warren,danm a=chofmann.
2000-03-05 20:57:51 +00:00
warren%netscape.com
1798a13bf0 Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. Minor tweak. a=jar 2000-03-05 10:29:05 +00:00
warren%netscape.com
7a775f0c48 Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. a=jar 2000-03-05 10:20:48 +00:00
rpotts%netscape.com
6c5d4777ca bug #18267. Changed the marshalled OnDataAvailable event to cancel the transport if the consumer returns a failure. THis ensures that the transport is notified of the error... 2000-03-02 05:49:09 +00:00
davidm%netscape.com
9de3938b25 11701 Product does not run if slash in folder path a = jar r = warren 2000-03-02 01:05:54 +00:00
rpotts%netscape.com
ec568d9a0c bug #29044. Made EOF on sockets detected as soon as possible... 2000-02-29 04:44:51 +00:00
warren%netscape.com
187d2b1f36 Bug 29387. Fix ABR problem resulting from recent PDT+ change. code=andreas,r=warren,a=jevering 2000-02-29 01:26:34 +00:00
davidm%netscape.com
9819271015 22244 Can not load local file on the mac r warren/sfraser a - jar 2000-02-27 16:19:59 +00:00
mscott%netscape.com
638d32ae1d Bug #29279 --> fix crash when loading really large urls by protecting against a buffer over-run.
r=scottip
a=jar
2000-02-26 04:38:07 +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
scc%netscape.com
b105f03695 On platforms without pollable events, i.e., (only) the Mac, changed poll timeout from 250msec to 5msec, as a preliminary fix for bug #25108. The real solution is pollable events on the Mac. r={pinkerton, rjc, et al} a=jar (yes, jar, I ran it on multiple Macs of as many different speeds as we could find, and tried different values) 2000-02-25 07:40:11 +00:00
warren%netscape.com
297b5ae539 Fixed mac and solaris build bustage. r=waterson 2000-02-25 07:14:28 +00:00
warren%netscape.com
d50d3d3318 Bug 10736 - URL parsing / MakeAbsolute performance. code=putterman,r=warren,andreas,a=jar 2000-02-25 06:17:57 +00:00
gagan%netscape.com
a38a9745a3 Completing the last change. r=valeski. 2000-02-24 02:08:01 +00:00
gagan%netscape.com
cf9f7d2945 Removing the linux orange... and possibly windows assertions. 2000-02-24 01:56:12 +00:00
gagan%netscape.com
d4293a9bc7 r=valeski,rjc a=jar. Fixes for the following bugs-
bug 1582 - HTTP Referer header problem.
This is now resolved with a preference (network.sendRefererHeader)
If set to 0 no referrer header is sent (ever) If set to 1 the
referrer header is sent only in cases of user link-clicks and if
set to 2 is sent from image requests as well.

bug 17158 - No Proxies For wasn't implemented.
This was not being read correctly and I also moved and cleaned up
the parsing function to nsProtocolProxyService (thereby also
killing bug 27728)

bug 24642 - http://www.win98central.com/#437 was crashing.
bug 26686 - crash in nsHTTPRequest destructor.
Both of these crashes were because of the nsHTTPRequest being
unconditionally released in the destructor of nsHTTPChannel. Although the main problem remains, I have made it a non-crasher now.

bug 27844 - HTTP breaks when only using FTP proxy.
This was happening because we were not resetting values of the
proxy when they are removed from the preference pane.
2000-02-23 21:17:17 +00:00
rpotts%netscape.com
9e05e2270a Added nsStreamListenerEvent to the leak/bloat logging... 2000-02-23 05:22:14 +00:00
valeski%netscape.com
235ec122da r=rhp, a-leaf. Fixing a crasher before it hits us 2000-02-22 22:44:38 +00:00
rpotts%netscape.com
9929b50e15 bug #22428. Added a per-instance intermediate buffer in the SocketTransport to accomadate calling AsyncWrite(...) with an nsIInputStream that does not support nsIBufferedInputStream. 2000-02-21 06:51:36 +00:00
bruce%cybersight.com
072dd20796 Fix a FMM error. r,a=waterson 2000-02-21 05:22:43 +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
rpotts%netscape.com
47272f2333 Fixed Mac warning which was masking a potential Mac-only bug... 2000-02-18 21:39:26 +00:00
gordon%netscape.com
1a4b8101d3 Also partial fix for #25321 "crash on start w/o internet connection". Check for nil member fields before using them in shutdown code. r=warren, a=jar. 2000-02-17 03:34:16 +00:00
andreas.otte%primus-online.de
00ce70d63e fix for bug 27683: nsStdURL::SetSpec shouldn't modify in parameter r=putterman@netscape.com 2000-02-16 00:28:35 +00:00
valeski%netscape.com
24868a22e8 r=rhp. we want to reset any previously set proxy info if we're not supposed to be using proxies. 2000-02-16 00:07:55 +00:00
andreas.otte%primus-online.de
394051e43c fix for bug 27519, URL parser mangles parameters delimited by semicolons, adds them to requested filename, r=gagan@netscape.com 2000-02-15 23:32:04 +00:00
warren%netscape.com
e3c3120aad Bug 27576 - fixed warnings. r=gordon 2000-02-15 07:53:08 +00:00
pepper%netscape.com
56a4343075 dding newline at end so that lesser unixes compile. 2000-02-15 00:52:56 +00:00
brade%netscape.com
d316cdddc8 checkin change for valeski 2000-02-14 14:40:12 +00:00
valeski%netscape.com
be24f47612 building the proto proxy service on linux and win 2000-02-14 10:07:47 +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
valeski%netscape.com
ebbdc64da3 r=andreas. 27142. we no longer escape the ':' char in the directory portion of a URL 2000-02-14 07:41:29 +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
warren%netscape.com
ad064c2689 Fix for bug 27022, input buffers get truncated. r=mbp@worldonline.dk,dougt@netscape.com 2000-02-10 08:27:01 +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
14bb29fed6 r-dougt, 10465. the IOService no longer handles the User AGent components. the http handler does 2000-02-08 06:27:34 +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
valeski%netscape.com
c9629a7024 nsCOMPtr'izing the parser 2000-02-08 05:55:08 +00:00
dougt%netscape.com
b16046f5a0 Fix for 26850 by Andreas Otte. This fixes complex uri parsing, specifically
defined in the mentioned bug.
2000-02-08 01:20:33 +00:00
waterson%netscape.com
f8347ec3fb Bug 17586. Use more robust condition to determine stream length ('-1') for HTTP-index streams on directories. Add lots of logging along the way. r=syd,valeski. 2000-02-08 01:16:09 +00:00
warren%netscape.com
a4bc849b83 Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott 2000-02-04 09:29:55 +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
63cf811f01 replaced 2000-02-02 23:06:48 +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
dougt%netscape.com
5553c9c67b removing the Truncate flag so file do not get destroyed when opening an
output stream to them.  r=warren.
2000-02-01 23:24:57 +00:00
valeski%netscape.com
9d08df3b73 r=gordon. 23709. Adding an extra check before trying to memcpy hostent data, this should fix the crashing we've been seeing on some win95 boxes, but it doesn't fix the problem of not having any A entries in DNS 2000-02-01 22:35:28 +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
91f8b8ca1e need ability to write load attrib flags on input stream channel as part of the refactoring of the doc loader
into the uri loader
r=travis
2000-01-29 05:05:38 +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
warren%netscape.com
961264c355 Reapplying fix for bug 21686 -- can't find protocols with non-lowercased names. 2000-01-28 23:39:33 +00:00
mscott%netscape.com
f34c55c94c back out warren's fix for Bug #21686 as this broke mailnews. regression Bug #25511
a=leaf
2000-01-28 19:41:59 +00:00
warren%netscape.com
bcc06d52e9 Fix for Windows file://c|/ case (2 slashes). Bug #24431 2000-01-28 07:40:31 +00:00
warren%netscape.com
951afde39b Fix for bug 21686 -- can't find protocols with non-lowercased names. 2000-01-28 06:24:54 +00:00
warren%netscape.com
c6cf2a3361 Fixes to make jar: protocol actually be able to visit html files packaged in zip files. Resolves relative links now, although doesn't handle going to # anchors in html pages properly yet. Good enough for chrome work. 2000-01-27 08:57:14 +00:00
valeski%netscape.com
0518800fa9 20445. r=warren. We now propagate connection_refused errors from the socket transport. 2000-01-25 02:29:42 +00:00
dougt%netscape.com
8b24f3a078 turing off assert until warren and I can take a closer look. r=mccabe. 2000-01-25 02:29:29 +00:00
dougt%netscape.com
a7ee5e951a nsIFile Landing. unescaping path for nsIFile. 2000-01-24 23:18:44 +00:00
dougt%netscape.com
62b1044c62 wtf. this is the wrong code. part of the nsIFile landing. 2000-01-24 22:41:10 +00:00
dougt%netscape.com
b36e63d300 Fixing build bustage. need to #ifdef PR_LOGGING mSpec. 2000-01-24 22:28:27 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
warren%netscape.com
a1eea10bb8 A better fix for the spin while retrieving POP messages on linux. Needed to handle PR_POLL_HUP, but apparently animated gifs return this too and its not a failure. r=alecf,mcafee 2000-01-22 02:06:00 +00:00
warren%netscape.com
fee931251b Reverted change for PR_POLL_HUP to see if it clears up the tinderbox bloat test problem. 2000-01-21 03:31:39 +00:00
warren%netscape.com
fbfa96b4c5 Fix spin retrieving POP messages on linux. Needed to handle PR_POLL_HUP. r=wtc,valeski,alecf,pavlov 2000-01-20 22:37:34 +00:00
warren%netscape.com
a1a312c5b9 Enhanced logging to help debug bug #23778 2000-01-20 05:25:07 +00:00
warren%netscape.com
d353634848 Fix to shutdown socket transport service. DNS service too. Bug #21124 r=valeski 2000-01-19 07:58:40 +00:00
warren%netscape.com
771e106285 Re-added 2000-01-17 06:05:43 +00:00
rpotts%netscape.com
be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
sspitzer%netscape.com
d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com
ae47d277d3 Moved CIDs to nsIURLParser.idl to avoid mac bustage. 2000-01-14 11:09:17 +00:00
warren%netscape.com
6d806d9cfe Added nsIURLParser.idl to manifest. 2000-01-14 09:26:06 +00:00
warren%netscape.com
ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
warren%netscape.com
1c6fd64e46 New files from andreas.otte@primus-online.de for numerous URL bugs. r=warren 2000-01-14 08:31:13 +00:00
warren%netscape.com
472898d037 New files from andreas.otte@primus-online.de for numerous URL bugs. r=warren 2000-01-14 08:19:26 +00:00
warren%netscape.com
be673ef2a3 Added 2000-01-13 09:11:01 +00:00
morse%netscape.com
61a9624d09 fix bug 23037, allow autofill to use double-byte characters for i18n, r=dp 2000-01-12 21:53:32 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rpotts%netscape.com
30e17d0347 Fix build bustage when mailnews is not part of the build... Duplicated some mime defines from nsMimeTypes.h :-( 2000-01-10 04:07:55 +00:00
rpotts%netscape.com
023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
warren%netscape.com
2653baf425 Cleanup 2000-01-07 02:06:57 +00:00
valeski%netscape.com
ec7d6b07da 23039. r=rpotts. FTP wasn't closing the data connection after data transfer. This was causing it to hang, waiting for the command channel to unblock. 2000-01-06 00:29:48 +00:00
warren%netscape.com
5370d83dc2 Cleaned up closing procedure. 2000-01-05 09:28:35 +00:00
warren%netscape.com
e07863e48c Added OnClose method to nsIPipeObserver (bug#23080) 2000-01-05 05:07:46 +00:00
warren%netscape.com
31c7dd82a2 Fixed include. 2000-01-05 03:50:49 +00:00