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

942 Коммитов

Автор SHA1 Сообщение Дата
ruslan%netscape.com 971ef623ef 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
warren%netscape.com cf36281f4b Added assertions to prove that cancel was being used in a thread-safe way. Bug 31091. 2000-04-04 08:49:49 +00:00
warren%netscape.com f8d4872910 Making nsJARDownloadObserver have thread-safe addref/release. 2000-04-04 08:34:37 +00:00
warren%netscape.com 79efcf5705 Fixed uninitialized variable. 2000-04-04 07:11:30 +00:00
warren%netscape.com df6317d313 Fix to make download observer not crash. 2000-04-04 05:56:11 +00:00
bruce%cybersight.com a14d58faf3 Re-order constructor stuff to remove warnings. 2000-04-02 00:59:38 +00:00
scc%netscape.com b8bb3c0cc0 making string conversions explicit 2000-04-01 23:29:51 +00:00
scc%netscape.com 9addbaf311 making string conversions explicit; fixing some |nsCOMPtr| usages 2000-04-01 23:25:15 +00:00
scc%netscape.com e71d187597 making string conversions explicit 2000-04-01 22:52:50 +00:00
scc%netscape.com 3293b762ec making string conversions explicit 2000-04-01 22:45:09 +00:00
cls%seawood.org 8a00e920f0 Set SHORT_LIBNAME in cases that library name will exceed 8 chars for OS/2. Bug #34106 a=leaf 2000-04-01 10:18:48 +00:00
ruslan%netscape.com 6e7528da3d Fix a small memory leak in OnStopRequest introduced by earlier checkins 2000-04-01 08:13:48 +00:00
ruslan%netscape.com aa6ae97628 Fix potential crasher when we hit max-conections and wait (resulted from
quick and dirty mac-bustage fix - it introduced erroneous extra ns_release).
2000-04-01 08:04:06 +00:00
ruslan%netscape.com ef07cc4124 Fix MAC bustage - quick and dirty. 2000-04-01 06:50:56 +00:00
ruslan%netscape.com 51096705b8 Fix linux build bustage 2000-04-01 05:59:27 +00:00
ruslan%netscape.com 6940ba19ea Landing first cut of http pipelining (2487). Don't turn it on yet. Also fix
sockettransport leakage (33929). In case of major bustage - pipelining_reorg_point
is the tag before the check in.
2000-04-01 05:19:33 +00:00
valeski%netscape.com 48f411c2ad preperation for new string api changes. We still have the potential for data loss here if pushbackbuffer contains double bytes, but we're better off then the old memcpy 2000-04-01 00:29:51 +00:00
rickg%netscape.com a78b0f5d7c removed reference to nsString2 2000-03-31 10:13:22 +00:00
rickg%netscape.com b920cf396b removed references to nsString2 2000-03-31 10:05:30 +00:00
ruslan%netscape.com c945914479 Fix solaris build bustage, r=gordon 2000-03-30 23:07:04 +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
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
warren%netscape.com 8d93633132 Removed extra number of open transports test. 2000-03-29 06:44:10 +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 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
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
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 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
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
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
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
norris%netscape.com d29a2d385d Added aggregate principal support. r=norris. (This is mstoltz's checkin) 2000-03-21 04:17:37 +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 9ab26ce2fc Cleaning up keep-alive/proxy loop and eliminating redundant code. 2000-03-19 10:17:00 +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 8f20bbe175 Fix 31882, 31884, 31979 (all keep-alive fixes + patch from Tomi.Leppikangas@oulu.fi) 2000-03-18 18:39:41 +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
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
gagan%netscape.com 8277d298ea Save a redirect (added a trailing slash to the credits URL) 2000-03-17 02:41:11 +00:00
valeski%netscape.com 518661ae56 fixing base64 encoding usage bug 2000-03-15 23:20:38 +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 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
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
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
pavlov%netscape.com 0ad28b74b3 added files: mozilla/netwerk/protocol/http/src/nsHTTPSHandler.cpp 2000-03-11 05:39:48 +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
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 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
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
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
gagan%netscape.com 49c6cb0d54 Fix for bug 29477 on behalf of norris. r=gagan. 2000-03-02 21:45:51 +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
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
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
rpotts%netscape.com 7a70cff118 Fix unix build bustage... 2000-02-29 05:05:08 +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
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
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
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
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
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
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 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
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
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
valeski%netscape.com 23a1b3dd9e fixing a linux warning, re-ordering initialization to match declaration order in .h 2000-02-16 00:05:06 +00:00
valeski%netscape.com 79f67216e2 no longer used as part of FTP proxy changes 2000-02-15 22:25:33 +00:00
brade%netscape.com 1e76e76195 remove nsFTPListener.cpp (r=valeski) 2000-02-15 22:25:14 +00:00
valeski%netscape.com 645c0fc3a4 r=gagan. 15594. FTP proxies implemented. 2000-02-15 22:02:11 +00:00
wtc%netscape.com a4917ee631 Bugzilla bug #27457: prepare the Windows build system for NSPR library
name change.  Define a new makefile variable LIBPLC.
Modified files:
mozilla/config/config.mak
mozilla/dom/src/build/makefile.win
mozilla/extensions/wallet/cookieviewer/makefile.win
mozilla/extensions/wallet/editor/makefile.win
mozilla/extensions/wallet/signonviewer/makefile.win
mozilla/extensions/wallet/walletpreview/makefile.win
mozilla/mailnews/import/eudora/src/makefile.win
mozilla/mailnews/import/oexpress/makefile.win
mozilla/mailnews/import/outlook/src/makefile.win
mozilla/mailnews/import/src/makefile.win
mozilla/mailnews/import/text/src/makefile.win
mozilla/netwerk/protocol/jar/src/makefile.win
mozilla/profile/Acctidl/makefile.win
mozilla/profile/src/makefile.win
mozilla/xpcom/sample/makefile.win
2000-02-15 14:35:15 +00:00
valeski%netscape.com d4dc3c3cbe r=gramps (yea, that's right), 15594 (partial). In order for FTP proxies to work, HTTP needs to implement nsIProxy. FTP uses the HTTP protocol to piggy back as a real proxy handler. 2000-02-14 08:40:05 +00:00
gagan%netscape.com cbffaa0233 Now allowing FTP to specify an ftp URL-- bug 15594 (and in general allow any non-HTTP handler to use HTTP as a proxy) r=valeski 2000-02-14 07:06:32 +00:00
valeski%netscape.com cce73aa691 r=mcafee. FTP now retrieves username and password info directly from the respective URL accessors. This removes any unescaping burden from FTP. These accessors are guaranteed to return unescaped strings 2000-02-14 05:49:55 +00:00
mstoltz%netscape.com e1dbf7cf89 Changed GetOwner() to read owner from underlying nsJAR rather than saving it locally. SetOwner() now does nothing. bug=7270 r=norris 2000-02-14 01:59:09 +00:00
rpotts%netscape.com d7b26de79d Fixed purify [UMR] by initializing mProxyPort 2000-02-12 06:15:19 +00:00
gagan%netscape.com a4679ae202 I am an idiot... 2000-02-11 11:42:38 +00:00
gagan%netscape.com 1e0e0272df removed an unnecessary include. 2000-02-11 01:34:07 +00:00
gagan%netscape.com d9c41bd187 Fixing horkage... God please stop allowing people to use gotos in C++... 2000-02-11 01:26:23 +00:00
valeski%netscape.com ce0c041a7b removing extraneous export on a file that DNE anymore 2000-02-11 00:55:01 +00:00
gagan%netscape.com 5f31baff26 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
mscott%netscape.com 8d5a01c643 bug #26959 and bug #26958 --> if create category service returns an error, don't force an abort
on creating the http protocol handler.
r=valeski.
2000-02-09 08:25:11 +00:00
valeski%netscape.com 6ecf97612e getting the rest of necko to use the mimetypes file. also added protection for UA string setup 2000-02-09 05:04:52 +00:00
dp%netscape.com 4befc49f4c Fixing build.
<valeskiAIM> dp: go baby go
2000-02-08 07:29:47 +00:00
sfraser%netscape.com e2a8786d79 Removed nsHTTPHandlerFactory.cpp for valeski. 2000-02-08 06:25:58 +00:00
valeski%netscape.com 4cd253d9cc r=dougt. 10465. The http protocol handler now has the USer agent api hanging off of it. I also cleaned up the HTTP component so it is a clean service w/ a cid now. 2000-02-08 06:20:54 +00:00
dp%netscape.com 0a4125de13 HTTP protocol shall startup every cid/progid as a service under
NS_HTTP_STARTUP_CATEGORY. This will be used by cookies to come alive. r=gagan
2000-02-08 06:08:27 +00:00
dp%netscape.com 2ba4286aa9 Adding NS_HTTP_STARTUP_CATEGORY r=gagan 2000-02-08 06:05:36 +00:00
scc%netscape.com 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
bryner%uiuc.edu b173011b53 Removing erroneous comments. r=ben. 2000-02-06 22:24:06 +00:00
scc%netscape.com 3c32e98175 First Checked In. 2000-02-05 04:58:53 +00:00
warren%netscape.com 46014f5efb Added stream buffering. Made file transport use it. Bug #19233 r=dougt 2000-02-04 07:31:43 +00:00
sspitzer%netscape.com cce2d39589 ignore generated makefiles 2000-02-04 04:32:00 +00:00
sspitzer%netscape.com 20bb93971d 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 79132da2fc URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
sspitzer%netscape.com 8e9c70e9b5 turn on the finger protocol for windows. r=bryner@uiuc.edu 2000-02-03 01:24:52 +00:00
bryner%uiuc.edu a5cf696ded Turning on finger protocol on unix. r=valeski. 2000-02-03 00:40:22 +00:00
bryner%uiuc.edu b3b74e864a Adding finger protocol. To use it, enter a URL such as
"finger:user@host".  This is not hooked up to the build yet. r=valeski.
2000-02-02 22:48:55 +00:00
mstoltz%netscape.com 3b6e5a54a2 Added call to nsJAR::ParseManifest, needed for signed scripts. bug=7270 r=norris. 2000-02-02 01:30:12 +00:00
valeski%netscape.com 48a5e8c4ff r=none, I spoke w/ dagley about this, the diffs are cleanup, no code path changes. 2000-02-02 01:19:06 +00:00
pp%ludusdesign.com 207f05242d Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
sdagley%netscape.com 703c6caa28 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
mstoltz%netscape.com f680012d00 Fixing hoarkage by adding an include statement. r=norris 2000-02-01 00:35:46 +00:00
valeski%netscape.com 02a596c71f 24717. renaming lib names for keyword protocol so they're == 8 chars. 2000-01-31 23:59:33 +00:00
warren%netscape.com ada87acf3e Fix for downloaded jar files, and for pulling jars out of the cache. r=mstoltz 2000-01-31 23:43:09 +00:00
sfraser%netscape.com 62051dfeb7 Fix the fragment name in this project. r=valeski 2000-01-31 23:30:54 +00:00
sfraser%netscape.com 78a9750a87 First Checked In. 2000-01-31 23:29:56 +00:00
valeski%netscape.com 02f19e060e r=dougt. part of 18007. FTP now notifies the consumer of failures even if the data channel is never used. 2000-01-31 21:07:44 +00:00
mstoltz%netscape.com 5b549d60f4 nsJARChannel now gets its owner from the underlying nsJAR, for the correct security level. bug=7270 r=norris 2000-01-29 00:06:15 +00:00
warren%netscape.com 3ea70b12c7 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
pepper%netscape.com ca347a308e All source files must contain a newline at the end or the lesser nixes won't compile. 2000-01-26 21:57:30 +00:00
valeski%netscape.com 4326a1acf5 r=gordon. 24985. 24837. we now error out if we confront an ftp server that has reached it's connection limit. we also start the throbber (add our selves to the load group) when an FTP transaction begins 2000-01-26 00:36:01 +00:00
norris%netscape.com 7122755727 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan
2000-01-25 04:42:01 +00:00
gagan%netscape.com f5ef6646de Fix a mem leak (spotted by Pav) r=me 2000-01-25 02:29:33 +00:00
mcafee%netscape.com 29e4c97cbb Fixing solaris bustage, include ordering problem? r=dougt 2000-01-25 01:27:28 +00:00
dougt%netscape.com fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +00:00
blizzard%redhat.com 1e32b038c5 change .obj extension to .cpp for unix bustage. r=bienvenu 2000-01-24 16:40:19 +00:00
valeski%netscape.com a206f9d64f r=gagan. 18977, Implemented FTP upload (AsyncWrite) and 22300 fixed broken FTP responses (many servers don't follow spec and fire back newlines without preceeding numeric codes) 2000-01-24 15:55:40 +00:00
brade%netscape.com c0f4875407 add nsAsyncEvent.cpp (r=valeski) 2000-01-24 15:54:33 +00:00
bryner%uiuc.edu 7d6458d41f Fixing linux build bustage. r=pavlov. 2000-01-24 04:45:54 +00:00
warren%netscape.com 89c51a1418 Added code to cancel/suspend/resume jar channels. Bug #24338 2000-01-24 03:54:20 +00:00
gayatrib%netscape.com 0d1f5b6ca5 Added code to check for existence of a jar file in the cache before downloading it. r=warren 2000-01-19 07:20:31 +00:00
gagan%netscape.com 6f77cab332 Fixing build breakage... reordered the #includes. 2000-01-19 06:34:25 +00:00
gagan%netscape.com 34e2e8c2e2 Fix for 22405. Proxy auth is in. I have also created a separate bug for making this persistent 24329. 2000-01-19 05:09:07 +00:00
gordon%netscape.com 53b7ca48cd Fix for bug #20177. Make sure string is set if GetSpec() fails inside http logging code. 2000-01-19 02:27:00 +00:00
gagan%netscape.com 0a2c6127c6 Fix for 13380. We now send Accept-Language: header. 2000-01-19 00:38:51 +00:00
bruce%cybersight.com a0e34ea2f3 Speeling cownts. r=shaver 2000-01-17 21:28:22 +00:00
mscott%netscape.com 9796b78516 set the referring url on the http channel so callers don't have to do it explicitly every time.
r=warren
2000-01-17 19:48:16 +00:00
gagan%netscape.com 3f088de147 Fixed bug 17293, 17244, 20814 -- all because some servers wouldn't understand lowercase HTTP headers. We now send HTTP headers in compatible case as 4.*. r=rpotts 2000-01-16 06:59:43 +00:00
rpotts%netscape.com b410e59d5f 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 920287de74 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com 65f2841dbd Moved CIDs to nsIURLParser.idl to avoid mac bustage. 2000-01-14 11:09:17 +00:00
warren%netscape.com 99b5bd994e Added access path for netwerk/base/src. 2000-01-14 10:15:46 +00:00
warren%netscape.com 1fce0dea36 Added access path. 2000-01-14 10:14:19 +00:00
warren%netscape.com d6a205f1ec Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
valeski%netscape.com 51c6e3dd6a r=gagan. 17647. we digesting content-type comments as legitimate header values. now we're not 2000-01-13 23:22:25 +00:00
valeski%netscape.com 1e922d9c9d keywords protocol no longer determins enalbed state, it's up to the app 2000-01-12 22:53:13 +00:00
valeski%netscape.com 30c8b96046 Allowing the FTP channel to Cancel() even if the underlying connection thread has gone away. 2000-01-12 00:51:17 +00:00
valeski%netscape.com 6ea2e883bf r=rhp. datetime protocol wasn't initializing properly which would cause a datetime url without a host to spin 2000-01-11 22:16:19 +00:00
pp%ludusdesign.com 13efd9e8c6 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
duncan%be.com 6db56b6d39 Fix BeOS build by making changing nsResProtocolHandler.cpp like
Windows and Mac, and fix a couple nsSpecialSystemDirectory bugs.
All the changes are BeOS specific (i.e. wrapped in XP_BEOS or
only used by code wrapped in XP_BEOS).
r=mcafee
2000-01-08 09:09:02 +00:00
rpotts%netscape.com 3e79b2aec1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
valeski%netscape.com e6e1c5391c added files: mozilla/netwerk/protocol/keyword/src/nsKeywordModule.cpp, removed files: mozilla/netwerk/protocol/keyword/src/nsKeywordProtocolFactory.cpp 2000-01-08 00:58:31 +00:00
valeski%netscape.com 70d4639fd6 converting keyword protocol handler over to new module macros. r=dp. 23211 2000-01-08 00:58:05 +00:00
warren%netscape.com 71610449e1 Took out RemoveChannel call (because res channels never get added to group). Fixed binding aborted case. r=rpotts 2000-01-07 02:06:33 +00:00
edburns%acm.org 507ee16e37 I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
valeski%netscape.com 79638f0b47 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 b3c93fef3e Fixed free problem with getenv. Fixed leak for beos case. r=mcafee 2000-01-06 00:21:17 +00:00
warren%netscape.com afc25a2f03 Changed comment. 2000-01-05 10:48:27 +00:00
warren%netscape.com 7b640f2758 Patch from Yasushi Shoji <yashi@yashi.com> (presumably for some unix variant). 2000-01-05 10:48:11 +00:00
warren%netscape.com 2001c08ab7 Added MAXPATHLEN decl 2000-01-05 04:15:45 +00:00
warren%netscape.com 17a3b1781b Added rule so that resource://Resource/ maps to CurrentProcessDirectory. 2000-01-05 03:43:21 +00:00
dougt%netscape.com 03e5b7b575 Converting to use nsIModule macro. r=dp, jud. 2000-01-03 23:32:11 +00:00
dougt%netscape.com 7d93cf4f47 Including nsFileSpec.h directly. prep for nsIFile landing. 2000-01-03 23:31:09 +00:00
dougt%netscape.com 6544967b1b Including nsFileSpec.h directly. This prep work for the nsIFile landing. 2000-01-03 23:28:35 +00:00
dougt%netscape.com f1eb575a0b Including nsCRT.h directly. This prep work for the nsIFile landing. 2000-01-03 23:27:52 +00:00
dougt%netscape.com b53fb6c5f1 Converting to use nsIModule macro. r=dp,jud 2000-01-03 23:27:20 +00:00
dougt%netscape.com 46ac98a9ab Including nsString.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:24:47 +00:00
valeski%netscape.com 65783e57bd 22534. r=gagan. We were leaking a single byte on non uname/pwd inclusive url's that required authentication, and we weren't over-writing the auth string when a auth realm wanted new credentials. 1999-12-29 21:55:18 +00:00
sspitzer%netscape.com 586b2af6f8 fix warning 1999-12-29 00:23:43 +00:00
sspitzer%netscape.com 1ff7f19198 fix warnings. 1999-12-28 19:37:29 +00:00
bryner%uiuc.edu 16316ea7c3 Fix a compiler warning by reordering initializers. r=syd. 1999-12-24 22:11:18 +00:00
valeski%netscape.com a091cc3710 r=gagan, a=don. 21599. we were breaking when we received an incomplete status line. Now we are sure to buffer the line until we receive all of it. we also do this buffering for headers now. 1999-12-22 22:15:55 +00:00