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

676 Коммитов

Автор SHA1 Сообщение Дата
gagan%netscape.com f1203c259d Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
warren%netscape.com c3c7245ed5 Added about:bloat 1999-10-12 09:35:22 +00:00
warren%netscape.com cfb796e4d7 added files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp 1999-10-12 09:32:18 +00:00
warren%netscape.com 3ac26e9e98 removed files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp 1999-10-12 09:26:38 +00:00
warren%netscape.com 407e7aa732 added files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp 1999-10-12 09:25:14 +00:00
warren%netscape.com 2d18e3d9b5 Added about:bloat handler. 1999-10-12 09:20:25 +00:00
waterson%netscape.com 8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
warren%netscape.com 641f3b5442 Lowercased idl method names for scriptability. Cleaned up nsIURL interface. 1999-10-12 01:39:37 +00:00
dveditz%netscape.com ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
warren%netscape.com 2c0e5cdc00 Updating xpcom registry usage as per edburns@acm.org and dp's suggestions. 1999-10-06 09:57:50 +00:00
warren%netscape.com 8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
valeski%netscape.com 0d56bd309b r=sdagley, 15654 was deleting a void * which is a no-no on hp. 1999-10-06 02:54:49 +00:00
mscott%netscape.com adddfe7cec Bug #0000 (no bug number necessary). remove old STREAM_CONVERTER_HACK #ifdef code because we no longer need this.
This was the hack we used before we had a stream converter service to load rfc822 data into a webshell and get it
converted to html.
r=warren
1999-10-05 20:54:03 +00:00
valeski%netscape.com 12bba9e092 NOT part of the build. 1999-10-04 23:13:11 +00:00
valeski%netscape.com 7ffe53f79f NOT part of the build. 1999-10-04 23:12:02 +00:00
valeski%netscape.com 3c9e0c4585 adding keyword protocol handler to tree. this code is NOT in the build yet. 1999-10-04 16:34:45 +00:00
beard%netscape.com 9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
gagan%netscape.com caad83220b Fix for 14772. r-rjc/a-self. Removed the pragma no-cache header being sent to proxy requests. 1999-10-02 00:43:10 +00:00
valeski%netscape.com 57515c5355 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 15298 r=gagan, FTP threads are now synched w/ ftp handler shutdown, removed extraneous buffer work, added ftp authentication, and ftp channel content length 1999-10-01 23:32:12 +00:00
pollmann%netscape.com e6dd7cba91 Bug 13997, Reviewed by Gagan. This change is to read the http post stream in 1Kb chunks rather than using the Available (unimplemented). 1999-10-01 02:39:05 +00:00
pollmann%netscape.com fe80026dca Bug 13997, Reviewed by Gagan. This changes are to correctly return the number of bytes read by nsHTTPEncodeStream. 1999-10-01 02:37:31 +00:00
kipp%netscape.com 8fedfe4c3c nuked 1999-09-30 21:38:19 +00:00
kipp%netscape.com d9bd33b359 added files: mozilla/netwerk/protocol/resource/src/nsResourceProtocolModule.cpp, removed files: mozilla/netwerk/protocol/resource/src/nsResourceProtocolFactory.cpp 1999-09-30 21:33:21 +00:00
kipp%netscape.com 8f9681c9f9 added files: mozilla/netwerk/protocol/http/src/nsHTTPHandlerModule.cpp 1999-09-30 21:31:38 +00:00
kipp%netscape.com 51e8918bbf added files: mozilla/netwerk/protocol/ftp/src/nsFtpModule.cpp, removed files: mozilla/netwerk/protocol/ftp/src/nsFtpFactory.cpp 1999-09-30 21:30:13 +00:00
kipp%netscape.com c76720c9ee added files: mozilla/netwerk/protocol/file/src/nsFileProtocolModule.cpp, removed files: mozilla/netwerk/protocol/file/src/nsFileProtocolFactory.cpp 1999-09-30 21:29:03 +00:00
kipp%netscape.com 9d6b42d4a9 added files: mozilla/netwerk/protocol/data/src/nsDataModule.cpp, removed files: mozilla/netwerk/protocol/data/src/nsDataFactory.cpp 1999-09-30 21:27:46 +00:00
kipp%netscape.com 027f81b578 added files: mozilla/netwerk/protocol/about/src/nsAboutProtocolModule.cpp, removed files: mozilla/netwerk/protocol/about/src/nsAboutProtocolFactory.cpp 1999-09-30 21:26:31 +00:00
kipp%netscape.com a8d7d25d5d Converted from components to modules 1999-09-30 21:22:48 +00:00
kipp%netscape.com 8945b95dcc new 1999-09-30 01:53:31 +00:00
gagan%netscape.com 7d8cdd5eb5 Fix for 14536. r/a rjc the great since he surfs a lot... :) 1999-09-29 01:33:14 +00:00
valeski%netscape.com b736d59eec removing dead file: a=leaf 1999-09-27 17:10:37 +00:00
warren%netscape.com 4c7cb0ab7c Fixed bug#14863 Network buffer size too large 1999-09-25 08:54:45 +00:00
gordon%netscape.com f7f8b0a361 Change target directory for xpt file. For bug#13697. Reviewed by Warren, approved by chofmann. 1999-09-24 00:46:00 +00:00
gordon%netscape.com 13382d47fa First Checked In. 1999-09-23 23:25:14 +00:00
gagan%netscape.com 2a26ad2c70 Fixes the crash thats occuring on windows with no proxy setting. 1999-09-21 00:08:09 +00:00
warren%netscape.com 2d231c38d9 cleaned up unused stuff in nsFileProtocolHandler 1999-09-20 20:53:17 +00:00
warren%netscape.com 9a5468a916 freed mCommand in nsFileChannel 1999-09-20 20:53:13 +00:00
gagan%netscape.com 57feefab37 Fix the bad prefs returning a value for non-existent proxy port. Fixes today morning horkage in service. 1999-09-20 18:56:44 +00:00
gagan%netscape.com 9207a13c6e Proxies work now. Place these two lines in your .mozilla/mozProfile/prefs.js and have fun-
user_pref("network.proxy.http", "w3proxy.netscape.com");
user_pref("network.proxy.http_port", 8080);
Some other micro fixes here and there.
1999-09-20 07:51:15 +00:00
mccabe%netscape.com 4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
andreas.otte%primus-online.de a150884e5a NOT ON BUILD: add ignore files 1999-09-18 09:11:27 +00:00
andreas.otte%primus-online.de 094c80303a NOT ON BUILD: Add loadgroup parameter 1999-09-18 09:08:56 +00:00
valeski%netscape.com 42c78be306 added more logging. fix attempt at 14209. 1999-09-18 00:37:21 +00:00
briano%netscape.com a99e9a73ca General cleanup. 1999-09-17 21:06:32 +00:00
valeski%netscape.com 9940aa8e82 NOT IN BUILD - adding boilerplate for jar protocol handler 1999-09-17 16:12:41 +00:00
rpotts%netscape.com e5409b13e3 bug #13477. nsHeaderEntry structs were leaking... 1999-09-17 09:21:50 +00:00
andreas.otte%primus-online.de fb0e5b529c fix for bug 9040 1999-09-16 21:51:54 +00:00
warren%netscape.com ba45516208 Fix for the editor coming up DOA. nsInputStreamChannel wasn't getting the load group propagated to it. 1999-09-16 08:03:02 +00:00
gordon%netscape.com 9ecddd21c9 Remove include of nsDirectoryStreamMumbleSomething.h. 1999-09-16 01:28:16 +00:00
warren%netscape.com 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
gordon%netscape.com d99240d307 Added nsIFileTransportService.idl and nsISocketTransportService.idl to netwerkIDL.mcp. Removed nsDirectoryIndexStream.cpp from file.mcp and added nsFileTransport.cpp, nsFileTransportService.cpp, and nsDirectoryIndexStream.cpp to netwerk.mcp. All part of warren's checkin. 1999-09-16 01:16:17 +00:00
gagan%netscape.com bb3286dcc1 Now throwing a dialog box for basic auth username/password. This is a temporary checkin to allow basic auth work to progress. Eventually this will/must go away as the dialog box will come from the app triggered thru the HTTP event sink. But using this basic auth could be tested now. 1999-09-15 23:38:39 +00:00
valeski%netscape.com cf50888d59 minor logging adjustment 1999-09-15 21:56:34 +00:00
warren%netscape.com 994f05a34e Making nsIThread nsIRunnable and nsIThreadPool idl interfaces. 1999-09-15 21:41:20 +00:00
slamm%netscape.com 93bea7dbd6 Fix build warnings: reorder initializers. 1999-09-15 19:24:20 +00:00
warren%netscape.com 279545985d Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
valeski%netscape.com 8a900bcfe5 FTP now uses the unknown content-type when it can't find one for the file it's transferring 1999-09-15 00:04:32 +00:00
valeski%netscape.com b29015ef0d we now attempt a read even if the buffer's available count is zero. we were calling available before any data was getting in 1999-09-14 21:21:00 +00:00
valeski%netscape.com fea615e364 content types are now forced to lower case: 13609 1999-09-14 19:42:09 +00:00
jdunn%netscape.com c123f33f8a Fix MAC bustage... don't need the static declaration 1999-09-14 02:54:23 +00:00
jdunn%netscape.com d2a6677712 move GetInstance from the header to the CPP since HPUX was throwing an
unresolved symbol.
1999-09-14 02:05:47 +00:00
briano%netscape.com a54c669e40 General cleanup. 1999-09-14 01:35:43 +00:00
sfraser%netscape.com bdcf7c443e Fix the file type of the shared lib 1999-09-14 00:49:58 +00:00
valeski%netscape.com 9e63a60731 fixed buffer mem allocation inconsistencies. we now loop for more data on long dir listings. we also consider any server string with 'windows' in it, to be an NT server. also added deletion of dir listing underlying buffer fir stringstream to the OnDataAvailEvent destructor; kinda ugly, but works 1999-09-13 23:29:12 +00:00
valeski%netscape.com 5488cf13f2 optimized user-agent setting 1999-09-13 18:36:20 +00:00
rpotts%netscape.com 704d411d11 Fixed unix build bustage with forward declared nsCOMPtrs... 1999-09-13 07:40:10 +00:00
rpotts%netscape.com 111c42ebe0 Remove the socket transport from the list of active transports if an error occurs while writing the request out to the server... 1999-09-13 06:59:20 +00:00
cls%seawood.org adf94e4618 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
cls%seawood.org f0889ec840 Reorderd member initializers to remove silly warnings. 1999-09-12 12:02:03 +00:00
warren%netscape.com 506438ded2 More fixes for nsCOMPtr inconsistencies. 1999-09-11 19:43:06 +00:00
warren%netscape.com d3eb73be23 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
jdunn%netscape.com d6e55f9dc4 hp requires a newline at the end 1999-09-10 23:56:20 +00:00
valeski%netscape.com 4840abba0f we now handle a complete single line greeting from an ftp server 1999-09-10 22:09:39 +00:00
valeski%netscape.com ecae4a681a added accept */* to the default http request 1999-09-10 18:32:02 +00:00
valeski%netscape.com 6661597694 updated FTP to use the directory listing stream converter when it encounters a dir listing. also removed it's dependency on time.h 1999-09-10 14:32:06 +00:00
briano%netscape.com 32510b6ff3 General cleanup. 1999-09-10 01:57:11 +00:00
warren%netscape.com 39799a6d16 EOF changes. 1999-09-09 22:18:44 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
briano%netscape.com f8e486e56b General cleanup. 1999-09-09 07:32:15 +00:00
rpotts%netscape.com d78c217f46 bug #11376. I added GetContentLength to nsIChannel so the content length can be gotten from a channel... 1999-09-09 05:07:30 +00:00
briano%netscape.com 2ff5e413e7 Removed the obsolete non-NECKO leftovers. 1999-09-09 01:08:34 +00:00
briano%netscape.com 696e28cdec Removed the obsolete non-NECKO leftovers. 1999-09-09 00:59:41 +00:00
dougt%netscape.com f7d5f139ef bug fix for 13321. 1999-09-08 22:53:13 +00:00
andreas.otte%primus-online.de 056f7d5fcd adding the data protocol to the build 1999-09-08 07:21:22 +00:00
andreas.otte%primus-online.de 3a3660436b forgot this one 1999-09-08 07:18:45 +00:00
andreas.otte%primus-online.de 91f0402f9e add a missing return 1999-09-08 07:16:10 +00:00
andreas.otte%primus-online.de 12ce8bf4c1 add some ignorance 1999-09-08 07:14:49 +00:00
norris%netscape.com 2d8e12375f * Add checks on urls formed from web scripts
* Make nsScriptSecurityManager implement nsXPCSecurityManager
* Fix unix warnings
1999-09-07 02:54:19 +00:00
brendan%mozilla.org 7de384224d Use deadlock detecting nsAutoMonitors, etc., correctly. 1999-09-06 19:57:40 +00:00
shaver%netscape.com 6cecf4c569 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
bruce%cybersight.com d16eeb2d46 Change delete[] of nsEscape() result to nsCRT::free(). 1999-09-04 16:37:24 +00:00
valeski%netscape.com f7e8b6cd05 changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
dougt%netscape.com 028f11d2bf Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
mscott%netscape.com eb22c256d5 Bug #10845 --> mailnews mime stream converter now works with the stream converter service and uses nsIstreamConverter
instead of nsIStreamConverter2.
1999-09-03 22:03:12 +00:00
valeski%netscape.com 036616dcaa adding data protocol to the build 1999-09-03 00:44:28 +00:00
valeski%netscape.com 9bd1d6e8d4 adding data protocol handler to necko 1999-09-03 00:39:55 +00:00
valeski%netscape.com 8d8b9baa71 fixing an ftp crasher 1999-09-02 03:30:04 +00:00
dougt%netscape.com 4b6c318cdc Bug fix for 12702.
Adding notes to remove nsIAtom comparison by string.
1999-09-01 20:06:30 +00:00
jdunn%netscape.com de5a534c65 change static_cast to NSCAP_STATIC_CAST 1999-09-01 19:47:50 +00:00
valeski%netscape.com b314594876 warning fixes + removal of nsString constructor usage w/ internal string byte size specifier 1999-09-01 14:13:51 +00:00
gagan%netscape.com ec8d3b31ef Basic Auth stuff. very basic indeed. 1999-09-01 04:21:12 +00:00
warren%netscape.com bc9c0f4451 Fix case where suspended file transport terminates early. Fixes missing Help menu and toolbar problem. 1999-09-01 01:31:39 +00:00
rickg%netscape.com 2783bc0081 removed a warning 1999-09-01 00:58:45 +00:00
warren%netscape.com efb0c1cd5d Made NS_BASE_STREAM_WOULD_BLOCK a failure code (for JS). Reduced socket transport buffer size. Fixed ABBA deadlock when calling OnEmpty in pipe code (bug#12870). 1999-08-31 21:47:30 +00:00
gagan%netscape.com e3df677e44 added files: mozilla/netwerk/protocol/http/src/nsAuth.cpp, mozilla/netwerk/protocol/http/src/nsBasicAuth.cpp 1999-08-31 10:46:23 +00:00
gagan%netscape.com e611258377 added files: mozilla/netwerk/protocol/http/src/nsAuth.cpp, mozilla/netwerk/protocol/http/src/nsBasicAuth.cpp 1999-08-31 10:46:10 +00:00
gagan%netscape.com 4d9f337895 Basic Auth files. First checkin. 1999-08-31 10:40:12 +00:00
gagan%netscape.com 4aa3207b39 Added a struct to hold auth stuff. Not in the build (at least not for a couple of cycles anyway) 1999-08-31 10:39:38 +00:00
rpotts%netscape.com 89e414a3f4 ug #8443. Added GetCharset to nsIHTTPChannel 1999-08-31 04:46:05 +00:00
norris%netscape.com d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
rickg%netscape.com 4dea02ede3 replaced call to deprecated method in nsString 1999-08-29 17:44:48 +00:00
valeski%netscape.com 40b89c7eea nsSTring2 to nsCString changeover 1999-08-29 16:43:16 +00:00
valeski%netscape.com 0b30c81c11 change nsString2 to nsCString 1999-08-29 16:42:27 +00:00
bruce%cybersight.com ad7abbafe9 Fix build bustage. This has an nsCOMPtr<nsIEventSinkGetter> so it must include nsIEventSinkGetter.h to fully define the type. 1999-08-29 07:04:31 +00:00
rpotts%netscape.com dc14f6f1d9 Moved redirect logic out of the HTTPResponseListener and into the Channel... 1999-08-29 06:02:27 +00:00
dougt%netscape.com 02c9ac8e9a Fix for 12702. cookies work again. 1999-08-28 22:28:08 +00:00
gagan%netscape.com 58d5877fdf Fixed tabs to spaces and misc leaks... 1999-08-27 12:38:06 +00:00
warren%netscape.com b1c540e4a4 Ported to the new nsPipe2 implementation. 1999-08-27 10:33:37 +00:00
warren%netscape.com 2c5f004652 Fixed leak in NewURI. 1999-08-27 10:32:55 +00:00
gagan%netscape.com 013eeb5f2a More mem leak fixes which were showing up originating in nsStdURL. 1999-08-27 09:59:59 +00:00
rjc%netscape.com 9ab582d122 When enumerating a folder's contents, don't resolve aliases, and don't return hidden files/folders. 1999-08-27 03:42:23 +00:00
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
waterson%netscape.com a079c6ff90 Fix compiler warning. 1999-08-26 04:28:14 +00:00
jdunn%netscape.com 7e20f0761f HP requires a newline at the end 1999-08-25 21:21:22 +00:00
dougt%netscape.com 4fa0148c0f fixing build bustage. 1999-08-25 00:19:00 +00:00
dougt%netscape.com 9d805dcf7b Fix for bug 10435. Everything except CopyFrom() and MoveFrom() 1999-08-24 22:30:59 +00:00
waterson%netscape.com 4b3a77da70 Okay, checking back in my fix for the filespec and iterator. 1999-08-24 22:08:55 +00:00
valeski%netscape.com 8e17ea1cfb Added start request event firing, and we now maintain the initial response code from a multi-line response 1999-08-24 21:53:27 +00:00
valeski%netscape.com 2c118bb38b added pr logging to ftp 1999-08-24 21:46:09 +00:00
waterson%netscape.com 0def552738 Backed out per don's request. 1999-08-24 20:07:12 +00:00
waterson%netscape.com eca4eb2378 Can't keep a ref to iterator's filespec, and then advance the iterator; need to make a copy. 1999-08-24 19:58:07 +00:00
warren%netscape.com 895a69acc1 Replaced nsPipe2.h with nsIPipe.idl 1999-08-24 08:46:32 +00:00
waterson%netscape.com 6282b19257 Add some commentary. 1999-08-24 06:45:06 +00:00
waterson%netscape.com 03ef9a0dd7 Oops. Left off the 'file-type' specifier in the '200' line. 1999-08-24 06:41:35 +00:00
waterson%netscape.com f35714a8a6 Add nsDirectoryIndexStream to the build. 1999-08-24 04:24:35 +00:00
waterson%netscape.com 087fbea164 Add nsDirectoryIndexStream.cpp to the build. 1999-08-24 04:23:55 +00:00
waterson%netscape.com 64ab1c9f4e Initial revision. Not yet in the build. 1999-08-24 01:32:19 +00:00
dougt%netscape.com a7dd519e15 Making nsNetModuleMgr use proxy.
Clean up nsNetModuleMgr API.
Change http to use new API.
1999-08-24 00:34:51 +00:00
mscott%netscape.com cfa2aabcd3 Add a do_QueryInterface to a call in AsyncRead. This fixes an assertion I keep getting whenever I bring up the browser. 1999-08-24 00:29:24 +00:00
mccabe%netscape.com a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
hshaw%netscape.com 62064636df allow inheritance 1999-08-22 17:28:36 +00:00
mccabe%netscape.com 17cdc659d1 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
gagan%netscape.com 0c214adc91 Code style consistency cleanup. 1999-08-21 00:22:18 +00:00
sspitzer%netscape.com d59e01480f fix warning 1999-08-19 06:27:24 +00:00
leaf%mozilla.org 0dae772019 Finishing backout of dougt 1999-08-19 02:58:12 +00:00
dougt%netscape.com 0b7cc4c86e Updating to use new NetMod Notification. 1999-08-18 09:33:27 +00:00
warren%netscape.com d944d70a84 Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
briano%netscape.com 955529a7f3 Unix native compilers don't like it when files don't end with a newline. 1999-08-12 01:58:19 +00:00
valeski%netscape.com 0091d03cb8 added pipe2 stuff back in after patrick got the pipe2 stuff linking in w/ mac 1999-08-12 01:01:55 +00:00
valeski%netscape.com a652772b48 removed nsPipe2 api usage 1999-08-11 23:58:35 +00:00
valeski%netscape.com 4c6ccdee2b added files: mozilla/netwerk/protocol/ftp/public/nsIFTPContext.idl 1999-08-11 22:27:12 +00:00
valeski%netscape.com 87e42a03b1 adding next rev of ftp protocol 1999-08-11 22:26:32 +00:00
rpotts%netscape.com a806fec196 Bug #11410. Changed NS_ASSERTION to checkc the *correct* variable. Someday I'll grow a brain and become really dangerous... 1999-08-11 21:15:49 +00:00
warren%netscape.com 9ac2ca82f2 Fixed problem for large files (or small buffers). Added logging. 1999-08-11 08:17:35 +00:00
gagan%netscape.com 4207799f58 Temporarily fixing the assert which I think is ok, but would let rpotts confirm it. 1999-08-11 04:28:32 +00:00
rpotts%netscape.com f2ce78ae81 Release the pointers that were passed into AsyncRead(...) when the operation is compelete. This breaks some circular references that prevented WebShells from being deleted... 1999-08-10 04:02:10 +00:00
rpotts%netscape.com 04a3d364ce Implement the nsIRequest interface for nsHTTPChannel. This allows channels that are cancelled from a LoadGroup to *actually* get removed... 1999-08-09 07:07:08 +00:00
rpotts%netscape.com 449ba12da6 bug #10790. The HTTPChannel is now given to the HTTPResponseListener during construction. Before, it was getting it via a dirty cast in the OnStartRequest notification. Unfortunately, OnStartRequest is only called if the connection is successful. This caused a crash in OnStopRequest if the HTTPChannel was not available :-( 1999-08-06 07:57:44 +00:00
valeski%netscape.com 9ef221c292 fixing mac build bustage. brade verified the changes in her mac build. I switched from com ptrs to regular pointers as the com pointer abuse wasn't appreciated on the mac 1999-08-05 16:17:22 +00:00
rhp%netscape.com 98bb37cae0 added files: mozilla/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp, mozilla/netwerk/protocol/http/src/nsHTTPAtoms.cpp 1999-08-05 13:23:45 +00:00
rhp%netscape.com f02cb85a5f added files: mozilla/netwerk/protocol/http/public/nsIHTTPHeader.idl 1999-08-05 13:16:39 +00:00
rpotts%netscape.com fd0ec4db70 Fix for build bustage on Linux... 1999-08-05 09:07:29 +00:00
rpotts%netscape.com 0d546eaffa bug #10739. Reworking header APIs... I've added 2 new CPP files - nsHTTPAtoms.cpp and nsHTTPHeaderArray.cpp. 1999-08-05 08:27:49 +00:00
rpotts%netscape.com 6e6cdb32c5 bug #10739. Reworking header APIs... I've added a new IDL file - nsIHTTPHeader.idl and remove 3 obsolete header files... 1999-08-05 08:26:57 +00:00
gagan%netscape.com f182cc62db Added a new MANIFEST file for nsHTTP stuff. 1999-08-04 16:12:30 +00:00
gagan%netscape.com 46143f3127 POSTing works now. 1999-08-04 15:07:26 +00:00
warren%netscape.com 8d70ef168e Returned error when file not found for OpenInputStream. 1999-08-03 22:00:17 +00:00
dougt%netscape.com 3c1d894f1c removing hard coded "http" string and using GetScheme() instead.
cleaning up a memory leak
1999-08-03 02:15:30 +00:00
warren%netscape.com 529c0b2b71 Removed hack to export to netwerk/dist (used before landing necko). 1999-08-03 00:38:25 +00:00
valeski%netscape.com 1cdf612052 pulled file extension search code and started using new mime mapping method which does it for us 1999-08-01 16:44:29 +00:00
warren%netscape.com 7451a9a44d Took out more f*** nsCOMPtrs 1999-07-31 07:51:35 +00:00
warren%netscape.com 07b963204e Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group. 1999-07-31 06:53:12 +00:00
beard%netscape.com 8a020feafa removed special handling of /usr/local/bin/netscape in favor of better solution in resource: URL handler. 1999-07-31 01:04:23 +00:00
rpotts%netscape.com 558cdd62be bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect. 1999-07-30 07:13:05 +00:00
rpotts%netscape.com 21e7d3da37 bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect. 1999-07-30 06:39:24 +00:00
warren%netscape.com 57392932f9 Fixed to not put stuff in netwerk/dist anymore. 1999-07-30 06:10:53 +00:00
gagan%netscape.com 7404fbfb83 Fixes the spaces problem also on the Mac! 1999-07-30 01:17:29 +00:00
gagan%netscape.com c6472453b8 Fixed the spaces problem. File path is now unescaped before being handed over to file spec. 1999-07-30 00:55:35 +00:00
sdagley%netscape.com 55649b036c Temp hack for the Mac to address error opening files that aren't properly un-escaped (%20 still in the path instead of spaces for example). We still fail to open the file but now there's an error message to go along with the failure. Note that this will require Macsbug to be installed or a Mac hitting this error will crash. Since we were already telling people that they needed Macsbug installed to run the developmental builds I don't see a problem with this. 1999-07-30 00:37:58 +00:00
mscott%netscape.com d563520210 fix build by including config.mak 1999-07-29 03:10:23 +00:00
mscott%netscape.com 17edea3140 fix build breakage...include config.mak 1999-07-29 02:49:02 +00:00
rpotts%netscape.com 8c60c16be7 Set the max number of open transports to 8. 1999-07-28 09:26:55 +00:00
rpotts%netscape.com 315de829f9 Obsolete file... 1999-07-28 09:25:51 +00:00
rpotts%netscape.com bf7d1235bc Support for a Max number of open transports. 1999-07-28 09:25:31 +00:00
warren%netscape.com c7b57f1e08 Fixed mismatched delete problem (purify). 1999-07-28 04:05:10 +00:00
warren%netscape.com cfc523f742 Added assertion for bug I was hitting (spinning). 1999-07-27 08:47:43 +00:00
warren%netscape.com 17c0cb8533 Added missing error check. 1999-07-27 08:47:13 +00:00
gordon%netscape.com 22715d631f Find proper resource directory for Mac, rather than /usr/local/netscape/bin. 1999-07-27 01:11:03 +00:00
beard%netscape.com a0521b8805 Makes resource URLs work, by special-casing "/usr/local/netscape/bin" on the Mac. This should probably be moved elsewhere, but works for now. 1999-07-25 18:39:41 +00:00
valeski%netscape.com 748a1853fe necko - we now set the user agent by default 1999-07-25 13:54:47 +00:00
warren%netscape.com 26a8529775 Removed about:blank joke. 1999-07-23 20:11:02 +00:00
mscott%netscape.com 26a3b9cd3b necko only:
Added the "hack" which can be turned off by undefining STREAM_CONVERTER_HACK. Basically, if we are reading in an rfc822
file we insert a stream converter between the file channel and the consumer of the file channel. the file channel
then talks to the converter which talks to the end consumer.

Made the file channel honor the number of bytes read parameter which gets passed in on AsyncRead. We now cancel the read
after we've read in the desired # of bytes.

fixed two file parsing bugs: one in Init and one in GetContenttype
1999-07-23 06:16:37 +00:00
gordon%netscape.com d8313c8a56 Added nsHTTPEncodeStream.cpp. 1999-07-23 01:03:15 +00:00
gordon%netscape.com dd4ca602e8 Added nsIHTTPProtocolHandler.idl. 1999-07-23 00:56:23 +00:00
gagan%netscape.com b44058b222 Changes for the standard URL parsing. Added SetRelativePath. Cleaned up the deletions (all thru nsCRT now) Added functionality for Query and Ref portions of the Path. Added DirFile function to nsIURL to allow just Directory and the Filename. Misc. cleanups as well. 1999-07-22 21:14:51 +00:00
tbogard%aol.net fc1c23671b Fixing Necko build bustage. 1999-07-22 03:33:49 +00:00
tbogard%aol.net 8f76874619 Looks like I missed a header for the nsCStringKey -> nsStringKey change. 1999-07-22 02:47:39 +00:00
gagan%netscape.com 14c1cb2c49 Replaced resource:// with resource:/ to be more compliant with our parsing rules. 1999-07-21 11:48:56 +00:00
warren%netscape.com ab34582f5b Added encode flags. 1999-07-21 07:05:12 +00:00
warren%netscape.com 568cf0dedf Working on NS_NewPostDataStream -- doesn't work yet though. 1999-07-21 05:53:25 +00:00
mscott%netscape.com 824bad82e8 we were always returning text/html as the content type for any page using the http channel!!!! this was preventing us from
properly loading rdf files from the web (particularly the tinderbox page for the flash panel). Only use the default
dummy type if we weren't able to extract a legitimate content type from the header.
1999-07-20 22:44:24 +00:00
valeski%netscape.com 3373348387 using more appropriate notification progids 1999-07-20 20:44:02 +00:00
mscott%netscape.com ff5d0893fc Necko only!!! Fix build breakage for clobber builds by removing reference to nsIHTTPHandler.h
which is no longer being exported.
1999-07-20 18:46:34 +00:00
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
warren%netscape.com ffe7345c94 Started adding encode stream for necko posting. 1999-07-20 08:45:41 +00:00
warren%netscape.com 5cf0a4cadd Added BeOS fix. 1999-07-19 18:42:44 +00:00
rickg%netscape.com 23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
mcafee%netscape.com 552ee1b1fa Removing unnecessary includes of xp_core.h and xp_str.h to help BeOS compile. Patch provided by warren. 1999-07-17 06:50:57 +00:00
mcafee%netscape.com 2d83f3faab More error checking for nsFTPChannel::Init() 1999-07-17 03:02:22 +00:00
mscott%netscape.com e5bf603535 bulletproofing some code. it's possible for the loadgroup to be null. 1999-07-17 02:06:47 +00:00
mscott%netscape.com 8d979a472e Add support for honoring the offset parameter on AsynchRead by seeking to the offset position in the file before
reading.
1999-07-16 23:29:12 +00:00
valeski%netscape.com 4ee45defd5 mime map api change 1999-07-16 22:00:11 +00:00
warren%netscape.com 84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
rpotts%netscape.com 888168a292 Very simple implementation of 301/302 HTTP redirects... 1999-07-16 09:54:20 +00:00
gagan%netscape.com b778e933c4 Changed status from nsresult to PRUint32. 1999-07-16 00:40:06 +00:00
gagan%netscape.com 7da5059cdb Changed const char* to char* for GetStatus calls. 1999-07-16 00:32:50 +00:00
gagan%netscape.com 3abf7c6edb Fixed some broken status headers. Added Host: header by default. This was otherwise breaking (as in unsuccessful HTTP) for some sites that use virtual hosts and depend upon the Host: header. 1999-07-15 22:57:04 +00:00
rpotts%netscape.com 500486a5d0 Added the query string (if any) to the GET request... NECKO only. 1999-07-13 20:42:36 +00:00
rpotts%netscape.com 649255cf93 Added nsIBufferObserver::OnWrite(...) nsFileChannel.h nsFileChannel.cpp 1999-07-12 06:21:41 +00:00
warren%netscape.com 699e29f427 Fixed http loading in viewer. Wrong channel was being passes to doc loader's stream listener by http. Also added ifdef to easily remove Fill change. 1999-07-11 02:43:37 +00:00
warren%netscape.com e9f97d9c22 Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +00:00
warren%netscape.com ea58a47f3c Changed file transport worker count to 1 for ease of debugging. Revert later. 1999-07-10 11:26:53 +00:00
warren%netscape.com b632ed0c4f Fixed some file channel problems. Works better now. Upped buffer size to avoid buffer full problems. 1999-07-10 11:26:51 +00:00
andreas.otte%primus-online.de 0954d17559 NECKO Only: fixes segfault with uninitialized channel A: chofmann R: valeski 1999-07-10 07:58:11 +00:00
mscott%netscape.com 8ecb5aa054 Not part of the regular build yet! Necko change only. Fix my linux build. You can't compare a nsCOMPtr directly to a raw ptr. You need to call .Get() to retrieve the raw ptr and then you can compare for equality 1999-07-08 19:05:48 +00:00
mscott%netscape.com eac53e102e (Not part of the normal mozilla build yet) Necko change only. Make destructor virtual. 1999-07-08 19:04:53 +00:00
waterson%netscape.com 64d488e196 Fix VC5.0 build bustage (Necko build ONLY). 1999-07-07 20:55:57 +00:00
warren%netscape.com 9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
gordon%netscape.com 147e0974f0 Update for changes to Windows makefiles. 1999-07-07 00:59:20 +00:00
valeski%netscape.com 7ca7bb1676 default to text/html content type if we don't know what it is 1999-07-06 23:44:15 +00:00
gordon%netscape.com 81deb2d7d6 Removed nsHTTPRequestObserver.cpp from build, because it is obsolete. 1999-07-06 20:15:03 +00:00
gordon%netscape.com 4ca37f60b5 File Removed. 1999-07-06 19:26:57 +00:00
valeski%netscape.com 90bc8ef305 corrected string parsing argument order 1999-07-06 14:26:29 +00:00
andreas.otte%primus-online.de 69469e8d7b implemented MakeAbsolute 1999-07-04 15:50:56 +00:00
andreas.otte%primus-online.de 9004effea0 NECKO only: adding some ignorance 1999-07-03 08:32:38 +00:00
warren%netscape.com 6f5d4684a3 Fixed GetContentType method to work. 1999-07-03 05:56:24 +00:00
warren%netscape.com 049749ca7d Fixed GetContentType method to work. 1999-07-03 05:48:45 +00:00
warren%netscape.com 5f19b87347 Added missing uuid. 1999-07-03 04:53:14 +00:00
warren%netscape.com 7284413878 Implemented about:blank. 1999-07-03 04:05:14 +00:00
waterson%netscape.com 246d9f8ee8 Ensure all control paths return a value. 1999-07-03 03:54:28 +00:00
valeski%netscape.com 9b19b8baa3 whoops! 1999-07-03 02:21:01 +00:00
valeski%netscape.com c59b3c8f0b added mime type mapping to file 1999-07-03 00:59:51 +00:00
valeski%netscape.com d7ff6d053e added mime type mapping service to http 1999-07-03 00:48:21 +00:00
gordon%netscape.com 149f718e80 First Checked In. 1999-07-02 21:12:57 +00:00
dveditz%netscape.com 0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
mcafee%netscape.com 4b0cfacbd6 Solaris needs newline at EOF. 1999-07-02 05:37:21 +00:00
mcafee%netscape.com b48b91fe1c Fixing Solaris/CC bustage. 1999-07-02 05:36:07 +00:00
warren%netscape.com b72f8da9e7 Added newline at eof. 1999-07-02 04:59:27 +00:00
warren%netscape.com f1cd3a43d3 Removed semicolon. 1999-07-02 04:58:27 +00:00
mscott%netscape.com 8e30eda729 Fix necko build brekage...onstart/stopbiding --> onStart/stop request. 1999-07-01 23:01:32 +00:00
gordon%netscape.com 1842e1c67e First Checked In. 1999-07-01 19:50:15 +00:00
warren%netscape.com bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
gordon%netscape.com 26a9374e9c Changed access paths. 1999-07-01 19:09:51 +00:00
gordon%netscape.com a31a6af6bd First Checked In. 1999-07-01 19:07:32 +00:00
warren%netscape.com cf763ddb3f Started about: protocol. 1999-07-01 07:52:08 +00:00
valeski%netscape.com fe56395bae change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00
valeski%netscape.com 578e858da5 changed our nsISupports::GetIID() calls over to nsCOMTypeInfo<foo>::GetIID(). 1999-06-30 20:00:19 +00:00
mscott%netscape.com 72580a4db8 Not part of tinderbox and release builds! Fix type of include file nsComPtr.h --> nsCOMPtr.h so necko can build
again on Linux builds. Thanks to Jim Nance for pointing this out.
1999-06-30 18:42:51 +00:00
rpotts%netscape.com 1e61b3ac94 tweaked the GetContentType(...) hack to first check the Content-type header before returning text/html... 1999-06-30 06:00:02 +00:00
valeski%netscape.com 94f842b81e very temporary gross necko hack to force an text/html content type in the file and http protocols 1999-06-29 23:28:15 +00:00
rpotts%netscape.com d7461c4b7f Terminate the consumer request if an error occurs while writing the request to the server... 1999-06-29 20:10:47 +00:00
rpotts%netscape.com 903423a651 mapped NS_BASE_STREAM to NS_OK for the OnStopBinding(...) notification... 1999-06-29 08:48:41 +00:00
rpotts%netscape.com 190ef76896 Applied patches provided by Tim Rowley - tor@boojum.cs.brown.edu. To fix build problems with the SUNWspro compilers. Thanks Tim!! 1999-06-29 06:58:06 +00:00
valeski%netscape.com bec54efcc1 nsIChannel api change. you no longer have to supply an nsIEventQueue when calling an AsyncRead|Write() method. 1999-06-29 01:52:30 +00:00
mscott%netscape.com 5d01523ea0 nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:37:10 +00:00
bruce%cybersight.com cbeef0eae2 Fixes for builds in an objdir. Use $(topsrcdir) and not $(DEPTH) for calculating path to rules.mk 1999-06-27 05:47:04 +00:00
mcafee%netscape.com 6f7e7ea213 Adding BeOS case. 1999-06-26 06:46:20 +00:00
gordon%netscape.com 68b0d3bb26 First Checked In. 1999-06-26 01:14:51 +00:00
rpotts%netscape.com f0ccdc91c0 Added code to propagate the nsISupports context passed into AsyncRead(...) by the consumer back out in the calls to OnStartBinding/OnDataAvailable/OnStopBinding... 1999-06-25 07:51:17 +00:00
mcafee%netscape.com 5e732d9a66 typo, fixing linux bustage. 1999-06-25 05:16:37 +00:00
warren%netscape.com a1f7bf6f4e Fixed makefiles for necko module, but netwerk directory. 1999-06-25 03:00:32 +00:00
warren%netscape.com 054ac73b6c Changed our library names from netwerk to necko. 1999-06-24 23:13:46 +00:00
warren%netscape.com 3fc52f0e95 Added nsILoadGroup. Changed load attribute strategy to flags. 1999-06-24 22:58:42 +00:00
valeski%netscape.com efa7a153ba not on main pull - pulled extraneous reference to an nsIHTTPNotify 1999-06-24 21:35:21 +00:00
rpotts%netscape.com 654bb4089c Fixed some reference counting problems with nsHTTPChannel::GetTransport(...) 1999-06-24 11:26:38 +00:00
rpotts%netscape.com 323c65c8b7 Fixed nsHTTPChannel::GetEventSink(...) to addref the event sink being returned. This is consistant with XPCom guidelines.. 1999-06-24 11:00:46 +00:00
rpotts%netscape.com 9dca85f93d Fixed nsHTTPChannel::GetURI(...) to addref the URI being returned. This is consistant with XPCom guidelines.. 1999-06-24 10:52:41 +00:00
rpotts%netscape.com ebf0309305 Added NSPR logging... Reworked the building of the request to *only* use nsStrings. 1999-06-24 10:05:01 +00:00
rpotts%netscape.com a39e1f12ff Added initial support for PR_LOG... 1999-06-24 08:56:57 +00:00
gordon%netscape.com 8a3f1735a0 First Checked In. 1999-06-24 01:14:30 +00:00
valeski%netscape.com 6cef7df918 not in SeaMonkey pull. added toLowerCase() on the header passed into the GetHeader() method so we're comparing like case strings. also made the ExamineREsponse call syncronous until the proxy object problems are worked out. 1999-06-24 01:12:16 +00:00
rpotts%netscape.com a4d83afdb2 Added the call to FireOnHeadersAvailable(...) which was lost when I reworked the header parsing... 1999-06-23 23:56:41 +00:00
rpotts%netscape.com 104a580e01 Reference counting fixes to plug some leaks... 1999-06-23 23:51:16 +00:00
rpotts%netscape.com 12c8c31d6e Temp removed the code which caches socket transport instances. This will be hooked up again once connection keep-alive is supported... 1999-06-23 07:50:30 +00:00
rpotts%netscape.com 7a70a758f7 Reworked Server-Status and Response-Header parsing... 1999-06-23 07:41:22 +00:00
warren%netscape.com 89f98a47db Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy 1999-06-22 00:19:58 +00:00
rpotts%netscape.com e774288f38 The new status line parsing code is now enabled... 1999-06-21 21:21:22 +00:00
rpotts%netscape.com 4de371d508 First pass at parsing the server Response in a more robust way... This is a WIP (not tested yet) 1999-06-21 08:21:28 +00:00
rpotts%netscape.com af6c7d7ee9 Cleaned up the destructor to correctly release the input stream... 1999-06-21 08:19:26 +00:00
andreas.otte%primus-online.de 9b156af152 include some header files to get rid of some warnings 1999-06-20 19:53:39 +00:00
warren%netscape.com b5c184f197 Fixed indentation. (Don't use tabs!) 1999-06-19 22:24:44 +00:00
gagan%netscape.com bad26efa50 Fixed header parsing in HTTP. This should work ok now. 1999-06-19 04:02:20 +00:00
valeski%netscape.com e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
andreas.otte%primus-online.de a6a5bc0774 adding hack to change PUBLIC variable
This has no effect until some other changes to SeaMonkey
1999-06-17 19:07:58 +00:00
andreas.otte%primus-online.de dfc5264ab8 some more ignorance 1999-06-17 19:00:56 +00:00
andreas.otte%primus-online.de 62803631b8 renaming library from fileprotocol to resourceprotocol
adding hack to change PUBLIC variable
1999-06-17 18:20:13 +00:00
warren%netscape.com dc528f8358 Fixed refcount problem. 1999-06-17 10:11:35 +00:00
warren%netscape.com c2dfabdd2f Added resource: protocol. 1999-06-17 09:24:31 +00:00