Commit Graph

81 Commits

Author SHA1 Message Date
valeski%netscape.com
88d5bf1ae9 network/module/Makefile -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/makefile.win -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/nsIHttpUrl.h -
1. 310133 - Extended the nsIHttpUrl interface to include the AddMimeHeader() method which adds an http header to the url.

network/module/nsHttpUrl.cpp -
310133 - 1. Added support for the AddMimeHeader() method so http urls can have headers added outside of the actual data retrieval in netlib. This method calls NET_ParseMimeHeader() directly.
2. Added a public member, a pointer to the netlib URL_Struct that was created for this nsHttpUrlImpl. This pointer is the link between netlib and the outside world; the adhesive agent between url structs and nsURLImpls.

network/module/nsNetStream.h -
1. 310133 - Added a public memeber variable to nsConnectionInfo. It's a bool that tells us whether or not a redirect has occurred.

network/module/nsNetStream.cpp -
1. 310133 - Added initialization (FALSE) of new redirect member.

network/module/nsNetStubs.cpp -
1. 310133 - Implemented FE_SetRefreshURLTimer(). This function is called from NET_GetURL() when we recognize that we have a url to refresh.

network/module/nsStubContext.cpp -
1. 310133 - Added check to see if we're redirecting in stub_complete() which gets called when a stream completes. If we are, we don't want to release/destroy the pConsumer, this will happen in nsNetService's bam_exit_routine().

network/module/nsNetService.cpp -
1. 310133 - added nsConnectionInfo->redirect check in bam_exit_routine() so we give the consumer a successful binding event if the consumer is still around. This is iffy.
1998-08-13 20:10:49 +00:00
valeski%netscape.com
e99ebbae97 310133 - Added nsIRefreshUrl.h to the build. This file defines the nsIRefreshUrl interface which simply declares a method that allows a url to be refreshed/reloaded after a given interval. 1998-08-13 20:05:13 +00:00
vidur%netscape.com
427b7b0bb3 Fixed problem with mSpec being allocated with something other than PR_Malloc 1998-08-13 19:05:36 +00:00
rpotts%netscape.com
ca2c7d9353 Fixed OnDataAvailable(...) to abort the stream if it returns a failure code... 1998-08-13 08:19:49 +00:00
vidur%netscape.com
c9ac421d98 Added better handling of search component of URL. Added GetSearch() method to nsIURL. 1998-08-13 04:35:37 +00:00
michaelp%netscape.com
ec31b76e60 fixed build. 1998-08-13 00:07:09 +00:00
warren%netscape.com
057280d3f7 Fixed version umber for js3250.lib. 1998-08-05 01:33:36 +00:00
rpotts%netscape.com
ded87a43a6 Disable NET_PollSockets(...) optimization until it works correctly... 1998-08-01 09:13:20 +00:00
scullin%netscape.com
e56171c730 Safety check our automatic context deleting. (NGLayout only) 1998-07-29 18:44:23 +00:00
rpotts%netscape.com
7e2d9d8b5e Removed all calls to NET_PollSockets(...). Netlib now does the polling itself... 1998-07-29 06:01:57 +00:00
rpotts%netscape.com
6ed683d129 Removed the need for clients to explicitly call NET_PollSockets(...). This has been replaced with a timer based polling scheme 1998-07-29 06:01:11 +00:00
dcone%netscape.com
0819429621 defined a mac WH_TempName for modular Netlib. Raptor change. 1998-07-27 19:53:51 +00:00
vidur%netscape.com
5639f27847 Added methods to nsINetService to get and set cookie string for a URL 1998-07-25 00:32:32 +00:00
rpotts%netscape.com
66ec1412c1 Get rid of some unix warnings... 1998-07-24 20:53:38 +00:00
kipp%netscape.com
da659eee79 Handle absolute url's better 1998-07-24 18:16:05 +00:00
rpotts%netscape.com
17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
michaelp%netscape.com
aa5160c9ae modified for new streaming APIs. 1998-07-23 20:43:08 +00:00
scullin%netscape.com
5681d60943 Fixed build bustage. I can't believe people are still adding context
functions. They should be shot.
1998-07-23 18:31:05 +00:00
kipp%netscape.com
4842ab2b19 Added in parsing for references 1998-07-22 23:38:20 +00:00
jevering%netscape.com
2618db2426 Fixed build problem on NT 5.0 with null exports line. 1998-07-22 23:25:35 +00:00
rpotts%netscape.com
eaaa7e51a1 Allow OnDataAvailable(...) to abort a binding operation by returning an error code... 1998-07-22 11:21:27 +00:00
rpotts%netscape.com
d32f62b2a7 Removed some signed/unsigned warnings... 1998-07-22 11:20:37 +00:00
scullin%netscape.com
ce1e323c8d Fix crash _and_ memory leak? Is it too much to hope? 1998-07-22 03:48:17 +00:00
scullin%netscape.com
9bcf094a7d Fix crash, leak again. 1998-07-22 02:56:50 +00:00
scullin%netscape.com
a2f1447e8c Fix context leakage. 1998-07-22 00:16:00 +00:00
scullin%netscape.com
28eb2a44f0 Added rules to install/clobber resource gifs. 1998-07-21 21:22:25 +00:00
scullin%netscape.com
66cfad92b1 Hook up status remarks from netlib, add interface for prompts and alerts. 1998-07-21 20:27:59 +00:00
scullin%netscape.com
5b05db9d89 Icons for ftp/file directories. 1998-07-21 19:35:35 +00:00
scullin%netscape.com
ff35b2bf20 Allow multipe urls on command line.
NGLayout only.
1998-07-21 18:44:20 +00:00
scullin%netscape.com
0e705b4e15 Moved from branch 1998-07-17 18:07:21 +00:00
guha%netscape.com
850489e013 Fix for bug reported by Mr. Hickman 1998-07-16 18:22:23 +00:00
guha%netscape.com
7fc26bf75d Fix bug in related links 1998-07-16 00:10:48 +00:00
guha%netscape.com
7d64544262 Remove duplicates from related links 1998-07-15 23:39:14 +00:00
rpotts%netscape.com
646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
jevering
8bc7ad7f2a Related links stuff.. Guha's related links code stolen from 4.5 and
spanked seriously.. then jammed into netlib.  Nice huh?
1998-07-15 18:44:26 +00:00
kipp
e450a78d6b Hack around url parsing bug; urls that start with / are not absolute even if they contain a colon 1998-07-14 15:24:32 +00:00
scullin
9c0fd0e4ba Fix UNIX link problems. 1998-07-14 00:57:49 +00:00
scullin
24ead6e06c Fix nglayout UNIX build? 1998-07-14 00:17:00 +00:00
scullin
b3be9d8ef7 Fix build? 1998-07-14 00:13:49 +00:00
scullin
6c533dbbe8 Re-enable normal netlib stream handling. Caching and chunking should
work now.
1998-07-13 23:43:13 +00:00
rpotts
42f2249387 Cause the netlib load to fail if OnStartBinding(...) returns an error. 1998-07-03 06:15:06 +00:00
atotic
f7578dc675 Fixed mac build bustage 1998-07-02 22:34:46 +00:00
rpotts
5d1c00cbb7 Initialized the file extension to content-type mappings to allow netlib to determine the content-type of a file based on its extension... 1998-07-02 19:44:56 +00:00
vidur
d426e95c0d Fixed casting problems on Linux 1998-07-02 17:46:15 +00:00
vidur
134b9563ba Fixed casting problems on Linux 1998-07-02 01:10:21 +00:00
vidur
243f875b26 Added nsINetContainerApplication interface and a way to get the user agent, etc. from the containing application 1998-07-01 23:56:20 +00:00
rpotts
643c05a792 Fixed up IID for nsIStreamListener 1998-07-01 11:24:10 +00:00
rpotts
5530aff594 Split the nsIStreamListner interface into nsIStreamObserver and nsIStreamListener 1998-07-01 11:23:17 +00:00
rpotts
c2deafd2d2 Changed sprintf(...) to PR_snprintf(...) 1998-07-01 11:22:25 +00:00
kipp
8feb13ed67 Fixed memory overwrite bug 1998-06-30 23:37:35 +00:00