Reviewed by hyatt.
Fix a bunch more link errors in the win32 build, mostly by adding stubs.
* WebCore.vcproj/WebCore/WebCore.vcproj: add JSXMLHttpRequest and PlugInInfoStore
* WebCore.vcproj/WebCore/build-generated-files.sh: update for JSXMLHttpRequest
* khtml/ecma/JSXMLHttpRequest.cpp:
(KJS::JSXMLHttpRequest::getValueProperty): fix switch to compile
* platform/PlugInInfoStore.h:
* platform/mac/PlugInInfoStoreMac.mm:
* platform/win/TemporaryLinkStubs.cpp: add a bunch of stubs.
(WebCore::TransferJob::errorText):
(WebCore::TransferJob::isErrorPage):
(WebCore::Widget::hide):
(PlugInInfoStore::createPluginInfoForPluginAtIndex):
(PlugInInfoStore::pluginCount):
(WebCore::refreshPlugins):
(QFont::QFont):
(QFont::~QFont):
(QFont::italic):
(QFont::weight):
(QFontMetrics::QFontMetrics):
(QFontMetrics::~QFontMetrics):
(QFontMetrics::xHeight):
(Widget::setActiveWindow):
(WebCore::ScrollView::contentsX):
(WebCore::ScrollView::contentsY):
(WebCore::ScrollView::contentsHeight):
(WebCore::ScrollView::contentsWidth):
(WebCore::ScrollView::visibleHeight):
(WebCore::ScrollView::visibleWidth):
(WebCore::ScrollView::hScrollBarMode):
(WebCore::ScrollView::vScrollBarMode):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13026
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-02-27 Eric Seidel <eseidel@apple.com>
+
+ Reviewed by hyatt.
+
+ Fix a bunch more link errors in the win32 build, mostly by adding stubs.
+
+ * WebCore.vcproj/WebCore/WebCore.vcproj: add JSXMLHttpRequest and PlugInInfoStore
+ * WebCore.vcproj/WebCore/build-generated-files.sh: update for JSXMLHttpRequest
+ * khtml/ecma/JSXMLHttpRequest.cpp:
+ (KJS::JSXMLHttpRequest::getValueProperty): fix switch to compile
+ * platform/PlugInInfoStore.h:
+ * platform/mac/PlugInInfoStoreMac.mm:
+ * platform/win/TemporaryLinkStubs.cpp: add a bunch of stubs.
+ (WebCore::TransferJob::errorText):
+ (WebCore::TransferJob::isErrorPage):
+ (WebCore::Widget::hide):
+ (PlugInInfoStore::createPluginInfoForPluginAtIndex):
+ (PlugInInfoStore::pluginCount):
+ (WebCore::refreshPlugins):
+ (QFont::QFont):
+ (QFont::~QFont):
+ (QFont::italic):
+ (QFont::weight):
+ (QFontMetrics::QFontMetrics):
+ (QFontMetrics::~QFontMetrics):
+ (QFontMetrics::xHeight):
+ (Widget::setActiveWindow):
+ (WebCore::ScrollView::contentsX):
+ (WebCore::ScrollView::contentsY):
+ (WebCore::ScrollView::contentsHeight):
+ (WebCore::ScrollView::contentsWidth):
+ (WebCore::ScrollView::visibleHeight):
+ (WebCore::ScrollView::visibleWidth):
+ (WebCore::ScrollView::hScrollBarMode):
+ (WebCore::ScrollView::vScrollBarMode):
+
2006-02-27 Eric Seidel <eseidel@apple.com>
Reviewed by timo.
RelativePath="..\..\khtml\ecma\domparser.h"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\khtml\ecma\JSXMLHttpRequest.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\khtml\ecma\JSXMLHttpRequest.h"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\khtml\ecma\kjs_binding.cpp"\r
>\r
RelativePath="..\..\platform\PlatformString.h"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\platform\PlugInInfoStore.h"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\platform\QString.cpp"\r
>\r
../JavaScriptCore/kjs/create_hash_table khtml/ecma/XSLTProcessor.cpp > "$DerivedSourcesDir/XSLTProcessor.lut.h"
fi
+if [ ../JavaScriptCore/kjs/create_hash_table -nt "$DerivedSourcesDir/JSXMLHttpRequest.lut.h" -o khtml/ecma/JSXMLHttpRequest.cpp -nt "$DerivedSourcesDir/JSXMLHttpRequest.lut.h" ]; then
+ ../JavaScriptCore/kjs/create_hash_table khtml/ecma/JSXMLHttpRequest.cpp > "$DerivedSourcesDir/JSXMLHttpRequest.lut.h"
+fi
+
# Auto-generate bindings from .idl files
echo "Auto-generating bindings from .idl files for the dom directory..."
perl -I"$WebCoreSourceRoot/bindings/scripts" "$WebCoreSourceRoot/bindings/scripts/generate-bindings.pl" --generator JS --idldir "$WebCoreSourceRoot/dom" --outputdir "$DerivedSourcesDir"
if (DocumentImpl* responseXML = m_impl->getResponseXML())
return getDOMNode(exec, responseXML);
return jsUndefined();
- case Status:
+ case Status: {
int status = m_impl->getStatus();
return status > 0 ? jsNumber(status) : jsUndefined();
+ }
case StatusText:
return jsStringOrUndefined(m_impl->getStatusText());
case Onreadystatechange:
/*
- * Copyright (C) 2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
/*
- * Copyright (C) 2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
#include "Screen.h"
#include "History.h"
#include "KWQKLocale.h"
+#include "PlugInInfoStore.h"
using namespace WebCore;
void WebCore::TransferJob::addMetaData(class KXMLCore::HashMap<class WebCore::String,class WebCore::String> const &) { notImplemented(); }
class QString WebCore::TransferJob::queryMetaData(class QString const &)const { notImplemented(); return QString(); }
int WebCore::TransferJob::error(void)const { notImplemented(); return 0; }
+QString WebCore::TransferJob::errorText(void)const { notImplemented(); return "Houston, we have a problem."; }
+bool WebCore::TransferJob::isErrorPage(void)const { notImplemented(); return 0; }
WebCore::TransferJob::TransferJob(class WebCore::TransferJobClient *,class KURL const &) { notImplemented(); }
WebCore::TransferJob::TransferJob(class WebCore::TransferJobClient *,class KURL const &,class WebCore::FormData const &) { notImplemented(); }
-void WebCore::Widget::hide(void) { }
+void WebCore::Widget::hide(void) { notImplemented(); }
class QString KLocale::language(void) { return "en"; }
+PluginInfo *PlugInInfoStore::createPluginInfoForPluginAtIndex(unsigned) { notImplemented(); return 0;}
+unsigned PlugInInfoStore::pluginCount() const { notImplemented(); return 0; }
+void WebCore::refreshPlugins(bool) { notImplemented(); }
+int WebCore::screenDepth(class WebCore::Widget *) { notImplemented(); return 96; }
+QFont::QFont() { notImplemented(); }
+QFont::~QFont() { notImplemented(); }
+bool QFont::italic(void) const { notImplemented(); return false; }
+int QFont::weight() const { notImplemented(); return QFont::Normal; }
+static QFontMetrics localFontMetrics;
+QFontMetrics::QFontMetrics() { notImplemented(); }
+QFontMetrics::~QFontMetrics() { notImplemented(); }
+QFontMetrics::QFontMetrics(class QFontMetrics const &) { notImplemented(); }
+QFontMetrics& QFontMetrics::operator=(class QFontMetrics const &) { notImplemented(); return localFontMetrics; }
+float QFontMetrics::xHeight(void) const { notImplemented(); return 0; }
+IntRect WebCore::usableScreenRect(class WebCore::Widget *) { notImplemented(); return IntRect(0,0,800,600); }
+QFont& QFont::operator=(class QFont const &) { notImplemented(); return localFont; }
+void Widget::setActiveWindow(void) { notImplemented(); }
+bool KWQCheckIfReloading(class WebCore::DocLoader *) { notImplemented(); return false; }
+int WebCore::ScrollView::contentsX(void)const { notImplemented(); return 0; }
+int WebCore::ScrollView::contentsY(void)const { notImplemented(); return 0; }
+int WebCore::ScrollView::contentsHeight(void)const { notImplemented(); return 0; }
+int WebCore::ScrollView::contentsWidth(void)const { notImplemented(); return 0; }
+int WebCore::ScrollView::visibleHeight(void)const { notImplemented(); return 0; }
+int WebCore::ScrollView::visibleWidth(void)const { notImplemented(); return 0; }
+WebCore::ScrollBarMode WebCore::ScrollView::hScrollBarMode(void)const { notImplemented(); return ScrollBarAlwaysOff; }
+WebCore::ScrollBarMode WebCore::ScrollView::vScrollBarMode(void)const { notImplemented(); return ScrollBarAlwaysOff; }
\ No newline at end of file