nsIDocumentLoader interface method change to LoadURL() we now accept a local ip address.
M webshell/public/nsIWebShell.h
1. Extended the nsIWebShell LoadURL() method to take an additional PRUint32 parameter which represents an ip address. If specified, this address will be bound to the socket prior to connection as the local/client ip address to be used. The caller is guarantees the validity of this address.
2. Extended the nsReloadType enumeration to allow both proxy and cache bypass.
M webshell/src/nsDocLoader.cpp
1. Extended nsDocumentBindInfo::Bind() to take an additional nsILoadAttribs pointer. (class definitaion change and implementation).
2. Extended nsDocLoaderImpl::LoadURL() to take an additional PRUint32 param which represents an optional local ip address to bind the connecting socket to, prior to connection. (class definitaion change and implementation) The docloader object maintains a pointer to an nsILoadAttribs interface.
M webshell/src/nsWebShell.cpp
Implemented new LoadURL() routine. Simple pass down to doc loader of PRUint32.
M webshell/tests/ComFactory/makefile.win
Added netlib to the list of prerequisites.
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().
Adding two new url_struct attributes. uint32 localIP (can be set to specify a local ip address to bing the connecting socket to), boolean bypassProxy (can be set to skip over any proxies that would've been used.