sspitzer%netscape.com
1ff7f19198
fix warnings.
1999-12-28 19:37:29 +00:00
bryner%uiuc.edu
16316ea7c3
Fix a compiler warning by reordering initializers. r=syd.
1999-12-24 22:11:18 +00:00
valeski%netscape.com
a091cc3710
r=gagan, a=don. 21599. we were breaking when we received an incomplete status line. Now we are sure to buffer the line until we receive all of it. we also do this buffering for headers now.
1999-12-22 22:15:55 +00:00
sspitzer%netscape.com
ed7b8de6a4
ignore generated Makefiles
1999-12-22 15:03:27 +00:00
dougt%netscape.com
c270279361
fix for 16273. r=valeski, a=sdagley.
1999-12-22 01:47:59 +00:00
valeski%netscape.com
0316206c68
a=sdagley. turning on datetime protocl.
1999-12-21 22:33:01 +00:00
valeski%netscape.com
b9beb6cdeb
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
098af0b934
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
0baa09fd90
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
54bce75ff9
NOT IN BUILD. Adding date time protocol handler files
1999-12-20 21:48:15 +00:00
fur%geocast.com
b010526bf6
Reorder one class member initialization line to fix a warning.
1999-12-18 15:47:20 +00:00
fur%geocast.com
04c9283540
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
3b82f8c108
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
be6bcba8c1
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
1b7cf6c3a7
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
2d414cb3b4
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
29eeb79673
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
76e2b7a4ae
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
2ce647f94a
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
cb46ba7146
added files: mozilla/netwerk/protocol/ftp/src/nsFTPListener.cpp
1999-12-15 03:32:56 +00:00
valeski%netscape.com
fa134203a6
adding files for new FTP impl, not in build yet
1999-12-15 03:30:33 +00:00
valeski%netscape.com
dc0b0317b0
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
0d11045a4a
Fix for bug 21314. Let PL_Base64Decode do the right job. R=warren
1999-12-13 22:49:12 +00:00
rjc%netscape.com
4b24b8c86b
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
8b3b4810ea
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
0606c4d07c
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
3b46734bda
Include nsJARURI.cpp and nsJARChannel.cpp in the unix build
...
r= warren, chofmann
1999-12-08 23:47:11 +00:00
fur%netscape.com
de06328f1b
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
160ea9fda3
Fixed leak on shutdown. Bug#21118
1999-12-08 05:14:52 +00:00
morse%netscape.com
58e41aab5d
fix bug 21083, multiple cookies being ignored, r=valeski
1999-12-08 05:07:31 +00:00
fur%netscape.com
f755cbc527
Fix mac build bustage. Use LL* macros with int64 types
1999-12-08 04:56:15 +00:00
fur%netscape.com
d381f82d0b
Fix usual bustage due to not including header with an nsCOMPtr type
1999-12-08 04:08:48 +00:00
fur%netscape.com
efc7b3d01c
+ Fix unix build bustage: Add explicit casts to XPIDLCString rvalues.
...
+ Fixed warnings
1999-12-08 04:04:26 +00:00
fur%netscape.com
37ff5f8614
Disable cache by default on Windows
1999-12-08 03:25:44 +00:00
fur%netscape.com
978d979da5
Bug #8305 (Implement cache). Whacked the HTTP protocol handler hard to support caching.
1999-12-08 03:23:14 +00:00
norris%netscape.com
e4ce3835ca
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
f4ad22b9d9
Make observers support weak references. Bug #18682 ; r=dp.
1999-12-07 14:06:36 +00:00
valeski%netscape.com
0107d78aaa
r=rickg. replacing a char const w/ an int literal
1999-12-07 08:58:50 +00:00
valeski%netscape.com
d009686a61
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
85ee74a4d7
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
c361fb197f
nsJARProtocol.cpp
1999-12-07 06:58:55 +00:00
rpotts%netscape.com
52659056c6
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
67d85b82af
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
bf4ef9672f
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
f44c56f451
Fix build bustage on Linux
1999-12-03 02:59:37 +00:00
warren%netscape.com
e7faf5530b
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
ded572767e
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
dc1a4eaae9
Quash warning
1999-12-03 01:45:22 +00:00
fur%netscape.com
cfb6b5624f
Added missing HTTP header atoms
1999-12-03 01:44:38 +00:00
rpotts%netscape.com
d9c7dbe807
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
9426838f70
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
10aad5b020
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
e6ee317238
Fix the fragment name in both targets to be unique. Again. r=pinkerton.
1999-12-02 04:53:47 +00:00
sfraser%netscape.com
554582f3e3
Fix the fragment name in both targets to be unique. r=pinkerton.
1999-12-02 04:51:11 +00:00
fur%netscape.com
cb5751940a
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
f4301f1109
(r=valeski) Fix for new bloat (leaking HTTPChannels) that was introduced yesterday
1999-12-01 04:32:58 +00:00
mscott%netscape.com
11c830ce1f
implement retargeting for SetLoadGroup
...
r=valeski,rpotts
1999-11-30 22:19:53 +00:00
mscott%netscape.com
bd8f43e751
implement retargeting for SetLoadGroup
...
r=valeski
1999-11-30 22:19:35 +00:00
valeski%netscape.com
bcb79d06b0
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
62abb7140f
Fixed bug GetContentType/GetContentLength.
1999-11-30 07:36:14 +00:00
warren%netscape.com
5003cbf58a
Added include of nsNetUtil.h to pick up NS_NewSyncStreamListener
1999-11-30 05:32:14 +00:00
warren%netscape.com
a265a32348
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
02880fef60
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
cf44fd73ae
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
1da7d3868d
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
mscott%netscape.com
c479a085dc
modify SetLoadGroup to work with retargeting.
...
r=rpotts
1999-11-30 00:10:37 +00:00
sspitzer%netscape.com
593501141b
ignore generated files
1999-11-29 21:20:30 +00:00
rpotts%netscape.com
cd810db52f
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
bbc2a15492
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
39678adcc0
Added friend _class_ for hpukes.
1999-11-24 20:42:04 +00:00
warren%netscape.com
c6a8089da9
Added nsIInterfaceRequestor.h to keep nsCOMPtr happy.
1999-11-24 08:31:06 +00:00
warren%netscape.com
67800a1a6e
Added optimized dependency on netwerk util.
1999-11-24 08:28:08 +00:00
warren%netscape.com
95507cbdfe
Added include for nsCOMPtr.
1999-11-24 07:40:54 +00:00
warren%netscape.com
85e38bed0a
Somehow added to wrong directory. Moving.
1999-11-24 07:19:12 +00:00
warren%netscape.com
a9234e7a54
First Checked In.
1999-11-24 07:16:03 +00:00
warren%netscape.com
3c254a5cc1
Added res and jar protocols.
1999-11-24 06:29:44 +00:00
warren%netscape.com
0685d21777
First Checked In.
1999-11-24 05:54:31 +00:00
warren%netscape.com
d141e278ff
*** empty log message ***
1999-11-24 05:51:32 +00:00
warren%netscape.com
003c94771b
Added nsIHttpEventSink.h
1999-11-24 05:49:38 +00:00
warren%netscape.com
79675fe4ef
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
cc0ae3387f
bustage fix. comptr include ordering problem
1999-11-23 23:15:16 +00:00
valeski%netscape.com
40f04c1142
bustage attempt. chasing comptr fun
1999-11-23 23:14:08 +00:00
warren%netscape.com
f1a7ed71c1
First Checked In.
1999-11-23 23:03:43 +00:00
valeski%netscape.com
14ec12681e
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
0eb37c639b
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
95271cf129
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
7c40f7ec27
Fix nsNetModuleMgr and nsNetModRegEntry leaks. r=valeski
1999-11-23 20:47:25 +00:00
warren%netscape.com
05cb637dbe
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
dcd034b7ce
Added code to aggressively clean up file transport on failure.
1999-11-23 07:01:56 +00:00
rpotts%netscape.com
42e90203c9
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
47e8779d01
fixing build bustage
1999-11-20 23:23:59 +00:00
valeski%netscape.com
a9f5170c23
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
b838732c93
Added nsAuthEngine.cpp for valeski
1999-11-20 22:09:56 +00:00
valeski%netscape.com
a592298c68
not in build. updated auth engine
1999-11-20 21:46:23 +00:00
morse%netscape.com
0a9cc1a1ec
Partial fix for bug 18668, unable to login to aka, r=valeski
1999-11-20 04:13:21 +00:00
gagan%netscape.com
b8b2046ce1
New files first checkin.
1999-11-20 01:34:19 +00:00
fur%netscape.com
3843bad8c9
Change IDL to generate identical C++ headers, but with improved scriptability.
...
r: rpotts
1999-11-19 15:13:00 +00:00
dougt%netscape.com
365b2789ad
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
e84c1214d7
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
ebac0c1b69
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
ee4b9f450d
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
d8bbb844e6
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
1999-11-18 07:36:41 +00:00
warren%netscape.com
6f53100289
Added nsIJARProtocolHandler.idl
1999-11-18 02:54:05 +00:00
warren%netscape.com
aaf83521f5
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
jdunn%netscape.com
d70d78c6bf
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
2a5a4acb11
another shot at vc5 bustage
1999-11-13 03:17:54 +00:00
valeski%netscape.com
71b98d3043
another shot at 5.0 bustage
1999-11-13 03:07:01 +00:00
valeski%netscape.com
286d76860f
fixing bustage for win32 vc5
1999-11-13 01:56:02 +00:00
valeski%netscape.com
c0b43f9671
fixing win32 vc5 bustage
1999-11-13 01:48:17 +00:00
valeski%netscape.com
02ce4f5c12
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
fc54f21d24
Added neckoutil_s.lib
1999-11-12 08:58:32 +00:00
warren%netscape.com
0ee2d59137
Added idl files
1999-11-12 08:57:52 +00:00
warren%netscape.com
01a5c1fa80
Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz
1999-11-12 06:13:13 +00:00
warren%netscape.com
24ca88445e
Added
1999-11-12 05:58:46 +00:00
valeski%netscape.com
d64928140b
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
379aaedf05
hooking up keyword prefs so we check for them
1999-11-11 02:18:02 +00:00
valeski%netscape.com
8997a4d473
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
88328c1f2a
*** empty log message ***
1999-11-11 02:13:44 +00:00
valeski%netscape.com
d7435ba60d
removed files: mozilla/netwerk/protocol/ftp/public/nsIFTPContext.idl
1999-11-11 02:11:50 +00:00
valeski%netscape.com
bc91729f99
18419.
1999-11-11 02:09:07 +00:00
sspitzer%netscape.com
7da352c5ad
ignore generated Makefiles
1999-11-11 00:08:20 +00:00
morse%netscape.com
a1c18a8cc0
fix bug 65552, integrating ftp authentication with single signon, r=valeski
1999-11-10 03:39:33 +00:00
scc%netscape.com
61336fa215
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
5f446c2b3a
Got Gayatri's JAR protocol working. (not in build yet)
1999-11-07 21:55:12 +00:00
dmose%mozilla.org
42fc94a6ec
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
112b02da1f
Removed an extra free that cvs merge put in!
1999-11-03 08:21:37 +00:00
gagan%netscape.com
8ccfdc1111
Argh... speed kills. Removed this conflict that I accidently checked in.
1999-11-03 08:19:54 +00:00
gagan%netscape.com
13717abc7b
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
cf61280eee
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
813f9f7c13
Structural changes for MakeAbsolute performance. bug#10736 r=valeski
1999-11-03 05:13:44 +00:00
valeski%netscape.com
7594dd3219
r=cyeh, forcing PR_LOGGING for ftp in release builds
1999-11-02 23:24:06 +00:00
warren%netscape.com
5e197dcb15
Made nsHTTPEncodeStream seekable (for reposting form data). Bug #17685 . r=waterson
1999-11-02 07:43:37 +00:00
valeski%netscape.com
f2bf7464b1
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
c958e1ad23
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
95116ea085
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
202693e39e
not in build. updating keyword protocol handler to use new api.
1999-11-01 23:33:05 +00:00
rpotts%netscape.com
3c960a9b5d
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
cf345f56c9
insert cast necessary on one of the "other" platforms
1999-10-30 03:13:55 +00:00
valeski%netscape.com
55863a1791
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
8a19a21afd
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
b197c46e0f
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
d3b0407c9b
fix warnings. r=valeski
1999-10-28 20:25:43 +00:00
valeski%netscape.com
e9f7fa3843
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
80d39f4a4d
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
17438e6544
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
59631a61ab
fixing bustage
1999-10-26 22:07:50 +00:00
valeski%netscape.com
edb4227397
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
00dfd9d907
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
0e486bc4f0
Cleanup - changed setter/getter methods to an attribute.
1999-10-26 04:49:56 +00:00
rpotts%netscape.com
11bf283893
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
8280739483
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
1e545afa6c
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
c98faaa66d
Cleanup - Removed unused methods and members. Changed char* member to nsCString
1999-10-26 04:43:19 +00:00
gagan%netscape.com
a53bb9ca89
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
39ddb330f1
Cleaned up nsTraceRefcnt environment variables. r=kipp,beard
1999-10-23 03:16:19 +00:00
rpotts%netscape.com
3322b70ff4
Fix build bustage on platforms that require full infor for nsCOMPtrs...
1999-10-22 05:56:19 +00:00
rpotts%netscape.com
1ddddb39f2
bug #13054 (r=warren,gagan). Reworked the way requests are sent to the server. Now requests can be of an arbitrary size...
1999-10-22 05:13:01 +00:00
valeski%netscape.com
b6a532465d
fixing build warning
1999-10-22 04:56:24 +00:00
valeski%netscape.com
55b77893d0
removing last reference to nsFtpStreamListenerEvent.h. Actually it was a commented out line.
1999-10-22 04:33:19 +00:00
valeski%netscape.com
bdb23f03c4
*** empty log message ***
1999-10-22 04:32:18 +00:00
sfraser%netscape.com
6f18093fda
Fixing Mac FTP projects for valeski
1999-10-22 04:24:08 +00:00
valeski%netscape.com
e092070dd5
*** empty log message ***
1999-10-22 04:22:54 +00:00
valeski%netscape.com
b3a0a62ceb
adding connection cache interface
1999-10-22 04:11:12 +00:00
valeski%netscape.com
c475223a30
14659, r=dougt. FTP now uses xpcom proxies to send stream listener notifications back to the channel thread. it also uses them to access connections from the protocol handler cache.
1999-10-22 04:10:46 +00:00
dp%netscape.com
a97641453b
Fixed warning of unused variable.
1999-10-22 01:02:29 +00:00
valeski%netscape.com
6306442cc5
14659, r=gagan&warren&dougt
...
Misc. FTP changes:
*increased FTP buffer read/write size from 4k to 8k.
*removed un-needed (for now) SetPASV() for FTP connection thread
*string optimizations
*FTP Connection thread now uses the NS_IMPL_ISUPPORTS4 macro for addref, rel, and QI methods.
*connection cache key api consolidation (Get()/Remove() combo turned into Remove(key)).
Authentication dialog changes:
*Authentication dialog now includes host name the user is trying to connect to.
nsIRequest support:
*FTP Connection thread now maintains a member variable pointing to it's event queue. It also pumps the event queue in the main loop.
*FTP Connection thread now implemented the nsIRequest interface (never called directly; only via the nsFTPChannel api)
*FTP Channel now uses an xpcom proxy object to make the nsIRequest api calls on the FTP Connection thread.
FTP protocol interpretation changes:
*FTP now handles servers that send multi-line greetings in the first Read() (we blocked indefinately before)
*FTP now parses the parent working directory properly (used to always treat it as '/')
1999-10-19 22:37:47 +00:00
dougt%netscape.com
e83c28a24f
Fix for 16700. Isolating CreateTransport into new function.
...
r=gagan.
1999-10-18 19:43:34 +00:00
bienvenu%netscape.com
dc4fd0b6f2
fix memory leak of registry location r=warren
1999-10-15 23:45:45 +00:00
beard%netscape.com
5824bf42d5
added support for "about:bloat?leaks". bug=15906,r=warren
1999-10-14 01:56:49 +00:00
gagan%netscape.com
7f425f1145
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
6b7691039e
Added about:bloat
1999-10-12 09:35:22 +00:00
warren%netscape.com
627a8027ce
added files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp
1999-10-12 09:32:18 +00:00
warren%netscape.com
880d55f658
removed files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp
1999-10-12 09:26:38 +00:00
warren%netscape.com
e9214ecce5
added files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp
1999-10-12 09:25:14 +00:00
warren%netscape.com
c187762a3d
Added about:bloat handler.
1999-10-12 09:20:25 +00:00
waterson%netscape.com
ab20f5e245
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
334b887595
Lowercased idl method names for scriptability. Cleaned up nsIURL interface.
1999-10-12 01:39:37 +00:00
dveditz%netscape.com
2b60c91417
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
e11f6a1693
Updating xpcom registry usage as per edburns@acm.org and dp's suggestions.
1999-10-06 09:57:50 +00:00
warren%netscape.com
d4f45caf5a
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
6a66aa7ed8
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
50e11bca9d
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
619b4e2843
NOT part of the build.
1999-10-04 23:13:11 +00:00
valeski%netscape.com
4f374676cc
NOT part of the build.
1999-10-04 23:12:02 +00:00
valeski%netscape.com
f14fd6ae87
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
b547c2ffb0
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
925d52494b
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
0155919623
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
4c371f3ba4
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
16e6659fe8
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
40f3f9c999
nuked
1999-09-30 21:38:19 +00:00
kipp%netscape.com
8bbc533d25
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
b4835590a4
added files: mozilla/netwerk/protocol/http/src/nsHTTPHandlerModule.cpp
1999-09-30 21:31:38 +00:00
kipp%netscape.com
b1c689480a
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
0aaf192b09
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
e8912d55df
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
ba7081caeb
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
0c7d463e0c
Converted from components to modules
1999-09-30 21:22:48 +00:00
kipp%netscape.com
8d0add992e
new
1999-09-30 01:53:31 +00:00
gagan%netscape.com
fe91738cac
Fix for 14536. r/a rjc the great since he surfs a lot... :)
1999-09-29 01:33:14 +00:00
valeski%netscape.com
d7dd2a0c20
removing dead file: a=leaf
1999-09-27 17:10:37 +00:00
warren%netscape.com
24931754b0
Fixed bug#14863 Network buffer size too large
1999-09-25 08:54:45 +00:00
gordon%netscape.com
688346020d
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
b352dfaa73
First Checked In.
1999-09-23 23:25:14 +00:00
gagan%netscape.com
52d0fcb297
Fixes the crash thats occuring on windows with no proxy setting.
1999-09-21 00:08:09 +00:00
warren%netscape.com
9af7cd8cc1
cleaned up unused stuff in nsFileProtocolHandler
1999-09-20 20:53:17 +00:00
warren%netscape.com
4c7802597b
freed mCommand in nsFileChannel
1999-09-20 20:53:13 +00:00
gagan%netscape.com
0f054d8533
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
bae407c54d
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
39e5fe6519
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
0ce6a48118
NOT ON BUILD: add ignore files
1999-09-18 09:11:27 +00:00
andreas.otte%primus-online.de
44ff8a47fa
NOT ON BUILD: Add loadgroup parameter
1999-09-18 09:08:56 +00:00
valeski%netscape.com
e9d45d7d8e
added more logging. fix attempt at 14209.
1999-09-18 00:37:21 +00:00
briano%netscape.com
e635bdcdb7
General cleanup.
1999-09-17 21:06:32 +00:00
valeski%netscape.com
05b4ee9801
NOT IN BUILD - adding boilerplate for jar protocol handler
1999-09-17 16:12:41 +00:00
rpotts%netscape.com
706491d988
bug #13477 . nsHeaderEntry structs were leaking...
1999-09-17 09:21:50 +00:00
andreas.otte%primus-online.de
bca3e03bc5
fix for bug 9040
1999-09-16 21:51:54 +00:00
warren%netscape.com
e6d8b809a9
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
360e20dac0
Remove include of nsDirectoryStreamMumbleSomething.h.
1999-09-16 01:28:16 +00:00
warren%netscape.com
48cf4685a9
Factored file transport service out of file: protocol.
1999-09-16 01:16:22 +00:00
gordon%netscape.com
c23abaf265
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
a6e214f518
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
451d2f728f
minor logging adjustment
1999-09-15 21:56:34 +00:00
warren%netscape.com
a18c45690f
Making nsIThread nsIRunnable and nsIThreadPool idl interfaces.
1999-09-15 21:41:20 +00:00
slamm%netscape.com
db36a93a15
Fix build warnings: reorder initializers.
1999-09-15 19:24:20 +00:00
warren%netscape.com
0b7d06c326
Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files.
1999-09-15 09:49:18 +00:00
valeski%netscape.com
9740197525
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
61fea7042c
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
5170b2d8d0
content types are now forced to lower case: 13609
1999-09-14 19:42:09 +00:00
jdunn%netscape.com
3998cbe6ff
Fix MAC bustage... don't need the static declaration
1999-09-14 02:54:23 +00:00
jdunn%netscape.com
eafcae3901
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
0059c0009e
General cleanup.
1999-09-14 01:35:43 +00:00
sfraser%netscape.com
33a0552c99
Fix the file type of the shared lib
1999-09-14 00:49:58 +00:00
valeski%netscape.com
baa189fbdc
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
526d7b61ca
optimized user-agent setting
1999-09-13 18:36:20 +00:00
rpotts%netscape.com
03d5e07c67
Fixed unix build bustage with forward declared nsCOMPtrs...
1999-09-13 07:40:10 +00:00
rpotts%netscape.com
586ef031a5
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
1a2e16af42
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
263211043d
Reorderd member initializers to remove silly warnings.
1999-09-12 12:02:03 +00:00
warren%netscape.com
41295ce854
More fixes for nsCOMPtr inconsistencies.
1999-09-11 19:43:06 +00:00
warren%netscape.com
fec02a32a9
Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel.
1999-09-11 18:45:36 +00:00
jdunn%netscape.com
0fabc7f050
hp requires a newline at the end
1999-09-10 23:56:20 +00:00
valeski%netscape.com
a8769f79f1
we now handle a complete single line greeting from an ftp server
1999-09-10 22:09:39 +00:00
valeski%netscape.com
42feeddf17
added accept */* to the default http request
1999-09-10 18:32:02 +00:00
valeski%netscape.com
ce026bdfa9
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
93ef1fd41e
General cleanup.
1999-09-10 01:57:11 +00:00
warren%netscape.com
87b66e4bc8
EOF changes.
1999-09-09 22:18:44 +00:00
warren%netscape.com
e6619b2ad6
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
8436c25b48
General cleanup.
1999-09-09 07:32:15 +00:00
rpotts%netscape.com
b4e64e851f
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