Commit 98f449d6 authored by bdash's avatar bdash

2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>

        Reviewed by Mark Rowe.

        No test added as this is hard to time.

        * platform/gdk/FrameGdk.cpp: Use needsLayout() to decide if layout()
        is needed.

        (WebCore::FrameGdk::dumpRenderTree):
        (WebCore::FrameGdk::handleGdkEvent):

2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>

        Reviewed by Mark Rowe.

        * kjs/testkjs.pro: Make the Gdk port link to icu

2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>

        Reviewed by Mark Rowe.

        * WebKit.pro: Build testkjs for Gdk and Qt

2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>

        Reviewed by Mark Rowe.

        * GdkLauncher/main.cpp:
        (main): Call Frame::init to catch up with Maciej's changes.
        * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
        passed to the helper scripts.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8e319071
2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark Rowe.
* WebKit.pro: Build testkjs for Gdk and Qt
2007-05-11 Holger Freyther <freyther@kde.org>
Reviewed by Mark Rowe.
......
2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark Rowe.
* kjs/testkjs.pro: Make the Gdk port link to icu
2007-05-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Adele Peterson.
......
......@@ -7,6 +7,10 @@ DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS
INCLUDEPATH += $$PWD/.. $$PWD $$PWD/../bindings $$PWD/../bindings/c $$PWD/../wtf
qt-port:DEFINES += BUILDING_QT__
qt-port:LIBS += -L$$OUTPUT_DIR/lib -lWebKitQt
gdk-port {
QMAKE_CXXFLAGS += $$system(icu-config --cppflags)
LIBS += $$system(icu-config --ldflags)
}
QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/../..
......
2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark Rowe.
No test added as this is hard to time.
* platform/gdk/FrameGdk.cpp: Use needsLayout() to decide if layout()
is needed.
(WebCore::FrameGdk::dumpRenderTree):
(WebCore::FrameGdk::handleGdkEvent):
2007-05-18 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars.
......@@ -129,7 +129,7 @@ void FrameGdk::onDidFinishLoad()
void FrameGdk::dumpRenderTree() const
{
if (view()->layoutPending())
if (view()->needsLayout())
view()->layout();
String txt = externalRepresentation(renderer());
......@@ -206,7 +206,7 @@ void FrameGdk::handleGdkEvent(GdkEvent* event)
cairo_t* cr = gdk_cairo_create(event->any.window);
GraphicsContext ctx(cr);
if (renderer()) {
if (view()->layoutPending())
if (view()->needsLayout())
view()->layout();
IntRect rect(clip.x, clip.y, clip.width, clip.height);
paint(&ctx, rect);
......
......@@ -2,11 +2,11 @@ TEMPLATE = subdirs
CONFIG += ordered
!gdk-port:CONFIG += qt-port
SUBDIRS = \
WebCore
WebCore \
JavaScriptCore/kjs/testkjs.pro
qt-port:SUBDIRS += \
WebKitQt/QtLauncher \
WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro \
JavaScriptCore/kjs/testkjs.pro
WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro
gdk-port:SUBDIRS += \
WebKitTools/GdkLauncher
2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark Rowe.
* GdkLauncher/main.cpp:
(main): Call Frame::init to catch up with Maciej's changes.
* Scripts/run-javascriptcore-tests: Remove --gdk from the command line
passed to the helper scripts.
2007-05-16 Brady Eidson <beidson@apple.com>
Build fix for some dev configurations
......
......@@ -213,6 +213,7 @@ int main(int argc, char* argv[])
gFrame->setView(frameView);
frameView->ScrollView::setDrawable(frameWindow->window);
gFrame->init();
gFrame->loader()->load(ResourceRequest(url));
gtk_main();
#if 0 // FIXME: this crashes at the moment. needs to provide DragClient
......
......@@ -45,7 +45,8 @@ my @xcodeArgs;
# pre-evaluate arguments. jsDriver args have - preceding, xcode args do not.
foreach my $arg(@ARGV) {
print $arg."\n";
if( $arg =~ /^-/ ){
if( $arg =~ /^--gdk$/i ){
} elsif( $arg =~ /^-/ ){
push( @jsArgs, $arg );
} else {
push( @xcodeArgs, $arg );
......@@ -70,7 +71,7 @@ exit WEXITSTATUS($result) if WEXITSTATUS($result);
my $productDir = productDir();
chdir "tests/mozilla" or die;
$productDir .= "/JavaScriptCore" if (isQt());
$productDir .= "/JavaScriptCore" if (isQt() or isGdk());
$ENV{DYLD_FRAMEWORK_PATH} = $productDir;
my $testkjsName;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment