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

890 Коммитов

Автор SHA1 Сообщение Дата
cls%seawood.org 5975077af0 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 e2429cef3e fixing a linux warning, re-ordering initialization to match declaration order in .h 2000-02-16 00:05:06 +00:00
valeski%netscape.com 19107265e4 no longer used as part of FTP proxy changes 2000-02-15 22:25:33 +00:00
brade%netscape.com aa90de6972 remove nsFTPListener.cpp (r=valeski) 2000-02-15 22:25:14 +00:00
valeski%netscape.com c4dda545f3 r=gagan. 15594. FTP proxies implemented. 2000-02-15 22:02:11 +00:00
wtc%netscape.com 9377345e33 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 be539d4664 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 e1232219fd 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 30c25dc728 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 e526225795 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 f374d65746 Fixed purify [UMR] by initializing mProxyPort 2000-02-12 06:15:19 +00:00
gagan%netscape.com d33614c999 I am an idiot... 2000-02-11 11:42:38 +00:00
gagan%netscape.com d30e9b3501 removed an unnecessary include. 2000-02-11 01:34:07 +00:00
gagan%netscape.com eb18765135 Fixing horkage... God please stop allowing people to use gotos in C++... 2000-02-11 01:26:23 +00:00
valeski%netscape.com a6d3ec685f removing extraneous export on a file that DNE anymore 2000-02-11 00:55:01 +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
mscott%netscape.com 231db667cf 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 8dc8022117 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 27d5d590f9 Fixing build.
<valeskiAIM> dp: go baby go
2000-02-08 07:29:47 +00:00
sfraser%netscape.com 538f890b73 Removed nsHTTPHandlerFactory.cpp for valeski. 2000-02-08 06:25:58 +00:00
valeski%netscape.com 6de717d753 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 41aaf9a069 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 166c6d1f48 Adding NS_HTTP_STARTUP_CATEGORY r=gagan 2000-02-08 06:05:36 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
bryner%uiuc.edu 4ab36e52f8 Removing erroneous comments. r=ben. 2000-02-06 22:24:06 +00:00
scc%netscape.com 4e4163f707 First Checked In. 2000-02-05 04:58:53 +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 81ed4fd313 ignore generated makefiles 2000-02-04 04:32:00 +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
sspitzer%netscape.com 6eb953f984 turn on the finger protocol for windows. r=bryner@uiuc.edu 2000-02-03 01:24:52 +00:00
bryner%uiuc.edu f2e4d5cff8 Turning on finger protocol on unix. r=valeski. 2000-02-03 00:40:22 +00:00
bryner%uiuc.edu 349e796f16 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 9f00c29250 Added call to nsJAR::ParseManifest, needed for signed scripts. bug=7270 r=norris. 2000-02-02 01:30:12 +00:00
valeski%netscape.com fb0ec52f63 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 48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
sdagley%netscape.com 813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
mstoltz%netscape.com b450915b91 Fixing hoarkage by adding an include statement. r=norris 2000-02-01 00:35:46 +00:00
valeski%netscape.com dd0dca920d 24717. renaming lib names for keyword protocol so they're == 8 chars. 2000-01-31 23:59:33 +00:00
warren%netscape.com 6a52ad793c 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 7107bd9470 Fix the fragment name in this project. r=valeski 2000-01-31 23:30:54 +00:00
sfraser%netscape.com af05b5af2a First Checked In. 2000-01-31 23:29:56 +00:00
valeski%netscape.com 3cb4368cf8 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 da00e27857 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 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
pepper%netscape.com 1df37326cd 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 ca2cad6ac6 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 8c000f9285 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 a6fa44fcaf Fix a mem leak (spotted by Pav) r=me 2000-01-25 02:29:33 +00:00
mcafee%netscape.com 1d87346332 Fixing solaris bustage, include ordering problem? r=dougt 2000-01-25 01:27:28 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
blizzard%redhat.com a6c2777c15 change .obj extension to .cpp for unix bustage. r=bienvenu 2000-01-24 16:40:19 +00:00
valeski%netscape.com 0efe3a1595 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 217765d904 add nsAsyncEvent.cpp (r=valeski) 2000-01-24 15:54:33 +00:00
bryner%uiuc.edu 2cfcf03a92 Fixing linux build bustage. r=pavlov. 2000-01-24 04:45:54 +00:00
warren%netscape.com f96cff45ad Added code to cancel/suspend/resume jar channels. Bug #24338 2000-01-24 03:54:20 +00:00
gayatrib%netscape.com 534335260b 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 f02c2858ee Fixing build breakage... reordered the #includes. 2000-01-19 06:34:25 +00:00
gagan%netscape.com 6b2f2d91f1 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 3dfff899f2 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 d3535034d0 Fix for 13380. We now send Accept-Language: header. 2000-01-19 00:38:51 +00:00
bruce%cybersight.com 0e1e840e66 Speeling cownts. r=shaver 2000-01-17 21:28:22 +00:00
mscott%netscape.com 621285eca6 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 a905c41b20 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 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 d0f68edd62 Added access path for netwerk/base/src. 2000-01-14 10:15:46 +00:00
warren%netscape.com d8a0af4191 Added access path. 2000-01-14 10:14:19 +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
valeski%netscape.com 3e0cabea46 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 0cb098cd93 keywords protocol no longer determins enalbed state, it's up to the app 2000-01-12 22:53:13 +00:00
valeski%netscape.com 64a59be346 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 e92469cb8e 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 698852a4f4 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 be3945ad99 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 023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
valeski%netscape.com ae6e383f01 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 297e1190d0 converting keyword protocol handler over to new module macros. r=dp. 23211 2000-01-08 00:58:05 +00:00
warren%netscape.com 08bd5d4db0 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 13be6d7ebf 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 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 025342a34a Fixed free problem with getenv. Fixed leak for beos case. r=mcafee 2000-01-06 00:21:17 +00:00
warren%netscape.com c73c8b80e5 Changed comment. 2000-01-05 10:48:27 +00:00
warren%netscape.com f0385dd5e8 Patch from Yasushi Shoji <yashi@yashi.com> (presumably for some unix variant). 2000-01-05 10:48:11 +00:00
warren%netscape.com c5647f335f Added MAXPATHLEN decl 2000-01-05 04:15:45 +00:00
warren%netscape.com 9466469ea2 Added rule so that resource://Resource/ maps to CurrentProcessDirectory. 2000-01-05 03:43:21 +00:00
dougt%netscape.com e57d8fe707 Converting to use nsIModule macro. r=dp, jud. 2000-01-03 23:32:11 +00:00
dougt%netscape.com 2318e4a20c Including nsFileSpec.h directly. prep for nsIFile landing. 2000-01-03 23:31:09 +00:00
dougt%netscape.com 75e9bc8d48 Including nsFileSpec.h directly. This prep work for the nsIFile landing. 2000-01-03 23:28:35 +00:00
dougt%netscape.com 431b7b0e81 Including nsCRT.h directly. This prep work for the nsIFile landing. 2000-01-03 23:27:52 +00:00
dougt%netscape.com b1db728381 Converting to use nsIModule macro. r=dp,jud 2000-01-03 23:27:20 +00:00
dougt%netscape.com f923183929 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 413cbd982c 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 be5b3406df fix warning 1999-12-29 00:23:43 +00:00
sspitzer%netscape.com fbd97e9856 fix warnings. 1999-12-28 19:37:29 +00:00
bryner%uiuc.edu 77d764168e Fix a compiler warning by reordering initializers. r=syd. 1999-12-24 22:11:18 +00:00
valeski%netscape.com 05c79fee6b 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
sspitzer%netscape.com 6d70713607 ignore generated Makefiles 1999-12-22 15:03:27 +00:00
dougt%netscape.com 7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
valeski%netscape.com b0cd9bb9e4 a=sdagley. turning on datetime protocl. 1999-12-21 22:33:01 +00:00
valeski%netscape.com 7516a3f630 a=sdagley, r=dougt. set the min ftp thread count to 1 (from 4). now we only fire up 1 thread initially. Also set the stack size to default machine stack size. 22033 1999-12-21 22:25:37 +00:00
valeski%netscape.com 77298f5df4 a=dagley, r=dougt. 22033. FTP was having problems with multiline, multi read server greetings. 1999-12-21 21:15:03 +00:00
valeski%netscape.com 43833fbc0d NOT IN BUILD. updating datetime protocol to add/remove itself from the load group 1999-12-21 19:40:05 +00:00
valeski%netscape.com 3b79ba312e NOT IN BUILD. Adding date time protocol handler files 1999-12-20 21:48:15 +00:00
fur%geocast.com 0c469bc6e4 Reorder one class member initialization line to fix a warning. 1999-12-18 15:47:20 +00:00
fur%geocast.com 8ee9698da7 Fixes for HTTP 1.1 compliance with caching, a:chofmann
Fix #21569 (Use Etag header for cache validation, when present)
  Fix #21572 (Obey must-revalidate directive, when present)
1999-12-18 15:46:43 +00:00
mscott%netscape.com aabdc49dd6 fix mem leak of the http handler and the http request objects.
Add GetnsAuthEngine to nsIHTTPProtocolHandler, remove nsHTTPHandler::GetInstance, force callers to
go through the service manager. remove the http handler factory code since we just need the http
module
r=warren
1999-12-17 00:44:31 +00:00
rpotts%netscape.com b8fa07f3ff bug #21884 (r=mscott) bug #21459 (r=warren). I'm checking in the changes for 21459 again with an important fix for the image crashes :-) 1999-12-16 07:59:25 +00:00
mscott%netscape.com 94216118f1 Bug #21884 --> backing out Rick's changes to http to fix this regression crasher tonight.
a=chofmann
1999-12-16 06:06:00 +00:00
rpotts%netscape.com 1aafb0dcce bug #21459 (r=warren). Made the consumer OnStopRequest fire before the channel is removed from the loadgroup... 1999-12-15 23:12:48 +00:00
briano%netscape.com d226077369 Added a newline to the end of the file to make it compile on HP-UX. 1999-12-15 22:43:06 +00:00
briano%netscape.com 911b963ce5 Added a newline to the end of the file so HP-UX would be happy again. 1999-12-15 05:00:09 +00:00
valeski%netscape.com 2c8ae74076 21723, a=chofmann, r=rpotts. landing new FTP implementation. It's now much leaner on event processing, and no longer buffers data between the socket transport and consumer. This change went in in order to unblock the xpinstall guys on a UI thread starvation problem 1999-12-15 03:35:15 +00:00
valeski%netscape.com e51a9fb7c2 added files: mozilla/netwerk/protocol/ftp/src/nsFTPListener.cpp 1999-12-15 03:32:56 +00:00
valeski%netscape.com 6bd54014c8 adding files for new FTP impl, not in build yet 1999-12-15 03:30:33 +00:00
valeski%netscape.com a58f6dc3b6 21197. a=jevering, r=rpotts. On a redirect we were firing header notification *after* the rediect which broke sites trying to set and retrieve a cookie using a redirect. Now we fire on headers before processing status code 1999-12-14 23:07:29 +00:00
ducarroz%netscape.com e6c401cb3e Fix for bug 21314. Let PL_Base64Decode do the right job. R=warren 1999-12-13 22:49:12 +00:00
rjc%netscape.com 4ace8bbaaa Fix PDT+ bug # 21236: don't null out mResponseContext, as it needs to be valid for the life of the channel. (Its a nsCOMPtr, so it'll automatically release when it falls out of scope.) 1999-12-11 21:24:50 +00:00
valeski%netscape.com b42d295bb2 r=rhp. 21242 adjusted pipe buffer params for FTP Async file transfers. URI dispatching had aggrivated this bug. Now file viewing via FTP works. 1999-12-09 06:41:05 +00:00
valeski%netscape.com e2f28b9ebe r=rhp. 21195. a=jevering. adjusted pipe buffer params for FTP OpenInputSTream. URI dispatching had aggrivated this bug. Now file downloads via FTP work. 1999-12-09 06:20:50 +00:00
jdunn%netscape.com 0f378c7e1f Include nsJARURI.cpp and nsJARChannel.cpp in the unix build
r= warren, chofmann
1999-12-08 23:47:11 +00:00
fur%netscape.com 14b7a8cb5a Move OnHeadersAvailable() after processing of server's "Not Modified" response,
so that the cached HTTP headers can be substituted for the 304 response headers.
1999-12-08 06:37:28 +00:00
warren%netscape.com 70e183d895 Fixed leak on shutdown. Bug#21118 1999-12-08 05:14:52 +00:00
morse%netscape.com 022b1a3ef9 fix bug 21083, multiple cookies being ignored, r=valeski 1999-12-08 05:07:31 +00:00
fur%netscape.com fc0e0c24cf Fix mac build bustage. Use LL* macros with int64 types 1999-12-08 04:56:15 +00:00
fur%netscape.com e00611be38 Fix usual bustage due to not including header with an nsCOMPtr type 1999-12-08 04:08:48 +00:00
fur%netscape.com e8deaace7a + Fix unix build bustage: Add explicit casts to XPIDLCString rvalues.
+ Fixed warnings
1999-12-08 04:04:26 +00:00
fur%netscape.com bb2347d383 Disable cache by default on Windows 1999-12-08 03:25:44 +00:00
fur%netscape.com 1f6919c4a6 Bug #8305 (Implement cache). Whacked the HTTP protocol handler hard to support caching. 1999-12-08 03:23:14 +00:00
norris%netscape.com 9aea6d6321 The data protocol doesn't seem to be working. The problem appears to be that a nsStdURL is used to hold the data URI.
Unfortunately, using nsStdURL parses the data URI so that a URI like "data:text/html,<html>hi</html>" gets parsed with a
host of "text". When the rest of the data URI processing calls GetSpec, it then gets "//text/html,<html>hi</html>", which
confuses the content type parsing so no data is displayed.

This checkin changes to use a nsSimpleURI instead.
r=valeski
1999-12-07 23:42:58 +00:00
scc%netscape.com db5cd594e2 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
valeski%netscape.com 2cf1b6fae4 r=rickg. replacing a char const w/ an int literal 1999-12-07 08:58:50 +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
valeski%netscape.com 43c04c96a7 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 06:59:25 +00:00
valeski%netscape.com 2988398b46 nsJARProtocol.cpp 1999-12-07 06:58:55 +00:00
rpotts%netscape.com c41e03ef63 bug #20490 (r=valeski). Fixed problem where OnStopRequest was being fired (incorrectly) on 30x and 40x redirects... 1999-12-07 06:35:55 +00:00
warren%netscape.com 5993e3d66a Swapped res: and resource: protocol schemes so that now nsResProtocolHandler is used by default. r=pavlov 1999-12-07 04:04:21 +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
fur%netscape.com 4f385605be Fix build bustage on Linux 1999-12-03 02:59:37 +00:00
warren%netscape.com b6282abafe Fix for downloaded jar files. Now they appear to work, except we aren't checking the cache to see if they already exist. r=gayatrib 1999-12-03 02:22:48 +00:00
fur%netscape.com 4a9b290d72 More infrastructure work in support of bug #8305 (Implement
cache).  Added several nsHTTPResponse methods dealing with
header parsing and manipulation of date-containing header fields.
(None of these methods are yet invoked.)
1999-12-03 01:51:07 +00:00
fur%netscape.com c434d9514d Quash warning 1999-12-03 01:45:22 +00:00
fur%netscape.com 316fe1fcf8 Added missing HTTP header atoms 1999-12-03 01:44:38 +00:00
rpotts%netscape.com ed1cb83b57 bug #13157 (r=valeski). Added support for HTTP/0.9 server responses. This fixes a whole class of bugs where CGI scripts were displaying blank pages because we just ignored the response :-( 1999-12-02 23:09:15 +00:00
valeski%netscape.com 1f8fcf2c95 r=mcafee. 20464. we were crashing when data: urls were accessed. Now we're safe; for the time being that is :) 1999-12-02 22:02:30 +00:00
mscott%netscape.com 91e51cd9f8 oh the horror! We were leaking all channel listeners that ran through the http channel. Fixed the
leak by using a nsCOMPtr.
1999-12-02 09:11:51 +00:00
sfraser%netscape.com 93c0a29f45 Fix the fragment name in both targets to be unique. Again. r=pinkerton. 1999-12-02 04:53:47 +00:00
sfraser%netscape.com ff90394468 Fix the fragment name in both targets to be unique. r=pinkerton. 1999-12-02 04:51:11 +00:00
fur%netscape.com a9a35d34c5 Laying the foundation for the incorporation of caching, by
reorganizing/splitting protocol handler methods, though not yet adding any
new functionality:

    Allow for multiple instances of nsHTTPResponse to be associated
    with the same connection, i.e. so that response headers from the
    cache and response headers from the server can coexist
    simultaneously.  To wit:

        Moved content-length, charset and content-type information
        from nsHTTPChannel into nsHTTPResponse

        Split into separate functions the accumulation of a single line of
        HTTP header data (from the input stream) and the parsing of
        that line.  This permits cached response headers and server
        response headers to be parsed from separate data sources, the
        latter arriving from a nsIBufferInputStream and the former
        retrieved from the cache as a string.

        Moved the newly-created header-parsing methods to
        nsHTTPResponse from nsHTTPResponseListener

    Fixed some bugs in the interaction between AsyncOpen and
    AsyncRead.  It was possible for an OnHeadersAvailable event to be
    triggered *after* the associated OnDataAvailable, rather than the
    other way around.  It was also possible, in a rare case, for
    mOpenObserver->OnStopRequest() to be called without ever having
    called mOpenObserver->OnStartRequest().  I think my changes made
    the logic a bit more foolproof.

    Removed ancient ifdef NSPIPE2
1999-12-02 03:53:28 +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
mscott%netscape.com df05f7c5cb implement retargeting for SetLoadGroup
r=valeski,rpotts
1999-11-30 22:19:53 +00:00
mscott%netscape.com 1ef3b0359f implement retargeting for SetLoadGroup
r=valeski
1999-11-30 22:19:35 +00:00
valeski%netscape.com 643953578f r=rpotts, 17052. FTP now implements nsIProgressEventSink and sits inbetween the transport's notifications and the consumers. 1999-11-30 15:07:32 +00:00
warren%netscape.com da354ddd80 Fixed bug GetContentType/GetContentLength. 1999-11-30 07:36:14 +00:00
warren%netscape.com fc8a2a4eb2 Added include of nsNetUtil.h to pick up NS_NewSyncStreamListener 1999-11-30 05:32:14 +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
valeski%netscape.com 4909924e98 r=waterson. 16914. FTP was authentication anonymously even though username and pwd info were suppplied in the url. now it isn't 1999-11-30 04:39:29 +00:00
valeski%netscape.com 7e72cd5bf7 18434. r=rpotts. HTTP now implements OpenInputStream and proxies event sink callbacks between the caller and the transport. 1999-11-30 04:15:27 +00:00
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
mscott%netscape.com ab7eb32184 modify SetLoadGroup to work with retargeting.
r=rpotts
1999-11-30 00:10:37 +00:00
sspitzer%netscape.com e17346bdb8 ignore generated files 1999-11-29 21:20:30 +00:00
rpotts%netscape.com 193521bc26 bug #18651. Explicitly cancel te transport to make it go away even if it is blocked waiting for the consumer to empty the pipe... 1999-11-24 23:51:09 +00:00
valeski%netscape.com 481695b32a r=mscott, premature stream closure cleanup and minor state change to FTP state machine. 1999-11-24 21:08:04 +00:00
warren%netscape.com f4ae91832a Added friend _class_ for hpukes. 1999-11-24 20:42:04 +00:00
warren%netscape.com a8eff9eb1f Added nsIInterfaceRequestor.h to keep nsCOMPtr happy. 1999-11-24 08:31:06 +00:00
warren%netscape.com 30deace1d8 Added optimized dependency on netwerk util. 1999-11-24 08:28:08 +00:00
warren%netscape.com 6b84e27c34 Added include for nsCOMPtr. 1999-11-24 07:40:54 +00:00
warren%netscape.com 895216338d Somehow added to wrong directory. Moving. 1999-11-24 07:19:12 +00:00
warren%netscape.com ca701bffec First Checked In. 1999-11-24 07:16:03 +00:00
warren%netscape.com 6072675c2d Added res and jar protocols. 1999-11-24 06:29:44 +00:00
warren%netscape.com ac4e9c302a First Checked In. 1999-11-24 05:54:31 +00:00
warren%netscape.com 1b5bf54c3e *** empty log message *** 1999-11-24 05:51:32 +00:00
warren%netscape.com 2d07d1ec0a Added nsIHttpEventSink.h 1999-11-24 05:49:38 +00:00
warren%netscape.com c71b5e670b Fix to use the resource url as the original url if an original wasn't supplied. 1999-11-24 04:32:49 +00:00
valeski%netscape.com 67698d87bd bustage fix. comptr include ordering problem 1999-11-23 23:15:16 +00:00
valeski%netscape.com eed079587d bustage attempt. chasing comptr fun 1999-11-23 23:14:08 +00:00
warren%netscape.com e91b1c3cbe First Checked In. 1999-11-23 23:03:43 +00:00
valeski%netscape.com 74f4362cfb 18434, r=rpotts. HTTP now implements AsyncOpen. AsyncOpen will be used by URI dispatching 1999-11-23 22:23:06 +00:00
valeski%netscape.com 4e939113b6 added files: mozilla/netwerk/protocol/ftp/public/nsPIFTPChannel.idl, removed files: mozilla/netwerk/protocol/ftp/public/nsIFTPChannel.idl 1999-11-23 22:00:54 +00:00
valeski%netscape.com 3fac4106ad 18435,18413. r=warren. Implemented AsyncOpen for FTP, as well as OpenInputStream. FTP no longer implements the stream listener interface 1999-11-23 22:00:18 +00:00
waterson%netscape.com d3cae83201 Fix nsNetModuleMgr and nsNetModRegEntry leaks. r=valeski 1999-11-23 20:47:25 +00:00
warren%netscape.com ad0a3a73fc Initial checkin of the res: protocol -- replacement for resource: that does symbolic roots, and searching. 1999-11-23 12:13:33 +00:00
warren%netscape.com 9493f81938 Added code to aggressively clean up file transport on failure. 1999-11-23 07:01:56 +00:00
rpotts%netscape.com a37eb4c71f bug #19303. HTTPHeader entries were leaking... I checked in a modified version of beards patch. 1999-11-22 07:02:44 +00:00
valeski%netscape.com 3687cfa049 fixing build bustage 1999-11-20 23:23:59 +00:00
valeski%netscape.com 096a415b0e 6144, I'm checking in gagan's code for him as he's gone. r=valeski, r=gagan :). This checkin drops in HTTP authentication caching so you don't get hit w/ multiple auth dialogs when accessing auth requiring sites that have images in their html 1999-11-20 22:11:15 +00:00
sfraser%netscape.com 0ad5eff0a6 Added nsAuthEngine.cpp for valeski 1999-11-20 22:09:56 +00:00
valeski%netscape.com 70b64aebbe not in build. updated auth engine 1999-11-20 21:46:23 +00:00
morse%netscape.com 13667e188c Partial fix for bug 18668, unable to login to aka, r=valeski 1999-11-20 04:13:21 +00:00
gagan%netscape.com cf4d5767a7 New files first checkin. 1999-11-20 01:34:19 +00:00
fur%netscape.com 9eb2b7d985 Change IDL to generate identical C++ headers, but with improved scriptability.
r: rpotts
1999-11-19 15:13:00 +00:00
dougt%netscape.com a14b905a11 Fixes: 19167,16801,17282,17682,17690,18616 Yes, this one line fix closes
all of these bugs and has taken 40 some hours to find.  Good night.
1999-11-19 04:11:16 +00:00
valeski%netscape.com 6077a89639 changed the on header notification to actually request the observers of the correct notification. OnHeaders indicates a response has come back, thus those registered for the RESPONSE should get notified, not those registered for the REQUEST 1999-11-19 00:15:42 +00:00
valeski%netscape.com aaa223115e fixing crasher introduced when new Setter*() were dropped in last night. we now set the channel's url member *before* calling the set routines. 1999-11-18 20:51:05 +00:00
valeski%netscape.com 7a63151a46 typo. we need to be allocating the size of the struct, not the pointer to the struct. 1999-11-18 20:05: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 e9e854fcac Added nsIJARProtocolHandler.idl 1999-11-18 02:54:05 +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
jdunn%netscape.com e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
valeski%netscape.com d4e3f86975 another shot at vc5 bustage 1999-11-13 03:17:54 +00:00
valeski%netscape.com cda947cd7a another shot at 5.0 bustage 1999-11-13 03:07:01 +00:00
valeski%netscape.com 947c2a030a fixing bustage for win32 vc5 1999-11-13 01:56:02 +00:00
valeski%netscape.com b7d25b0205 fixing win32 vc5 bustage 1999-11-13 01:48:17 +00:00
valeski%netscape.com d16733f10b 18725, r=sdagley. FTP is now cancellable.
* added new state to FTP. data channel reading state.

* the FTP channel's SetConnectionQueue now handles a null arg and resets it's eventq if null is passed in.
1999-11-13 00:31:36 +00:00
warren%netscape.com 1c16cc0c44 Added neckoutil_s.lib 1999-11-12 08:58:32 +00:00
warren%netscape.com 61656725bd Added idl files 1999-11-12 08:57:52 +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 1dec9a5ab3 Added 1999-11-12 05:58:46 +00:00
valeski%netscape.com 741d2f7369 FTP no longer sets the port on a URI. If no port is set on a URI, FTP will use the default (21) at connection time. 1999-11-12 01:26:20 +00:00
valeski%netscape.com 6150abfbb5 hooking up keyword prefs so we check for them 1999-11-11 02:18:02 +00:00
valeski%netscape.com 9fed6b2933 18419. *removed nsIFTPContext and associated impl of it. we no longer pass this context between the FTP thread and the channel thread, we use nsISupports proxies to move back and forth.*added SetcontentLength() method to nsIFTPChannel so we can move the content length from the FTP thread to the channel thread. nsFTPChannel impls this meth now.*made a couple FTP channel logging changes for better description*nsCOMPtrized a bit*added nsFTPChannel to load group when avail (this starts/stops the throbber for url bar loaded ftp urls.*the FTP protocl handler (a service) is now an observer of XPCOM shutdown. this allows the handler to join w/ all the threads it has created (that are still running) if we try and shutdown the main thread whill ftp is still running. 1999-11-11 02:14:23 +00:00
valeski%netscape.com 4e3281f9e6 *** empty log message *** 1999-11-11 02:13:44 +00:00
valeski%netscape.com da1276fb98 removed files: mozilla/netwerk/protocol/ftp/public/nsIFTPContext.idl 1999-11-11 02:11:50 +00:00
valeski%netscape.com 7cc35fcae3 18419. 1999-11-11 02:09:07 +00:00
sspitzer%netscape.com 55a14aa16e ignore generated Makefiles 1999-11-11 00:08:20 +00:00
morse%netscape.com 8b606c4d99 fix bug 65552, integrating ftp authentication with single signon, r=valeski 1999-11-10 03:39:33 +00:00
scc%netscape.com 5d8c1c00fe was using private |#defines| (in spite of the warning) from "nsCOMPtr.h" that happened to go away with this checkin. Should have been using |NS_STATIC_CAST| from "nscore.h". r={danm, hyatt} 1999-11-08 11:43:09 +00:00
warren%netscape.com 8fe0bb36a6 Got Gayatri's JAR protocol working. (not in build yet) 1999-11-07 21:55:12 +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
gagan%netscape.com deb5334e6c Removed an extra free that cvs merge put in! 1999-11-03 08:21:37 +00:00
gagan%netscape.com 70a39da830 Argh... speed kills. Removed this conflict that I accidently checked in. 1999-11-03 08:19:54 +00:00
gagan%netscape.com ed922a4f57 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))We also honor the "network.proxy.type" preference to turn the proxy use on and off. 1999-11-03 08:17:59 +00:00
davidm%netscape.com 533c933f45 6552 Browser-generated forms not triggering single-signon switch to use nsINetPrompt so that single sign lives again r morse 1999-11-03 05:24:01 +00:00
warren%netscape.com d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
valeski%netscape.com 9f26a5bfba r=cyeh, forcing PR_LOGGING for ftp in release builds 1999-11-02 23:24:06 +00:00
warren%netscape.com 9aeb8f663b Made nsHTTPEncodeStream seekable (for reposting form data). Bug #17685. r=waterson 1999-11-02 07:43:37 +00:00
valeski%netscape.com f0edbb0a62 11869, r=warren. passing the http spec all the way into http rather than passing a simple uri into the service newChannel(). 1999-11-02 05:05:44 +00:00
valeski%netscape.com b7021722f9 16910, r=mcafee. FTP now uses thread pools. it also provides some status to the webshell. and it no longer uses the server's defualt path. 1999-11-02 04:04:23 +00:00
valeski%netscape.com eab20fe1b3 11869, r=mcafee. adding keyword protocol handler to the build. mac still needs to be hooked up. 1999-11-02 04:01:35 +00:00
valeski%netscape.com 963d87f8da not in build. updating keyword protocol handler to use new api. 1999-11-01 23:33:05 +00:00
rpotts%netscape.com 849b3d2a71 bug #16418 (r=warren,gagan). When redirecting a URL only copy the Ref to the new URL (not the Param and Query). 1999-11-01 06:00:55 +00:00
danm%netscape.com 4078ce0970 insert cast necessary on one of the "other" platforms 1999-10-30 03:13:55 +00:00
valeski%netscape.com 1c925b169b 17521, r = mscott. FTP authentication dialogs we're looping if canceled. I also changed a bunch of string getter routines to take XPIDLCStrings. there was speculation during the reveiw that there might be some casting problems on other platforms. if this is the case either case the XPIDLCString to (const char *) or call me and I'll do it. 1999-10-29 23:00:52 +00:00
gagan%netscape.com a4cb24fb47 Fixed bug 17393. We were firing an OnStopRequest for redirect's response completion. That messes up imagelib which starts to reset/abort streams. r=waterson 1999-10-29 01:55:58 +00:00
rpotts%netscape.com f85134d446 cleanup - removed unnecessary code checking that mRequest != nsnull. Now the mRequest is allocated at channel construction and the channel is deleted if the request allocation fails... 1999-10-28 21:15:56 +00:00
sspitzer%netscape.com f0ee5969fe fix warnings. r=valeski 1999-10-28 20:25:43 +00:00
valeski%netscape.com 4bd531e836 16968, r=gagan. Changed the way HTTP header notification occurs. now the channel does the notification. Also added SetREsponseHeaders() to the nsIHTTPChannel iface which allows outside users to add response headers (such as nsMultiMIMEConv/bugzilla) and have the new headers perculate to observers. also fixed HTTP handler leak, r=dp on that one. 1999-10-28 20:12:59 +00:00
rpotts%netscape.com cba431eac3 bug #16897. Consolidated the firing of OnStopRequest into the nsHTTPChannel. This is also called if a transport fails to be created... 1999-10-27 06:48:53 +00:00
rpotts%netscape.com 4ae67e1366 These are pollmanns changes for bug #8209 and other related POSTing bugs r=rpotts 1999-10-27 06:35:03 +00:00
valeski%netscape.com c747ced3c1 fixing bustage 1999-10-26 22:07:50 +00:00
valeski%netscape.com e6e2c9e39f 17270, r=dougt@netscape.com. These changes move FTP from interface pointers to COMptrs. There is also a variable name change, mUrl -> mURL. Also some extraneous pipe code has been removed. 1999-10-26 20:55:50 +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
rpotts%netscape.com 559cc27b79 Cleanup - changed setter/getter methods to an attribute. 1999-10-26 04:49:56 +00:00
rpotts%netscape.com 573c915774 Added CancelPendingChannel(...) which allows a nsHTTPChannel to remove itself from the list of pending requests if it is cancelled... This was causing a leak :-( 1999-10-26 04:49:23 +00:00
rpotts%netscape.com 5a4bbbd3b8 Cleanup - Moved the PostData stream from the nsHTTPChannel to the nsHTTPRequest... The PostStream is now released once the request has been sent to the server since it is no longer useful. Fixed up Cancel to remove the channel from the list of pending requests if necessary. 1999-10-26 04:48:26 +00:00
rpotts%netscape.com 8603fffaf1 Cleanup - Removed NSPIPE2 ifdefs. Fixed up the nsHTTPResponse constructor which no longer takes a nsIInputStream. 1999-10-26 04:45:03 +00:00
rpotts%netscape.com d86d3a6c06 Cleanup - Removed unused methods and members. Changed char* member to nsCString 1999-10-26 04:43:19 +00:00
gagan%netscape.com 91fa3a6003 Fixed bug 15963. Host: headers were not including port numbers. r=mozbot,a=self. (/msg mozbot do these diffs look ok to you? Should I continue with my checkin? <CR> mozbot: That is interesting. Please continue. ) 1999-10-24 22:20:52 +00:00
warren%netscape.com 8558ad745c Cleaned up nsTraceRefcnt environment variables. r=kipp,beard 1999-10-23 03:16:19 +00:00