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

932 Коммитов

Автор 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
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 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
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
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
kipp%netscape.com 8fedfe4c3c nuked 1999-09-30 21:38:19 +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 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
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
valeski%netscape.com 42c78be306 added more logging. fix attempt at 14209. 1999-09-18 00:37:21 +00:00
warren%netscape.com 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
valeski%netscape.com cf50888d59 minor logging adjustment 1999-09-15 21:56:34 +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
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
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 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
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 696e28cdec Removed the obsolete non-NECKO leftovers. 1999-09-09 00:59:41 +00:00
valeski%netscape.com f7e8b6cd05 changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
valeski%netscape.com 8d8b9baa71 fixing an ftp crasher 1999-09-02 03:30:04 +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
rickg%netscape.com 2783bc0081 removed a warning 1999-09-01 00:58:45 +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 0b30c81c11 change nsString2 to nsCString 1999-08-29 16:42:27 +00:00
warren%netscape.com b1c540e4a4 Ported to the new nsPipe2 implementation. 1999-08-27 10:33:37 +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
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45: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
warren%netscape.com 895a69acc1 Replaced nsPipe2.h with nsIPipe.idl 1999-08-24 08:46:32 +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
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
sspitzer%netscape.com d59e01480f fix warning 1999-08-19 06:27:24 +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
warren%netscape.com 529c0b2b71 Removed hack to export to netwerk/dist (used before landing necko). 1999-08-03 00:38:25 +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
warren%netscape.com 57392932f9 Fixed to not put stuff in netwerk/dist anymore. 1999-07-30 06:10:53 +00:00
warren%netscape.com c7b57f1e08 Fixed mismatched delete problem (purify). 1999-07-28 04:05:10 +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
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
mcafee%netscape.com 2d83f3faab More error checking for nsFTPChannel::Init() 1999-07-17 03:02:22 +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
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 9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
valeski%netscape.com 90bc8ef305 corrected string parsing argument order 1999-07-06 14:26:29 +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
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
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
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
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
warren%netscape.com 89f98a47db Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy 1999-06-22 00:19:58 +00:00
warren%netscape.com b5c184f197 Fixed indentation. (Don't use tabs!) 1999-06-19 22:24:44 +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
gagan%netscape.com f21af13f8c Removed the temporary Open call on nsIChannel. Inspite of the misnomer, the AsyncRead is the one to use. 1999-06-16 00:49:01 +00:00
valeski%netscape.com e406123a20 added thread locking functionality back into ftp 1999-06-15 20:49:56 +00:00
warren%netscape.com f44c21a640 Removed file transport, now consolidated with file channel. Various buffer(stream) cleanup. 1999-06-15 05:18:40 +00:00
gagan%netscape.com 15a7f1be6d Added nsIChannel::Open temporarily to get the test working. There is a problem with the nsIBuffer search routine (see news://npm.netlib) which causes an assertion since refcnt gets reset after a Read following a Search on nsIBuffer. 1999-06-15 04:30:34 +00:00
warren%netscape.com f33dad4b97 Added dns to the build. Factored Cancel/Suspend/Resume into nsIRequest. 1999-06-12 02:53:21 +00:00
warren%netscape.com 53b800668b Made Create constructor and used GenericFactory. 1999-06-12 01:41:16 +00:00
warren%netscape.com 2c894653f9 Hack to make necko co-exist with seamonkey so headers don't collide. 1999-06-12 01:41:08 +00:00
andreas.otte%primus-online.de 19b6475c9e conversion to wstring / PRUnichar
some cosmetics to various Makefiles
1999-06-11 15:50:14 +00:00
warren%netscape.com 7c8cb8eb81 Added range offsets to open stream methods. 1999-06-11 01:37:43 +00:00
valeski%netscape.com a0ff95a722 gave ftp it's own xpt module 1999-06-09 19:37:17 +00:00
warren%netscape.com b113f2332f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
andreas.otte%primus-online.de a2b5c4f6f4 some cleanup after IDLisation 1999-06-08 09:44:04 +00:00
warren%netscape.com c0797ee094 New IDL interfaces. 1999-06-07 21:33:30 +00:00
andreas.otte%primus-online.de f7497e5e99 First Checked In 1999-05-28 09:11:38 +00:00
andreas.otte%primus-online.de 4dfeed2745 Making libftp.so a component 1999-05-28 08:23:48 +00:00
valeski%netscape.com 297ce5b121 removed #include "nsXPComCIID.h" as it is no longer pertinent 1999-05-26 20:51:19 +00:00
gagan%netscape.com d1b56d8639 Changes inherited from nsIProtocolHandler. Also changed default port to 21. 1999-05-25 21:31:46 +00:00
warren%netscape.com f6a80b4dec Moving changes from XPCOM20_BRANCH forward. 1999-05-24 09:01:47 +00:00
gagan%netscape.com c16c43cc07 Made the baseURL a default to null. 1999-05-22 00:21:08 +00:00
valeski%netscape.com b374da3bb8 nsFtpConnectionThread now implements (not yet properly) nsICancelable. 1999-05-18 21:01:49 +00:00
valeski%netscape.com 9056ed610b added the correct EventQueueCID 1999-05-18 20:56:25 +00:00
valeski%netscape.com c90cbc7243 shifted ftp error codes into their proper range 1999-05-09 19:25:59 +00:00
valeski%netscape.com 1b339a8876 changed over to nsIEventQueue interface, from straight PL_EventQueue. Also took a whack at getting socketTRansport::OpenOutputSTream to work (hasn't been tested) 1999-05-05 22:41:44 +00:00
valeski%netscape.com ea972dd17f removed prcmon from #include list 1999-05-04 18:52:38 +00:00
hshaw%netscape.com 37991de521 fix signature for nsGetFactory() 1999-05-04 00:21:42 +00:00
warren%netscape.com 234d6bcc23 Renamed nsTypicalUrl to nsStandardUrl. 1999-05-01 02:08:18 +00:00
valeski%netscape.com 19ca513966 nsIUrl.h - switched back to single inheritance of nsISupports (removed nsITypicalUrl)
nsUrl.h - switched back to multiple inheritance including nsITypicalUrl
nsFtpConnectionThread.cpp - various initializations.
nsFtpConnectionThread.h - various initialization api changes
nsFtpProtocolConnection.cpp - Switched back to ProtoConn implementing the nsISTreamListener interface + some initialization changes.
nsFtpProtocolConnection.h - inherits nsIStreamListener.
everyone else was just init changes.
1999-04-30 15:28:33 +00:00
valeski%netscape.com 5dbc86db6e added ftpCore.h to unix build 1999-04-28 23:15:14 +00:00
valeski%netscape.com a20faae96d initialized the ref cnt, again :( 1999-04-28 23:12:30 +00:00
valeski%netscape.com 82400c9c0e put ftp error codes into their own file (probably shouldn't export the file to the world..). 1999-04-28 22:45:57 +00:00
valeski%netscape.com 7d83c0ee79 added ref count init macro to handler constructor. hooked up the newUrl method to set the out nsIUrl param. 1999-04-28 20:01:02 +00:00
valeski%netscape.com 5d149c884c Added error handling. 1999-04-27 19:55:09 +00:00
valeski%netscape.com b6fa4a666a added more states. file stat, dir listing and file download is now enabled (not tested). 1999-04-26 23:13:14 +00:00
warren%netscape.com 9426263323 Started hooking up socket transport synchronous streams. Added unix makefiles. 1999-04-25 19:25:24 +00:00
valeski%netscape.com bbba7a4529 changed TRUE -> PR_TRUE. and changed use of nsIUrl->GetPort() (linux caught a compile problem msvc wasn't catching) 1999-04-23 22:07:46 +00:00
valeski%netscape.com a02a3ebdf6 #included netCore.h so more descriptive error msgs can be used. also removed FTP_S_PORT use. 1999-04-23 21:58:42 +00:00
valeski%netscape.com f6136787f0 nsFtpStreamListenerEvent.h - explicit #include "nsString.h" (fix build prob on linux)
nsFtpConnectionThread.*    - added the passive data connection mode (PASV) state
1999-04-23 20:01:03 +00:00
valeski%netscape.com a8b060e36e nsFtpConnectionThread.* added more states. we now handle mkdir and delete (file/dir).
nsFtpFactory.cpp api change.
1999-04-23 17:34:33 +00:00
valeski%netscape.com a555e6f8f9 nsFtpConnectionThread.h - made the destructor virtual
nsFtpProtocolConnection.h|.cpp - switched some #includes around in a blind attempt to satisfy linux
1999-04-22 21:32:30 +00:00
warren%netscape.com c6ab8d165e Added sourceOffset parameter to OnDataAvailable. 1999-04-22 21:06:04 +00:00
valeski%netscape.com 6dc1c75626 removed UsePasv from the connection handler. added some more states. 1999-04-22 20:17:46 +00:00
valeski%netscape.com b9e26c63f9 yanked the ftp event sink references as they're not in use right now 1999-04-22 19:29:24 +00:00
valeski%netscape.com c9657c11d3 pushed the stream listener hand off into the constructor so it's know before the thread is run 1999-04-22 19:28:30 +00:00
valeski%netscape.com 55933269eb stripped out the stream listener support (and thus the async state machine) from nsFtpProtocolConnection. nsFtpConnectionThread class now takes on the listener notification.
added nsFtpStreamListenerEvent (cpp|h) which declares the events used to push data back across the thread boundry.
1999-04-22 17:58:42 +00:00
warren%netscape.com f7fa724505 Added source offset parameter to OnDataAvailable (for byte-range requests). 1999-04-22 08:47:06 +00:00
valeski%netscape.com 51fc12f979 adding syncronous ftp implementation 1999-04-22 05:22:24 +00:00
valeski%netscape.com 16ef32c299 changed some nsString usage to nsString2. added the PWD/default directory parsing and discovery code. 1999-04-21 17:48:32 +00:00
valeski%netscape.com d9008580da added more states to .h and implementations to .cpp 1999-04-21 00:04:38 +00:00
valeski%netscape.com 3a0ba2952d added more states in .h . added their logic in .cpp. Initial command channel (logging in) negotiation is almost complete, next comes the data channel. 1999-04-20 19:30:21 +00:00
valeski%netscape.com ed293d6892 Starting fleshing out the state flow. Added a few new states to .h, and their functional counter parts in .c. 1999-04-19 22:18:19 +00:00
warren%netscape.com 0c8a62f098 Fixed up ftp implementation for event queue arguemnt to NewConnection. 1999-04-16 18:18:38 +00:00
valeski%netscape.com 1fb9f3a060 started socket transport code 1999-04-14 23:11:56 +00:00
valeski%netscape.com c9e74567d7 netwerk/makefile.win - adding the ftp dir to the build
netwerk/ftp/* - adding the ftp module
1999-04-14 19:55:41 +00:00