Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
99fb5a522a
commit
51881fbcea
@ -39,7 +39,7 @@
|
||||
#include "nsString.h"
|
||||
#include "nsXPIDLString.h"
|
||||
#include "nsISimpleEnumerator.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsFileLocations.h"
|
||||
#include "nsIFileLocator.h"
|
||||
#include "nsIDOMWindow.h"
|
||||
|
||||
@ -35,7 +35,6 @@ USE_NSPR_AUTOCONF = @USE_NSPR_AUTOCONF@
|
||||
### XXX ### BROKEN MOZ_USING_XLIBRGB = @MOZ_USING_XLIBRGB@
|
||||
|
||||
MOZ_TIMER_LIBS = @MOZ_TIMER_LIBS@
|
||||
MOZ_NECKO_UTIL_LIBS = $(DIST)/lib/libneckoutil_s.a
|
||||
MOZ_REGISTRY_LIBS = $(DIST)/lib/libmozreg_s.a
|
||||
MOZ_WIDGET_SUPPORT_LIBS = $(DIST)/lib/libwidgetsupport_s.a
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
#include "nsISizeOfHandler.h"
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsFrame.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIView.h"
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
#include "nsIStyleRule.h"
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsXIFConverter.h"
|
||||
#include "nsFrame.h"
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
#include "nsIEventStateManager.h"
|
||||
#include "nsDOMEvent.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIFrameManager.h"
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
|
||||
// XXX nav attrs: suppress
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIHTMLContentContainer.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIUnicharStreamLoader.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIViewManager.h"
|
||||
@ -1940,7 +1940,10 @@ HTMLContentSink::~HTMLContentSink()
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS2(HTMLContentSink, nsIHTMLContentSink, nsIUnicharStreamLoaderObserver)
|
||||
NS_IMPL_ISUPPORTS3(HTMLContentSink,
|
||||
nsIHTMLContentSink,
|
||||
nsIContentSink,
|
||||
nsIUnicharStreamLoaderObserver)
|
||||
|
||||
nsresult
|
||||
HTMLContentSink::Init(nsIDocument* aDoc,
|
||||
@ -3634,10 +3637,11 @@ HTMLContentSink::EvaluateScript(nsString& aScript,
|
||||
NS_IMETHODIMP
|
||||
HTMLContentSink::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
||||
nsresult aStatus,
|
||||
PRUint32 stringLen,
|
||||
const PRUnichar* string)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
nsString aData(string);
|
||||
nsString aData(string, stringLen);
|
||||
|
||||
if (NS_OK == aStatus) {
|
||||
PRBool bodyPresent = PreEvaluateScript();
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIContentViewerContainer.h"
|
||||
#include "nsIContentViewer.h"
|
||||
#include "nsIMarkupDocumentViewer.h"
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsVoidArray.h"
|
||||
#include "nsISupportsArray.h"
|
||||
@ -593,9 +593,10 @@ CSSLoaderImpl::RecycleParser(nsICSSParser* aParser)
|
||||
NS_IMETHODIMP
|
||||
SheetLoadData::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
||||
nsresult aStatus,
|
||||
PRUint32 stringLen,
|
||||
const PRUnichar* string)
|
||||
{
|
||||
nsString aStyleData(string);
|
||||
nsString aStyleData(string, stringLen);
|
||||
mLoader->DidLoadStyle(aLoader, aStyleData, this, aStatus);
|
||||
|
||||
// We added a reference when the loader was created. This
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
#include "nsICSSDeclaration.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsString.h"
|
||||
#include "nsIAtom.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsHashtable.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsHashtable.h"
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIWebShell.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsITextContent.h"
|
||||
@ -1714,10 +1714,11 @@ IsJavaScriptLanguage(const nsString& aName, const char* *aVersion)
|
||||
NS_IMETHODIMP
|
||||
nsXMLContentSink::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
||||
nsresult aStatus,
|
||||
PRUint32 stringLen,
|
||||
const PRUnichar* string)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
nsString aData(string);
|
||||
nsString aData(string, stringLen);
|
||||
|
||||
if (NS_OK == aStatus) {
|
||||
rv = EvaluateScript(aData, 0, mScriptLanguageVersion);
|
||||
|
||||
@ -74,7 +74,7 @@
|
||||
#include "nsIXULPrototypeDocument.h"
|
||||
#include "nsIXULPrototypeCache.h"
|
||||
#include "nsLayoutCID.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsRDFCID.h"
|
||||
#include "nsRDFParserUtils.h"
|
||||
#include "nsVoidArray.h"
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
#include "nsIXULPrototypeCache.h"
|
||||
#include "nsLWBrkCIID.h"
|
||||
#include "nsLayoutCID.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsParserCIID.h"
|
||||
#include "nsRDFCID.h"
|
||||
#include "nsRDFDOMNodeList.h"
|
||||
@ -4828,9 +4828,10 @@ nsXULDocument::LoadScript(nsXULPrototypeScript* aScriptProto, PRBool* aBlock)
|
||||
}
|
||||
|
||||
|
||||
nsresult
|
||||
NS_IMETHODIMP
|
||||
nsXULDocument::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
||||
nsresult aStatus,
|
||||
PRUint32 stringLen,
|
||||
const PRUnichar* string)
|
||||
{
|
||||
// This is the completion routine that will be called when a
|
||||
@ -4854,8 +4855,7 @@ nsXULDocument::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
||||
scriptProto->mSrcLoading = PR_FALSE;
|
||||
|
||||
if (NS_SUCCEEDED(aStatus)) {
|
||||
// XXXbe bug warren to provide string length from caller too
|
||||
rv = scriptProto->Compile(string, nsCRT::strlen(string),
|
||||
rv = scriptProto->Compile(string, stringLen,
|
||||
scriptProto->mSrcURI, 1,
|
||||
this);
|
||||
aStatus = rv;
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
#include "nsIXULContentUtils.h"
|
||||
#include "nsIXULPrototypeCache.h"
|
||||
#include "nsLayoutCID.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsRDFCID.h"
|
||||
#include "nsString.h"
|
||||
#include "nsXPIDLString.h"
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
#include "nsIDeviceContext.h"
|
||||
#include "nsCURILoader.h"
|
||||
#include "nsLayoutCID.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsRect.h"
|
||||
#include "prprf.h"
|
||||
#include "nsIFrame.h"
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
#include "nsILinkHandler.h"
|
||||
#include "nsIStreamListener.h"
|
||||
#include "nsIPrompt.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIProtocolHandler.h"
|
||||
#include "nsIDNSService.h"
|
||||
#include "nsIRefreshURI.h"
|
||||
|
||||
@ -75,7 +75,7 @@
|
||||
#include "nsIJSContextStack.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsRDFCID.h"
|
||||
#include "nsDOMPropEnums.h"
|
||||
#include "nsXPIDLString.h"
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "plstr.h"
|
||||
#include "prmem.h"
|
||||
|
||||
@ -51,7 +51,6 @@ EXTRA_DSO_LDOPTS = \
|
||||
$(MKSHLIB_FORCE_ALL) \
|
||||
$(SHARED_LIBRARY_LIBS) \
|
||||
$(MKSHLIB_UNFORCE_ALL) \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
$(MOZ_COMPONENT_LIBS) \
|
||||
-lmozjs \
|
||||
|
||||
@ -53,11 +53,6 @@ LLIBS= \
|
||||
$(DIST)\lib\jsdomhtml_s.lib \
|
||||
$(DIST)\lib\jsdomcss_s.lib \
|
||||
$(DIST)\lib\gkgfxwin.lib \
|
||||
!ifdef NECKO
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
!else
|
||||
$(DIST)\lib\netlib.lib \
|
||||
!endif
|
||||
$(DIST)\lib\js32$(VERSION_NUMBER).lib \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\plds3.lib \
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIGenericFactory.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIInputStream.h"
|
||||
#include "nsIStringStream.h"
|
||||
#include "nsIURI.h"
|
||||
@ -329,13 +329,6 @@ nsJSProtocolHandler::NewChannel(const char* verb,
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
|
||||
if (NS_FAILED(rv)) {
|
||||
if (retString)
|
||||
Recycle(retString);
|
||||
return rv;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsISupports> s;
|
||||
rv = NS_NewStringInputStream(getter_AddRefs(s), retString);
|
||||
int length = PL_strlen(retString);
|
||||
@ -349,10 +342,10 @@ nsJSProtocolHandler::NewChannel(const char* verb,
|
||||
|
||||
nsIChannel* channel;
|
||||
|
||||
rv = serv->NewInputStreamChannel(uri, "text/html", length,
|
||||
in, aLoadGroup,
|
||||
notificationCallbacks, loadAttributes,
|
||||
originalURI, &channel);
|
||||
rv = NS_NewInputStreamChannel(uri, "text/html", length,
|
||||
in, aLoadGroup,
|
||||
notificationCallbacks, loadAttributes,
|
||||
originalURI, &channel);
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
|
||||
@ -128,11 +128,6 @@ LLIBS= \
|
||||
$(DIST)\lib\js3250.lib \
|
||||
$(DIST)\lib\gkparser.lib \
|
||||
$(DIST)\lib\raptorwidget_s.lib \
|
||||
!ifdef NECKO
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
!else
|
||||
$(DIST)\lib\netlib.lib \
|
||||
!endif
|
||||
$(LIBNSPR)
|
||||
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
|
||||
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib
|
||||
|
||||
@ -63,7 +63,7 @@
|
||||
#include "nsIStringStream.h"
|
||||
#include "nsITextContent.h"
|
||||
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentIterator.h"
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
#include "nsIHTMLContentContainer.h"
|
||||
#include "nsIStyleSet.h"
|
||||
#include "nsIURI.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
#include "nsIScriptGlobalObject.h"
|
||||
#include "nsIWebShell.h"
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
|
||||
// netwerk
|
||||
#include "nsIURI.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
// Drag & Drop, Clipboard
|
||||
#include "nsWidgetsCID.h"
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
#include "nsIHTMLContentContainer.h"
|
||||
#include "nsIStyleSet.h"
|
||||
#include "nsIURI.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
#include "nsIScriptGlobalObject.h"
|
||||
#include "nsIWebShell.h"
|
||||
|
||||
@ -63,7 +63,7 @@
|
||||
#include "nsIStringStream.h"
|
||||
#include "nsITextContent.h"
|
||||
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentIterator.h"
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
|
||||
// netwerk
|
||||
#include "nsIURI.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
// Drag & Drop, Clipboard
|
||||
#include "nsWidgetsCID.h"
|
||||
|
||||
@ -60,11 +60,6 @@ LINCS = -I$(PUBLIC)/js \
|
||||
-I$(PUBLIC)\xpcom \
|
||||
-I$(PUBLIC)\raptor \
|
||||
-I$(PUBLIC)\pref \
|
||||
!ifdef NECKO
|
||||
-I$(PUBLIC)\necko \
|
||||
!else
|
||||
-I$(PUBLIC)\netlib \
|
||||
!endif
|
||||
-I$(DEPTH)\include \
|
||||
|
||||
MAKE_OBJ_TYPE = DLL
|
||||
@ -81,11 +76,6 @@ LCFLAGS = \
|
||||
LLIBS = \
|
||||
$(LIBNSPR) \
|
||||
$(DIST)\lib\js$(MOZ_BITS)$(VERSION_NUMBER).lib \
|
||||
!ifdef NECKO
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
!else
|
||||
$(DIST)\lib\netlib.lib \
|
||||
!endif
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\gkparser.lib \
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
#include "nsIPICS.h"
|
||||
#include "nsIPref.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIParser.h"
|
||||
#include "nsParserCIID.h"
|
||||
|
||||
@ -77,7 +77,6 @@ CPPSRCS = \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DSO_LDOPTS = \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
$(DIST)/lib/libimg_s.a \
|
||||
$(DIST)/lib/libmozutil_s.a \
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
//#include "il_strm.h"
|
||||
#include "merrors.h"
|
||||
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
static NS_DEFINE_IID(kIImageNetContextIID, IL_INETCONTEXT_IID);
|
||||
static NS_DEFINE_IID(kIURLIID, NS_IURL_IID);
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
#include "ilIURL.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsString.h"
|
||||
|
||||
|
||||
|
||||
@ -45,26 +45,26 @@ OBJS = \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS= nsIRenderingContextWin.h \
|
||||
nsIDrawingSurfaceWin.h
|
||||
nsIDrawingSurfaceWin.h
|
||||
|
||||
LINCS= \
|
||||
-I..\
|
||||
-I..\
|
||||
-I$(PUBLIC)\raptor \
|
||||
-I$(PUBLIC)\xpcom \
|
||||
-I$(PUBLIC)\dom \
|
||||
-I$(PUBLIC)\js \
|
||||
!if defined(NGLAYOUT_DDRAW)
|
||||
!if "$(MOZ_VCVER)" == "50"
|
||||
-I$(NGLAYOUT_DDRAW)\include \
|
||||
-I$(NGLAYOUT_DDRAW)\include \
|
||||
!else
|
||||
-I$(NGLAYOUT_DDRAW)\inc \
|
||||
-I$(NGLAYOUT_DDRAW)\inc \
|
||||
!endif
|
||||
!endif
|
||||
$(NULL)
|
||||
|
||||
LCFLAGS = \
|
||||
$(LCFLAGS) \
|
||||
$(DEFINES) \
|
||||
$(DEFINES) \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
@ -109,7 +109,6 @@ EXPORTS = \
|
||||
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
|
||||
|
||||
EXTRA_DSO_LDOPTS = \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(DIST)/lib/libexpat_s.a \
|
||||
$(DIST)/lib/libxmltok_s.a \
|
||||
$(NULL)
|
||||
|
||||
@ -132,11 +132,6 @@ EXPORTS= \
|
||||
|
||||
LINCS= -I$(PUBLIC)\xpcom \
|
||||
-I$(PUBLIC)\raptor \
|
||||
!ifdef NECKO
|
||||
-I$(PUBLIC)\necko \
|
||||
!else
|
||||
-I$(PUBLIC)\netlib \
|
||||
!endif
|
||||
-I$(PUBLIC)\uconv \
|
||||
-I$(PUBLIC)\expat
|
||||
|
||||
@ -153,12 +148,6 @@ LCFLAGS = \
|
||||
LLIBS= \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\expat.lib \
|
||||
!ifdef NECKO
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
!endif
|
||||
!ifdef MOZ_PERF
|
||||
$(DIST)\lib\util.lib \
|
||||
!endif
|
||||
$(LIBNSPR)
|
||||
|
||||
!ifdef MOZ_NO_DEBUG_RTL
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
#include "prmem.h"
|
||||
#include "nsIUnicharInputStream.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsSpecialSystemDirectory.h"
|
||||
|
||||
@ -38,4 +38,3 @@ EXTRA_DSO_LDOPTS =\
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
||||
@ -59,10 +59,6 @@ LLIBS= \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(LIBNSPR)
|
||||
|
||||
!ifdef NECKO
|
||||
LLIBS=$(LLIBS) $(DIST)\lib\neckoutil_s.lib
|
||||
!endif
|
||||
|
||||
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
|
||||
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib
|
||||
!endif
|
||||
|
||||
@ -30,9 +30,7 @@
|
||||
#include "nsILocale.h"
|
||||
#include "nsIAllocator.h"
|
||||
#include "plstr.h"
|
||||
|
||||
#include "nsNeckoUtil.h"
|
||||
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIServiceManager.h"
|
||||
|
||||
@ -41,7 +41,6 @@ EXPORT_RESOURCE = \
|
||||
LIBS = \
|
||||
-lmozjs \
|
||||
-lxpcom \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
@ -78,20 +78,12 @@ LINCS= \
|
||||
-I$(PUBLIC)\raptor \
|
||||
-I$(PUBLIC)\xpcom \
|
||||
-I$(PUBLIC)\uconv \
|
||||
#ifdef NECKO
|
||||
-I$(PUBLIC)\necko \
|
||||
#else
|
||||
-I$(PUBLIC)\netlib \
|
||||
#endif
|
||||
-I..\ucvja \
|
||||
-I..\ucvlatin \
|
||||
$(NULL)
|
||||
|
||||
LLIBS= \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
!ifdef NECKO
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
!endif
|
||||
$(LIBNSPR)
|
||||
|
||||
LCFLAGS = \
|
||||
|
||||
@ -24,8 +24,7 @@
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIURL.h"
|
||||
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
static NS_DEFINE_IID(kIPersistentPropertiesIID, NS_IPERSISTENTPROPERTIES_IID);
|
||||
|
||||
|
||||
@ -63,7 +63,6 @@ DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
||||
|
||||
LLIBS= \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
$(LIBNSPR)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
//
|
||||
// guids
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
#include "nsUnicharUtilCIID.h"
|
||||
#include "nsIProperties.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
NS_DEFINE_CID(kUnicharUtilCID, NS_UNICHARUTIL_CID);
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
#include "nsISizeOfHandler.h"
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsFrame.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIView.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIStreamListener.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIChannel.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsWidgetsCID.h"
|
||||
#include "nsILinkHandler.h"
|
||||
|
||||
@ -77,7 +77,6 @@ EXTRA_DSO_LDOPTS = \
|
||||
$(MKSHLIB_FORCE_ALL) \
|
||||
$(SHARED_LIBRARY_LIBS) \
|
||||
$(MKSHLIB_UNFORCE_ALL) \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
-L$(DIST)/bin \
|
||||
$(NSPR_LIBS) \
|
||||
|
||||
@ -54,11 +54,6 @@ LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\dom \
|
||||
-I..\xul\content\src \
|
||||
!ifdef MOZ_MATHML
|
||||
-I..\mathml\content\src \
|
||||
!endif
|
||||
!ifdef NECKO
|
||||
-I$(PUBLIC)\necko \
|
||||
!else
|
||||
-I$(PUBLIC)\netlib \
|
||||
!endif
|
||||
-I$(PUBLIC)\rdf
|
||||
|
||||
@ -87,11 +82,6 @@ LLIBS= \
|
||||
$(DIST)\lib\gkgfxwin.lib \
|
||||
$(DIST)\lib\timer_s.lib \
|
||||
$(DIST)\lib\jsdom.lib \
|
||||
!ifdef NECKO
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
!else
|
||||
$(DIST)\lib\netlib.lib \
|
||||
!endif
|
||||
$(DIST)\lib\js32$(VERSION_NUMBER).lib \
|
||||
!if defined(MOZ_DEBUG) && defined(GLOWCODE) && "$(MOZ_BITS)"=="32"
|
||||
$(GLOWDIR)\glowcode.lib \
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#include "nsLayoutModule.h"
|
||||
#include "nsLayoutCID.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsICSSStyleSheet.h"
|
||||
#include "nsICSSLoader.h"
|
||||
#include "nsHTMLAtoms.h"
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIStreamListener.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIView.h"
|
||||
#include "nsIViewManager.h"
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "nsIView.h"
|
||||
#include "nsIViewManager.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsXIFConverter.h"
|
||||
#include "nsISizeOfHandler.h"
|
||||
#include "nsTextFragment.h"
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIPluginInstanceOwner.h"
|
||||
#include "nsIHTMLContent.h"
|
||||
#include "nsISupportsArray.h"
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include "nsHTMLImageLoader.h"
|
||||
#include "nsFrame.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#undef NOISY_IMAGE_LOADING
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "nsIView.h"
|
||||
#include "nsIViewManager.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsXIFConverter.h"
|
||||
#include "nsISizeOfHandler.h"
|
||||
#include "nsTextFragment.h"
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIPluginInstanceOwner.h"
|
||||
#include "nsIHTMLContent.h"
|
||||
#include "nsISupportsArray.h"
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
#include "nsIStyleRule.h"
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsXIFConverter.h"
|
||||
#include "nsFrame.h"
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
#include "nsIEventStateManager.h"
|
||||
#include "nsDOMEvent.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIFrameManager.h"
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
|
||||
// XXX nav attrs: suppress
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIStreamListener.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIView.h"
|
||||
#include "nsIViewManager.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIHTMLContentContainer.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIUnicharStreamLoader.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIViewManager.h"
|
||||
@ -1940,7 +1940,10 @@ HTMLContentSink::~HTMLContentSink()
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS2(HTMLContentSink, nsIHTMLContentSink, nsIUnicharStreamLoaderObserver)
|
||||
NS_IMPL_ISUPPORTS3(HTMLContentSink,
|
||||
nsIHTMLContentSink,
|
||||
nsIContentSink,
|
||||
nsIUnicharStreamLoaderObserver)
|
||||
|
||||
nsresult
|
||||
HTMLContentSink::Init(nsIDocument* aDoc,
|
||||
@ -3634,10 +3637,11 @@ HTMLContentSink::EvaluateScript(nsString& aScript,
|
||||
NS_IMETHODIMP
|
||||
HTMLContentSink::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
||||
nsresult aStatus,
|
||||
PRUint32 stringLen,
|
||||
const PRUnichar* string)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
nsString aData(string);
|
||||
nsString aData(string, stringLen);
|
||||
|
||||
if (NS_OK == aStatus) {
|
||||
PRBool bodyPresent = PreEvaluateScript();
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIContentViewerContainer.h"
|
||||
#include "nsIContentViewer.h"
|
||||
#include "nsIMarkupDocumentViewer.h"
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "nsIDocument.h"
|
||||
#include "nsILinkHandler.h"
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsVoidArray.h"
|
||||
#include "nsISupportsArray.h"
|
||||
@ -593,9 +593,10 @@ CSSLoaderImpl::RecycleParser(nsICSSParser* aParser)
|
||||
NS_IMETHODIMP
|
||||
SheetLoadData::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
||||
nsresult aStatus,
|
||||
PRUint32 stringLen,
|
||||
const PRUnichar* string)
|
||||
{
|
||||
nsString aStyleData(string);
|
||||
nsString aStyleData(string, stringLen);
|
||||
mLoader->DidLoadStyle(aLoader, aStyleData, this, aStatus);
|
||||
|
||||
// We added a reference when the loader was created. This
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
#include "nsICSSDeclaration.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsString.h"
|
||||
#include "nsIAtom.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsHashtable.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsHashtable.h"
|
||||
|
||||
@ -44,7 +44,6 @@ LIBS = \
|
||||
$(DIST)/lib/libraptorhtmltable_s.a \
|
||||
$(DIST)/lib/libraptorlayout_s.a \
|
||||
$(DIST)/lib/libraptorevents_s.a \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
-lmozjs \
|
||||
-lraptorgfx \
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#include "nsICSSStyleSheet.h"
|
||||
#include "nsIStyleRule.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIInputStream.h"
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include <stdio.h>
|
||||
#include "nsCSSScanner.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
|
||||
@ -41,11 +41,6 @@ LINCS= \
|
||||
-I$(PUBLIC)\raptor \
|
||||
-I$(PUBLIC)\dom \
|
||||
-I$(PUBLIC)\js \
|
||||
!ifdef NECKO
|
||||
-I$(PUBLIC)\necko \
|
||||
!else
|
||||
-I$(PUBLIC)\netlib \
|
||||
!endif
|
||||
-I..\base\src \
|
||||
-I..\style\src \
|
||||
-I..\..\css\layout\src \
|
||||
@ -66,11 +61,6 @@ LLIBS= \
|
||||
$(DIST)\lib\util.lib \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\jsdom.lib \
|
||||
!ifdef NECKO
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
!else
|
||||
$(DIST)\lib\netlib.lib \
|
||||
!endif
|
||||
$(DIST)\lib\timer_s.lib \
|
||||
$(LIBNSPR) \
|
||||
$(DIST)\lib\js32$(VERSION_NUMBER).lib
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsVoidArray.h"
|
||||
#include "nsISupportsArray.h"
|
||||
@ -593,9 +593,10 @@ CSSLoaderImpl::RecycleParser(nsICSSParser* aParser)
|
||||
NS_IMETHODIMP
|
||||
SheetLoadData::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
||||
nsresult aStatus,
|
||||
PRUint32 stringLen,
|
||||
const PRUnichar* string)
|
||||
{
|
||||
nsString aStyleData(string);
|
||||
nsString aStyleData(string, stringLen);
|
||||
mLoader->DidLoadStyle(aLoader, aStyleData, this, aStatus);
|
||||
|
||||
// We added a reference when the loader was created. This
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
#include "nsICSSDeclaration.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsString.h"
|
||||
#include "nsIAtom.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsHashtable.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsHashtable.h"
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
#include "nsIScriptObjectOwner.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIWebShell.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsITextContent.h"
|
||||
@ -1714,10 +1714,11 @@ IsJavaScriptLanguage(const nsString& aName, const char* *aVersion)
|
||||
NS_IMETHODIMP
|
||||
nsXMLContentSink::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
||||
nsresult aStatus,
|
||||
PRUint32 stringLen,
|
||||
const PRUnichar* string)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
nsString aData(string);
|
||||
nsString aData(string, stringLen);
|
||||
|
||||
if (NS_OK == aStatus) {
|
||||
rv = EvaluateScript(aData, 0, mScriptLanguageVersion);
|
||||
|
||||
@ -96,7 +96,7 @@
|
||||
#include "nsIMsgComposeService.h"
|
||||
#include "nsMsgCompFieldsFact.h"
|
||||
#include "nsMsgI18N.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsXPIDLString.h"
|
||||
|
||||
static NS_DEFINE_CID(kIStreamConverterServiceCID, NS_STREAMCONVERTERSERVICE_CID);
|
||||
|
||||
@ -50,9 +50,8 @@
|
||||
#include "nsMsgCopy.h"
|
||||
#include "nsIRDFService.h"
|
||||
#include "nsRDFCID.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsMsgMimeCID.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
|
||||
// CID's needed
|
||||
static NS_DEFINE_CID(kCMsgMailSessionCID, NS_MSGMAILSESSION_CID);
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
#include "nsIMsgMessageService.h"
|
||||
#include "nsMsgUtils.h"
|
||||
#include "nsMsgDeliveryListener.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsMsgMimeCID.h"
|
||||
#include "nsMsgCompCID.h"
|
||||
#include "nsMsgCompose.h"
|
||||
@ -90,7 +90,7 @@ nsresult nsMsgQuoteListener::OnHeadersReady(nsIMimeHeaders * headers)
|
||||
|
||||
printf("RECEIVE CALLBACK: OnHeadersReady\n");
|
||||
nsCOMPtr<nsIStreamListener> aStreamListener;
|
||||
if (mMsgQuote)
|
||||
if (mMsgQuote)
|
||||
mMsgQuote->GetStreamListener(getter_AddRefs(aStreamListener));
|
||||
if (aStreamListener)
|
||||
{
|
||||
@ -185,16 +185,16 @@ nsMsgQuote::QuoteMessage(const PRUnichar *msgURI, PRBool quoteHeaders, nsIStream
|
||||
getter_AddRefs(quoteSupport));
|
||||
|
||||
mQuoteChannel = null_nsCOMPtr();
|
||||
NS_WITH_SERVICE(nsIIOService, netService, kIOServiceCID, &rv);
|
||||
rv = netService->NewInputStreamChannel(aURL,
|
||||
nsnull, // contentType
|
||||
-1, // contentLength
|
||||
nsnull, // inputStream
|
||||
nsnull, // loadGroup
|
||||
nsnull, // notificationCallbacks
|
||||
nsIChannel::LOAD_NORMAL,
|
||||
nsnull, // originalURI
|
||||
getter_AddRefs(mQuoteChannel));
|
||||
rv = NS_NewInputStreamChannel(aURL,
|
||||
nsnull, // contentType
|
||||
-1, // contentLength
|
||||
nsnull, // inputStream
|
||||
nsnull, // loadGroup
|
||||
nsnull, // notificationCallbacks
|
||||
nsIChannel::LOAD_NORMAL,
|
||||
nsnull, // originalURI
|
||||
getter_AddRefs(mQuoteChannel));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
NS_WITH_SERVICE(nsIStreamConverterService, streamConverterService, kIStreamConverterServiceCID, &rv);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
@ -207,6 +207,10 @@ nsMsgQuote::QuoteMessage(const PRUnichar *msgURI, PRBool quoteHeaders, nsIStream
|
||||
mStreamListener,
|
||||
quoteSupport,
|
||||
getter_AddRefs(convertedListener));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
NS_WITH_SERVICE(nsIIOService, netService, kIOServiceCID, &rv);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// now we want to create a necko channel for this url and we want to open it
|
||||
nsCOMPtr<nsIChannel> aChannel;
|
||||
|
||||
@ -31,7 +31,6 @@ PROGRAM = msgcomposetest2
|
||||
CPPSRCS = test2.cpp
|
||||
|
||||
LIBS = \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
-lxpcom \
|
||||
-lmozjs \
|
||||
|
||||
@ -32,7 +32,6 @@ CPPSRCS = \
|
||||
geturl.cpp \
|
||||
nsURLFetcher.cpp \
|
||||
$(NULL)
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
-lmozjs \
|
||||
$(NSPR_LIBS) \
|
||||
|
||||
@ -31,7 +31,6 @@ PROGRAM = sendlatertest
|
||||
CPPSRCS = test.cpp
|
||||
|
||||
LIBS = \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
-lraptorgfx \
|
||||
-lxpcom \
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
#include "nsIWebShell.h"
|
||||
#include "nsIImapService.h"
|
||||
#include "nsISocketTransportService.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsXPIDLString.h"
|
||||
#include "nsIPipe.h"
|
||||
#include "nsIMsgFolder.h"
|
||||
@ -578,9 +578,7 @@ nsresult nsImapProtocol::SetupWithUrl(nsIURI * aURL, nsISupports* aConsumer)
|
||||
// as the event sink queue
|
||||
if (aRealStreamListener)
|
||||
{
|
||||
NS_WITH_SERVICE(nsIIOService, pNetService, kIOServiceCID, &rv);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
pNetService->NewAsyncStreamListener(aRealStreamListener, m_sinkEventQueue, getter_AddRefs(m_channelListener));
|
||||
rv = NS_NewAsyncStreamListener(aRealStreamListener, m_sinkEventQueue, getter_AddRefs(m_channelListener));
|
||||
}
|
||||
|
||||
PRUint32 capability = kCapabilityUndefined;
|
||||
|
||||
@ -40,10 +40,10 @@
|
||||
#include "nsIPipe.h"
|
||||
#include "nsMimeStringResources.h"
|
||||
#include "nsIPref.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIMsgQuote.h"
|
||||
#include "nsIScriptSecurityManager.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
||||
static NS_DEFINE_CID(kPrefCID, NS_PREF_CID);
|
||||
|
||||
|
||||
@ -33,7 +33,6 @@ LIBS = \
|
||||
-L$(DIST)/bin \
|
||||
-lmozjs \
|
||||
-lxpcom \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(TK_LIBS) \
|
||||
|
||||
@ -30,7 +30,6 @@ PROGRAM = newsParserTest
|
||||
CPPSRCS = newsParserTest.cpp
|
||||
|
||||
LIBS = \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
$(DIST)/lib/libmsgnews_s.a \
|
||||
-lmozjs \
|
||||
|
||||
@ -35,7 +35,6 @@ LIBS = \
|
||||
-lxpcom \
|
||||
-lmozjs \
|
||||
-lmsgbaseutil \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
$(MOZ_TIMER_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(TK_LIBS) \
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsIFileSpec.h"
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
#include "nsJARURI.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsIComponentManager.h"
|
||||
|
||||
@ -76,12 +76,6 @@ CACHELIBNAME=netcache.lib
|
||||
|
||||
LLIBS = \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
!ifdef NECKO
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
!else
|
||||
$(DIST)\lib\netlib.lib \
|
||||
$(DIST)\lib\$(CACHELIBNAME) \
|
||||
!endif
|
||||
$(DIST)\lib\xppref32.lib \
|
||||
$(LIBNSPR)
|
||||
|
||||
|
||||
@ -40,10 +40,9 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsIChannel.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIProgressEventSink.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsICookieStorage.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIStreamListener.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIChannel.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsWidgetsCID.h"
|
||||
#include "nsILinkHandler.h"
|
||||
|
||||
@ -76,12 +76,6 @@ CACHELIBNAME=netcache.lib
|
||||
|
||||
LLIBS = \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
!ifdef NECKO
|
||||
$(DIST)\lib\neckoutil_s.lib \
|
||||
!else
|
||||
$(DIST)\lib\netlib.lib \
|
||||
$(DIST)\lib\$(CACHELIBNAME) \
|
||||
!endif
|
||||
$(DIST)\lib\xppref32.lib \
|
||||
$(LIBNSPR)
|
||||
|
||||
|
||||
@ -40,10 +40,9 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsIChannel.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIProgressEventSink.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsICookieStorage.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "nsIStreamListener.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsIChannel.h"
|
||||
#include "nsNeckoUtil.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsWidgetsCID.h"
|
||||
#include "nsILinkHandler.h"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user