Граф коммитов

793 Коммитов

Автор SHA1 Сообщение Дата
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
ruslan%netscape.com be9ac37c1b Fix 34359 - nsSocketTransport timeout should also work while waiting on
actual data, not only while connecting.
2000-04-05 04:49:35 +00:00
davidm%netscape.com e5bf8b4556 31054 'TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:03:50 +00:00
mkaply%us.ibm.com cec23e5384 # 33859
r= warren@netscape.com
OS/2build - add or change #ifdefs
2000-04-05 02:14:34 +00:00
ruslan%netscape.com 2f521bf728 Landing the next batch of http pipelining changes. Still not enabled by default
(but you can set a pref in all.js and it'll work and some sites will load
ultra-fast). pipelining_reorg_point2 is pre-checkin tag in case of major
bustages (which there should be none).
2000-04-05 01:43:57 +00:00
sspitzer%netscape.com 89f1316e50 remove my debugging printf. 2000-04-05 00:53:44 +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
warren%netscape.com 91aed9a261 Changed 'default' content type to application/x-unknown-content-type (was text/html!). 2000-04-04 07:13:22 +00:00
gordon%netscape.com 49be022331 Fix for bug 23811 "Support IPv6". Integrating diffs by jgmeyers, r= wtc. 2000-04-03 23:41:53 +00:00
scc%netscape.com 52e40e9c6d making string conversions explicit 2000-04-01 22:31:00 +00:00
valeski%netscape.com a8b5655f5a ensuring that we're always firing this callback to an event queue. we don't want to directly callback the caller recurively this is an async call 2000-04-01 14:57:47 +00:00
andreas.otte%primus-online.de 194749371e This time for real: fix part of bug 32997, file URLs that include a hostname don't work, r=valeski@netscape.com
Previous checkin was a fix for bug 31854, [4.xP] Unable to open www.foo.com:/some/dir (note colon), r=valeski@netscape.com, sorry for the mixup.
2000-04-01 09:03:21 +00:00
andreas.otte%primus-online.de faac20c870 fix part of bug 32997, file URLs that include a hostname don't work, r=valeski@netscape.com 2000-04-01 08:51:17 +00:00
scc%netscape.com c05019b2a8 making string conversions explicit 2000-04-01 00:39:02 +00:00
valeski%netscape.com 5d44d8e64d 33935. r=dougt. I built on all three platforms. I smoketested win and linux, but mac is hanging after profile mgr so I can't verify it. When the CSS loader would try and load a non-existant local css file, we would crash. Now we post the OnComplete() callback asynchronously to the event queue so the CSS loader isn't entered recursively, and life is good again 2000-03-31 20:39:16 +00:00
rickg%netscape.com 22d9c58328 removed references to nsString2 2000-03-31 09:34:43 +00:00
jim_nance%yahoo.com dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +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 ccf1915f85 Landing DNS_CANCEL_BRANCH. Added code to make Offline(PR_FALSE) initialize nsSocketTransportService and nsDNSService. Original changes by warren, r=gagan. 2000-03-27 22:17:48 +00:00
gordon%netscape.com 48d21bfb64 Landing DNS_CANCEL_BRANCH. Moving Init() method to interface. 2000-03-27 22:16:20 +00:00
gordon%netscape.com ce2045282c Landing DNS_CANCEL_BRANCH. Changing locks to monitors in nsSocketTransport. Original changes by warren, r=gagan. 2000-03-27 22:15:38 +00:00
rickg%netscape.com 24c7cb621e removing references to nsString internals 2000-03-26 07:55:46 +00:00
andreas.otte%primus-online.de 4d4111b7b5 fix first part of bug 29341, fix nsStdURL GetFile/SetFile, r=warren@netscape.com 2000-03-25 10:26:10 +00:00
andreas.otte%primus-online.de 37b3c78967 fix bug 31089, Oakland Tribute crashes in HTMLContentSink::AddLeaf, r=gagan@netscape.com 2000-03-25 10:23:20 +00:00
ruslan%netscape.com 29ea87755d Remove misleading comment; nsSocketTransport never attempts to reconnect
by iself anymore.
2000-03-25 00:50:50 +00:00
ruslan%netscape.com 77aabe9130 Http handler reorg to fix keep-alive raise condition and prepare for
pipeling changes. Also fix 32505, 31979. In case of a major bustage -
http11_reorg_point is the tag before the checkin; r=gagan, a=warren
2000-03-24 21:38:04 +00:00
mscott%netscape.com 5bd1957c9e Bug #28776, 28569 --> make the load group keep a weak ref on the observer
r=sspitzer
2000-03-24 05:42:10 +00:00
law%netscape.com d4e2d78dfc Fix for bug 32407; transfer data from proper spot in input buffer when a portion is used to fill prior file buffer. r=dougt@netscape.com 2000-03-21 08:47:43 +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 9403c0be2c Make reuseCount to be PRUint32 2000-03-21 01:43:41 +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 96b193ac38 Only attempt to reconnect when socket is being reused and no longer
connected when the first write operation is requested. This finally
takes care of last (for now :-) keep-alive problem with sites who will
close connections at a very fast rate.
2000-03-19 03:32:32 +00:00
ruslan%netscape.com 321c98f13a Fix incorrect check in isAlive 2000-03-19 03:17:58 +00:00
ruslan%netscape.com c41f6dc16a Fix 32395. The change in behavior of SetReuseConnection had cause ftp
handler to leak.
2000-03-19 00:07:17 +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 9c2c925949 Rollback some of keep-alive code while investigating 32002 since only
people off-site could reproduce it.
2000-03-17 03:28:06 +00:00
ruslan%netscape.com 7a884f9417 Keep-alive fixes: cancel outstanding i/o on windows, take care of the case
when the connection gets closed by the server because of the timeout.
2000-03-15 01:19:42 +00:00
ruslan%netscape.com 9ed380e046 Mark EOF when connection gets closed as well. Fixes www.microsoft.com with
keepalive on.
2000-03-14 05:02:16 +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
sfraser%netscape.com 6af40d722b Fix so that bugs like 31710 are easier to find in future -- printf when opening a file fails. r=pavlov 2000-03-14 02:10:20 +00:00
warren%netscape.com f6f5c41e1c Checking result of Available. 2000-03-12 22:38:41 +00:00
rickg%netscape.com 59808e15af removed calls to deprecated string methods 2000-03-12 11:18:18 +00:00
rickg%netscape.com 5dc7d01987 removed calls to deprecated nsString methods 2000-03-12 11:06:57 +00:00
rickg%netscape.com ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
sspitzer%netscape.com 492fbc9f3f add nsAsyncStreamListener to the bloaty logs. 2000-03-12 08:06:14 +00:00
sspitzer%netscape.com 0487a8b1a3 fix for #30775 and #30648. r=mscott,warren. a=phil
we need to call Cancel() to remove the closed nsSocketTransport from the
list of active transports.  if we don't, we quickly reach the max (50)
and pop, smtp, and nntp operation start failing.

also, upon NS_BINDING_ABORTED, do not pop up an alert.  we get
this when we call Cancel() or if the user hits the stop button.
2000-03-12 06:40:25 +00:00
waterson%netscape.com ac2b0e9093 Bug 30477. Deal with the fact that somehow mSource is getting set to null. Bogo-defensive programming. Yay! r=warren, a=gramps, leaf. 2000-03-08 21:17:41 +00:00
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
warren%netscape.com 27494d0387 Made socket transport service fail if offline. 2000-01-05 03:48:27 +00:00
warren%netscape.com 3a332b4758 Made SetOffline(true) shutdown dns and socket trans. 2000-01-05 03:44:42 +00:00
morse%netscape.com 0d7d7eea84 add UniversalDialog, r=davidm 2000-01-05 03:17:11 +00:00
warren%netscape.com 7d101062cf Added offline attribute. 2000-01-05 02:44:23 +00:00
dougt%netscape.com 9c9d062bec Including nsCRT.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:22:46 +00:00
bryner%uiuc.edu 2671310947 Fixing a compiler warning by reordering initializers. r=syd. 1999-12-24 22:06:48 +00:00
valeski%netscape.com 1479703c93 21789. r=gagan, a=don. The Extension() method for url's was returning everything after the *first* dot as the extension, rather than everything after the *last* dot. Now we return everything after the *last* dot as the extension 1999-12-24 03:10:24 +00:00
dougt%netscape.com 7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
sspitzer%netscape.com e8a4061a40 warnings fixes, and fix for #21901, all password dialogs to have titles
if the user passes one in, or use "Password" if they pass null.
1999-12-21 23:03:29 +00:00
morse%netscape.com f4b2441812 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann 1999-12-19 18:32:21 +00:00
valeski%netscape.com 85b9c156a7 21723. a=chofmann, r=rpotts. AsyncOpen() in the socket transport was spinning out of control, causing socket transport thread deadlock. Now we move the socket transport off of the work queue after an AsyncOpen call 1999-12-15 00:28:39 +00:00
valeski%netscape.com 06d6ba655f 20956. r=rpotts. necko no longer assumes any MIME type. we send out application/x-unknown-content-type internal MIME type if we don't *know* what the type is. It's now truly up to the app to figure out what to do 1999-12-07 07:00:47 +00:00
fur%netscape.com fd0efb29ca Added cache control flags, in support of Bug #8305 (Implement cache) 1999-12-06 23:31:47 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
warren%netscape.com 277a68344f Added missing addref. r=gayatrib 1999-12-03 02:22:02 +00:00
warren%netscape.com 0d72878cfc Fixed bug where file transport would spin if it failed in the nsIFileSystem::Open method. Affected jar protocol. 1999-12-02 02:50:48 +00:00
rpotts%netscape.com 1b0f903b3f (r=valeski) Fix for new bloat (leaking HTTPChannels) that was introduced yesterday 1999-12-01 04:32:58 +00:00
sspitzer%netscape.com f8899d4936 bulletproofing to prevent #20410 1999-12-01 01:26:08 +00:00
warren%netscape.com 2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
mscott%netscape.com 649881fcba Fix xp build breakage by defining rv.
I'm not sure how this compiled on someone's machine =)
1999-11-30 01:12:58 +00:00
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
valeski%netscape.com b82de3adef r=warren. the return val from the progress sink was getting in the way of the socket transport state machine, now it's just being ingonored. 1999-11-29 22:16:21 +00:00
brendan%mozilla.org b4fef52e82 Whitespace police! 1999-11-28 10:26:53 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
waterson%netscape.com f31fcc62c9 Bug 19600. Change content length magical 'unknown-so-read-til-you-puke' value from zero to -1. 1999-11-24 21:44:13 +00:00
valeski%netscape.com 194cef3866 passing a signed int into an unsigned param. now we're not 1999-11-24 21:07:11 +00:00
valeski%netscape.com 48203c3079 18434, r=rpotts. the socket transport now issues OnProgress notifications 1999-11-23 23:53:10 +00:00
valeski%netscape.com 2483a0d45c r=warren. missing addref in sync streamlistener creator. 1999-11-23 21:41:12 +00:00
waterson%netscape.com d3cae83201 Fix nsNetModuleMgr and nsNetModRegEntry leaks. r=valeski 1999-11-23 20:47:25 +00:00
andreas.otte%primus-online.de 971895689a Added code to remove trailing spaces in URLs. (Fixes bug 15451)
Some code to add a trailing / in SetDirectory if it is missing. There is no special bug behind this, just a fix for a potential bug.

And a oneliner in ParsePath to deal with params, querys and refs in the right place. Between setting brk and getting to the code that deals with this stuff, there is a ReplaceMess call which can change the position of querys and co. This change avoids that problem.

r=valeski
1999-11-23 14:06:17 +00:00
rpotts%netscape.com 8026dca974 bug #15342 and #15560. Refactored the LoadGroup and DocumentLoader... 1999-11-22 05:46:03 +00:00
waterson%netscape.com cbf6dd0ab7 Bug 16797. Allow files to be 'zero' length. r=warren 1999-11-20 07:15:28 +00:00
warren%netscape.com ecca9ba977 Fix for bug that triggers assertion in END_READ state of file transport. 1999-11-20 04:19:20 +00:00
tbogard%aol.net 3b0705ad68 Spelling fix for bug #16386. 1999-11-20 03:57:34 +00:00
duncan%be.com 39169f6482 Fix to behave correctly under BeOS.
r=warren
1999-11-19 21:58:39 +00:00
fur%netscape.com 2e1ec9c975 Add support for offset argument to FileTransport's OpenOutputChannel() method.
r: fur, yixiong.zou@intel.com
1999-11-19 15:56:24 +00:00
mscott%netscape.com 61f7f1b342 remove these obsolete files. 1999-11-18 09:56:39 +00:00
mscott%netscape.com 14e52f7738 Fix clobber unix build. don't build uri dispatcher anymore. 1999-11-18 09:55:44 +00:00
mscott%netscape.com 364f36c2ae remove some obsolete files 1999-11-18 08:15:39 +00:00
mscott%netscape.com ab03db9585 Remove some obsolete idl files from the unix build. 1999-11-18 08:13:15 +00:00
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
warren%netscape.com e126986a82 Fix socket transport deadlock (affecting imap thread). Bug #18201 and regression bug 14612. r=rpotts 1999-11-16 01:25:46 +00:00
warren%netscape.com 4a274d01f1 Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz 1999-11-12 06:13:13 +00:00
warren%netscape.com fb7ad57ff3 Added 1999-11-11 05:21:38 +00:00
valeski%netscape.com 405d84eeb1 16256, r=gagan. the nsinputstreamchannel was lowercasing the entire contenttype. we don't want to lower case the contenttype attribs 1999-11-11 00:37:18 +00:00
valeski%netscape.com e70792af1e 18134, a=chofmann,r=andreas. Resolve() was not handling ../../ cases in relative URI specs. Now it is. We call ReplaceDotMess() on the path portion _only_. 1999-11-09 21:31:43 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
rpotts%netscape.com 7d63cbc945 bug #7428. Added support for connection timeout. Now if a connection cannot be made within 35 seconds, the transport times out. 1999-11-06 01:32:34 +00:00
rpotts%netscape.com ee19ba5eca bug #17500 (r=warren). Added code to fire an OnStopNotification to the parent load group if an active group is canceled. 1999-11-05 20:51:11 +00:00
valeski%netscape.com 14e25a91af 10736, r=andreas.otte@primus-online.de. Actually I'm more like the reviewer here. Andreas submitted this optimization to MakeAbsolute (it uses minimal memory routines and minimal parsing. this means performance increase by a factor of 10 for this method). I'm checking it in for him. 1999-11-04 20:31:36 +00:00
gagan%netscape.com 36231763c1 Fixes 11708,15477 and partial 14610. r=warren. We now pass a print host for displaying in status messages that is different than the hostname connecting to. Also added Keep-Alive support (turned on by user_pref("network.http.keep-alive",1)) 1999-11-03 08:14:38 +00:00
gagan%netscape.com d0215584ef *** empty log message *** 1999-11-03 08:12:18 +00:00
gagan%netscape.com ec4f880416 Added printHost parameter for use in status messages in cases where printHost is different than the connecting host (as in the case of proxies) Fixes bug 11708. r=warren. 1999-11-03 08:11:39 +00:00
davidm%netscape.com 62deeea345 6552 Browser-generated forms not triggering single-signon add nsINetPrompt for single sign on r morse 1999-11-03 05:21:49 +00:00
davidm%netscape.com d79c14b388 First Checked In. 1999-11-03 05:19:39 +00:00
warren%netscape.com d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
warren%netscape.com 424eae7fa3 Made nsIInputStreamChannel scriptable and constructable from component manager. bug#15294 1999-11-03 05:09:20 +00:00
gagan%netscape.com d4b03d1a83 Added file. Not in the build. Some utility code for color console messages on Unix. Using this is simple- Declare PRINTF_FOO in the scope of your printf statements where FOO is one of the colors in (YELLOW, RED, CYAN, BLUE, MAGENTA, GREEN) and any printfs in that scope will print in color. You may also start and stop colors by using STARTF00 and ENDCOLOR. So you can try something like printf(STARTRED "Red " STARTBLUE "Blue" ENDCOLOR); 1999-11-03 03:43:13 +00:00
rpotts%netscape.com 4667ff7441 bug #3469 (r=warren). Fixing nsLoadGroup::Cancel() to call cancel on all active transports and subgroups... 1999-11-02 08:00:07 +00:00
warren%netscape.com 332749d6fa Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
warren%netscape.com 29db97eb7f Removed dependence on neckoutil functions. Part of bug#11159. Not in the build yet. 1999-11-02 05:31:56 +00:00
dp%netscape.com b881f6543b Changing misuse of NS_WITH_SERVICE() to GetService(). r=warren 1999-11-02 01:40:14 +00:00
mscott%netscape.com e31bab7aae remove these uri dispatching interfaces from netwerk.
they live in uriloader now.
1999-11-01 21:47:26 +00:00
mscott%netscape.com 542a5aef6c none of these interfaces were being used yet.
they've been moved into mozilla\uriloader.
1999-11-01 21:45:29 +00:00
warren%netscape.com 501fc9ffdf Eliminating netwerk/util 1999-11-01 20:48:12 +00:00
rpotts%netscape.com dc45cb6d2a Fixed crash during error condition in END_WRITE... (r=warren) 1999-10-29 22:14:52 +00:00
mscott%netscape.com 6af3315e9c part of url dispatching framework.
build nsURLDispatcher.cpp
1999-10-28 22:08:57 +00:00
mscott%netscape.com 703d5c5c76 export uri dispatching interfaces. 1999-10-28 20:37:58 +00:00
warren%netscape.com d3269bc410 Changed file transport to facilitate jar: protocol -- parameterized by nsIFileSystem. Bug#12579 r=gagan,gayatrib 1999-10-28 08:02:07 +00:00
mscott%netscape.com 06fc9aaccf part of url dispatching.
export the uri dispatching interfaces.
no reviewer for this makefile change.
1999-10-28 02:05:12 +00:00
rpotts%netscape.com 6e6993d4df bug #13054. r=mscott,warren. Reworked how data is written to the network. I consolidated the writing of nsIBufferInputStreams and nsIInputStreams and limited the amount of data being wrtten at once to MAX_IO_TRANSFER_SIZE... 1999-10-27 06:51:12 +00:00
mscott%netscape.com 00427af57f Bug #14928 --> url dispatching. Adding initial scaffolding for the uri dispatcher service.
(not part of the build yet)
1999-10-27 06:49:42 +00:00
gagan%netscape.com b98eb078bf Fixed bugs 11677 (perf) 13837 (spaces) 14380 (leading spaces) 14707 (-1) 15069 (file://) r=valeski 1999-10-26 23:16:34 +00:00
mscott%netscape.com 7038d579bb Bug #14928 -- > url dispatching. Change DoContent to return a stream listener instead of
a nsIContentViewer.
r=travis
1999-10-26 20:35:21 +00:00
warren%netscape.com f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
mscott%netscape.com f7caaf4fb9 Bug #14928 --> url dispatching. convert nsIContentHandler.idl, nsIURIDispatcher.idl and nsIContentListener.idl
into .h files.
no reviewer yet. the code review for url dispatching will come later.
1999-10-26 07:11:44 +00:00
mscott%netscape.com 82a471ddd8 Bug #14928 --> first pass at several key interfaces for url dispatching.
Not part of the build and no reviewer yet. The review will come later on when we review url dispatching
1999-10-26 07:10:27 +00:00
dougt%netscape.com ce7f0ed109 Change net module notification to make proxies lazy. r=dveditz, mozbot.
This reduces memory overhead.
1999-10-25 22:31:59 +00:00
rpotts%netscape.com 5b6eec640d Backing out the fix for bug #15560. This fixes the editor regression - bug #16937 1999-10-24 07:26:54 +00:00
rpotts%netscape.com 5d9dde0e60 bug #15560. Changed the LoadGroup to fire notifications via PLEvents to stop reenterency. 1999-10-19 19:36:07 +00:00
danm%netscape.com 1228f0c794 adding PR_LOGging to event queue handling. r:hyatt@netscape.com 1999-10-18 15:09:50 +00:00
gagan%netscape.com ce3168b8a9 Added "resolving host" status notification for eSocketState_Created. No bug number. r=law. 1999-10-15 22:47:24 +00:00
gagan%netscape.com 5b9f510ea1 Fix the windows build bustage. Bad checkin on my part! 1999-10-13 11:09:37 +00:00
gagan%netscape.com 02366e93bc Removing an #if 0 block that got checked in accidently with my last checkins. 1999-10-13 10:31:16 +00:00
gagan%netscape.com f1203c259d Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
warren%netscape.com c3c7245ed5 Added about:bloat 1999-10-12 09:35:22 +00:00
sfraser%netscape.com d2195dcdcd Fix for bug 16151; make the file transport working thread stack size 64k, instead of 8k. Fixes crashes on startup on Mac. r=beard 1999-10-12 05:39:18 +00:00
warren%netscape.com 641f3b5442 Lowercased idl method names for scriptability. Cleaned up nsIURL interface. 1999-10-12 01:39:37 +00:00
beard%netscape.com 0239d763d8 nsFileSpec.GetLeafName() allocates a string, fix leak. r=warren, bug=15380 1999-10-09 02:52:46 +00:00
gagan%netscape.com 38b76fb99f Partial checkins for fixing bug # 10333. Added the nsIStatusCodeEventSink for conveying status codes to the UI thread from the socket ones. r=mscott,a=don 1999-10-06 20:50:12 +00:00
mscott%netscape.com 157e5f2f6e No Bug #.......removing an obsolete file that isn't part of the build
r=valeski
1999-10-06 20:21:35 +00:00
valeski%netscape.com 43edbee475 r=warren, 15457. Added file extension attribute to URL implementations 1999-10-06 14:36:22 +00:00
warren%netscape.com 6bf20c1230 Fixed nsCOMPtr bustage. 1999-10-06 09:03:43 +00:00