1 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
6 is not exporting enough to create the output in DRT itself. Settle with the approach
7 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
8 * run-webkit-tests http/tests(/loading) can now be executed.
9 * For tests in loading/ directories we are going to throw away the dirty
10 QWebPage to start with something clean.
13 * DumpRenderTree/qt/DumpRenderTree.cpp:
15 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
19 * Treat http and https as special URLs as well. Change the main.cpp and
20 DumpRenderTree.cpp to handle http and https URIs as input.
21 * I'm not doing the clean up and merging of these two checks now.
24 * DumpRenderTree/qt/DumpRenderTree.cpp:
25 (WebCore::DumpRenderTree::readStdin):
26 * DumpRenderTree/qt/main.cpp:
29 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
33 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
34 located in a directory with the name "loading". And this will autoamtically
36 * Remove this method from the LayoutTestController as it is unused now and this
37 avoids adding it to the DRT of the Qt port.
40 * DumpRenderTree/LayoutTestController.cpp:
41 (setPrivateBrowsingEnabledCallback):
43 2008-04-01 Christian Dywan <christian@imendio.com>
45 Build fix for GCC 4.3.
47 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
49 2008-04-01 Simon Hausmann <hausmann@webkit.org>
53 Fix Qt DRT run by also printing EOF on stderr, as expected by
56 * DumpRenderTree/qt/DumpRenderTree.cpp:
57 (WebCore::DumpRenderTree::dump):
59 2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
63 Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
65 Remove trailing '/' in $sourceDir in determineSourceDir().
67 Fix suggested by Dmitriy Kazachkov.
69 * Scripts/webkitdirs.pm:
71 2008-03-29 Adam Roben <aroben@apple.com>
73 Update for rename of an IWebViewPrivate method
75 Reviewed by Mitz Pettel.
77 * DumpRenderTree/win/DumpRenderTree.cpp:
78 (createWebViewAndOffscreenWindow):
80 2008-03-26 Antti Koivisto <antti@apple.com>
84 Enable SVG animation support by default.
86 * Scripts/build-webkit:
88 2008-03-25 Adam Roben <aroben@apple.com>
92 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
93 Add $(WebKitLibrariesDir)\include to the include path so we can find
96 2008-03-24 Eric Seidel <eric@webkit.org>
100 Clean up SVG features message to be less confusing.
102 * Scripts/build-webkit:
104 2008-03-24 Sam Weinig <sam@webkit.org>
106 Reviewed by Dave Hyatt.
108 Add EventSender.zoomPageIn/zoomPageOut support to DRT.
110 * DumpRenderTree/mac/DumpRenderTree.mm:
111 (resetWebViewToConsistentStateBeforeTesting):
112 * DumpRenderTree/mac/EventSendingController.mm:
113 (+[EventSendingController isSelectorExcludedFromWebScript:]):
114 (-[EventSendingController zoomPageIn]):
115 (-[EventSendingController zoomPageOut]):
116 * DumpRenderTree/win/DumpRenderTree.cpp:
117 (resetWebViewToConsistentStateBeforeTesting):
118 * DumpRenderTree/win/EventSender.cpp:
119 (textZoomInCallback):
120 (textZoomOutCallback):
121 (zoomPageInCallback):
122 (zoomPageOutCallback):
124 2008-03-24 Dan Bernstein <mitz@apple.com>
126 Reviewed by Mark Rowe.
128 - update bisect-builds for Safari 3.1
130 * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
133 2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
137 http://bugs.webkit.org/show_bug.cgi?id=17981
139 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
143 2008-03-21 Adam Roben <aroben@apple.com>
145 Remove a non-working mirror from cygwin-downloader and add the ruby package
147 * CygwinDownloader/cygwin-downloader.py:
148 * CygwinDownloader/cygwin-downloader.zip: Updated.
150 2008-03-20 Mark Rowe <mrowe@apple.com>
152 Reviewed by Sam Weinig.
154 Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
155 This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
158 * Scripts/build-webkit:
160 2008-03-17 Eric Seidel <eric@webkit.org>
162 Reviewed by Dan Bernstein.
164 Fix bogus argCount check breaking plugin test.
166 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
168 2008-03-17 Eric Seidel <eric@webkit.org>
172 Cleanup PluginObject.cpp and add support for testing
173 converting from int -> identifier -> string
174 and from string -> identifier -> int
175 as well as round-tripping ints and stings through identifiers
177 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
181 (stringVariantToIdentifier):
182 (int32VariantToIdentifier):
183 (doubleVariantToIdentifier):
184 (variantToIdentifier):
185 (testIdentifierToString):
186 (testIdentifierToInt):
189 (removeDefaultMethod):
194 (testGetIntIdentifier):
197 (testGetPropertyReturnValue):
199 (pluginInvokeDefault):
205 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
207 Rubber stamped by Darin.
209 Add set-webkit-configuration support for wx port, and centralize
210 build dir location setting.
212 http://bugs.webkit.org/show_bug.cgi?id=17790
214 * wx/browser/browser.bkl:
217 2008-03-15 Darin Adler <darin@apple.com>
219 * Scripts/commit-log-editor: Include the name line of the change log entry.
220 A long time ago I designed this script to not include the name because I
221 thought it was redundant (same as the name of the person checking in), but
222 nowadays it's more common for someone to check something in done by someone
225 * Scripts/do-webcore-rename: Added some more planned renames and removed
226 some that were already done "by hand".
228 2008-03-13 Brent Fulgham <bfulgham@gmail.com>
232 Correct paths to vsprops files so they use the environment
233 variable, rather than hard-coded path.
234 http://bugs.webkit.org/show_bug.cgi?id=17797.
236 * WinLauncher/WinLauncher.vcproj: Correct paths to vsprops.
238 2008-03-12 Steve Falkenburg <sfalken@apple.com>
242 * WinLauncher/WinLauncher.vcproj:
244 2008-03-12 Holger Hans Peter Freyther <zecke@selfish.org>
246 Reviewed by Alp Toker.
248 Run testkjs in the correct productsDir in the GTK+ port.
250 * Scripts/run-javascriptcore-tests:
252 2008-03-11 Brent Fulgham <bfulgham@gmail.com>
254 Reviewed by Adam Roben.
256 Enabled WinLauncher as part of normal Windows build.
257 http://bugs.webkit.org/show_bug.cgi?id=17715.
259 * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
260 it can find the proper libraries to link against.
262 2008-03-10 Julien Chaffraix <julien.chaffraix@gmail.com>
264 Reviewed and landed by Darin.
266 http://bugs.webkit.org/show_bug.cgi?id=17581
267 Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
269 Remove the previous warning which occurs when the --random option is used.
271 * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
274 2008-03-07 Simon Hausmann <hausmann@webkit.org>
280 Ported the netscape test plugin to QWebPluginFactory.
282 * DumpRenderTree/qt/DumpRenderTree.cpp:
283 (WebCore::WebPage::WebPage):
284 * DumpRenderTree/qt/main.cpp:
285 * DumpRenderTree/qt/testplugin.cpp:
286 (TestPlugin::plugins):
287 (TestPlugin::create):
288 * DumpRenderTree/qt/testplugin.h:
290 2008-03-09 Steve Falkenburg <sfalken@apple.com>
292 Stop Windows build if an error occurs in a prior project.
294 Rubber stamped by Darin.
296 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
297 * DumpRenderTree/win/DumpRenderTree.vcproj:
298 * DumpRenderTree/win/ImageDiff.vcproj:
299 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
301 2008-03-08 Julien Chaffraix <julien.chaffraix@gmail.com>
303 Reviewed by Mark Rowe.
305 DRT build fix for Tiger.
307 * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
309 2008-03-07 Mark Rowe <mrowe@apple.com>
311 Reviewed by Oliver Hunt.
313 Fix WebKit build with GCC 4.2.
315 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
317 2008-03-07 Stephanie Lewis <slewis@apple.com>
321 Add Windows part of <rdar://problem/5693690>
323 * DumpRenderTree/win/DumpRenderTree.cpp:
327 2008-03-07 Alp Toker <alp@atoker.com>
329 Back out the r30818, r30819 build fix attempts now the GTK+ build
330 server has been upgraded.
332 * Scripts/webkitdirs.pm:
334 2008-03-07 Stephanie Lewis <slewis@apple.com>
338 <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
340 * DumpRenderTree/mac/DumpRenderTree.mm:
341 (dump): push EOF to stderr after every test
342 * Scripts/run-webkit-tests: collect stderr output and print it
344 2008-03-07 Steve Falkenburg <sfalken@apple.com>
346 Get pdevenv working with Visual Studio Express.
352 2008-03-06 Adele Peterson <adele@apple.com>
356 Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
358 * DumpRenderTree/mac/UIDelegate.mm:
359 (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
360 (-[UIDelegate webViewUnfocus:]): Added. In Safari, the default is to focus another window if there is one.
361 To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
363 2008-03-06 Matt Lilek <webkit@mattlilek.com>
365 Reviewed by Adam Roben.
367 Bug 17691: REGRESSION: FindSafari doesn't work
368 http://bugs.webkit.org/show_bug.cgi?id=17691
370 Swap my change from r30394 to use the Release libraries instead of Debug
371 since some machines don't have the Debug version.
373 * FindSafari/FindSafari.vcproj:
375 2008-03-06 Kevin McCullough <kmccullough@apple.com>
377 Reviewed by Sam and Tim.
379 <rdar://5631450> Drosera: breakpoint indicators disappear after the
380 script is finished running.
381 - If there is a pre-existing breakpoint on a line when the file is
382 updated we need to redraw it.
384 * Drosera/debugger.js:
386 2008-03-06 Brady Eidson <beidson@apple.com>
390 * DumpRenderTree/mac/WatchdogMac.mm:
392 2008-03-06 Brady Eidson <beidson@apple.com>
396 Added a cross-platform Watchdog thread to DRT.
398 The current watchdog in both DRTWin and DRTMac is Timer based. Therefore, deadlocks and long running
399 main thread hangs still affect DRT.
401 By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
402 and true deadlocks can be caught.
404 There is one hook for platform specific code. As I did my development and testing on Mac, and Mac has
405 `sample` available, the Mac implementation of this hook samples the process before it is killed.
407 I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
409 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
410 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
412 * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
413 * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
415 * DumpRenderTree/Watchdog.cpp: Added.
416 (Watchdog::Watchdog):
417 (Watchdog::~Watchdog):
421 (Watchdog::setWatchdogInterval):
422 (Watchdog::handleHang):
423 (Watchdog::watchdogThreadStart):
424 (Watchdog::watchdogThread):
425 * DumpRenderTree/Watchdog.h: Added.
427 * DumpRenderTree/mac/WatchdogMac.h: Added.
428 * DumpRenderTree/mac/WatchdogMac.mm: Added.
429 (WatchdogMac::handleHang): Sample the process and write it out to a file
431 * DumpRenderTree/mac/DumpRenderTree.mm:
432 (dumpRenderTree): Setup and start the watchdog before running any tests
433 (runTest): Checkin with the watchdog after each test
435 2008-03-05 Alp Toker <alp@atoker.com>
437 Attempt to get the autotools build working again on the bot with
440 Force the use of /bin/bash since we seem to have bash-isms in the
441 configure script right now.
443 * Scripts/webkitdirs.pm:
445 2008-03-05 Alp Toker <alp@atoker.com>
447 Re-attempt to switch to the autotools build system for GTK+.
449 Change scripts to continue when distclean fails.
451 * Scripts/webkitdirs.pm:
453 2008-03-05 Alp Toker <alp@atoker.com>
455 Force qmake for the GTK+ build until we get the build bot to succeed
456 with autotools (currently dies at make distclean)
458 * Scripts/webkitdirs.pm:
460 2008-03-04 Alp Toker <alp@atoker.com>
462 Reviewed by Mark Rowe.
464 Switch the default GTK+ build system from qmake to autotools.
466 qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
468 * Scripts/build-webkit:
469 * Scripts/run-launcher:
470 * Scripts/run-webkit-tests:
471 * Scripts/webkitdirs.pm:
473 2008-03-04 Sam Weinig <sam@webkit.org>
475 Reviewed by Darin Adler.
477 * Scripts/do-webcore-rename: Update renaming plan.
479 2008-03-02 Brent Fulgham <bfulgham@gmail.com>
481 Reviewed by Alp Toker.
483 Remove some needless LIBS.
487 2008-03-02 Alp Toker <alp@atoker.com>
489 Reviewed by Mark Rowe.
491 Split the WebKit GTK+ build out of the WebCore build and change the
492 shared object name to match the package name.
496 2008-03-01 Mark Rowe <mrowe@apple.com>
498 Reviewed by Tim Hatcher.
500 Update Xcode configuration to support building debug and release from the mysterious future.
502 * DumpRenderTree/mac/Configurations/Base.xcconfig:
504 2008-02-29 David Kilzer <ddkilzer@apple.com>
506 Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
510 Originally broken in r26838.
512 * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
513 not local, unused @args variable.
515 2008-02-29 David Kilzer <ddkilzer@apple.com>
517 Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
519 <http://bugs.webkit.org/show_bug.cgi?id=15754>
521 Reviewed by Geoff and Darin.
523 We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
524 then removing that path from all file:/// URLs in the WebArchive output so these tests
525 would pass no matter where they were run.
527 The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
528 current working directory, but the WebArchive does not. This left the current working
529 directory in all file:/// URLs in the test output, and thus all tests failed, for any
530 developer that used symlinks to get to their WebKit source directory.
532 The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
533 remove the current working directory path (no matter what it is) after "file://" but
534 before "/LayoutTests/".
536 * DumpRenderTree/mac/DumpRenderTree.mm:
537 (normalizeWebResourceURL): Removed unused oldURLBase argument. We now replace the
538 current working directory as described above.
539 (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument. Update
540 calls to normalizeWebResourceURL().
541 (serializeWebArchiveToXML): Removed now unused cwdURL variable. Update calls to
542 normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
544 2008-02-26 Robin Dunn <robin@alldunn.com>
546 Reviewed by Kevin Ollivier.
548 Improvements to the wx build script.
550 http://bugs.webkit.org/show_bug.cgi?id=17492
553 - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
554 - Allow the build script to properly find wxPython includes under different setups
555 - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
557 2008-02-26 Timothy Hatcher <timothy@apple.com>
559 Reviewed by Darin Adler.
561 * Scripts/build-webkit: Add --universal and --64-bit flags to make building
562 64-bit architectures easy. Combine the two flags to build 4-way universal.
563 * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
564 non-zero when the build failes.
566 2008-02-26 Jessica Kahn <jess@apple.com>
570 * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
571 so that Safari inherits it when launched. Preexisting code in WebKit checks this
572 environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
573 launched by Safari continue to use the standard system WebKit.
575 2008-02-25 Adam Roben <aroben@apple.com>
577 Fix run-webkit-tests after r30394
579 * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
582 2008-02-24 Darin Adler <darin@apple.com>
584 * Scripts/do-webcore-rename: Make some updates based on a trial run of
587 2008-02-24 Darin Adler <darin@apple.com>
589 * Scripts/do-webcore-rename: More renaming plans.
591 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
593 Rubber stamped by Darin.
595 Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
596 whitespaces introduced in the previous commit.
600 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
602 Rubber-stamped by Darin.
604 * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
606 2008-02-23 David Kilzer <ddkilzer@apple.com>
608 Please clarify licensing for some files
609 <http://bugs.webkit.org/show_bug.cgi?id=14970>
613 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
614 copyright statement. Replaced license with newer Apple BSD-style license.
615 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
616 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
617 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
618 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
619 * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
620 * mangleme/LICENSE: Added (LGPL).
622 2008-02-22 Anders Carlsson <andersca@apple.com>
626 <rdar://problem/5748781>
627 https://bugs.webkit.org/show_bug.cgi?id=17413
628 REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
630 Copy the Java plug-in over to the new location.
632 * FindSafari/FindSafari.cpp:
635 2008-02-22 Anders Carlsson <andersca@apple.com>
639 <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
641 * DumpRenderTree/win/DumpRenderTree.cpp:
643 Init the URL request with the correct timeout.
645 2008-02-21 Mike Auty <mike.auty@gmail.com>
647 Reviewed by Alp Toker.
649 http://bugs.webkit.org/show_bug.cgi?id=17445
650 [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
652 GTK+/autotools build system improvements
654 The GNUmakefile.am files make use of the LDFLAGS variable to include library
655 additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made
656 in LIBADD/LDADD variables, then they are mis-ordered during the linking.
658 The as-needed flag discards libraries whose functions have not been needed by
659 earlier libraries, which therefore makes the ordering important.
661 This moves all -l library inclusion statements from LDFLAGS variables to
662 LIBADD/LDADD variables.
666 2008-02-20 Brent Fulgham <bfulgham@gmail.com>
670 - http://bugs.webkit.org/show_bug.cgi?id=17428
671 Reenable a Windows-based launcher
673 This patch reenables the venerable Spinneret application,
674 changing its name to match the other lanch applications.
676 * WinLauncher: Added.
677 * WinLauncher/WinLauncher.cpp: Added.
678 (WinLauncherWebHost::updateAddressBar):
679 (WinLauncherWebHost::QueryInterface):
680 (WinLauncherWebHost::AddRef):
681 (WinLauncherWebHost::Release):
690 * WinLauncher/WinLauncher.h: Added.
691 (WinLauncherWebHost::WinLauncherWebHost):
692 (WinLauncherWebHost::didStartProvisionalLoadForFrame):
693 (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
694 (WinLauncherWebHost::didFailProvisionalLoadWithError):
695 (WinLauncherWebHost::didCommitLoadForFrame):
696 (WinLauncherWebHost::didReceiveTitle):
697 (WinLauncherWebHost::didReceiveIcon):
698 (WinLauncherWebHost::didFinishLoadForFrame):
699 (WinLauncherWebHost::didFailLoadWithError):
700 (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
701 (WinLauncherWebHost::willPerformClientRedirectToURL):
702 (WinLauncherWebHost::didCancelClientRedirectForFrame):
703 (WinLauncherWebHost::willCloseFrame):
704 (WinLauncherWebHost::windowScriptObjectAvailable):
705 * WinLauncher/WinLauncher.ico: Added.
706 * WinLauncher/WinLauncher.rc: Added.
707 * WinLauncher/WinLauncher.vcproj: Added.
708 * WinLauncher/resource.h: Added.
709 * WinLauncher/small.ico: Added.
710 * WinLauncher/stdafx.cpp: Added.
711 * WinLauncher/stdafx.h: Added.
713 2008-02-19 Brady Eidson <beidson@apple.com>
717 Fixed a bug in DRT --threaded mode
719 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
720 (startJavaScriptThreads): Don't detach the newly created thread. The later call to stopJavaScriptThreads() tries
721 to pthread_join() each thread that had been created, but you can't join a detached thread!
723 2008-02-18 Brady Eidson <beidson@apple.com>
725 Changes by Geoff Garen, Reviewed by Darin
727 Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
729 DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
731 [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
732 This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread. If the lock has leaked,
733 this series of method calls will deadlock. If things are good, it will complete successfully.
735 * DumpRenderTree/mac/ObjCController.m:
736 (runJavaScriptThread):
737 (+[ObjCController isSelectorExcludedFromWebScript:]):
738 (+[ObjCController webScriptNameForSelector:]):
739 (-[ObjCController testValueForKey]):
741 2008-02-18 Matt Lilek <webkit@mattlilek.com>
745 Remove FindSafari's Release configuration.
747 * FindSafari/FindSafari.vcproj:
749 2008-02-15 Adam Roben <aroben@apple.com>
751 Fix a typo that broke the Mac build
755 * Scripts/build-webkit:
757 2008-02-14 Adam Roben <aroben@apple.com>
759 Turn on cross-document messaging support by default
763 * Scripts/build-webkit:
765 2008-02-14 Adam Roben <aroben@apple.com>
767 Conditionalize cross-document messaging support
769 The cross-document messaging parts of HTML 5 are in flux and we want
770 ports to be able to turn off the support as needed.
772 Note that the support is turned off by default right now. A subsequent
773 commit will turn it on by default.
777 * Scripts/build-webkit:
779 2008-02-14 Darin Adler <darin@apple.com>
783 * DumpRenderTree/win/UIDelegate.cpp:
784 (UIDelegate::setStatusText): Update parameter types to match declaration.
786 2008-02-14 Oliver Hunt <oliver@apple.com>
788 Reviewed by Geoff G and Weinig.
790 Add ability for DRT to report tests setting the status text.
792 * DumpRenderTree/LayoutTestController.cpp:
793 (LayoutTestController::LayoutTestController):
794 (dumpStatusCallbacksCallback):
795 (LayoutTestController::staticFunctions):
796 * DumpRenderTree/LayoutTestController.h:
797 * DumpRenderTree/mac/UIDelegate.mm:
798 (-[UIDelegate webView:setStatusText:]):
799 * DumpRenderTree/win/UIDelegate.cpp:
800 * DumpRenderTree/win/UIDelegate.h:
802 2008-02-13 Adam Roben <aroben@apple.com>
806 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
808 2008-02-13 Adam Roben <aroben@apple.com>
810 Windows/GTK+ build fix
812 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
815 2008-02-13 Brady Eidson <beidson@apple.com>
817 Reviewed by Darin Adler
819 Add some much needed Database support to DRT
821 * DumpRenderTree/LayoutTestController.cpp:
822 (LayoutTestController::LayoutTestController):
823 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
825 (clearAllDatabasesCallback): Allow a test to delete all databases
826 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
827 (LayoutTestController::staticFunctions):
829 * DumpRenderTree/LayoutTestController.h:
830 (LayoutTestController::dumpDatabaseCallbacks):
831 (LayoutTestController::setDumpDatabaseCallbacks):
833 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
834 (LayoutTestController::clearAllDatabases):
835 (LayoutTestController::setDatabaseQuota):
837 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
838 (LayoutTestController::clearAllDatabases): Stubbed out
839 (LayoutTestController::setDatabaseQuota): Ditto
840 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
841 (LayoutTestController::clearAllDatabases): Stubbed out with error message
842 (LayoutTestController::setDatabaseQuota): Ditto
844 * DumpRenderTree/mac/UIDelegate.mm:
845 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
846 message with details about the event then return a 5mb quota like before
849 2008-02-12 Steve Falkenburg <sfalken@apple.com>
851 Changes to support merged MIDL output.
853 All COM interfaces are now generated to WebKit.h.
855 Reviewed by Sam, Ada.
857 * Drosera/win/BaseDelegate.h:
858 * Drosera/win/DebuggerClient.cpp:
859 * Drosera/win/DebuggerDocumentPlatform.cpp:
860 * Drosera/win/Drosera.cpp:
861 * Drosera/win/ServerConnection.cpp:
862 * Drosera/win/ServerConnection.h:
863 * DumpRenderTree/win/DumpRenderTree.cpp:
864 * DumpRenderTree/win/EditingDelegate.h:
865 * DumpRenderTree/win/EventSender.cpp:
866 * DumpRenderTree/win/FrameLoadDelegate.cpp:
867 * DumpRenderTree/win/FrameLoadDelegate.h:
868 * DumpRenderTree/win/GCControllerWin.cpp:
869 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
870 * DumpRenderTree/win/PolicyDelegate.h:
871 * DumpRenderTree/win/ResourceLoadDelegate.h:
872 * DumpRenderTree/win/UIDelegate.cpp:
873 * DumpRenderTree/win/UIDelegate.h:
874 * DumpRenderTree/win/WorkQueueItemWin.cpp:
876 2008-02-10 Dan Bernstein <mitz@apple.com>
878 Reviewed by Oliver Hunt.
882 * DumpRenderTree/cg/ImageDiffCG.cpp:
883 (getDifferenceBitmap): Use a static CFMutableData instead of allocating
884 and leaking the buffer each time.
886 2008-02-07 Adam Roben <aroben@apple.com>
888 Fix error in bisect-builds when responding "broken" for the first
891 Reviewed by Dave Kilzer.
893 * Scripts/bisect-builds: Only try to test the build if the nightly
894 info for the current index has not been deleted.
896 2008-02-07 Geoffrey Garen <ggaren@apple.com>
898 Reviewed by Alexey Proskuryakov.
900 Fixed two minor typos in the --root option, to get it working.
902 * Scripts/run-sunspider:
903 1. Actually assign the function argument to our local variable.
904 2. Actually set the $root variable, so we don't try to build later.
906 2008-02-05 Oliver Hunt <oliver@apple.com>
910 Re-enable foreignObject by default as it is needed for a number of non-fO
911 related SVG tests and none of the old known crashes occur anymore.
913 * Scripts/build-webkit:
915 2008-02-05 Steve Falkenburg <sfalken@apple.com>
917 Build fix. Don't override intermediate directory.
919 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
921 2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
923 Build fix for Windows. willCloseFrame is a pure virtual and we are
924 forced to have an implementation.
926 This partially reverts r30014.
928 * DumpRenderTree/win/FrameLoadDelegate.cpp:
929 (FrameLoadDelegate::willCloseFrame):
930 * DumpRenderTree/win/FrameLoadDelegate.h:
932 2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
936 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
938 * Scripts/make-js-test-wrappers:
940 2008-02-05 Holger Freyther <zecke@selfish.org>
944 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
945 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
946 depends on the order the tests are executed.
948 Propose to remove willCloseFrame and didlCearWindowObject output from the
949 FrameLoadDelegate and update the test results. The output of didClearWindowObject
950 is not interesting for any of the current tests and we have other ways to find
951 out if a frame was closed or not.
953 * DumpRenderTree/mac/FrameLoadDelegate.mm:
954 * DumpRenderTree/win/FrameLoadDelegate.cpp:
955 (FrameLoadDelegate::didClearWindowObject):
956 * DumpRenderTree/win/FrameLoadDelegate.h:
958 2008-02-04 Mark Rowe <mrowe@apple.com>
960 Reviewed by Oliver Hunt.
962 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
963 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
965 Don't install the signal handler unless we are running the pixel tests.
966 It is currently only used to restore the color profile, but by catching
967 signals we can trigger a deadlock in DRT while running leak tests.
968 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
969 and a more complete fix will need to be developed to address this for
972 * DumpRenderTree/mac/DumpRenderTree.mm:
975 2008-02-04 Mark Rowe <mrowe@apple.com>
979 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
981 2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
983 Reviewed by Alp Toker and Mark Rowe.
985 http://bugs.webkit.org/show_bug.cgi?id=16618
986 [GTK] build-webkit and run-webkit-tests autootools support
988 * Scripts/build-webkit: added --database and --icon-database options
989 * Scripts/run-launcher:
990 * Scripts/run-webkit-tests:
991 * Scripts/webkitdirs.pm:
993 2008-02-04 Oliver Hunt <oliver@apple.com>
997 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
999 Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
1001 * Uses Sleep() to implement leapForward reliably.
1002 * 3 DND tests still fail for reasons that i have not yet determined
1003 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
1005 * DumpRenderTree/win/EventSender.cpp:
1006 (leapForwardCallback):
1007 (mouseDownCallback):
1011 (mouseMoveToCallback):
1012 Minor updates to these functions to handle the different message queue structure.
1014 (replaySavedEvents):
1015 More complicated now. Where possible we just use the old while-loop model of execution,
1016 but when leapForward has been used we have to jump through some hoops and set up an
1017 inner event loop so that we can ensure messages get the correct time stamp.
1019 * DumpRenderTree/win/UIDelegate.cpp:
1020 (UIDelegate::doDragDrop):
1021 Call replaySavedEvents directly to force synchronous handling of drag and drop.
1023 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
1025 Reviewed by Alp Toker and Mark Rowe.
1027 Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
1028 Bug 17175: Use of C++ compiler flags in CFLAGS
1030 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
1032 2008-02-04 Darin Adler <darin@apple.com>
1036 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
1037 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
1040 2008-02-04 Adam Roben <aroben@apple.com>
1042 Windows Apple-only build fix
1044 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
1047 2008-02-04 Alp Toker <alp@atoker.com>
1049 Rubber-stamped by Mark Rowe.
1051 Remove all trailing whitespace in the GTK+ port and related
1054 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1055 * DumpRenderTree/gtk/GCControllerGtk.cpp:
1056 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1059 2008-02-01 Eric Seidel <eric@webkit.org>
1063 Also search LayoutTests/svg for js-based tests.
1065 * Scripts/make-js-test-wrappers:
1067 2008-01-31 Alp Toker <alp@atoker.com>
1069 Rubber-stamped by Adam Roben.
1071 http://bugs.webkit.org/show_bug.cgi?id=17006
1072 [GTK] Header path should be webkit/webkit.h
1074 Move the GTK+ API sources as needed and update the build systems.
1076 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1077 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1078 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1080 * GtkLauncher/main.c:
1082 2008-01-30 Stephanie <slewis@apple.com>
1086 Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth. This should make it easier for the buildbots to track new leaks.
1088 * Scripts/run-webkit-tests:
1090 2008-01-30 Alexey Proskuryakov <ap@webkit.org>
1092 Reviewed by Adam Roben.
1094 One more debug (external) fix.
1096 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
1097 and Debug configurations.
1099 2008-01-29 Geoffrey Garen <ggaren@apple.com>
1101 Reviewed by Sam Weinig. Sam Weinig.
1103 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
1104 fails when run after fast/dom/Window/window-property-shadowing.html (16902)
1106 Modified our policy delegates not to output window.name. Since a
1107 previous test may have explicitly set window.name, we can't rely on its
1108 implicit value in test results.
1110 * DumpRenderTree/mac/PolicyDelegate.mm:
1111 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1113 * DumpRenderTree/win/PolicyDelegate.cpp:
1114 (PolicyDelegate::decidePolicyForNavigationAction):
1116 2008-01-29 Mark Rowe <mrowe@apple.com>
1118 Reviewed by Tim Hatcher.
1120 <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct).
1122 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
1124 2008-01-29 David Kilzer <ddkilzer@apple.com>
1126 Refactor ChangeLog path code
1130 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
1131 duplicate code in another foreach() loop.
1133 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
1137 <rdar://problem/5710692> All storage tests fail/crash
1139 * DumpRenderTree/mac/UIDelegate.mm:
1140 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
1141 arbitrary quota of 5 megabytes.
1143 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1144 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
1145 Removed unused (I think) code.
1147 * DumpRenderTree/win/UIDelegate.cpp:
1148 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
1149 (UIDelegate::webViewPainted): A stub implementation.
1150 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
1151 * DumpRenderTree/win/UIDelegate.h:
1153 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1155 GTK+ DRT build fix for breakage introduced in r29822.
1157 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1158 (LayoutTestController::setPersistentUserStyleSheetLocation):
1159 (LayoutTestController::clearPersistentUserStyleSheet):
1161 2008-01-27 Dan Bernstein <mitz@apple.com>
1163 Reviewed by Darin Adler.
1165 - add support for directory prologues and epilogues to run-webkit-tests
1166 - allow setting a persistent user style sheet in DumpRenderTree
1167 - activate the WebKit Layout Tests font in Windows DumpRenderTree
1169 * DumpRenderTree/LayoutTestController.cpp:
1170 (clearPersistentUserStyleSheetCallback): Added.
1171 (setPersistentUserStyleSheetLocationCallback): Added.
1172 (LayoutTestController::staticFunctions): Added.
1173 clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
1174 * DumpRenderTree/LayoutTestController.h:
1175 * DumpRenderTree/mac/DumpRenderTree.mm:
1176 (setPersistentUserStyleSheetLocation): Added.
1177 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
1178 to the set of things this function resets. Now it either disables the
1179 user style sheet or sets it to the persistent user style sheet and
1181 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1182 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1183 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
1184 (LayoutTestController::clearPersistentUserStyleSheet): Added.
1185 * DumpRenderTree/win/DumpRenderTree.cpp:
1186 (setPersistentUserStyleSheetLocation): Added.
1187 (initialize): Added the WebKit Layout Tests font to the set of fonts to
1189 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
1190 * DumpRenderTree/win/DumpRenderTreeWin.h:
1191 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1192 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
1193 (LayoutTestController::clearPersistentUserStyleSheet): Added.
1194 * Scripts/run-webkit-tests: Changed to look for, and if found process in
1195 DumpRenderTree, files named run-webkit-tests-prologue.html and
1196 run-webkit-tests-epilogue.html in the resources subdirectory of any
1197 test directory and platform test results directory. The prologues are
1198 processed before the first test from the directory (and its
1199 subdirectories) is run, and the epilogues are processed after the last
1200 test from the directory is run. Platform-specific prologues and
1201 epilogues are processed in order of specificity.
1203 2008-01-25 Alexey Proskuryakov <ap@webkit.org>
1205 Reviewed by Mark Rowe.
1207 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
1209 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
1211 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
1213 2008-01-24 Sam Weinig <sam@webkit.org>
1215 Reviewed by Ada Chan.
1217 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
1219 - Adds simplified UndoManager to windows DRT to allow testing the
1220 undo/redo code paths in WebCore and WebKit. This is a temporary
1221 solution to an issue that should eventually be solved by having a
1222 shared UndoManager in WebKit.
1224 * DumpRenderTree/win/DumpRenderTree.cpp:
1226 * DumpRenderTree/win/UIDelegate.cpp:
1227 (DRTUndoObject::DRTUndoObject):
1228 (DRTUndoObject::invoke):
1229 (DRTUndoStack::~DRTUndoStack):
1230 (DRTUndoStack::isEmpty):
1231 (DRTUndoStack::clear):
1232 (DRTUndoStack::push):
1233 (DRTUndoStack::pop):
1234 (DRTUndoManager::canRedo):
1235 (DRTUndoManager::canUndo):
1236 (DRTUndoManager::DRTUndoManager):
1237 (DRTUndoManager::removeAllActions):
1238 (DRTUndoManager::registerUndoWithTarget):
1239 (DRTUndoManager::redo):
1240 (DRTUndoManager::undo):
1241 (UIDelegate::UIDelegate):
1242 (UIDelegate::resetUndoManager):
1243 (UIDelegate::registerUndoWithTarget):
1244 (UIDelegate::removeAllActionsWithTarget):
1245 (UIDelegate::setActionTitle):
1248 (UIDelegate::canUndo):
1249 (UIDelegate::canRedo):
1250 * DumpRenderTree/win/UIDelegate.h:
1252 2008-01-23 Adam Roben <aroben@apple.com>
1254 Allow directories containing ChangeLogs to be passed to
1257 Reviewed by David Kilzer.
1259 * Scripts/resolve-ChangeLogs:
1260 (sub findChangeLog): Return a ChangeLog contained within the specified
1261 directory if one exists.
1263 2008-01-23 Steve Falkenburg <sfalken@apple.com>
1265 <rdar://problem/5698732> Copyright strings should include 2008
1269 * Drosera/win/Drosera.vcproj/Drosera.rc:
1270 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
1272 2008-01-23 Alp Toker <alp@atoker.com>
1274 Rubber-stamped by Mark Rowe.
1276 Remove whitespace after -I in automake include lists.
1280 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
1282 Reviewed by Lars Knoll <lars@trolltech.com>.
1284 Reworked the JavaScriptCore Qt bindings:
1286 * Update JS DRT controller for Qt JS binding changes.
1287 There were two functions that needed some changes
1288 so that the layout tests would work, so this makes
1289 a few tests pass again.
1291 * Bump the timeout for layout tests up to 11s.
1292 At least some tests have an internal timeout of
1293 10 seconds, so make the waitUntilDone approach
1294 wait at least 11s. fast/dom/open-and-close-by-DOM.html
1295 is one of these - now the failure message is more
1299 * DumpRenderTree/qt/jsobjects.cpp:
1300 (LayoutTestController::waitUntilDone):
1301 * DumpRenderTree/qt/jsobjects.h:
1303 2008-01-22 Anders Carlsson <andersca@apple.com>
1305 Reviewed by Darin and Adam.
1307 <rdar://problem/5688975>
1308 div element on microsoft site has wrong left offset.
1310 Add new method for testing the return vale of NPN_GetProperty.
1312 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1315 2008-01-22 Alexey Proskuryakov <ap@webkit.org>
1317 Reviewed by Adam Roben.
1319 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
1321 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
1323 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1325 Reviewed by Alp Toker.
1327 http://bugs.webkit.org/show_bug.cgi?id=16955
1328 Get errors when cross-compile webkit-gtk
1330 * GNUmakefile.am: Removed ICU_CFLAGS
1332 2008-01-21 Darin Adler <darin@apple.com>
1334 Reviewed by Mitz and Adam.
1336 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
1337 sorting speed by doing all sort criteria in a single pass instead of three sorts.
1339 2008-01-21 Simon Hausmann <hausmann@webkit.org>
1343 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
1345 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
1346 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
1347 and make the return value depend on whether we successfully determined a focusable
1349 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
1350 if we could not handle the focus chain ourselves.
1351 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
1352 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
1353 used to control the situation of stepping out of the focus chain inside the page.
1354 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
1355 The layout tests expect this to be disabled but for the user it seems sensible to have it
1356 on by default, hence the default in qwebsettings.cpp
1359 * DumpRenderTree/qt/DumpRenderTree.cpp:
1360 (WebCore::WebPage::WebPage):
1362 2008-01-19 Mark Rowe <mrowe@apple.com>
1364 Reviewed by Alp Toker.
1366 Allow the --http flag to run-webkit-tests to override
1367 the default behaviour of disabling HTTP tests for Qt,
1370 * Scripts/run-webkit-tests:
1372 2008-01-19 David Kilzer <ddkilzer@apple.com>
1374 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
1378 We now touch a check-for-global-initializers.timestamp file in
1379 the TARGET_TEMP_DIR directory to determine when new object files
1380 have been compiled and thus need to be checked. If the timestamp
1381 file doesn't exist, all object files will be checked.
1383 Previously the modification time of the "executable" (the
1384 framework binary, e.g., WebKit.framework/WebKit) was used, but
1385 since this was the last file modified at the end of the compile
1386 phase, no object files would ever get checked!
1388 Also added JSCustomSQLTransactionCallback.o to the list of files
1389 since it has static initializers in Debug builds of WebCore.
1391 * Scripts/check-for-global-initializers:
1393 2008-01-18 Adam Roben <aroben@apple.com>
1397 * Scripts/build-webkit:
1399 2008-01-18 Beth Dakin <bdakin@apple.com>
1403 Update build-webkit to account for foreign-object being disabled by
1406 * Scripts/build-webkit:
1408 2008-01-18 Adam Roben <aroben@apple.com>
1410 Updated for method renames
1414 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1415 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1416 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1417 (LayoutTestController::setMainFrameIsFirstResponder):
1418 (LayoutTestController::setWindowIsKey):
1419 * DumpRenderTree/mac/UIDelegate.mm:
1420 (-[UIDelegate webViewFocus:]):
1421 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1422 (FrameLoadDelegate::didCommitLoadForFrame):
1424 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
1426 Reviewed by Adam Roben.
1428 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
1429 between DRT and TestNetscapePlugin.
1431 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
1432 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
1434 2008-01-18 Simon Hausmann <hausmann@webkit.org>
1438 Fix fast/dom/Window/window-resize.html
1440 In DRT connect the page's geometryChangeRequest signal to a slot that
1441 sets the geometry of the view widget.
1444 * DumpRenderTree/qt/DumpRenderTree.cpp:
1445 (WebCore::WebPage::setViewGeometry):
1446 (WebCore::WebPage::WebPage):
1448 2008-01-17 Steve Falkenburg <sfalken@apple.com>
1452 * Drosera/DroseraWin.make:
1454 2008-01-17 Darin Adler <darin@apple.com>
1456 * Scripts/run-webkit-tests: Fixed a bug number.
1458 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
1460 Reviewed by Adam Roben.
1462 http://bugs.webkit.org/show_bug.cgi?id=16908
1463 run-webkit-tests complains about missing FindSafari.exe
1465 * Scripts/webkitdirs.pm: Append _debug as appropriate.
1467 2008-01-17 Steve Falkenburg <sfalken@apple.com>
1469 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
1471 Rubber-stamped by Jon Honeycutt.
1473 * DumpRenderTree/win/DumpRenderTree.vcproj:
1475 2008-01-16 Alp Toker <alp@atoker.com>
1477 Reviewed by Mark Rowe.
1479 http://bugs.webkit.org/show_bug.cgi?id=16218
1480 [GTK] API: Should this entry point be called go_back rather than go_backward?
1482 Track back/forward API changes in the tools.
1484 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1485 (BackForwardItem::invoke):
1486 * GtkLauncher/main.c:
1489 2008-01-16 Adam Roben <aroben@apple.com>
1491 Windows build fix after r29488
1493 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1494 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
1495 expects to find the plugin.
1497 2008-01-11 Geoffrey Garen <ggaren@apple.com>
1499 Reviewed by Sam Weinig.
1501 Fixed the waitUntilDone watchdog timer -- the old code never added the
1502 timer to the run loop, so it didn't do anything.
1504 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1505 (LayoutTestController::setWaitToDump):
1506 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1507 (LayoutTestController::setWaitToDump):
1509 2008-01-14 Steve Falkenburg <sfalken@apple.com>
1511 Use shared vsprops for most vcproj properties.
1515 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1516 * DumpRenderTree/win/DumpRenderTree.vcproj:
1517 * DumpRenderTree/win/ImageDiff.vcproj:
1518 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1519 * FindSafari/FindSafari.vcproj:
1521 2008-01-14 Stephanie <slewis@apple.com>
1525 revert accidental character.
1527 * Scripts/run-webkit-tests:
1529 2008-01-14 Stephanie <slewis@apple.com>
1533 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
1535 * Scripts/run-webkit-tests:
1537 2008-01-14 Darin Adler <darin@apple.com>
1539 * Scripts/do-webcore-rename: Queue up another rename.
1541 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1545 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
1547 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
1549 * Scripts/run-webkit-tests:
1551 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1555 * Randomize tests array to spot test cases where the results depends on the order
1557 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
1559 * Scripts/run-webkit-tests:
1561 2008-01-14 Darin Adler <darin@apple.com>
1563 * Scripts/run-webkit-tests: More ignore list tweaking.
1565 2008-01-14 Darin Adler <darin@apple.com>
1567 * Scripts/run-webkit-tests: Add another leak to the ignore list.
1569 2008-01-14 Dan Bernstein <mitz@apple.com>
1571 Reviewed by Adam Roben.
1573 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
1576 * DumpRenderTree/win/DumpRenderTree.cpp:
1577 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
1579 2008-01-13 Steve Falkenburg <sfalken@apple.com>
1581 Share common files across projects.
1584 Debug: common.vsprops, debug.vsprops
1585 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
1586 Release: common.vsprops, release.vsprops
1588 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
1589 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
1591 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
1593 Reviewed by Adam Roben.
1595 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1596 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
1597 * Drosera/win/Drosera.vcproj/VERSION: Removed.
1598 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
1599 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
1600 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
1601 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
1602 * DumpRenderTree/win/DumpRenderTree.vcproj:
1603 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1604 * DumpRenderTree/win/debug.vsprops: Removed.
1605 * DumpRenderTree/win/debug_internal.vsprops: Removed.
1606 * DumpRenderTree/win/release.vsprops: Removed.
1608 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
1612 - http://bugs.webkit.org/show_bug.cgi?id=16314
1613 Script to launch Drosera
1615 * Scripts/gdb-drosera: Added.
1616 * Scripts/run-drosera: Added.
1617 * Scripts/run-drosera-nightly.cmd: Added.
1618 * Scripts/webkitdirs.pm: Added runDrosera function.
1620 2008-01-13 Dan Bernstein <mitz@apple.com>
1622 - fix breakage due to last-minute change
1624 * DumpRenderTree/win/DumpRenderTree.cpp:
1625 (runTest): Declare the loop variable.
1627 2008-01-13 Dan Bernstein <mitz@apple.com>
1629 Reviewed by Adam Roben.
1631 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
1633 * DumpRenderTree/win/DumpRenderTree.cpp:
1634 (DumpRenderTreeWndProc):
1636 (dumpBackForwardList):
1637 (dumpBackForwardListForAllWindows):
1639 (resetWebViewToConsistentStateBeforeTesting): Factored out of
1642 (allWindows): Added. Returns a vector of all open windows.
1643 (windowToWebViewMap): Added. Returns a map from open windows to their
1645 (createWebViewAndOffscreenWindow): Factored out of main() to be
1646 reusable for creating extra windows.
1648 * DumpRenderTree/win/DumpRenderTreeWin.h:
1649 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1650 (LayoutTestController::windowCount): Implemented.
1651 * DumpRenderTree/win/UIDelegate.cpp:
1652 (UIDelegate::createWebViewWithRequest): Implemented.
1653 (UIDelegate::webViewClose): Implemented.
1654 * DumpRenderTree/win/UIDelegate.h:
1656 2008-01-12 Alp Toker <alp@atoker.com>
1658 Reviewed by Mark Rowe.
1660 Hide non-public symbols in GTK+/autotools release builds.
1664 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1668 * Make launching of the WebKit httpd work on GNU/Debian/Linux
1670 The configuration of Apache2 and installation does not depend on
1671 the kernel but on the distribution policy. Make launching of httpd
1672 work for Debian derived distributions.
1674 * Scripts/run-webkit-httpd:
1675 * Scripts/run-webkit-tests:
1676 * Scripts/webkitdirs.pm:
1678 2008-01-12 Mark Rowe <mrowe@apple.com>
1680 Reviewed by Maciej Stachowiak.
1682 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
1684 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
1685 match the callers expectations that it can take ownership of the string.
1687 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
1689 Reviewed by Adam Roben.
1691 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
1693 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
1694 as these are only posted because the test window is not a normal visible one, and
1695 they confuse drag&drop machinery.
1697 2008-01-11 Adam Roben <aroben@apple.com>
1699 Fix a crash when pathToLocalResource fails and a leak
1703 * DumpRenderTree/LayoutTestController.cpp:
1704 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
1705 sure not to pass null to JSValueMakeString.
1706 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1707 (LayoutTestController::pathToLocalResource): Print an error message if
1708 the conversion fails so it's clear what happened.
1710 2008-01-11 Geoffrey Garen <ggaren@apple.com>
1712 Reviewed by John Sullivan.
1714 * DumpRenderTree/mac/GCControllerMac.mm:
1715 (GCController::collectOnAlternateThread): Updated for name change.
1717 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
1719 wx build fix. Don't build dftables any longer since it's now a Perl
1722 * wx/build-wxwebkit:
1724 2008-01-10 Sam Weinig <sam@webkit.org>
1726 Reviewed by Anders Carlsson.
1728 Make DRT track open windows instead of allocated windows so that
1729 we can avoid ASSERTION due to late deallocs out of our control.
1731 * DumpRenderTree/mac/DumpRenderTree.mm:
1732 (dumpBackForwardListForAllWindows):
1734 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1735 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
1736 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
1737 (+[DumpRenderTreeWindow openWindows]):
1738 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
1739 (-[DumpRenderTreeWindow close]):
1740 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1741 (LayoutTestController::windowCount):
1743 2008-01-10 Ada Chan <adachan@apple.com>
1745 Meta key is not the same as Alt key on windows.
1749 * DumpRenderTree/win/EventSender.cpp:
1752 2008-01-09 Kevin McCullough <kmccullough@apple.com>
1754 Reviewed by Darin, Sam and Adam.
1756 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
1757 link in gmail message displays JavaScript alert falsely complaining
1758 about pop-up blocking.
1759 - Added the ability to enable the pop-up blocker via the
1760 LayoutTestController.
1762 * DumpRenderTree/LayoutTestController.cpp:
1763 (setPopupBlockingEnabledCallback):
1764 (LayoutTestController::staticFunctions):
1765 * DumpRenderTree/LayoutTestController.h:
1766 * DumpRenderTree/mac/DumpRenderTree.mm:
1767 (setDefaultsToConsistentValuesForTesting):
1768 (resetWebViewToConsistentStateBeforeTesting):
1769 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1770 (LayoutTestController::setPopupBlockingEnabled):
1772 2008-01-10 Lars Knoll <lars@trolltech.com>
1776 rename QWebPageHistory to QWebHistory.
1779 * DumpRenderTree/qt/jsobjects.cpp:
1781 2008-01-09 Maciej Stachowiak <mjs@apple.com>
1785 - add some more renames, adjust some
1787 * Scripts/do-webcore-rename:
1789 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
1793 Enable SVG Fonts support by default.
1795 * Scripts/build-webkit:
1797 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
1801 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
1802 DRT doesn't handle platform specific pixel test results correctly.
1804 <test>-expected.txt files and <test>-expected.png files may now live
1805 in different directories (ie. a cross-platform <test>-expected.txt file
1806 and a platform-specific <test>-expected.png file).
1808 * Scripts/run-webkit-tests:
1810 2008-01-04 Kevin McCullough <kmccullough@apple.com>
1814 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
1815 DRT did not correctly handle printing the '\0' char. Now it does.
1817 * DumpRenderTree/win/DumpRenderTree.cpp:
1821 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1825 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1828 * DumpRenderTree/qt/main.cpp:
1829 * DumpRenderTree/qt/testplugin.cpp:
1830 * DumpRenderTree/qt/testplugin.h:
1832 2008-01-05 Mark Rowe <mrowe@apple.com>
1834 Reviewed by Alp Toker.
1836 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
1838 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1839 (processWork): Process pending work.
1840 (webViewLoadFinished): Schedule processing of pending work.
1841 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
1843 2008-01-05 Darin Adler <darin@apple.com>
1845 * Scripts/do-webcore-rename: Some more renaming plans.
1847 2008-01-04 Alice Liu <alice.liu@apple.com>
1849 Reviewed by Alexey and Darin.
1851 Adding "home" and "end" to DRT's keydown since
1852 DOM key events can't handle keyIdentifiers at this point.
1854 * DumpRenderTree/mac/EventSendingController.mm:
1855 (-[EventSendingController keyDown:withModifiers:]):
1856 * DumpRenderTree/win/EventSender.cpp:
1859 2008-01-04 Lars Knoll <lars@trolltech.com>
1863 fix DRT after the changes to QWebPage.
1865 The great thing is that we actually don't have
1866 any regressions from the QWebPage change :)
1869 * DumpRenderTree/qt/DumpRenderTree.cpp:
1870 (WebCore::DumpRenderTree::DumpRenderTree):
1872 2008-01-04 Lars Knoll <lars@trolltech.com>
1876 make QWebPage a QObject and get things to compile.
1878 Nothing works currently though.
1881 * DumpRenderTree/qt/DumpRenderTree.cpp:
1882 (WebCore::DumpRenderTree::DumpRenderTree):
1884 2008-01-04 Lars Knoll <lars@trolltech.com>
1888 take a QString as identifier in QWebFrame::addToJSWindowObject.
1890 * DumpRenderTree/qt/DumpRenderTree.cpp:
1891 (WebCore::DumpRenderTree::initJSObjects):
1893 2008-01-04 Alp Toker <alp@atoker.com>
1895 GTK+ DRT build fix for breakage introduced in r29149.
1897 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1898 (LayoutTestController::execCommand):
1900 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
1904 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
1906 Added layoutTestController.execCommand to access editor commands that are not available
1907 via document.execCommand.
1909 * DumpRenderTree/LayoutTestController.cpp:
1910 (execCommandCallback):
1911 (LayoutTestController::staticFunctions):
1912 * DumpRenderTree/LayoutTestController.h:
1913 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1914 (LayoutTestController::execCommand):
1915 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1916 (LayoutTestController::queueLoad):
1917 (LayoutTestController::execCommand):
1919 2008-01-03 Alice Liu <alice.liu@apple.com>
1921 Reviewed by Darin, Mitz.
1923 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
1925 the clickcount should not increase if the last click was at a different location. it's a new click.
1927 * DumpRenderTree/mac/DumpRenderTree.mm:
1929 * DumpRenderTree/mac/EventSendingController.h:
1930 * DumpRenderTree/mac/EventSendingController.mm:
1931 (-[EventSendingController mouseDown]):
1932 (-[EventSendingController mouseUp]):
1934 2008-01-03 Darin Adler <darin@apple.com>
1938 * Scripts/update-webkit: Make this work a little better for the people at Apple
1939 who have a directory named Internal.
1941 2008-01-03 Adam Roben <aroben@apple.com>
1943 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
1945 Rubberstamped by Mark.
1947 * Scripts/update-webkit-auxiliary-libs:
1949 2008-01-03 Adam Roben <aroben@apple.com>
1951 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
1953 http://bugs.webkit.org/show_bug.cgi?id=15663
1955 Added a fuzz factor into the Last-Modified comparison for downloading
1956 WebKitAuxiliaryLibrary.zip.
1958 The zip file is served from a set of mirrors who give Last-Modified
1959 times that are off by 1-3 seconds from each other. This was causing
1960 the build bots to redownload WebKitAuxiliaryLibrary for every build,
1961 which would then cause all of WebCore to rebuild each time.
1965 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
1966 at least 30 seconds newer than the old one -- otherwise we assume that
1967 the difference in time is due to the mirrors being slightly offset
1969 (sub lastModifiedToUnixTime): Added.
1971 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
1975 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
1977 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1981 Moved QWebPage::open to QWebFrame::load and added setHtml.
1984 * DumpRenderTree/qt/DumpRenderTree.cpp:
1985 (WebCore::DumpRenderTree::open):
1987 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1991 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1994 * DumpRenderTree/qt/DumpRenderTree.cpp:
1995 (WebCore::DumpRenderTree::DumpRenderTree):
1997 2008-01-02 Sam Weinig <sam@webkit.org>
1999 * Scripts/do-webcore-rename: Yet more renaming ideas.
2001 2008-01-02 Darin Adler <darin@apple.com>
2003 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
2005 2008-01-02 Alice Liu <alice.liu@apple.com>
2007 Reviewed by Sam Weinig.
2009 fixing assertion hit with editing/selection/move-begin-end.html
2011 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
2012 * DumpRenderTree/win/DumpRenderTree.vcproj:
2013 * DumpRenderTree/win/EventSender.cpp:
2015 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
2017 2008-01-02 Darin Adler <darin@apple.com>
2019 * Scripts/do-webcore-rename: Some more name change plans.
2021 2008-01-02 Alice Liu <alice.liu@apple.com>
2025 Added handling for page up and page down in EventSender
2027 * DumpRenderTree/mac/EventSendingController.mm:
2028 (-[EventSendingController keyDown:withModifiers:]):
2029 * DumpRenderTree/win/EventSender.cpp:
2032 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
2036 Fix fast/events/arrow-keys-on-body.html for real.
2038 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
2040 2008-01-02 Luca Bruno <lethalman88@gmail.com>
2044 http://bugs.webkit.org/show_bug.cgi?id=16674
2045 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
2047 * Scripts/run-launcher:
2049 2007-12-31 Darin Adler <darin@apple.com>
2053 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
2054 we get it installed on the build bots.
2056 2007-12-30 Eric Seidel <eric@webkit.org>
2060 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
2062 2007-12-29 Darin Adler <darin@apple.com>
2066 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
2067 leak bot shows createCStringFromNPVariant result leaking
2069 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2070 (pluginInvoke): Added a missing free.
2072 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2074 Reviewed by Alp Toker.
2076 http://bugs.webkit.org/show_bug.cgi?id=16390
2077 Use autotools or GNU make as the build system for the GTK port
2079 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
2080 * GNUmakefile.am: Added.
2082 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
2086 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
2088 * DumpRenderTree/win/EventSender.cpp:
2089 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
2090 of 1, even though WebKit currently ignores it.
2092 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
2094 wx buildbot fix. Update libpng dl script to the latest version.
2096 * wx/install-unix-extras:
2098 2007-12-22 Antti Koivisto <antti@apple.com>
2102 * Scripts/webkitdirs.pm:
2104 2007-12-21 Sam Weinig <sam@webkit.org>
2106 Reviewed by Mark Rowe.
2108 - Disable the back/forward cache using the new WebPreferences API
2109 instead of through the BackForwardList. This makes us match what
2112 * DumpRenderTree/mac/DumpRenderTree.mm:
2113 (createWebViewAndOffscreenWindow):
2114 (setDefaultsToConsistentValuesForTesting):
2116 2007-12-21 Dan Bernstein <mitz@apple.com>
2118 Reviewed by Mark Rowe.
2120 - disable the back/forward cache in Windows DumpRenderTree. It is
2121 already disabled in Mac DumpRenderTree.
2123 * DumpRenderTree/win/DumpRenderTree.cpp:
2124 (initializePreferences):
2126 2007-12-13 Antti Koivisto <antti@apple.com>
2128 Reviewed by Darin and Steve.
2130 - check for QuickTime SDK on Windows.
2131 - build media support on Windows by default
2133 * Scripts/build-webkit:
2134 * Scripts/webkitdirs.pm:
2136 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
2138 Build script fix for buildbot.
2140 * wx/build-wxwebkit:
2142 2007-12-20 Eric Seidel <eric@webkit.org>
2146 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
2148 2007-12-20 Kevin McCullough <kmccullough@apple.com>
2152 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
2155 - Drosera and Safari need to use the same ProgIDs in order for
2156 CoCreateInstance to work properly. The most robust way to do this is
2157 for WebKit to dynamically publish those ProgIDs.
2159 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
2160 (DebuggerClient::createWebViewWithRequest):
2161 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
2165 (Drosera::attemptToCreateServerConnection):
2166 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
2167 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
2168 make use of the published ProgIDs.
2169 (ServerConnection::attemptToCreateServerConnection):
2171 2007-12-20 Kevin McCullough <kmccullough@apple.com>
2173 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
2174 - Build bot and leak fix.
2176 * DumpRenderTree/LayoutTestController.cpp:
2177 (pathToLocalResourceCallback):
2179 2007-12-19 David Kilzer <ddkilzer@apple.com>
2181 Make svn-apply/svn-unapply work with patches from git-format-patch.
2185 * Scripts/svn-apply:
2186 (patch): If 'Index:' can't be found in the text passed in, print it
2187 out with a warning and return early.
2188 * Scripts/svn-unapply:
2191 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
2193 Reviewed by Alp Toker.
2195 Build related fixes.
2197 * wx/build-wxwebkit:
2198 - Check to make sure the user is running a supported wx port
2199 - More robust checks for Cygwin
2200 - Only run install-unix-extras on Mac, it's not the right solution
2202 - Remove outdated Linux instructions after successful build
2203 - Clean Bakefile-generated files during a clean operation
2205 2007-12-18 Darin Adler <darin@apple.com>
2207 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
2209 2007-12-18 Steve Falkenburg <sfalken@apple.com>
2211 Add script to run Drosera as part of the nightly.
2213 Reviewed by Kevin M.
2215 * Scripts/run-drosera.cmd: Added.
2217 2007-12-18 Darin Adler <darin@apple.com>
2219 * Scripts/do-webcore-rename: Remove a stray K.
2221 2007-12-18 Darin Adler <darin@apple.com>
2223 * Scripts/do-webcore-rename: Plan more renaming.
2225 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
2227 Reviewed by Alp Toker.
2229 http://bugs.webkit.org/show_bug.cgi?id=16042
2230 [GTK] Eliminate webkit_init()
2232 Moving webkit initialization to WebView class init.
2234 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2236 * GtkLauncher/main.c:
2239 2007-12-17 Luca Bruno <lethalman88@gmail.com>
2241 Reviewed by Alp Toker.
2243 http://bugs.webkit.org/show_bug.cgi?id=13542
2244 gdklauncher doesnt change URL in adress GTKEntry.
2246 * GtkLauncher/main.c:
2247 (load_commit_cb): added
2251 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
2253 Reviewed by Adam Roben.
2255 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
2257 * FindSafari/FindSafari.cpp:
2260 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
2262 Reviewed by Adam Roben.
2264 http://bugs.webkit.org/show_bug.cgi?id=16315
2265 FindSafari needs a path-only option.
2267 * FindSafari/FindSafari.cpp:
2270 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
2274 http://bugs.webkit.org/show_bug.cgi?id=16462
2275 REGRESSION: access keys broken on Windows
2277 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
2280 2007-12-15 Sam Weinig <sam@webkit.org>
2282 Reviewed by Mark Rowe.
2284 Fix urlSuitableForTestResult to correctly identify wstring::npos as
2285 the case when wstring.find doesn't find anything.
2287 * DumpRenderTree/win/DumpRenderTree.cpp:
2288 (urlSuitableForTestResult):
2290 2007-12-15 Alp Toker <alp@atoker.com>
2292 GTK+ DRT build fix for GLib < 2.14.
2294 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2295 (LayoutTestController::setWaitToDump):
2297 2007-12-05 Mark Rowe <mrowe@apple.com>
2299 Reviewed by Alp Toker.
2301 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
2302 many layout tests from hanging while waiting on user responses to dialogs.
2304 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2305 (invalidateAnyPreviousWaitToDumpWatchdog):
2306 (webViewScriptAlert):
2307 (webViewScriptPrompt):
2308 (webViewScriptConfirm):
2310 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2311 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2312 (waitToDumpWatchdogFired):
2313 (LayoutTestController::setWaitToDump):
2315 2007-12-05 Mark Rowe <mrowe@apple.com>
2317 Reviewed by Alp Toker.
2319 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
2321 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2322 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
2325 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
2326 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
2327 work queue is empty.
2328 (webViewWindowObjectCleared): Set up window.layoutTestController.
2329 (webViewConsoleMessage): Match the console message format expected by the layout test results.
2330 (main): Hook up the new signals.
2331 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2332 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
2333 dumping multiple times.
2334 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
2335 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
2337 2007-12-14 Anders Carlsson <andersca@apple.com>
2341 Assert that a web frame that's loading a resource always has either a data source or
2342 a provisional data source.
2344 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2345 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2347 2007-12-14 Darin Adler <darin@apple.com>
2349 - fix mistake causing nearly all tests to fail on Windows
2351 * DumpRenderTree/win/UIDelegate.cpp:
2352 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
2353 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
2355 * DumpRenderTree/mac/UIDelegate.mm:
2356 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
2357 than passing the entire message.
2359 2007-12-14 Darin Adler <darin@apple.com>
2363 * DumpRenderTree/mac/UIDelegate.mm:
2364 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
2365 new-to-Leopard methods.
2367 2007-12-14 Darin Adler <darin@apple.com>
2369 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
2370 since it now triggers unwanted icon loading. We only had it because we implemented "all"
2371 delegate methods here.
2373 2007-12-14 Anders Carlsson <andersca@apple.com>
2375 Reviewed by Darin and Geoff.
2377 <rdar://problem/5619295>
2378 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
2380 Add property getting methods to the plug-in.
2382 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2385 2007-12-14 Kevin McCullough <kmccullough@apple.com>
2389 - Layout test fix for mac. When dumped to the console local file paths
2390 now only show the name of the resource not the whole path. This is to
2391 make the results machine and OS independent.
2393 * DumpRenderTree/mac/UIDelegate.mm:
2394 (-[UIDelegate webView:addMessageToConsole:]):
2396 2007-12-13 Kevin McCullough <kmccullough@apple.com>
2400 - Layout tests fix. We need a way to remove machine-dependent
2401 information from paths in layout test results. The UIDelegate now does
2404 * DumpRenderTree/DumpRenderTree.h:
2405 * DumpRenderTree/win/DumpRenderTree.cpp:
2406 (urlSuitableForTestResult):
2407 * DumpRenderTree/win/DumpRenderTreeWin.h:
2408 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2409 * DumpRenderTree/win/UIDelegate.cpp:
2410 (UIDelegate::webViewAddMessageToConsole):
2412 2007-12-13 Alp Toker <alp@atoker.com>
2414 Build fix for DRT breakage introduced in r28690.
2416 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2417 (LayoutTestController::pathToLocalResource):
2419 2007-12-12 Kevin McCullough <kmccullough@apple.com>
2421 Reviewed by Alice and Sam.
2423 - <rdar://5621435> Need a way to specify local resources (being loaded
2424 from HTTP tests) on Windows.
2425 - Implemented pathToLocalResource which exposes the functionality of
2426 converting a given unix path to the correct location on Windows.
2428 * DumpRenderTree/LayoutTestController.cpp:
2429 (pathToLocalResourceCallback):
2430 (LayoutTestController::staticFunctions):
2431 * DumpRenderTree/LayoutTestController.h:
2432 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2433 (LayoutTestController::pathToLocalResource):
2434 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2435 (LayoutTestController::pathToLocalResource):
2437 2007-12-12 Anders Carlsson <andersca@apple.com>
2441 <rdar://problem/5132003>
2442 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
2444 * DumpRenderTree/win/DumpRenderTree.cpp:
2446 Set the resource load delegate.
2448 * DumpRenderTree/win/DumpRenderTree.vcproj:
2450 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
2451 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
2453 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
2455 Reviewed by Adam Roben.
2457 Fix conversion from double to LPARAM in dispatchMessage().
2459 * DumpRenderTree/win/EventSender.cpp:
2460 (dispatchMessageCallback):
2462 2007-12-11 Dan Bernstein <mitz@apple.com>
2464 Reviewed by Mark Rowe and Sam Weinig too!
2466 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
2467 fonts DumpRenderTree registers.
2469 * DumpRenderTree/win/DumpRenderTree.cpp:
2472 2007-12-11 Brady Eidson <beidson@apple.com>
2476 Make DumpRenderTree on mac use its own path for Databases testing
2478 * DumpRenderTree/mac/DumpRenderTree.mm:
2479 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
2480 for future DRT-only use, then use it to construct the Databases path and set that default
2482 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
2486 <rdar://problem/5535636>
2487 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
2489 http://bugs.webkit.org/show_bug.cgi?id=13916
2490 JavaScript detects Tab as a character input on a textfield validation
2492 * DumpRenderTree/mac/EventSendingController.mm:
2493 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
2494 Dispatch a keyup to better match what happens when a key is physically pressed.
2496 * DumpRenderTree/win/EventSender.cpp:
2497 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
2498 returning from keyDown().
2499 (getConstantCallback): Fixed a couple copy/paste mistakes.
2501 2007-12-07 Kevin McCullough <kmccullough@apple.com>
2505 - <rdar://5599845> Drosera: Does not show loal files in the file list
2508 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
2509 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
2510 so the open source community can build.
2512 2007-12-10 Brady Eidson <beidson@apple.com>
2514 Rubberstamped by Sam Weinig
2516 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
2518 * DumpRenderTree/mac/UIDelegate.mm:
2519 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
2520 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
2522 2007-12-08 Oliver Hunt <oliver@apple.com>
2526 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
2528 Fixes <rdar://problem/5620249> Must disable SVG animation
2529 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
2531 In order to allow finer grained control over the set of SVG features
2532 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
2534 ENABLE_SVG_ANIMATION
2540 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
2542 Script handles all the new build flags, and allows --svg-experimental
2543 to automatically enable all features.
2545 * Scripts/build-webkit:
2547 2007-12-07 Steve Falkenburg <sfalken@apple.com>
2549 Fix version parsing.
2551 Rubber-stamped by Oliver.
2553 * Drosera/win/Drosera.vcproj/auto-version.sh:
2555 2007-12-07 Steve Falkenburg <sfalken@apple.com>
2557 Build modifications for Drosera.
2561 * Drosera/DroseraWin.make: Added.
2562 * Drosera/win/Drosera.vcproj/Drosera.rc:
2563 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2564 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
2565 * Drosera/win/Drosera.vcproj/VERSION: Added.
2566 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
2568 2007-12-06 Adam Roben <aroben@apple.com>
2570 Explicitly turn on the Mac font ascent hack on Windows
2572 This keeps our font metrics matching those from Mac.
2576 * DumpRenderTree/win/DumpRenderTree.cpp:
2579 2007-12-06 Anders Carlsson <andersca@apple.com>
2581 Rename main.c to main.cpp here too.
2583 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
2585 2007-12-06 Sam Weinig <sam@webkit.org>
2587 Rubber stamped by Geoff.
2589 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
2591 2007-12-06 Darin Adler <darin@apple.com>
2593 * Scripts/do-webcore-rename: Some more renaming plans.
2595 2007-12-06 Anders Carlsson <andersca@apple.com>
2597 Restore implementation of testGetIntIdentifier that was accidentally
2598 removed somehow (possibly when I made PluginObject be a cpp file).
2600 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2603 2007-12-05 Anders Carlsson <andersca@apple.com>
2605 Make the entry points extern "C".
2606 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2608 2007-12-05 Anders Carlsson <andersca@apple.com>
2612 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2621 2007-12-05 Anders Carlsson <andersca@apple.com>
2623 Add the .cpp files to the TestNetscapePlugIn target.
2625 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2627 2007-12-05 Anders Carlsson <andersca@apple.com>
2631 Rename the TestNetscapePlugIn .c files to be .cpp.
2633 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2634 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
2635 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
2636 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
2637 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
2638 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
2639 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
2640 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2642 2007-12-05 Adam Roben <aroben@apple.com>
2644 Fix case of keypresses from the Windows implementation of eventSender.keyDown
2646 This fixes several regression tests.
2650 * DumpRenderTree/win/EventSender.cpp:
2651 (keyDownCallback): Virtual keycodes for ASCII characters are always
2652 uppercase, so we need to check the case of the original character
2653 passed in to eventSender.keyDown.
2655 2007-12-05 Adam Roben <aroben@apple.com>
2657 Learn from Tim's mistakes
2659 * DumpRenderTree/win/DumpRenderTree.cpp:
2660 (runTest): Reset the authorAndUserStylesEnabled preference for each
2663 2007-12-05 Alp Toker <alp@atoker.com>
2665 Reviewed by Mark Rowe.
2667 Initialize GTK+ and WebKit so the tests can run.
2669 Reorganize the headers a little.
2671 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2674 2007-12-04 Anders Carlsson <andersca@apple.com>
2676 Remove IWebScriptScope include.
2678 * Drosera/win/DebuggerDocumentPlatform.cpp:
2680 2007-12-04 Sam Weinig <sam@webkit.org>
2682 Rubber stamped by Mark Rowe.
2684 Define CF as platform for mac and revert r28409
2686 * DumpRenderTree/DumpRenderTree.h:
2687 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2689 2007-12-04 Sam Weinig <sam@webkit.org>
2691 Define CF as platform for windows.
2693 Reviewed by Adam Roben.
2695 * DumpRenderTree/win/DumpRenderTreeWin.h:
2697 2007-12-04 Kevin McCullough <kmccullough@apple.com>
2699 Reviewed by Adam and Darin.
2701 - Removed a needless BSTR cleanup.
2703 * Drosera/win/DebuggerDocumentPlatform.cpp:
2704 (DebuggerDocument::getPlatformCurrentFunctionStack):
2706 2007-11-27 Adam Roben <aroben@apple.com>
2708 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
2712 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2713 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
2715 2007-12-04 Alp Toker <alp@atoker.com>
2717 Prospective Win DRT build fix.
2719 * DumpRenderTree/DumpRenderTree.h:
2721 2007-12-04 Alp Toker <alp@atoker.com>
2723 Fix a clobbered copyright header.
2725 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2727 2007-12-04 Xan Lopez <xan@gnome.org>
2729 Reviewed by Alp Toker.
2731 http://bugs.webkit.org/show_bug.cgi?id=15561
2732 GTK port needs DumpRenderTree implementation
2734 Start work on the GTK+ DRT.
2736 This does not work yet, and there are a few lingering style issues
2737 (nothing major) but this patch has been stuck in the bug tracker for
2740 * DumpRenderTree/DumpRenderTree.h:
2741 * DumpRenderTree/gtk: Added.
2742 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
2744 (shouldLogFrameLoadDelegates):
2745 (dumpFrameScrollPosition):
2749 (dumpRenderTreeAsText):
2753 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
2754 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
2755 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
2756 (GCController::collect):
2757 (GCController::collectOnAlternateThread):
2758 (GCController::getJSObjectCount):
2759 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
2760 (LayoutTestController::~LayoutTestController):
2761 (LayoutTestController::addDisallowedURL):
2762 (LayoutTestController::clearBackForwardList):
2763 (LayoutTestController::copyDecodedHostName):
2764 (LayoutTestController::copyEncodedHostName):
2765 (LayoutTestController::display):
2766 (LayoutTestController::keepWebHistory):
2767 (LayoutTestController::notifyDone):
2768 (LayoutTestController::queueBackNavigation):
2769 (LayoutTestController::queueForwardNavigation):
2770 (LayoutTestController::queueLoad):
2771 (LayoutTestController::queueReload):
2772 (LayoutTestController::queueScript):
2773 (LayoutTestController::setAcceptsEditing):
2774 (LayoutTestController::setCustomPolicyDelegate):
2775 (LayoutTestController::setMainFrameIsFirstResponder):
2776 (LayoutTestController::setTabKeyCyclesThroughElements):
2777 (LayoutTestController::setUseDashboardCompatibilityMode):
2778 (LayoutTestController::setUserStyleSheetEnabled):
2779 (LayoutTestController::setUserStyleSheetLocation):
2780 (LayoutTestController::setWindowIsKey):
2781 (LayoutTestController::setWaitToDump):
2782 (LayoutTestController::windowCount):
2783 (LayoutTestController::setPrivateBrowsingEnabled):
2784 (LayoutTestController::setAuthorAndUserStylesEnabled):
2785 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
2786 (JSStringCopyUTF8CString):
2788 (ReloadItem::invoke):
2789 (ScriptItem::invoke):
2790 (BackForwardItem::invoke):
2792 2007-12-03 Sam Weinig <sam@webkit.org>
2794 Move JavaScriptCore thread testing code to pthread specific directory
2795 and remove the dependance on CoreFoundation by using WTF::HashSet.
2797 Reviewed by Geoff and Oliver.
2799 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2800 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
2801 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
2802 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
2803 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
2804 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
2805 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
2806 * DumpRenderTree/pthreads: Added.
2807 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
2808 (javaScriptThreads):
2809 (runJavaScriptThread):
2810 (startJavaScriptThreads):
2811 (stopJavaScriptThreads):
2813 2007-12-03 Andrew Bonventre <andybons@google.com>
2815 Reviewed by Darin Adler.
2817 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
2818 Symbol lookup menu broken in debugger view
2820 * Drosera/debugger.js: Fixed javascript error where document property
2821 should have been used instead of contentDocument in switchFunction that
2822 was breaking the select symbol dropdown menu. This is because
2823 window.frames will return a Window object and not a frame object like
2824 the author was originally expecting.
2826 2007-12-03 Kevin McCullough <kmccullough@apple.com>
2830 - <rdar://5618942> Drosera: Console window does not process everything
2832 - <rdar://5619005> Drosera: could be sped up by moving the
2833 WebScriptScope stuff into the WebScriptCallFrame.
2834 - Now the console can correctly process objects and does not receive
2835 notifications from JavaScriptCore about the JavaScript in Drosera's
2838 * Drosera/win/DebuggerDocumentPlatform.cpp:
2839 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2840 (DebuggerDocument::platformValueForScopeVariableNamed):
2842 2007-12-03 Stephanie <slewis@apple.com>
2846 Check to see if we are building a debug root
2848 * Scripts/check-for-global-initializers:
2850 2007-12-03 Dan Bernstein <mitz@apple.com>
2852 Reviewed by Darin Adler.
2854 - added a testGetIntIdentifier() method to TestNetscapePlugIn
2856 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2859 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
2863 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
2864 in a more fine-grained manner than eventSender.keyDown().
2866 * DumpRenderTree/win/EventSender.cpp:
2867 (getConstantCallback):
2868 (dispatchMessageCallback):
2870 2007-12-02 Darin Adler <darin@apple.com>
2872 * Scripts/do-webcore-rename: More planned renaming.
2874 2007-12-02 Sam Weinig <sam@webkit.org>
2876 Rubber stamped by Anders.
2878 Use [NSURL absoluteString] instead of [NSURL description] in order to get
2879 more uniform results cross platform.
2881 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2882 (-[NSURL _drt_descriptionSuitableForTestResult]):
2884 2007-12-02 Sam Weinig <sam@webkit.org>
2886 Rubber stamped by Niko.
2888 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
2890 * DumpRenderTree/win/DumpRenderTree.cpp:
2891 * DumpRenderTree/win/DumpRenderTree.vcproj:
2892 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
2893 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
2894 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
2895 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
2897 2007-12-01 Alp Toker <alp@atoker.com>
2899 Reviewed by Adam Roben.
2901 Make use of the newly introduced webkit.h convenience header.
2903 * GtkLauncher/main.c:
2905 2007-12-01 Adam Treat <treat@kde.org>
2909 * Check to see if the directory exists and exit if not.
2911 * DumpRenderTree/qt/main.cpp:
2914 2007-12-01 Adam Treat <treat@kde.org>
2918 * Don't hide symbols when in Debug mode
2919 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
2922 * DumpRenderTree/qt/main.cpp:
2925 2007-11-30 Alp Toker <alp@atoker.com>
2927 Reviewed by Adam Roben.
2929 http://bugs.webkit.org/show_bug.cgi?id=15691
2930 [GTK] Public API does not follow GTK+ conventions
2932 Refactor the WebKit/GTK+ public API. Changes:
2933 WebKitPage -> WebKitWebView
2934 WebKitFrame -> WebKitWebFrame
2936 Public API source and header names have been updated to mirror the API
2939 The API is now kept in WebKit/gtk/WebView to match other ports in the
2940 same class such as Mac and Win.
2942 * GtkLauncher/main.c:
2943 (activate_uri_entry_cb):
2946 (progress_change_cb):
2952 2007-11-30 Adam Roben <aroben@apple.com>
2954 Hopefully the final build fix
2956 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
2957 pull in WTF's assertion/logging functions.
2959 2007-11-30 Adam Roben <aroben@apple.com>
2963 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
2966 2007-11-30 Adam Roben <aroben@apple.com>
2970 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
2972 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
2974 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
2975 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
2976 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
2978 2007-11-30 Sam Weinig <sam@webkit.org>
2980 Reviewed by Adam Roben.
2982 Fix drawSelectionRect to actually draw the selection rect.
2984 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2985 (drawSelectionRect):
2987 2007-11-30 Darin Adler <darin@apple.com>
2989 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
2991 2007-11-30 Darin Adler <darin@apple.com>
2993 * Scripts/do-webcore-rename: Get ready for some future renaming.
2995 2007-11-29 Kevin McCullough <kmccullough@apple.com>
2999 - Removed some unnecessary functions and changed an unused return type.
3001 * Drosera/win/DebuggerClient.cpp:
3002 (registerConsoleClass):
3003 * Drosera/win/DebuggerClient.h:
3004 * Drosera/win/Drosera.cpp:
3005 (registerDroseraClass):
3007 2007-11-28 Alp Toker <alp@atoker.com>
3009 Reviewed by Timothy Hatcher.
3011 http://bugs.webkit.org/show_bug.cgi?id=16174
3012 [GTK] Use "URI" not "URL" in public API
3014 Replace use of the term "URL" with "URI" in public headers,
3015 documentation and some internal code to match GLib/GTK+ convention.
3017 This is now mentioned in the API guidelines:
3018 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
3020 * GtkLauncher/main.c:
3021 (activate_uri_entry_cb):
3026 2007-11-29 Anders Carlsson <andersca@apple.com>
3030 <rdar://problem/5230478>
3031 FrameLoadDelegate callbacks are not dumped in DRT.
3033 * DumpRenderTree/win/DumpRenderTree.cpp:
3034 (shouldLogFrameLoadDelegates):
3037 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
3039 (descriptionSuitableForTestResult):
3040 (FrameLoadDelegate::QueryInterface):
3041 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
3042 (FrameLoadDelegate::didFailProvisionalLoadWithError):
3043 (FrameLoadDelegate::didCommitLoadForFrame):
3044 (FrameLoadDelegate::didFinishLoadForFrame):
3045 (FrameLoadDelegate::willCloseFrame):
3046 (FrameLoadDelegate::didClearWindowObject):
3047 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
3048 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
3049 * DumpRenderTree/win/FrameLoaderDelegate.h:
3050 (FrameLoadDelegate::windowScriptObjectAvailable):
3051 (FrameLoadDelegate::didFirstLayoutInFrame):
3053 2007-11-29 Sam Weinig <sam@webkit.org>
3057 Add database quota UIDelegates methods to DRT UIDelegate.
3059 * DumpRenderTree/mac/UIDelegate.mm:
3060 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
3061 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
3063 2007-11-29 Kevin McCullough <kmccullough@apple.com>
3067 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
3068 dying and vice versa.
3069 - This fix will allow Drosera and Safari to reconnect if either of them
3070 closes correctly, but does not fix the case where one of them dies
3073 * Drosera/win/ServerConnection.cpp:
3074 (ServerConnection::attemptToCreateServerConnection): Added a safety
3075 check, because it's possilbe to try to connect to a server that's dying.
3076 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
3077 the server has died.
3078 * Drosera/win/ServerConnection.h: Added the new function and removed
3079 an unnecessary member.
3081 2007-11-29 Anders Carlsson <andersca@apple.com>
3083 * DumpRenderTree/win/DumpRenderTree.vcproj:
3084 Add shlwapi.lib to all configurations.
3086 2007-11-29 Kevin McCullough <kmccullough@apple.com>
3088 - Build fix. Added additional includes for VS Express to the Release
3091 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3093 2007-11-29 Anders Carlsson <andersca@apple.com>
3097 <rdar://problem/5132005>
3098 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
3100 * DumpRenderTree/win/DumpRenderTree.vcproj:
3103 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3104 (LayoutTestController::setUserStyleSheetEnabled):
3107 (appendComponentToPath):
3108 New method which wraps the Win32 API PathAppend.
3111 New method which checks if a file points to a shortcut and
3112 follows the shortcut.
3114 (resolveCygwinPath):
3115 New method that takes a cygwin unix-style path and returns the Win32 path.
3117 (cfStringRefToWString):
3119 (LayoutTestController::setUserStyleSheetLocation):
3122 2007-11-29 Alice Liu <alice.liu@apple.com>
3126 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
3128 * DumpRenderTree/win/EventSender.cpp:
3130 uppercase letters were being sent as lowercase letters without the shift key down.
3132 2007-11-29 Kevin McCullough <kmccullough@apple.com>
3134 - Windows build fix. VS express needs some love.
3136 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3138 2007-11-28 Darin Adler <darin@apple.com>
3140 Reviewed by Adam Roben.
3142 * DumpRenderTree/mac/EventSendingController.mm:
3143 (-[EventSendingController keyDown:withModifiers:]):
3144 Send capital letters through as lowercase letters with the shift key down
3145 rather than sending them as if they were highly unusual "capital letter keys".
3147 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
3148 where you need to update results and more tests are failing than before.
3150 2007-11-28 Anders Carlsson <andersca@apple.com>
3154 <rdar://problem/5132001>
3155 contextClick is not implemented in DRT on Windows.
3157 * DumpRenderTree/win/EventSender.cpp:
3158 (contextClickCallback):
3159 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
3160 by a WM_RBUTTONUP message.
3162 * DumpRenderTree/win/UIDelegate.cpp:
3163 (UIDelegate::hasCustomMenuImplementation):
3164 (UIDelegate::trackCustomPopupMenu):
3165 * DumpRenderTree/win/UIDelegate.h:
3166 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
3167 menu from being shown (and causing the DRT to hang).
3169 2007-11-27 Maciej Stachowiak <mjs@apple.com>
3173 Fix DumpRenderTree ObjC bug comparing strings.
3175 * DumpRenderTree/mac/ObjCController.m:
3176 (-[ObjCController identityIsEqual::]): Compare strings with string
3177 equality instead of identiy equality.
3179 2007-11-27 Timothy Hatcher <timothy@apple.com>
3183 Reset the authorAndUserStylesEnabled preference
3184 back to YES for each test. Fixes the broken tests.
3186 * DumpRenderTree/mac/DumpRenderTree.mm:
3187 (resetWebViewToConsistentStateBeforeTesting):
3189 2007-11-27 Kevin McCullough <kmccullough@apple.com>
3193 - Drosera now displays the console window, although it cannot currently
3196 * Drosera/win/DebuggerClient.cpp: Shows the console window.
3197 (registerConsoleClass): Implemented.
3198 (consoleWndProc): Implemented.
3199 (DebuggerClient::onSize): Implemented.
3200 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
3202 * Drosera/win/DebuggerClient.h: Added needed method and members for
3203 creating and maintaining a new window.
3204 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
3205 lines of code to more appropriate places.
3206 (Drosera::handleCommand):
3211 2007-11-27 Timothy Hatcher <timothy@apple.com>
3213 Reviewed by Dave Hyatt.
3215 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
3217 Add support for disabling author and user styles for testing.
3219 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3220 * DumpRenderTree/LayoutTestController.cpp:
3221 (setAuthorAndUserStylesEnabledCallback):
3222 (LayoutTestController::staticFunctions):
3223 * DumpRenderTree/LayoutTestController.h:
3224 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3225 (LayoutTestController::setAuthorAndUserStylesEnabled):
3226 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3227 (LayoutTestController::setAuthorAndUserStylesEnabled):
3229 2007-11-26 Dan Bernstein <mitz@apple.com>
3233 * DumpRenderTree/mac/Configurations/Base.xcconfig:
3235 2007-11-26 Kevin McCullough <kmccullough@apple.com>
3239 - Implemented displaying variables for Drosera on Win.
3241 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
3242 that retrieve variables to not hold onto the return value since it's
3243 not returned. Also changed to use the new signatures of the retrieval
3245 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3246 (DebuggerDocument::platformValueForScopeVariableNamed):
3247 * Drosera/win/Drosera.cpp: Removed a needless TODO.
3250 2007-11-26 Sam Weinig <sam@webkit.org>
3252 Cleanup names of painting and repainting functions.
3254 Reviewed by Adam Roben.
3256 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3257 (drawSelectionRect): was drawSelectionRectIntoContext.
3258 (dumpWebViewAsPixelsAndCompareWithExpected):
3259 * DumpRenderTree/cg/PixelDumpSupportCG.h:
3260 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3261 (paintWebView): was drawWebViewIntoContext.
3262 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
3264 2007-11-26 Sam Weinig <sam@webkit.org>
3266 Reviewed by Dan Bernstein.
3270 * DumpRenderTree/mac/Configurations/Base.xcconfig:
3272 2007-11-26 Sam Weinig <sam@webkit.org>
3274 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
3275 Use shared PixelDumpSupport for Mac DRT
3277 Reviewed by Adam Roben.
3279 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3280 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
3281 * DumpRenderTree/cg/ImageDiffCG.cpp:
3282 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3283 (drawSelectionRectIntoContext):
3284 (dumpWebViewAsPixelsAndCompareWithExpected):
3285 * DumpRenderTree/cg/PixelDumpSupportCG.h:
3286 * DumpRenderTree/mac/Configurations/Base.xcconfig:
3287 * DumpRenderTree/mac/DumpRenderTree.mm:
3289 * DumpRenderTree/mac/ImageDiff.m: Removed.
3290 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
3291 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
3292 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
3293 (setDefaultColorProfileToRGB):
3294 (getBitmapContextFromWebView):
3295 (drawWebViewIntoContext):
3296 (repaintWithVerticalSweep):
3297 (repaintWithHorizontalSweep):
3299 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
3301 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
3303 Bug 16052: prepare-ChangeLog doesn't report deleted files
3304 <http://bugs.webkit.org/show_bug.cgi?id=16052>
3308 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
3310 2007-11-25 David Kilzer <ddkilzer@webkit.org>
3312 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
3313 <http://bugs.webkit.org/show_bug.cgi?id=15864>
3317 Roll functionality of merge-changelog into resolve-ChangeLogs
3318 script. The script now checks for ChangeLog.rej and
3319 ChangeLog.orig files first. If it finds them, it uses the
3320 ChangeLog.rej file as a patch (in old contextual diff format) to
3321 apply with --fuzz=3.
3323 * Scripts/merge-changelog: Removed.
3324 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
3326 2007-11-25 Sam Weinig <sam@webkit.org>
3328 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
3330 Reviewed by Mark Rowe.
3332 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3333 * DumpRenderTree/mac/Configurations/Base.xcconfig:
3334 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
3335 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
3336 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
3338 2007-11-25 Sam Weinig <sam@webkit.org>
3340 Convert DumpRenderTree to ues .xcconfig files.
3342 Reviewed by Mark Rowe.
3344 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3345 * DumpRenderTree/mac/Configurations: Added.
3346 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
3347 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
3348 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
3350 2007-11-25 Sam Weinig <sam@webkit.org>
3352 Add ForwardingHeaders to wtf for DumpRenderTree.
3354 Reviewed by Mark Rowe.
3356 * DumpRenderTree/DumpRenderTree.h:
3357 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3358 * DumpRenderTree/ForwardingHeaders: Added.
3359 * DumpRenderTree/ForwardingHeaders/wtf: Added.
3360 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
3361 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
3362 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
3363 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
3364 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
3365 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
3366 * DumpRenderTree/LayoutTestController.cpp:
3367 * DumpRenderTree/WorkQueue.cpp:
3368 * DumpRenderTree/mac/DumpRenderTree.mm:
3369 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3370 * DumpRenderTree/mac/JavaScriptThreading.cpp:
3371 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3372 * DumpRenderTree/mac/ObjCController.m:
3373 * DumpRenderTree/mac/UIDelegate.mm:
3374 * DumpRenderTree/mac/WorkQueueItemMac.mm:
3376 2007-11-25 Adam Roben <aroben@apple.com>
3378 Fix some test failures caused by r28019
3380 Now that stdout is in binary mode, we need to always use printf
3381 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
3386 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
3388 (UIDelegate::runJavaScriptAlertPanelWithMessage):
3389 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
3390 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
3391 (UIDelegate::webViewAddMessageToConsole):
3393 2007-11-25 Adam Roben <aroben@apple.com>
3395 Set the font smoothing preference in DRT
3397 This makes the pixel results on Windows closer to the Mac results.
3401 * DumpRenderTree/win/DumpRenderTree.cpp:
3402 (initializePreferences):
3404 2007-11-25 Adam Roben <aroben@apple.com>
3406 Port ImageDiff to CG and C++
3408 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
3413 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
3414 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
3416 (createImageFromStdin):
3418 (getDifferenceBitmap):
3419 (computePercentageDifferent):
3420 * DumpRenderTree/win/ImageDiff.vcproj: Added.
3422 2007-11-25 Adam Roben <aroben@apple.com>
3424 Fix image diff link generation on Windows
3428 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
3431 2007-11-25 Adam Roben <aroben@apple.com>
3433 Implement pixel dumping in Windows DRT
3435 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
3440 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
3441 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
3442 Content-Length header.
3443 (getMD5HashStringForBitmap):
3444 (dumpWebViewAsPixelsAndCompareWithExpected):
3445 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
3446 * DumpRenderTree/win/DumpRenderTree.cpp:
3447 (dump): Do a pixel dump if requested.
3448 (main): Parse pixel test options.
3449 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
3450 the cg/ subdirectory to the include path.
3451 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
3452 available in a header or import library, so we have to go through this
3453 LoadLibrary/GetProcAddress dance to use them.
3461 * DumpRenderTree/win/MD5.h: Added.
3462 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
3463 moved up to the top level to share it with Mac eventually.
3464 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
3465 (getBitmapContextFromWebView): Forces the WebView to paint using a
3466 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
3468 2007-11-25 Adam Roben <aroben@apple.com>
3470 Clean up Windows DRT's option parsing a little bit
3474 * DumpRenderTree/win/DumpRenderTree.cpp:
3475 (main): Put non-option arguments into a Vector.
3477 2007-11-25 Adam Roben <aroben@apple.com>
3479 Make Windows DRT stop changing LF into CRLF
3483 * DumpRenderTree/win/DumpRenderTree.cpp:
3484 (main): Put stdout in binary mode.
3485 * Scripts/run-webkit-tests: Remove the CRLF hack.
3487 2007-11-24 David Kilzer <ddkilzer@webkit.org>
3489 Removed empty directory.
3491 * Scripts/resources: Removed.
3493 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
3495 Fix bisect-builds to work with recent WebKit nightly builds.
3499 * Scripts/bisect-builds: Check for the
3500 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
3501 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
3502 to WebKit.app/Contents/Resources.
3504 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
3508 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
3509 not closed (affects digg.com)
3511 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
3512 one after finishing with a test to avoid having its delayed onload handler firing when
3513 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
3514 but it helps somewhat.
3516 2007-11-22 Mark Rowe <mrowe@apple.com>
3518 Reviewed by Alp Toker.
3520 Fix build-webkit to propagate make's exit status if it fails.
3522 * Scripts/webkitdirs.pm:
3524 2007-11-22 Dan Bernstein <mitz@apple.com>
3526 Reviewed by Mark Rowe.
3528 - fix crash when running pixel tests
3530 * DumpRenderTree/mac/DumpRenderTree.mm:
3531 (dumpRenderTree): Parse the command line options before setting up the
3532 environment so that we know if we need to set up the pixel dump
3535 2007-11-21 Eric Seidel <eric@webkit.org>
3537 Speculative build fix for Tiger.
3539 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
3541 2007-11-21 Eric Seidel <eric@webkit.org>
3543 Reviewed by Tim Hatcher.
3545 Break out more of DumpRenderTree.mm into individual files
3547 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3548 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
3551 (makeLargeMallocFailSilently):
3552 * DumpRenderTree/mac/CheckedMalloc.h: Added.
3553 * DumpRenderTree/mac/DumpRenderTree.mm:
3556 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3557 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
3558 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
3559 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
3560 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3561 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
3562 (javaScriptThreads):
3563 (runJavaScriptThread):
3564 (startJavaScriptThreads):
3565 (stopJavaScriptThreads):
3566 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
3567 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
3568 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
3569 (restoreColorSpace):
3570 (setDefaultColorProfileToRGB):
3571 (initializeColorSpaceAndScreeBufferForPixelTests):
3572 (md5HashStringForBitmap):
3573 (dumpWebViewAsPixelsAndCompareWithExpected):
3575 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
3577 Move install-unix-extras to wx directory as it seems only to be used by that
3578 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
3579 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
3580 have install-unix-extras install into WebKitLibraries as per
3583 Reviewed by Mark Rowe.
3585 * Scripts/install-unix-extras: Removed.
3586 * wx/build-wxwebkit:
3587 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
3589 2007-11-21 Eric Seidel <eric@webkit.org>
3593 More refactoring for greater code readability
3595 * DumpRenderTree/mac/DumpRenderTree.mm:
3596 (initializeGlobalsFromCommandLineOptions):
3597 (initializeColorSpaceAndScreeBufferForPixelTests):
3598 (addTestPluginsToPluginSearchPath):
3599 (useLongRunningServerMode):
3600 (runTestingServerLoop):
3601 (prepareConsistentTestingEnvironment):
3605 (dumpBackForwardListForWebView):
3606 (sizeWebViewForCurrentTest):
3607 (methodNameStringForFailedTest):
3608 (dumpBackForwardListForAllWindows):
3609 (dumpWebViewAsPixelsAndCompareWithExpected):
3610 (invalidateAnyPreviousWaitToDumpWatchdog):
3612 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3613 * DumpRenderTree/mac/UIDelegate.mm:
3614 (-[UIDelegate webView:createWebViewWithRequest:]):
3616 2007-11-21 Eric Seidel <eric@webkit.org>
3618 Reviewed by Tim Hatcher.
3620 Abstract more of DRT into static methods
3622 * DumpRenderTree/mac/DumpRenderTree.mm:
3623 (setDefaultsToConsistentValuesForTesting):
3624 (setupSignalHandlers):
3625 (allocateGlobalControllers):
3627 (releaseGlobalControllers):
3629 (shouldLogFrameLoadDelegates):
3630 (createCFURLFromPathOrURL):
3631 (resetWebViewToConsistentStateBeforeTesting):
3634 2007-11-21 Eric Seidel <eric@webkit.org>
3636 Reviewed by Tim Hatcher.
3638 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
3640 * DumpRenderTree/DumpRenderTree.h:
3641 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3642 * DumpRenderTree/mac/DumpRenderTree.mm:
3646 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
3647 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
3648 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
3649 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
3650 (-[DumpRenderTreePasteboard declareType:owner:]):
3651 (+[LocalPasteboard alloc]):
3652 (-[LocalPasteboard init]):
3653 (-[LocalPasteboard dealloc]):
3654 (-[LocalPasteboard name]):
3655 (-[LocalPasteboard releaseGlobally]):
3656 (-[LocalPasteboard declareTypes:owner:]):
3657 (-[LocalPasteboard addTypes:owner:]):
3658 (-[LocalPasteboard changeCount]):
3659 (-[LocalPasteboard types]):
3660 (-[LocalPasteboard availableTypeFromArray:]):
3661 (-[LocalPasteboard setData:forType:]):
3662 (-[LocalPasteboard dataForType:]):
3663 (-[LocalPasteboard setPropertyList:forType:]):
3664 (-[LocalPasteboard setString:forType:]):
3665 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
3666 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
3667 (+[DumpRenderTreeWindow allWindows]):
3668 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
3669 (-[DumpRenderTreeWindow dealloc]):
3670 (-[DumpRenderTreeWindow isKeyWindow]):
3671 (-[DumpRenderTreeWindow keyDown:]):
3673 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
3675 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
3676 it indiscriminately copies any headers inside JavaScriptCore,