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

1930 Коммитов

Автор SHA1 Сообщение Дата
ruslan%netscape.com c945914479 Fix solaris build bustage, r=gordon 2000-03-30 23:07:04 +00:00
law%netscape.com b2a88c3c2b New test to do I/O on multiple threads; not built yet 2000-03-30 22:49:36 +00:00
ruslan%netscape.com 3ac8a0fde2 Preparing for pipelining landing: keep the list of server capabilities now.
Make prefs reader more intelligent. Don't cache pages with security info
for now to let daugh to get through his bugs; Make proxy.keep-alive/
proxy.pipelining to be prefs as well; p/r=warren
2000-03-30 22:24:29 +00:00
gordon%netscape.com cd830cb9cd Fix for bug 33569 "MLK: nsDNSLookup::InitiateLookup()". Added a missing nsAllocator::Free(). r = saari. 2000-03-30 22:22:47 +00:00
warren%netscape.com aeba7b7321 Bug 28269. jar file cache should open local files in place 2000-03-30 08:13:50 +00:00
warren%netscape.com bf7cac83c0 Making jar: protocol work in general, and OpenInputStream in particular. 2000-03-30 07:39:31 +00:00
jim_nance%yahoo.com 005e33f06e 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
tbogard%aol.net f2fba4f3de Adding the attribute referrer so that you can get the referrer from the channel once you have previously set it. 2000-03-30 02:18:52 +00:00
valeski%netscape.com a0075a07d0 29754. fixed a couple warnings, removed FTP dependence on xul window for prompting, and started using the nsIPrompt interface. 2000-03-30 01:00:29 +00:00
valeski%netscape.com 6e881f3f83 updating the stream converter tests. registration now happens in nsConvFactories.cpp 2000-03-29 23:14:52 +00:00
alecf%netscape.com be14977ee8 reduce dependancies on nsIPref.h 2000-03-29 09:46:39 +00:00
warren%netscape.com 8d93633132 Removed extra number of open transports test. 2000-03-29 06:44:10 +00:00
warren%netscape.com 4d8ceb3c62 Added prio.h for linux. 2000-03-29 04:46:19 +00:00
warren%netscape.com d6036c2f64 Fixed nsCOMPtr problem in ?: statement. 2000-03-29 04:38:38 +00:00
warren%netscape.com 05545e9005 Fixed 0 => LL_ZERO problem. 2000-03-29 04:30:01 +00:00
warren%netscape.com d60b12b153 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
ruslan%netscape.com 54864afc5b Fix 33688. When both - chunked and compressed response comes in converters
were pushed in the wrong order.
2000-03-29 03:35:14 +00:00
ruslan%netscape.com 87bd11b281 Make converters implement threadsafe_isupports 2000-03-29 03:19:14 +00:00
ruslan%netscape.com 55965aee77 Fix 33631 - crash when 304 is received but there's no entry in the cache. 2000-03-29 02:35:00 +00:00
ruslan%netscape.com 20ccb96217 Misc code cleanup. Also apply another keep-alive proxy patch from
Tomi.Leppikangas@oulu.fi
2000-03-29 00:04:27 +00:00
ruslan%netscape.com f1415b32a9 Fix 33259. Make a maximum number of http connections configurable - network.http.max-connections=8 (current default) 2000-03-28 22:47:57 +00:00
ruslan%netscape.com 718f3a22e8 Fix 23263 - mem cache assert on shutdown. 2000-03-28 19:41:59 +00:00
dougt%netscape.com 1ba26756c5 parital fix for 31167. Allowing http response header security attribute
to come from preferences. r=valeski@netscape.com
2000-03-28 11:45:25 +00:00
dougt%netscape.com 6a8184c9e2 removing checks for null before calling delete(). I do not know what I was
thinking.  davidm pointed this out.
2000-03-28 11:39:06 +00:00
akkana%netscape.com 7a0a1a091e Fix from gordon to fix shrike bustage 2000-03-28 02:56:26 +00:00
gordon%netscape.com b56897fe07 Fixing build bustage. 2000-03-27 23:16:13 +00:00
gordon%netscape.com 5139e308dc Landing DNS_CANCEL_BRANCH. Enable canceling of dns lookup requests, and underlying structure for possible DNS cache. Original changes by warren, gordon. r = gagan. 2000-03-27 22:19:18 +00:00
gordon%netscape.com 0df016b3a3 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 e165ac4548 Landing DNS_CANCEL_BRANCH. Moving Init() method to interface. 2000-03-27 22:16:20 +00:00
gordon%netscape.com 6dee439e4e 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 4fa6b38b7d removing references to nsString internals 2000-03-26 07:55:46 +00:00
scc%netscape.com 95688b794f small changes to clients of string converting APIs 2000-03-26 02:12:47 +00:00
scc%netscape.com 6c2b532d42 small changes to clients of string converting APIs 2000-03-26 02:06:10 +00:00
andreas.otte%primus-online.de 370e1b5ab6 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 a985e7d577 fix bug 31089, Oakland Tribute crashes in HTMLContentSink::AddLeaf, r=gagan@netscape.com 2000-03-25 10:23:20 +00:00
cls%seawood.org 3d7f0b9ae9 AIX needs to link against ZLIB_LIBS to resolve all symbols in libconverters.so 2000-03-25 08:01:16 +00:00
cls%seawood.org df60140390 Some compilers (HP-UX) don't like it when the file doesn't end in a newline. 2000-03-25 05:57:22 +00:00
ruslan%netscape.com 20b914620d Remove misleading comment; nsSocketTransport never attempts to reconnect
by iself anymore.
2000-03-25 00:50:50 +00:00
ruslan%netscape.com 3eaf3fde62 Continuing earlier http reorg. There's no need to call mHeaders.Clear () as
formHeaders () is called just once anyway.
2000-03-25 00:49:41 +00:00
ruslan%netscape.com 7bd31c2f35 Prevent certain headers to be sent out twice during the recovery loop when
the keep-alive connection is closed by the server.
2000-03-24 23:33:03 +00:00
ruslan%netscape.com e3ad4e0a43 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 23ccd10b25 Bug #28776, 28569 --> make the load group keep a weak ref on the observer
r=sspitzer
2000-03-24 05:42:10 +00:00
warren%netscape.com 515942025c Fixed optimized build dependency on zlib.shlb 2000-03-24 04:01:13 +00:00
ruslan%netscape.com bdb1268053 Finalize http compression convertor. Not in the build yet, but soon it will
be.
2000-03-24 03:18:30 +00:00
warren%netscape.com c8a3a1fe48 Added nsHTTPCompressConv.cpp for Ruslan. 2000-03-24 03:17:01 +00:00
ruslan%netscape.com b5dac82315 Continue fixing bugs in compress converters. Not part of the build yet. 2000-03-23 22:23:14 +00:00
bryner%uiuc.edu d01f5d2b19 Don't allow a port other than 79 to be used for finger. r=valeski. 2000-03-23 06:40:36 +00:00
ruslan%netscape.com 0cb1bb7ccb Working on 32505. Adding http compression convertors - they are not hooked
up yet and are not part of the build.
2000-03-23 01:09:39 +00:00
ruslan%netscape.com 591756313b Fix 32914 (relax http chunk-converter to workaround apache bug). The change
is trivial, r=none
2000-03-22 22:19:35 +00:00
bryner%uiuc.edu 5c753c49eb Changes to finger protocol:
- Use threadsafe addref/release
- Remove AsyncOpen implementation, it is not used
- Implement Cancel()
- Add the channel to the loadgroup in SendRequest, not SetLoadgroup()

Fixes bugs 29457, 29952.  r=valeski.
2000-03-22 21:15:57 +00:00
ruslan%netscape.com 88c3011e5b Actually fix 32600 now by making chunk-converter use bytearraystream, r=warren 2000-03-22 03:16:30 +00:00
dougt%netscape.com 74acd9dab2 removing protocol/http/res from build. 2000-03-22 02:44:36 +00:00
dougt%netscape.com cf5409ef86 removing res from http build path on windows. 2000-03-22 02:42:50 +00:00
valeski%netscape.com 70ad952ce3 r=jst. 30067. OSCPU User agent attrib is now exposed. 2000-03-21 22:38:40 +00:00
valeski%netscape.com 036606f442 18007 partial. removing extraneous assertion and removing OnStartRequest callback firing. We don't want to fire OnStartRequests() if there was an error. 2000-03-21 22:01:52 +00:00
law%netscape.com 5c627f4422 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
rickg%netscape.com c236c5f02d removed call to deprecated string method 2000-03-21 04:32:44 +00:00
norris%netscape.com d29a2d385d Added aggregate principal support. r=norris. (This is mstoltz's checkin) 2000-03-21 04:17:37 +00:00
norris%netscape.com 6756e81012 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 fdabfad37a Make reuseCount to be PRUint32 2000-03-21 01:43:41 +00:00
ruslan%netscape.com ec1a23a420 Never recycle the socket transport if the server responded with Connection: close 2000-03-21 01:36:18 +00:00
ruslan%netscape.com 5d36675eca Add reuseCount attribute on nsSocketTransport. Misc code cleanup. 2000-03-21 01:29:49 +00:00
ruslan%netscape.com 9ab26ce2fc Cleaning up keep-alive/proxy loop and eliminating redundant code. 2000-03-19 10:17:00 +00:00
ruslan%netscape.com bd04a49ecd 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 1acc7383fb Do proper QI to get the transport within the keep-alive loop 2000-03-19 03:18:32 +00:00
ruslan%netscape.com ef67fa9d61 Fix incorrect check in isAlive 2000-03-19 03:17:58 +00:00
ruslan%netscape.com c9de8cce36 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 8f20bbe175 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 3cda654338 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
gagan%netscape.com 677c58f65d Argh... checkin aborted while I was editing nsHTTPChannel.cpp. Fixed bug 25868. nsAuth now has an Init method so that things will work ok after a logout (new auths will be created). Other misc. code cleanup. Also changed QI implementations to standard macros. 2000-03-18 04:54:56 +00:00
gagan%netscape.com 268db75e9e Fixed bug 25868. nsAuth now has an Init method so that things will work ok after a logout (new auths will be created). Other misc. code cleanup. Also changed QI implementations to standard macros. 2000-03-18 04:51:00 +00:00
bruce%cybersight.com f66d225e65 Fix for memory leak. r=gordon bug #28902 2000-03-18 04:10:27 +00:00
dougt%netscape.com 612badb3a9 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
jst%netscape.com b768001187 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
mscott%netscape.com 4f62ddce86 Bug #31581 --> nsMultiMixedConv::BuildURI was calling nsString.Append with a PRInt32. Unfortunately,
the compiler was implicitly converting this integer into a PRunichar. this caused us to
get the wrong strings for each part.

I simply forced us to use the correct version of append that takes a PRInt32. This fixes the
problems we've been having using bugzilla.

r=none due to the trivial nature of the fix, the severity of the problem and the fact
that I couldn't find an appropriate reviewer.
2000-03-17 06:52:56 +00:00
ruslan%netscape.com afc0ebdea9 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
gagan%netscape.com 8277d298ea Save a redirect (added a trailing slash to the credits URL) 2000-03-17 02:41:11 +00:00
sfraser%netscape.com b3e82c05d2 Build new files for repeating timers. bug 904. r=pinkerton 2000-03-16 23:03:12 +00:00
gagan%netscape.com a60f2d90e3 Fix a mem leak. r=bruce. 2000-03-16 04:15:38 +00:00
valeski%netscape.com 518661ae56 fixing base64 encoding usage bug 2000-03-15 23:20:38 +00:00
valeski%netscape.com a1b246bf48 29551. we now ignore 'ls: total' coming back from an FTP server 2000-03-15 23:19:58 +00:00
valeski%netscape.com 35c98cf148 29236 - we now treat files w/ 'ehtml' extentsion as html 2000-03-15 23:18:10 +00:00
dougt%netscape.com 2e2414f258 removing unused files. look at /extensions/psm-glue 2000-03-15 07:51:55 +00:00
dougt%netscape.com 5c79648012 removing netwerk/security. It is not longer here. Look at the code in
/extensions/psm-glue.

r=pavlov.
2000-03-15 07:50:01 +00:00
dougt%netscape.com cb50527954 adding checks before delete(). 2000-03-15 07:47:33 +00:00
mscott%netscape.com 03602089ce Bug #30840 --> i broke scantxt for (c), (r) and +/- cases before beta1
r=alecf
2000-03-15 01:43:55 +00:00
ruslan%netscape.com ece7d499c3 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
pavlov%netscape.com 6d84052d98 don't build psm stuff here anymore on unix 2000-03-14 06:09:41 +00:00
ruslan%netscape.com a8b4b88617 Mark EOF when connection gets closed as well. Fixes www.microsoft.com with
keepalive on.
2000-03-14 05:02:16 +00:00
dougt%netscape.com be86032076 removing security from makefile. Look at mozilla/extensions/psm-glue 2000-03-14 04:55:51 +00:00
gagan%netscape.com 66d4c1aa54 Updating the test case for last changes as well... 2000-03-14 04:03:46 +00:00
ruslan%netscape.com 74764af9f2 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
warren%netscape.com cd08c2c306 Added nsHTTPChunkConv.cpp for Ruslan. 2000-03-14 03:34:37 +00:00
gagan%netscape.com 107b05a7b3 Fix for 30385. We were leaking channel due to the no longer needed "proxy channel" by the cache transport (mem cache) Also removed nsIHttpEventSink.h since its now an IDL. Also fixed 31667, 31222, 31657 (the assertion failures for thread safety) 2000-03-14 03:24:56 +00:00
ruslan%netscape.com 1ef6ae3972 Fix multithreadness assert in the file channel, r=warren 2000-03-14 03:18:26 +00:00
sfraser%netscape.com fb4bf3c5f0 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
brade%netscape.com 63d846ddd6 move NavSecurityOverlay.css into skin (from content) 2000-03-13 15:55:19 +00:00
warren%netscape.com 85c43e25e2 Checking result of Available. 2000-03-12 22:38:41 +00:00
rickg%netscape.com efeff569f4 removed calls to deprecated string methods 2000-03-12 11:18:18 +00:00
rickg%netscape.com c617e3f2e9 removed calls to deprecated nsString methods 2000-03-12 11:06:57 +00:00
rickg%netscape.com 61c6d0ae1e removed calls to deprecated string methods 2000-03-12 10:59:00 +00:00
rickg%netscape.com 4791ab3e8f removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
sspitzer%netscape.com 1ddd026c3c ignore generated executable 2000-03-12 08:19:00 +00:00
sspitzer%netscape.com 06d3724e20 add nsAsyncStreamListener to the bloaty logs. 2000-03-12 08:06:14 +00:00
sspitzer%netscape.com f195d6e51c 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
pavlov%netscape.com 3e2ed18783 #ifdef DEBUG_dougt annoying printf 2000-03-11 22:44:27 +00:00
pavlov%netscape.com 5a572b6de4 add to include directory 2000-03-11 05:49:49 +00:00
pavlov%netscape.com 63d5af23a6 add directory to include path 2000-03-11 05:49:01 +00:00
pavlov%netscape.com 0ad28b74b3 added files: mozilla/netwerk/protocol/http/src/nsHTTPSHandler.cpp 2000-03-11 05:39:48 +00:00
pavlov%netscape.com 8ebfb7822a remove the include of domstubs.idl and just forward declare the interfaces to avoid the need for domstubs.idl to be exported before this directory can be built. 2000-03-11 05:33:33 +00:00
pavlov%netscape.com d13f9b8e9d adding crypto stuff to the tip 2000-03-11 04:33:39 +00:00
pavlov%netscape.com 33ce2d4e90 changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
valeski%netscape.com b0d4cf4f8a r=dveditz. a=jevering. 31001. we're now using backwards compat OS strings in the UA 2000-03-09 22:29:00 +00:00
valeski%netscape.com 3af65e3e8d r=warren. a=jar. 30634, 30635. something caused event timing changes which aggrivated some FTP bugs. FTP no longer pumps it's own event loop, no longer implements AsyncOpen, and has changed the synchronization between the channel object and the FTP thread. The current changes aggrivate a bug in the socket transport which manifests itself as the throbber not always stopping when a download completes. 2000-03-09 09:46:56 +00:00
waterson%netscape.com 171aa51206 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
sspitzer%netscape.com 0021081f3f better fix for #30646. r=mscott, a=jar. 2000-03-08 04:21:46 +00:00
gagan%netscape.com ccb28b9e9d Removed some dead #if 0 code. 2000-03-08 02:31:25 +00:00
gagan%netscape.com 770f24379d Added #include for nsIHTTPEventSink as well... Should fix the solaris bustage. 2000-03-08 01:11:06 +00:00
gagan%netscape.com 0838bccbab New event sink changes for the test case. 2000-03-08 00:35:24 +00:00
gagan%netscape.com 9f93f64a9b Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages.
Fixed bug 24329-- proxy auths. We were not using the new call to setOverrideRequestSpec.
Part fix for bug 27048, HTTP now uses nsIHTTPEventSink and uses nsIPrompt for authentication.
r=valeski,a=jar
2000-03-08 00:31:49 +00:00
gagan%netscape.com 97a5b286e2 Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages. r=valeski,a=jar 2000-03-08 00:27:33 +00:00
gagan%netscape.com 64ba4532fb Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages. 2000-03-08 00:24:53 +00:00
gagan%netscape.com 0c30f1e316 added files: mozilla/netwerk/protocol/http/public/nsIHTTPEventSink.idl 2000-03-08 00:22:08 +00:00
sspitzer%netscape.com 6f314b717b fix for bug #30646. crash on certain news messages. r=mscott, a=jar. 2000-03-07 20:49:48 +00:00
valeski%netscape.com 790d095d33 r=warren. a=jar. we're now using the threadsafe macros for sync stream listeners 2000-03-07 00:37:36 +00:00
sford3%swbell.net 1b9417ed94 Implementing about:credits, r=valeski a=valeski 2000-03-07 00:07:39 +00:00
sford3%swbell.net 0f3527d1d8 added files: mozilla/netwerk/protocol/about/src/nsAboutCredits.cpp 2000-03-07 00:07:03 +00:00
sford3%swbell.net b1ef34e447 initial code for about:credits, not part of build yet 2000-03-06 15:09:49 +00:00
warren%netscape.com 73e9590553 Making nsFileStream and nsBufferedStream be threadsafe. 2000-03-06 00:51:44 +00:00
warren%netscape.com a65a0febad 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 7e37f4f478 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 3eab6cb30b 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 e4c5bd9881 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 23196adb8a 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
gagan%netscape.com 6eb4f2319e First checkin. Not in the build yet. Moving the HTTP event sink from .h to .idl. 2000-03-04 00:40:35 +00:00
valeski%netscape.com 15ba96ab79 25775. a=jar, r=rpotts. We now handled the incorrect 'multipart/mixed' type comming from an HTTP reponse for backwards compat. 2000-03-03 22:44:32 +00:00
mscott%netscape.com afd6b9ccc1 Bug #30281 --> fix for the regression that's keeping the tree closed. unescape was failing on short strings....argggh.
a=granrose
2000-03-03 20:38:59 +00:00
mscott%netscape.com ad4e9f7a14 Bug #26915, #21203, #22960, #29773 --> improve performance of mozTXTToHTMLConv
r=waterson
a=phil,waterson
2000-03-03 06:49:23 +00:00
gagan%netscape.com 49c6cb0d54 Fix for bug 29477 on behalf of norris. r=gagan. 2000-03-02 21:45:51 +00:00
valeski%netscape.com 5020fc86a7 updating a test harness 2000-03-02 20:48:40 +00:00
valeski%netscape.com afa68ec5e0 24033. r=vidur. the multi-mixed-replace converter wasn't clearing it's layover buffer. this was causing headers to bleed into content and double content generation 2000-03-02 20:42:27 +00:00
bruce%cybersight.com 68ece40583 Fix small, localized leak of HTTP atoms. Well tested on MacOS and under Purify with no ill effects. r=gagan 2000-03-02 13:45:28 +00:00
rpotts%netscape.com 57b889fd14 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 640ccf6fa3 11701 Product does not run if slash in folder path a = jar r = warren 2000-03-02 01:05:54 +00:00
valeski%netscape.com bfdba9cb1e 29164. r=shaver. The user agent setup no longer uses a string bundle. UA string formatting changes that use prefs for values. 2000-02-29 20:39:18 +00:00
mkaply%us.ibm.com 41e8a753c1 # 25555
r= warren@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 15:40:42 +00:00
warren%netscape.com 54b2b84073 Backing out mac change for dns shutdown because now that we shutdown we crash in OT! 2000-02-29 08:51:18 +00:00
warren%netscape.com c629a26564 Moving nsCOMPtr.h header to be safe. 2000-02-29 08:45:17 +00:00
warren%netscape.com d4f04fc6c9 One last fix for dns timing stuff. We weren't releasing the dns thread which caused a circular reference between the service and the thread. Now we get the summary for the timing stats too. a=jevering 2000-02-29 08:44:27 +00:00
ftang%netscape.com 972ae0f088 fix bug 14155 . make sure the NS_NewURI handle escaped URI. r=warren a=bobj 2000-02-29 07:04:17 +00:00
warren%netscape.com 8ad8cfcdf1 Rest of fix for dns timing for dotted-quad case. r=gordon,a=jevering 2000-02-29 06:19:32 +00:00
rpotts%netscape.com 7a70cff118 Fix unix build bustage... 2000-02-29 05:05:08 +00:00
rpotts%netscape.com 09dd4f54c9 bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels... nsCacheEntryChannel.cpp 2000-02-29 04:45:14 +00:00
rpotts%netscape.com 7d517154cb bug #29044. Made EOF on sockets detected as soon as possible... 2000-02-29 04:44:51 +00:00
rpotts%netscape.com 09305d8892 bug #24711 (r=gagan). Changed cache channels to behave like transports rather than protocol channels... 2000-02-29 04:44:37 +00:00
valeski%netscape.com 31266080ae r=rpotts. a=jar (checkin on red approval = leaf). built, run and pre-checkin tested on all three platforms. 28042. The FTP thread is now threadsafe, and I've reduced the amount of proxy object usage. 2000-02-29 03:29:08 +00:00
warren%netscape.com de388c813f Bug 29387. Fix ABR problem resulting from recent PDT+ change. code=andreas,r=warren,a=jevering 2000-02-29 01:26:34 +00:00
tbogard%aol.net c4734766bd Changed nsIAppShellService and nsIWindowMediator to talk in terms of nsIXULWindow instead of nsIWebShellWindow. Also removed the function nsIAppShellService::RunModalDialog since windows should be created using the nsIDOMWindow::OpenDialog. r=danm a=jevering 2000-02-29 00:20:55 +00:00
warren%netscape.com 91649df800 Dns timing for dotted-quad case. r=gordon,a=jevering 2000-02-28 21:42:34 +00:00
gordon%netscape.com dfec01ce64 Fix for PDT+ bug 25321 "Crash on start w/o internet connection" on Mac. These changes allow the Mac to work in offline mode and browse file: URLs even when OTOpenInternetServices() fails. r=valeski, a=jevering. 2000-02-28 21:18:48 +00:00
gordon%netscape.com 18450d90bc Fix for PDT+ bug 27496 "DNS Service is not threadsafe on Windows". Added locks around WSAAsyncGetHostByName to protect against the possibility of the call completing before it returns. The lookup object could get deleted before the results were assigned to it. r=valeski, a=jar. 2000-02-27 23:06:00 +00:00
davidm%netscape.com 8fcd2d03da 22244 Can not load local file on the mac r warren/sfraser a - jar 2000-02-27 16:19:59 +00:00
valeski%netscape.com 23c554138d r-rpotts, 29293. FTP was choking on servers that didn't support the SIZE command 2000-02-26 15:45:50 +00:00
valeski%netscape.com 5cce048ec8 r=rpotts. The usage of the stream converter service has changed from it's original intent. we can now call FindConverter() without having previously registered a converter, removing the assert that was yelling at us 2000-02-26 06:14:25 +00:00
mscott%netscape.com b9474fea69 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 f29abcb66f 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 438737d4ab 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 18dbca24fd Fixed mac and solaris build bustage. r=waterson 2000-02-25 07:14:28 +00:00
warren%netscape.com 9f40298fee Bug 10736 - URL parsing / MakeAbsolute performance. code=putterman,r=warren,andreas,a=jar 2000-02-25 06:17:57 +00:00
bryner%uiuc.edu bbfe27364b Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
ruslan%netscape.com aa7f5d02e5 Fix a few bugs in http chunk encoding converter. This version represents
actually half-way decently working chunk converter. Works fine with NES4.1
at least. Haven't tried IIS5 yet. Not part of the build yet.
2000-02-25 00:55:30 +00:00
gagan%netscape.com 3378bb8dc3 Made the crash go away only in release builds... hopefully this will help us track the real problem. a=jevering. 2000-02-24 05:36:52 +00:00
warren%netscape.com 80b72ad1de Added ability to get dns timing info. Set DNS_TIMING env var, and get dns-timing.txt file. For bug 28012 and others. r=gordon,a=jevering 2000-02-24 04:17:43 +00:00
bienvenu%netscape.com ef5a079d93 fix build bustage for gagan 2000-02-24 02:44:44 +00:00
gagan%netscape.com 6d63b45eb5 FTP's change for checking the proxy setting. r=valeski 2000-02-24 02:10:32 +00:00
gagan%netscape.com 9e24bdcb8a Removed the check for proxy types here with the latest change in protocolproxyservice. r-valeski 2000-02-24 02:09:46 +00:00
gagan%netscape.com 253f4fed8a Completing the last change. r=valeski. 2000-02-24 02:08:01 +00:00
gagan%netscape.com 8ac00f0a27 Removing the linux orange... and possibly windows assertions. 2000-02-24 01:56:12 +00:00
rpotts%netscape.com d072fa8f77 bug #23777 (r=valeski). Reworked the parsing of the HTTP server version to avoid a floating-point rounding error which caused the server version to be incorrect... 2000-02-23 23:57:20 +00:00
valeski%netscape.com c5dbdcfd80 28782. a=jar. r=alecf. nsHTTPHandler now has an extra product token for the User Agent string. we now use the PRUnichar = operator for string stuff, and retrieve vendor info from a string bundle. 2000-02-23 22:50:45 +00:00
norris%netscape.com 3d5f67908e Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
gagan%netscape.com d605467cb7 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
valeski%netscape.com cb3fb89b75 r=andreas. a=jevering. fixing leaky sieve. Another example of where a comptr saves the day. 2000-02-23 20:19:46 +00:00
andreas.otte%primus-online.de 01cdd03961 preparation for fixing bug 11701, removing not needed / from ftp dir listings r=valeski@netscape.com, a=leaf@mozilla.org 2000-02-23 20:05:30 +00:00
bryner%uiuc.edu f545736e0a Changing this to use the TEXT_PLAIN define instead of the string
"text/plain".  r=shaver, a=waterson.
2000-02-23 06:53:46 +00:00
rpotts%netscape.com b8532048c9 Added nsStreamListenerEvent to the leak/bloat logging... 2000-02-23 05:22:14 +00:00
rpotts%netscape.com f13cb1d05f bug #21556. Gave nsHTTPChannel, nsHTTPResponseListener, nsHTTPRequest and nsHTTPEncodeStream thread-safe implementations of AddRef() and Release() since those methods are called on multiple threads... 2000-02-23 04:38:42 +00:00
valeski%netscape.com bcced1dd94 r=rhp, a-leaf. Fixing a crasher before it hits us 2000-02-22 22:44:38 +00:00
ruslan%netscape.com ac7caeec28 Add initial implementation of http/1.1 chunk-encoding converters. Not
included into the build for the time being.
2000-02-22 01:46:23 +00:00
rpotts%netscape.com 6623dd19d6 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 4d1163902e Fix a FMM error. r,a=waterson 2000-02-21 05:22:43 +00:00
dveditz%netscape.com 74d0f231ed Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;
2000-02-20 03:12:59 +00:00
rpotts%netscape.com 46dbbfbf2b Partial fix for bug #24711 (r=valeski). If a channel which had been deferred because no socket transports were available resumed and found a valid cache entry it would stall (never finish). A notable example of this was http://www.abcnews.com 2000-02-19 00:58:22 +00:00
valeski%netscape.com e843a56516 removing an un-necessary comment 2000-02-18 23:38:13 +00:00
ftang%netscape.com c239f1081a 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 f1e468f1e9 Fixed Mac warning which was masking a potential Mac-only bug... 2000-02-18 21:39:26 +00:00
rpotts%netscape.com 71876eb353 bug #28336 (r=mscott). Mozilla hangs on shutdown (windows only) waiting for the DNS thread to terminate. 2000-02-18 06:27:42 +00:00
cls%seawood.org 55ac039b66 More tweaks needed to get BeOS to compile for M14. For now, we use the Unix local file implementation. a,r=leaf 2000-02-17 20:24:24 +00:00
gordon%netscape.com 884497b688 Fix for bug #23709 "[top100][talkback]Crash in nsSocketTransport::OnFound on home.netscape.com cnn.com". WSAAsyncGetHostByName doesn't return unique IDs on Win95 with winsock2, so the code has been changed to rely on a range of Windows event message IDs instead. 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:34 +00:00
gordon%netscape.com cf65d7c0ba 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