+2006-07-29 Mike Emmel <mike.emmel@gmail.com>
+
+ Reviewed by Darin.
+
+ - fixes for Linux build
+
+ * JavaScriptCoreSources.bkl: Added new files to build, kjs/PropertyNameArray.cpp
+ and kjs/testkjs.cpp, and removed old files.
+
2006-07-24 Dan Waylonis <waylonis@google.com>
Reviewed and tweaked a bit by Darin.
kjs/list.cpp
kjs/lookup.cpp
kjs/math_object.cpp
- kjs/nodes.cpp
kjs/nodes2string.cpp
+ kjs/nodes.cpp
kjs/number_object.cpp
kjs/object.cpp
kjs/object_object.cpp
kjs/operations.cpp
kjs/Parser.cpp
kjs/property_map.cpp
+ kjs/PropertyNameArray.cpp
kjs/property_slot.cpp
- kjs/reference.cpp
- kjs/reference_list.cpp
kjs/regexp.cpp
kjs/regexp_object.cpp
kjs/scope_chain.cpp
kjs/string_object.cpp
+ kjs/testkjs.cpp
kjs/ustring.cpp
kjs/value.cpp
+2006-07-29 Mike Emmel <mike.emmel@gmail.com>
+
+ Reviewed and tweaked by Darin.
+
+ - fixes for Linux build
+ (still might not compile, since Darin tweaked but was unable to test).
+
+ * WebCoreSources.bkl: Added some new sources, removed some obsolete ones.
+ * Projects/gdk/webcore-gdk.bkl: Added RenderPopupMenuGdk.cpp
+
+ * html/HTMLPlugInElement.h: Removed incorrect syntax with class name
+ before ::.
+
+ * platform/gdk/FrameGdk.h:
+ * platform/gdk/FrameGdk.cpp: Updated parameters of constructor. Moved a couple stubs
+ out of this file.
+ * platform/gdk/RenderPopupMenuGdk.h: Added.
+ * platform/gdk/RenderPopupMenuGdk.cpp: Added. Just a file full of empty stubs.
+ * platform/gdk/RenderThemeGdk.h:
+ * platform/gdk/RenderThemeGdk.cpp: (WebCore::RenderThemeGdk::createPopupMenu): Added.
+
+ * platform/gdk/TemporaryLinkStubs.cpp: Add some new stubs.
+
2006-07-29 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin.
<?xml version="1.0" ?>
-<!-- $Id: gtkWebCore.bkl 199 2005-07-05 20:44:34Z vslavik $ -->
<!-- generate GnuMakefile with
bakefile -f gnu gtkwebcore.bkl
consider forcing includes agian
platform/gdk/PageGdk.cpp
platform/gdk/TransferJobManager.cpp
platform/gdk/RenderThemeGdk.cpp
+ platform/gdk/RenderPopupMenuGdk.cpp
platform/gdk/ScreenGdk.cpp
platform/gdk/ScrollViewGdk.cpp
platform/gdk/SharedTimerLinux.cpp
<?xml version="1.0" ?>
<makefile>
- <set append="1" var="WEBCORE_SOURCES_KWQ">
+ <set append="1" var="WEBCORE_SOURCES_KWQ">
</set>
<set append="1" var="WEBCORE_SOURCES_DERIVEDSOURCES">
DerivedSources/WebCore/JSHTMLModElement.cpp
DerivedSources/WebCore/JSHTMLOListElement.cpp
DerivedSources/WebCore/JSHTMLOptGroupElement.cpp
+ DerivedSources/WebCore/JSHTMLOptionsCollection.cpp
DerivedSources/WebCore/JSHTMLOptionElement.cpp
DerivedSources/WebCore/JSHTMLParagraphElement.cpp
DerivedSources/WebCore/JSHTMLParamElement.cpp
DerivedSources/WebCore/JSProcessingInstruction.cpp
DerivedSources/WebCore/JSRange.cpp
DerivedSources/WebCore/JSText.cpp
+ DerivedSources/WebCore/JSOverflowEvent.cpp
DerivedSources/WebCore/JSUIEvent.cpp
DerivedSources/WebCore/JSWheelEvent.cpp
DerivedSources/WebCore/JSXPathEvaluator.cpp
loader/FormData.cpp
loader/ImageDocument.cpp
loader/loader.cpp
- loader/PluginDocument.cpp
loader/Request.cpp
loader/TextDocument.cpp
loader/PluginDocument.cpp
platform/RegularExpression.cpp
platform/SegmentedString.cpp
platform/StreamingTextDecoder.cpp
+ platform/StreamingTextDecoderICU.cpp
platform/String.cpp
platform/StringImpl.cpp
platform/TextEncoding.cpp
rendering/AutoTableLayout.cpp
rendering/bidi.cpp
rendering/break_lines.cpp
- rendering/DeprecatedRenderSelect.cpp
- rendering/DeprecatedSlider.cpp
rendering/EllipsisBox.cpp
rendering/FixedTableLayout.cpp
rendering/InlineBox.cpp
rendering/RenderLineEdit.cpp
rendering/RenderListItem.cpp
rendering/RenderListMarker.cpp
+ rendering/RenderMenuList.cpp
rendering/RenderObject.cpp
rendering/RenderPart.cpp
rendering/RenderPartObject.cpp
+ rendering/RenderPopupMenu.cpp
rendering/RenderReplaced.cpp
rendering/DeprecatedRenderSelect.cpp
rendering/DeprecatedSlider.cpp
<set append="1" var="WEBCORE_SOURCES_XML">
xml/xmlhttprequest.cpp
+ xml/XSLImportRule.cpp
xml/XSLStyleSheet.cpp
xml/XSLTProcessor.cpp
dom/NodeFilterCondition.cpp
dom/NodeList.cpp
dom/Notation.cpp
+ dom/OverflowEvent.cpp
dom/Position.cpp
dom/ProcessingInstruction.cpp
dom/QualifiedName.cpp
bindings/js/JSCanvasRenderingContext2DCustom.cpp
bindings/js/JSDOMParser.cpp
bindings/js/JSHTMLElementWrapperFactory.cpp
- bindings/js/JSHTMLFormElementCustom.cpp
+ bindings/js/JSHTMLFormElementCustom.cpp
bindings/js/JSHTMLInputElementBase.cpp
+ bindings/js/JSHTMLOptionsCollectionCustom.cpp
bindings/js/JSHTMLOptionElementConstructor.cpp
bindings/js/JSXMLHttpRequest.cpp
bindings/js/JSXMLSerializer.cpp
{
public:
HTMLPlugInElement(const QualifiedName& tagName, Document*);
- HTMLPlugInElement::~HTMLPlugInElement();
+ ~HTMLPlugInElement();
virtual bool mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const;
virtual void parseMappedAttribute(MappedAttribute*);
#include "KeyboardCodes.h"
#include <gdk/gdk.h>
-DeprecatedStringList SSLKeyGenerator::supportedKeySizes(){return DeprecatedStringList();};
-DeprecatedString SSLKeyGenerator::signedPublicKeyAndChallengeString(unsigned keySizeIndex, const DeprecatedString &challengeString, const KURL &url){return DeprecatedString();};
// This function loads resources from WebKit
// This does not belong here and I'm not sure where
namespace WebCore {
-
static void doScroll(const RenderObject* r, bool isHorizontal, int multiplier)
{
// FIXME: The scrolling done here should be done in the default handlers
view->ScrollView::setDrawable(gdkdrawable);
}
-FrameGdk::FrameGdk(Page* page, RenderPart* renderPart, FrameGdkClient* client)
- : Frame(page, renderPart)
+FrameGdk::FrameGdk(Page* page, Element* element)
+ : Frame(page,element)
{
d->m_extension = new BrowserExtensionGdk(this);
Settings* settings = new Settings;
namespace WebCore {
+class Element;
+
class FrameGdkClient {
public:
virtual void openURL(const DeprecatedString&) = 0;
class FrameGdk : public Frame, TransferJobClient {
public:
- FrameGdk(Page*, RenderPart*, FrameGdkClient*);
+ FrameGdk(Page*, Element*);
FrameGdk(GdkDrawable*);
~FrameGdk();
virtual ObjectContentType objectContentType(const KURL&, const String& mimeType);
virtual Plugin* createPlugin(Element*, const KURL&, const Vector<String>&, const Vector<String>&, const String&);
- virtual Frame* createFrame(const KURL&, const String& name, RenderPart*, const String& referrer);
virtual void scheduleClose();
IntRect frameGeometry() const;
void setFrameGeometry(const IntRect&);
+ virtual Frame* createFrame(const KURL&, const String& name, Element* ownerElement, const String& referrer);
private:
virtual bool passMouseDownEventToWidget(Widget*);
--- /dev/null
+/*
+ * This file is part of the popup menu implementation for <select> elements in WebCore.
+ *
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ */
+
+#include "config.h"
+#include "RenderPopupMenuGdk.h"
+
+namespace WebCore {
+
+RenderPopupMenuGdk::RenderPopupMenuGdk(Node* element)
+ : RenderPopupMenu(element)
+{
+}
+
+RenderPopupMenuGdk::~RenderPopupMenuGdk()
+{
+}
+
+void RenderPopupMenuGdk::clear()
+{
+}
+
+void RenderPopupMenuGdk::populate()
+{
+}
+
+void RenderPopupMenuGdk::showPopup(const IntRect&, FrameView*, int)
+{
+}
+
+void RenderPopupMenuGdk::addSeparator()
+{
+}
+
+void RenderPopupMenuGdk::addGroupLabel(HTMLOptGroupElement*)
+{
+}
+
+void RenderPopupMenuGdk::addOption(HTMLOptionElement*)
+{
+}
+
+}
--- /dev/null
+/*
+ * This file is part of the popup menu implementation for <select> elements in WebCore.
+ *
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ */
+
+#ifndef RENDER_POPUPMENU_GDK_H
+#define RENDER_POPUPMENU_GDK_H
+
+#include "RenderPopupMenu.h"
+
+namespace WebCore {
+
+class HTMLOptionElement;
+class HTMLOptGroupElement;
+
+class RenderPopupMenuGdk : public RenderPopupMenu {
+public:
+ RenderPopupMenuGdk(Node*);
+ ~RenderPopupMenuGdk();
+
+ virtual void clear();
+ virtual void populate();
+ virtual void showPopup(const IntRect&, FrameView*, int index);
+
+protected:
+ virtual void addSeparator();
+ virtual void addGroupLabel(HTMLOptGroupElement*);
+ virtual void addOption(HTMLOptionElement*);
+
+};
+
+}
+
+#endif
#include "config.h"
#include "RenderThemeGdk.h"
+#include "RenderPopupMenuGdk.h"
+#include "Document.h"
#include "GraphicsContext.h"
#include <cairo.h>
addIntrinsicMargins(style);
}
+RenderPopupMenu* RenderThemeGdk::createPopupMenu(RenderArena* arena, Document* doc)
+{
+ return new (arena) RenderPopupMenuGdk(doc);
+}
+
}
virtual void adjustTextFieldStyle(CSSStyleSelector*, RenderStyle*, Element*) const;
virtual bool paintTextField(RenderObject*, const RenderObject::PaintInfo&, const IntRect&);
+ virtual RenderPopupMenu* createPopupMenu(RenderArena*, Document*);
+
private:
void addIntrinsicMargins(RenderStyle*) const;
void close();
#include "KURL.h"
#include "ScrollBar.h"
#include "JavaAppletWidget.h"
-#include "WebCoreScrollBar.h"
#include "Path.h"
#include "PlatformMouseEvent.h"
#include "CookieJar.h"
#include "RenderThemeGdk.h"
#include "TextBoundaries.h"
#include "AXObjectCache.h"
+#include "DeprecatedString.h"
+#include "DeprecatedStringList.h"
+#include "SSLKeyGenerator.h"
using namespace WebCore;
static void notImplemented() { puts("Not yet implemented"); }
-
void FrameView::updateBorder() { notImplemented(); }
-//bool FrameView::isFrameView() const { notImplemented(); return 0; }
TextBox::TextBox(Widget*) { notImplemented(); }
TextBox::~TextBox() { notImplemented(); }
void FrameGdk::registerCommandForRedo(WebCore::EditCommandPtr const&) { notImplemented(); }
bool FrameGdk::runJavaScriptPrompt(String const&, String const&, String &) { notImplemented(); return 0; }
bool FrameGdk::shouldInterruptJavaScript() { notImplemented(); return false; }
-//bool FrameWin::openURL(KURL const&) { notImplemented(); return 0; }
void FrameGdk::print() { notImplemented(); }
KJS::Bindings::Instance* FrameGdk::getAppletInstanceForWidget(Widget*) { notImplemented(); return 0; }
bool FrameGdk::passMouseDownEventToWidget(Widget*) { notImplemented(); return 0; }
void FrameGdk::issueCutCommand() { notImplemented(); }
void FrameGdk::issueCopyCommand() { notImplemented(); }
void FrameGdk::openURLRequest(struct WebCore::ResourceRequest const&) { notImplemented(); }
-//bool FrameWin::passWheelEventToChildWidget(Node*) { notImplemented(); return 0; }
void FrameGdk::issueUndoCommand() { notImplemented(); }
String FrameGdk::mimeTypeForFileName(String const&) const { notImplemented(); return String(); }
void FrameGdk::issuePasteCommand() { notImplemented(); }
void FrameGdk::addMessageToConsole(String const&, unsigned int, String const&) { }
bool FrameGdk::shouldChangeSelection(SelectionController const&, SelectionController const&, WebCore::EAffinity, bool) const { return true; }
void FrameGdk::respondToChangedSelection(WebCore::SelectionController const&, bool) { }
-static int frameNumber = 0;
-Frame* FrameGdk::createFrame(KURL const&, String const&, RenderPart*, String const&) { return 0; }
+Frame* FrameGdk::createFrame(const KURL& url, const String& name, Element* ownerElement, const String& referrer) { return 0; }
+
void FrameGdk::saveDocumentState() { }
void FrameGdk::registerCommandForUndo(WebCore::EditCommandPtr const&) { }
void FrameGdk::clearUndoRedoOperations(void) { }
void Font::drawComplexText(GraphicsContext*, const TextRun&, const TextStyle&, const FloatPoint&) const { notImplemented(); }
float Font::floatWidthForComplexText(const TextRun&, const TextStyle&) const { notImplemented(); return 0; }
int Font::offsetForPositionForComplexText(const TextRun&, const TextStyle&, int, bool) const { notImplemented(); return 0; }
+
+namespace WebCore {
+
+DeprecatedStringList supportedKeySizes(){return DeprecatedStringList();};
+DeprecatedString signedPublicKeyAndChallengeString(unsigned keySizeIndex, const DeprecatedString &challengeString, const KURL &url){return DeprecatedString();};
+
+}
+2006-07-29 Mike Emmel <mike.emmel@gmail.com>
+
+ Reviewed by Darin.
+
+ - fixes for Linux build
+
+ * GdkLauncher/mk: Added call to bakefile_gen before calling make.
+ * GdkLauncher/gdklauncher.bkl: Tweak comment.
+
2006-07-24 Dan Waylonis <waylonis@google.com>
Reviewed and tweaked a bit by Darin.
<?xml version="1.0" ?>
-<!-- $Id: gdklauncher.bkl,v 1.1 2006/04/27 23:38:34 eme018 Exp $ -->
<!-- generate GnuMakefile with
bakefile -f gnu gdkwebcore.bkl
consider forcing includes agian
+cd ../../Bakefiles; bakefile_gen
+cd -
cd ../../WebCore/Projects/gdk
make
cd -