1 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
5 http://bugs.webkit.org/show_bug.cgi?id=16955
6 Get errors when cross-compile webkit-gtk
8 * GNUmakefile.am: Removed ICU_CFLAGS
10 2008-01-21 Darin Adler <darin@apple.com>
12 Reviewed by Mitz and Adam.
14 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
15 sorting speed by doing all sort criteria in a single pass instead of three sorts.
17 2008-01-21 Simon Hausmann <hausmann@webkit.org>
21 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
23 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
24 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
25 and make the return value depend on whether we successfully determined a focusable
27 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
28 if we could not handle the focus chain ourselves.
29 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
30 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
31 used to control the situation of stepping out of the focus chain inside the page.
32 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
33 The layout tests expect this to be disabled but for the user it seems sensible to have it
34 on by default, hence the default in qwebsettings.cpp
37 * DumpRenderTree/qt/DumpRenderTree.cpp:
38 (WebCore::WebPage::WebPage):
40 2008-01-19 Mark Rowe <mrowe@apple.com>
42 Reviewed by Alp Toker.
44 Allow the --http flag to run-webkit-tests to override
45 the default behaviour of disabling HTTP tests for Qt,
48 * Scripts/run-webkit-tests:
50 2008-01-19 David Kilzer <ddkilzer@apple.com>
52 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
56 We now touch a check-for-global-initializers.timestamp file in
57 the TARGET_TEMP_DIR directory to determine when new object files
58 have been compiled and thus need to be checked. If the timestamp
59 file doesn't exist, all object files will be checked.
61 Previously the modification time of the "executable" (the
62 framework binary, e.g., WebKit.framework/WebKit) was used, but
63 since this was the last file modified at the end of the compile
64 phase, no object files would ever get checked!
66 Also added JSCustomSQLTransactionCallback.o to the list of files
67 since it has static initializers in Debug builds of WebCore.
69 * Scripts/check-for-global-initializers:
71 2008-01-18 Adam Roben <aroben@apple.com>
75 * Scripts/build-webkit:
77 2008-01-18 Beth Dakin <bdakin@apple.com>
81 Update build-webkit to account for foreign-object being disabled by
84 * Scripts/build-webkit:
86 2008-01-18 Adam Roben <aroben@apple.com>
88 Updated for method renames
92 * DumpRenderTree/mac/FrameLoadDelegate.mm:
93 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
94 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
95 (LayoutTestController::setMainFrameIsFirstResponder):
96 (LayoutTestController::setWindowIsKey):
97 * DumpRenderTree/mac/UIDelegate.mm:
98 (-[UIDelegate webViewFocus:]):
99 * DumpRenderTree/win/FrameLoadDelegate.cpp:
100 (FrameLoadDelegate::didCommitLoadForFrame):
102 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
104 Reviewed by Adam Roben.
106 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
107 between DRT and TestNetscapePlugin.
109 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
110 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
112 2008-01-18 Simon Hausmann <hausmann@webkit.org>
116 Fix fast/dom/Window/window-resize.html
118 In DRT connect the page's geometryChangeRequest signal to a slot that
119 sets the geometry of the view widget.
122 * DumpRenderTree/qt/DumpRenderTree.cpp:
123 (WebCore::WebPage::setViewGeometry):
124 (WebCore::WebPage::WebPage):
126 2008-01-17 Steve Falkenburg <sfalken@apple.com>
130 * Drosera/DroseraWin.make:
132 2008-01-17 Darin Adler <darin@apple.com>
134 * Scripts/run-webkit-tests: Fixed a bug number.
136 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
138 Reviewed by Adam Roben.
140 http://bugs.webkit.org/show_bug.cgi?id=16908
141 run-webkit-tests complains about missing FindSafari.exe
143 * Scripts/webkitdirs.pm: Append _debug as appropriate.
145 2008-01-17 Steve Falkenburg <sfalken@apple.com>
147 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
149 Rubber-stamped by Jon Honeycutt.
151 * DumpRenderTree/win/DumpRenderTree.vcproj:
153 2008-01-16 Alp Toker <alp@atoker.com>
155 Reviewed by Mark Rowe.
157 http://bugs.webkit.org/show_bug.cgi?id=16218
158 [GTK] API: Should this entry point be called go_back rather than go_backward?
160 Track back/forward API changes in the tools.
162 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
163 (BackForwardItem::invoke):
164 * GtkLauncher/main.c:
167 2008-01-16 Adam Roben <aroben@apple.com>
169 Windows build fix after r29488
171 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
172 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
173 expects to find the plugin.
175 2008-01-11 Geoffrey Garen <ggaren@apple.com>
177 Reviewed by Sam Weinig.
179 Fixed the waitUntilDone watchdog timer -- the old code never added the
180 timer to the run loop, so it didn't do anything.
182 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
183 (LayoutTestController::setWaitToDump):
184 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
185 (LayoutTestController::setWaitToDump):
187 2008-01-14 Steve Falkenburg <sfalken@apple.com>
189 Use shared vsprops for most vcproj properties.
193 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
194 * DumpRenderTree/win/DumpRenderTree.vcproj:
195 * DumpRenderTree/win/ImageDiff.vcproj:
196 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
197 * FindSafari/FindSafari.vcproj:
199 2008-01-14 Stephanie <slewis@apple.com>
203 revert accidental character.
205 * Scripts/run-webkit-tests:
207 2008-01-14 Stephanie <slewis@apple.com>
211 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
213 * Scripts/run-webkit-tests:
215 2008-01-14 Darin Adler <darin@apple.com>
217 * Scripts/do-webcore-rename: Queue up another rename.
219 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
223 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
225 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
227 * Scripts/run-webkit-tests:
229 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
233 * Randomize tests array to spot test cases where the results depends on the order
235 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
237 * Scripts/run-webkit-tests:
239 2008-01-14 Darin Adler <darin@apple.com>
241 * Scripts/run-webkit-tests: More ignore list tweaking.
243 2008-01-14 Darin Adler <darin@apple.com>
245 * Scripts/run-webkit-tests: Add another leak to the ignore list.
247 2008-01-14 Dan Bernstein <mitz@apple.com>
249 Reviewed by Adam Roben.
251 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
254 * DumpRenderTree/win/DumpRenderTree.cpp:
255 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
257 2008-01-13 Steve Falkenburg <sfalken@apple.com>
259 Share common files across projects.
262 Debug: common.vsprops, debug.vsprops
263 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
264 Release: common.vsprops, release.vsprops
266 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
267 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
269 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
271 Reviewed by Adam Roben.
273 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
274 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
275 * Drosera/win/Drosera.vcproj/VERSION: Removed.
276 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
277 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
278 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
279 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
280 * DumpRenderTree/win/DumpRenderTree.vcproj:
281 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
282 * DumpRenderTree/win/debug.vsprops: Removed.
283 * DumpRenderTree/win/debug_internal.vsprops: Removed.
284 * DumpRenderTree/win/release.vsprops: Removed.
286 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
290 - http://bugs.webkit.org/show_bug.cgi?id=16314
291 Script to launch Drosera
293 * Scripts/gdb-drosera: Added.
294 * Scripts/run-drosera: Added.
295 * Scripts/run-drosera-nightly.cmd: Added.
296 * Scripts/webkitdirs.pm: Added runDrosera function.
298 2008-01-13 Dan Bernstein <mitz@apple.com>
300 - fix breakage due to last-minute change
302 * DumpRenderTree/win/DumpRenderTree.cpp:
303 (runTest): Declare the loop variable.
305 2008-01-13 Dan Bernstein <mitz@apple.com>
307 Reviewed by Adam Roben.
309 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
311 * DumpRenderTree/win/DumpRenderTree.cpp:
312 (DumpRenderTreeWndProc):
314 (dumpBackForwardList):
315 (dumpBackForwardListForAllWindows):
317 (resetWebViewToConsistentStateBeforeTesting): Factored out of
320 (allWindows): Added. Returns a vector of all open windows.
321 (windowToWebViewMap): Added. Returns a map from open windows to their
323 (createWebViewAndOffscreenWindow): Factored out of main() to be
324 reusable for creating extra windows.
326 * DumpRenderTree/win/DumpRenderTreeWin.h:
327 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
328 (LayoutTestController::windowCount): Implemented.
329 * DumpRenderTree/win/UIDelegate.cpp:
330 (UIDelegate::createWebViewWithRequest): Implemented.
331 (UIDelegate::webViewClose): Implemented.
332 * DumpRenderTree/win/UIDelegate.h:
334 2008-01-12 Alp Toker <alp@atoker.com>
336 Reviewed by Mark Rowe.
338 Hide non-public symbols in GTK+/autotools release builds.
342 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
346 * Make launching of the WebKit httpd work on GNU/Debian/Linux
348 The configuration of Apache2 and installation does not depend on
349 the kernel but on the distribution policy. Make launching of httpd
350 work for Debian derived distributions.
352 * Scripts/run-webkit-httpd:
353 * Scripts/run-webkit-tests:
354 * Scripts/webkitdirs.pm:
356 2008-01-12 Mark Rowe <mrowe@apple.com>
358 Reviewed by Maciej Stachowiak.
360 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
362 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
363 match the callers expectations that it can take ownership of the string.
365 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
367 Reviewed by Adam Roben.
369 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
371 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
372 as these are only posted because the test window is not a normal visible one, and
373 they confuse drag&drop machinery.
375 2008-01-11 Adam Roben <aroben@apple.com>
377 Fix a crash when pathToLocalResource fails and a leak
381 * DumpRenderTree/LayoutTestController.cpp:
382 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
383 sure not to pass null to JSValueMakeString.
384 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
385 (LayoutTestController::pathToLocalResource): Print an error message if
386 the conversion fails so it's clear what happened.
388 2008-01-11 Geoffrey Garen <ggaren@apple.com>
390 Reviewed by John Sullivan.
392 * DumpRenderTree/mac/GCControllerMac.mm:
393 (GCController::collectOnAlternateThread): Updated for name change.
395 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
397 wx build fix. Don't build dftables any longer since it's now a Perl
402 2008-01-10 Sam Weinig <sam@webkit.org>
404 Reviewed by Anders Carlsson.
406 Make DRT track open windows instead of allocated windows so that
407 we can avoid ASSERTION due to late deallocs out of our control.
409 * DumpRenderTree/mac/DumpRenderTree.mm:
410 (dumpBackForwardListForAllWindows):
412 * DumpRenderTree/mac/DumpRenderTreeMac.h:
413 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
414 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
415 (+[DumpRenderTreeWindow openWindows]):
416 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
417 (-[DumpRenderTreeWindow close]):
418 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
419 (LayoutTestController::windowCount):
421 2008-01-10 Ada Chan <adachan@apple.com>
423 Meta key is not the same as Alt key on windows.
427 * DumpRenderTree/win/EventSender.cpp:
430 2008-01-09 Kevin McCullough <kmccullough@apple.com>
432 Reviewed by Darin, Sam and Adam.
434 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
435 link in gmail message displays JavaScript alert falsely complaining
436 about pop-up blocking.
437 - Added the ability to enable the pop-up blocker via the
438 LayoutTestController.
440 * DumpRenderTree/LayoutTestController.cpp:
441 (setPopupBlockingEnabledCallback):
442 (LayoutTestController::staticFunctions):
443 * DumpRenderTree/LayoutTestController.h:
444 * DumpRenderTree/mac/DumpRenderTree.mm:
445 (setDefaultsToConsistentValuesForTesting):
446 (resetWebViewToConsistentStateBeforeTesting):
447 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
448 (LayoutTestController::setPopupBlockingEnabled):
450 2008-01-10 Lars Knoll <lars@trolltech.com>
454 rename QWebPageHistory to QWebHistory.
457 * DumpRenderTree/qt/jsobjects.cpp:
459 2008-01-09 Maciej Stachowiak <mjs@apple.com>
463 - add some more renames, adjust some
465 * Scripts/do-webcore-rename:
467 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
471 Enable SVG Fonts support by default.
473 * Scripts/build-webkit:
475 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
479 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
480 DRT doesn't handle platform specific pixel test results correctly.
482 <test>-expected.txt files and <test>-expected.png files may now live
483 in different directories (ie. a cross-platform <test>-expected.txt file
484 and a platform-specific <test>-expected.png file).
486 * Scripts/run-webkit-tests:
488 2008-01-04 Kevin McCullough <kmccullough@apple.com>
492 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
493 DRT did not correctly handle printing the '\0' char. Now it does.
495 * DumpRenderTree/win/DumpRenderTree.cpp:
499 2008-01-07 Simon Hausmann <hausmann@webkit.org>
503 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
506 * DumpRenderTree/qt/main.cpp:
507 * DumpRenderTree/qt/testplugin.cpp:
508 * DumpRenderTree/qt/testplugin.h:
510 2008-01-05 Mark Rowe <mrowe@apple.com>
512 Reviewed by Alp Toker.
514 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
516 * DumpRenderTree/gtk/DumpRenderTree.cpp:
517 (processWork): Process pending work.
518 (webViewLoadFinished): Schedule processing of pending work.
519 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
521 2008-01-05 Darin Adler <darin@apple.com>
523 * Scripts/do-webcore-rename: Some more renaming plans.
525 2008-01-04 Alice Liu <alice.liu@apple.com>
527 Reviewed by Alexey and Darin.
529 Adding "home" and "end" to DRT's keydown since
530 DOM key events can't handle keyIdentifiers at this point.
532 * DumpRenderTree/mac/EventSendingController.mm:
533 (-[EventSendingController keyDown:withModifiers:]):
534 * DumpRenderTree/win/EventSender.cpp:
537 2008-01-04 Lars Knoll <lars@trolltech.com>
541 fix DRT after the changes to QWebPage.
543 The great thing is that we actually don't have
544 any regressions from the QWebPage change :)
547 * DumpRenderTree/qt/DumpRenderTree.cpp:
548 (WebCore::DumpRenderTree::DumpRenderTree):
550 2008-01-04 Lars Knoll <lars@trolltech.com>
554 make QWebPage a QObject and get things to compile.
556 Nothing works currently though.
559 * DumpRenderTree/qt/DumpRenderTree.cpp:
560 (WebCore::DumpRenderTree::DumpRenderTree):
562 2008-01-04 Lars Knoll <lars@trolltech.com>
566 take a QString as identifier in QWebFrame::addToJSWindowObject.
568 * DumpRenderTree/qt/DumpRenderTree.cpp:
569 (WebCore::DumpRenderTree::initJSObjects):
571 2008-01-04 Alp Toker <alp@atoker.com>
573 GTK+ DRT build fix for breakage introduced in r29149.
575 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
576 (LayoutTestController::execCommand):
578 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
582 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
584 Added layoutTestController.execCommand to access editor commands that are not available
585 via document.execCommand.
587 * DumpRenderTree/LayoutTestController.cpp:
588 (execCommandCallback):
589 (LayoutTestController::staticFunctions):
590 * DumpRenderTree/LayoutTestController.h:
591 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
592 (LayoutTestController::execCommand):
593 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
594 (LayoutTestController::queueLoad):
595 (LayoutTestController::execCommand):
597 2008-01-03 Alice Liu <alice.liu@apple.com>
599 Reviewed by Darin, Mitz.
601 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
603 the clickcount should not increase if the last click was at a different location. it's a new click.
605 * DumpRenderTree/mac/DumpRenderTree.mm:
607 * DumpRenderTree/mac/EventSendingController.h:
608 * DumpRenderTree/mac/EventSendingController.mm:
609 (-[EventSendingController mouseDown]):
610 (-[EventSendingController mouseUp]):
612 2008-01-03 Darin Adler <darin@apple.com>
616 * Scripts/update-webkit: Make this work a little better for the people at Apple
617 who have a directory named Internal.
619 2008-01-03 Adam Roben <aroben@apple.com>
621 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
623 Rubberstamped by Mark.
625 * Scripts/update-webkit-auxiliary-libs:
627 2008-01-03 Adam Roben <aroben@apple.com>
629 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
631 http://bugs.webkit.org/show_bug.cgi?id=15663
633 Added a fuzz factor into the Last-Modified comparison for downloading
634 WebKitAuxiliaryLibrary.zip.
636 The zip file is served from a set of mirrors who give Last-Modified
637 times that are off by 1-3 seconds from each other. This was causing
638 the build bots to redownload WebKitAuxiliaryLibrary for every build,
639 which would then cause all of WebCore to rebuild each time.
643 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
644 at least 30 seconds newer than the old one -- otherwise we assume that
645 the difference in time is due to the mirrors being slightly offset
647 (sub lastModifiedToUnixTime): Added.
649 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
653 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
655 2008-01-03 Simon Hausmann <hausmann@webkit.org>
659 Moved QWebPage::open to QWebFrame::load and added setHtml.
662 * DumpRenderTree/qt/DumpRenderTree.cpp:
663 (WebCore::DumpRenderTree::open):
665 2008-01-03 Simon Hausmann <hausmann@webkit.org>
669 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
672 * DumpRenderTree/qt/DumpRenderTree.cpp:
673 (WebCore::DumpRenderTree::DumpRenderTree):
675 2008-01-02 Sam Weinig <sam@webkit.org>
677 * Scripts/do-webcore-rename: Yet more renaming ideas.
679 2008-01-02 Darin Adler <darin@apple.com>
681 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
683 2008-01-02 Alice Liu <alice.liu@apple.com>
685 Reviewed by Sam Weinig.
687 fixing assertion hit with editing/selection/move-begin-end.html
689 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
690 * DumpRenderTree/win/DumpRenderTree.vcproj:
691 * DumpRenderTree/win/EventSender.cpp:
693 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
695 2008-01-02 Darin Adler <darin@apple.com>
697 * Scripts/do-webcore-rename: Some more name change plans.
699 2008-01-02 Alice Liu <alice.liu@apple.com>
703 Added handling for page up and page down in EventSender
705 * DumpRenderTree/mac/EventSendingController.mm:
706 (-[EventSendingController keyDown:withModifiers:]):
707 * DumpRenderTree/win/EventSender.cpp:
710 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
714 Fix fast/events/arrow-keys-on-body.html for real.
716 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
718 2008-01-02 Luca Bruno <lethalman88@gmail.com>
722 http://bugs.webkit.org/show_bug.cgi?id=16674
723 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
725 * Scripts/run-launcher:
727 2007-12-31 Darin Adler <darin@apple.com>
731 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
732 we get it installed on the build bots.
734 2007-12-30 Eric Seidel <eric@webkit.org>
738 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
740 2007-12-29 Darin Adler <darin@apple.com>
744 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
745 leak bot shows createCStringFromNPVariant result leaking
747 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
748 (pluginInvoke): Added a missing free.
750 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
752 Reviewed by Alp Toker.
754 http://bugs.webkit.org/show_bug.cgi?id=16390
755 Use autotools or GNU make as the build system for the GTK port
757 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
758 * GNUmakefile.am: Added.
760 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
764 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
766 * DumpRenderTree/win/EventSender.cpp:
767 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
768 of 1, even though WebKit currently ignores it.
770 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
772 wx buildbot fix. Update libpng dl script to the latest version.
774 * wx/install-unix-extras:
776 2007-12-22 Antti Koivisto <antti@apple.com>
780 * Scripts/webkitdirs.pm:
782 2007-12-21 Sam Weinig <sam@webkit.org>
784 Reviewed by Mark Rowe.
786 - Disable the back/forward cache using the new WebPreferences API
787 instead of through the BackForwardList. This makes us match what
790 * DumpRenderTree/mac/DumpRenderTree.mm:
791 (createWebViewAndOffscreenWindow):
792 (setDefaultsToConsistentValuesForTesting):
794 2007-12-21 Dan Bernstein <mitz@apple.com>
796 Reviewed by Mark Rowe.
798 - disable the back/forward cache in Windows DumpRenderTree. It is
799 already disabled in Mac DumpRenderTree.
801 * DumpRenderTree/win/DumpRenderTree.cpp:
802 (initializePreferences):
804 2007-12-13 Antti Koivisto <antti@apple.com>
806 Reviewed by Darin and Steve.
808 - check for QuickTime SDK on Windows.
809 - build media support on Windows by default
811 * Scripts/build-webkit:
812 * Scripts/webkitdirs.pm:
814 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
816 Build script fix for buildbot.
820 2007-12-20 Eric Seidel <eric@webkit.org>
824 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
826 2007-12-20 Kevin McCullough <kmccullough@apple.com>
830 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
833 - Drosera and Safari need to use the same ProgIDs in order for
834 CoCreateInstance to work properly. The most robust way to do this is
835 for WebKit to dynamically publish those ProgIDs.
837 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
838 (DebuggerClient::createWebViewWithRequest):
839 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
843 (Drosera::attemptToCreateServerConnection):
844 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
845 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
846 make use of the published ProgIDs.
847 (ServerConnection::attemptToCreateServerConnection):
849 2007-12-20 Kevin McCullough <kmccullough@apple.com>
851 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
852 - Build bot and leak fix.
854 * DumpRenderTree/LayoutTestController.cpp:
855 (pathToLocalResourceCallback):
857 2007-12-19 David Kilzer <ddkilzer@apple.com>
859 Make svn-apply/svn-unapply work with patches from git-format-patch.
864 (patch): If 'Index:' can't be found in the text passed in, print it
865 out with a warning and return early.
866 * Scripts/svn-unapply:
869 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
871 Reviewed by Alp Toker.
876 - Check to make sure the user is running a supported wx port
877 - More robust checks for Cygwin
878 - Only run install-unix-extras on Mac, it's not the right solution
880 - Remove outdated Linux instructions after successful build
881 - Clean Bakefile-generated files during a clean operation
883 2007-12-18 Darin Adler <darin@apple.com>
885 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
887 2007-12-18 Steve Falkenburg <sfalken@apple.com>
889 Add script to run Drosera as part of the nightly.
893 * Scripts/run-drosera.cmd: Added.
895 2007-12-18 Darin Adler <darin@apple.com>
897 * Scripts/do-webcore-rename: Remove a stray K.
899 2007-12-18 Darin Adler <darin@apple.com>
901 * Scripts/do-webcore-rename: Plan more renaming.
903 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
905 Reviewed by Alp Toker.
907 http://bugs.webkit.org/show_bug.cgi?id=16042
908 [GTK] Eliminate webkit_init()
910 Moving webkit initialization to WebView class init.
912 * DumpRenderTree/gtk/DumpRenderTree.cpp:
914 * GtkLauncher/main.c:
917 2007-12-17 Luca Bruno <lethalman88@gmail.com>
919 Reviewed by Alp Toker.
921 http://bugs.webkit.org/show_bug.cgi?id=13542
922 gdklauncher doesnt change URL in adress GTKEntry.
924 * GtkLauncher/main.c:
925 (load_commit_cb): added
929 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
931 Reviewed by Adam Roben.
933 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
935 * FindSafari/FindSafari.cpp:
938 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
940 Reviewed by Adam Roben.
942 http://bugs.webkit.org/show_bug.cgi?id=16315
943 FindSafari needs a path-only option.
945 * FindSafari/FindSafari.cpp:
948 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
952 http://bugs.webkit.org/show_bug.cgi?id=16462
953 REGRESSION: access keys broken on Windows
955 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
958 2007-12-15 Sam Weinig <sam@webkit.org>
960 Reviewed by Mark Rowe.
962 Fix urlSuitableForTestResult to correctly identify wstring::npos as
963 the case when wstring.find doesn't find anything.
965 * DumpRenderTree/win/DumpRenderTree.cpp:
966 (urlSuitableForTestResult):
968 2007-12-15 Alp Toker <alp@atoker.com>
970 GTK+ DRT build fix for GLib < 2.14.
972 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
973 (LayoutTestController::setWaitToDump):
975 2007-12-05 Mark Rowe <mrowe@apple.com>
977 Reviewed by Alp Toker.
979 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
980 many layout tests from hanging while waiting on user responses to dialogs.
982 * DumpRenderTree/gtk/DumpRenderTree.cpp:
983 (invalidateAnyPreviousWaitToDumpWatchdog):
984 (webViewScriptAlert):
985 (webViewScriptPrompt):
986 (webViewScriptConfirm):
988 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
989 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
990 (waitToDumpWatchdogFired):
991 (LayoutTestController::setWaitToDump):
993 2007-12-05 Mark Rowe <mrowe@apple.com>
995 Reviewed by Alp Toker.
997 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
999 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1000 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
1003 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
1004 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
1005 work queue is empty.
1006 (webViewWindowObjectCleared): Set up window.layoutTestController.
1007 (webViewConsoleMessage): Match the console message format expected by the layout test results.
1008 (main): Hook up the new signals.
1009 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1010 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
1011 dumping multiple times.
1012 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
1013 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
1015 2007-12-14 Anders Carlsson <andersca@apple.com>
1019 Assert that a web frame that's loading a resource always has either a data source or
1020 a provisional data source.
1022 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1023 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1025 2007-12-14 Darin Adler <darin@apple.com>
1027 - fix mistake causing nearly all tests to fail on Windows
1029 * DumpRenderTree/win/UIDelegate.cpp:
1030 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
1031 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
1033 * DumpRenderTree/mac/UIDelegate.mm:
1034 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
1035 than passing the entire message.
1037 2007-12-14 Darin Adler <darin@apple.com>
1041 * DumpRenderTree/mac/UIDelegate.mm:
1042 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
1043 new-to-Leopard methods.
1045 2007-12-14 Darin Adler <darin@apple.com>
1047 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
1048 since it now triggers unwanted icon loading. We only had it because we implemented "all"
1049 delegate methods here.
1051 2007-12-14 Anders Carlsson <andersca@apple.com>
1053 Reviewed by Darin and Geoff.
1055 <rdar://problem/5619295>
1056 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
1058 Add property getting methods to the plug-in.
1060 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1063 2007-12-14 Kevin McCullough <kmccullough@apple.com>
1067 - Layout test fix for mac. When dumped to the console local file paths
1068 now only show the name of the resource not the whole path. This is to
1069 make the results machine and OS independent.
1071 * DumpRenderTree/mac/UIDelegate.mm:
1072 (-[UIDelegate webView:addMessageToConsole:]):
1074 2007-12-13 Kevin McCullough <kmccullough@apple.com>
1078 - Layout tests fix. We need a way to remove machine-dependent
1079 information from paths in layout test results. The UIDelegate now does
1082 * DumpRenderTree/DumpRenderTree.h:
1083 * DumpRenderTree/win/DumpRenderTree.cpp:
1084 (urlSuitableForTestResult):
1085 * DumpRenderTree/win/DumpRenderTreeWin.h:
1086 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1087 * DumpRenderTree/win/UIDelegate.cpp:
1088 (UIDelegate::webViewAddMessageToConsole):
1090 2007-12-13 Alp Toker <alp@atoker.com>
1092 Build fix for DRT breakage introduced in r28690.
1094 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1095 (LayoutTestController::pathToLocalResource):
1097 2007-12-12 Kevin McCullough <kmccullough@apple.com>
1099 Reviewed by Alice and Sam.
1101 - <rdar://5621435> Need a way to specify local resources (being loaded
1102 from HTTP tests) on Windows.
1103 - Implemented pathToLocalResource which exposes the functionality of
1104 converting a given unix path to the correct location on Windows.
1106 * DumpRenderTree/LayoutTestController.cpp:
1107 (pathToLocalResourceCallback):
1108 (LayoutTestController::staticFunctions):
1109 * DumpRenderTree/LayoutTestController.h:
1110 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1111 (LayoutTestController::pathToLocalResource):
1112 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1113 (LayoutTestController::pathToLocalResource):
1115 2007-12-12 Anders Carlsson <andersca@apple.com>
1119 <rdar://problem/5132003>
1120 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
1122 * DumpRenderTree/win/DumpRenderTree.cpp:
1124 Set the resource load delegate.
1126 * DumpRenderTree/win/DumpRenderTree.vcproj:
1128 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
1129 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
1131 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
1133 Reviewed by Adam Roben.
1135 Fix conversion from double to LPARAM in dispatchMessage().
1137 * DumpRenderTree/win/EventSender.cpp:
1138 (dispatchMessageCallback):
1140 2007-12-11 Dan Bernstein <mitz@apple.com>
1142 Reviewed by Mark Rowe and Sam Weinig too!
1144 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
1145 fonts DumpRenderTree registers.
1147 * DumpRenderTree/win/DumpRenderTree.cpp:
1150 2007-12-11 Brady Eidson <beidson@apple.com>
1154 Make DumpRenderTree on mac use its own path for Databases testing
1156 * DumpRenderTree/mac/DumpRenderTree.mm:
1157 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
1158 for future DRT-only use, then use it to construct the Databases path and set that default
1160 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1164 <rdar://problem/5535636>
1165 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1167 http://bugs.webkit.org/show_bug.cgi?id=13916
1168 JavaScript detects Tab as a character input on a textfield validation
1170 * DumpRenderTree/mac/EventSendingController.mm:
1171 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
1172 Dispatch a keyup to better match what happens when a key is physically pressed.
1174 * DumpRenderTree/win/EventSender.cpp:
1175 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
1176 returning from keyDown().
1177 (getConstantCallback): Fixed a couple copy/paste mistakes.
1179 2007-12-07 Kevin McCullough <kmccullough@apple.com>
1183 - <rdar://5599845> Drosera: Does not show loal files in the file list
1186 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
1187 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
1188 so the open source community can build.
1190 2007-12-10 Brady Eidson <beidson@apple.com>
1192 Rubberstamped by Sam Weinig
1194 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
1196 * DumpRenderTree/mac/UIDelegate.mm:
1197 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1198 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
1200 2007-12-08 Oliver Hunt <oliver@apple.com>
1204 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
1206 Fixes <rdar://problem/5620249> Must disable SVG animation
1207 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
1209 In order to allow finer grained control over the set of SVG features
1210 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
1212 ENABLE_SVG_ANIMATION
1218 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
1220 Script handles all the new build flags, and allows --svg-experimental
1221 to automatically enable all features.
1223 * Scripts/build-webkit:
1225 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1227 Fix version parsing.
1229 Rubber-stamped by Oliver.
1231 * Drosera/win/Drosera.vcproj/auto-version.sh:
1233 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1235 Build modifications for Drosera.
1239 * Drosera/DroseraWin.make: Added.
1240 * Drosera/win/Drosera.vcproj/Drosera.rc:
1241 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1242 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
1243 * Drosera/win/Drosera.vcproj/VERSION: Added.
1244 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
1246 2007-12-06 Adam Roben <aroben@apple.com>
1248 Explicitly turn on the Mac font ascent hack on Windows
1250 This keeps our font metrics matching those from Mac.
1254 * DumpRenderTree/win/DumpRenderTree.cpp:
1257 2007-12-06 Anders Carlsson <andersca@apple.com>
1259 Rename main.c to main.cpp here too.
1261 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
1263 2007-12-06 Sam Weinig <sam@webkit.org>
1265 Rubber stamped by Geoff.
1267 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
1269 2007-12-06 Darin Adler <darin@apple.com>
1271 * Scripts/do-webcore-rename: Some more renaming plans.
1273 2007-12-06 Anders Carlsson <andersca@apple.com>
1275 Restore implementation of testGetIntIdentifier that was accidentally
1276 removed somehow (possibly when I made PluginObject be a cpp file).
1278 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1281 2007-12-05 Anders Carlsson <andersca@apple.com>
1283 Make the entry points extern "C".
1284 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1286 2007-12-05 Anders Carlsson <andersca@apple.com>
1290 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1299 2007-12-05 Anders Carlsson <andersca@apple.com>
1301 Add the .cpp files to the TestNetscapePlugIn target.
1303 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1305 2007-12-05 Anders Carlsson <andersca@apple.com>
1309 Rename the TestNetscapePlugIn .c files to be .cpp.
1311 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1312 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
1313 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
1314 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
1315 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
1316 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
1317 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
1318 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1320 2007-12-05 Adam Roben <aroben@apple.com>
1322 Fix case of keypresses from the Windows implementation of eventSender.keyDown
1324 This fixes several regression tests.
1328 * DumpRenderTree/win/EventSender.cpp:
1329 (keyDownCallback): Virtual keycodes for ASCII characters are always
1330 uppercase, so we need to check the case of the original character
1331 passed in to eventSender.keyDown.
1333 2007-12-05 Adam Roben <aroben@apple.com>
1335 Learn from Tim's mistakes
1337 * DumpRenderTree/win/DumpRenderTree.cpp:
1338 (runTest): Reset the authorAndUserStylesEnabled preference for each
1341 2007-12-05 Alp Toker <alp@atoker.com>
1343 Reviewed by Mark Rowe.
1345 Initialize GTK+ and WebKit so the tests can run.
1347 Reorganize the headers a little.
1349 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1352 2007-12-04 Anders Carlsson <andersca@apple.com>
1354 Remove IWebScriptScope include.
1356 * Drosera/win/DebuggerDocumentPlatform.cpp:
1358 2007-12-04 Sam Weinig <sam@webkit.org>
1360 Rubber stamped by Mark Rowe.
1362 Define CF as platform for mac and revert r28409
1364 * DumpRenderTree/DumpRenderTree.h:
1365 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1367 2007-12-04 Sam Weinig <sam@webkit.org>
1369 Define CF as platform for windows.
1371 Reviewed by Adam Roben.
1373 * DumpRenderTree/win/DumpRenderTreeWin.h:
1375 2007-12-04 Kevin McCullough <kmccullough@apple.com>
1377 Reviewed by Adam and Darin.
1379 - Removed a needless BSTR cleanup.
1381 * Drosera/win/DebuggerDocumentPlatform.cpp:
1382 (DebuggerDocument::getPlatformCurrentFunctionStack):
1384 2007-11-27 Adam Roben <aroben@apple.com>
1386 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
1390 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1391 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
1393 2007-12-04 Alp Toker <alp@atoker.com>
1395 Prospective Win DRT build fix.
1397 * DumpRenderTree/DumpRenderTree.h:
1399 2007-12-04 Alp Toker <alp@atoker.com>
1401 Fix a clobbered copyright header.
1403 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1405 2007-12-04 Xan Lopez <xan@gnome.org>
1407 Reviewed by Alp Toker.
1409 http://bugs.webkit.org/show_bug.cgi?id=15561
1410 GTK port needs DumpRenderTree implementation
1412 Start work on the GTK+ DRT.
1414 This does not work yet, and there are a few lingering style issues
1415 (nothing major) but this patch has been stuck in the bug tracker for
1418 * DumpRenderTree/DumpRenderTree.h:
1419 * DumpRenderTree/gtk: Added.
1420 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
1422 (shouldLogFrameLoadDelegates):
1423 (dumpFrameScrollPosition):
1427 (dumpRenderTreeAsText):
1431 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
1432 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
1433 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
1434 (GCController::collect):
1435 (GCController::collectOnAlternateThread):
1436 (GCController::getJSObjectCount):
1437 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
1438 (LayoutTestController::~LayoutTestController):
1439 (LayoutTestController::addDisallowedURL):
1440 (LayoutTestController::clearBackForwardList):
1441 (LayoutTestController::copyDecodedHostName):
1442 (LayoutTestController::copyEncodedHostName):
1443 (LayoutTestController::display):
1444 (LayoutTestController::keepWebHistory):
1445 (LayoutTestController::notifyDone):
1446 (LayoutTestController::queueBackNavigation):
1447 (LayoutTestController::queueForwardNavigation):
1448 (LayoutTestController::queueLoad):
1449 (LayoutTestController::queueReload):
1450 (LayoutTestController::queueScript):
1451 (LayoutTestController::setAcceptsEditing):
1452 (LayoutTestController::setCustomPolicyDelegate):
1453 (LayoutTestController::setMainFrameIsFirstResponder):
1454 (LayoutTestController::setTabKeyCyclesThroughElements):
1455 (LayoutTestController::setUseDashboardCompatibilityMode):
1456 (LayoutTestController::setUserStyleSheetEnabled):
1457 (LayoutTestController::setUserStyleSheetLocation):
1458 (LayoutTestController::setWindowIsKey):
1459 (LayoutTestController::setWaitToDump):
1460 (LayoutTestController::windowCount):
1461 (LayoutTestController::setPrivateBrowsingEnabled):
1462 (LayoutTestController::setAuthorAndUserStylesEnabled):
1463 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
1464 (JSStringCopyUTF8CString):
1466 (ReloadItem::invoke):
1467 (ScriptItem::invoke):
1468 (BackForwardItem::invoke):
1470 2007-12-03 Sam Weinig <sam@webkit.org>
1472 Move JavaScriptCore thread testing code to pthread specific directory
1473 and remove the dependance on CoreFoundation by using WTF::HashSet.
1475 Reviewed by Geoff and Oliver.
1477 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1478 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
1479 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
1480 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
1481 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
1482 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
1483 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
1484 * DumpRenderTree/pthreads: Added.
1485 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
1486 (javaScriptThreads):
1487 (runJavaScriptThread):
1488 (startJavaScriptThreads):
1489 (stopJavaScriptThreads):
1491 2007-12-03 Andrew Bonventre <andybons@google.com>
1493 Reviewed by Darin Adler.
1495 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
1496 Symbol lookup menu broken in debugger view
1498 * Drosera/debugger.js: Fixed javascript error where document property
1499 should have been used instead of contentDocument in switchFunction that
1500 was breaking the select symbol dropdown menu. This is because
1501 window.frames will return a Window object and not a frame object like
1502 the author was originally expecting.
1504 2007-12-03 Kevin McCullough <kmccullough@apple.com>
1508 - <rdar://5618942> Drosera: Console window does not process everything
1510 - <rdar://5619005> Drosera: could be sped up by moving the
1511 WebScriptScope stuff into the WebScriptCallFrame.
1512 - Now the console can correctly process objects and does not receive
1513 notifications from JavaScriptCore about the JavaScript in Drosera's
1516 * Drosera/win/DebuggerDocumentPlatform.cpp:
1517 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1518 (DebuggerDocument::platformValueForScopeVariableNamed):
1520 2007-12-03 Stephanie <slewis@apple.com>
1524 Check to see if we are building a debug root
1526 * Scripts/check-for-global-initializers:
1528 2007-12-03 Dan Bernstein <mitz@apple.com>
1530 Reviewed by Darin Adler.
1532 - added a testGetIntIdentifier() method to TestNetscapePlugIn
1534 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1537 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
1541 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
1542 in a more fine-grained manner than eventSender.keyDown().
1544 * DumpRenderTree/win/EventSender.cpp:
1545 (getConstantCallback):
1546 (dispatchMessageCallback):
1548 2007-12-02 Darin Adler <darin@apple.com>
1550 * Scripts/do-webcore-rename: More planned renaming.
1552 2007-12-02 Sam Weinig <sam@webkit.org>
1554 Rubber stamped by Anders.
1556 Use [NSURL absoluteString] instead of [NSURL description] in order to get
1557 more uniform results cross platform.
1559 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1560 (-[NSURL _drt_descriptionSuitableForTestResult]):
1562 2007-12-02 Sam Weinig <sam@webkit.org>
1564 Rubber stamped by Niko.
1566 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
1568 * DumpRenderTree/win/DumpRenderTree.cpp:
1569 * DumpRenderTree/win/DumpRenderTree.vcproj:
1570 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
1571 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
1572 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
1573 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
1575 2007-12-01 Alp Toker <alp@atoker.com>
1577 Reviewed by Adam Roben.
1579 Make use of the newly introduced webkit.h convenience header.
1581 * GtkLauncher/main.c:
1583 2007-12-01 Adam Treat <treat@kde.org>
1587 * Check to see if the directory exists and exit if not.
1589 * DumpRenderTree/qt/main.cpp:
1592 2007-12-01 Adam Treat <treat@kde.org>
1596 * Don't hide symbols when in Debug mode
1597 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
1600 * DumpRenderTree/qt/main.cpp:
1603 2007-11-30 Alp Toker <alp@atoker.com>
1605 Reviewed by Adam Roben.
1607 http://bugs.webkit.org/show_bug.cgi?id=15691
1608 [GTK] Public API does not follow GTK+ conventions
1610 Refactor the WebKit/GTK+ public API. Changes:
1611 WebKitPage -> WebKitWebView
1612 WebKitFrame -> WebKitWebFrame
1614 Public API source and header names have been updated to mirror the API
1617 The API is now kept in WebKit/gtk/WebView to match other ports in the
1618 same class such as Mac and Win.
1620 * GtkLauncher/main.c:
1621 (activate_uri_entry_cb):
1624 (progress_change_cb):
1630 2007-11-30 Adam Roben <aroben@apple.com>
1632 Hopefully the final build fix
1634 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
1635 pull in WTF's assertion/logging functions.
1637 2007-11-30 Adam Roben <aroben@apple.com>
1641 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
1644 2007-11-30 Adam Roben <aroben@apple.com>
1648 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
1650 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
1652 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
1653 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
1654 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
1656 2007-11-30 Sam Weinig <sam@webkit.org>
1658 Reviewed by Adam Roben.
1660 Fix drawSelectionRect to actually draw the selection rect.
1662 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1663 (drawSelectionRect):
1665 2007-11-30 Darin Adler <darin@apple.com>
1667 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
1669 2007-11-30 Darin Adler <darin@apple.com>
1671 * Scripts/do-webcore-rename: Get ready for some future renaming.
1673 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1677 - Removed some unnecessary functions and changed an unused return type.
1679 * Drosera/win/DebuggerClient.cpp:
1680 (registerConsoleClass):
1681 * Drosera/win/DebuggerClient.h:
1682 * Drosera/win/Drosera.cpp:
1683 (registerDroseraClass):
1685 2007-11-28 Alp Toker <alp@atoker.com>
1687 Reviewed by Timothy Hatcher.
1689 http://bugs.webkit.org/show_bug.cgi?id=16174
1690 [GTK] Use "URI" not "URL" in public API
1692 Replace use of the term "URL" with "URI" in public headers,
1693 documentation and some internal code to match GLib/GTK+ convention.
1695 This is now mentioned in the API guidelines:
1696 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
1698 * GtkLauncher/main.c:
1699 (activate_uri_entry_cb):
1704 2007-11-29 Anders Carlsson <andersca@apple.com>
1708 <rdar://problem/5230478>
1709 FrameLoadDelegate callbacks are not dumped in DRT.
1711 * DumpRenderTree/win/DumpRenderTree.cpp:
1712 (shouldLogFrameLoadDelegates):
1715 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1717 (descriptionSuitableForTestResult):
1718 (FrameLoadDelegate::QueryInterface):
1719 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1720 (FrameLoadDelegate::didFailProvisionalLoadWithError):
1721 (FrameLoadDelegate::didCommitLoadForFrame):
1722 (FrameLoadDelegate::didFinishLoadForFrame):
1723 (FrameLoadDelegate::willCloseFrame):
1724 (FrameLoadDelegate::didClearWindowObject):
1725 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
1726 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
1727 * DumpRenderTree/win/FrameLoaderDelegate.h:
1728 (FrameLoadDelegate::windowScriptObjectAvailable):
1729 (FrameLoadDelegate::didFirstLayoutInFrame):
1731 2007-11-29 Sam Weinig <sam@webkit.org>
1735 Add database quota UIDelegates methods to DRT UIDelegate.
1737 * DumpRenderTree/mac/UIDelegate.mm:
1738 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1739 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
1741 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1745 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
1746 dying and vice versa.
1747 - This fix will allow Drosera and Safari to reconnect if either of them
1748 closes correctly, but does not fix the case where one of them dies
1751 * Drosera/win/ServerConnection.cpp:
1752 (ServerConnection::attemptToCreateServerConnection): Added a safety
1753 check, because it's possilbe to try to connect to a server that's dying.
1754 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
1755 the server has died.
1756 * Drosera/win/ServerConnection.h: Added the new function and removed
1757 an unnecessary member.
1759 2007-11-29 Anders Carlsson <andersca@apple.com>
1761 * DumpRenderTree/win/DumpRenderTree.vcproj:
1762 Add shlwapi.lib to all configurations.
1764 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1766 - Build fix. Added additional includes for VS Express to the Release
1769 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1771 2007-11-29 Anders Carlsson <andersca@apple.com>
1775 <rdar://problem/5132005>
1776 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
1778 * DumpRenderTree/win/DumpRenderTree.vcproj:
1781 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1782 (LayoutTestController::setUserStyleSheetEnabled):
1785 (appendComponentToPath):
1786 New method which wraps the Win32 API PathAppend.
1789 New method which checks if a file points to a shortcut and
1790 follows the shortcut.
1792 (resolveCygwinPath):
1793 New method that takes a cygwin unix-style path and returns the Win32 path.
1795 (cfStringRefToWString):
1797 (LayoutTestController::setUserStyleSheetLocation):
1800 2007-11-29 Alice Liu <alice.liu@apple.com>
1804 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
1806 * DumpRenderTree/win/EventSender.cpp:
1808 uppercase letters were being sent as lowercase letters without the shift key down.
1810 2007-11-29 Kevin McCullough <kmccullough@apple.com>
1812 - Windows build fix. VS express needs some love.
1814 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1816 2007-11-28 Darin Adler <darin@apple.com>
1818 Reviewed by Adam Roben.
1820 * DumpRenderTree/mac/EventSendingController.mm:
1821 (-[EventSendingController keyDown:withModifiers:]):
1822 Send capital letters through as lowercase letters with the shift key down
1823 rather than sending them as if they were highly unusual "capital letter keys".
1825 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
1826 where you need to update results and more tests are failing than before.
1828 2007-11-28 Anders Carlsson <andersca@apple.com>
1832 <rdar://problem/5132001>
1833 contextClick is not implemented in DRT on Windows.
1835 * DumpRenderTree/win/EventSender.cpp:
1836 (contextClickCallback):
1837 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
1838 by a WM_RBUTTONUP message.
1840 * DumpRenderTree/win/UIDelegate.cpp:
1841 (UIDelegate::hasCustomMenuImplementation):
1842 (UIDelegate::trackCustomPopupMenu):
1843 * DumpRenderTree/win/UIDelegate.h:
1844 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
1845 menu from being shown (and causing the DRT to hang).
1847 2007-11-27 Maciej Stachowiak <mjs@apple.com>
1851 Fix DumpRenderTree ObjC bug comparing strings.
1853 * DumpRenderTree/mac/ObjCController.m:
1854 (-[ObjCController identityIsEqual::]): Compare strings with string
1855 equality instead of identiy equality.
1857 2007-11-27 Timothy Hatcher <timothy@apple.com>
1861 Reset the authorAndUserStylesEnabled preference
1862 back to YES for each test. Fixes the broken tests.
1864 * DumpRenderTree/mac/DumpRenderTree.mm:
1865 (resetWebViewToConsistentStateBeforeTesting):
1867 2007-11-27 Kevin McCullough <kmccullough@apple.com>
1871 - Drosera now displays the console window, although it cannot currently
1874 * Drosera/win/DebuggerClient.cpp: Shows the console window.
1875 (registerConsoleClass): Implemented.
1876 (consoleWndProc): Implemented.
1877 (DebuggerClient::onSize): Implemented.
1878 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
1880 * Drosera/win/DebuggerClient.h: Added needed method and members for
1881 creating and maintaining a new window.
1882 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
1883 lines of code to more appropriate places.
1884 (Drosera::handleCommand):
1889 2007-11-27 Timothy Hatcher <timothy@apple.com>
1891 Reviewed by Dave Hyatt.
1893 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
1895 Add support for disabling author and user styles for testing.
1897 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1898 * DumpRenderTree/LayoutTestController.cpp:
1899 (setAuthorAndUserStylesEnabledCallback):
1900 (LayoutTestController::staticFunctions):
1901 * DumpRenderTree/LayoutTestController.h:
1902 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1903 (LayoutTestController::setAuthorAndUserStylesEnabled):
1904 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1905 (LayoutTestController::setAuthorAndUserStylesEnabled):
1907 2007-11-26 Dan Bernstein <mitz@apple.com>
1911 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1913 2007-11-26 Kevin McCullough <kmccullough@apple.com>
1917 - Implemented displaying variables for Drosera on Win.
1919 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
1920 that retrieve variables to not hold onto the return value since it's
1921 not returned. Also changed to use the new signatures of the retrieval
1923 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1924 (DebuggerDocument::platformValueForScopeVariableNamed):
1925 * Drosera/win/Drosera.cpp: Removed a needless TODO.
1928 2007-11-26 Sam Weinig <sam@webkit.org>
1930 Cleanup names of painting and repainting functions.
1932 Reviewed by Adam Roben.
1934 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1935 (drawSelectionRect): was drawSelectionRectIntoContext.
1936 (dumpWebViewAsPixelsAndCompareWithExpected):
1937 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1938 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1939 (paintWebView): was drawWebViewIntoContext.
1940 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
1942 2007-11-26 Sam Weinig <sam@webkit.org>
1944 Reviewed by Dan Bernstein.
1948 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1950 2007-11-26 Sam Weinig <sam@webkit.org>
1952 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
1953 Use shared PixelDumpSupport for Mac DRT
1955 Reviewed by Adam Roben.
1957 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1958 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
1959 * DumpRenderTree/cg/ImageDiffCG.cpp:
1960 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1961 (drawSelectionRectIntoContext):
1962 (dumpWebViewAsPixelsAndCompareWithExpected):
1963 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1964 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1965 * DumpRenderTree/mac/DumpRenderTree.mm:
1967 * DumpRenderTree/mac/ImageDiff.m: Removed.
1968 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
1969 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
1970 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
1971 (setDefaultColorProfileToRGB):
1972 (getBitmapContextFromWebView):
1973 (drawWebViewIntoContext):
1974 (repaintWithVerticalSweep):
1975 (repaintWithHorizontalSweep):
1977 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
1979 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
1981 Bug 16052: prepare-ChangeLog doesn't report deleted files
1982 <http://bugs.webkit.org/show_bug.cgi?id=16052>
1986 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
1988 2007-11-25 David Kilzer <ddkilzer@webkit.org>
1990 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
1991 <http://bugs.webkit.org/show_bug.cgi?id=15864>
1995 Roll functionality of merge-changelog into resolve-ChangeLogs
1996 script. The script now checks for ChangeLog.rej and
1997 ChangeLog.orig files first. If it finds them, it uses the
1998 ChangeLog.rej file as a patch (in old contextual diff format) to
1999 apply with --fuzz=3.
2001 * Scripts/merge-changelog: Removed.
2002 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
2004 2007-11-25 Sam Weinig <sam@webkit.org>
2006 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
2008 Reviewed by Mark Rowe.
2010 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2011 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2012 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2013 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
2014 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
2016 2007-11-25 Sam Weinig <sam@webkit.org>
2018 Convert DumpRenderTree to ues .xcconfig files.
2020 Reviewed by Mark Rowe.
2022 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2023 * DumpRenderTree/mac/Configurations: Added.
2024 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
2025 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
2026 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
2028 2007-11-25 Sam Weinig <sam@webkit.org>
2030 Add ForwardingHeaders to wtf for DumpRenderTree.
2032 Reviewed by Mark Rowe.
2034 * DumpRenderTree/DumpRenderTree.h:
2035 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2036 * DumpRenderTree/ForwardingHeaders: Added.
2037 * DumpRenderTree/ForwardingHeaders/wtf: Added.
2038 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
2039 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
2040 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
2041 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
2042 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
2043 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
2044 * DumpRenderTree/LayoutTestController.cpp:
2045 * DumpRenderTree/WorkQueue.cpp:
2046 * DumpRenderTree/mac/DumpRenderTree.mm:
2047 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2048 * DumpRenderTree/mac/JavaScriptThreading.cpp:
2049 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2050 * DumpRenderTree/mac/ObjCController.m:
2051 * DumpRenderTree/mac/UIDelegate.mm:
2052 * DumpRenderTree/mac/WorkQueueItemMac.mm:
2054 2007-11-25 Adam Roben <aroben@apple.com>
2056 Fix some test failures caused by r28019
2058 Now that stdout is in binary mode, we need to always use printf
2059 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
2064 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
2066 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2067 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2068 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2069 (UIDelegate::webViewAddMessageToConsole):
2071 2007-11-25 Adam Roben <aroben@apple.com>
2073 Set the font smoothing preference in DRT
2075 This makes the pixel results on Windows closer to the Mac results.
2079 * DumpRenderTree/win/DumpRenderTree.cpp:
2080 (initializePreferences):
2082 2007-11-25 Adam Roben <aroben@apple.com>
2084 Port ImageDiff to CG and C++
2086 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
2091 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
2092 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
2094 (createImageFromStdin):
2096 (getDifferenceBitmap):
2097 (computePercentageDifferent):
2098 * DumpRenderTree/win/ImageDiff.vcproj: Added.
2100 2007-11-25 Adam Roben <aroben@apple.com>
2102 Fix image diff link generation on Windows
2106 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
2109 2007-11-25 Adam Roben <aroben@apple.com>
2111 Implement pixel dumping in Windows DRT
2113 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
2118 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
2119 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
2120 Content-Length header.
2121 (getMD5HashStringForBitmap):
2122 (dumpWebViewAsPixelsAndCompareWithExpected):
2123 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
2124 * DumpRenderTree/win/DumpRenderTree.cpp:
2125 (dump): Do a pixel dump if requested.
2126 (main): Parse pixel test options.
2127 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
2128 the cg/ subdirectory to the include path.
2129 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
2130 available in a header or import library, so we have to go through this
2131 LoadLibrary/GetProcAddress dance to use them.
2139 * DumpRenderTree/win/MD5.h: Added.
2140 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
2141 moved up to the top level to share it with Mac eventually.
2142 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
2143 (getBitmapContextFromWebView): Forces the WebView to paint using a
2144 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
2146 2007-11-25 Adam Roben <aroben@apple.com>
2148 Clean up Windows DRT's option parsing a little bit
2152 * DumpRenderTree/win/DumpRenderTree.cpp:
2153 (main): Put non-option arguments into a Vector.
2155 2007-11-25 Adam Roben <aroben@apple.com>
2157 Make Windows DRT stop changing LF into CRLF
2161 * DumpRenderTree/win/DumpRenderTree.cpp:
2162 (main): Put stdout in binary mode.
2163 * Scripts/run-webkit-tests: Remove the CRLF hack.
2165 2007-11-24 David Kilzer <ddkilzer@webkit.org>
2167 Removed empty directory.
2169 * Scripts/resources: Removed.
2171 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
2173 Fix bisect-builds to work with recent WebKit nightly builds.
2177 * Scripts/bisect-builds: Check for the
2178 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
2179 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
2180 to WebKit.app/Contents/Resources.
2182 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
2186 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
2187 not closed (affects digg.com)
2189 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
2190 one after finishing with a test to avoid having its delayed onload handler firing when
2191 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
2192 but it helps somewhat.
2194 2007-11-22 Mark Rowe <mrowe@apple.com>
2196 Reviewed by Alp Toker.
2198 Fix build-webkit to propagate make's exit status if it fails.
2200 * Scripts/webkitdirs.pm:
2202 2007-11-22 Dan Bernstein <mitz@apple.com>
2204 Reviewed by Mark Rowe.
2206 - fix crash when running pixel tests
2208 * DumpRenderTree/mac/DumpRenderTree.mm:
2209 (dumpRenderTree): Parse the command line options before setting up the
2210 environment so that we know if we need to set up the pixel dump
2213 2007-11-21 Eric Seidel <eric@webkit.org>
2215 Speculative build fix for Tiger.
2217 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
2219 2007-11-21 Eric Seidel <eric@webkit.org>
2221 Reviewed by Tim Hatcher.
2223 Break out more of DumpRenderTree.mm into individual files
2225 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2226 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
2229 (makeLargeMallocFailSilently):
2230 * DumpRenderTree/mac/CheckedMalloc.h: Added.
2231 * DumpRenderTree/mac/DumpRenderTree.mm:
2234 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2235 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2236 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2237 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2238 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2239 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
2240 (javaScriptThreads):
2241 (runJavaScriptThread):
2242 (startJavaScriptThreads):
2243 (stopJavaScriptThreads):
2244 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
2245 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
2246 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
2247 (restoreColorSpace):
2248 (setDefaultColorProfileToRGB):
2249 (initializeColorSpaceAndScreeBufferForPixelTests):
2250 (md5HashStringForBitmap):
2251 (dumpWebViewAsPixelsAndCompareWithExpected):
2253 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
2255 Move install-unix-extras to wx directory as it seems only to be used by that
2256 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
2257 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
2258 have install-unix-extras install into WebKitLibraries as per
2261 Reviewed by Mark Rowe.
2263 * Scripts/install-unix-extras: Removed.
2264 * wx/build-wxwebkit:
2265 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
2267 2007-11-21 Eric Seidel <eric@webkit.org>
2271 More refactoring for greater code readability
2273 * DumpRenderTree/mac/DumpRenderTree.mm:
2274 (initializeGlobalsFromCommandLineOptions):
2275 (initializeColorSpaceAndScreeBufferForPixelTests):
2276 (addTestPluginsToPluginSearchPath):
2277 (useLongRunningServerMode):
2278 (runTestingServerLoop):
2279 (prepareConsistentTestingEnvironment):
2283 (dumpBackForwardListForWebView):
2284 (sizeWebViewForCurrentTest):
2285 (methodNameStringForFailedTest):
2286 (dumpBackForwardListForAllWindows):
2287 (dumpWebViewAsPixelsAndCompareWithExpected):
2288 (invalidateAnyPreviousWaitToDumpWatchdog):
2290 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2291 * DumpRenderTree/mac/UIDelegate.mm:
2292 (-[UIDelegate webView:createWebViewWithRequest:]):
2294 2007-11-21 Eric Seidel <eric@webkit.org>
2296 Reviewed by Tim Hatcher.
2298 Abstract more of DRT into static methods
2300 * DumpRenderTree/mac/DumpRenderTree.mm:
2301 (setDefaultsToConsistentValuesForTesting):
2302 (setupSignalHandlers):
2303 (allocateGlobalControllers):
2305 (releaseGlobalControllers):
2307 (shouldLogFrameLoadDelegates):
2308 (createCFURLFromPathOrURL):
2309 (resetWebViewToConsistentStateBeforeTesting):
2312 2007-11-21 Eric Seidel <eric@webkit.org>
2314 Reviewed by Tim Hatcher.
2316 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
2318 * DumpRenderTree/DumpRenderTree.h:
2319 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2320 * DumpRenderTree/mac/DumpRenderTree.mm:
2324 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
2325 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
2326 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
2327 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
2328 (-[DumpRenderTreePasteboard declareType:owner:]):
2329 (+[LocalPasteboard alloc]):
2330 (-[LocalPasteboard init]):
2331 (-[LocalPasteboard dealloc]):
2332 (-[LocalPasteboard name]):
2333 (-[LocalPasteboard releaseGlobally]):
2334 (-[LocalPasteboard declareTypes:owner:]):
2335 (-[LocalPasteboard addTypes:owner:]):
2336 (-[LocalPasteboard changeCount]):
2337 (-[LocalPasteboard types]):
2338 (-[LocalPasteboard availableTypeFromArray:]):
2339 (-[LocalPasteboard setData:forType:]):
2340 (-[LocalPasteboard dataForType:]):
2341 (-[LocalPasteboard setPropertyList:forType:]):
2342 (-[LocalPasteboard setString:forType:]):
2343 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
2344 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
2345 (+[DumpRenderTreeWindow allWindows]):
2346 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2347 (-[DumpRenderTreeWindow dealloc]):
2348 (-[DumpRenderTreeWindow isKeyWindow]):
2349 (-[DumpRenderTreeWindow keyDown:]):
2351 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
2353 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
2354 it indiscriminately copies any headers inside JavaScriptCore,
2355 which includes Tiger ICU headers.
2357 * wx/build-wxwebkit:
2358 Don't run WebCore/move-js-headers.sh any longer.
2360 2007-11-20 Adam Treat <treat@kde.org>
2362 Reviewed by David Kilzer.
2364 * Prepend git branch name to $baseProductDir
2366 * Scripts/VCSUtils.pm:
2367 * Scripts/webkitdirs.pm:
2369 2007-11-20 Mark Rowe <mrowe@apple.com>
2371 Reviewed by Simon Hausmann.
2373 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
2374 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
2375 Have it trigger a "make distclean" rather than "make clean" to ensure that the
2376 built product and generated Makefile's are removed.
2378 2007-11-19 Alp Toker <alp@atoker.com>
2380 Reviewed by Mark Rowe.
2382 http://bugs.webkit.org/show_bug.cgi?id=16040
2383 [GTK] GtkLauncher should be written in C
2385 Port GtkLauncher to plain C.
2387 Use a more conventional GTK+ coding style.
2389 Use a toolbar instead of menus.
2391 Various signature fixes and cleanups.
2393 Add a license header. Assume all previous modifications were copyright
2394 assigned to Apple Inc. by default.
2396 * GtkLauncher/GtkLauncher.pro:
2397 * GtkLauncher/main.c: Added.
2398 (activate_url_entry_cb):
2402 (progress_change_cb):
2411 * GtkLauncher/main.cpp: Removed.
2413 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
2415 Build script fixes to ensure they do the right thing for the
2416 wx port, and update build-wxwebkit to reflect the way the
2417 build scripts now work.
2421 * Scripts/build-testkjs:
2422 * Scripts/build-webkit:
2423 * Scripts/run-javascriptcore-tests:
2424 * Scripts/webkitdirs.pm:
2425 * wx/build-wxwebkit:
2427 2007-11-18 Eric Seidel <eric@webkit.org>
2431 Make run-javascriptcore-tests report failures on exit (to support git bisect)
2433 * Scripts/run-javascriptcore-tests:
2435 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
2437 Reviewed by Adam Roben.
2439 Make run-webkit-tests work with Windows debug build.
2441 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
2442 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
2443 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
2444 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
2445 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
2447 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
2449 Add wxWebKit sample and build script, and integrate it with
2450 build-webkit. Also make build-webkit --clean work for all
2453 Reviewed by Darin Adler.
2455 * Scripts/build-webkit:
2456 * Scripts/webkitdirs.pm:
2458 * wx/browser: Added.
2459 * wx/browser/browser.bkl: Added.
2460 * wx/browser/browser.cpp: Added.
2461 * wx/build-wxwebkit: Added.
2463 2007-11-17 Adam Roben <aroben@apple.com>
2465 Make it easy to run Safari in the debugger on Windows
2467 I've added a new script, debug-safari, which launches Safari in the
2468 debugger. On OS X it just calls gdb-safari.
2470 Reviewed by Mark Rowe.
2472 * FindSafari/FindSafari.cpp:
2473 (_tmain): Added a /debugger flag, which in combination with
2474 /printSafariLauncher will print a script that launches Safari in the
2476 * Scripts/debug-safari: Added.
2477 * Scripts/run-safari: Changed to call runSafari().
2478 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
2479 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
2480 first argument along to FindSafari.
2481 * Scripts/webkitdirs.pm:
2482 (sub runSafari): Added.
2484 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
2486 Reviewed by Adam Roben.
2488 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
2490 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
2492 Reviewed by David Kilzer.
2494 The git config command was renamed to repo-config at some point. This
2495 change tries git config and then git repo-config if the first fails.
2497 * Scripts/prepare-ChangeLog:
2500 2007-11-16 Dan Bernstein <mitz@apple.com>
2502 Reviewed by Darin Adler and Sam Weinig.
2504 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
2506 * DumpRenderTree/win/EventSender.cpp:
2507 (keyDownCallback): For characters that cannot be entered on the active
2508 keyboard layout, send a WM_CHAR message with the character along with
2509 a WM_KEYDOWN message with a virtual key code of 255.
2511 2007-11-16 Mark Rowe <mrowe@apple.com>
2513 Reviewed by Tim Hatcher.
2515 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
2517 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2518 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2520 2007-11-15 Adam Roben <aroben@apple.com>
2522 Make run-safari actually work on Windows
2524 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
2527 2007-11-14 Adam Roben <aroben@apple.com>
2529 Updates to Safari launching now that 3.0.4 is released
2533 * FindSafari/FindSafari.cpp:
2534 (getWebViewCLSID): Use version-independent ProgID.
2535 * Scripts/run-safari: Use run-webkit-nightly.cmd.
2537 2007-11-14 Anders Carlsson <andersca@apple.com>
2541 <rdar://problem/5309081>
2542 In DRT, "plugin.logDestroy = true" not working on Windows.
2544 * DumpRenderTree/win/TestNetscapePlugin/main.c:
2547 2007-11-14 Eric Seidel <eric@webkit.org>
2551 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
2553 2007-11-14 Anders Carlsson <andersca@apple.com>
2557 <rdar://problem/5141186>
2558 window.layoutTestController.setWindowIsKey is not implemented in DRT.
2560 Implement setWindowIsKey.
2562 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2563 (LayoutTestController::setWindowIsKey):
2565 2007-11-13 Sam Weinig <sam@webkit.org>
2567 Reviewed by Adam Roben.
2569 Fix for <rdar://problem/5382579>
2570 http/tests/security/cross-frame-access-put.html reports large
2571 negative numbers for screenLeft and screenTop (Mac reports "0")
2573 * DumpRenderTree/win/UIDelegate.cpp:
2574 (UIDelegate::UIDelegate): Initialize the RECT.
2575 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
2576 (UIDelegate::webViewFrame): ditto.
2577 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
2579 2007-11-13 Kevin McCullough <kmccullough@apple.com>
2583 - Make Drosera show source, source URLs, and function stack on Windows,
2584 and some minor fixes.
2586 * Drosera/DebuggerDocument.cpp: Force source to always update display.
2587 (DebuggerDocument::updateFileSource):
2588 * Drosera/debugger.js: Force source to always update display.
2589 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
2591 (DebuggerClient::resume):
2592 (DebuggerClient::pause):
2593 (DebuggerClient::stepInto):
2594 (DebuggerClient::stepOver):
2595 (DebuggerClient::stepOut):
2596 (DebuggerClient::showConsole):
2597 (DebuggerClient::closeCurrentFile):
2598 * Drosera/win/DebuggerClient.h: Ditto.
2599 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
2600 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
2601 removed two bugs. 1) caller could be in a bad state when asked to
2602 assign into it. 2) BSTRs were not created correctly.
2603 (DebuggerDocument::getPlatformCurrentFunctionStack):
2604 * Drosera/win/Drosera.cpp: Hook up the menu controls.
2609 (Drosera::stepInto):
2610 (Drosera::stepOver):
2612 (Drosera::showConsole):
2613 (Drosera::closeCurrentFile):
2614 * Drosera/win/Drosera.h: Hook up the menu controls.
2615 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
2616 functions, added a null check, and fixed another bug where caller could
2617 be in a bad state when asked to assign into it.
2618 (ServerConnection::didLoadMainResourceForDataSource):
2619 (ServerConnection::getCallerFrame):
2620 * Drosera/win/ServerConnection.h: Safety first.
2622 2007-11-13 Dan Bernstein <mitz@apple.com>
2624 Reviewed by Darin Adler.
2626 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
2627 DumpRenderTree --pixel-tests renders each test twice
2629 * DumpRenderTree/mac/DumpRenderTree.mm:
2630 (dumpRenderTree): Removed the --paint option because the painting code
2631 is always exercised as a result of
2632 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
2633 calling -displayIfNeeded.
2634 (dump): Changed to always grab the image from the window since the view
2635 is always displayed.
2638 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
2639 because it always paints.
2641 2007-11-12 Antti Koivisto <antti@apple.com>
2645 Add support for http media tests
2647 * Scripts/run-webkit-tests:
2649 2007-11-12 Sam Weinig <sam@webkit.org>
2651 Reviewed by Adam Roben.
2653 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
2655 * DumpRenderTree/win/DumpRenderTree.cpp:
2657 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2658 (LayoutTestController::setPrivateBrowsingEnabled):
2660 2007-11-12 Adam Roben <aroben@apple.com>
2662 * Scripts/update-webkit-localizable-strings: Changed to only scan the
2663 mac and win subdirectories.
2665 2007-11-11 Adam Roben <aroben@apple.com>
2667 Fix <rdar://5133816> keepWebHistory is not implemented
2669 Fixes fast/history/clicked-link-is-visited.html.
2673 * DumpRenderTree/win/DumpRenderTree.cpp:
2674 (runTest): Clear the optionalSharedHistory.
2675 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2676 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
2678 2007-11-10 Sam Weinig <sam@webkit.org>
2680 Reviewed by Tim Hatcher.
2682 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
2683 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
2686 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
2688 Added test: http/tests/security/cross-frame-access-private-browsing.html
2690 * DumpRenderTree/LayoutTestController.cpp:
2691 (setPrivateBrowsingEnabledCallback):
2692 (LayoutTestController::staticFunctions):
2693 * DumpRenderTree/LayoutTestController.h:
2694 * DumpRenderTree/mac/DumpRenderTree.mm:
2695 (runTest): Default to private browsing disabled.
2696 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2697 (LayoutTestController::setPrivateBrowsingEnabled):
2698 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2699 (LayoutTestController::setPrivateBrowsingEnabled):
2701 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2705 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
2708 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2709 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
2710 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2711 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2712 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
2713 * Drosera/win/Drosera.cpp:
2714 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2716 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2720 - Use the new IWebFrame [local] function signature and get the shared
2723 * Drosera/win/DebuggerClient.cpp:
2724 (DebuggerClient::didFinishLoadForFrame):
2725 * Drosera/win/ServerConnection.cpp:
2726 (ServerConnection::attemptToCreateServerConnection):
2728 2007-11-07 Dan Bernstein <mitz@apple.com>
2730 Reviewed by Darin Adler.
2732 - add an option to run-webkit-tests to ignore pixel test failures where
2733 all pixels differ by no more than a specified threshold
2735 * DumpRenderTree/mac/ImageDiff.m:
2738 (computePercentageDifferent):
2739 * Scripts/run-webkit-tests:
2741 2007-11-07 Simon Hausmann <hausmann@kde.org>
2745 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2747 * DumpRenderTree/qt/DumpRenderTree.cpp:
2749 2007-11-07 Simon Hausmann <hausmann@kde.org>
2753 Reworked the QWebSettings API.
2754 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2756 * DumpRenderTree/qt/DumpRenderTree.cpp:
2758 2007-11-07 Simon Hausmann <hausmann@kde.org>
2762 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2764 * DumpRenderTree/qt/jsobjects.cpp:
2766 2007-11-07 Simon Hausmann <hausmann@kde.org>
2768 Reviewed by Lars Knoll <lars@trolltech.com>.
2770 Add a QWebPage::frameCreated() signal and fix DRT
2772 The removal of createFrame in QWebPage broke the re-implementation
2773 in DumpRenderTree. Instead emit a frameCreated() signal and
2774 connect to it in DumpRenderTree.
2777 * DumpRenderTree/qt/DumpRenderTree.cpp:
2778 (WebCore::WebPage::WebPage):
2779 (WebCore::DumpRenderTree::dump):
2780 (WebCore::DumpRenderTree::connectFrame):
2781 * DumpRenderTree/qt/DumpRenderTree.h:
2783 2007-11-07 Simon Hausmann <hausmann@kde.org>
2785 Reviewed by Lars Knoll <lars@trolltech.com>.
2787 Moved all the event handlers from QWebFrame into QWebPage.
2789 This cleans up the public API and allows us to remove the
2790 HackWebFrame hack in DumpRenderTree.
2793 * DumpRenderTree/qt/jsobjects.cpp:
2794 (EventSender::mouseDown):
2795 (EventSender::mouseUp):
2796 (EventSender::mouseMoveTo):
2798 2007-11-07 Simon Hausmann <hausmann@kde.org>
2802 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
2803 to prevent the default implementation from popping up messageboxes.
2805 * DumpRenderTree/qt/DumpRenderTree.cpp:
2806 (WebCore::WebPage::javaScriptConfirm):
2807 (WebCore::WebPage::javaScriptPrompt):
2809 2007-11-06 Eric Seidel <eric@webkit.org>
2811 * Scripts/build-testkjs: build fix... too many $$
2813 2007-11-06 Eric Seidel <eric@webkit.org>
2815 Reviewed by Mark Rowe.
2817 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
2819 2007-11-05 Adam Roben <aroben@apple.com>
2821 Add support on Windows for WEBKIT_TESTFONTS
2823 This environment variable lets you specify where the fonts to be used
2824 by DumpRenderTree reside. The Qt port is already using this, so I'm
2825 just following their lead.
2829 * DumpRenderTree/win/DumpRenderTree.cpp:
2830 (exePath): Refactored code out of initialize().
2831 (fontsPath): Returns either $WEBKIT_TESTFONTS or
2832 DumpRenderTree.resources.
2833 (initialize): Use the new fontsPath function.
2834 (main): Use the new exePath function.
2835 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
2836 variable to DRT, like Qt does.
2838 2007-11-05 Mark Rowe <mrowe@apple.com>
2840 Rubber-stamped by Alp Toker.
2842 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
2844 * GtkLauncher/main.cpp:
2848 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
2850 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
2851 <http://bugs.webkit.org/show_bug.cgi?id=15830>
2853 Reviewed by Timothy.
2855 Restrict the range of nightly builds used by the bisect-builds script
2856 based on the version of Safari and the version of Mac OS X being used.
2858 Mac OS X 10.4: Safari 2.0: r11976 or newer
2859 Mac OS X 10.4: Safari 3.0: r19992 or newer
2861 Mac OS X 10.5: Safari 2.0: r19594 or newer
2862 Mac OS X 10.5: Safari 3.0: r25124 or newer
2864 * Scripts/bisect-builds:
2865 (findMacOSXVersion): Added.
2866 (makeNightlyList): Added argument to provide version of Mac OS X.
2867 Restrict range of nightly builds based on Safari and Mac OS X versions.
2869 2007-11-04 Kevin McCullough <kmccullough@apple.com>
2873 - This patch involves several changes, all of them were noticed that
2874 they were needed by the work being done in WebKit to get Drosera and
2875 WebKit working together on Windows.
2877 1) Added a debugger console for output messages.
2878 2) Drosera now listens for the WebKit server (before, the server would
2879 have to be running before Drosera was started.)
2880 3) Fixed a bug where the WebView started out as 0x0 pixels.
2881 4) Fixed a bug when there is no scope.
2882 5) Added the HTML, JS, and CSS to the project file to make them easy to
2884 6) Made the ServerConnection functions virtual.
2886 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
2887 for the WebKit server.
2888 (DebuggerClient::DebuggerClient):
2889 (DebuggerClient::~DebuggerClient):
2890 (DebuggerClient::didFinishLoadForFrame):
2891 (DebuggerClient::serverConnected):
2892 (DebuggerClient::attemptToCreateServerConnection):
2893 * Drosera/win/DebuggerClient.h: Ditto.
2894 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
2896 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2897 (DebuggerDocument::platformValueForScopeVariableNamed):
2898 * Drosera/win/Drosera.cpp:
2899 (_tWinMain): Added a console in debug for output messages.
2900 (Drosera::Drosera): Listen for server.
2901 (Drosera::initUI): The server now Initializes COM.
2902 (Drosera::serverConnected): Part of the listening for the server.
2903 (Drosera::attemptToCreateServerConnection): Ditto.
2904 * Drosera/win/Drosera.h: New interface for listening for the server.
2905 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
2906 files to the VS project.
2907 * Drosera/win/ServerConnection.cpp: Part of listening for the server
2909 (ServerConnection::ServerConnection):
2910 (ServerConnection::attemptToCreateServerConnection):
2911 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
2913 (ServerConnection::serverConnected):
2915 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
2919 http://bugs.webkit.org/show_bug.cgi?id=15832
2920 fast/dom/gc-10.html crashes when run alone
2922 Check for !done before using objects that can be already deallocated.
2924 * DumpRenderTree/mac/EditingDelegate.mm:
2925 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2926 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2927 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2928 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2929 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2930 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2931 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2932 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2933 (-[EditingDelegate webViewDidBeginEditing:]):
2934 (-[EditingDelegate webViewDidChange:]):
2935 (-[EditingDelegate webViewDidEndEditing:]):
2936 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2937 (-[EditingDelegate webViewDidChangeSelection:]):
2938 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2939 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2940 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2941 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2942 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2943 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2944 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2945 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2946 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2947 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2948 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2949 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2950 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2951 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2952 (-[FrameLoadDelegate webView:willCloseFrame:]):
2953 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2954 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2955 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2956 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2957 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2958 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2959 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2960 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2961 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2963 2007-11-04 Mark Rowe <mrowe@apple.com>
2965 Build fix. Don't use Carbon.h as the prefix header as it triggers
2966 warnings that would otherwise be suppressed due to it being a system header.
2968 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2970 2007-11-03 Maciej Stachowiak <mjs@apple.com>
2972 Rubber stamped by Adam.
2974 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
2976 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2978 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
2980 Sort files(...); sections of Xcode project files.
2982 Rubber-stamped by Darin.
2984 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2985 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2986 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2987 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2989 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
2991 Script to sort "files(...);" sections in Xcode project.pbxproj files.
2995 * Scripts/sort-Xcode-project-file: Added.
2997 2007-11-02 Darin Adler <darin@apple.com>
2999 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
3001 2007-11-02 Darin Adler <darin@apple.com>
3005 * Scripts/run-sunspider: Pass the "--base" option through.
3007 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
3008 the real script do that. Default configuration to Release to match run-sunspider
3009 so we don't end up building Debug just to compare results.
3011 2007-11-01 Adam Roben <aroben@apple.com>
3013 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
3017 * Scripts/commit-log-editor: Show all the directories beneath the
3018 source root, instead of just the last one.
3020 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
3022 Reviewed by Adam Roben.
3024 Print out an error message when the Windows build fails
3025 and provide guidance on how to find out what went wrong.
3027 * Scripts/build-webkit:
3028 * Scripts/webkitdirs.pm:
3030 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
3032 Rubber-stamped by Adam Roben.
3034 Rolled out r27326 - debug CRT seems to cause no problems after all.
3036 * DumpRenderTree/win/DumpRenderTree.vcproj:
3038 2007-10-31 Adam Roben <aroben@apple.com>
3040 Switch the Debug configuration to using the non-debug CRT
3042 This matches WebKit.
3046 * DumpRenderTree/win/DumpRenderTree.vcproj:
3048 2007-10-31 Antti Koivisto <antti@apple.com>
3052 Disable media tests when doing leak checking on Tiger.
3053 They crash in QuickTime (rdar://problem/5537157).
3055 * Scripts/run-webkit-tests:
3057 2007-10-29 Antti Koivisto <antti@apple.com>
3061 Build media support by default on OSX only.
3063 * Scripts/build-webkit:
3065 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3067 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
3068 get caught by the pre-commit hooks.
3070 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3074 - This is a collection of relatively unrelated changes and cleanups
3075 to Drosera to prepare it for interacting with WebKit. A lot of these
3076 changes are just correcting mistakes, for example removing included
3077 headers that are no longer needed.
3079 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
3080 this will be needed by the DebuggerClient.
3081 (DebuggerDocument::server):
3082 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
3083 * Drosera/win/DebuggerClient.cpp:
3084 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
3085 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
3086 (DebuggerClient::createWebViewWithRequest): Added comment about its
3088 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
3090 (DebuggerClient::webViewLoaded): Moved.
3091 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
3092 file, since this was the only place it was used.
3094 * Drosera/win/Drosera.h: Cleaned up the includes.
3095 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
3096 * Drosera/win/HelperFunctions.h: Removed.
3098 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3102 - Small cleanup in the ServerConnection class.
3104 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
3105 and added an include.
3106 (ServerConnection::currentFrame):
3107 (ServerConnection::getCallerFrame):
3108 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
3109 made a pointer into a COMPtr, and cleaned up the includes.
3111 2007-10-29 Timothy Hatcher <timothy@apple.com>
3113 Reviewed by John Sullivan.
3115 - Place the Localizable.strings file in mac or win directories
3116 if that location exists.
3117 - Also look for UI_STRING in .c files.
3119 * Scripts/extract-localizable-strings:
3121 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3125 - Set the eol-style to native and made all the line endings the same
3126 so that I avoid messy diffs that show eol changes.
3128 * Drosera/win/ServerConnection.cpp:
3129 (ServerConnection::didParseSource):
3130 (ServerConnection::didEnterCallFrame):
3131 (ServerConnection::willExecuteStatement):
3132 (ServerConnection::willLeaveCallFrame):
3133 (ServerConnection::exceptionWasRaised):
3135 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3139 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
3140 functionality that could not have existed previously without the new
3142 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
3143 from a BSTR to a JSValueRef.
3144 (DebuggerDocument::platformEvaluateScript): Implemented.
3145 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
3146 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3148 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
3149 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
3150 * Drosera/win/ServerConnection.cpp: Added a helper function.
3151 (ServerConnection::getCallerFrame):
3152 * Drosera/win/ServerConnection.h: Added a helper function.
3154 2007-10-29 Kevin McCullough <kmccullough@apple.com>
3156 updated reviewers for my previous changelog.
3158 2007-10-29 Kevin McCullough <kmccullough@apple.com>
3159 Reviewed by Maciej and Adam and Geoff.
3161 - Minor mac-side improvements including moving a function to a more
3162 appropriate location, fixing a warning, and correctly checking
3165 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
3166 (DebuggerDocument::willExecuteStatement):
3167 (DebuggerDocument::didEnterCallFrame):
3168 (DebuggerDocument::willLeaveCallFrame):
3169 (DebuggerDocument::windowScriptObjectAvailable):
3170 (DebuggerDocument::callFunctionOnObject):
3171 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
3172 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
3173 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
3174 because it doesn't require the ServerConnection at all.
3175 (NSStringCreateWithJSStringRef): Made an argument const.
3176 (JSValueRefCreateWithNSString): Made an argument const.
3177 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
3178 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3179 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
3180 * Drosera/mac/ServerConnection.mm: Ditto.
3181 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
3183 2007-10-29 Sam Weinig <sam@webkit.org>
3185 Reviewed by Adam Roben.
3187 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
3189 * DumpRenderTree/LayoutTestController.cpp:
3190 (LayoutTestController::LayoutTestController):
3191 (getGlobalFlagCallback):
3192 (setGlobalFlagCallback):
3193 (LayoutTestController::getJSClass):
3194 (LayoutTestController::staticValues):
3195 * DumpRenderTree/LayoutTestController.h:
3196 (LayoutTestController::globalFlag):
3197 (LayoutTestController::setGlobalFlag):
3199 2007-10-29 Darin Adler <darin@apple.com>
3203 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
3204 resolution instead of its default.
3206 2007-10-29 David Kilzer <ddkilzer@webkit.org>
3208 Fixed showStatus() to print status for successfully resolved conflicts when using git.
3210 Reviewed by Mark Rowe.
3212 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
3213 was successfully resolved, but this would not show any status because the change had
3214 already been cached in the index using "git add". The solution is to add an optional
3215 second argument to showStatus() which adds the "--cached" switch to the command.
3217 * Scripts/resolve-ChangeLogs:
3220 2007-10-28 Eric Seidel <eric@webkit.org>
3222 Reviewed by Maciej and Geoff, in unison.
3224 * Scripts/run-webkit-tests: remove broken --svg option
3226 2007-10-28 Darin Adler <darin@apple.com>
3230 * Scripts/run-sunspider: Default to "Release" configuration rather than
3231 defaulting to the last configuration used as other scripts do. This can
3232 still be overriden on the command line with "--debug" if there's some
3233 reason to do so. Also fix a typo.
3235 * Scripts/sunspider-compare-results: Fix a typo.
3237 2007-10-26 Kevin McCullough <kmccullough@apple.com>
3241 - Implemented the WebScriptDebugListener functions now that the
3242 WebScriptDebugServer exists
3244 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
3246 (ServerConnection::currentFrame):
3247 (ServerConnection::didLoadMainResourceForDataSource):
3248 (ServerConnection::didParseSource):
3249 (ServerConnection::failedToParseSource):
3250 (ServerConnection::didEnterCallFrame):
3251 (ServerConnection::willExecuteStatement):
3252 (ServerConnection::willLeaveCallFrame):
3253 (ServerConnection::exceptionWasRaised):
3254 * Drosera/win/ServerConnection.h: Removed unused arguments from the
3255 members arguments list.
3257 2007-10-26 David Kilzer <ddkilzer@webkit.org>
3259 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
3260 <http://bugs.webkit.org/show_bug.cgi?id=15600>
3264 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
3265 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
3266 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
3267 file. Note that it may also be used as a stand-alone script.
3269 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
3270 * Scripts/resolve-ChangeLogs: Added.
3271 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
3273 2007-10-26 Mark Rowe <mrowe@apple.com>
3275 Qt build fix. r27084 added a destructor implementation for LayoutTestController
3276 to the Qt port on the assumption that it was an implementation of the cross-platform
3277 LayoutTestController class. It is not, so it did not need to be changed.
3279 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
3281 2007-10-25 Mark Rowe <mrowe@apple.com>
3285 Fix builds with code coverage enabled.
3287 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
3289 2007-10-25 Darin Adler <darin@apple.com>
3291 Reviewed by Mark Rowe.
3293 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
3294 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
3296 2007-10-25 Stephanie <slewis@apple.com>
3300 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3302 2007-10-25 Stephanie <slewis@apple.com>
3304 Reviewed by Mark Rowe, Adam Roben.
3306 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
3308 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3310 2007-10-25 Alice Liu <alice.liu@apple.com>
3314 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
3316 Moving destructor into platform-specific files
3317 * DumpRenderTree/LayoutTestController.cpp:
3318 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3319 (LayoutTestController::~LayoutTestController):
3320 * DumpRenderTree/qt/jsobjects.cpp:
3321 (LayoutTestController::~LayoutTestController):
3323 LayoutTestController wasn't being destroyed
3324 * DumpRenderTree/win/DumpRenderTree.cpp:
3328 * DumpRenderTree/win/EditingDelegate.h:
3330 Reset certain values on the webview (or related delegate) that might
3331 have changed while running a test
3332 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3333 (LayoutTestController::~LayoutTestController):
3335 2007-10-25 Adam Roben <aroben@apple.com>
3337 Make sunspider-compare-results work with relative paths
3341 * Scripts/sunspider-compare-results: Convert arguments to absolute
3342 paths before we chdir.
3344 2007-10-25 Kevin McCullough <kmccullough@apple.com>
3348 - Implemented server calls now the WebScriptDebugServer exists.
3349 - Also removed no longer needed call to initialize CG.
3351 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
3354 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
3355 (ServerConnection::ServerConnection):
3356 (ServerConnection::~ServerConnection):
3357 (ServerConnection::pause):
3358 (ServerConnection::resume):
3359 (ServerConnection::stepInto):
3360 (ServerConnection::applicationTerminating):
3361 (ServerConnection::serverConnectionDidDie):
3362 * Drosera/win/ServerConnection.h: Now uses the COM class.
3364 2007-10-24 George Staikos <staikos@kde.org>
3368 * Scripts/build-webkit:
3370 2007-10-24 Adam Roben <aroben@apple.com>
3372 Remove now-unnecessary call to InitializeCoreGraphics
3374 WebKit takes care of this now.
3378 * DumpRenderTree/win/DumpRenderTree.cpp:
3381 2007-10-24 Adam Roben <aroben@apple.com>
3383 Use WebTextRenderer in DRT
3387 * DumpRenderTree/win/DumpRenderTree.cpp:
3388 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
3390 2007-10-24 Sven Herzberg <sven@imendio.com>
3392 Reviewed by Mark Rowe.
3394 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
3395 Bug 15614: [GTK] qmake based backends don't build on OS X
3397 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
3398 GTK backend on a Mac
3399 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
3400 isDarwin() to make it reusable in other places (like the workaround-
3401 for-prebuilt-qmake in build-webkit)
3403 2007-10-24 David Kilzer <ddkilzer@webkit.org>
3405 Refurbish update-webkit script.
3409 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
3410 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
3411 multi-argument version of system() for flexibility and security. Check for existence
3412 of Internal directory using -d test instead of -x.
3414 2007-10-24 David Kilzer <ddkilzer@webkit.org>
3416 Minor clean-up of prepare-ChangeLog script.
3420 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
3421 of a string. Use multi-argument versions of open() and system() for flexibility and
3424 2007-10-24 Alice Liu <alice.liu@apple.com>
3428 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
3430 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
3431 replay the saved events when we're still processing the mousedown that starts the drag
3432 * DumpRenderTree/win/EventSender.cpp:
3434 * DumpRenderTree/win/UIDelegate.cpp:
3435 (UIDelegate::doDragDrop):
3437 2007-10-24 Kevin McCullough <kmccullough@apple.com>
3439 Reviewed by Sam, Steve and Darin.
3441 - Stubbed out the WebScriptDebugListener functionality in the Server
3442 Connection class to prepare it for receiving those callbacks.
3443 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
3444 and the ServerConnection to not need to be initialized with a server
3445 name, since that is not the way we connect to the WebKit server.
3447 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
3448 no exception. Now it only loggs when there is an exception
3449 (DebuggerDocument::willExecuteStatement):
3450 (DebuggerDocument::didEnterCallFrame):
3451 (DebuggerDocument::willLeaveCallFrame):
3452 (DebuggerDocument::windowScriptObjectAvailable):
3453 (DebuggerDocument::callFunctionOnObject):
3454 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
3455 to be instantiated with a server's name.
3456 (DebuggerClient::DebuggerClient):
3457 (DebuggerClient::didFinishLoadForFrame):
3458 * Drosera/win/DebuggerClient.h: Removed unsued variable.
3459 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
3462 (Drosera::initServer):
3463 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
3464 instantiated with a server's name.
3465 * Drosera/win/ServerConnection.cpp:
3466 (ServerConnection::ServerConnection): No longer needs a server name
3467 (ServerConnection::~ServerConnection): Only release the global context
3469 (ServerConnection::serverConnectionDidDie): Stub for
3470 IWebScriptDebugListener
3471 (ServerConnection::QueryInterface): ditto
3472 (ServerConnection::AddRef): ditto
3473 (ServerConnection::Release): ditto
3474 (ServerConnection::didLoadMainResourceForDataSource): ditto
3475 (ServerConnection::didParseSource): ditto
3476 (ServerConnection::failedToParseSource): ditto
3477 (ServerConnection::didEnterCallFrame): ditto
3478 (ServerConnection::willExecuteStatement): ditto
3479 (ServerConnection::willLeaveCallFrame): ditto
3480 (ServerConnection::exceptionWasRaised): ditto
3481 * Drosera/win/ServerConnection.h: Stubbed out the
3482 IWebScriptDebugListener functions, and this class no longer needs to be
3483 instantiated with a server name.
3485 2007-10-24 Lars Knoll <lars@trolltech.com>
3489 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
3491 * DumpRenderTree/qt/jsobjects.h:
3493 2007-10-24 Lars Knoll <lars@trolltech.com>
3497 add another command.
3499 * DumpRenderTree/qt/jsobjects.cpp:
3500 (TextInputController::doCommand):
3502 2007-10-24 Lars Knoll <lars@trolltech.com>
3506 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
3508 * DumpRenderTree/qt/jsobjects.cpp:
3509 (EventSender::keyDown):
3510 * DumpRenderTree/qt/jsobjects.h:
3512 2007-10-24 Lars Knoll <lars@trolltech.com>
3516 implement eventSender.keyDown().
3518 * DumpRenderTree/qt/jsobjects.cpp:
3519 (EventSender::keyDown):
3521 2007-10-24 Lars Knoll <lars@trolltech.com>
3525 some smaller fixes to the editing support in DRT. Makes another few tests pass.
3527 * DumpRenderTree/qt/DumpRenderTree.cpp:
3528 (WebCore::DumpRenderTree::DumpRenderTree):
3529 (WebCore::DumpRenderTree::initJSObjects):
3530 * DumpRenderTree/qt/jsobjects.cpp:
3531 (TextInputController::doCommand):
3533 2007-10-24 Lars Knoll <lars@trolltech.com>
3537 first bit of implementation for the textinputcontroller.
3539 * DumpRenderTree/qt/DumpRenderTree.cpp:
3540 (WebCore::DumpRenderTree::DumpRenderTree):
3541 * DumpRenderTree/qt/DumpRenderTree.h:
3542 * DumpRenderTree/qt/jsobjects.cpp:
3543 (TextInputController::TextInputController):
3544 (TextInputController::doCommand):
3545 * DumpRenderTree/qt/jsobjects.h:
3547 2007-10-24 Lars Knoll <lars@trolltech.com>
3551 make the man webpage believe it has focus, so the editing tests work correctly.
3553 * DumpRenderTree/qt/DumpRenderTree.cpp:
3554 (WebCore::DumpRenderTree::DumpRenderTree):
3556 2007-10-24 Lars Knoll <lars@trolltech.com>
3560 implement layoutTestController.dumpEditingCallbacks() correctly.
3562 * DumpRenderTree/qt/DumpRenderTree.cpp:
3563 (WebCore::DumpRenderTree::DumpRenderTree):
3564 * DumpRenderTree/qt/jsobjects.cpp:
3565 (LayoutTestController::reset):
3566 (LayoutTestController::dumpEditingCallbacks):
3568 2007-10-24 Lars Knoll <lars@trolltech.com>
3572 Implement support for testing editing.
3574 * DumpRenderTree/qt/DumpRenderTree.cpp:
3575 (WebCore::DumpRenderTree::DumpRenderTree):
3577 2007-10-23 Sam Weinig <sam@webkit.org>
3579 Check for null BSTR that can be passed to the UIDelegate methods
3580 from javascript null and undefined. Fixes a failing test case on
3581 Windows (fast/dom/Window/alert-undefined.html)
3583 Reviewed by Eric Seidel.
3585 * DumpRenderTree/win/UIDelegate.cpp:
3586 (UIDelegate::runJavaScriptAlertPanelWithMessage):
3587 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
3588 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
3589 (UIDelegate::webViewAddMessageToConsole):
3591 2007-10-23 Maciej Stachowiak <mjs@apple.com>
3595 Don't print a massive pile of setenvs from tools that automatically build testkjs.
3597 * Scripts/build-testkjs:
3599 2007-10-23 Maciej Stachowiak <mjs@apple.com>
3603 - add wrapper that finds the right copy of testkjs
3605 * Scripts/sunspider-compare-results: Added.
3607 2007-10-23 Kevin McCullough <kmccullough@apple.com>
3611 - After talking with Steve I now see that the WebKit server must be
3612 running for DCOM to create the distributed objects, which makes sense
3613 and currently WebKit only allows one instance to be running at a time
3614 which avoids accidentally connecting to the wrong server
3615 - In light of this I have removed the code for the attach box and
3616 NotificationServer and known server names, since they are all extranious
3619 * Drosera/win/Drosera.cpp: Removed notification classes and known server
3621 (_tWinMain): Uses init instead of initUI.
3622 (droseraWndProc): No longer creats an attach dialog box.
3623 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
3624 it's not manditory to call init before doing COM stuff.
3625 (Drosera::init): calls initUI and will call attach when the
3626 functionality exists.
3627 (Drosera::initUI): Has changed very little.
3628 (Drosera::attach): Changed the signature to reflect that we no longer
3629 need the dictionary of known server names.
3630 * Drosera/win/Drosera.h: Removed notification classes and known server
3631 names. Also renamed and moved some functions.
3632 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
3633 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
3634 headers to the resources folder.
3635 * Drosera/win/resource.h: Removed the Attach box.
3637 2007-10-22 Adam Roben <aroben@apple.com>
3641 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
3643 2007-10-22 Kevin McCullough <kmccullough@apple.com>
3645 - Removed a leak that was fixed.
3647 * Scripts/run-webkit-tests:
3649 2007-10-19 Kevin McCullough <kmccullough@apple.com>
3653 - Changed the Client so that the DebuggerDocument now own the
3654 ServerConnection. This simplifies ownership and cleanup.
3656 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
3658 (DebuggerClient::initWithServerName):
3659 (DebuggerClient::didFinishLoadForFrame):
3660 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
3662 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to