mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
de3f9dfd38
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.
94 lines
3.0 KiB
Plaintext
94 lines
3.0 KiB
Plaintext
# The contents of this file are subject to the Netscape Public License
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
# http://www.mozilla.org/NPL/
|
|
#
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
# for the specific language governing rights and limitations under the
|
|
# NPL.
|
|
#
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
# Reserved.
|
|
|
|
NODEPEND=1
|
|
IGNORE_MANIFEST = 1
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
# New build system where zip dll is build indepenant of java stubs.
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
MODULE =testcomfactory
|
|
#EXPORTS = \
|
|
# $(NULL)
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Specify the depth of the current directory relative to the
|
|
#// root of NS
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
DEPTH= ..\..\..
|
|
|
|
MAKE_OBJ_TYPE=EXE
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
EXENAME=TestCOMFactory
|
|
PDBFILE=TestCOMFactory.pdb
|
|
MAPFILE=TestCOMFactory.map
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Define the files necessary to build the target (ie. OBJS)
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
OBJS= \
|
|
.\$(OBJDIR)\TestCOMFactory.obj \
|
|
$(NULL)
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
|
|
#// (these must be defined before the common makefiles are included)
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
|
|
PROGRAM=.\$(OBJDIR)\$(EXENAME).EXE
|
|
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Define any local options for the make tools
|
|
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
LCFLAGS=-DNETSCAPE
|
|
LLIBS=$(LLIBS) ole32.lib
|
|
|
|
LINCS=$(LINCS) -I. \
|
|
-I$(PUBLIC)\raptor \
|
|
-I$(PUBLIC)\xpcom \
|
|
-I$(PUBLIC)\netlib
|
|
|
|
# clobber and clobber_all will remove the following garbage:
|
|
GARBAGE = $(GARBAGE) _gen
|
|
|
|
#//------------------------------------------------------------------------
|
|
#//
|
|
#// Include the common makefile rules
|
|
#//
|
|
#//------------------------------------------------------------------------
|
|
include <$(DEPTH)/config/rules.mak>
|
|
|
|
install:: $(PROGRAM)
|
|
$(MAKE_INSTALL) $(PROGRAM) $(DIST)\bin
|
|
|
|
clobber::
|
|
rm -f $(DIST)\bin\$(EXENAME).exe
|