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

108 Коммитов

Автор SHA1 Сообщение Дата
valeski%netscape.com 235357382b General memory repairs (leakage, freeing mismatched mem, umrs) 1998-09-16 07:17:34 +00:00
valeski%netscape.com 8bc9f6b3e5 ? network/module/nsILoadAttribs.h
New nsIloadAttribs interface that defines the load attributes that are will be associated with a url.

? network/module/nsLoadAttribs.cpp
New nsIloadAttribs interface implementation.

M network/main/mkconect.c
Check for a new local ip address to use. If found PR_Bind() is called to bind the connecting socket to the new address.

M network/main/mkgeturl.c
Added logic to determine whether or not skip the proxy for the given url.
M network/main/mktcp.h
api change. Changed NET_BeginConnect() and NET_FinishConnect() function prototypes.

M network/module/MANIFEST
Added nsILoadAttribs.h to exports list

M network/module/Makefile
Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists.

M network/module/makefile.win
Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists.

M network/module/nsIURL.h
Added accessor methods to the url interface for nsILoadAttribs interface pointer.

M network/module/nsNetService.h
Added urlSetup method to class definition.

M network/module/nsNetService.cpp
Condensed url setup (from nsIURL properties to the actual url struct) into a helper routine. URL struct setup now transfers nsILoadAttributes over into the url struct.

M network/module/nsURL.cpp
Added nsILoadAttribs accessor method implementations to the url implementation.

M network/protocol/ftp/mkftp.c
api change. NET_*Connect().

M network/protocol/gopher/mkgopher.c
api change. NET_*Connect().

M network/protocol/http/mkhttp.c
api change. NET_*Connect().

M network/protocol/imap4/mkimap4.cpp
api change. NET_*Connect().

M network/protocol/nntp/mknews.c
api change. NET_*Connect().

M network/protocol/pop3/mkpop3.c
api change. NET_*Connect().

M network/protocol/smtp/mksmtp.c
api change. NET_*Connect().
1998-09-16 00:35:32 +00:00
kipp%netscape.com d5502d087e whitespace tweak 1998-09-12 19:31:10 +00:00
mcafee%netscape.com cfa10d426d Fixing Solaris bustage 1998-09-12 05:55:51 +00:00
mcafee%netscape.com 4a931020d6 Solaris needs EOF character 1998-09-12 05:52:39 +00:00
valeski%netscape.com 24d2cbf92b fixing build bustage. 1998-09-10 03:28:20 +00:00
valeski%netscape.com eb216ab0c2 The changes apply to MODULAR_NETLIB only
mozilla/module/nsINetFile.h
MODULAR_NETLIB only. Added the nsINetFile interface header.

mozilla/module/nsNetFile.cpp
MODULAR_NETLIB only. Added the nsINetFile interface implementation.

mozilla/module/nsNetFile.h
MODULAR_NETLIB only. Added the nsNetFile header.

mozilla/main/mkgeturl.c
MODULAR_NETLIB only. Added directory and file token initialization for new ns_net_file code.

mozilla/main/net_xp_file.h
MODULAR_NETLIB only. Added the new readline routine for ns_net_file.

mozilla/module/makefile.win
MODULAR_NETLIB only. Added the nsNetFile.cpp file to compilation list.

mozilla/module/nsNetService.cpp
MODULAR_NETLIB only. Added the static nsNetFile instance so it gets initailized.

mozilla/module/nsNetStubs.cpp
MODULAR_NETLIB only. Added NET_I_XP_FILE* versions of XP_FILE routines. These routines are compiled and used when NS_NET_FILE is defined.
1998-09-10 00:32:40 +00:00
vidur%netscape.com e86eb9d216 Adjusted to change in signature for FE_SetRefreshURLTimer 1998-09-09 20:56:47 +00:00
kipp%netscape.com 3a5caa94af Stub out fe routine so that app will link 1998-09-05 20:13:34 +00:00
pierre%netscape.com 7f5dd88910 set resourceBase to the magic string "usr/local/netscape/bin/" 1998-09-03 06:19:13 +00:00
rpotts%netscape.com 3ed30d363b Fixed return value from PerformNastyWindowsAsyncDNSHack(...) 1998-09-02 00:27:54 +00:00
thom%netscape.com 584891891e fixed heap corruption in mac version of the function mangleResourceIntoFileURL. This change ONLY effects macs 1998-08-28 01:33:14 +00:00
cls%seawood.org 9020b80c52 Updates to autoconf files. 1998-08-26 04:04:57 +00:00
rpotts%netscape.com cf4d8e6925 Evil fix for deadlock during synchronous http url loads... 1998-08-25 05:51:40 +00:00
thom%netscape.com 4d14ad9a57 fixed mac compile error in the initialization code 1998-08-25 00:04:27 +00:00
rpotts%netscape.com 53c77d56fe NGLayout only... Added a synchronous command line option for testing synchronous URL fetching. 1998-08-24 20:46:44 +00:00
rpotts%netscape.com dcf275e458 Added support to shut down netlib and the nsINetService instance... 1998-08-22 00:12:54 +00:00
vidur%netscape.com c050c0e7ac Fixed build bustage. 1998-08-20 23:07:31 +00:00
vidur%netscape.com 00f1de03b8 Added nsIConnectionInfo interface. Temporarily special-cased javascript: URLs in URL parsing. 1998-08-20 22:28:09 +00:00
kmcclusk%netscape.com 105745e312 Added XP_UNIX code to leave the top slash for absolute file paths under UNIX.
This fixes a problem where all of the slashs get stripped off because the URL
is asked to parse a previously parsed url string.
1998-08-20 20:32:52 +00:00
valeski%netscape.com 52bc32e1e1 RAPTOR ONLY CHECKIN
network/module/nsIURL.h
Added Get/Set ReloadType methods so a user can query/set the reload type for the url. The default is normal reload.

network/module/nsURL.cpp
Added support for the new nsIURL interface methods (Get/Set ReloadType).

network/module/nsNetService.cpp
OpenStream and OpenBlockingStream now query the nsIURL for it's reload type before creating the url struct. This way we can control how the url is loaded.
1998-08-19 23:00:15 +00:00
scullin%netscape.com 509a55fa3e Move resource hack to tip. 1998-08-19 21:38:57 +00:00
cls%seawood.org 84f1cedcbb AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
valeski%netscape.com f25f2cb5b2 network/module/nsIRefreshUrl.h
Extended the nsIRefreshUrl interface to include a cancel method.

network/module/nsNetService.cpp
1. Added code to hook the nsConnectionInfo object up to the nsISupports pointer in the url being loaded.
2. Removed the redirect logic in bam_exit_routine(). The backend dependency on the front end is gone.

network/module/nsNetStream.cpp
Added initialization/destruction of the nsISupports pointer in the nsConnectionInfo.

network/module/nsNetStream.h
Added the nsISupports member declaration to nsConnectionInfo, and remvoed the redirect member variable.

network/module/nsNetStubs.cpp
FE_SetRefreshURLTimer() routine has been modified so it no longer relies on the pConsumer (i.e. nsDocumentBindInfo) which was causing us to leak it. Now we use the nsISupports pointer in the nsConnectionInfo object to access the nsIRefreshURL interface so we can reload the url.

network/module/nsStubContext.cpp
Modified stub_complete() so we no longer pay attention to the redirect member of the nsConnectionInfo object.

network/module/nsIURL.h
1. Added GetContainer() method to nsIURL which returns the nsISupports pointer of the container for this url.
2. created a new NS_NewURL() routine which takes an nsISupports pointer as a parameter.

network/module/nsURL.cpp
1. Added a new nsURL constructor that takes a nsISupports pointer as a param.
2. Added GetContainer() method and nsISupports pointer initialization/destruction.
1998-08-18 23:24:28 +00:00
valeski%netscape.com 0a8c7afc42 fixed a memory leak 1998-08-18 22:38:03 +00:00
troy%netscape.com ef9d322093 Changed PR_FREEIF to delete[] (call to nsString::ToNewCString) 1998-08-15 01:53:38 +00:00
thom%netscape.com 6915e471fa added nsIRefreshUrl.h to manifest 1998-08-14 21:35:42 +00:00
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