Commit Graph

986 Commits

Author SHA1 Message Date
valeski%netscape.com
e8c2fedfd3 updated date formatting code for FTP dir listing. we're now more accurate. also commented out some extraneous logging 1999-09-14 19:45:43 +00:00
valeski%netscape.com
fea615e364 content types are now forced to lower case: 13609 1999-09-14 19:42:09 +00:00
warren%netscape.com
f5b8d2c733 Getting ready to turn on the new file transport. 1999-09-14 04:36:16 +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
354974765f we're now registering sreamconverters in the NSRegisterSelf function; HURRAY!. Also added escaping to FTP's rendition of http-index filenames and dates. date formatting is still hosed though :(. I'm working on it) 1999-09-13 23:26:26 +00:00
warren%netscape.com
1072360e3f Moving this from netwerk/protocol/file/src. 1999-09-13 20:20:21 +00:00
warren%netscape.com
9d0374e06a New modernized file transport. I'm in the process of factoring this out from nsFileChannel. 1999-09-13 20:19:32 +00:00
valeski%netscape.com
5488cf13f2 optimized user-agent setting 1999-09-13 18:36:20 +00:00
valeski%netscape.com
ae6af510a2 beefed up the user agent string component initialization stuff, see bug 10465 for more info 1999-09-13 18:35:27 +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
rpotts%netscape.com
c69272c96e Throw away any pending channels when Cancel is called... 1999-09-12 08:44:53 +00:00
rpotts%netscape.com
b641e81433 oops.. 1999-09-12 06:02:51 +00:00
rpotts%netscape.com
c1578109bd The DNS Service is now used for hostname resolution... 1999-09-12 05:29:27 +00:00
warren%netscape.com
834f4d890e Re-adding these files. 1999-09-11 22:32:20 +00:00
warren%netscape.com
31bc33179f Attempt to fix linux bustage. 1999-09-11 20:45:50 +00:00
warren%netscape.com
506438ded2 More fixes for nsCOMPtr inconsistencies. 1999-09-11 19:43:06 +00:00
warren%netscape.com
df96620f94 Fix for linux breakage. 1999-09-11 19:32:03 +00:00
warren%netscape.com
d3eb73be23 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
mscott%netscape.com
d3aa1711da export nsIRequest.idl so other idl files outside of netwerk can inherit from it. 1999-09-11 05:13:13 +00:00
warren%netscape.com
04332c183c Reduced IO buffer and transfer size. 1999-09-11 00:56:22 +00:00
jdunn%netscape.com
d6e55f9dc4 hp requires a newline at the end 1999-09-10 23:56:20 +00:00
mscott%netscape.com
fe4d9c99f3 export nsIChannel.idl so other idl files outside of netwerk can inherit from it. 1999-09-10 23:23:24 +00:00
hoa.nguyen%intel.com
adf82b7cf1 Initial checking 1999-09-10 23:17:09 +00:00
hoa.nguyen%intel.com
3ab6a57a1d Initial checkin 1999-09-10 23:16:40 +00:00
valeski%netscape.com
96799ab633 added more robust/accurate numeric ip address check 1999-09-10 22:33:09 +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
fc5428a60f we're now escaping the filename in ftp dirlisting's dump of http-index, also fixed a MonthNumber() bug. 1999-09-10 22:08:26 +00:00
valeski%netscape.com
ecae4a681a added accept */* to the default http request 1999-09-10 18:32:02 +00:00
valeski%netscape.com
4513ebaee5 forcing CString and setting capacitynsStdURL.cpp 1999-09-10 18:30:51 +00:00
valeski%netscape.com
d9dc484fc8 linux breakage. 1999-09-10 15:38:35 +00:00
valeski%netscape.com
78f83b1a41 build bustage 1999-09-10 15:27:19 +00:00
brade%netscape.com
d58e203a43 add files for valeski 1999-09-10 15:02:10 +00:00
valeski%netscape.com
c5ca8a0101 fixing mac bustage - mac doesn't have int 64s it has a struct for it instead 1999-09-10 14:53:49 +00:00
valeski%netscape.com
675eca537d adding nsFTPDirListingConv stream converter to the build. we now dump all stream converter factory registration into one file 1999-09-10 14:36:56 +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
valeski%netscape.com
c59bbe1062 added bin,exe extensions 1999-09-10 14:27:16 +00:00
valeski%netscape.com
022431ebf3 using NS_GET_IID macro now 1999-09-10 14:26:47 +00:00
briano%netscape.com
32510b6ff3 General cleanup. 1999-09-10 01:57:11 +00:00
warren%netscape.com
2ea5b49ec9 Fix for blocking output streams (affects mailnews). Basically we were calling ReadSegments with a 0 count, and when it returned 0 we thought it was EOF. 1999-09-10 01:46:49 +00:00
briano%netscape.com
de44b4d417 General cleanup. 1999-09-10 00:59:21 +00:00
vidur%netscape.com
8fae5bb797 nsLoadGroup now uses weak pointers for observers and LoadGroupListenerFactory. 1999-09-09 23:55:19 +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
valeski%netscape.com
5ffbf3effa NOT HOOKED INTO BUILD. adding FTP directory listing stream converter 1999-09-09 19:33:16 +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
c858c8cd9c General cleanup. 1999-09-09 02:02:21 +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
briano%netscape.com
b77bbb9a68 Removed the obsolete non-NECKO leftovers. 1999-09-09 00:41:10 +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
8d0370fffd add protocol/data makefiles 1999-09-08 07:17:24 +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
brendan%mozilla.org
f3bfcd687b Don't abuse nsAutoLock in single-exit nsSocketTransport::Process and PR_Unlock
and relock it in subroutines -- this causes false deadlock-detection positives.
Also comment module callouts with lock held.
1999-09-08 06:17:20 +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
cls%seawood.org
91c70687a3 include <string.h> for when it disappears from nsID.h again. 1999-09-06 23:08:43 +00:00
brendan%mozilla.org
a84076e44e Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +00:00
brendan%mozilla.org
7de384224d Use deadlock detecting nsAutoMonitors, etc., correctly. 1999-09-06 19:57:40 +00:00
shaver%netscape.com
0251fe0ed6 convert to CreateInstanceFromProgID 1999-09-05 06:42:13 +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
bruce%cybersight.com
f67b510aa5 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:53:26 +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
kipp%netscape.com
78bace2449 Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
valeski%netscape.com
7d4ee90d8c stream converter service uses the component mgr now to create stream converter instances, rather than the old use of the service mananger. 1999-09-02 03:39:10 +00:00
valeski%netscape.com
8d8b9baa71 fixing an ftp crasher 1999-09-02 03:30:04 +00:00
waterson%netscape.com
79d165f38c Fix ambiguity that was busting --pedantic. 1999-09-02 02:54:57 +00:00
valeski%netscape.com
02f3298de1 added a context param to the stream converter service 1999-09-02 02:18:28 +00:00
valeski%netscape.com
b177237e32 fixed mem leak 1999-09-01 23:20:22 +00:00
valeski%netscape.com
617b0c2db7 fixing warning 1999-09-01 20:07:50 +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
valeski%netscape.com
dc75493b3e warning fix 1999-09-01 14:11:15 +00:00
warren%netscape.com
daec1b8fe3 Cleaning up dependency on nsIBuffer.h 1999-09-01 04:40:12 +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
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +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
jdunn%netscape.com
02595d2f21 HP requires a newline... 1999-08-30 22:34:15 +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
beard%netscape.com
b772d8ec15 First Checked In. 1999-08-29 20:02:46 +00:00
rickg%netscape.com
4dea02ede3 replaced call to deprecated method in nsString 1999-08-29 17:44:48 +00:00
rickg%netscape.com
5fa59a798b converted an instance to nsCString and replaced deprecated nsString call 1999-08-29 17:42:34 +00:00
valeski%netscape.com
c52959b8f1 nsString2 to nsCString 1999-08-29 16:46:30 +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
valeski%netscape.com
e4721cc30c now we're handlin data sent in non-delimited chunks 1999-08-29 15:53:59 +00:00
valeski%netscape.com
7c0f309bdf added file to export list 1999-08-29 14:36:43 +00:00
valeski%netscape.com
7bf9003be8 added the converters dir to the builds (mac isn't in yet :( 1999-08-29 14:16:32 +00:00
valeski%netscape.com
639287b4ae added GetContentType functionality. Now the channel tries the mime service and uses it's own member when possible. 1999-08-29 14:14:30 +00:00
valeski%netscape.com
f83d51a664 mem leak fix 1999-08-29 14:12:05 +00:00
valeski%netscape.com
e4de57add0 updated final receiver's OnDataAvailable so it now outputs the data it receives. Also added asyncronous conversion test w/ multiple OnDataAvailables 1999-08-29 14:11:41 +00:00
valeski%netscape.com
e543752523 added newline and encapsulating header file ifdef 1999-08-29 14:09:16 +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
jdunn%netscape.com
67091cd2ca HP requires a newline at the end 1999-08-27 21:23:42 +00:00
sfraser%netscape.com
9d55eb4970 Remove errant semicolon 1999-08-27 20:54:22 +00:00
valeski%netscape.com
e1ba01e5de not in main build - added comments and collapsed interface method definitions into related macros 1999-08-27 15:12:40 +00:00
valeski%netscape.com
c0dc78036c not in builds yet. updated MUltiMixed stream converter to new model 1999-08-27 14:10:21 +00:00
gagan%netscape.com
58d5877fdf Fixed tabs to spaces and misc leaks... 1999-08-27 12:38:06 +00:00
warren%netscape.com
136db06f40 Fix for linux bustage (different includes for some reason). 1999-08-27 11:03:12 +00:00
warren%netscape.com
ed1d3aa12e Fix for failure case. 1999-08-27 10:58:23 +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
48a6252554 More mem leak fixes. 1999-08-27 10:03:07 +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
andreas.otte%primus-online.de
a470d9dbdf adding netwerk/streamconv/converters/Makefile 1999-08-27 08:33:31 +00:00
andreas.otte%primus-online.de
081d3a5b1d first checked in 1999-08-27 08:32:24 +00:00
andreas.otte%primus-online.de
df9cc3406c first checked in - not on current build 1999-08-27 08:31:57 +00:00
jevering%netscape.com
8dfa81c80e Finshed null reference fix. 1999-08-27 06:32:18 +00:00
jevering%netscape.com
49ec00b6b5 Free'd memory read fix. 1999-08-27 06:08:21 +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
094c37e358 Fix for unix... nsIChannel needed to be fully defined... 1999-08-26 23:05:20 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
andreas.otte%primus-online.de
7be99f3cfa Don't forget the last one in the converter chain 1999-08-26 15:05:26 +00:00
valeski%netscape.com
6c3d09ea42 added virtual specifier to destructor 1999-08-26 14:55:14 +00:00
valeski%netscape.com
271b4483c7 adding multipartmixed stream converter implementation NOTE: it's not part of the build yet 1999-08-26 14:53:01 +00:00
valeski%netscape.com
394c235b4e fixed transposed args, we now pass the listener in as we're supposed to when we find a 1-to-1 mapping 1999-08-26 14:33:25 +00:00
valeski%netscape.com
a1171738f9 added virtual destructor to elliminate linux warning 1999-08-26 14:28:17 +00:00
andreas.otte%primus-online.de
1dd7cc989e adding the test directory 1999-08-26 09:21:42 +00:00
andreas.otte%primus-online.de
931bef08c5 adding netwerk/streamconv/test/Makefile 1999-08-26 09:19:21 +00:00
andreas.otte%primus-online.de
81474cea1e first checked in 1999-08-26 09:18:33 +00:00
waterson%netscape.com
a079c6ff90 Fix compiler warning. 1999-08-26 04:28:14 +00:00
gagan%netscape.com
a5d6c9c5de Argh... missed a free. 1999-08-25 23:58:24 +00:00
gagan%netscape.com
54c84be4b4 Fix for #11204. 1999-08-25 23:27:58 +00:00
jdunn%netscape.com
7e20f0761f HP requires a newline at the end 1999-08-25 21:21:22 +00:00
ramiro%netscape.com
5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
dougt%netscape.com
4fa0148c0f fixing build bustage. 1999-08-25 00:19:00 +00:00