1 2008-01-21 Darin Adler <darin@apple.com>
3 Reviewed by Mitz and Adam.
5 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
6 sorting speed by doing all sort criteria in a single pass instead of three sorts.
8 2008-01-21 Simon Hausmann <hausmann@webkit.org>
12 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
14 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
15 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
16 and make the return value depend on whether we successfully determined a focusable
18 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
19 if we could not handle the focus chain ourselves.
20 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
21 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
22 used to control the situation of stepping out of the focus chain inside the page.
23 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
24 The layout tests expect this to be disabled but for the user it seems sensible to have it
25 on by default, hence the default in qwebsettings.cpp
28 * DumpRenderTree/qt/DumpRenderTree.cpp:
29 (WebCore::WebPage::WebPage):
31 2008-01-19 Mark Rowe <mrowe@apple.com>
33 Reviewed by Alp Toker.
35 Allow the --http flag to run-webkit-tests to override
36 the default behaviour of disabling HTTP tests for Qt,
39 * Scripts/run-webkit-tests:
41 2008-01-19 David Kilzer <ddkilzer@apple.com>
43 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
47 We now touch a check-for-global-initializers.timestamp file in
48 the TARGET_TEMP_DIR directory to determine when new object files
49 have been compiled and thus need to be checked. If the timestamp
50 file doesn't exist, all object files will be checked.
52 Previously the modification time of the "executable" (the
53 framework binary, e.g., WebKit.framework/WebKit) was used, but
54 since this was the last file modified at the end of the compile
55 phase, no object files would ever get checked!
57 Also added JSCustomSQLTransactionCallback.o to the list of files
58 since it has static initializers in Debug builds of WebCore.
60 * Scripts/check-for-global-initializers:
62 2008-01-18 Adam Roben <aroben@apple.com>
66 * Scripts/build-webkit:
68 2008-01-18 Beth Dakin <bdakin@apple.com>
72 Update build-webkit to account for foreign-object being disabled by
75 * Scripts/build-webkit:
77 2008-01-18 Adam Roben <aroben@apple.com>
79 Updated for method renames
83 * DumpRenderTree/mac/FrameLoadDelegate.mm:
84 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
85 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
86 (LayoutTestController::setMainFrameIsFirstResponder):
87 (LayoutTestController::setWindowIsKey):
88 * DumpRenderTree/mac/UIDelegate.mm:
89 (-[UIDelegate webViewFocus:]):
90 * DumpRenderTree/win/FrameLoadDelegate.cpp:
91 (FrameLoadDelegate::didCommitLoadForFrame):
93 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
95 Reviewed by Adam Roben.
97 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
98 between DRT and TestNetscapePlugin.
100 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
101 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
103 2008-01-18 Simon Hausmann <hausmann@webkit.org>
107 Fix fast/dom/Window/window-resize.html
109 In DRT connect the page's geometryChangeRequest signal to a slot that
110 sets the geometry of the view widget.
113 * DumpRenderTree/qt/DumpRenderTree.cpp:
114 (WebCore::WebPage::setViewGeometry):
115 (WebCore::WebPage::WebPage):
117 2008-01-17 Steve Falkenburg <sfalken@apple.com>
121 * Drosera/DroseraWin.make:
123 2008-01-17 Darin Adler <darin@apple.com>
125 * Scripts/run-webkit-tests: Fixed a bug number.
127 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
129 Reviewed by Adam Roben.
131 http://bugs.webkit.org/show_bug.cgi?id=16908
132 run-webkit-tests complains about missing FindSafari.exe
134 * Scripts/webkitdirs.pm: Append _debug as appropriate.
136 2008-01-17 Steve Falkenburg <sfalken@apple.com>
138 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
140 Rubber-stamped by Jon Honeycutt.
142 * DumpRenderTree/win/DumpRenderTree.vcproj:
144 2008-01-16 Alp Toker <alp@atoker.com>
146 Reviewed by Mark Rowe.
148 http://bugs.webkit.org/show_bug.cgi?id=16218
149 [GTK] API: Should this entry point be called go_back rather than go_backward?
151 Track back/forward API changes in the tools.
153 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
154 (BackForwardItem::invoke):
155 * GtkLauncher/main.c:
158 2008-01-16 Adam Roben <aroben@apple.com>
160 Windows build fix after r29488
162 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
163 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
164 expects to find the plugin.
166 2008-01-11 Geoffrey Garen <ggaren@apple.com>
168 Reviewed by Sam Weinig.
170 Fixed the waitUntilDone watchdog timer -- the old code never added the
171 timer to the run loop, so it didn't do anything.
173 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
174 (LayoutTestController::setWaitToDump):
175 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
176 (LayoutTestController::setWaitToDump):
178 2008-01-14 Steve Falkenburg <sfalken@apple.com>
180 Use shared vsprops for most vcproj properties.
184 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
185 * DumpRenderTree/win/DumpRenderTree.vcproj:
186 * DumpRenderTree/win/ImageDiff.vcproj:
187 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
188 * FindSafari/FindSafari.vcproj:
190 2008-01-14 Stephanie <slewis@apple.com>
194 revert accidental character.
196 * Scripts/run-webkit-tests:
198 2008-01-14 Stephanie <slewis@apple.com>
202 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
204 * Scripts/run-webkit-tests:
206 2008-01-14 Darin Adler <darin@apple.com>
208 * Scripts/do-webcore-rename: Queue up another rename.
210 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
214 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
216 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
218 * Scripts/run-webkit-tests:
220 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
224 * Randomize tests array to spot test cases where the results depends on the order
226 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
228 * Scripts/run-webkit-tests:
230 2008-01-14 Darin Adler <darin@apple.com>
232 * Scripts/run-webkit-tests: More ignore list tweaking.
234 2008-01-14 Darin Adler <darin@apple.com>
236 * Scripts/run-webkit-tests: Add another leak to the ignore list.
238 2008-01-14 Dan Bernstein <mitz@apple.com>
240 Reviewed by Adam Roben.
242 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
245 * DumpRenderTree/win/DumpRenderTree.cpp:
246 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
248 2008-01-13 Steve Falkenburg <sfalken@apple.com>
250 Share common files across projects.
253 Debug: common.vsprops, debug.vsprops
254 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
255 Release: common.vsprops, release.vsprops
257 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
258 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
260 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
262 Reviewed by Adam Roben.
264 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
265 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
266 * Drosera/win/Drosera.vcproj/VERSION: Removed.
267 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
268 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
269 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
270 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
271 * DumpRenderTree/win/DumpRenderTree.vcproj:
272 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
273 * DumpRenderTree/win/debug.vsprops: Removed.
274 * DumpRenderTree/win/debug_internal.vsprops: Removed.
275 * DumpRenderTree/win/release.vsprops: Removed.
277 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
281 - http://bugs.webkit.org/show_bug.cgi?id=16314
282 Script to launch Drosera
284 * Scripts/gdb-drosera: Added.
285 * Scripts/run-drosera: Added.
286 * Scripts/run-drosera-nightly.cmd: Added.
287 * Scripts/webkitdirs.pm: Added runDrosera function.
289 2008-01-13 Dan Bernstein <mitz@apple.com>
291 - fix breakage due to last-minute change
293 * DumpRenderTree/win/DumpRenderTree.cpp:
294 (runTest): Declare the loop variable.
296 2008-01-13 Dan Bernstein <mitz@apple.com>
298 Reviewed by Adam Roben.
300 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
302 * DumpRenderTree/win/DumpRenderTree.cpp:
303 (DumpRenderTreeWndProc):
305 (dumpBackForwardList):
306 (dumpBackForwardListForAllWindows):
308 (resetWebViewToConsistentStateBeforeTesting): Factored out of
311 (allWindows): Added. Returns a vector of all open windows.
312 (windowToWebViewMap): Added. Returns a map from open windows to their
314 (createWebViewAndOffscreenWindow): Factored out of main() to be
315 reusable for creating extra windows.
317 * DumpRenderTree/win/DumpRenderTreeWin.h:
318 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
319 (LayoutTestController::windowCount): Implemented.
320 * DumpRenderTree/win/UIDelegate.cpp:
321 (UIDelegate::createWebViewWithRequest): Implemented.
322 (UIDelegate::webViewClose): Implemented.
323 * DumpRenderTree/win/UIDelegate.h:
325 2008-01-12 Alp Toker <alp@atoker.com>
327 Reviewed by Mark Rowe.
329 Hide non-public symbols in GTK+/autotools release builds.
333 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
337 * Make launching of the WebKit httpd work on GNU/Debian/Linux
339 The configuration of Apache2 and installation does not depend on
340 the kernel but on the distribution policy. Make launching of httpd
341 work for Debian derived distributions.
343 * Scripts/run-webkit-httpd:
344 * Scripts/run-webkit-tests:
345 * Scripts/webkitdirs.pm:
347 2008-01-12 Mark Rowe <mrowe@apple.com>
349 Reviewed by Maciej Stachowiak.
351 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
353 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
354 match the callers expectations that it can take ownership of the string.
356 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
358 Reviewed by Adam Roben.
360 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
362 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
363 as these are only posted because the test window is not a normal visible one, and
364 they confuse drag&drop machinery.
366 2008-01-11 Adam Roben <aroben@apple.com>
368 Fix a crash when pathToLocalResource fails and a leak
372 * DumpRenderTree/LayoutTestController.cpp:
373 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
374 sure not to pass null to JSValueMakeString.
375 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
376 (LayoutTestController::pathToLocalResource): Print an error message if
377 the conversion fails so it's clear what happened.
379 2008-01-11 Geoffrey Garen <ggaren@apple.com>
381 Reviewed by John Sullivan.
383 * DumpRenderTree/mac/GCControllerMac.mm:
384 (GCController::collectOnAlternateThread): Updated for name change.
386 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
388 wx build fix. Don't build dftables any longer since it's now a Perl
393 2008-01-10 Sam Weinig <sam@webkit.org>
395 Reviewed by Anders Carlsson.
397 Make DRT track open windows instead of allocated windows so that
398 we can avoid ASSERTION due to late deallocs out of our control.
400 * DumpRenderTree/mac/DumpRenderTree.mm:
401 (dumpBackForwardListForAllWindows):
403 * DumpRenderTree/mac/DumpRenderTreeMac.h:
404 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
405 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
406 (+[DumpRenderTreeWindow openWindows]):
407 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
408 (-[DumpRenderTreeWindow close]):
409 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
410 (LayoutTestController::windowCount):
412 2008-01-10 Ada Chan <adachan@apple.com>
414 Meta key is not the same as Alt key on windows.
418 * DumpRenderTree/win/EventSender.cpp:
421 2008-01-09 Kevin McCullough <kmccullough@apple.com>
423 Reviewed by Darin, Sam and Adam.
425 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
426 link in gmail message displays JavaScript alert falsely complaining
427 about pop-up blocking.
428 - Added the ability to enable the pop-up blocker via the
429 LayoutTestController.
431 * DumpRenderTree/LayoutTestController.cpp:
432 (setPopupBlockingEnabledCallback):
433 (LayoutTestController::staticFunctions):
434 * DumpRenderTree/LayoutTestController.h:
435 * DumpRenderTree/mac/DumpRenderTree.mm:
436 (setDefaultsToConsistentValuesForTesting):
437 (resetWebViewToConsistentStateBeforeTesting):
438 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
439 (LayoutTestController::setPopupBlockingEnabled):
441 2008-01-10 Lars Knoll <lars@trolltech.com>
445 rename QWebPageHistory to QWebHistory.
448 * DumpRenderTree/qt/jsobjects.cpp:
450 2008-01-09 Maciej Stachowiak <mjs@apple.com>
454 - add some more renames, adjust some
456 * Scripts/do-webcore-rename:
458 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
462 Enable SVG Fonts support by default.
464 * Scripts/build-webkit:
466 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
470 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
471 DRT doesn't handle platform specific pixel test results correctly.
473 <test>-expected.txt files and <test>-expected.png files may now live
474 in different directories (ie. a cross-platform <test>-expected.txt file
475 and a platform-specific <test>-expected.png file).
477 * Scripts/run-webkit-tests:
479 2008-01-04 Kevin McCullough <kmccullough@apple.com>
483 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
484 DRT did not correctly handle printing the '\0' char. Now it does.
486 * DumpRenderTree/win/DumpRenderTree.cpp:
490 2008-01-07 Simon Hausmann <hausmann@webkit.org>
494 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
497 * DumpRenderTree/qt/main.cpp:
498 * DumpRenderTree/qt/testplugin.cpp:
499 * DumpRenderTree/qt/testplugin.h:
501 2008-01-05 Mark Rowe <mrowe@apple.com>
503 Reviewed by Alp Toker.
505 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
507 * DumpRenderTree/gtk/DumpRenderTree.cpp:
508 (processWork): Process pending work.
509 (webViewLoadFinished): Schedule processing of pending work.
510 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
512 2008-01-05 Darin Adler <darin@apple.com>
514 * Scripts/do-webcore-rename: Some more renaming plans.
516 2008-01-04 Alice Liu <alice.liu@apple.com>
518 Reviewed by Alexey and Darin.
520 Adding "home" and "end" to DRT's keydown since
521 DOM key events can't handle keyIdentifiers at this point.
523 * DumpRenderTree/mac/EventSendingController.mm:
524 (-[EventSendingController keyDown:withModifiers:]):
525 * DumpRenderTree/win/EventSender.cpp:
528 2008-01-04 Lars Knoll <lars@trolltech.com>
532 fix DRT after the changes to QWebPage.
534 The great thing is that we actually don't have
535 any regressions from the QWebPage change :)
538 * DumpRenderTree/qt/DumpRenderTree.cpp:
539 (WebCore::DumpRenderTree::DumpRenderTree):
541 2008-01-04 Lars Knoll <lars@trolltech.com>
545 make QWebPage a QObject and get things to compile.
547 Nothing works currently though.
550 * DumpRenderTree/qt/DumpRenderTree.cpp:
551 (WebCore::DumpRenderTree::DumpRenderTree):
553 2008-01-04 Lars Knoll <lars@trolltech.com>
557 take a QString as identifier in QWebFrame::addToJSWindowObject.
559 * DumpRenderTree/qt/DumpRenderTree.cpp:
560 (WebCore::DumpRenderTree::initJSObjects):
562 2008-01-04 Alp Toker <alp@atoker.com>
564 GTK+ DRT build fix for breakage introduced in r29149.
566 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
567 (LayoutTestController::execCommand):
569 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
573 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
575 Added layoutTestController.execCommand to access editor commands that are not available
576 via document.execCommand.
578 * DumpRenderTree/LayoutTestController.cpp:
579 (execCommandCallback):
580 (LayoutTestController::staticFunctions):
581 * DumpRenderTree/LayoutTestController.h:
582 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
583 (LayoutTestController::execCommand):
584 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
585 (LayoutTestController::queueLoad):
586 (LayoutTestController::execCommand):
588 2008-01-03 Alice Liu <alice.liu@apple.com>
590 Reviewed by Darin, Mitz.
592 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
594 the clickcount should not increase if the last click was at a different location. it's a new click.
596 * DumpRenderTree/mac/DumpRenderTree.mm:
598 * DumpRenderTree/mac/EventSendingController.h:
599 * DumpRenderTree/mac/EventSendingController.mm:
600 (-[EventSendingController mouseDown]):
601 (-[EventSendingController mouseUp]):
603 2008-01-03 Darin Adler <darin@apple.com>
607 * Scripts/update-webkit: Make this work a little better for the people at Apple
608 who have a directory named Internal.
610 2008-01-03 Adam Roben <aroben@apple.com>
612 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
614 Rubberstamped by Mark.
616 * Scripts/update-webkit-auxiliary-libs:
618 2008-01-03 Adam Roben <aroben@apple.com>
620 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
622 http://bugs.webkit.org/show_bug.cgi?id=15663
624 Added a fuzz factor into the Last-Modified comparison for downloading
625 WebKitAuxiliaryLibrary.zip.
627 The zip file is served from a set of mirrors who give Last-Modified
628 times that are off by 1-3 seconds from each other. This was causing
629 the build bots to redownload WebKitAuxiliaryLibrary for every build,
630 which would then cause all of WebCore to rebuild each time.
634 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
635 at least 30 seconds newer than the old one -- otherwise we assume that
636 the difference in time is due to the mirrors being slightly offset
638 (sub lastModifiedToUnixTime): Added.
640 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
644 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
646 2008-01-03 Simon Hausmann <hausmann@webkit.org>
650 Moved QWebPage::open to QWebFrame::load and added setHtml.
653 * DumpRenderTree/qt/DumpRenderTree.cpp:
654 (WebCore::DumpRenderTree::open):
656 2008-01-03 Simon Hausmann <hausmann@webkit.org>
660 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
663 * DumpRenderTree/qt/DumpRenderTree.cpp:
664 (WebCore::DumpRenderTree::DumpRenderTree):
666 2008-01-02 Sam Weinig <sam@webkit.org>
668 * Scripts/do-webcore-rename: Yet more renaming ideas.
670 2008-01-02 Darin Adler <darin@apple.com>
672 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
674 2008-01-02 Alice Liu <alice.liu@apple.com>
676 Reviewed by Sam Weinig.
678 fixing assertion hit with editing/selection/move-begin-end.html
680 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
681 * DumpRenderTree/win/DumpRenderTree.vcproj:
682 * DumpRenderTree/win/EventSender.cpp:
684 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
686 2008-01-02 Darin Adler <darin@apple.com>
688 * Scripts/do-webcore-rename: Some more name change plans.
690 2008-01-02 Alice Liu <alice.liu@apple.com>
694 Added handling for page up and page down in EventSender
696 * DumpRenderTree/mac/EventSendingController.mm:
697 (-[EventSendingController keyDown:withModifiers:]):
698 * DumpRenderTree/win/EventSender.cpp:
701 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
705 Fix fast/events/arrow-keys-on-body.html for real.
707 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
709 2008-01-02 Luca Bruno <lethalman88@gmail.com>
713 http://bugs.webkit.org/show_bug.cgi?id=16674
714 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
716 * Scripts/run-launcher:
718 2007-12-31 Darin Adler <darin@apple.com>
722 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
723 we get it installed on the build bots.
725 2007-12-30 Eric Seidel <eric@webkit.org>
729 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
731 2007-12-29 Darin Adler <darin@apple.com>
735 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
736 leak bot shows createCStringFromNPVariant result leaking
738 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
739 (pluginInvoke): Added a missing free.
741 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
743 Reviewed by Alp Toker.
745 http://bugs.webkit.org/show_bug.cgi?id=16390
746 Use autotools or GNU make as the build system for the GTK port
748 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
749 * GNUmakefile.am: Added.
751 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
755 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
757 * DumpRenderTree/win/EventSender.cpp:
758 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
759 of 1, even though WebKit currently ignores it.
761 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
763 wx buildbot fix. Update libpng dl script to the latest version.
765 * wx/install-unix-extras:
767 2007-12-22 Antti Koivisto <antti@apple.com>
771 * Scripts/webkitdirs.pm:
773 2007-12-21 Sam Weinig <sam@webkit.org>
775 Reviewed by Mark Rowe.
777 - Disable the back/forward cache using the new WebPreferences API
778 instead of through the BackForwardList. This makes us match what
781 * DumpRenderTree/mac/DumpRenderTree.mm:
782 (createWebViewAndOffscreenWindow):
783 (setDefaultsToConsistentValuesForTesting):
785 2007-12-21 Dan Bernstein <mitz@apple.com>
787 Reviewed by Mark Rowe.
789 - disable the back/forward cache in Windows DumpRenderTree. It is
790 already disabled in Mac DumpRenderTree.
792 * DumpRenderTree/win/DumpRenderTree.cpp:
793 (initializePreferences):
795 2007-12-13 Antti Koivisto <antti@apple.com>
797 Reviewed by Darin and Steve.
799 - check for QuickTime SDK on Windows.
800 - build media support on Windows by default
802 * Scripts/build-webkit:
803 * Scripts/webkitdirs.pm:
805 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
807 Build script fix for buildbot.
811 2007-12-20 Eric Seidel <eric@webkit.org>
815 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
817 2007-12-20 Kevin McCullough <kmccullough@apple.com>
821 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
824 - Drosera and Safari need to use the same ProgIDs in order for
825 CoCreateInstance to work properly. The most robust way to do this is
826 for WebKit to dynamically publish those ProgIDs.
828 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
829 (DebuggerClient::createWebViewWithRequest):
830 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
834 (Drosera::attemptToCreateServerConnection):
835 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
836 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
837 make use of the published ProgIDs.
838 (ServerConnection::attemptToCreateServerConnection):
840 2007-12-20 Kevin McCullough <kmccullough@apple.com>
842 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
843 - Build bot and leak fix.
845 * DumpRenderTree/LayoutTestController.cpp:
846 (pathToLocalResourceCallback):
848 2007-12-19 David Kilzer <ddkilzer@apple.com>
850 Make svn-apply/svn-unapply work with patches from git-format-patch.
855 (patch): If 'Index:' can't be found in the text passed in, print it
856 out with a warning and return early.
857 * Scripts/svn-unapply:
860 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
862 Reviewed by Alp Toker.
867 - Check to make sure the user is running a supported wx port
868 - More robust checks for Cygwin
869 - Only run install-unix-extras on Mac, it's not the right solution
871 - Remove outdated Linux instructions after successful build
872 - Clean Bakefile-generated files during a clean operation
874 2007-12-18 Darin Adler <darin@apple.com>
876 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
878 2007-12-18 Steve Falkenburg <sfalken@apple.com>
880 Add script to run Drosera as part of the nightly.
884 * Scripts/run-drosera.cmd: Added.
886 2007-12-18 Darin Adler <darin@apple.com>
888 * Scripts/do-webcore-rename: Remove a stray K.
890 2007-12-18 Darin Adler <darin@apple.com>
892 * Scripts/do-webcore-rename: Plan more renaming.
894 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
896 Reviewed by Alp Toker.
898 http://bugs.webkit.org/show_bug.cgi?id=16042
899 [GTK] Eliminate webkit_init()
901 Moving webkit initialization to WebView class init.
903 * DumpRenderTree/gtk/DumpRenderTree.cpp:
905 * GtkLauncher/main.c:
908 2007-12-17 Luca Bruno <lethalman88@gmail.com>
910 Reviewed by Alp Toker.
912 http://bugs.webkit.org/show_bug.cgi?id=13542
913 gdklauncher doesnt change URL in adress GTKEntry.
915 * GtkLauncher/main.c:
916 (load_commit_cb): added
920 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
922 Reviewed by Adam Roben.
924 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
926 * FindSafari/FindSafari.cpp:
929 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
931 Reviewed by Adam Roben.
933 http://bugs.webkit.org/show_bug.cgi?id=16315
934 FindSafari needs a path-only option.
936 * FindSafari/FindSafari.cpp:
939 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
943 http://bugs.webkit.org/show_bug.cgi?id=16462
944 REGRESSION: access keys broken on Windows
946 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
949 2007-12-15 Sam Weinig <sam@webkit.org>
951 Reviewed by Mark Rowe.
953 Fix urlSuitableForTestResult to correctly identify wstring::npos as
954 the case when wstring.find doesn't find anything.
956 * DumpRenderTree/win/DumpRenderTree.cpp:
957 (urlSuitableForTestResult):
959 2007-12-15 Alp Toker <alp@atoker.com>
961 GTK+ DRT build fix for GLib < 2.14.
963 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
964 (LayoutTestController::setWaitToDump):
966 2007-12-05 Mark Rowe <mrowe@apple.com>
968 Reviewed by Alp Toker.
970 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
971 many layout tests from hanging while waiting on user responses to dialogs.
973 * DumpRenderTree/gtk/DumpRenderTree.cpp:
974 (invalidateAnyPreviousWaitToDumpWatchdog):
975 (webViewScriptAlert):
976 (webViewScriptPrompt):
977 (webViewScriptConfirm):
979 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
980 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
981 (waitToDumpWatchdogFired):
982 (LayoutTestController::setWaitToDump):
984 2007-12-05 Mark Rowe <mrowe@apple.com>
986 Reviewed by Alp Toker.
988 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
990 * DumpRenderTree/gtk/DumpRenderTree.cpp:
991 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
994 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
995 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
997 (webViewWindowObjectCleared): Set up window.layoutTestController.
998 (webViewConsoleMessage): Match the console message format expected by the layout test results.
999 (main): Hook up the new signals.
1000 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1001 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
1002 dumping multiple times.
1003 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
1004 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
1006 2007-12-14 Anders Carlsson <andersca@apple.com>
1010 Assert that a web frame that's loading a resource always has either a data source or
1011 a provisional data source.
1013 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1014 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1016 2007-12-14 Darin Adler <darin@apple.com>
1018 - fix mistake causing nearly all tests to fail on Windows
1020 * DumpRenderTree/win/UIDelegate.cpp:
1021 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
1022 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
1024 * DumpRenderTree/mac/UIDelegate.mm:
1025 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
1026 than passing the entire message.
1028 2007-12-14 Darin Adler <darin@apple.com>
1032 * DumpRenderTree/mac/UIDelegate.mm:
1033 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
1034 new-to-Leopard methods.
1036 2007-12-14 Darin Adler <darin@apple.com>
1038 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
1039 since it now triggers unwanted icon loading. We only had it because we implemented "all"
1040 delegate methods here.
1042 2007-12-14 Anders Carlsson <andersca@apple.com>
1044 Reviewed by Darin and Geoff.
1046 <rdar://problem/5619295>
1047 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
1049 Add property getting methods to the plug-in.
1051 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1054 2007-12-14 Kevin McCullough <kmccullough@apple.com>
1058 - Layout test fix for mac. When dumped to the console local file paths
1059 now only show the name of the resource not the whole path. This is to
1060 make the results machine and OS independent.
1062 * DumpRenderTree/mac/UIDelegate.mm:
1063 (-[UIDelegate webView:addMessageToConsole:]):
1065 2007-12-13 Kevin McCullough <kmccullough@apple.com>
1069 - Layout tests fix. We need a way to remove machine-dependent
1070 information from paths in layout test results. The UIDelegate now does
1073 * DumpRenderTree/DumpRenderTree.h:
1074 * DumpRenderTree/win/DumpRenderTree.cpp:
1075 (urlSuitableForTestResult):
1076 * DumpRenderTree/win/DumpRenderTreeWin.h:
1077 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1078 * DumpRenderTree/win/UIDelegate.cpp:
1079 (UIDelegate::webViewAddMessageToConsole):
1081 2007-12-13 Alp Toker <alp@atoker.com>
1083 Build fix for DRT breakage introduced in r28690.
1085 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1086 (LayoutTestController::pathToLocalResource):
1088 2007-12-12 Kevin McCullough <kmccullough@apple.com>
1090 Reviewed by Alice and Sam.
1092 - <rdar://5621435> Need a way to specify local resources (being loaded
1093 from HTTP tests) on Windows.
1094 - Implemented pathToLocalResource which exposes the functionality of
1095 converting a given unix path to the correct location on Windows.
1097 * DumpRenderTree/LayoutTestController.cpp:
1098 (pathToLocalResourceCallback):
1099 (LayoutTestController::staticFunctions):
1100 * DumpRenderTree/LayoutTestController.h:
1101 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1102 (LayoutTestController::pathToLocalResource):
1103 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1104 (LayoutTestController::pathToLocalResource):
1106 2007-12-12 Anders Carlsson <andersca@apple.com>
1110 <rdar://problem/5132003>
1111 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
1113 * DumpRenderTree/win/DumpRenderTree.cpp:
1115 Set the resource load delegate.
1117 * DumpRenderTree/win/DumpRenderTree.vcproj:
1119 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
1120 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
1122 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
1124 Reviewed by Adam Roben.
1126 Fix conversion from double to LPARAM in dispatchMessage().
1128 * DumpRenderTree/win/EventSender.cpp:
1129 (dispatchMessageCallback):
1131 2007-12-11 Dan Bernstein <mitz@apple.com>
1133 Reviewed by Mark Rowe and Sam Weinig too!
1135 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
1136 fonts DumpRenderTree registers.
1138 * DumpRenderTree/win/DumpRenderTree.cpp:
1141 2007-12-11 Brady Eidson <beidson@apple.com>
1145 Make DumpRenderTree on mac use its own path for Databases testing
1147 * DumpRenderTree/mac/DumpRenderTree.mm:
1148 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
1149 for future DRT-only use, then use it to construct the Databases path and set that default
1151 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1155 <rdar://problem/5535636>
1156 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1158 http://bugs.webkit.org/show_bug.cgi?id=13916
1159 JavaScript detects Tab as a character input on a textfield validation
1161 * DumpRenderTree/mac/EventSendingController.mm:
1162 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
1163 Dispatch a keyup to better match what happens when a key is physically pressed.
1165 * DumpRenderTree/win/EventSender.cpp:
1166 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
1167 returning from keyDown().
1168 (getConstantCallback): Fixed a couple copy/paste mistakes.
1170 2007-12-07 Kevin McCullough <kmccullough@apple.com>
1174 - <rdar://5599845> Drosera: Does not show loal files in the file list
1177 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
1178 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
1179 so the open source community can build.
1181 2007-12-10 Brady Eidson <beidson@apple.com>
1183 Rubberstamped by Sam Weinig
1185 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
1187 * DumpRenderTree/mac/UIDelegate.mm:
1188 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1189 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
1191 2007-12-08 Oliver Hunt <oliver@apple.com>
1195 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
1197 Fixes <rdar://problem/5620249> Must disable SVG animation
1198 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
1200 In order to allow finer grained control over the set of SVG features
1201 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
1203 ENABLE_SVG_ANIMATION
1209 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
1211 Script handles all the new build flags, and allows --svg-experimental
1212 to automatically enable all features.
1214 * Scripts/build-webkit:
1216 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1218 Fix version parsing.
1220 Rubber-stamped by Oliver.
1222 * Drosera/win/Drosera.vcproj/auto-version.sh:
1224 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1226 Build modifications for Drosera.
1230 * Drosera/DroseraWin.make: Added.
1231 * Drosera/win/Drosera.vcproj/Drosera.rc:
1232 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1233 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
1234 * Drosera/win/Drosera.vcproj/VERSION: Added.
1235 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
1237 2007-12-06 Adam Roben <aroben@apple.com>
1239 Explicitly turn on the Mac font ascent hack on Windows
1241 This keeps our font metrics matching those from Mac.
1245 * DumpRenderTree/win/DumpRenderTree.cpp:
1248 2007-12-06 Anders Carlsson <andersca@apple.com>
1250 Rename main.c to main.cpp here too.
1252 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
1254 2007-12-06 Sam Weinig <sam@webkit.org>
1256 Rubber stamped by Geoff.
1258 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
1260 2007-12-06 Darin Adler <darin@apple.com>
1262 * Scripts/do-webcore-rename: Some more renaming plans.
1264 2007-12-06 Anders Carlsson <andersca@apple.com>
1266 Restore implementation of testGetIntIdentifier that was accidentally
1267 removed somehow (possibly when I made PluginObject be a cpp file).
1269 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1272 2007-12-05 Anders Carlsson <andersca@apple.com>
1274 Make the entry points extern "C".
1275 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1277 2007-12-05 Anders Carlsson <andersca@apple.com>
1281 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1290 2007-12-05 Anders Carlsson <andersca@apple.com>
1292 Add the .cpp files to the TestNetscapePlugIn target.
1294 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1296 2007-12-05 Anders Carlsson <andersca@apple.com>
1300 Rename the TestNetscapePlugIn .c files to be .cpp.
1302 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1303 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
1304 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
1305 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
1306 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
1307 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
1308 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
1309 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1311 2007-12-05 Adam Roben <aroben@apple.com>
1313 Fix case of keypresses from the Windows implementation of eventSender.keyDown
1315 This fixes several regression tests.
1319 * DumpRenderTree/win/EventSender.cpp:
1320 (keyDownCallback): Virtual keycodes for ASCII characters are always
1321 uppercase, so we need to check the case of the original character
1322 passed in to eventSender.keyDown.
1324 2007-12-05 Adam Roben <aroben@apple.com>
1326 Learn from Tim's mistakes
1328 * DumpRenderTree/win/DumpRenderTree.cpp:
1329 (runTest): Reset the authorAndUserStylesEnabled preference for each
1332 2007-12-05 Alp Toker <alp@atoker.com>
1334 Reviewed by Mark Rowe.
1336 Initialize GTK+ and WebKit so the tests can run.
1338 Reorganize the headers a little.
1340 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1343 2007-12-04 Anders Carlsson <andersca@apple.com>
1345 Remove IWebScriptScope include.
1347 * Drosera/win/DebuggerDocumentPlatform.cpp:
1349 2007-12-04 Sam Weinig <sam@webkit.org>
1351 Rubber stamped by Mark Rowe.
1353 Define CF as platform for mac and revert r28409
1355 * DumpRenderTree/DumpRenderTree.h:
1356 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1358 2007-12-04 Sam Weinig <sam@webkit.org>
1360 Define CF as platform for windows.
1362 Reviewed by Adam Roben.
1364 * DumpRenderTree/win/DumpRenderTreeWin.h:
1366 2007-12-04 Kevin McCullough <kmccullough@apple.com>
1368 Reviewed by Adam and Darin.
1370 - Removed a needless BSTR cleanup.
1372 * Drosera/win/DebuggerDocumentPlatform.cpp:
1373 (DebuggerDocument::getPlatformCurrentFunctionStack):
1375 2007-11-27 Adam Roben <aroben@apple.com>
1377 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
1381 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1382 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
1384 2007-12-04 Alp Toker <alp@atoker.com>
1386 Prospective Win DRT build fix.
1388 * DumpRenderTree/DumpRenderTree.h:
1390 2007-12-04 Alp Toker <alp@atoker.com>
1392 Fix a clobbered copyright header.
1394 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1396 2007-12-04 Xan Lopez <xan@gnome.org>
1398 Reviewed by Alp Toker.
1400 http://bugs.webkit.org/show_bug.cgi?id=15561
1401 GTK port needs DumpRenderTree implementation
1403 Start work on the GTK+ DRT.
1405 This does not work yet, and there are a few lingering style issues
1406 (nothing major) but this patch has been stuck in the bug tracker for
1409 * DumpRenderTree/DumpRenderTree.h:
1410 * DumpRenderTree/gtk: Added.
1411 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
1413 (shouldLogFrameLoadDelegates):
1414 (dumpFrameScrollPosition):
1418 (dumpRenderTreeAsText):
1422 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
1423 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
1424 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
1425 (GCController::collect):
1426 (GCController::collectOnAlternateThread):
1427 (GCController::getJSObjectCount):
1428 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
1429 (LayoutTestController::~LayoutTestController):
1430 (LayoutTestController::addDisallowedURL):
1431 (LayoutTestController::clearBackForwardList):
1432 (LayoutTestController::copyDecodedHostName):
1433 (LayoutTestController::copyEncodedHostName):
1434 (LayoutTestController::display):
1435 (LayoutTestController::keepWebHistory):
1436 (LayoutTestController::notifyDone):
1437 (LayoutTestController::queueBackNavigation):
1438 (LayoutTestController::queueForwardNavigation):
1439 (LayoutTestController::queueLoad):
1440 (LayoutTestController::queueReload):
1441 (LayoutTestController::queueScript):
1442 (LayoutTestController::setAcceptsEditing):
1443 (LayoutTestController::setCustomPolicyDelegate):
1444 (LayoutTestController::setMainFrameIsFirstResponder):
1445 (LayoutTestController::setTabKeyCyclesThroughElements):
1446 (LayoutTestController::setUseDashboardCompatibilityMode):
1447 (LayoutTestController::setUserStyleSheetEnabled):
1448 (LayoutTestController::setUserStyleSheetLocation):
1449 (LayoutTestController::setWindowIsKey):
1450 (LayoutTestController::setWaitToDump):
1451 (LayoutTestController::windowCount):
1452 (LayoutTestController::setPrivateBrowsingEnabled):
1453 (LayoutTestController::setAuthorAndUserStylesEnabled):
1454 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
1455 (JSStringCopyUTF8CString):
1457 (ReloadItem::invoke):
1458 (ScriptItem::invoke):
1459 (BackForwardItem::invoke):
1461 2007-12-03 Sam Weinig <sam@webkit.org>
1463 Move JavaScriptCore thread testing code to pthread specific directory
1464 and remove the dependance on CoreFoundation by using WTF::HashSet.
1466 Reviewed by Geoff and Oliver.
1468 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1469 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
1470 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
1471 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
1472 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
1473 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
1474 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
1475 * DumpRenderTree/pthreads: Added.
1476 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
1477 (javaScriptThreads):
1478 (runJavaScriptThread):
1479 (startJavaScriptThreads):
1480 (stopJavaScriptThreads):
1482 2007-12-03 Andrew Bonventre <andybons@google.com>
1484 Reviewed by Darin Adler.
1486 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
1487 Symbol lookup menu broken in debugger view
1489 * Drosera/debugger.js: Fixed javascript error where document property
1490 should have been used instead of contentDocument in switchFunction that
1491 was breaking the select symbol dropdown menu. This is because
1492 window.frames will return a Window object and not a frame object like
1493 the author was originally expecting.
1495 2007-12-03 Kevin McCullough <kmccullough@apple.com>
1499 - <rdar://5618942> Drosera: Console window does not process everything
1501 - <rdar://5619005> Drosera: could be sped up by moving the
1502 WebScriptScope stuff into the WebScriptCallFrame.
1503 - Now the console can correctly process objects and does not receive
1504 notifications from JavaScriptCore about the JavaScript in Drosera's
1507 * Drosera/win/DebuggerDocumentPlatform.cpp:
1508 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1509 (DebuggerDocument::platformValueForScopeVariableNamed):
1511 2007-12-03 Stephanie <slewis@apple.com>
1515 Check to see if we are building a debug root
1517 * Scripts/check-for-global-initializers:
1519 2007-12-03 Dan Bernstein <mitz@apple.com>
1521 Reviewed by Darin Adler.
1523 - added a testGetIntIdentifier() method to TestNetscapePlugIn
1525 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1528 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
1532 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
1533 in a more fine-grained manner than eventSender.keyDown().
1535 * DumpRenderTree/win/EventSender.cpp:
1536 (getConstantCallback):
1537 (dispatchMessageCallback):
1539 2007-12-02 Darin Adler <darin@apple.com>
1541 * Scripts/do-webcore-rename: More planned renaming.
1543 2007-12-02 Sam Weinig <sam@webkit.org>
1545 Rubber stamped by Anders.
1547 Use [NSURL absoluteString] instead of [NSURL description] in order to get
1548 more uniform results cross platform.
1550 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1551 (-[NSURL _drt_descriptionSuitableForTestResult]):
1553 2007-12-02 Sam Weinig <sam@webkit.org>
1555 Rubber stamped by Niko.
1557 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
1559 * DumpRenderTree/win/DumpRenderTree.cpp:
1560 * DumpRenderTree/win/DumpRenderTree.vcproj:
1561 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
1562 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
1563 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
1564 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
1566 2007-12-01 Alp Toker <alp@atoker.com>
1568 Reviewed by Adam Roben.
1570 Make use of the newly introduced webkit.h convenience header.
1572 * GtkLauncher/main.c:
1574 2007-12-01 Adam Treat <treat@kde.org>
1578 * Check to see if the directory exists and exit if not.
1580 * DumpRenderTree/qt/main.cpp:
1583 2007-12-01 Adam Treat <treat@kde.org>
1587 * Don't hide symbols when in Debug mode
1588 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
1591 * DumpRenderTree/qt/main.cpp:
1594 2007-11-30 Alp Toker <alp@atoker.com>
1596 Reviewed by Adam Roben.
1598 http://bugs.webkit.org/show_bug.cgi?id=15691
1599 [GTK] Public API does not follow GTK+ conventions
1601 Refactor the WebKit/GTK+ public API. Changes:
1602 WebKitPage -> WebKitWebView
1603 WebKitFrame -> WebKitWebFrame
1605 Public API source and header names have been updated to mirror the API
1608 The API is now kept in WebKit/gtk/WebView to match other ports in the
1609 same class such as Mac and Win.
1611 * GtkLauncher/main.c:
1612 (activate_uri_entry_cb):
1615 (progress_change_cb):
1621 2007-11-30 Adam Roben <aroben@apple.com>
1623 Hopefully the final build fix
1625 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
1626 pull in WTF's assertion/logging functions.
1628 2007-11-30 Adam Roben <aroben@apple.com>
1632 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
1635 2007-11-30 Adam Roben <aroben@apple.com>
1639 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
1641 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
1643 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
1644 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
1645 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
1647 2007-11-30 Sam Weinig <sam@webkit.org>
1649 Reviewed by Adam Roben.
1651 Fix drawSelectionRect to actually draw the selection rect.
1653 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1654 (drawSelectionRect):
1656 2007-11-30 Darin Adler <darin@apple.com>
1658 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
1660 2007-11-30 Darin Adler <darin@apple.com>
1662 * Scripts/do-webcore-rename: Get ready for some future renaming.
1664 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1668 - Removed some unnecessary functions and changed an unused return type.
1670 * Drosera/win/DebuggerClient.cpp:
1671 (registerConsoleClass):
1672 * Drosera/win/DebuggerClient.h:
1673 * Drosera/win/Drosera.cpp:
1674 (registerDroseraClass):
1676 2007-11-28 Alp Toker <alp@atoker.com>
1678 Reviewed by Timothy Hatcher.
1680 http://bugs.webkit.org/show_bug.cgi?id=16174
1681 [GTK] Use "URI" not "URL" in public API
1683 Replace use of the term "URL" with "URI" in public headers,
1684 documentation and some internal code to match GLib/GTK+ convention.
1686 This is now mentioned in the API guidelines:
1687 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
1689 * GtkLauncher/main.c:
1690 (activate_uri_entry_cb):
1695 2007-11-29 Anders Carlsson <andersca@apple.com>
1699 <rdar://problem/5230478>
1700 FrameLoadDelegate callbacks are not dumped in DRT.
1702 * DumpRenderTree/win/DumpRenderTree.cpp:
1703 (shouldLogFrameLoadDelegates):
1706 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1708 (descriptionSuitableForTestResult):
1709 (FrameLoadDelegate::QueryInterface):
1710 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1711 (FrameLoadDelegate::didFailProvisionalLoadWithError):
1712 (FrameLoadDelegate::didCommitLoadForFrame):
1713 (FrameLoadDelegate::didFinishLoadForFrame):
1714 (FrameLoadDelegate::willCloseFrame):
1715 (FrameLoadDelegate::didClearWindowObject):
1716 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
1717 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
1718 * DumpRenderTree/win/FrameLoaderDelegate.h:
1719 (FrameLoadDelegate::windowScriptObjectAvailable):
1720 (FrameLoadDelegate::didFirstLayoutInFrame):
1722 2007-11-29 Sam Weinig <sam@webkit.org>
1726 Add database quota UIDelegates methods to DRT UIDelegate.
1728 * DumpRenderTree/mac/UIDelegate.mm:
1729 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1730 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
1732 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1736 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
1737 dying and vice versa.
1738 - This fix will allow Drosera and Safari to reconnect if either of them
1739 closes correctly, but does not fix the case where one of them dies
1742 * Drosera/win/ServerConnection.cpp:
1743 (ServerConnection::attemptToCreateServerConnection): Added a safety
1744 check, because it's possilbe to try to connect to a server that's dying.
1745 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
1746 the server has died.
1747 * Drosera/win/ServerConnection.h: Added the new function and removed
1748 an unnecessary member.
1750 2007-11-29 Anders Carlsson <andersca@apple.com>
1752 * DumpRenderTree/win/DumpRenderTree.vcproj:
1753 Add shlwapi.lib to all configurations.
1755 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1757 - Build fix. Added additional includes for VS Express to the Release
1760 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1762 2007-11-29 Anders Carlsson <andersca@apple.com>
1766 <rdar://problem/5132005>
1767 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
1769 * DumpRenderTree/win/DumpRenderTree.vcproj:
1772 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1773 (LayoutTestController::setUserStyleSheetEnabled):
1776 (appendComponentToPath):
1777 New method which wraps the Win32 API PathAppend.
1780 New method which checks if a file points to a shortcut and
1781 follows the shortcut.
1783 (resolveCygwinPath):
1784 New method that takes a cygwin unix-style path and returns the Win32 path.
1786 (cfStringRefToWString):
1788 (LayoutTestController::setUserStyleSheetLocation):
1791 2007-11-29 Alice Liu <alice.liu@apple.com>
1795 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
1797 * DumpRenderTree/win/EventSender.cpp:
1799 uppercase letters were being sent as lowercase letters without the shift key down.
1801 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1803 - Windows build fix. VS express needs some love.
1805 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1807 2007-11-28 Darin Adler <darin@apple.com>
1809 Reviewed by Adam Roben.
1811 * DumpRenderTree/mac/EventSendingController.mm:
1812 (-[EventSendingController keyDown:withModifiers:]):
1813 Send capital letters through as lowercase letters with the shift key down
1814 rather than sending them as if they were highly unusual "capital letter keys".
1816 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
1817 where you need to update results and more tests are failing than before.
1819 2007-11-28 Anders Carlsson <andersca@apple.com>
1823 <rdar://problem/5132001>
1824 contextClick is not implemented in DRT on Windows.
1826 * DumpRenderTree/win/EventSender.cpp:
1827 (contextClickCallback):
1828 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
1829 by a WM_RBUTTONUP message.
1831 * DumpRenderTree/win/UIDelegate.cpp:
1832 (UIDelegate::hasCustomMenuImplementation):
1833 (UIDelegate::trackCustomPopupMenu):
1834 * DumpRenderTree/win/UIDelegate.h:
1835 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
1836 menu from being shown (and causing the DRT to hang).
1838 2007-11-27 Maciej Stachowiak <mjs@apple.com>
1842 Fix DumpRenderTree ObjC bug comparing strings.
1844 * DumpRenderTree/mac/ObjCController.m:
1845 (-[ObjCController identityIsEqual::]): Compare strings with string
1846 equality instead of identiy equality.
1848 2007-11-27 Timothy Hatcher <timothy@apple.com>
1852 Reset the authorAndUserStylesEnabled preference
1853 back to YES for each test. Fixes the broken tests.
1855 * DumpRenderTree/mac/DumpRenderTree.mm:
1856 (resetWebViewToConsistentStateBeforeTesting):
1858 2007-11-27 Kevin McCullough <kmccullough@apple.com>
1862 - Drosera now displays the console window, although it cannot currently
1865 * Drosera/win/DebuggerClient.cpp: Shows the console window.
1866 (registerConsoleClass): Implemented.
1867 (consoleWndProc): Implemented.
1868 (DebuggerClient::onSize): Implemented.
1869 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
1871 * Drosera/win/DebuggerClient.h: Added needed method and members for
1872 creating and maintaining a new window.
1873 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
1874 lines of code to more appropriate places.
1875 (Drosera::handleCommand):
1880 2007-11-27 Timothy Hatcher <timothy@apple.com>
1882 Reviewed by Dave Hyatt.
1884 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
1886 Add support for disabling author and user styles for testing.
1888 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1889 * DumpRenderTree/LayoutTestController.cpp:
1890 (setAuthorAndUserStylesEnabledCallback):
1891 (LayoutTestController::staticFunctions):
1892 * DumpRenderTree/LayoutTestController.h:
1893 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1894 (LayoutTestController::setAuthorAndUserStylesEnabled):
1895 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1896 (LayoutTestController::setAuthorAndUserStylesEnabled):
1898 2007-11-26 Dan Bernstein <mitz@apple.com>
1902 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1904 2007-11-26 Kevin McCullough <kmccullough@apple.com>
1908 - Implemented displaying variables for Drosera on Win.
1910 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
1911 that retrieve variables to not hold onto the return value since it's
1912 not returned. Also changed to use the new signatures of the retrieval
1914 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1915 (DebuggerDocument::platformValueForScopeVariableNamed):
1916 * Drosera/win/Drosera.cpp: Removed a needless TODO.
1919 2007-11-26 Sam Weinig <sam@webkit.org>
1921 Cleanup names of painting and repainting functions.
1923 Reviewed by Adam Roben.
1925 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1926 (drawSelectionRect): was drawSelectionRectIntoContext.
1927 (dumpWebViewAsPixelsAndCompareWithExpected):
1928 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1929 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1930 (paintWebView): was drawWebViewIntoContext.
1931 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
1933 2007-11-26 Sam Weinig <sam@webkit.org>
1935 Reviewed by Dan Bernstein.
1939 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1941 2007-11-26 Sam Weinig <sam@webkit.org>
1943 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
1944 Use shared PixelDumpSupport for Mac DRT
1946 Reviewed by Adam Roben.
1948 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1949 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
1950 * DumpRenderTree/cg/ImageDiffCG.cpp:
1951 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1952 (drawSelectionRectIntoContext):
1953 (dumpWebViewAsPixelsAndCompareWithExpected):
1954 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1955 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1956 * DumpRenderTree/mac/DumpRenderTree.mm:
1958 * DumpRenderTree/mac/ImageDiff.m: Removed.
1959 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
1960 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
1961 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
1962 (setDefaultColorProfileToRGB):
1963 (getBitmapContextFromWebView):
1964 (drawWebViewIntoContext):
1965 (repaintWithVerticalSweep):
1966 (repaintWithHorizontalSweep):
1968 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
1970 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
1972 Bug 16052: prepare-ChangeLog doesn't report deleted files
1973 <http://bugs.webkit.org/show_bug.cgi?id=16052>
1977 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
1979 2007-11-25 David Kilzer <ddkilzer@webkit.org>
1981 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
1982 <http://bugs.webkit.org/show_bug.cgi?id=15864>
1986 Roll functionality of merge-changelog into resolve-ChangeLogs
1987 script. The script now checks for ChangeLog.rej and
1988 ChangeLog.orig files first. If it finds them, it uses the
1989 ChangeLog.rej file as a patch (in old contextual diff format) to
1990 apply with --fuzz=3.
1992 * Scripts/merge-changelog: Removed.
1993 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
1995 2007-11-25 Sam Weinig <sam@webkit.org>
1997 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
1999 Reviewed by Mark Rowe.
2001 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2002 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2003 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2004 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
2005 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
2007 2007-11-25 Sam Weinig <sam@webkit.org>
2009 Convert DumpRenderTree to ues .xcconfig files.
2011 Reviewed by Mark Rowe.
2013 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2014 * DumpRenderTree/mac/Configurations: Added.
2015 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
2016 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
2017 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
2019 2007-11-25 Sam Weinig <sam@webkit.org>
2021 Add ForwardingHeaders to wtf for DumpRenderTree.
2023 Reviewed by Mark Rowe.
2025 * DumpRenderTree/DumpRenderTree.h:
2026 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2027 * DumpRenderTree/ForwardingHeaders: Added.
2028 * DumpRenderTree/ForwardingHeaders/wtf: Added.
2029 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
2030 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
2031 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
2032 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
2033 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
2034 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
2035 * DumpRenderTree/LayoutTestController.cpp:
2036 * DumpRenderTree/WorkQueue.cpp:
2037 * DumpRenderTree/mac/DumpRenderTree.mm:
2038 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2039 * DumpRenderTree/mac/JavaScriptThreading.cpp:
2040 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2041 * DumpRenderTree/mac/ObjCController.m:
2042 * DumpRenderTree/mac/UIDelegate.mm:
2043 * DumpRenderTree/mac/WorkQueueItemMac.mm:
2045 2007-11-25 Adam Roben <aroben@apple.com>
2047 Fix some test failures caused by r28019
2049 Now that stdout is in binary mode, we need to always use printf
2050 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
2055 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
2057 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2058 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2059 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2060 (UIDelegate::webViewAddMessageToConsole):
2062 2007-11-25 Adam Roben <aroben@apple.com>
2064 Set the font smoothing preference in DRT
2066 This makes the pixel results on Windows closer to the Mac results.
2070 * DumpRenderTree/win/DumpRenderTree.cpp:
2071 (initializePreferences):
2073 2007-11-25 Adam Roben <aroben@apple.com>
2075 Port ImageDiff to CG and C++
2077 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
2082 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
2083 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
2085 (createImageFromStdin):
2087 (getDifferenceBitmap):
2088 (computePercentageDifferent):
2089 * DumpRenderTree/win/ImageDiff.vcproj: Added.
2091 2007-11-25 Adam Roben <aroben@apple.com>
2093 Fix image diff link generation on Windows
2097 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
2100 2007-11-25 Adam Roben <aroben@apple.com>
2102 Implement pixel dumping in Windows DRT
2104 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
2109 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
2110 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
2111 Content-Length header.
2112 (getMD5HashStringForBitmap):
2113 (dumpWebViewAsPixelsAndCompareWithExpected):
2114 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
2115 * DumpRenderTree/win/DumpRenderTree.cpp:
2116 (dump): Do a pixel dump if requested.
2117 (main): Parse pixel test options.
2118 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
2119 the cg/ subdirectory to the include path.
2120 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
2121 available in a header or import library, so we have to go through this
2122 LoadLibrary/GetProcAddress dance to use them.
2130 * DumpRenderTree/win/MD5.h: Added.
2131 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
2132 moved up to the top level to share it with Mac eventually.
2133 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
2134 (getBitmapContextFromWebView): Forces the WebView to paint using a
2135 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
2137 2007-11-25 Adam Roben <aroben@apple.com>
2139 Clean up Windows DRT's option parsing a little bit
2143 * DumpRenderTree/win/DumpRenderTree.cpp:
2144 (main): Put non-option arguments into a Vector.
2146 2007-11-25 Adam Roben <aroben@apple.com>
2148 Make Windows DRT stop changing LF into CRLF
2152 * DumpRenderTree/win/DumpRenderTree.cpp:
2153 (main): Put stdout in binary mode.
2154 * Scripts/run-webkit-tests: Remove the CRLF hack.
2156 2007-11-24 David Kilzer <ddkilzer@webkit.org>
2158 Removed empty directory.
2160 * Scripts/resources: Removed.
2162 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
2164 Fix bisect-builds to work with recent WebKit nightly builds.
2168 * Scripts/bisect-builds: Check for the
2169 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
2170 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
2171 to WebKit.app/Contents/Resources.
2173 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
2177 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
2178 not closed (affects digg.com)
2180 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
2181 one after finishing with a test to avoid having its delayed onload handler firing when
2182 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
2183 but it helps somewhat.
2185 2007-11-22 Mark Rowe <mrowe@apple.com>
2187 Reviewed by Alp Toker.
2189 Fix build-webkit to propagate make's exit status if it fails.
2191 * Scripts/webkitdirs.pm:
2193 2007-11-22 Dan Bernstein <mitz@apple.com>
2195 Reviewed by Mark Rowe.
2197 - fix crash when running pixel tests
2199 * DumpRenderTree/mac/DumpRenderTree.mm:
2200 (dumpRenderTree): Parse the command line options before setting up the
2201 environment so that we know if we need to set up the pixel dump
2204 2007-11-21 Eric Seidel <eric@webkit.org>
2206 Speculative build fix for Tiger.
2208 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
2210 2007-11-21 Eric Seidel <eric@webkit.org>
2212 Reviewed by Tim Hatcher.
2214 Break out more of DumpRenderTree.mm into individual files
2216 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2217 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
2220 (makeLargeMallocFailSilently):
2221 * DumpRenderTree/mac/CheckedMalloc.h: Added.
2222 * DumpRenderTree/mac/DumpRenderTree.mm:
2225 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2226 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2227 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2228 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2229 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2230 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
2231 (javaScriptThreads):
2232 (runJavaScriptThread):
2233 (startJavaScriptThreads):
2234 (stopJavaScriptThreads):
2235 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
2236 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
2237 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
2238 (restoreColorSpace):
2239 (setDefaultColorProfileToRGB):
2240 (initializeColorSpaceAndScreeBufferForPixelTests):
2241 (md5HashStringForBitmap):
2242 (dumpWebViewAsPixelsAndCompareWithExpected):
2244 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
2246 Move install-unix-extras to wx directory as it seems only to be used by that
2247 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
2248 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
2249 have install-unix-extras install into WebKitLibraries as per
2252 Reviewed by Mark Rowe.
2254 * Scripts/install-unix-extras: Removed.
2255 * wx/build-wxwebkit:
2256 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
2258 2007-11-21 Eric Seidel <eric@webkit.org>
2262 More refactoring for greater code readability
2264 * DumpRenderTree/mac/DumpRenderTree.mm:
2265 (initializeGlobalsFromCommandLineOptions):
2266 (initializeColorSpaceAndScreeBufferForPixelTests):
2267 (addTestPluginsToPluginSearchPath):
2268 (useLongRunningServerMode):
2269 (runTestingServerLoop):
2270 (prepareConsistentTestingEnvironment):
2274 (dumpBackForwardListForWebView):
2275 (sizeWebViewForCurrentTest):
2276 (methodNameStringForFailedTest):
2277 (dumpBackForwardListForAllWindows):
2278 (dumpWebViewAsPixelsAndCompareWithExpected):
2279 (invalidateAnyPreviousWaitToDumpWatchdog):
2281 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2282 * DumpRenderTree/mac/UIDelegate.mm:
2283 (-[UIDelegate webView:createWebViewWithRequest:]):
2285 2007-11-21 Eric Seidel <eric@webkit.org>
2287 Reviewed by Tim Hatcher.
2289 Abstract more of DRT into static methods
2291 * DumpRenderTree/mac/DumpRenderTree.mm:
2292 (setDefaultsToConsistentValuesForTesting):
2293 (setupSignalHandlers):
2294 (allocateGlobalControllers):
2296 (releaseGlobalControllers):
2298 (shouldLogFrameLoadDelegates):
2299 (createCFURLFromPathOrURL):
2300 (resetWebViewToConsistentStateBeforeTesting):
2303 2007-11-21 Eric Seidel <eric@webkit.org>
2305 Reviewed by Tim Hatcher.
2307 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
2309 * DumpRenderTree/DumpRenderTree.h:
2310 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2311 * DumpRenderTree/mac/DumpRenderTree.mm:
2315 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
2316 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
2317 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
2318 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
2319 (-[DumpRenderTreePasteboard declareType:owner:]):
2320 (+[LocalPasteboard alloc]):
2321 (-[LocalPasteboard init]):
2322 (-[LocalPasteboard dealloc]):
2323 (-[LocalPasteboard name]):
2324 (-[LocalPasteboard releaseGlobally]):
2325 (-[LocalPasteboard declareTypes:owner:]):
2326 (-[LocalPasteboard addTypes:owner:]):
2327 (-[LocalPasteboard changeCount]):
2328 (-[LocalPasteboard types]):
2329 (-[LocalPasteboard availableTypeFromArray:]):
2330 (-[LocalPasteboard setData:forType:]):
2331 (-[LocalPasteboard dataForType:]):
2332 (-[LocalPasteboard setPropertyList:forType:]):
2333 (-[LocalPasteboard setString:forType:]):
2334 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
2335 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
2336 (+[DumpRenderTreeWindow allWindows]):
2337 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2338 (-[DumpRenderTreeWindow dealloc]):
2339 (-[DumpRenderTreeWindow isKeyWindow]):
2340 (-[DumpRenderTreeWindow keyDown:]):
2342 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
2344 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
2345 it indiscriminately copies any headers inside JavaScriptCore,
2346 which includes Tiger ICU headers.
2348 * wx/build-wxwebkit:
2349 Don't run WebCore/move-js-headers.sh any longer.
2351 2007-11-20 Adam Treat <treat@kde.org>
2353 Reviewed by David Kilzer.
2355 * Prepend git branch name to $baseProductDir
2357 * Scripts/VCSUtils.pm:
2358 * Scripts/webkitdirs.pm:
2360 2007-11-20 Mark Rowe <mrowe@apple.com>
2362 Reviewed by Simon Hausmann.
2364 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
2365 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
2366 Have it trigger a "make distclean" rather than "make clean" to ensure that the
2367 built product and generated Makefile's are removed.
2369 2007-11-19 Alp Toker <alp@atoker.com>
2371 Reviewed by Mark Rowe.
2373 http://bugs.webkit.org/show_bug.cgi?id=16040
2374 [GTK] GtkLauncher should be written in C
2376 Port GtkLauncher to plain C.
2378 Use a more conventional GTK+ coding style.
2380 Use a toolbar instead of menus.
2382 Various signature fixes and cleanups.
2384 Add a license header. Assume all previous modifications were copyright
2385 assigned to Apple Inc. by default.
2387 * GtkLauncher/GtkLauncher.pro:
2388 * GtkLauncher/main.c: Added.
2389 (activate_url_entry_cb):
2393 (progress_change_cb):
2402 * GtkLauncher/main.cpp: Removed.
2404 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
2406 Build script fixes to ensure they do the right thing for the
2407 wx port, and update build-wxwebkit to reflect the way the
2408 build scripts now work.
2412 * Scripts/build-testkjs:
2413 * Scripts/build-webkit:
2414 * Scripts/run-javascriptcore-tests:
2415 * Scripts/webkitdirs.pm:
2416 * wx/build-wxwebkit:
2418 2007-11-18 Eric Seidel <eric@webkit.org>
2422 Make run-javascriptcore-tests report failures on exit (to support git bisect)
2424 * Scripts/run-javascriptcore-tests:
2426 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
2428 Reviewed by Adam Roben.
2430 Make run-webkit-tests work with Windows debug build.
2432 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
2433 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
2434 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
2435 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
2436 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
2438 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
2440 Add wxWebKit sample and build script, and integrate it with
2441 build-webkit. Also make build-webkit --clean work for all
2444 Reviewed by Darin Adler.
2446 * Scripts/build-webkit:
2447 * Scripts/webkitdirs.pm:
2449 * wx/browser: Added.
2450 * wx/browser/browser.bkl: Added.
2451 * wx/browser/browser.cpp: Added.
2452 * wx/build-wxwebkit: Added.
2454 2007-11-17 Adam Roben <aroben@apple.com>
2456 Make it easy to run Safari in the debugger on Windows
2458 I've added a new script, debug-safari, which launches Safari in the
2459 debugger. On OS X it just calls gdb-safari.
2461 Reviewed by Mark Rowe.
2463 * FindSafari/FindSafari.cpp:
2464 (_tmain): Added a /debugger flag, which in combination with
2465 /printSafariLauncher will print a script that launches Safari in the
2467 * Scripts/debug-safari: Added.
2468 * Scripts/run-safari: Changed to call runSafari().
2469 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
2470 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
2471 first argument along to FindSafari.
2472 * Scripts/webkitdirs.pm:
2473 (sub runSafari): Added.
2475 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
2477 Reviewed by Adam Roben.
2479 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
2481 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
2483 Reviewed by David Kilzer.
2485 The git config command was renamed to repo-config at some point. This
2486 change tries git config and then git repo-config if the first fails.
2488 * Scripts/prepare-ChangeLog:
2491 2007-11-16 Dan Bernstein <mitz@apple.com>
2493 Reviewed by Darin Adler and Sam Weinig.
2495 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
2497 * DumpRenderTree/win/EventSender.cpp:
2498 (keyDownCallback): For characters that cannot be entered on the active
2499 keyboard layout, send a WM_CHAR message with the character along with
2500 a WM_KEYDOWN message with a virtual key code of 255.
2502 2007-11-16 Mark Rowe <mrowe@apple.com>
2504 Reviewed by Tim Hatcher.
2506 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
2508 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2509 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2511 2007-11-15 Adam Roben <aroben@apple.com>
2513 Make run-safari actually work on Windows
2515 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
2518 2007-11-14 Adam Roben <aroben@apple.com>
2520 Updates to Safari launching now that 3.0.4 is released
2524 * FindSafari/FindSafari.cpp:
2525 (getWebViewCLSID): Use version-independent ProgID.
2526 * Scripts/run-safari: Use run-webkit-nightly.cmd.
2528 2007-11-14 Anders Carlsson <andersca@apple.com>
2532 <rdar://problem/5309081>
2533 In DRT, "plugin.logDestroy = true" not working on Windows.
2535 * DumpRenderTree/win/TestNetscapePlugin/main.c:
2538 2007-11-14 Eric Seidel <eric@webkit.org>
2542 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
2544 2007-11-14 Anders Carlsson <andersca@apple.com>
2548 <rdar://problem/5141186>
2549 window.layoutTestController.setWindowIsKey is not implemented in DRT.
2551 Implement setWindowIsKey.
2553 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2554 (LayoutTestController::setWindowIsKey):
2556 2007-11-13 Sam Weinig <sam@webkit.org>
2558 Reviewed by Adam Roben.
2560 Fix for <rdar://problem/5382579>
2561 http/tests/security/cross-frame-access-put.html reports large
2562 negative numbers for screenLeft and screenTop (Mac reports "0")
2564 * DumpRenderTree/win/UIDelegate.cpp:
2565 (UIDelegate::UIDelegate): Initialize the RECT.
2566 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
2567 (UIDelegate::webViewFrame): ditto.
2568 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
2570 2007-11-13 Kevin McCullough <kmccullough@apple.com>
2574 - Make Drosera show source, source URLs, and function stack on Windows,
2575 and some minor fixes.
2577 * Drosera/DebuggerDocument.cpp: Force source to always update display.
2578 (DebuggerDocument::updateFileSource):
2579 * Drosera/debugger.js: Force source to always update display.
2580 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
2582 (DebuggerClient::resume):
2583 (DebuggerClient::pause):
2584 (DebuggerClient::stepInto):
2585 (DebuggerClient::stepOver):
2586 (DebuggerClient::stepOut):
2587 (DebuggerClient::showConsole):
2588 (DebuggerClient::closeCurrentFile):
2589 * Drosera/win/DebuggerClient.h: Ditto.
2590 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
2591 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
2592 removed two bugs. 1) caller could be in a bad state when asked to
2593 assign into it. 2) BSTRs were not created correctly.
2594 (DebuggerDocument::getPlatformCurrentFunctionStack):
2595 * Drosera/win/Drosera.cpp: Hook up the menu controls.
2600 (Drosera::stepInto):
2601 (Drosera::stepOver):
2603 (Drosera::showConsole):
2604 (Drosera::closeCurrentFile):
2605 * Drosera/win/Drosera.h: Hook up the menu controls.
2606 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
2607 functions, added a null check, and fixed another bug where caller could
2608 be in a bad state when asked to assign into it.
2609 (ServerConnection::didLoadMainResourceForDataSource):
2610 (ServerConnection::getCallerFrame):
2611 * Drosera/win/ServerConnection.h: Safety first.
2613 2007-11-13 Dan Bernstein <mitz@apple.com>
2615 Reviewed by Darin Adler.
2617 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
2618 DumpRenderTree --pixel-tests renders each test twice
2620 * DumpRenderTree/mac/DumpRenderTree.mm:
2621 (dumpRenderTree): Removed the --paint option because the painting code
2622 is always exercised as a result of
2623 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
2624 calling -displayIfNeeded.
2625 (dump): Changed to always grab the image from the window since the view
2626 is always displayed.
2629 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
2630 because it always paints.
2632 2007-11-12 Antti Koivisto <antti@apple.com>
2636 Add support for http media tests
2638 * Scripts/run-webkit-tests:
2640 2007-11-12 Sam Weinig <sam@webkit.org>
2642 Reviewed by Adam Roben.
2644 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
2646 * DumpRenderTree/win/DumpRenderTree.cpp:
2648 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2649 (LayoutTestController::setPrivateBrowsingEnabled):
2651 2007-11-12 Adam Roben <aroben@apple.com>
2653 * Scripts/update-webkit-localizable-strings: Changed to only scan the
2654 mac and win subdirectories.
2656 2007-11-11 Adam Roben <aroben@apple.com>
2658 Fix <rdar://5133816> keepWebHistory is not implemented
2660 Fixes fast/history/clicked-link-is-visited.html.
2664 * DumpRenderTree/win/DumpRenderTree.cpp:
2665 (runTest): Clear the optionalSharedHistory.
2666 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2667 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
2669 2007-11-10 Sam Weinig <sam@webkit.org>
2671 Reviewed by Tim Hatcher.
2673 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
2674 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
2677 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
2679 Added test: http/tests/security/cross-frame-access-private-browsing.html
2681 * DumpRenderTree/LayoutTestController.cpp:
2682 (setPrivateBrowsingEnabledCallback):
2683 (LayoutTestController::staticFunctions):
2684 * DumpRenderTree/LayoutTestController.h:
2685 * DumpRenderTree/mac/DumpRenderTree.mm:
2686 (runTest): Default to private browsing disabled.
2687 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2688 (LayoutTestController::setPrivateBrowsingEnabled):
2689 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2690 (LayoutTestController::setPrivateBrowsingEnabled):
2692 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2696 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
2699 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2700 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
2701 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2702 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2703 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
2704 * Drosera/win/Drosera.cpp:
2705 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2707 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2711 - Use the new IWebFrame [local] function signature and get the shared
2714 * Drosera/win/DebuggerClient.cpp:
2715 (DebuggerClient::didFinishLoadForFrame):
2716 * Drosera/win/ServerConnection.cpp:
2717 (ServerConnection::attemptToCreateServerConnection):
2719 2007-11-07 Dan Bernstein <mitz@apple.com>
2721 Reviewed by Darin Adler.
2723 - add an option to run-webkit-tests to ignore pixel test failures where
2724 all pixels differ by no more than a specified threshold
2726 * DumpRenderTree/mac/ImageDiff.m:
2729 (computePercentageDifferent):
2730 * Scripts/run-webkit-tests:
2732 2007-11-07 Simon Hausmann <hausmann@kde.org>
2736 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2738 * DumpRenderTree/qt/DumpRenderTree.cpp:
2740 2007-11-07 Simon Hausmann <hausmann@kde.org>
2744 Reworked the QWebSettings API.
2745 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2747 * DumpRenderTree/qt/DumpRenderTree.cpp:
2749 2007-11-07 Simon Hausmann <hausmann@kde.org>
2753 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2755 * DumpRenderTree/qt/jsobjects.cpp:
2757 2007-11-07 Simon Hausmann <hausmann@kde.org>
2759 Reviewed by Lars Knoll <lars@trolltech.com>.
2761 Add a QWebPage::frameCreated() signal and fix DRT
2763 The removal of createFrame in QWebPage broke the re-implementation
2764 in DumpRenderTree. Instead emit a frameCreated() signal and
2765 connect to it in DumpRenderTree.
2768 * DumpRenderTree/qt/DumpRenderTree.cpp:
2769 (WebCore::WebPage::WebPage):
2770 (WebCore::DumpRenderTree::dump):
2771 (WebCore::DumpRenderTree::connectFrame):
2772 * DumpRenderTree/qt/DumpRenderTree.h:
2774 2007-11-07 Simon Hausmann <hausmann@kde.org>
2776 Reviewed by Lars Knoll <lars@trolltech.com>.
2778 Moved all the event handlers from QWebFrame into QWebPage.
2780 This cleans up the public API and allows us to remove the
2781 HackWebFrame hack in DumpRenderTree.
2784 * DumpRenderTree/qt/jsobjects.cpp:
2785 (EventSender::mouseDown):
2786 (EventSender::mouseUp):
2787 (EventSender::mouseMoveTo):
2789 2007-11-07 Simon Hausmann <hausmann@kde.org>
2793 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
2794 to prevent the default implementation from popping up messageboxes.
2796 * DumpRenderTree/qt/DumpRenderTree.cpp:
2797 (WebCore::WebPage::javaScriptConfirm):
2798 (WebCore::WebPage::javaScriptPrompt):
2800 2007-11-06 Eric Seidel <eric@webkit.org>
2802 * Scripts/build-testkjs: build fix... too many $$
2804 2007-11-06 Eric Seidel <eric@webkit.org>
2806 Reviewed by Mark Rowe.
2808 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
2810 2007-11-05 Adam Roben <aroben@apple.com>
2812 Add support on Windows for WEBKIT_TESTFONTS
2814 This environment variable lets you specify where the fonts to be used
2815 by DumpRenderTree reside. The Qt port is already using this, so I'm
2816 just following their lead.
2820 * DumpRenderTree/win/DumpRenderTree.cpp:
2821 (exePath): Refactored code out of initialize().
2822 (fontsPath): Returns either $WEBKIT_TESTFONTS or
2823 DumpRenderTree.resources.
2824 (initialize): Use the new fontsPath function.
2825 (main): Use the new exePath function.
2826 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
2827 variable to DRT, like Qt does.
2829 2007-11-05 Mark Rowe <mrowe@apple.com>
2831 Rubber-stamped by Alp Toker.
2833 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
2835 * GtkLauncher/main.cpp:
2839 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
2841 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
2842 <http://bugs.webkit.org/show_bug.cgi?id=15830>
2844 Reviewed by Timothy.
2846 Restrict the range of nightly builds used by the bisect-builds script
2847 based on the version of Safari and the version of Mac OS X being used.
2849 Mac OS X 10.4: Safari 2.0: r11976 or newer
2850 Mac OS X 10.4: Safari 3.0: r19992 or newer
2852 Mac OS X 10.5: Safari 2.0: r19594 or newer
2853 Mac OS X 10.5: Safari 3.0: r25124 or newer
2855 * Scripts/bisect-builds:
2856 (findMacOSXVersion): Added.
2857 (makeNightlyList): Added argument to provide version of Mac OS X.
2858 Restrict range of nightly builds based on Safari and Mac OS X versions.
2860 2007-11-04 Kevin McCullough <kmccullough@apple.com>
2864 - This patch involves several changes, all of them were noticed that
2865 they were needed by the work being done in WebKit to get Drosera and
2866 WebKit working together on Windows.
2868 1) Added a debugger console for output messages.
2869 2) Drosera now listens for the WebKit server (before, the server would
2870 have to be running before Drosera was started.)
2871 3) Fixed a bug where the WebView started out as 0x0 pixels.
2872 4) Fixed a bug when there is no scope.
2873 5) Added the HTML, JS, and CSS to the project file to make them easy to
2875 6) Made the ServerConnection functions virtual.
2877 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
2878 for the WebKit server.
2879 (DebuggerClient::DebuggerClient):
2880 (DebuggerClient::~DebuggerClient):
2881 (DebuggerClient::didFinishLoadForFrame):
2882 (DebuggerClient::serverConnected):
2883 (DebuggerClient::attemptToCreateServerConnection):
2884 * Drosera/win/DebuggerClient.h: Ditto.
2885 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
2887 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2888 (DebuggerDocument::platformValueForScopeVariableNamed):
2889 * Drosera/win/Drosera.cpp:
2890 (_tWinMain): Added a console in debug for output messages.
2891 (Drosera::Drosera): Listen for server.
2892 (Drosera::initUI): The server now Initializes COM.
2893 (Drosera::serverConnected): Part of the listening for the server.
2894 (Drosera::attemptToCreateServerConnection): Ditto.
2895 * Drosera/win/Drosera.h: New interface for listening for the server.
2896 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
2897 files to the VS project.
2898 * Drosera/win/ServerConnection.cpp: Part of listening for the server
2900 (ServerConnection::ServerConnection):
2901 (ServerConnection::attemptToCreateServerConnection):
2902 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
2904 (ServerConnection::serverConnected):
2906 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
2910 http://bugs.webkit.org/show_bug.cgi?id=15832
2911 fast/dom/gc-10.html crashes when run alone
2913 Check for !done before using objects that can be already deallocated.
2915 * DumpRenderTree/mac/EditingDelegate.mm:
2916 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2917 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2918 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2919 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2920 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2921 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2922 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2923 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2924 (-[EditingDelegate webViewDidBeginEditing:]):
2925 (-[EditingDelegate webViewDidChange:]):
2926 (-[EditingDelegate webViewDidEndEditing:]):
2927 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2928 (-[EditingDelegate webViewDidChangeSelection:]):
2929 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2930 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2931 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2932 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2933 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2934 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2935 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2936 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2937 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2938 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2939 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2940 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2941 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2942 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2943 (-[FrameLoadDelegate webView:willCloseFrame:]):
2944 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2945 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2946 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2947 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2948 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2949 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2950 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2951 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2952 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2954 2007-11-04 Mark Rowe <mrowe@apple.com>
2956 Build fix. Don't use Carbon.h as the prefix header as it triggers
2957 warnings that would otherwise be suppressed due to it being a system header.
2959 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2961 2007-11-03 Maciej Stachowiak <mjs@apple.com>
2963 Rubber stamped by Adam.
2965 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
2967 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2969 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
2971 Sort files(...); sections of Xcode project files.
2973 Rubber-stamped by Darin.
2975 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2976 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2977 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2978 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2980 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
2982 Script to sort "files(...);" sections in Xcode project.pbxproj files.
2986 * Scripts/sort-Xcode-project-file: Added.
2988 2007-11-02 Darin Adler <darin@apple.com>
2990 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
2992 2007-11-02 Darin Adler <darin@apple.com>
2996 * Scripts/run-sunspider: Pass the "--base" option through.
2998 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
2999 the real script do that. Default configuration to Release to match run-sunspider
3000 so we don't end up building Debug just to compare results.
3002 2007-11-01 Adam Roben <aroben@apple.com>
3004 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
3008 * Scripts/commit-log-editor: Show all the directories beneath the
3009 source root, instead of just the last one.
3011 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
3013 Reviewed by Adam Roben.
3015 Print out an error message when the Windows build fails
3016 and provide guidance on how to find out what went wrong.
3018 * Scripts/build-webkit:
3019 * Scripts/webkitdirs.pm:
3021 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
3023 Rubber-stamped by Adam Roben.
3025 Rolled out r27326 - debug CRT seems to cause no problems after all.
3027 * DumpRenderTree/win/DumpRenderTree.vcproj:
3029 2007-10-31 Adam Roben <aroben@apple.com>
3031 Switch the Debug configuration to using the non-debug CRT
3033 This matches WebKit.
3037 * DumpRenderTree/win/DumpRenderTree.vcproj:
3039 2007-10-31 Antti Koivisto <antti@apple.com>
3043 Disable media tests when doing leak checking on Tiger.
3044 They crash in QuickTime (rdar://problem/5537157).
3046 * Scripts/run-webkit-tests:
3048 2007-10-29 Antti Koivisto <antti@apple.com>
3052 Build media support by default on OSX only.
3054 * Scripts/build-webkit:
3056 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3058 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
3059 get caught by the pre-commit hooks.
3061 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3065 - This is a collection of relatively unrelated changes and cleanups
3066 to Drosera to prepare it for interacting with WebKit. A lot of these
3067 changes are just correcting mistakes, for example removing included
3068 headers that are no longer needed.
3070 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
3071 this will be needed by the DebuggerClient.
3072 (DebuggerDocument::server):
3073 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
3074 * Drosera/win/DebuggerClient.cpp:
3075 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
3076 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
3077 (DebuggerClient::createWebViewWithRequest): Added comment about its
3079 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
3081 (DebuggerClient::webViewLoaded): Moved.
3082 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
3083 file, since this was the only place it was used.
3085 * Drosera/win/Drosera.h: Cleaned up the includes.
3086 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
3087 * Drosera/win/HelperFunctions.h: Removed.
3089 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3093 - Small cleanup in the ServerConnection class.
3095 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
3096 and added an include.
3097 (ServerConnection::currentFrame):
3098 (ServerConnection::getCallerFrame):
3099 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
3100 made a pointer into a COMPtr, and cleaned up the includes.
3102 2007-10-29 Timothy Hatcher <timothy@apple.com>
3104 Reviewed by John Sullivan.
3106 - Place the Localizable.strings file in mac or win directories
3107 if that location exists.
3108 - Also look for UI_STRING in .c files.
3110 * Scripts/extract-localizable-strings:
3112 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3116 - Set the eol-style to native and made all the line endings the same
3117 so that I avoid messy diffs that show eol changes.
3119 * Drosera/win/ServerConnection.cpp:
3120 (ServerConnection::didParseSource):
3121 (ServerConnection::didEnterCallFrame):
3122 (ServerConnection::willExecuteStatement):
3123 (ServerConnection::willLeaveCallFrame):
3124 (ServerConnection::exceptionWasRaised):
3126 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3130 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
3131 functionality that could not have existed previously without the new
3133 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
3134 from a BSTR to a JSValueRef.
3135 (DebuggerDocument::platformEvaluateScript): Implemented.
3136 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
3137 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3139 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
3140 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
3141 * Drosera/win/ServerConnection.cpp: Added a helper function.
3142 (ServerConnection::getCallerFrame):
3143 * Drosera/win/ServerConnection.h: Added a helper function.
3145 2007-10-29 Kevin McCullough <kmccullough@apple.com>
3147 updated reviewers for my previous changelog.
3149 2007-10-29 Kevin McCullough <kmccullough@apple.com>
3150 Reviewed by Maciej and Adam and Geoff.
3152 - Minor mac-side improvements including moving a function to a more
3153 appropriate location, fixing a warning, and correctly checking
3156 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
3157 (DebuggerDocument::willExecuteStatement):
3158 (DebuggerDocument::didEnterCallFrame):
3159 (DebuggerDocument::willLeaveCallFrame):
3160 (DebuggerDocument::windowScriptObjectAvailable):
3161 (DebuggerDocument::callFunctionOnObject):
3162 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
3163 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
3164 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
3165 because it doesn't require the ServerConnection at all.
3166 (NSStringCreateWithJSStringRef): Made an argument const.
3167 (JSValueRefCreateWithNSString): Made an argument const.
3168 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
3169 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3170 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
3171 * Drosera/mac/ServerConnection.mm: Ditto.
3172 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
3174 2007-10-29 Sam Weinig <sam@webkit.org>
3176 Reviewed by Adam Roben.
3178 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
3180 * DumpRenderTree/LayoutTestController.cpp:
3181 (LayoutTestController::LayoutTestController):
3182 (getGlobalFlagCallback):
3183 (setGlobalFlagCallback):
3184 (LayoutTestController::getJSClass):
3185 (LayoutTestController::staticValues):
3186 * DumpRenderTree/LayoutTestController.h:
3187 (LayoutTestController::globalFlag):
3188 (LayoutTestController::setGlobalFlag):
3190 2007-10-29 Darin Adler <darin@apple.com>
3194 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
3195 resolution instead of its default.
3197 2007-10-29 David Kilzer <ddkilzer@webkit.org>
3199 Fixed showStatus() to print status for successfully resolved conflicts when using git.
3201 Reviewed by Mark Rowe.
3203 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
3204 was successfully resolved, but this would not show any status because the change had
3205 already been cached in the index using "git add". The solution is to add an optional
3206 second argument to showStatus() which adds the "--cached" switch to the command.
3208 * Scripts/resolve-ChangeLogs:
3211 2007-10-28 Eric Seidel <eric@webkit.org>
3213 Reviewed by Maciej and Geoff, in unison.
3215 * Scripts/run-webkit-tests: remove broken --svg option
3217 2007-10-28 Darin Adler <darin@apple.com>
3221 * Scripts/run-sunspider: Default to "Release" configuration rather than
3222 defaulting to the last configuration used as other scripts do. This can
3223 still be overriden on the command line with "--debug" if there's some
3224 reason to do so. Also fix a typo.
3226 * Scripts/sunspider-compare-results: Fix a typo.
3228 2007-10-26 Kevin McCullough <kmccullough@apple.com>
3232 - Implemented the WebScriptDebugListener functions now that the
3233 WebScriptDebugServer exists
3235 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
3237 (ServerConnection::currentFrame):
3238 (ServerConnection::didLoadMainResourceForDataSource):
3239 (ServerConnection::didParseSource):
3240 (ServerConnection::failedToParseSource):
3241 (ServerConnection::didEnterCallFrame):
3242 (ServerConnection::willExecuteStatement):
3243 (ServerConnection::willLeaveCallFrame):
3244 (ServerConnection::exceptionWasRaised):
3245 * Drosera/win/ServerConnection.h: Removed unused arguments from the
3246 members arguments list.
3248 2007-10-26 David Kilzer <ddkilzer@webkit.org>
3250 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
3251 <http://bugs.webkit.org/show_bug.cgi?id=15600>
3255 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
3256 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
3257 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
3258 file. Note that it may also be used as a stand-alone script.
3260 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
3261 * Scripts/resolve-ChangeLogs: Added.
3262 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
3264 2007-10-26 Mark Rowe <mrowe@apple.com>
3266 Qt build fix. r27084 added a destructor implementation for LayoutTestController
3267 to the Qt port on the assumption that it was an implementation of the cross-platform
3268 LayoutTestController class. It is not, so it did not need to be changed.
3270 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
3272 2007-10-25 Mark Rowe <mrowe@apple.com>
3276 Fix builds with code coverage enabled.
3278 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
3280 2007-10-25 Darin Adler <darin@apple.com>
3282 Reviewed by Mark Rowe.
3284 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
3285 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
3287 2007-10-25 Stephanie <slewis@apple.com>
3291 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3293 2007-10-25 Stephanie <slewis@apple.com>
3295 Reviewed by Mark Rowe, Adam Roben.
3297 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
3299 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3301 2007-10-25 Alice Liu <alice.liu@apple.com>
3305 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
3307 Moving destructor into platform-specific files
3308 * DumpRenderTree/LayoutTestController.cpp:
3309 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3310 (LayoutTestController::~LayoutTestController):
3311 * DumpRenderTree/qt/jsobjects.cpp:
3312 (LayoutTestController::~LayoutTestController):
3314 LayoutTestController wasn't being destroyed
3315 * DumpRenderTree/win/DumpRenderTree.cpp:
3319 * DumpRenderTree/win/EditingDelegate.h:
3321 Reset certain values on the webview (or related delegate) that might
3322 have changed while running a test
3323 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3324 (LayoutTestController::~LayoutTestController):
3326 2007-10-25 Adam Roben <aroben@apple.com>
3328 Make sunspider-compare-results work with relative paths
3332 * Scripts/sunspider-compare-results: Convert arguments to absolute
3333 paths before we chdir.
3335 2007-10-25 Kevin McCullough <kmccullough@apple.com>
3339 - Implemented server calls now the WebScriptDebugServer exists.
3340 - Also removed no longer needed call to initialize CG.
3342 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
3345 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
3346 (ServerConnection::ServerConnection):
3347 (ServerConnection::~ServerConnection):
3348 (ServerConnection::pause):
3349 (ServerConnection::resume):
3350 (ServerConnection::stepInto):
3351 (ServerConnection::applicationTerminating):
3352 (ServerConnection::serverConnectionDidDie):
3353 * Drosera/win/ServerConnection.h: Now uses the COM class.
3355 2007-10-24 George Staikos <staikos@kde.org>
3359 * Scripts/build-webkit:
3361 2007-10-24 Adam Roben <aroben@apple.com>
3363 Remove now-unnecessary call to InitializeCoreGraphics
3365 WebKit takes care of this now.
3369 * DumpRenderTree/win/DumpRenderTree.cpp:
3372 2007-10-24 Adam Roben <aroben@apple.com>
3374 Use WebTextRenderer in DRT
3378 * DumpRenderTree/win/DumpRenderTree.cpp:
3379 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
3381 2007-10-24 Sven Herzberg <sven@imendio.com>
3383 Reviewed by Mark Rowe.
3385 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
3386 Bug 15614: [GTK] qmake based backends don't build on OS X
3388 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
3389 GTK backend on a Mac
3390 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
3391 isDarwin() to make it reusable in other places (like the workaround-
3392 for-prebuilt-qmake in build-webkit)
3394 2007-10-24 David Kilzer <ddkilzer@webkit.org>
3396 Refurbish update-webkit script.
3400 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
3401 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
3402 multi-argument version of system() for flexibility and security. Check for existence
3403 of Internal directory using -d test instead of -x.
3405 2007-10-24 David Kilzer <ddkilzer@webkit.org>
3407 Minor clean-up of prepare-ChangeLog script.
3411 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
3412 of a string. Use multi-argument versions of open() and system() for flexibility and
3415 2007-10-24 Alice Liu <alice.liu@apple.com>
3419 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
3421 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
3422 replay the saved events when we're still processing the mousedown that starts the drag
3423 * DumpRenderTree/win/EventSender.cpp:
3425 * DumpRenderTree/win/UIDelegate.cpp:
3426 (UIDelegate::doDragDrop):
3428 2007-10-24 Kevin McCullough <kmccullough@apple.com>
3430 Reviewed by Sam, Steve and Darin.
3432 - Stubbed out the WebScriptDebugListener functionality in the Server
3433 Connection class to prepare it for receiving those callbacks.
3434 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
3435 and the ServerConnection to not need to be initialized with a server
3436 name, since that is not the way we connect to the WebKit server.
3438 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
3439 no exception. Now it only loggs when there is an exception
3440 (DebuggerDocument::willExecuteStatement):
3441 (DebuggerDocument::didEnterCallFrame):
3442 (DebuggerDocument::willLeaveCallFrame):
3443 (DebuggerDocument::windowScriptObjectAvailable):
3444 (DebuggerDocument::callFunctionOnObject):
3445 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
3446 to be instantiated with a server's name.
3447 (DebuggerClient::DebuggerClient):
3448 (DebuggerClient::didFinishLoadForFrame):
3449 * Drosera/win/DebuggerClient.h: Removed unsued variable.
3450 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
3453 (Drosera::initServer):
3454 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
3455 instantiated with a server's name.
3456 * Drosera/win/ServerConnection.cpp:
3457 (ServerConnection::ServerConnection): No longer needs a server name
3458 (ServerConnection::~ServerConnection): Only release the global context
3460 (ServerConnection::serverConnectionDidDie): Stub for
3461 IWebScriptDebugListener
3462 (ServerConnection::QueryInterface): ditto
3463 (ServerConnection::AddRef): ditto
3464 (ServerConnection::Release): ditto
3465 (ServerConnection::didLoadMainResourceForDataSource): ditto
3466 (ServerConnection::didParseSource): ditto
3467 (ServerConnection::failedToParseSource): ditto
3468 (ServerConnection::didEnterCallFrame): ditto
3469 (ServerConnection::willExecuteStatement): ditto
3470 (ServerConnection::willLeaveCallFrame): ditto
3471 (ServerConnection::exceptionWasRaised): ditto
3472 * Drosera/win/ServerConnection.h: Stubbed out the
3473 IWebScriptDebugListener functions, and this class no longer needs to be
3474 instantiated with a server name.
3476 2007-10-24 Lars Knoll <lars@trolltech.com>
3480 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
3482 * DumpRenderTree/qt/jsobjects.h:
3484 2007-10-24 Lars Knoll <lars@trolltech.com>
3488 add another command.
3490 * DumpRenderTree/qt/jsobjects.cpp:
3491 (TextInputController::doCommand):
3493 2007-10-24 Lars Knoll <lars@trolltech.com>
3497 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
3499 * DumpRenderTree/qt/jsobjects.cpp:
3500 (EventSender::keyDown):
3501 * DumpRenderTree/qt/jsobjects.h:
3503 2007-10-24 Lars Knoll <lars@trolltech.com>
3507 implement eventSender.keyDown().
3509 * DumpRenderTree/qt/jsobjects.cpp:
3510 (EventSender::keyDown):
3512 2007-10-24 Lars Knoll <lars@trolltech.com>
3516 some smaller fixes to the editing support in DRT. Makes another few tests pass.
3518 * DumpRenderTree/qt/DumpRenderTree.cpp:
3519 (WebCore::DumpRenderTree::DumpRenderTree):
3520 (WebCore::DumpRenderTree::initJSObjects):
3521 * DumpRenderTree/qt/jsobjects.cpp:
3522 (TextInputController::doCommand):
3524 2007-10-24 Lars Knoll <lars@trolltech.com>
3528 first bit of implementation for the textinputcontroller.
3530 * DumpRenderTree/qt/DumpRenderTree.cpp:
3531 (WebCore::DumpRenderTree::DumpRenderTree):
3532 * DumpRenderTree/qt/DumpRenderTree.h:
3533 * DumpRenderTree/qt/jsobjects.cpp:
3534 (TextInputController::TextInputController):
3535 (TextInputController::doCommand):
3536 * DumpRenderTree/qt/jsobjects.h:
3538 2007-10-24 Lars Knoll <lars@trolltech.com>
3542 make the man webpage believe it has focus, so the editing tests work correctly.
3544 * DumpRenderTree/qt/DumpRenderTree.cpp:
3545 (WebCore::DumpRenderTree::DumpRenderTree):
3547 2007-10-24 Lars Knoll <lars@trolltech.com>
3551 implement layoutTestController.dumpEditingCallbacks() correctly.
3553 * DumpRenderTree/qt/DumpRenderTree.cpp:
3554 (WebCore::DumpRenderTree::DumpRenderTree):
3555 * DumpRenderTree/qt/jsobjects.cpp:
3556 (LayoutTestController::reset):
3557 (LayoutTestController::dumpEditingCallbacks):
3559 2007-10-24 Lars Knoll <lars@trolltech.com>
3563 Implement support for testing editing.
3565 * DumpRenderTree/qt/DumpRenderTree.cpp:
3566 (WebCore::DumpRenderTree::DumpRenderTree):
3568 2007-10-23 Sam Weinig <sam@webkit.org>
3570 Check for null BSTR that can be passed to the UIDelegate methods
3571 from javascript null and undefined. Fixes a failing test case on
3572 Windows (fast/dom/Window/alert-undefined.html)
3574 Reviewed by Eric Seidel.
3576 * DumpRenderTree/win/UIDelegate.cpp:
3577 (UIDelegate::runJavaScriptAlertPanelWithMessage):
3578 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
3579 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
3580 (UIDelegate::webViewAddMessageToConsole):
3582 2007-10-23 Maciej Stachowiak <mjs@apple.com>
3586 Don't print a massive pile of setenvs from tools that automatically build testkjs.
3588 * Scripts/build-testkjs:
3590 2007-10-23 Maciej Stachowiak <mjs@apple.com>
3594 - add wrapper that finds the right copy of testkjs
3596 * Scripts/sunspider-compare-results: Added.
3598 2007-10-23 Kevin McCullough <kmccullough@apple.com>
3602 - After talking with Steve I now see that the WebKit server must be
3603 running for DCOM to create the distributed objects, which makes sense
3604 and currently WebKit only allows one instance to be running at a time
3605 which avoids accidentally connecting to the wrong server
3606 - In light of this I have removed the code for the attach box and
3607 NotificationServer and known server names, since they are all extranious
3610 * Drosera/win/Drosera.cpp: Removed notification classes and known server
3612 (_tWinMain): Uses init instead of initUI.
3613 (droseraWndProc): No longer creats an attach dialog box.
3614 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
3615 it's not manditory to call init before doing COM stuff.
3616 (Drosera::init): calls initUI and will call attach when the
3617 functionality exists.
3618 (Drosera::initUI): Has changed very little.
3619 (Drosera::attach): Changed the signature to reflect that we no longer
3620 need the dictionary of known server names.
3621 * Drosera/win/Drosera.h: Removed notification classes and known server
3622 names. Also renamed and moved some functions.
3623 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
3624 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
3625 headers to the resources folder.
3626 * Drosera/win/resource.h: Removed the Attach box.
3628 2007-10-22 Adam Roben <aroben@apple.com>
3632 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
3634 2007-10-22 Kevin McCullough <kmccullough@apple.com>
3636 - Removed a leak that was fixed.
3638 * Scripts/run-webkit-tests:
3640 2007-10-19 Kevin McCullough <kmccullough@apple.com>
3644 - Changed the Client so that the DebuggerDocument now own the
3645 ServerConnection. This simplifies ownership and cleanup.
3647 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
3649 (DebuggerClient::initWithServerName):
3650 (DebuggerClient::didFinishLoadForFrame):
3651 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
3653 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
3654 until after we have a server which we are attached to.
3657 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
3660 2007-10-22 Simon Hausmann <hausmann@kde.org>