1 2008-01-19 Mark Rowe <mrowe@apple.com>
5 Allow the --http flag to run-webkit-tests to override
6 the default behaviour of disabling HTTP tests for Qt,
9 * Scripts/run-webkit-tests:
11 2008-01-19 David Kilzer <ddkilzer@apple.com>
13 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
17 We now touch a check-for-global-initializers.timestamp file in
18 the TARGET_TEMP_DIR directory to determine when new object files
19 have been compiled and thus need to be checked. If the timestamp
20 file doesn't exist, all object files will be checked.
22 Previously the modification time of the "executable" (the
23 framework binary, e.g., WebKit.framework/WebKit) was used, but
24 since this was the last file modified at the end of the compile
25 phase, no object files would ever get checked!
27 Also added JSCustomSQLTransactionCallback.o to the list of files
28 since it has static initializers in Debug builds of WebCore.
30 * Scripts/check-for-global-initializers:
32 2008-01-18 Adam Roben <aroben@apple.com>
36 * Scripts/build-webkit:
38 2008-01-18 Beth Dakin <bdakin@apple.com>
42 Update build-webkit to account for foreign-object being disabled by
45 * Scripts/build-webkit:
47 2008-01-18 Adam Roben <aroben@apple.com>
49 Updated for method renames
53 * DumpRenderTree/mac/FrameLoadDelegate.mm:
54 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
55 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
56 (LayoutTestController::setMainFrameIsFirstResponder):
57 (LayoutTestController::setWindowIsKey):
58 * DumpRenderTree/mac/UIDelegate.mm:
59 (-[UIDelegate webViewFocus:]):
60 * DumpRenderTree/win/FrameLoadDelegate.cpp:
61 (FrameLoadDelegate::didCommitLoadForFrame):
63 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
65 Reviewed by Adam Roben.
67 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
68 between DRT and TestNetscapePlugin.
70 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
71 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
73 2008-01-18 Simon Hausmann <hausmann@webkit.org>
77 Fix fast/dom/Window/window-resize.html
79 In DRT connect the page's geometryChangeRequest signal to a slot that
80 sets the geometry of the view widget.
83 * DumpRenderTree/qt/DumpRenderTree.cpp:
84 (WebCore::WebPage::setViewGeometry):
85 (WebCore::WebPage::WebPage):
87 2008-01-17 Steve Falkenburg <sfalken@apple.com>
91 * Drosera/DroseraWin.make:
93 2008-01-17 Darin Adler <darin@apple.com>
95 * Scripts/run-webkit-tests: Fixed a bug number.
97 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
99 Reviewed by Adam Roben.
101 http://bugs.webkit.org/show_bug.cgi?id=16908
102 run-webkit-tests complains about missing FindSafari.exe
104 * Scripts/webkitdirs.pm: Append _debug as appropriate.
106 2008-01-17 Steve Falkenburg <sfalken@apple.com>
108 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
110 Rubber-stamped by Jon Honeycutt.
112 * DumpRenderTree/win/DumpRenderTree.vcproj:
114 2008-01-16 Alp Toker <alp@atoker.com>
116 Reviewed by Mark Rowe.
118 http://bugs.webkit.org/show_bug.cgi?id=16218
119 [GTK] API: Should this entry point be called go_back rather than go_backward?
121 Track back/forward API changes in the tools.
123 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
124 (BackForwardItem::invoke):
125 * GtkLauncher/main.c:
128 2008-01-16 Adam Roben <aroben@apple.com>
130 Windows build fix after r29488
132 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
133 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
134 expects to find the plugin.
136 2008-01-11 Geoffrey Garen <ggaren@apple.com>
138 Reviewed by Sam Weinig.
140 Fixed the waitUntilDone watchdog timer -- the old code never added the
141 timer to the run loop, so it didn't do anything.
143 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
144 (LayoutTestController::setWaitToDump):
145 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
146 (LayoutTestController::setWaitToDump):
148 2008-01-14 Steve Falkenburg <sfalken@apple.com>
150 Use shared vsprops for most vcproj properties.
154 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
155 * DumpRenderTree/win/DumpRenderTree.vcproj:
156 * DumpRenderTree/win/ImageDiff.vcproj:
157 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
158 * FindSafari/FindSafari.vcproj:
160 2008-01-14 Stephanie <slewis@apple.com>
164 revert accidental character.
166 * Scripts/run-webkit-tests:
168 2008-01-14 Stephanie <slewis@apple.com>
172 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
174 * Scripts/run-webkit-tests:
176 2008-01-14 Darin Adler <darin@apple.com>
178 * Scripts/do-webcore-rename: Queue up another rename.
180 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
184 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
186 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
188 * Scripts/run-webkit-tests:
190 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
194 * Randomize tests array to spot test cases where the results depends on the order
196 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
198 * Scripts/run-webkit-tests:
200 2008-01-14 Darin Adler <darin@apple.com>
202 * Scripts/run-webkit-tests: More ignore list tweaking.
204 2008-01-14 Darin Adler <darin@apple.com>
206 * Scripts/run-webkit-tests: Add another leak to the ignore list.
208 2008-01-14 Dan Bernstein <mitz@apple.com>
210 Reviewed by Adam Roben.
212 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
215 * DumpRenderTree/win/DumpRenderTree.cpp:
216 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
218 2008-01-13 Steve Falkenburg <sfalken@apple.com>
220 Share common files across projects.
223 Debug: common.vsprops, debug.vsprops
224 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
225 Release: common.vsprops, release.vsprops
227 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
228 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
230 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
232 Reviewed by Adam Roben.
234 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
235 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
236 * Drosera/win/Drosera.vcproj/VERSION: Removed.
237 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
238 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
239 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
240 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
241 * DumpRenderTree/win/DumpRenderTree.vcproj:
242 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
243 * DumpRenderTree/win/debug.vsprops: Removed.
244 * DumpRenderTree/win/debug_internal.vsprops: Removed.
245 * DumpRenderTree/win/release.vsprops: Removed.
247 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
251 - http://bugs.webkit.org/show_bug.cgi?id=16314
252 Script to launch Drosera
254 * Scripts/gdb-drosera: Added.
255 * Scripts/run-drosera: Added.
256 * Scripts/run-drosera-nightly.cmd: Added.
257 * Scripts/webkitdirs.pm: Added runDrosera function.
259 2008-01-13 Dan Bernstein <mitz@apple.com>
261 - fix breakage due to last-minute change
263 * DumpRenderTree/win/DumpRenderTree.cpp:
264 (runTest): Declare the loop variable.
266 2008-01-13 Dan Bernstein <mitz@apple.com>
268 Reviewed by Adam Roben.
270 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
272 * DumpRenderTree/win/DumpRenderTree.cpp:
273 (DumpRenderTreeWndProc):
275 (dumpBackForwardList):
276 (dumpBackForwardListForAllWindows):
278 (resetWebViewToConsistentStateBeforeTesting): Factored out of
281 (allWindows): Added. Returns a vector of all open windows.
282 (windowToWebViewMap): Added. Returns a map from open windows to their
284 (createWebViewAndOffscreenWindow): Factored out of main() to be
285 reusable for creating extra windows.
287 * DumpRenderTree/win/DumpRenderTreeWin.h:
288 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
289 (LayoutTestController::windowCount): Implemented.
290 * DumpRenderTree/win/UIDelegate.cpp:
291 (UIDelegate::createWebViewWithRequest): Implemented.
292 (UIDelegate::webViewClose): Implemented.
293 * DumpRenderTree/win/UIDelegate.h:
295 2008-01-12 Alp Toker <alp@atoker.com>
297 Reviewed by Mark Rowe.
299 Hide non-public symbols in GTK+/autotools release builds.
303 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
307 * Make launching of the WebKit httpd work on GNU/Debian/Linux
309 The configuration of Apache2 and installation does not depend on
310 the kernel but on the distribution policy. Make launching of httpd
311 work for Debian derived distributions.
313 * Scripts/run-webkit-httpd:
314 * Scripts/run-webkit-tests:
315 * Scripts/webkitdirs.pm:
317 2008-01-12 Mark Rowe <mrowe@apple.com>
319 Reviewed by Maciej Stachowiak.
321 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
323 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
324 match the callers expectations that it can take ownership of the string.
326 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
328 Reviewed by Adam Roben.
330 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
332 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
333 as these are only posted because the test window is not a normal visible one, and
334 they confuse drag&drop machinery.
336 2008-01-11 Adam Roben <aroben@apple.com>
338 Fix a crash when pathToLocalResource fails and a leak
342 * DumpRenderTree/LayoutTestController.cpp:
343 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
344 sure not to pass null to JSValueMakeString.
345 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
346 (LayoutTestController::pathToLocalResource): Print an error message if
347 the conversion fails so it's clear what happened.
349 2008-01-11 Geoffrey Garen <ggaren@apple.com>
351 Reviewed by John Sullivan.
353 * DumpRenderTree/mac/GCControllerMac.mm:
354 (GCController::collectOnAlternateThread): Updated for name change.
356 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
358 wx build fix. Don't build dftables any longer since it's now a Perl
363 2008-01-10 Sam Weinig <sam@webkit.org>
365 Reviewed by Anders Carlsson.
367 Make DRT track open windows instead of allocated windows so that
368 we can avoid ASSERTION due to late deallocs out of our control.
370 * DumpRenderTree/mac/DumpRenderTree.mm:
371 (dumpBackForwardListForAllWindows):
373 * DumpRenderTree/mac/DumpRenderTreeMac.h:
374 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
375 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
376 (+[DumpRenderTreeWindow openWindows]):
377 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
378 (-[DumpRenderTreeWindow close]):
379 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
380 (LayoutTestController::windowCount):
382 2008-01-10 Ada Chan <adachan@apple.com>
384 Meta key is not the same as Alt key on windows.
388 * DumpRenderTree/win/EventSender.cpp:
391 2008-01-09 Kevin McCullough <kmccullough@apple.com>
393 Reviewed by Darin, Sam and Adam.
395 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
396 link in gmail message displays JavaScript alert falsely complaining
397 about pop-up blocking.
398 - Added the ability to enable the pop-up blocker via the
399 LayoutTestController.
401 * DumpRenderTree/LayoutTestController.cpp:
402 (setPopupBlockingEnabledCallback):
403 (LayoutTestController::staticFunctions):
404 * DumpRenderTree/LayoutTestController.h:
405 * DumpRenderTree/mac/DumpRenderTree.mm:
406 (setDefaultsToConsistentValuesForTesting):
407 (resetWebViewToConsistentStateBeforeTesting):
408 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
409 (LayoutTestController::setPopupBlockingEnabled):
411 2008-01-10 Lars Knoll <lars@trolltech.com>
415 rename QWebPageHistory to QWebHistory.
418 * DumpRenderTree/qt/jsobjects.cpp:
420 2008-01-09 Maciej Stachowiak <mjs@apple.com>
424 - add some more renames, adjust some
426 * Scripts/do-webcore-rename:
428 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
432 Enable SVG Fonts support by default.
434 * Scripts/build-webkit:
436 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
440 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
441 DRT doesn't handle platform specific pixel test results correctly.
443 <test>-expected.txt files and <test>-expected.png files may now live
444 in different directories (ie. a cross-platform <test>-expected.txt file
445 and a platform-specific <test>-expected.png file).
447 * Scripts/run-webkit-tests:
449 2008-01-04 Kevin McCullough <kmccullough@apple.com>
453 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
454 DRT did not correctly handle printing the '\0' char. Now it does.
456 * DumpRenderTree/win/DumpRenderTree.cpp:
460 2008-01-07 Simon Hausmann <hausmann@webkit.org>
464 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
467 * DumpRenderTree/qt/main.cpp:
468 * DumpRenderTree/qt/testplugin.cpp:
469 * DumpRenderTree/qt/testplugin.h:
471 2008-01-05 Mark Rowe <mrowe@apple.com>
473 Reviewed by Alp Toker.
475 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
477 * DumpRenderTree/gtk/DumpRenderTree.cpp:
478 (processWork): Process pending work.
479 (webViewLoadFinished): Schedule processing of pending work.
480 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
482 2008-01-05 Darin Adler <darin@apple.com>
484 * Scripts/do-webcore-rename: Some more renaming plans.
486 2008-01-04 Alice Liu <alice.liu@apple.com>
488 Reviewed by Alexey and Darin.
490 Adding "home" and "end" to DRT's keydown since
491 DOM key events can't handle keyIdentifiers at this point.
493 * DumpRenderTree/mac/EventSendingController.mm:
494 (-[EventSendingController keyDown:withModifiers:]):
495 * DumpRenderTree/win/EventSender.cpp:
498 2008-01-04 Lars Knoll <lars@trolltech.com>
502 fix DRT after the changes to QWebPage.
504 The great thing is that we actually don't have
505 any regressions from the QWebPage change :)
508 * DumpRenderTree/qt/DumpRenderTree.cpp:
509 (WebCore::DumpRenderTree::DumpRenderTree):
511 2008-01-04 Lars Knoll <lars@trolltech.com>
515 make QWebPage a QObject and get things to compile.
517 Nothing works currently though.
520 * DumpRenderTree/qt/DumpRenderTree.cpp:
521 (WebCore::DumpRenderTree::DumpRenderTree):
523 2008-01-04 Lars Knoll <lars@trolltech.com>
527 take a QString as identifier in QWebFrame::addToJSWindowObject.
529 * DumpRenderTree/qt/DumpRenderTree.cpp:
530 (WebCore::DumpRenderTree::initJSObjects):
532 2008-01-04 Alp Toker <alp@atoker.com>
534 GTK+ DRT build fix for breakage introduced in r29149.
536 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
537 (LayoutTestController::execCommand):
539 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
543 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
545 Added layoutTestController.execCommand to access editor commands that are not available
546 via document.execCommand.
548 * DumpRenderTree/LayoutTestController.cpp:
549 (execCommandCallback):
550 (LayoutTestController::staticFunctions):
551 * DumpRenderTree/LayoutTestController.h:
552 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
553 (LayoutTestController::execCommand):
554 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
555 (LayoutTestController::queueLoad):
556 (LayoutTestController::execCommand):
558 2008-01-03 Alice Liu <alice.liu@apple.com>
560 Reviewed by Darin, Mitz.
562 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
564 the clickcount should not increase if the last click was at a different location. it's a new click.
566 * DumpRenderTree/mac/DumpRenderTree.mm:
568 * DumpRenderTree/mac/EventSendingController.h:
569 * DumpRenderTree/mac/EventSendingController.mm:
570 (-[EventSendingController mouseDown]):
571 (-[EventSendingController mouseUp]):
573 2008-01-03 Darin Adler <darin@apple.com>
577 * Scripts/update-webkit: Make this work a little better for the people at Apple
578 who have a directory named Internal.
580 2008-01-03 Adam Roben <aroben@apple.com>
582 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
584 Rubberstamped by Mark.
586 * Scripts/update-webkit-auxiliary-libs:
588 2008-01-03 Adam Roben <aroben@apple.com>
590 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
592 http://bugs.webkit.org/show_bug.cgi?id=15663
594 Added a fuzz factor into the Last-Modified comparison for downloading
595 WebKitAuxiliaryLibrary.zip.
597 The zip file is served from a set of mirrors who give Last-Modified
598 times that are off by 1-3 seconds from each other. This was causing
599 the build bots to redownload WebKitAuxiliaryLibrary for every build,
600 which would then cause all of WebCore to rebuild each time.
604 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
605 at least 30 seconds newer than the old one -- otherwise we assume that
606 the difference in time is due to the mirrors being slightly offset
608 (sub lastModifiedToUnixTime): Added.
610 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
614 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
616 2008-01-03 Simon Hausmann <hausmann@webkit.org>
620 Moved QWebPage::open to QWebFrame::load and added setHtml.
623 * DumpRenderTree/qt/DumpRenderTree.cpp:
624 (WebCore::DumpRenderTree::open):
626 2008-01-03 Simon Hausmann <hausmann@webkit.org>
630 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
633 * DumpRenderTree/qt/DumpRenderTree.cpp:
634 (WebCore::DumpRenderTree::DumpRenderTree):
636 2008-01-02 Sam Weinig <sam@webkit.org>
638 * Scripts/do-webcore-rename: Yet more renaming ideas.
640 2008-01-02 Darin Adler <darin@apple.com>
642 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
644 2008-01-02 Alice Liu <alice.liu@apple.com>
646 Reviewed by Sam Weinig.
648 fixing assertion hit with editing/selection/move-begin-end.html
650 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
651 * DumpRenderTree/win/DumpRenderTree.vcproj:
652 * DumpRenderTree/win/EventSender.cpp:
654 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
656 2008-01-02 Darin Adler <darin@apple.com>
658 * Scripts/do-webcore-rename: Some more name change plans.
660 2008-01-02 Alice Liu <alice.liu@apple.com>
664 Added handling for page up and page down in EventSender
666 * DumpRenderTree/mac/EventSendingController.mm:
667 (-[EventSendingController keyDown:withModifiers:]):
668 * DumpRenderTree/win/EventSender.cpp:
671 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
675 Fix fast/events/arrow-keys-on-body.html for real.
677 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
679 2008-01-02 Luca Bruno <lethalman88@gmail.com>
683 http://bugs.webkit.org/show_bug.cgi?id=16674
684 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
686 * Scripts/run-launcher:
688 2007-12-31 Darin Adler <darin@apple.com>
692 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
693 we get it installed on the build bots.
695 2007-12-30 Eric Seidel <eric@webkit.org>
699 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
701 2007-12-29 Darin Adler <darin@apple.com>
705 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
706 leak bot shows createCStringFromNPVariant result leaking
708 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
709 (pluginInvoke): Added a missing free.
711 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
713 Reviewed by Alp Toker.
715 http://bugs.webkit.org/show_bug.cgi?id=16390
716 Use autotools or GNU make as the build system for the GTK port
718 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
719 * GNUmakefile.am: Added.
721 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
725 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
727 * DumpRenderTree/win/EventSender.cpp:
728 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
729 of 1, even though WebKit currently ignores it.
731 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
733 wx buildbot fix. Update libpng dl script to the latest version.
735 * wx/install-unix-extras:
737 2007-12-22 Antti Koivisto <antti@apple.com>
741 * Scripts/webkitdirs.pm:
743 2007-12-21 Sam Weinig <sam@webkit.org>
745 Reviewed by Mark Rowe.
747 - Disable the back/forward cache using the new WebPreferences API
748 instead of through the BackForwardList. This makes us match what
751 * DumpRenderTree/mac/DumpRenderTree.mm:
752 (createWebViewAndOffscreenWindow):
753 (setDefaultsToConsistentValuesForTesting):
755 2007-12-21 Dan Bernstein <mitz@apple.com>
757 Reviewed by Mark Rowe.
759 - disable the back/forward cache in Windows DumpRenderTree. It is
760 already disabled in Mac DumpRenderTree.
762 * DumpRenderTree/win/DumpRenderTree.cpp:
763 (initializePreferences):
765 2007-12-13 Antti Koivisto <antti@apple.com>
767 Reviewed by Darin and Steve.
769 - check for QuickTime SDK on Windows.
770 - build media support on Windows by default
772 * Scripts/build-webkit:
773 * Scripts/webkitdirs.pm:
775 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
777 Build script fix for buildbot.
781 2007-12-20 Eric Seidel <eric@webkit.org>
785 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
787 2007-12-20 Kevin McCullough <kmccullough@apple.com>
791 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
794 - Drosera and Safari need to use the same ProgIDs in order for
795 CoCreateInstance to work properly. The most robust way to do this is
796 for WebKit to dynamically publish those ProgIDs.
798 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
799 (DebuggerClient::createWebViewWithRequest):
800 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
804 (Drosera::attemptToCreateServerConnection):
805 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
806 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
807 make use of the published ProgIDs.
808 (ServerConnection::attemptToCreateServerConnection):
810 2007-12-20 Kevin McCullough <kmccullough@apple.com>
812 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
813 - Build bot and leak fix.
815 * DumpRenderTree/LayoutTestController.cpp:
816 (pathToLocalResourceCallback):
818 2007-12-19 David Kilzer <ddkilzer@apple.com>
820 Make svn-apply/svn-unapply work with patches from git-format-patch.
825 (patch): If 'Index:' can't be found in the text passed in, print it
826 out with a warning and return early.
827 * Scripts/svn-unapply:
830 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
832 Reviewed by Alp Toker.
837 - Check to make sure the user is running a supported wx port
838 - More robust checks for Cygwin
839 - Only run install-unix-extras on Mac, it's not the right solution
841 - Remove outdated Linux instructions after successful build
842 - Clean Bakefile-generated files during a clean operation
844 2007-12-18 Darin Adler <darin@apple.com>
846 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
848 2007-12-18 Steve Falkenburg <sfalken@apple.com>
850 Add script to run Drosera as part of the nightly.
854 * Scripts/run-drosera.cmd: Added.
856 2007-12-18 Darin Adler <darin@apple.com>
858 * Scripts/do-webcore-rename: Remove a stray K.
860 2007-12-18 Darin Adler <darin@apple.com>
862 * Scripts/do-webcore-rename: Plan more renaming.
864 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
866 Reviewed by Alp Toker.
868 http://bugs.webkit.org/show_bug.cgi?id=16042
869 [GTK] Eliminate webkit_init()
871 Moving webkit initialization to WebView class init.
873 * DumpRenderTree/gtk/DumpRenderTree.cpp:
875 * GtkLauncher/main.c:
878 2007-12-17 Luca Bruno <lethalman88@gmail.com>
880 Reviewed by Alp Toker.
882 http://bugs.webkit.org/show_bug.cgi?id=13542
883 gdklauncher doesnt change URL in adress GTKEntry.
885 * GtkLauncher/main.c:
886 (load_commit_cb): added
890 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
892 Reviewed by Adam Roben.
894 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
896 * FindSafari/FindSafari.cpp:
899 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
901 Reviewed by Adam Roben.
903 http://bugs.webkit.org/show_bug.cgi?id=16315
904 FindSafari needs a path-only option.
906 * FindSafari/FindSafari.cpp:
909 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
913 http://bugs.webkit.org/show_bug.cgi?id=16462
914 REGRESSION: access keys broken on Windows
916 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
919 2007-12-15 Sam Weinig <sam@webkit.org>
921 Reviewed by Mark Rowe.
923 Fix urlSuitableForTestResult to correctly identify wstring::npos as
924 the case when wstring.find doesn't find anything.
926 * DumpRenderTree/win/DumpRenderTree.cpp:
927 (urlSuitableForTestResult):
929 2007-12-15 Alp Toker <alp@atoker.com>
931 GTK+ DRT build fix for GLib < 2.14.
933 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
934 (LayoutTestController::setWaitToDump):
936 2007-12-05 Mark Rowe <mrowe@apple.com>
938 Reviewed by Alp Toker.
940 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
941 many layout tests from hanging while waiting on user responses to dialogs.
943 * DumpRenderTree/gtk/DumpRenderTree.cpp:
944 (invalidateAnyPreviousWaitToDumpWatchdog):
945 (webViewScriptAlert):
946 (webViewScriptPrompt):
947 (webViewScriptConfirm):
949 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
950 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
951 (waitToDumpWatchdogFired):
952 (LayoutTestController::setWaitToDump):
954 2007-12-05 Mark Rowe <mrowe@apple.com>
956 Reviewed by Alp Toker.
958 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
960 * DumpRenderTree/gtk/DumpRenderTree.cpp:
961 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
964 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
965 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
967 (webViewWindowObjectCleared): Set up window.layoutTestController.
968 (webViewConsoleMessage): Match the console message format expected by the layout test results.
969 (main): Hook up the new signals.
970 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
971 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
972 dumping multiple times.
973 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
974 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
976 2007-12-14 Anders Carlsson <andersca@apple.com>
980 Assert that a web frame that's loading a resource always has either a data source or
981 a provisional data source.
983 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
984 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
986 2007-12-14 Darin Adler <darin@apple.com>
988 - fix mistake causing nearly all tests to fail on Windows
990 * DumpRenderTree/win/UIDelegate.cpp:
991 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
992 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
994 * DumpRenderTree/mac/UIDelegate.mm:
995 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
996 than passing the entire message.
998 2007-12-14 Darin Adler <darin@apple.com>
1002 * DumpRenderTree/mac/UIDelegate.mm:
1003 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
1004 new-to-Leopard methods.
1006 2007-12-14 Darin Adler <darin@apple.com>
1008 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
1009 since it now triggers unwanted icon loading. We only had it because we implemented "all"
1010 delegate methods here.
1012 2007-12-14 Anders Carlsson <andersca@apple.com>
1014 Reviewed by Darin and Geoff.
1016 <rdar://problem/5619295>
1017 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
1019 Add property getting methods to the plug-in.
1021 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1024 2007-12-14 Kevin McCullough <kmccullough@apple.com>
1028 - Layout test fix for mac. When dumped to the console local file paths
1029 now only show the name of the resource not the whole path. This is to
1030 make the results machine and OS independent.
1032 * DumpRenderTree/mac/UIDelegate.mm:
1033 (-[UIDelegate webView:addMessageToConsole:]):
1035 2007-12-13 Kevin McCullough <kmccullough@apple.com>
1039 - Layout tests fix. We need a way to remove machine-dependent
1040 information from paths in layout test results. The UIDelegate now does
1043 * DumpRenderTree/DumpRenderTree.h:
1044 * DumpRenderTree/win/DumpRenderTree.cpp:
1045 (urlSuitableForTestResult):
1046 * DumpRenderTree/win/DumpRenderTreeWin.h:
1047 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1048 * DumpRenderTree/win/UIDelegate.cpp:
1049 (UIDelegate::webViewAddMessageToConsole):
1051 2007-12-13 Alp Toker <alp@atoker.com>
1053 Build fix for DRT breakage introduced in r28690.
1055 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1056 (LayoutTestController::pathToLocalResource):
1058 2007-12-12 Kevin McCullough <kmccullough@apple.com>
1060 Reviewed by Alice and Sam.
1062 - <rdar://5621435> Need a way to specify local resources (being loaded
1063 from HTTP tests) on Windows.
1064 - Implemented pathToLocalResource which exposes the functionality of
1065 converting a given unix path to the correct location on Windows.
1067 * DumpRenderTree/LayoutTestController.cpp:
1068 (pathToLocalResourceCallback):
1069 (LayoutTestController::staticFunctions):
1070 * DumpRenderTree/LayoutTestController.h:
1071 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1072 (LayoutTestController::pathToLocalResource):
1073 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1074 (LayoutTestController::pathToLocalResource):
1076 2007-12-12 Anders Carlsson <andersca@apple.com>
1080 <rdar://problem/5132003>
1081 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
1083 * DumpRenderTree/win/DumpRenderTree.cpp:
1085 Set the resource load delegate.
1087 * DumpRenderTree/win/DumpRenderTree.vcproj:
1089 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
1090 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
1092 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
1094 Reviewed by Adam Roben.
1096 Fix conversion from double to LPARAM in dispatchMessage().
1098 * DumpRenderTree/win/EventSender.cpp:
1099 (dispatchMessageCallback):
1101 2007-12-11 Dan Bernstein <mitz@apple.com>
1103 Reviewed by Mark Rowe and Sam Weinig too!
1105 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
1106 fonts DumpRenderTree registers.
1108 * DumpRenderTree/win/DumpRenderTree.cpp:
1111 2007-12-11 Brady Eidson <beidson@apple.com>
1115 Make DumpRenderTree on mac use its own path for Databases testing
1117 * DumpRenderTree/mac/DumpRenderTree.mm:
1118 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
1119 for future DRT-only use, then use it to construct the Databases path and set that default
1121 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1125 <rdar://problem/5535636>
1126 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1128 http://bugs.webkit.org/show_bug.cgi?id=13916
1129 JavaScript detects Tab as a character input on a textfield validation
1131 * DumpRenderTree/mac/EventSendingController.mm:
1132 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
1133 Dispatch a keyup to better match what happens when a key is physically pressed.
1135 * DumpRenderTree/win/EventSender.cpp:
1136 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
1137 returning from keyDown().
1138 (getConstantCallback): Fixed a couple copy/paste mistakes.
1140 2007-12-07 Kevin McCullough <kmccullough@apple.com>
1144 - <rdar://5599845> Drosera: Does not show loal files in the file list
1147 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
1148 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
1149 so the open source community can build.
1151 2007-12-10 Brady Eidson <beidson@apple.com>
1153 Rubberstamped by Sam Weinig
1155 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
1157 * DumpRenderTree/mac/UIDelegate.mm:
1158 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1159 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
1161 2007-12-08 Oliver Hunt <oliver@apple.com>
1165 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
1167 Fixes <rdar://problem/5620249> Must disable SVG animation
1168 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
1170 In order to allow finer grained control over the set of SVG features
1171 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
1173 ENABLE_SVG_ANIMATION
1179 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
1181 Script handles all the new build flags, and allows --svg-experimental
1182 to automatically enable all features.
1184 * Scripts/build-webkit:
1186 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1188 Fix version parsing.
1190 Rubber-stamped by Oliver.
1192 * Drosera/win/Drosera.vcproj/auto-version.sh:
1194 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1196 Build modifications for Drosera.
1200 * Drosera/DroseraWin.make: Added.
1201 * Drosera/win/Drosera.vcproj/Drosera.rc:
1202 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1203 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
1204 * Drosera/win/Drosera.vcproj/VERSION: Added.
1205 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
1207 2007-12-06 Adam Roben <aroben@apple.com>
1209 Explicitly turn on the Mac font ascent hack on Windows
1211 This keeps our font metrics matching those from Mac.
1215 * DumpRenderTree/win/DumpRenderTree.cpp:
1218 2007-12-06 Anders Carlsson <andersca@apple.com>
1220 Rename main.c to main.cpp here too.
1222 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
1224 2007-12-06 Sam Weinig <sam@webkit.org>
1226 Rubber stamped by Geoff.
1228 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
1230 2007-12-06 Darin Adler <darin@apple.com>
1232 * Scripts/do-webcore-rename: Some more renaming plans.
1234 2007-12-06 Anders Carlsson <andersca@apple.com>
1236 Restore implementation of testGetIntIdentifier that was accidentally
1237 removed somehow (possibly when I made PluginObject be a cpp file).
1239 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1242 2007-12-05 Anders Carlsson <andersca@apple.com>
1244 Make the entry points extern "C".
1245 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1247 2007-12-05 Anders Carlsson <andersca@apple.com>
1251 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1260 2007-12-05 Anders Carlsson <andersca@apple.com>
1262 Add the .cpp files to the TestNetscapePlugIn target.
1264 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1266 2007-12-05 Anders Carlsson <andersca@apple.com>
1270 Rename the TestNetscapePlugIn .c files to be .cpp.
1272 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1273 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
1274 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
1275 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
1276 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
1277 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
1278 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
1279 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1281 2007-12-05 Adam Roben <aroben@apple.com>
1283 Fix case of keypresses from the Windows implementation of eventSender.keyDown
1285 This fixes several regression tests.
1289 * DumpRenderTree/win/EventSender.cpp:
1290 (keyDownCallback): Virtual keycodes for ASCII characters are always
1291 uppercase, so we need to check the case of the original character
1292 passed in to eventSender.keyDown.
1294 2007-12-05 Adam Roben <aroben@apple.com>
1296 Learn from Tim's mistakes
1298 * DumpRenderTree/win/DumpRenderTree.cpp:
1299 (runTest): Reset the authorAndUserStylesEnabled preference for each
1302 2007-12-05 Alp Toker <alp@atoker.com>
1304 Reviewed by Mark Rowe.
1306 Initialize GTK+ and WebKit so the tests can run.
1308 Reorganize the headers a little.
1310 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1313 2007-12-04 Anders Carlsson <andersca@apple.com>
1315 Remove IWebScriptScope include.
1317 * Drosera/win/DebuggerDocumentPlatform.cpp:
1319 2007-12-04 Sam Weinig <sam@webkit.org>
1321 Rubber stamped by Mark Rowe.
1323 Define CF as platform for mac and revert r28409
1325 * DumpRenderTree/DumpRenderTree.h:
1326 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1328 2007-12-04 Sam Weinig <sam@webkit.org>
1330 Define CF as platform for windows.
1332 Reviewed by Adam Roben.
1334 * DumpRenderTree/win/DumpRenderTreeWin.h:
1336 2007-12-04 Kevin McCullough <kmccullough@apple.com>
1338 Reviewed by Adam and Darin.
1340 - Removed a needless BSTR cleanup.
1342 * Drosera/win/DebuggerDocumentPlatform.cpp:
1343 (DebuggerDocument::getPlatformCurrentFunctionStack):
1345 2007-11-27 Adam Roben <aroben@apple.com>
1347 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
1351 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1352 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
1354 2007-12-04 Alp Toker <alp@atoker.com>
1356 Prospective Win DRT build fix.
1358 * DumpRenderTree/DumpRenderTree.h:
1360 2007-12-04 Alp Toker <alp@atoker.com>
1362 Fix a clobbered copyright header.
1364 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1366 2007-12-04 Xan Lopez <xan@gnome.org>
1368 Reviewed by Alp Toker.
1370 http://bugs.webkit.org/show_bug.cgi?id=15561
1371 GTK port needs DumpRenderTree implementation
1373 Start work on the GTK+ DRT.
1375 This does not work yet, and there are a few lingering style issues
1376 (nothing major) but this patch has been stuck in the bug tracker for
1379 * DumpRenderTree/DumpRenderTree.h:
1380 * DumpRenderTree/gtk: Added.
1381 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
1383 (shouldLogFrameLoadDelegates):
1384 (dumpFrameScrollPosition):
1388 (dumpRenderTreeAsText):
1392 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
1393 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
1394 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
1395 (GCController::collect):
1396 (GCController::collectOnAlternateThread):
1397 (GCController::getJSObjectCount):
1398 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
1399 (LayoutTestController::~LayoutTestController):
1400 (LayoutTestController::addDisallowedURL):
1401 (LayoutTestController::clearBackForwardList):
1402 (LayoutTestController::copyDecodedHostName):
1403 (LayoutTestController::copyEncodedHostName):
1404 (LayoutTestController::display):
1405 (LayoutTestController::keepWebHistory):
1406 (LayoutTestController::notifyDone):
1407 (LayoutTestController::queueBackNavigation):
1408 (LayoutTestController::queueForwardNavigation):
1409 (LayoutTestController::queueLoad):
1410 (LayoutTestController::queueReload):
1411 (LayoutTestController::queueScript):
1412 (LayoutTestController::setAcceptsEditing):
1413 (LayoutTestController::setCustomPolicyDelegate):
1414 (LayoutTestController::setMainFrameIsFirstResponder):
1415 (LayoutTestController::setTabKeyCyclesThroughElements):
1416 (LayoutTestController::setUseDashboardCompatibilityMode):
1417 (LayoutTestController::setUserStyleSheetEnabled):
1418 (LayoutTestController::setUserStyleSheetLocation):
1419 (LayoutTestController::setWindowIsKey):
1420 (LayoutTestController::setWaitToDump):
1421 (LayoutTestController::windowCount):
1422 (LayoutTestController::setPrivateBrowsingEnabled):
1423 (LayoutTestController::setAuthorAndUserStylesEnabled):
1424 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
1425 (JSStringCopyUTF8CString):
1427 (ReloadItem::invoke):
1428 (ScriptItem::invoke):
1429 (BackForwardItem::invoke):
1431 2007-12-03 Sam Weinig <sam@webkit.org>
1433 Move JavaScriptCore thread testing code to pthread specific directory
1434 and remove the dependance on CoreFoundation by using WTF::HashSet.
1436 Reviewed by Geoff and Oliver.
1438 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1439 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
1440 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
1441 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
1442 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
1443 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
1444 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
1445 * DumpRenderTree/pthreads: Added.
1446 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
1447 (javaScriptThreads):
1448 (runJavaScriptThread):
1449 (startJavaScriptThreads):
1450 (stopJavaScriptThreads):
1452 2007-12-03 Andrew Bonventre <andybons@google.com>
1454 Reviewed by Darin Adler.
1456 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
1457 Symbol lookup menu broken in debugger view
1459 * Drosera/debugger.js: Fixed javascript error where document property
1460 should have been used instead of contentDocument in switchFunction that
1461 was breaking the select symbol dropdown menu. This is because
1462 window.frames will return a Window object and not a frame object like
1463 the author was originally expecting.
1465 2007-12-03 Kevin McCullough <kmccullough@apple.com>
1469 - <rdar://5618942> Drosera: Console window does not process everything
1471 - <rdar://5619005> Drosera: could be sped up by moving the
1472 WebScriptScope stuff into the WebScriptCallFrame.
1473 - Now the console can correctly process objects and does not receive
1474 notifications from JavaScriptCore about the JavaScript in Drosera's
1477 * Drosera/win/DebuggerDocumentPlatform.cpp:
1478 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1479 (DebuggerDocument::platformValueForScopeVariableNamed):
1481 2007-12-03 Stephanie <slewis@apple.com>
1485 Check to see if we are building a debug root
1487 * Scripts/check-for-global-initializers:
1489 2007-12-03 Dan Bernstein <mitz@apple.com>
1491 Reviewed by Darin Adler.
1493 - added a testGetIntIdentifier() method to TestNetscapePlugIn
1495 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1498 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
1502 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
1503 in a more fine-grained manner than eventSender.keyDown().
1505 * DumpRenderTree/win/EventSender.cpp:
1506 (getConstantCallback):
1507 (dispatchMessageCallback):
1509 2007-12-02 Darin Adler <darin@apple.com>
1511 * Scripts/do-webcore-rename: More planned renaming.
1513 2007-12-02 Sam Weinig <sam@webkit.org>
1515 Rubber stamped by Anders.
1517 Use [NSURL absoluteString] instead of [NSURL description] in order to get
1518 more uniform results cross platform.
1520 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1521 (-[NSURL _drt_descriptionSuitableForTestResult]):
1523 2007-12-02 Sam Weinig <sam@webkit.org>
1525 Rubber stamped by Niko.
1527 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
1529 * DumpRenderTree/win/DumpRenderTree.cpp:
1530 * DumpRenderTree/win/DumpRenderTree.vcproj:
1531 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
1532 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
1533 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
1534 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
1536 2007-12-01 Alp Toker <alp@atoker.com>
1538 Reviewed by Adam Roben.
1540 Make use of the newly introduced webkit.h convenience header.
1542 * GtkLauncher/main.c:
1544 2007-12-01 Adam Treat <treat@kde.org>
1548 * Check to see if the directory exists and exit if not.
1550 * DumpRenderTree/qt/main.cpp:
1553 2007-12-01 Adam Treat <treat@kde.org>
1557 * Don't hide symbols when in Debug mode
1558 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
1561 * DumpRenderTree/qt/main.cpp:
1564 2007-11-30 Alp Toker <alp@atoker.com>
1566 Reviewed by Adam Roben.
1568 http://bugs.webkit.org/show_bug.cgi?id=15691
1569 [GTK] Public API does not follow GTK+ conventions
1571 Refactor the WebKit/GTK+ public API. Changes:
1572 WebKitPage -> WebKitWebView
1573 WebKitFrame -> WebKitWebFrame
1575 Public API source and header names have been updated to mirror the API
1578 The API is now kept in WebKit/gtk/WebView to match other ports in the
1579 same class such as Mac and Win.
1581 * GtkLauncher/main.c:
1582 (activate_uri_entry_cb):
1585 (progress_change_cb):
1591 2007-11-30 Adam Roben <aroben@apple.com>
1593 Hopefully the final build fix
1595 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
1596 pull in WTF's assertion/logging functions.
1598 2007-11-30 Adam Roben <aroben@apple.com>
1602 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
1605 2007-11-30 Adam Roben <aroben@apple.com>
1609 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
1611 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
1613 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
1614 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
1615 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
1617 2007-11-30 Sam Weinig <sam@webkit.org>
1619 Reviewed by Adam Roben.
1621 Fix drawSelectionRect to actually draw the selection rect.
1623 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1624 (drawSelectionRect):
1626 2007-11-30 Darin Adler <darin@apple.com>
1628 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
1630 2007-11-30 Darin Adler <darin@apple.com>
1632 * Scripts/do-webcore-rename: Get ready for some future renaming.
1634 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1638 - Removed some unnecessary functions and changed an unused return type.
1640 * Drosera/win/DebuggerClient.cpp:
1641 (registerConsoleClass):
1642 * Drosera/win/DebuggerClient.h:
1643 * Drosera/win/Drosera.cpp:
1644 (registerDroseraClass):
1646 2007-11-28 Alp Toker <alp@atoker.com>
1648 Reviewed by Timothy Hatcher.
1650 http://bugs.webkit.org/show_bug.cgi?id=16174
1651 [GTK] Use "URI" not "URL" in public API
1653 Replace use of the term "URL" with "URI" in public headers,
1654 documentation and some internal code to match GLib/GTK+ convention.
1656 This is now mentioned in the API guidelines:
1657 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
1659 * GtkLauncher/main.c:
1660 (activate_uri_entry_cb):
1665 2007-11-29 Anders Carlsson <andersca@apple.com>
1669 <rdar://problem/5230478>
1670 FrameLoadDelegate callbacks are not dumped in DRT.
1672 * DumpRenderTree/win/DumpRenderTree.cpp:
1673 (shouldLogFrameLoadDelegates):
1676 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1678 (descriptionSuitableForTestResult):
1679 (FrameLoadDelegate::QueryInterface):
1680 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1681 (FrameLoadDelegate::didFailProvisionalLoadWithError):
1682 (FrameLoadDelegate::didCommitLoadForFrame):
1683 (FrameLoadDelegate::didFinishLoadForFrame):
1684 (FrameLoadDelegate::willCloseFrame):
1685 (FrameLoadDelegate::didClearWindowObject):
1686 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
1687 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
1688 * DumpRenderTree/win/FrameLoaderDelegate.h:
1689 (FrameLoadDelegate::windowScriptObjectAvailable):
1690 (FrameLoadDelegate::didFirstLayoutInFrame):
1692 2007-11-29 Sam Weinig <sam@webkit.org>
1696 Add database quota UIDelegates methods to DRT UIDelegate.
1698 * DumpRenderTree/mac/UIDelegate.mm:
1699 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1700 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
1702 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1706 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
1707 dying and vice versa.
1708 - This fix will allow Drosera and Safari to reconnect if either of them
1709 closes correctly, but does not fix the case where one of them dies
1712 * Drosera/win/ServerConnection.cpp:
1713 (ServerConnection::attemptToCreateServerConnection): Added a safety
1714 check, because it's possilbe to try to connect to a server that's dying.
1715 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
1716 the server has died.
1717 * Drosera/win/ServerConnection.h: Added the new function and removed
1718 an unnecessary member.
1720 2007-11-29 Anders Carlsson <andersca@apple.com>
1722 * DumpRenderTree/win/DumpRenderTree.vcproj:
1723 Add shlwapi.lib to all configurations.
1725 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1727 - Build fix. Added additional includes for VS Express to the Release
1730 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1732 2007-11-29 Anders Carlsson <andersca@apple.com>
1736 <rdar://problem/5132005>
1737 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
1739 * DumpRenderTree/win/DumpRenderTree.vcproj:
1742 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1743 (LayoutTestController::setUserStyleSheetEnabled):
1746 (appendComponentToPath):
1747 New method which wraps the Win32 API PathAppend.
1750 New method which checks if a file points to a shortcut and
1751 follows the shortcut.
1753 (resolveCygwinPath):
1754 New method that takes a cygwin unix-style path and returns the Win32 path.
1756 (cfStringRefToWString):
1758 (LayoutTestController::setUserStyleSheetLocation):
1761 2007-11-29 Alice Liu <alice.liu@apple.com>
1765 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
1767 * DumpRenderTree/win/EventSender.cpp:
1769 uppercase letters were being sent as lowercase letters without the shift key down.
1771 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1773 - Windows build fix. VS express needs some love.
1775 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1777 2007-11-28 Darin Adler <darin@apple.com>
1779 Reviewed by Adam Roben.
1781 * DumpRenderTree/mac/EventSendingController.mm:
1782 (-[EventSendingController keyDown:withModifiers:]):
1783 Send capital letters through as lowercase letters with the shift key down
1784 rather than sending them as if they were highly unusual "capital letter keys".
1786 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
1787 where you need to update results and more tests are failing than before.
1789 2007-11-28 Anders Carlsson <andersca@apple.com>
1793 <rdar://problem/5132001>
1794 contextClick is not implemented in DRT on Windows.
1796 * DumpRenderTree/win/EventSender.cpp:
1797 (contextClickCallback):
1798 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
1799 by a WM_RBUTTONUP message.
1801 * DumpRenderTree/win/UIDelegate.cpp:
1802 (UIDelegate::hasCustomMenuImplementation):
1803 (UIDelegate::trackCustomPopupMenu):
1804 * DumpRenderTree/win/UIDelegate.h:
1805 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
1806 menu from being shown (and causing the DRT to hang).
1808 2007-11-27 Maciej Stachowiak <mjs@apple.com>
1812 Fix DumpRenderTree ObjC bug comparing strings.
1814 * DumpRenderTree/mac/ObjCController.m:
1815 (-[ObjCController identityIsEqual::]): Compare strings with string
1816 equality instead of identiy equality.
1818 2007-11-27 Timothy Hatcher <timothy@apple.com>
1822 Reset the authorAndUserStylesEnabled preference
1823 back to YES for each test. Fixes the broken tests.
1825 * DumpRenderTree/mac/DumpRenderTree.mm:
1826 (resetWebViewToConsistentStateBeforeTesting):
1828 2007-11-27 Kevin McCullough <kmccullough@apple.com>
1832 - Drosera now displays the console window, although it cannot currently
1835 * Drosera/win/DebuggerClient.cpp: Shows the console window.
1836 (registerConsoleClass): Implemented.
1837 (consoleWndProc): Implemented.
1838 (DebuggerClient::onSize): Implemented.
1839 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
1841 * Drosera/win/DebuggerClient.h: Added needed method and members for
1842 creating and maintaining a new window.
1843 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
1844 lines of code to more appropriate places.
1845 (Drosera::handleCommand):
1850 2007-11-27 Timothy Hatcher <timothy@apple.com>
1852 Reviewed by Dave Hyatt.
1854 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
1856 Add support for disabling author and user styles for testing.
1858 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1859 * DumpRenderTree/LayoutTestController.cpp:
1860 (setAuthorAndUserStylesEnabledCallback):
1861 (LayoutTestController::staticFunctions):
1862 * DumpRenderTree/LayoutTestController.h:
1863 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1864 (LayoutTestController::setAuthorAndUserStylesEnabled):
1865 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1866 (LayoutTestController::setAuthorAndUserStylesEnabled):
1868 2007-11-26 Dan Bernstein <mitz@apple.com>
1872 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1874 2007-11-26 Kevin McCullough <kmccullough@apple.com>
1878 - Implemented displaying variables for Drosera on Win.
1880 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
1881 that retrieve variables to not hold onto the return value since it's
1882 not returned. Also changed to use the new signatures of the retrieval
1884 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1885 (DebuggerDocument::platformValueForScopeVariableNamed):
1886 * Drosera/win/Drosera.cpp: Removed a needless TODO.
1889 2007-11-26 Sam Weinig <sam@webkit.org>
1891 Cleanup names of painting and repainting functions.
1893 Reviewed by Adam Roben.
1895 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1896 (drawSelectionRect): was drawSelectionRectIntoContext.
1897 (dumpWebViewAsPixelsAndCompareWithExpected):
1898 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1899 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1900 (paintWebView): was drawWebViewIntoContext.
1901 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
1903 2007-11-26 Sam Weinig <sam@webkit.org>
1905 Reviewed by Dan Bernstein.
1909 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1911 2007-11-26 Sam Weinig <sam@webkit.org>
1913 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
1914 Use shared PixelDumpSupport for Mac DRT
1916 Reviewed by Adam Roben.
1918 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1919 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
1920 * DumpRenderTree/cg/ImageDiffCG.cpp:
1921 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1922 (drawSelectionRectIntoContext):
1923 (dumpWebViewAsPixelsAndCompareWithExpected):
1924 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1925 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1926 * DumpRenderTree/mac/DumpRenderTree.mm:
1928 * DumpRenderTree/mac/ImageDiff.m: Removed.
1929 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
1930 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
1931 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
1932 (setDefaultColorProfileToRGB):
1933 (getBitmapContextFromWebView):
1934 (drawWebViewIntoContext):
1935 (repaintWithVerticalSweep):
1936 (repaintWithHorizontalSweep):
1938 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
1940 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
1942 Bug 16052: prepare-ChangeLog doesn't report deleted files
1943 <http://bugs.webkit.org/show_bug.cgi?id=16052>
1947 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
1949 2007-11-25 David Kilzer <ddkilzer@webkit.org>
1951 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
1952 <http://bugs.webkit.org/show_bug.cgi?id=15864>
1956 Roll functionality of merge-changelog into resolve-ChangeLogs
1957 script. The script now checks for ChangeLog.rej and
1958 ChangeLog.orig files first. If it finds them, it uses the
1959 ChangeLog.rej file as a patch (in old contextual diff format) to
1960 apply with --fuzz=3.
1962 * Scripts/merge-changelog: Removed.
1963 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
1965 2007-11-25 Sam Weinig <sam@webkit.org>
1967 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
1969 Reviewed by Mark Rowe.
1971 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1972 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1973 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1974 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
1975 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
1977 2007-11-25 Sam Weinig <sam@webkit.org>
1979 Convert DumpRenderTree to ues .xcconfig files.
1981 Reviewed by Mark Rowe.
1983 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1984 * DumpRenderTree/mac/Configurations: Added.
1985 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
1986 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
1987 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
1989 2007-11-25 Sam Weinig <sam@webkit.org>
1991 Add ForwardingHeaders to wtf for DumpRenderTree.
1993 Reviewed by Mark Rowe.
1995 * DumpRenderTree/DumpRenderTree.h:
1996 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1997 * DumpRenderTree/ForwardingHeaders: Added.
1998 * DumpRenderTree/ForwardingHeaders/wtf: Added.
1999 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
2000 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
2001 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
2002 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
2003 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
2004 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
2005 * DumpRenderTree/LayoutTestController.cpp:
2006 * DumpRenderTree/WorkQueue.cpp:
2007 * DumpRenderTree/mac/DumpRenderTree.mm:
2008 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2009 * DumpRenderTree/mac/JavaScriptThreading.cpp:
2010 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2011 * DumpRenderTree/mac/ObjCController.m:
2012 * DumpRenderTree/mac/UIDelegate.mm:
2013 * DumpRenderTree/mac/WorkQueueItemMac.mm:
2015 2007-11-25 Adam Roben <aroben@apple.com>
2017 Fix some test failures caused by r28019
2019 Now that stdout is in binary mode, we need to always use printf
2020 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
2025 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
2027 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2028 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2029 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2030 (UIDelegate::webViewAddMessageToConsole):
2032 2007-11-25 Adam Roben <aroben@apple.com>
2034 Set the font smoothing preference in DRT
2036 This makes the pixel results on Windows closer to the Mac results.
2040 * DumpRenderTree/win/DumpRenderTree.cpp:
2041 (initializePreferences):
2043 2007-11-25 Adam Roben <aroben@apple.com>
2045 Port ImageDiff to CG and C++
2047 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
2052 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
2053 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
2055 (createImageFromStdin):
2057 (getDifferenceBitmap):
2058 (computePercentageDifferent):
2059 * DumpRenderTree/win/ImageDiff.vcproj: Added.
2061 2007-11-25 Adam Roben <aroben@apple.com>
2063 Fix image diff link generation on Windows
2067 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
2070 2007-11-25 Adam Roben <aroben@apple.com>
2072 Implement pixel dumping in Windows DRT
2074 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
2079 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
2080 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
2081 Content-Length header.
2082 (getMD5HashStringForBitmap):
2083 (dumpWebViewAsPixelsAndCompareWithExpected):
2084 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
2085 * DumpRenderTree/win/DumpRenderTree.cpp:
2086 (dump): Do a pixel dump if requested.
2087 (main): Parse pixel test options.
2088 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
2089 the cg/ subdirectory to the include path.
2090 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
2091 available in a header or import library, so we have to go through this
2092 LoadLibrary/GetProcAddress dance to use them.
2100 * DumpRenderTree/win/MD5.h: Added.
2101 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
2102 moved up to the top level to share it with Mac eventually.
2103 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
2104 (getBitmapContextFromWebView): Forces the WebView to paint using a
2105 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
2107 2007-11-25 Adam Roben <aroben@apple.com>
2109 Clean up Windows DRT's option parsing a little bit
2113 * DumpRenderTree/win/DumpRenderTree.cpp:
2114 (main): Put non-option arguments into a Vector.
2116 2007-11-25 Adam Roben <aroben@apple.com>
2118 Make Windows DRT stop changing LF into CRLF
2122 * DumpRenderTree/win/DumpRenderTree.cpp:
2123 (main): Put stdout in binary mode.
2124 * Scripts/run-webkit-tests: Remove the CRLF hack.
2126 2007-11-24 David Kilzer <ddkilzer@webkit.org>
2128 Removed empty directory.
2130 * Scripts/resources: Removed.
2132 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
2134 Fix bisect-builds to work with recent WebKit nightly builds.
2138 * Scripts/bisect-builds: Check for the
2139 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
2140 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
2141 to WebKit.app/Contents/Resources.
2143 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
2147 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
2148 not closed (affects digg.com)
2150 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
2151 one after finishing with a test to avoid having its delayed onload handler firing when
2152 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
2153 but it helps somewhat.
2155 2007-11-22 Mark Rowe <mrowe@apple.com>
2157 Reviewed by Alp Toker.
2159 Fix build-webkit to propagate make's exit status if it fails.
2161 * Scripts/webkitdirs.pm:
2163 2007-11-22 Dan Bernstein <mitz@apple.com>
2165 Reviewed by Mark Rowe.
2167 - fix crash when running pixel tests
2169 * DumpRenderTree/mac/DumpRenderTree.mm:
2170 (dumpRenderTree): Parse the command line options before setting up the
2171 environment so that we know if we need to set up the pixel dump
2174 2007-11-21 Eric Seidel <eric@webkit.org>
2176 Speculative build fix for Tiger.
2178 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
2180 2007-11-21 Eric Seidel <eric@webkit.org>
2182 Reviewed by Tim Hatcher.
2184 Break out more of DumpRenderTree.mm into individual files
2186 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2187 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
2190 (makeLargeMallocFailSilently):
2191 * DumpRenderTree/mac/CheckedMalloc.h: Added.
2192 * DumpRenderTree/mac/DumpRenderTree.mm:
2195 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2196 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2197 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2198 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2199 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2200 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
2201 (javaScriptThreads):
2202 (runJavaScriptThread):
2203 (startJavaScriptThreads):
2204 (stopJavaScriptThreads):
2205 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
2206 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
2207 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
2208 (restoreColorSpace):
2209 (setDefaultColorProfileToRGB):
2210 (initializeColorSpaceAndScreeBufferForPixelTests):
2211 (md5HashStringForBitmap):
2212 (dumpWebViewAsPixelsAndCompareWithExpected):
2214 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
2216 Move install-unix-extras to wx directory as it seems only to be used by that
2217 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
2218 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
2219 have install-unix-extras install into WebKitLibraries as per
2222 Reviewed by Mark Rowe.
2224 * Scripts/install-unix-extras: Removed.
2225 * wx/build-wxwebkit:
2226 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
2228 2007-11-21 Eric Seidel <eric@webkit.org>
2232 More refactoring for greater code readability
2234 * DumpRenderTree/mac/DumpRenderTree.mm:
2235 (initializeGlobalsFromCommandLineOptions):
2236 (initializeColorSpaceAndScreeBufferForPixelTests):
2237 (addTestPluginsToPluginSearchPath):
2238 (useLongRunningServerMode):
2239 (runTestingServerLoop):
2240 (prepareConsistentTestingEnvironment):
2244 (dumpBackForwardListForWebView):
2245 (sizeWebViewForCurrentTest):
2246 (methodNameStringForFailedTest):
2247 (dumpBackForwardListForAllWindows):
2248 (dumpWebViewAsPixelsAndCompareWithExpected):
2249 (invalidateAnyPreviousWaitToDumpWatchdog):
2251 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2252 * DumpRenderTree/mac/UIDelegate.mm:
2253 (-[UIDelegate webView:createWebViewWithRequest:]):
2255 2007-11-21 Eric Seidel <eric@webkit.org>
2257 Reviewed by Tim Hatcher.
2259 Abstract more of DRT into static methods
2261 * DumpRenderTree/mac/DumpRenderTree.mm:
2262 (setDefaultsToConsistentValuesForTesting):
2263 (setupSignalHandlers):
2264 (allocateGlobalControllers):
2266 (releaseGlobalControllers):
2268 (shouldLogFrameLoadDelegates):
2269 (createCFURLFromPathOrURL):
2270 (resetWebViewToConsistentStateBeforeTesting):
2273 2007-11-21 Eric Seidel <eric@webkit.org>
2275 Reviewed by Tim Hatcher.
2277 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
2279 * DumpRenderTree/DumpRenderTree.h:
2280 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2281 * DumpRenderTree/mac/DumpRenderTree.mm:
2285 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
2286 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
2287 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
2288 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
2289 (-[DumpRenderTreePasteboard declareType:owner:]):
2290 (+[LocalPasteboard alloc]):
2291 (-[LocalPasteboard init]):
2292 (-[LocalPasteboard dealloc]):
2293 (-[LocalPasteboard name]):
2294 (-[LocalPasteboard releaseGlobally]):
2295 (-[LocalPasteboard declareTypes:owner:]):
2296 (-[LocalPasteboard addTypes:owner:]):
2297 (-[LocalPasteboard changeCount]):
2298 (-[LocalPasteboard types]):
2299 (-[LocalPasteboard availableTypeFromArray:]):
2300 (-[LocalPasteboard setData:forType:]):
2301 (-[LocalPasteboard dataForType:]):
2302 (-[LocalPasteboard setPropertyList:forType:]):
2303 (-[LocalPasteboard setString:forType:]):
2304 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
2305 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
2306 (+[DumpRenderTreeWindow allWindows]):
2307 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2308 (-[DumpRenderTreeWindow dealloc]):
2309 (-[DumpRenderTreeWindow isKeyWindow]):
2310 (-[DumpRenderTreeWindow keyDown:]):
2312 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
2314 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
2315 it indiscriminately copies any headers inside JavaScriptCore,
2316 which includes Tiger ICU headers.
2318 * wx/build-wxwebkit:
2319 Don't run WebCore/move-js-headers.sh any longer.
2321 2007-11-20 Adam Treat <treat@kde.org>
2323 Reviewed by David Kilzer.
2325 * Prepend git branch name to $baseProductDir
2327 * Scripts/VCSUtils.pm:
2328 * Scripts/webkitdirs.pm:
2330 2007-11-20 Mark Rowe <mrowe@apple.com>
2332 Reviewed by Simon Hausmann.
2334 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
2335 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
2336 Have it trigger a "make distclean" rather than "make clean" to ensure that the
2337 built product and generated Makefile's are removed.
2339 2007-11-19 Alp Toker <alp@atoker.com>
2341 Reviewed by Mark Rowe.
2343 http://bugs.webkit.org/show_bug.cgi?id=16040
2344 [GTK] GtkLauncher should be written in C
2346 Port GtkLauncher to plain C.
2348 Use a more conventional GTK+ coding style.
2350 Use a toolbar instead of menus.
2352 Various signature fixes and cleanups.
2354 Add a license header. Assume all previous modifications were copyright
2355 assigned to Apple Inc. by default.
2357 * GtkLauncher/GtkLauncher.pro:
2358 * GtkLauncher/main.c: Added.
2359 (activate_url_entry_cb):
2363 (progress_change_cb):
2372 * GtkLauncher/main.cpp: Removed.
2374 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
2376 Build script fixes to ensure they do the right thing for the
2377 wx port, and update build-wxwebkit to reflect the way the
2378 build scripts now work.
2382 * Scripts/build-testkjs:
2383 * Scripts/build-webkit:
2384 * Scripts/run-javascriptcore-tests:
2385 * Scripts/webkitdirs.pm:
2386 * wx/build-wxwebkit:
2388 2007-11-18 Eric Seidel <eric@webkit.org>
2392 Make run-javascriptcore-tests report failures on exit (to support git bisect)
2394 * Scripts/run-javascriptcore-tests:
2396 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
2398 Reviewed by Adam Roben.
2400 Make run-webkit-tests work with Windows debug build.
2402 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
2403 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
2404 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
2405 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
2406 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
2408 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
2410 Add wxWebKit sample and build script, and integrate it with
2411 build-webkit. Also make build-webkit --clean work for all
2414 Reviewed by Darin Adler.
2416 * Scripts/build-webkit:
2417 * Scripts/webkitdirs.pm:
2419 * wx/browser: Added.
2420 * wx/browser/browser.bkl: Added.
2421 * wx/browser/browser.cpp: Added.
2422 * wx/build-wxwebkit: Added.
2424 2007-11-17 Adam Roben <aroben@apple.com>
2426 Make it easy to run Safari in the debugger on Windows
2428 I've added a new script, debug-safari, which launches Safari in the
2429 debugger. On OS X it just calls gdb-safari.
2431 Reviewed by Mark Rowe.
2433 * FindSafari/FindSafari.cpp:
2434 (_tmain): Added a /debugger flag, which in combination with
2435 /printSafariLauncher will print a script that launches Safari in the
2437 * Scripts/debug-safari: Added.
2438 * Scripts/run-safari: Changed to call runSafari().
2439 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
2440 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
2441 first argument along to FindSafari.
2442 * Scripts/webkitdirs.pm:
2443 (sub runSafari): Added.
2445 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
2447 Reviewed by Adam Roben.
2449 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
2451 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
2453 Reviewed by David Kilzer.
2455 The git config command was renamed to repo-config at some point. This
2456 change tries git config and then git repo-config if the first fails.
2458 * Scripts/prepare-ChangeLog:
2461 2007-11-16 Dan Bernstein <mitz@apple.com>
2463 Reviewed by Darin Adler and Sam Weinig.
2465 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
2467 * DumpRenderTree/win/EventSender.cpp:
2468 (keyDownCallback): For characters that cannot be entered on the active
2469 keyboard layout, send a WM_CHAR message with the character along with
2470 a WM_KEYDOWN message with a virtual key code of 255.
2472 2007-11-16 Mark Rowe <mrowe@apple.com>
2474 Reviewed by Tim Hatcher.
2476 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
2478 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2479 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2481 2007-11-15 Adam Roben <aroben@apple.com>
2483 Make run-safari actually work on Windows
2485 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
2488 2007-11-14 Adam Roben <aroben@apple.com>
2490 Updates to Safari launching now that 3.0.4 is released
2494 * FindSafari/FindSafari.cpp:
2495 (getWebViewCLSID): Use version-independent ProgID.
2496 * Scripts/run-safari: Use run-webkit-nightly.cmd.
2498 2007-11-14 Anders Carlsson <andersca@apple.com>
2502 <rdar://problem/5309081>
2503 In DRT, "plugin.logDestroy = true" not working on Windows.
2505 * DumpRenderTree/win/TestNetscapePlugin/main.c:
2508 2007-11-14 Eric Seidel <eric@webkit.org>
2512 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
2514 2007-11-14 Anders Carlsson <andersca@apple.com>
2518 <rdar://problem/5141186>
2519 window.layoutTestController.setWindowIsKey is not implemented in DRT.
2521 Implement setWindowIsKey.
2523 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2524 (LayoutTestController::setWindowIsKey):
2526 2007-11-13 Sam Weinig <sam@webkit.org>
2528 Reviewed by Adam Roben.
2530 Fix for <rdar://problem/5382579>
2531 http/tests/security/cross-frame-access-put.html reports large
2532 negative numbers for screenLeft and screenTop (Mac reports "0")
2534 * DumpRenderTree/win/UIDelegate.cpp:
2535 (UIDelegate::UIDelegate): Initialize the RECT.
2536 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
2537 (UIDelegate::webViewFrame): ditto.
2538 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
2540 2007-11-13 Kevin McCullough <kmccullough@apple.com>
2544 - Make Drosera show source, source URLs, and function stack on Windows,
2545 and some minor fixes.
2547 * Drosera/DebuggerDocument.cpp: Force source to always update display.
2548 (DebuggerDocument::updateFileSource):
2549 * Drosera/debugger.js: Force source to always update display.
2550 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
2552 (DebuggerClient::resume):
2553 (DebuggerClient::pause):
2554 (DebuggerClient::stepInto):
2555 (DebuggerClient::stepOver):
2556 (DebuggerClient::stepOut):
2557 (DebuggerClient::showConsole):
2558 (DebuggerClient::closeCurrentFile):
2559 * Drosera/win/DebuggerClient.h: Ditto.
2560 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
2561 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
2562 removed two bugs. 1) caller could be in a bad state when asked to
2563 assign into it. 2) BSTRs were not created correctly.
2564 (DebuggerDocument::getPlatformCurrentFunctionStack):
2565 * Drosera/win/Drosera.cpp: Hook up the menu controls.
2570 (Drosera::stepInto):
2571 (Drosera::stepOver):
2573 (Drosera::showConsole):
2574 (Drosera::closeCurrentFile):
2575 * Drosera/win/Drosera.h: Hook up the menu controls.
2576 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
2577 functions, added a null check, and fixed another bug where caller could
2578 be in a bad state when asked to assign into it.
2579 (ServerConnection::didLoadMainResourceForDataSource):
2580 (ServerConnection::getCallerFrame):
2581 * Drosera/win/ServerConnection.h: Safety first.
2583 2007-11-13 Dan Bernstein <mitz@apple.com>
2585 Reviewed by Darin Adler.
2587 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
2588 DumpRenderTree --pixel-tests renders each test twice
2590 * DumpRenderTree/mac/DumpRenderTree.mm:
2591 (dumpRenderTree): Removed the --paint option because the painting code
2592 is always exercised as a result of
2593 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
2594 calling -displayIfNeeded.
2595 (dump): Changed to always grab the image from the window since the view
2596 is always displayed.
2599 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
2600 because it always paints.
2602 2007-11-12 Antti Koivisto <antti@apple.com>
2606 Add support for http media tests
2608 * Scripts/run-webkit-tests:
2610 2007-11-12 Sam Weinig <sam@webkit.org>
2612 Reviewed by Adam Roben.
2614 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
2616 * DumpRenderTree/win/DumpRenderTree.cpp:
2618 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2619 (LayoutTestController::setPrivateBrowsingEnabled):
2621 2007-11-12 Adam Roben <aroben@apple.com>
2623 * Scripts/update-webkit-localizable-strings: Changed to only scan the
2624 mac and win subdirectories.
2626 2007-11-11 Adam Roben <aroben@apple.com>
2628 Fix <rdar://5133816> keepWebHistory is not implemented
2630 Fixes fast/history/clicked-link-is-visited.html.
2634 * DumpRenderTree/win/DumpRenderTree.cpp:
2635 (runTest): Clear the optionalSharedHistory.
2636 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2637 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
2639 2007-11-10 Sam Weinig <sam@webkit.org>
2641 Reviewed by Tim Hatcher.
2643 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
2644 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
2647 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
2649 Added test: http/tests/security/cross-frame-access-private-browsing.html
2651 * DumpRenderTree/LayoutTestController.cpp:
2652 (setPrivateBrowsingEnabledCallback):
2653 (LayoutTestController::staticFunctions):
2654 * DumpRenderTree/LayoutTestController.h:
2655 * DumpRenderTree/mac/DumpRenderTree.mm:
2656 (runTest): Default to private browsing disabled.
2657 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2658 (LayoutTestController::setPrivateBrowsingEnabled):
2659 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2660 (LayoutTestController::setPrivateBrowsingEnabled):
2662 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2666 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
2669 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2670 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
2671 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2672 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2673 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
2674 * Drosera/win/Drosera.cpp:
2675 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2677 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2681 - Use the new IWebFrame [local] function signature and get the shared
2684 * Drosera/win/DebuggerClient.cpp:
2685 (DebuggerClient::didFinishLoadForFrame):
2686 * Drosera/win/ServerConnection.cpp:
2687 (ServerConnection::attemptToCreateServerConnection):
2689 2007-11-07 Dan Bernstein <mitz@apple.com>
2691 Reviewed by Darin Adler.
2693 - add an option to run-webkit-tests to ignore pixel test failures where
2694 all pixels differ by no more than a specified threshold
2696 * DumpRenderTree/mac/ImageDiff.m:
2699 (computePercentageDifferent):
2700 * Scripts/run-webkit-tests:
2702 2007-11-07 Simon Hausmann <hausmann@kde.org>
2706 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2708 * DumpRenderTree/qt/DumpRenderTree.cpp:
2710 2007-11-07 Simon Hausmann <hausmann@kde.org>
2714 Reworked the QWebSettings API.
2715 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2717 * DumpRenderTree/qt/DumpRenderTree.cpp:
2719 2007-11-07 Simon Hausmann <hausmann@kde.org>
2723 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2725 * DumpRenderTree/qt/jsobjects.cpp:
2727 2007-11-07 Simon Hausmann <hausmann@kde.org>
2729 Reviewed by Lars Knoll <lars@trolltech.com>.
2731 Add a QWebPage::frameCreated() signal and fix DRT
2733 The removal of createFrame in QWebPage broke the re-implementation
2734 in DumpRenderTree. Instead emit a frameCreated() signal and
2735 connect to it in DumpRenderTree.
2738 * DumpRenderTree/qt/DumpRenderTree.cpp:
2739 (WebCore::WebPage::WebPage):
2740 (WebCore::DumpRenderTree::dump):
2741 (WebCore::DumpRenderTree::connectFrame):
2742 * DumpRenderTree/qt/DumpRenderTree.h:
2744 2007-11-07 Simon Hausmann <hausmann@kde.org>
2746 Reviewed by Lars Knoll <lars@trolltech.com>.
2748 Moved all the event handlers from QWebFrame into QWebPage.
2750 This cleans up the public API and allows us to remove the
2751 HackWebFrame hack in DumpRenderTree.
2754 * DumpRenderTree/qt/jsobjects.cpp:
2755 (EventSender::mouseDown):
2756 (EventSender::mouseUp):
2757 (EventSender::mouseMoveTo):
2759 2007-11-07 Simon Hausmann <hausmann@kde.org>
2763 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
2764 to prevent the default implementation from popping up messageboxes.
2766 * DumpRenderTree/qt/DumpRenderTree.cpp:
2767 (WebCore::WebPage::javaScriptConfirm):
2768 (WebCore::WebPage::javaScriptPrompt):
2770 2007-11-06 Eric Seidel <eric@webkit.org>
2772 * Scripts/build-testkjs: build fix... too many $$
2774 2007-11-06 Eric Seidel <eric@webkit.org>
2776 Reviewed by Mark Rowe.
2778 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
2780 2007-11-05 Adam Roben <aroben@apple.com>
2782 Add support on Windows for WEBKIT_TESTFONTS
2784 This environment variable lets you specify where the fonts to be used
2785 by DumpRenderTree reside. The Qt port is already using this, so I'm
2786 just following their lead.
2790 * DumpRenderTree/win/DumpRenderTree.cpp:
2791 (exePath): Refactored code out of initialize().
2792 (fontsPath): Returns either $WEBKIT_TESTFONTS or
2793 DumpRenderTree.resources.
2794 (initialize): Use the new fontsPath function.
2795 (main): Use the new exePath function.
2796 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
2797 variable to DRT, like Qt does.
2799 2007-11-05 Mark Rowe <mrowe@apple.com>
2801 Rubber-stamped by Alp Toker.
2803 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
2805 * GtkLauncher/main.cpp:
2809 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
2811 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
2812 <http://bugs.webkit.org/show_bug.cgi?id=15830>
2814 Reviewed by Timothy.
2816 Restrict the range of nightly builds used by the bisect-builds script
2817 based on the version of Safari and the version of Mac OS X being used.
2819 Mac OS X 10.4: Safari 2.0: r11976 or newer
2820 Mac OS X 10.4: Safari 3.0: r19992 or newer
2822 Mac OS X 10.5: Safari 2.0: r19594 or newer
2823 Mac OS X 10.5: Safari 3.0: r25124 or newer
2825 * Scripts/bisect-builds:
2826 (findMacOSXVersion): Added.
2827 (makeNightlyList): Added argument to provide version of Mac OS X.
2828 Restrict range of nightly builds based on Safari and Mac OS X versions.
2830 2007-11-04 Kevin McCullough <kmccullough@apple.com>
2834 - This patch involves several changes, all of them were noticed that
2835 they were needed by the work being done in WebKit to get Drosera and
2836 WebKit working together on Windows.
2838 1) Added a debugger console for output messages.
2839 2) Drosera now listens for the WebKit server (before, the server would
2840 have to be running before Drosera was started.)
2841 3) Fixed a bug where the WebView started out as 0x0 pixels.
2842 4) Fixed a bug when there is no scope.
2843 5) Added the HTML, JS, and CSS to the project file to make them easy to
2845 6) Made the ServerConnection functions virtual.
2847 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
2848 for the WebKit server.
2849 (DebuggerClient::DebuggerClient):
2850 (DebuggerClient::~DebuggerClient):
2851 (DebuggerClient::didFinishLoadForFrame):
2852 (DebuggerClient::serverConnected):
2853 (DebuggerClient::attemptToCreateServerConnection):
2854 * Drosera/win/DebuggerClient.h: Ditto.
2855 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
2857 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2858 (DebuggerDocument::platformValueForScopeVariableNamed):
2859 * Drosera/win/Drosera.cpp:
2860 (_tWinMain): Added a console in debug for output messages.
2861 (Drosera::Drosera): Listen for server.
2862 (Drosera::initUI): The server now Initializes COM.
2863 (Drosera::serverConnected): Part of the listening for the server.
2864 (Drosera::attemptToCreateServerConnection): Ditto.
2865 * Drosera/win/Drosera.h: New interface for listening for the server.
2866 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
2867 files to the VS project.
2868 * Drosera/win/ServerConnection.cpp: Part of listening for the server
2870 (ServerConnection::ServerConnection):
2871 (ServerConnection::attemptToCreateServerConnection):
2872 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
2874 (ServerConnection::serverConnected):
2876 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
2880 http://bugs.webkit.org/show_bug.cgi?id=15832
2881 fast/dom/gc-10.html crashes when run alone
2883 Check for !done before using objects that can be already deallocated.
2885 * DumpRenderTree/mac/EditingDelegate.mm:
2886 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2887 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2888 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2889 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2890 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2891 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2892 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2893 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2894 (-[EditingDelegate webViewDidBeginEditing:]):
2895 (-[EditingDelegate webViewDidChange:]):
2896 (-[EditingDelegate webViewDidEndEditing:]):
2897 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2898 (-[EditingDelegate webViewDidChangeSelection:]):
2899 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2900 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2901 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2902 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2903 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2904 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2905 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2906 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2907 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2908 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2909 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2910 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2911 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2912 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2913 (-[FrameLoadDelegate webView:willCloseFrame:]):
2914 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2915 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2916 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2917 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2918 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2919 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2920 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2921 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2922 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2924 2007-11-04 Mark Rowe <mrowe@apple.com>
2926 Build fix. Don't use Carbon.h as the prefix header as it triggers
2927 warnings that would otherwise be suppressed due to it being a system header.
2929 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2931 2007-11-03 Maciej Stachowiak <mjs@apple.com>
2933 Rubber stamped by Adam.
2935 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
2937 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2939 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
2941 Sort files(...); sections of Xcode project files.
2943 Rubber-stamped by Darin.
2945 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2946 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2947 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2948 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2950 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
2952 Script to sort "files(...);" sections in Xcode project.pbxproj files.
2956 * Scripts/sort-Xcode-project-file: Added.
2958 2007-11-02 Darin Adler <darin@apple.com>
2960 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
2962 2007-11-02 Darin Adler <darin@apple.com>
2966 * Scripts/run-sunspider: Pass the "--base" option through.
2968 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
2969 the real script do that. Default configuration to Release to match run-sunspider
2970 so we don't end up building Debug just to compare results.
2972 2007-11-01 Adam Roben <aroben@apple.com>
2974 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
2978 * Scripts/commit-log-editor: Show all the directories beneath the
2979 source root, instead of just the last one.
2981 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
2983 Reviewed by Adam Roben.
2985 Print out an error message when the Windows build fails
2986 and provide guidance on how to find out what went wrong.
2988 * Scripts/build-webkit:
2989 * Scripts/webkitdirs.pm:
2991 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
2993 Rubber-stamped by Adam Roben.
2995 Rolled out r27326 - debug CRT seems to cause no problems after all.
2997 * DumpRenderTree/win/DumpRenderTree.vcproj:
2999 2007-10-31 Adam Roben <aroben@apple.com>
3001 Switch the Debug configuration to using the non-debug CRT
3003 This matches WebKit.
3007 * DumpRenderTree/win/DumpRenderTree.vcproj:
3009 2007-10-31 Antti Koivisto <antti@apple.com>
3013 Disable media tests when doing leak checking on Tiger.
3014 They crash in QuickTime (rdar://problem/5537157).
3016 * Scripts/run-webkit-tests:
3018 2007-10-29 Antti Koivisto <antti@apple.com>
3022 Build media support by default on OSX only.
3024 * Scripts/build-webkit:
3026 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3028 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
3029 get caught by the pre-commit hooks.
3031 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3035 - This is a collection of relatively unrelated changes and cleanups
3036 to Drosera to prepare it for interacting with WebKit. A lot of these
3037 changes are just correcting mistakes, for example removing included
3038 headers that are no longer needed.
3040 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
3041 this will be needed by the DebuggerClient.
3042 (DebuggerDocument::server):
3043 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
3044 * Drosera/win/DebuggerClient.cpp:
3045 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
3046 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
3047 (DebuggerClient::createWebViewWithRequest): Added comment about its
3049 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
3051 (DebuggerClient::webViewLoaded): Moved.
3052 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
3053 file, since this was the only place it was used.
3055 * Drosera/win/Drosera.h: Cleaned up the includes.
3056 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
3057 * Drosera/win/HelperFunctions.h: Removed.
3059 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3063 - Small cleanup in the ServerConnection class.
3065 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
3066 and added an include.
3067 (ServerConnection::currentFrame):
3068 (ServerConnection::getCallerFrame):
3069 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
3070 made a pointer into a COMPtr, and cleaned up the includes.
3072 2007-10-29 Timothy Hatcher <timothy@apple.com>
3074 Reviewed by John Sullivan.
3076 - Place the Localizable.strings file in mac or win directories
3077 if that location exists.
3078 - Also look for UI_STRING in .c files.
3080 * Scripts/extract-localizable-strings:
3082 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3086 - Set the eol-style to native and made all the line endings the same
3087 so that I avoid messy diffs that show eol changes.
3089 * Drosera/win/ServerConnection.cpp:
3090 (ServerConnection::didParseSource):
3091 (ServerConnection::didEnterCallFrame):
3092 (ServerConnection::willExecuteStatement):
3093 (ServerConnection::willLeaveCallFrame):
3094 (ServerConnection::exceptionWasRaised):
3096 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3100 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
3101 functionality that could not have existed previously without the new
3103 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
3104 from a BSTR to a JSValueRef.
3105 (DebuggerDocument::platformEvaluateScript): Implemented.
3106 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
3107 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3109 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
3110 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
3111 * Drosera/win/ServerConnection.cpp: Added a helper function.
3112 (ServerConnection::getCallerFrame):
3113 * Drosera/win/ServerConnection.h: Added a helper function.
3115 2007-10-29 Kevin McCullough <kmccullough@apple.com>
3117 updated reviewers for my previous changelog.
3119 2007-10-29 Kevin McCullough <kmccullough@apple.com>
3120 Reviewed by Maciej and Adam and Geoff.
3122 - Minor mac-side improvements including moving a function to a more
3123 appropriate location, fixing a warning, and correctly checking
3126 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
3127 (DebuggerDocument::willExecuteStatement):
3128 (DebuggerDocument::didEnterCallFrame):
3129 (DebuggerDocument::willLeaveCallFrame):
3130 (DebuggerDocument::windowScriptObjectAvailable):
3131 (DebuggerDocument::callFunctionOnObject):
3132 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
3133 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
3134 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
3135 because it doesn't require the ServerConnection at all.
3136 (NSStringCreateWithJSStringRef): Made an argument const.
3137 (JSValueRefCreateWithNSString): Made an argument const.
3138 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
3139 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3140 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
3141 * Drosera/mac/ServerConnection.mm: Ditto.
3142 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
3144 2007-10-29 Sam Weinig <sam@webkit.org>
3146 Reviewed by Adam Roben.
3148 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
3150 * DumpRenderTree/LayoutTestController.cpp:
3151 (LayoutTestController::LayoutTestController):
3152 (getGlobalFlagCallback):
3153 (setGlobalFlagCallback):
3154 (LayoutTestController::getJSClass):
3155 (LayoutTestController::staticValues):
3156 * DumpRenderTree/LayoutTestController.h:
3157 (LayoutTestController::globalFlag):
3158 (LayoutTestController::setGlobalFlag):
3160 2007-10-29 Darin Adler <darin@apple.com>
3164 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
3165 resolution instead of its default.
3167 2007-10-29 David Kilzer <ddkilzer@webkit.org>
3169 Fixed showStatus() to print status for successfully resolved conflicts when using git.
3171 Reviewed by Mark Rowe.
3173 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
3174 was successfully resolved, but this would not show any status because the change had
3175 already been cached in the index using "git add". The solution is to add an optional
3176 second argument to showStatus() which adds the "--cached" switch to the command.
3178 * Scripts/resolve-ChangeLogs:
3181 2007-10-28 Eric Seidel <eric@webkit.org>
3183 Reviewed by Maciej and Geoff, in unison.
3185 * Scripts/run-webkit-tests: remove broken --svg option
3187 2007-10-28 Darin Adler <darin@apple.com>
3191 * Scripts/run-sunspider: Default to "Release" configuration rather than
3192 defaulting to the last configuration used as other scripts do. This can
3193 still be overriden on the command line with "--debug" if there's some
3194 reason to do so. Also fix a typo.
3196 * Scripts/sunspider-compare-results: Fix a typo.
3198 2007-10-26 Kevin McCullough <kmccullough@apple.com>
3202 - Implemented the WebScriptDebugListener functions now that the
3203 WebScriptDebugServer exists
3205 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
3207 (ServerConnection::currentFrame):
3208 (ServerConnection::didLoadMainResourceForDataSource):
3209 (ServerConnection::didParseSource):
3210 (ServerConnection::failedToParseSource):
3211 (ServerConnection::didEnterCallFrame):
3212 (ServerConnection::willExecuteStatement):
3213 (ServerConnection::willLeaveCallFrame):
3214 (ServerConnection::exceptionWasRaised):
3215 * Drosera/win/ServerConnection.h: Removed unused arguments from the
3216 members arguments list.
3218 2007-10-26 David Kilzer <ddkilzer@webkit.org>
3220 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
3221 <http://bugs.webkit.org/show_bug.cgi?id=15600>
3225 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
3226 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
3227 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
3228 file. Note that it may also be used as a stand-alone script.
3230 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
3231 * Scripts/resolve-ChangeLogs: Added.
3232 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
3234 2007-10-26 Mark Rowe <mrowe@apple.com>
3236 Qt build fix. r27084 added a destructor implementation for LayoutTestController
3237 to the Qt port on the assumption that it was an implementation of the cross-platform
3238 LayoutTestController class. It is not, so it did not need to be changed.
3240 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
3242 2007-10-25 Mark Rowe <mrowe@apple.com>
3246 Fix builds with code coverage enabled.
3248 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
3250 2007-10-25 Darin Adler <darin@apple.com>
3252 Reviewed by Mark Rowe.
3254 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
3255 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
3257 2007-10-25 Stephanie <slewis@apple.com>
3261 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3263 2007-10-25 Stephanie <slewis@apple.com>
3265 Reviewed by Mark Rowe, Adam Roben.
3267 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
3269 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3271 2007-10-25 Alice Liu <alice.liu@apple.com>
3275 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
3277 Moving destructor into platform-specific files
3278 * DumpRenderTree/LayoutTestController.cpp:
3279 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3280 (LayoutTestController::~LayoutTestController):
3281 * DumpRenderTree/qt/jsobjects.cpp:
3282 (LayoutTestController::~LayoutTestController):
3284 LayoutTestController wasn't being destroyed
3285 * DumpRenderTree/win/DumpRenderTree.cpp:
3289 * DumpRenderTree/win/EditingDelegate.h:
3291 Reset certain values on the webview (or related delegate) that might
3292 have changed while running a test
3293 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3294 (LayoutTestController::~LayoutTestController):
3296 2007-10-25 Adam Roben <aroben@apple.com>
3298 Make sunspider-compare-results work with relative paths
3302 * Scripts/sunspider-compare-results: Convert arguments to absolute
3303 paths before we chdir.
3305 2007-10-25 Kevin McCullough <kmccullough@apple.com>
3309 - Implemented server calls now the WebScriptDebugServer exists.
3310 - Also removed no longer needed call to initialize CG.
3312 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
3315 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
3316 (ServerConnection::ServerConnection):
3317 (ServerConnection::~ServerConnection):
3318 (ServerConnection::pause):
3319 (ServerConnection::resume):
3320 (ServerConnection::stepInto):
3321 (ServerConnection::applicationTerminating):
3322 (ServerConnection::serverConnectionDidDie):
3323 * Drosera/win/ServerConnection.h: Now uses the COM class.
3325 2007-10-24 George Staikos <staikos@kde.org>
3329 * Scripts/build-webkit:
3331 2007-10-24 Adam Roben <aroben@apple.com>
3333 Remove now-unnecessary call to InitializeCoreGraphics
3335 WebKit takes care of this now.
3339 * DumpRenderTree/win/DumpRenderTree.cpp:
3342 2007-10-24 Adam Roben <aroben@apple.com>
3344 Use WebTextRenderer in DRT
3348 * DumpRenderTree/win/DumpRenderTree.cpp:
3349 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
3351 2007-10-24 Sven Herzberg <sven@imendio.com>
3353 Reviewed by Mark Rowe.
3355 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
3356 Bug 15614: [GTK] qmake based backends don't build on OS X
3358 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
3359 GTK backend on a Mac
3360 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
3361 isDarwin() to make it reusable in other places (like the workaround-
3362 for-prebuilt-qmake in build-webkit)
3364 2007-10-24 David Kilzer <ddkilzer@webkit.org>
3366 Refurbish update-webkit script.
3370 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
3371 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
3372 multi-argument version of system() for flexibility and security. Check for existence
3373 of Internal directory using -d test instead of -x.
3375 2007-10-24 David Kilzer <ddkilzer@webkit.org>
3377 Minor clean-up of prepare-ChangeLog script.
3381 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
3382 of a string. Use multi-argument versions of open() and system() for flexibility and
3385 2007-10-24 Alice Liu <alice.liu@apple.com>
3389 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
3391 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
3392 replay the saved events when we're still processing the mousedown that starts the drag
3393 * DumpRenderTree/win/EventSender.cpp:
3395 * DumpRenderTree/win/UIDelegate.cpp:
3396 (UIDelegate::doDragDrop):
3398 2007-10-24 Kevin McCullough <kmccullough@apple.com>
3400 Reviewed by Sam, Steve and Darin.
3402 - Stubbed out the WebScriptDebugListener functionality in the Server
3403 Connection class to prepare it for receiving those callbacks.
3404 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
3405 and the ServerConnection to not need to be initialized with a server
3406 name, since that is not the way we connect to the WebKit server.
3408 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
3409 no exception. Now it only loggs when there is an exception
3410 (DebuggerDocument::willExecuteStatement):
3411 (DebuggerDocument::didEnterCallFrame):
3412 (DebuggerDocument::willLeaveCallFrame):
3413 (DebuggerDocument::windowScriptObjectAvailable):
3414 (DebuggerDocument::callFunctionOnObject):
3415 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
3416 to be instantiated with a server's name.
3417 (DebuggerClient::DebuggerClient):
3418 (DebuggerClient::didFinishLoadForFrame):
3419 * Drosera/win/DebuggerClient.h: Removed unsued variable.
3420 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
3423 (Drosera::initServer):
3424 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
3425 instantiated with a server's name.
3426 * Drosera/win/ServerConnection.cpp:
3427 (ServerConnection::ServerConnection): No longer needs a server name
3428 (ServerConnection::~ServerConnection): Only release the global context
3430 (ServerConnection::serverConnectionDidDie): Stub for
3431 IWebScriptDebugListener
3432 (ServerConnection::QueryInterface): ditto
3433 (ServerConnection::AddRef): ditto
3434 (ServerConnection::Release): ditto
3435 (ServerConnection::didLoadMainResourceForDataSource): ditto
3436 (ServerConnection::didParseSource): ditto
3437 (ServerConnection::failedToParseSource): ditto
3438 (ServerConnection::didEnterCallFrame): ditto
3439 (ServerConnection::willExecuteStatement): ditto
3440 (ServerConnection::willLeaveCallFrame): ditto
3441 (ServerConnection::exceptionWasRaised): ditto
3442 * Drosera/win/ServerConnection.h: Stubbed out the
3443 IWebScriptDebugListener functions, and this class no longer needs to be
3444 instantiated with a server name.
3446 2007-10-24 Lars Knoll <lars@trolltech.com>
3450 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
3452 * DumpRenderTree/qt/jsobjects.h:
3454 2007-10-24 Lars Knoll <lars@trolltech.com>
3458 add another command.
3460 * DumpRenderTree/qt/jsobjects.cpp:
3461 (TextInputController::doCommand):
3463 2007-10-24 Lars Knoll <lars@trolltech.com>
3467 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
3469 * DumpRenderTree/qt/jsobjects.cpp:
3470 (EventSender::keyDown):
3471 * DumpRenderTree/qt/jsobjects.h:
3473 2007-10-24 Lars Knoll <lars@trolltech.com>
3477 implement eventSender.keyDown().
3479 * DumpRenderTree/qt/jsobjects.cpp:
3480 (EventSender::keyDown):
3482 2007-10-24 Lars Knoll <lars@trolltech.com>
3486 some smaller fixes to the editing support in DRT. Makes another few tests pass.
3488 * DumpRenderTree/qt/DumpRenderTree.cpp:
3489 (WebCore::DumpRenderTree::DumpRenderTree):
3490 (WebCore::DumpRenderTree::initJSObjects):
3491 * DumpRenderTree/qt/jsobjects.cpp:
3492 (TextInputController::doCommand):
3494 2007-10-24 Lars Knoll <lars@trolltech.com>
3498 first bit of implementation for the textinputcontroller.
3500 * DumpRenderTree/qt/DumpRenderTree.cpp:
3501 (WebCore::DumpRenderTree::DumpRenderTree):
3502 * DumpRenderTree/qt/DumpRenderTree.h:
3503 * DumpRenderTree/qt/jsobjects.cpp:
3504 (TextInputController::TextInputController):
3505 (TextInputController::doCommand):
3506 * DumpRenderTree/qt/jsobjects.h:
3508 2007-10-24 Lars Knoll <lars@trolltech.com>
3512 make the man webpage believe it has focus, so the editing tests work correctly.
3514 * DumpRenderTree/qt/DumpRenderTree.cpp:
3515 (WebCore::DumpRenderTree::DumpRenderTree):
3517 2007-10-24 Lars Knoll <lars@trolltech.com>
3521 implement layoutTestController.dumpEditingCallbacks() correctly.
3523 * DumpRenderTree/qt/DumpRenderTree.cpp:
3524 (WebCore::DumpRenderTree::DumpRenderTree):
3525 * DumpRenderTree/qt/jsobjects.cpp:
3526 (LayoutTestController::reset):
3527 (LayoutTestController::dumpEditingCallbacks):
3529 2007-10-24 Lars Knoll <lars@trolltech.com>
3533 Implement support for testing editing.
3535 * DumpRenderTree/qt/DumpRenderTree.cpp:
3536 (WebCore::DumpRenderTree::DumpRenderTree):
3538 2007-10-23 Sam Weinig <sam@webkit.org>
3540 Check for null BSTR that can be passed to the UIDelegate methods
3541 from javascript null and undefined. Fixes a failing test case on
3542 Windows (fast/dom/Window/alert-undefined.html)
3544 Reviewed by Eric Seidel.
3546 * DumpRenderTree/win/UIDelegate.cpp:
3547 (UIDelegate::runJavaScriptAlertPanelWithMessage):
3548 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
3549 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
3550 (UIDelegate::webViewAddMessageToConsole):
3552 2007-10-23 Maciej Stachowiak <mjs@apple.com>
3556 Don't print a massive pile of setenvs from tools that automatically build testkjs.
3558 * Scripts/build-testkjs:
3560 2007-10-23 Maciej Stachowiak <mjs@apple.com>
3564 - add wrapper that finds the right copy of testkjs
3566 * Scripts/sunspider-compare-results: Added.
3568 2007-10-23 Kevin McCullough <kmccullough@apple.com>
3572 - After talking with Steve I now see that the WebKit server must be
3573 running for DCOM to create the distributed objects, which makes sense
3574 and currently WebKit only allows one instance to be running at a time
3575 which avoids accidentally connecting to the wrong server
3576 - In light of this I have removed the code for the attach box and
3577 NotificationServer and known server names, since they are all extranious
3580 * Drosera/win/Drosera.cpp: Removed notification classes and known server
3582 (_tWinMain): Uses init instead of initUI.
3583 (droseraWndProc): No longer creats an attach dialog box.
3584 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
3585 it's not manditory to call init before doing COM stuff.
3586 (Drosera::init): calls initUI and will call attach when the
3587 functionality exists.
3588 (Drosera::initUI): Has changed very little.
3589 (Drosera::attach): Changed the signature to reflect that we no longer
3590 need the dictionary of known server names.
3591 * Drosera/win/Drosera.h: Removed notification classes and known server
3592 names. Also renamed and moved some functions.
3593 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
3594 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
3595 headers to the resources folder.
3596 * Drosera/win/resource.h: Removed the Attach box.
3598 2007-10-22 Adam Roben <aroben@apple.com>
3602 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
3604 2007-10-22 Kevin McCullough <kmccullough@apple.com>
3606 - Removed a leak that was fixed.
3608 * Scripts/run-webkit-tests:
3610 2007-10-19 Kevin McCullough <kmccullough@apple.com>
3614 - Changed the Client so that the DebuggerDocument now own the
3615 ServerConnection. This simplifies ownership and cleanup.
3617 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
3619 (DebuggerClient::initWithServerName):
3620 (DebuggerClient::didFinishLoadForFrame):
3621 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
3623 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
3624 until after we have a server which we are attached to.
3627 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
3630 2007-10-22 Simon Hausmann <hausmann@kde.org>
3632 Reviewed by Nikolas.
3634 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
3636 * Scripts/run-javascriptcore-tests:
3638 2007-10-22 Simon Hausmann <hausmann@kde.org>
3640 Reviewed by Nikolas.
3642 Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
3644 * Scripts/build-drosera:
3645 * Scripts/build-dumprendertree:
3646 * Scripts/build-testkjs:
3647 * Scripts/build-webkit:
3648 * Scripts/run-javascriptcore-tests:
3649 * Scripts/run-sunspider:
3650 * Scripts/run-webkit-tests:
3651 * Scripts/webkitdirs.pm:
3653 2007-10-22 Andrew Wellington <proton@wiretapped.net>
3655 Reviewed by Mark Rowe.
3657 Fix for local database support after r26879
3658 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
3660 * Scripts/build-webkit:
3662 2007-10-22 Holger Freyther <zecke@selfish.org>