1 2007-12-01 Adam Treat <treat@kde.org>
5 * Don't hide symbols when in Debug mode
6 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
9 * DumpRenderTree/qt/main.cpp:
12 2007-11-30 Alp Toker <alp@atoker.com>
14 Reviewed by Adam Roben.
16 http://bugs.webkit.org/show_bug.cgi?id=15691
17 [GTK] Public API does not follow GTK+ conventions
19 Refactor the WebKit/GTK+ public API. Changes:
20 WebKitPage -> WebKitWebView
21 WebKitFrame -> WebKitWebFrame
23 Public API source and header names have been updated to mirror the API
26 The API is now kept in WebKit/gtk/WebView to match other ports in the
27 same class such as Mac and Win.
30 (activate_uri_entry_cb):
39 2007-11-30 Adam Roben <aroben@apple.com>
41 Hopefully the final build fix
43 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
44 pull in WTF's assertion/logging functions.
46 2007-11-30 Adam Roben <aroben@apple.com>
50 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
53 2007-11-30 Adam Roben <aroben@apple.com>
57 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
59 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
61 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
62 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
63 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
65 2007-11-30 Sam Weinig <sam@webkit.org>
67 Reviewed by Adam Roben.
69 Fix drawSelectionRect to actually draw the selection rect.
71 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
74 2007-11-30 Darin Adler <darin@apple.com>
76 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
78 2007-11-30 Darin Adler <darin@apple.com>
80 * Scripts/do-webcore-rename: Get ready for some future renaming.
82 2007-11-29 Kevin McCullough <kmccullough@apple.com>
86 - Removed some unnecessary functions and changed an unused return type.
88 * Drosera/win/DebuggerClient.cpp:
89 (registerConsoleClass):
90 * Drosera/win/DebuggerClient.h:
91 * Drosera/win/Drosera.cpp:
92 (registerDroseraClass):
94 2007-11-28 Alp Toker <alp@atoker.com>
96 Reviewed by Timothy Hatcher.
98 http://bugs.webkit.org/show_bug.cgi?id=16174
99 [GTK] Use "URI" not "URL" in public API
101 Replace use of the term "URL" with "URI" in public headers,
102 documentation and some internal code to match GLib/GTK+ convention.
104 This is now mentioned in the API guidelines:
105 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
107 * GtkLauncher/main.c:
108 (activate_uri_entry_cb):
113 2007-11-29 Anders Carlsson <andersca@apple.com>
117 <rdar://problem/5230478>
118 FrameLoadDelegate callbacks are not dumped in DRT.
120 * DumpRenderTree/win/DumpRenderTree.cpp:
121 (shouldLogFrameLoadDelegates):
124 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
126 (descriptionSuitableForTestResult):
127 (FrameLoadDelegate::QueryInterface):
128 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
129 (FrameLoadDelegate::didFailProvisionalLoadWithError):
130 (FrameLoadDelegate::didCommitLoadForFrame):
131 (FrameLoadDelegate::didFinishLoadForFrame):
132 (FrameLoadDelegate::willCloseFrame):
133 (FrameLoadDelegate::didClearWindowObject):
134 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
135 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
136 * DumpRenderTree/win/FrameLoaderDelegate.h:
137 (FrameLoadDelegate::windowScriptObjectAvailable):
138 (FrameLoadDelegate::didFirstLayoutInFrame):
140 2007-11-29 Sam Weinig <sam@webkit.org>
144 Add database quota UIDelegates methods to DRT UIDelegate.
146 * DumpRenderTree/mac/UIDelegate.mm:
147 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
148 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
150 2007-11-29 Kevin McCullough <kmccullough@apple.com>
154 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
155 dying and vice versa.
156 - This fix will allow Drosera and Safari to reconnect if either of them
157 closes correctly, but does not fix the case where one of them dies
160 * Drosera/win/ServerConnection.cpp:
161 (ServerConnection::attemptToCreateServerConnection): Added a safety
162 check, because it's possilbe to try to connect to a server that's dying.
163 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
165 * Drosera/win/ServerConnection.h: Added the new function and removed
166 an unnecessary member.
168 2007-11-29 Anders Carlsson <andersca@apple.com>
170 * DumpRenderTree/win/DumpRenderTree.vcproj:
171 Add shlwapi.lib to all configurations.
173 2007-11-29 Kevin McCullough <kmccullough@apple.com>
175 - Build fix. Added additional includes for VS Express to the Release
178 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
180 2007-11-29 Anders Carlsson <andersca@apple.com>
184 <rdar://problem/5132005>
185 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
187 * DumpRenderTree/win/DumpRenderTree.vcproj:
190 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
191 (LayoutTestController::setUserStyleSheetEnabled):
194 (appendComponentToPath):
195 New method which wraps the Win32 API PathAppend.
198 New method which checks if a file points to a shortcut and
199 follows the shortcut.
202 New method that takes a cygwin unix-style path and returns the Win32 path.
204 (cfStringRefToWString):
206 (LayoutTestController::setUserStyleSheetLocation):
209 2007-11-29 Alice Liu <alice.liu@apple.com>
213 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
215 * DumpRenderTree/win/EventSender.cpp:
217 uppercase letters were being sent as lowercase letters without the shift key down.
219 2007-11-29 Kevin McCullough <kmccullough@apple.com>
221 - Windows build fix. VS express needs some love.
223 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
225 2007-11-28 Darin Adler <darin@apple.com>
227 Reviewed by Adam Roben.
229 * DumpRenderTree/mac/EventSendingController.mm:
230 (-[EventSendingController keyDown:withModifiers:]):
231 Send capital letters through as lowercase letters with the shift key down
232 rather than sending them as if they were highly unusual "capital letter keys".
234 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
235 where you need to update results and more tests are failing than before.
237 2007-11-28 Anders Carlsson <andersca@apple.com>
241 <rdar://problem/5132001>
242 contextClick is not implemented in DRT on Windows.
244 * DumpRenderTree/win/EventSender.cpp:
245 (contextClickCallback):
246 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
247 by a WM_RBUTTONUP message.
249 * DumpRenderTree/win/UIDelegate.cpp:
250 (UIDelegate::hasCustomMenuImplementation):
251 (UIDelegate::trackCustomPopupMenu):
252 * DumpRenderTree/win/UIDelegate.h:
253 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
254 menu from being shown (and causing the DRT to hang).
256 2007-11-27 Maciej Stachowiak <mjs@apple.com>
260 Fix DumpRenderTree ObjC bug comparing strings.
262 * DumpRenderTree/mac/ObjCController.m:
263 (-[ObjCController identityIsEqual::]): Compare strings with string
264 equality instead of identiy equality.
266 2007-11-27 Timothy Hatcher <timothy@apple.com>
270 Reset the authorAndUserStylesEnabled preference
271 back to YES for each test. Fixes the broken tests.
273 * DumpRenderTree/mac/DumpRenderTree.mm:
274 (resetWebViewToConsistentStateBeforeTesting):
276 2007-11-27 Kevin McCullough <kmccullough@apple.com>
280 - Drosera now displays the console window, although it cannot currently
283 * Drosera/win/DebuggerClient.cpp: Shows the console window.
284 (registerConsoleClass): Implemented.
285 (consoleWndProc): Implemented.
286 (DebuggerClient::onSize): Implemented.
287 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
289 * Drosera/win/DebuggerClient.h: Added needed method and members for
290 creating and maintaining a new window.
291 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
292 lines of code to more appropriate places.
293 (Drosera::handleCommand):
298 2007-11-27 Timothy Hatcher <timothy@apple.com>
300 Reviewed by Dave Hyatt.
302 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
304 Add support for disabling author and user styles for testing.
306 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
307 * DumpRenderTree/LayoutTestController.cpp:
308 (setAuthorAndUserStylesEnabledCallback):
309 (LayoutTestController::staticFunctions):
310 * DumpRenderTree/LayoutTestController.h:
311 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
312 (LayoutTestController::setAuthorAndUserStylesEnabled):
313 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
314 (LayoutTestController::setAuthorAndUserStylesEnabled):
316 2007-11-26 Dan Bernstein <mitz@apple.com>
320 * DumpRenderTree/mac/Configurations/Base.xcconfig:
322 2007-11-26 Kevin McCullough <kmccullough@apple.com>
326 - Implemented displaying variables for Drosera on Win.
328 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
329 that retrieve variables to not hold onto the return value since it's
330 not returned. Also changed to use the new signatures of the retrieval
332 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
333 (DebuggerDocument::platformValueForScopeVariableNamed):
334 * Drosera/win/Drosera.cpp: Removed a needless TODO.
337 2007-11-26 Sam Weinig <sam@webkit.org>
339 Cleanup names of painting and repainting functions.
341 Reviewed by Adam Roben.
343 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
344 (drawSelectionRect): was drawSelectionRectIntoContext.
345 (dumpWebViewAsPixelsAndCompareWithExpected):
346 * DumpRenderTree/cg/PixelDumpSupportCG.h:
347 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
348 (paintWebView): was drawWebViewIntoContext.
349 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
351 2007-11-26 Sam Weinig <sam@webkit.org>
353 Reviewed by Dan Bernstein.
357 * DumpRenderTree/mac/Configurations/Base.xcconfig:
359 2007-11-26 Sam Weinig <sam@webkit.org>
361 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
362 Use shared PixelDumpSupport for Mac DRT
364 Reviewed by Adam Roben.
366 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
367 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
368 * DumpRenderTree/cg/ImageDiffCG.cpp:
369 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
370 (drawSelectionRectIntoContext):
371 (dumpWebViewAsPixelsAndCompareWithExpected):
372 * DumpRenderTree/cg/PixelDumpSupportCG.h:
373 * DumpRenderTree/mac/Configurations/Base.xcconfig:
374 * DumpRenderTree/mac/DumpRenderTree.mm:
376 * DumpRenderTree/mac/ImageDiff.m: Removed.
377 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
378 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
379 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
380 (setDefaultColorProfileToRGB):
381 (getBitmapContextFromWebView):
382 (drawWebViewIntoContext):
383 (repaintWithVerticalSweep):
384 (repaintWithHorizontalSweep):
386 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
388 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
390 Bug 16052: prepare-ChangeLog doesn't report deleted files
391 <http://bugs.webkit.org/show_bug.cgi?id=16052>
395 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
397 2007-11-25 David Kilzer <ddkilzer@webkit.org>
399 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
400 <http://bugs.webkit.org/show_bug.cgi?id=15864>
404 Roll functionality of merge-changelog into resolve-ChangeLogs
405 script. The script now checks for ChangeLog.rej and
406 ChangeLog.orig files first. If it finds them, it uses the
407 ChangeLog.rej file as a patch (in old contextual diff format) to
410 * Scripts/merge-changelog: Removed.
411 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
413 2007-11-25 Sam Weinig <sam@webkit.org>
415 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
417 Reviewed by Mark Rowe.
419 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
420 * DumpRenderTree/mac/Configurations/Base.xcconfig:
421 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
422 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
423 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
425 2007-11-25 Sam Weinig <sam@webkit.org>
427 Convert DumpRenderTree to ues .xcconfig files.
429 Reviewed by Mark Rowe.
431 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
432 * DumpRenderTree/mac/Configurations: Added.
433 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
434 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
435 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
437 2007-11-25 Sam Weinig <sam@webkit.org>
439 Add ForwardingHeaders to wtf for DumpRenderTree.
441 Reviewed by Mark Rowe.
443 * DumpRenderTree/DumpRenderTree.h:
444 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
445 * DumpRenderTree/ForwardingHeaders: Added.
446 * DumpRenderTree/ForwardingHeaders/wtf: Added.
447 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
448 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
449 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
450 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
451 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
452 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
453 * DumpRenderTree/LayoutTestController.cpp:
454 * DumpRenderTree/WorkQueue.cpp:
455 * DumpRenderTree/mac/DumpRenderTree.mm:
456 * DumpRenderTree/mac/FrameLoadDelegate.mm:
457 * DumpRenderTree/mac/JavaScriptThreading.cpp:
458 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
459 * DumpRenderTree/mac/ObjCController.m:
460 * DumpRenderTree/mac/UIDelegate.mm:
461 * DumpRenderTree/mac/WorkQueueItemMac.mm:
463 2007-11-25 Adam Roben <aroben@apple.com>
465 Fix some test failures caused by r28019
467 Now that stdout is in binary mode, we need to always use printf
468 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
473 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
475 (UIDelegate::runJavaScriptAlertPanelWithMessage):
476 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
477 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
478 (UIDelegate::webViewAddMessageToConsole):
480 2007-11-25 Adam Roben <aroben@apple.com>
482 Set the font smoothing preference in DRT
484 This makes the pixel results on Windows closer to the Mac results.
488 * DumpRenderTree/win/DumpRenderTree.cpp:
489 (initializePreferences):
491 2007-11-25 Adam Roben <aroben@apple.com>
493 Port ImageDiff to CG and C++
495 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
500 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
501 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
503 (createImageFromStdin):
505 (getDifferenceBitmap):
506 (computePercentageDifferent):
507 * DumpRenderTree/win/ImageDiff.vcproj: Added.
509 2007-11-25 Adam Roben <aroben@apple.com>
511 Fix image diff link generation on Windows
515 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
518 2007-11-25 Adam Roben <aroben@apple.com>
520 Implement pixel dumping in Windows DRT
522 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
527 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
528 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
529 Content-Length header.
530 (getMD5HashStringForBitmap):
531 (dumpWebViewAsPixelsAndCompareWithExpected):
532 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
533 * DumpRenderTree/win/DumpRenderTree.cpp:
534 (dump): Do a pixel dump if requested.
535 (main): Parse pixel test options.
536 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
537 the cg/ subdirectory to the include path.
538 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
539 available in a header or import library, so we have to go through this
540 LoadLibrary/GetProcAddress dance to use them.
548 * DumpRenderTree/win/MD5.h: Added.
549 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
550 moved up to the top level to share it with Mac eventually.
551 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
552 (getBitmapContextFromWebView): Forces the WebView to paint using a
553 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
555 2007-11-25 Adam Roben <aroben@apple.com>
557 Clean up Windows DRT's option parsing a little bit
561 * DumpRenderTree/win/DumpRenderTree.cpp:
562 (main): Put non-option arguments into a Vector.
564 2007-11-25 Adam Roben <aroben@apple.com>
566 Make Windows DRT stop changing LF into CRLF
570 * DumpRenderTree/win/DumpRenderTree.cpp:
571 (main): Put stdout in binary mode.
572 * Scripts/run-webkit-tests: Remove the CRLF hack.
574 2007-11-24 David Kilzer <ddkilzer@webkit.org>
576 Removed empty directory.
578 * Scripts/resources: Removed.
580 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
582 Fix bisect-builds to work with recent WebKit nightly builds.
586 * Scripts/bisect-builds: Check for the
587 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
588 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
589 to WebKit.app/Contents/Resources.
591 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
595 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
596 not closed (affects digg.com)
598 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
599 one after finishing with a test to avoid having its delayed onload handler firing when
600 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
601 but it helps somewhat.
603 2007-11-22 Mark Rowe <mrowe@apple.com>
605 Reviewed by Alp Toker.
607 Fix build-webkit to propagate make's exit status if it fails.
609 * Scripts/webkitdirs.pm:
611 2007-11-22 Dan Bernstein <mitz@apple.com>
613 Reviewed by Mark Rowe.
615 - fix crash when running pixel tests
617 * DumpRenderTree/mac/DumpRenderTree.mm:
618 (dumpRenderTree): Parse the command line options before setting up the
619 environment so that we know if we need to set up the pixel dump
622 2007-11-21 Eric Seidel <eric@webkit.org>
624 Speculative build fix for Tiger.
626 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
628 2007-11-21 Eric Seidel <eric@webkit.org>
630 Reviewed by Tim Hatcher.
632 Break out more of DumpRenderTree.mm into individual files
634 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
635 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
638 (makeLargeMallocFailSilently):
639 * DumpRenderTree/mac/CheckedMalloc.h: Added.
640 * DumpRenderTree/mac/DumpRenderTree.mm:
643 * DumpRenderTree/mac/DumpRenderTreeMac.h:
644 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
645 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
646 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
647 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
648 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
650 (runJavaScriptThread):
651 (startJavaScriptThreads):
652 (stopJavaScriptThreads):
653 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
654 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
655 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
657 (setDefaultColorProfileToRGB):
658 (initializeColorSpaceAndScreeBufferForPixelTests):
659 (md5HashStringForBitmap):
660 (dumpWebViewAsPixelsAndCompareWithExpected):
662 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
664 Move install-unix-extras to wx directory as it seems only to be used by that
665 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
666 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
667 have install-unix-extras install into WebKitLibraries as per
670 Reviewed by Mark Rowe.
672 * Scripts/install-unix-extras: Removed.
674 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
676 2007-11-21 Eric Seidel <eric@webkit.org>
680 More refactoring for greater code readability
682 * DumpRenderTree/mac/DumpRenderTree.mm:
683 (initializeGlobalsFromCommandLineOptions):
684 (initializeColorSpaceAndScreeBufferForPixelTests):
685 (addTestPluginsToPluginSearchPath):
686 (useLongRunningServerMode):
687 (runTestingServerLoop):
688 (prepareConsistentTestingEnvironment):
692 (dumpBackForwardListForWebView):
693 (sizeWebViewForCurrentTest):
694 (methodNameStringForFailedTest):
695 (dumpBackForwardListForAllWindows):
696 (dumpWebViewAsPixelsAndCompareWithExpected):
697 (invalidateAnyPreviousWaitToDumpWatchdog):
699 * DumpRenderTree/mac/DumpRenderTreeMac.h:
700 * DumpRenderTree/mac/UIDelegate.mm:
701 (-[UIDelegate webView:createWebViewWithRequest:]):
703 2007-11-21 Eric Seidel <eric@webkit.org>
705 Reviewed by Tim Hatcher.
707 Abstract more of DRT into static methods
709 * DumpRenderTree/mac/DumpRenderTree.mm:
710 (setDefaultsToConsistentValuesForTesting):
711 (setupSignalHandlers):
712 (allocateGlobalControllers):
714 (releaseGlobalControllers):
716 (shouldLogFrameLoadDelegates):
717 (createCFURLFromPathOrURL):
718 (resetWebViewToConsistentStateBeforeTesting):
721 2007-11-21 Eric Seidel <eric@webkit.org>
723 Reviewed by Tim Hatcher.
725 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
727 * DumpRenderTree/DumpRenderTree.h:
728 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
729 * DumpRenderTree/mac/DumpRenderTree.mm:
733 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
734 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
735 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
736 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
737 (-[DumpRenderTreePasteboard declareType:owner:]):
738 (+[LocalPasteboard alloc]):
739 (-[LocalPasteboard init]):
740 (-[LocalPasteboard dealloc]):
741 (-[LocalPasteboard name]):
742 (-[LocalPasteboard releaseGlobally]):
743 (-[LocalPasteboard declareTypes:owner:]):
744 (-[LocalPasteboard addTypes:owner:]):
745 (-[LocalPasteboard changeCount]):
746 (-[LocalPasteboard types]):
747 (-[LocalPasteboard availableTypeFromArray:]):
748 (-[LocalPasteboard setData:forType:]):
749 (-[LocalPasteboard dataForType:]):
750 (-[LocalPasteboard setPropertyList:forType:]):
751 (-[LocalPasteboard setString:forType:]):
752 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
753 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
754 (+[DumpRenderTreeWindow allWindows]):
755 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
756 (-[DumpRenderTreeWindow dealloc]):
757 (-[DumpRenderTreeWindow isKeyWindow]):
758 (-[DumpRenderTreeWindow keyDown:]):
760 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
762 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
763 it indiscriminately copies any headers inside JavaScriptCore,
764 which includes Tiger ICU headers.
767 Don't run WebCore/move-js-headers.sh any longer.
769 2007-11-20 Adam Treat <treat@kde.org>
771 Reviewed by David Kilzer.
773 * Prepend git branch name to $baseProductDir
775 * Scripts/VCSUtils.pm:
776 * Scripts/webkitdirs.pm:
778 2007-11-20 Mark Rowe <mrowe@apple.com>
780 Reviewed by Simon Hausmann.
782 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
783 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
784 Have it trigger a "make distclean" rather than "make clean" to ensure that the
785 built product and generated Makefile's are removed.
787 2007-11-19 Alp Toker <alp@atoker.com>
789 Reviewed by Mark Rowe.
791 http://bugs.webkit.org/show_bug.cgi?id=16040
792 [GTK] GtkLauncher should be written in C
794 Port GtkLauncher to plain C.
796 Use a more conventional GTK+ coding style.
798 Use a toolbar instead of menus.
800 Various signature fixes and cleanups.
802 Add a license header. Assume all previous modifications were copyright
803 assigned to Apple Inc. by default.
805 * GtkLauncher/GtkLauncher.pro:
806 * GtkLauncher/main.c: Added.
807 (activate_url_entry_cb):
811 (progress_change_cb):
820 * GtkLauncher/main.cpp: Removed.
822 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
824 Build script fixes to ensure they do the right thing for the
825 wx port, and update build-wxwebkit to reflect the way the
826 build scripts now work.
830 * Scripts/build-testkjs:
831 * Scripts/build-webkit:
832 * Scripts/run-javascriptcore-tests:
833 * Scripts/webkitdirs.pm:
836 2007-11-18 Eric Seidel <eric@webkit.org>
840 Make run-javascriptcore-tests report failures on exit (to support git bisect)
842 * Scripts/run-javascriptcore-tests:
844 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
846 Reviewed by Adam Roben.
848 Make run-webkit-tests work with Windows debug build.
850 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
851 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
852 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
853 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
854 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
856 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
858 Add wxWebKit sample and build script, and integrate it with
859 build-webkit. Also make build-webkit --clean work for all
862 Reviewed by Darin Adler.
864 * Scripts/build-webkit:
865 * Scripts/webkitdirs.pm:
868 * wx/browser/browser.bkl: Added.
869 * wx/browser/browser.cpp: Added.
870 * wx/build-wxwebkit: Added.
872 2007-11-17 Adam Roben <aroben@apple.com>
874 Make it easy to run Safari in the debugger on Windows
876 I've added a new script, debug-safari, which launches Safari in the
877 debugger. On OS X it just calls gdb-safari.
879 Reviewed by Mark Rowe.
881 * FindSafari/FindSafari.cpp:
882 (_tmain): Added a /debugger flag, which in combination with
883 /printSafariLauncher will print a script that launches Safari in the
885 * Scripts/debug-safari: Added.
886 * Scripts/run-safari: Changed to call runSafari().
887 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
888 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
889 first argument along to FindSafari.
890 * Scripts/webkitdirs.pm:
891 (sub runSafari): Added.
893 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
895 Reviewed by Adam Roben.
897 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
899 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
901 Reviewed by David Kilzer.
903 The git config command was renamed to repo-config at some point. This
904 change tries git config and then git repo-config if the first fails.
906 * Scripts/prepare-ChangeLog:
909 2007-11-16 Dan Bernstein <mitz@apple.com>
911 Reviewed by Darin Adler and Sam Weinig.
913 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
915 * DumpRenderTree/win/EventSender.cpp:
916 (keyDownCallback): For characters that cannot be entered on the active
917 keyboard layout, send a WM_CHAR message with the character along with
918 a WM_KEYDOWN message with a virtual key code of 255.
920 2007-11-16 Mark Rowe <mrowe@apple.com>
922 Reviewed by Tim Hatcher.
924 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
926 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
927 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
929 2007-11-15 Adam Roben <aroben@apple.com>
931 Make run-safari actually work on Windows
933 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
936 2007-11-14 Adam Roben <aroben@apple.com>
938 Updates to Safari launching now that 3.0.4 is released
942 * FindSafari/FindSafari.cpp:
943 (getWebViewCLSID): Use version-independent ProgID.
944 * Scripts/run-safari: Use run-webkit-nightly.cmd.
946 2007-11-14 Anders Carlsson <andersca@apple.com>
950 <rdar://problem/5309081>
951 In DRT, "plugin.logDestroy = true" not working on Windows.
953 * DumpRenderTree/win/TestNetscapePlugin/main.c:
956 2007-11-14 Eric Seidel <eric@webkit.org>
960 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
962 2007-11-14 Anders Carlsson <andersca@apple.com>
966 <rdar://problem/5141186>
967 window.layoutTestController.setWindowIsKey is not implemented in DRT.
969 Implement setWindowIsKey.
971 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
972 (LayoutTestController::setWindowIsKey):
974 2007-11-13 Sam Weinig <sam@webkit.org>
976 Reviewed by Adam Roben.
978 Fix for <rdar://problem/5382579>
979 http/tests/security/cross-frame-access-put.html reports large
980 negative numbers for screenLeft and screenTop (Mac reports "0")
982 * DumpRenderTree/win/UIDelegate.cpp:
983 (UIDelegate::UIDelegate): Initialize the RECT.
984 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
985 (UIDelegate::webViewFrame): ditto.
986 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
988 2007-11-13 Kevin McCullough <kmccullough@apple.com>
992 - Make Drosera show source, source URLs, and function stack on Windows,
993 and some minor fixes.
995 * Drosera/DebuggerDocument.cpp: Force source to always update display.
996 (DebuggerDocument::updateFileSource):
997 * Drosera/debugger.js: Force source to always update display.
998 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
1000 (DebuggerClient::resume):
1001 (DebuggerClient::pause):
1002 (DebuggerClient::stepInto):
1003 (DebuggerClient::stepOver):
1004 (DebuggerClient::stepOut):
1005 (DebuggerClient::showConsole):
1006 (DebuggerClient::closeCurrentFile):
1007 * Drosera/win/DebuggerClient.h: Ditto.
1008 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
1009 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
1010 removed two bugs. 1) caller could be in a bad state when asked to
1011 assign into it. 2) BSTRs were not created correctly.
1012 (DebuggerDocument::getPlatformCurrentFunctionStack):
1013 * Drosera/win/Drosera.cpp: Hook up the menu controls.
1018 (Drosera::stepInto):
1019 (Drosera::stepOver):
1021 (Drosera::showConsole):
1022 (Drosera::closeCurrentFile):
1023 * Drosera/win/Drosera.h: Hook up the menu controls.
1024 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
1025 functions, added a null check, and fixed another bug where caller could
1026 be in a bad state when asked to assign into it.
1027 (ServerConnection::didLoadMainResourceForDataSource):
1028 (ServerConnection::getCallerFrame):
1029 * Drosera/win/ServerConnection.h: Safety first.
1031 2007-11-13 Dan Bernstein <mitz@apple.com>
1033 Reviewed by Darin Adler.
1035 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
1036 DumpRenderTree --pixel-tests renders each test twice
1038 * DumpRenderTree/mac/DumpRenderTree.mm:
1039 (dumpRenderTree): Removed the --paint option because the painting code
1040 is always exercised as a result of
1041 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
1042 calling -displayIfNeeded.
1043 (dump): Changed to always grab the image from the window since the view
1044 is always displayed.
1047 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
1048 because it always paints.
1050 2007-11-12 Antti Koivisto <antti@apple.com>
1054 Add support for http media tests
1056 * Scripts/run-webkit-tests:
1058 2007-11-12 Sam Weinig <sam@webkit.org>
1060 Reviewed by Adam Roben.
1062 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
1064 * DumpRenderTree/win/DumpRenderTree.cpp:
1066 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1067 (LayoutTestController::setPrivateBrowsingEnabled):
1069 2007-11-12 Adam Roben <aroben@apple.com>
1071 * Scripts/update-webkit-localizable-strings: Changed to only scan the
1072 mac and win subdirectories.
1074 2007-11-11 Adam Roben <aroben@apple.com>
1076 Fix <rdar://5133816> keepWebHistory is not implemented
1078 Fixes fast/history/clicked-link-is-visited.html.
1082 * DumpRenderTree/win/DumpRenderTree.cpp:
1083 (runTest): Clear the optionalSharedHistory.
1084 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1085 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
1087 2007-11-10 Sam Weinig <sam@webkit.org>
1089 Reviewed by Tim Hatcher.
1091 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
1092 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
1095 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
1097 Added test: http/tests/security/cross-frame-access-private-browsing.html
1099 * DumpRenderTree/LayoutTestController.cpp:
1100 (setPrivateBrowsingEnabledCallback):
1101 (LayoutTestController::staticFunctions):
1102 * DumpRenderTree/LayoutTestController.h:
1103 * DumpRenderTree/mac/DumpRenderTree.mm:
1104 (runTest): Default to private browsing disabled.
1105 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1106 (LayoutTestController::setPrivateBrowsingEnabled):
1107 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1108 (LayoutTestController::setPrivateBrowsingEnabled):
1110 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1114 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
1117 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
1118 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
1119 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
1120 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
1121 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
1122 * Drosera/win/Drosera.cpp:
1123 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1125 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1129 - Use the new IWebFrame [local] function signature and get the shared
1132 * Drosera/win/DebuggerClient.cpp:
1133 (DebuggerClient::didFinishLoadForFrame):
1134 * Drosera/win/ServerConnection.cpp:
1135 (ServerConnection::attemptToCreateServerConnection):
1137 2007-11-07 Dan Bernstein <mitz@apple.com>
1139 Reviewed by Darin Adler.
1141 - add an option to run-webkit-tests to ignore pixel test failures where
1142 all pixels differ by no more than a specified threshold
1144 * DumpRenderTree/mac/ImageDiff.m:
1147 (computePercentageDifferent):
1148 * Scripts/run-webkit-tests:
1150 2007-11-07 Simon Hausmann <hausmann@kde.org>
1154 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
1156 * DumpRenderTree/qt/DumpRenderTree.cpp:
1158 2007-11-07 Simon Hausmann <hausmann@kde.org>
1162 Reworked the QWebSettings API.
1163 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
1165 * DumpRenderTree/qt/DumpRenderTree.cpp:
1167 2007-11-07 Simon Hausmann <hausmann@kde.org>
1171 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
1173 * DumpRenderTree/qt/jsobjects.cpp:
1175 2007-11-07 Simon Hausmann <hausmann@kde.org>
1177 Reviewed by Lars Knoll <lars@trolltech.com>.
1179 Add a QWebPage::frameCreated() signal and fix DRT
1181 The removal of createFrame in QWebPage broke the re-implementation
1182 in DumpRenderTree. Instead emit a frameCreated() signal and
1183 connect to it in DumpRenderTree.
1186 * DumpRenderTree/qt/DumpRenderTree.cpp:
1187 (WebCore::WebPage::WebPage):
1188 (WebCore::DumpRenderTree::dump):
1189 (WebCore::DumpRenderTree::connectFrame):
1190 * DumpRenderTree/qt/DumpRenderTree.h:
1192 2007-11-07 Simon Hausmann <hausmann@kde.org>
1194 Reviewed by Lars Knoll <lars@trolltech.com>.
1196 Moved all the event handlers from QWebFrame into QWebPage.
1198 This cleans up the public API and allows us to remove the
1199 HackWebFrame hack in DumpRenderTree.
1202 * DumpRenderTree/qt/jsobjects.cpp:
1203 (EventSender::mouseDown):
1204 (EventSender::mouseUp):
1205 (EventSender::mouseMoveTo):
1207 2007-11-07 Simon Hausmann <hausmann@kde.org>
1211 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
1212 to prevent the default implementation from popping up messageboxes.
1214 * DumpRenderTree/qt/DumpRenderTree.cpp:
1215 (WebCore::WebPage::javaScriptConfirm):
1216 (WebCore::WebPage::javaScriptPrompt):
1218 2007-11-06 Eric Seidel <eric@webkit.org>
1220 * Scripts/build-testkjs: build fix... too many $$
1222 2007-11-06 Eric Seidel <eric@webkit.org>
1224 Reviewed by Mark Rowe.
1226 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
1228 2007-11-05 Adam Roben <aroben@apple.com>
1230 Add support on Windows for WEBKIT_TESTFONTS
1232 This environment variable lets you specify where the fonts to be used
1233 by DumpRenderTree reside. The Qt port is already using this, so I'm
1234 just following their lead.
1238 * DumpRenderTree/win/DumpRenderTree.cpp:
1239 (exePath): Refactored code out of initialize().
1240 (fontsPath): Returns either $WEBKIT_TESTFONTS or
1241 DumpRenderTree.resources.
1242 (initialize): Use the new fontsPath function.
1243 (main): Use the new exePath function.
1244 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
1245 variable to DRT, like Qt does.
1247 2007-11-05 Mark Rowe <mrowe@apple.com>
1249 Rubber-stamped by Alp Toker.
1251 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
1253 * GtkLauncher/main.cpp:
1257 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
1259 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
1260 <http://bugs.webkit.org/show_bug.cgi?id=15830>
1262 Reviewed by Timothy.
1264 Restrict the range of nightly builds used by the bisect-builds script
1265 based on the version of Safari and the version of Mac OS X being used.
1267 Mac OS X 10.4: Safari 2.0: r11976 or newer
1268 Mac OS X 10.4: Safari 3.0: r19992 or newer
1270 Mac OS X 10.5: Safari 2.0: r19594 or newer
1271 Mac OS X 10.5: Safari 3.0: r25124 or newer
1273 * Scripts/bisect-builds:
1274 (findMacOSXVersion): Added.
1275 (makeNightlyList): Added argument to provide version of Mac OS X.
1276 Restrict range of nightly builds based on Safari and Mac OS X versions.
1278 2007-11-04 Kevin McCullough <kmccullough@apple.com>
1282 - This patch involves several changes, all of them were noticed that
1283 they were needed by the work being done in WebKit to get Drosera and
1284 WebKit working together on Windows.
1286 1) Added a debugger console for output messages.
1287 2) Drosera now listens for the WebKit server (before, the server would
1288 have to be running before Drosera was started.)
1289 3) Fixed a bug where the WebView started out as 0x0 pixels.
1290 4) Fixed a bug when there is no scope.
1291 5) Added the HTML, JS, and CSS to the project file to make them easy to
1293 6) Made the ServerConnection functions virtual.
1295 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
1296 for the WebKit server.
1297 (DebuggerClient::DebuggerClient):
1298 (DebuggerClient::~DebuggerClient):
1299 (DebuggerClient::didFinishLoadForFrame):
1300 (DebuggerClient::serverConnected):
1301 (DebuggerClient::attemptToCreateServerConnection):
1302 * Drosera/win/DebuggerClient.h: Ditto.
1303 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
1305 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1306 (DebuggerDocument::platformValueForScopeVariableNamed):
1307 * Drosera/win/Drosera.cpp:
1308 (_tWinMain): Added a console in debug for output messages.
1309 (Drosera::Drosera): Listen for server.
1310 (Drosera::initUI): The server now Initializes COM.
1311 (Drosera::serverConnected): Part of the listening for the server.
1312 (Drosera::attemptToCreateServerConnection): Ditto.
1313 * Drosera/win/Drosera.h: New interface for listening for the server.
1314 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
1315 files to the VS project.
1316 * Drosera/win/ServerConnection.cpp: Part of listening for the server
1318 (ServerConnection::ServerConnection):
1319 (ServerConnection::attemptToCreateServerConnection):
1320 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
1322 (ServerConnection::serverConnected):
1324 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
1328 http://bugs.webkit.org/show_bug.cgi?id=15832
1329 fast/dom/gc-10.html crashes when run alone
1331 Check for !done before using objects that can be already deallocated.
1333 * DumpRenderTree/mac/EditingDelegate.mm:
1334 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1335 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1336 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1337 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1338 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1339 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1340 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1341 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1342 (-[EditingDelegate webViewDidBeginEditing:]):
1343 (-[EditingDelegate webViewDidChange:]):
1344 (-[EditingDelegate webViewDidEndEditing:]):
1345 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1346 (-[EditingDelegate webViewDidChangeSelection:]):
1347 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1348 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1349 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1350 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1351 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1352 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1353 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1354 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1355 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1356 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1357 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1358 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1359 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1360 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1361 (-[FrameLoadDelegate webView:willCloseFrame:]):
1362 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1363 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1364 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1365 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1366 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1367 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1368 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1369 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1370 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1372 2007-11-04 Mark Rowe <mrowe@apple.com>
1374 Build fix. Don't use Carbon.h as the prefix header as it triggers
1375 warnings that would otherwise be suppressed due to it being a system header.
1377 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1379 2007-11-03 Maciej Stachowiak <mjs@apple.com>
1381 Rubber stamped by Adam.
1383 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
1385 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1387 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
1389 Sort files(...); sections of Xcode project files.
1391 Rubber-stamped by Darin.
1393 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1394 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1395 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1396 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1398 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
1400 Script to sort "files(...);" sections in Xcode project.pbxproj files.
1404 * Scripts/sort-Xcode-project-file: Added.
1406 2007-11-02 Darin Adler <darin@apple.com>
1408 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
1410 2007-11-02 Darin Adler <darin@apple.com>
1414 * Scripts/run-sunspider: Pass the "--base" option through.
1416 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
1417 the real script do that. Default configuration to Release to match run-sunspider
1418 so we don't end up building Debug just to compare results.
1420 2007-11-01 Adam Roben <aroben@apple.com>
1422 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
1426 * Scripts/commit-log-editor: Show all the directories beneath the
1427 source root, instead of just the last one.
1429 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
1431 Reviewed by Adam Roben.
1433 Print out an error message when the Windows build fails
1434 and provide guidance on how to find out what went wrong.
1436 * Scripts/build-webkit:
1437 * Scripts/webkitdirs.pm:
1439 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
1441 Rubber-stamped by Adam Roben.
1443 Rolled out r27326 - debug CRT seems to cause no problems after all.
1445 * DumpRenderTree/win/DumpRenderTree.vcproj:
1447 2007-10-31 Adam Roben <aroben@apple.com>
1449 Switch the Debug configuration to using the non-debug CRT
1451 This matches WebKit.
1455 * DumpRenderTree/win/DumpRenderTree.vcproj:
1457 2007-10-31 Antti Koivisto <antti@apple.com>
1461 Disable media tests when doing leak checking on Tiger.
1462 They crash in QuickTime (rdar://problem/5537157).
1464 * Scripts/run-webkit-tests:
1466 2007-10-29 Antti Koivisto <antti@apple.com>
1470 Build media support by default on OSX only.
1472 * Scripts/build-webkit:
1474 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1476 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
1477 get caught by the pre-commit hooks.
1479 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1483 - This is a collection of relatively unrelated changes and cleanups
1484 to Drosera to prepare it for interacting with WebKit. A lot of these
1485 changes are just correcting mistakes, for example removing included
1486 headers that are no longer needed.
1488 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
1489 this will be needed by the DebuggerClient.
1490 (DebuggerDocument::server):
1491 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
1492 * Drosera/win/DebuggerClient.cpp:
1493 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
1494 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
1495 (DebuggerClient::createWebViewWithRequest): Added comment about its
1497 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
1499 (DebuggerClient::webViewLoaded): Moved.
1500 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
1501 file, since this was the only place it was used.
1503 * Drosera/win/Drosera.h: Cleaned up the includes.
1504 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
1505 * Drosera/win/HelperFunctions.h: Removed.
1507 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1511 - Small cleanup in the ServerConnection class.
1513 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
1514 and added an include.
1515 (ServerConnection::currentFrame):
1516 (ServerConnection::getCallerFrame):
1517 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
1518 made a pointer into a COMPtr, and cleaned up the includes.
1520 2007-10-29 Timothy Hatcher <timothy@apple.com>
1522 Reviewed by John Sullivan.
1524 - Place the Localizable.strings file in mac or win directories
1525 if that location exists.
1526 - Also look for UI_STRING in .c files.
1528 * Scripts/extract-localizable-strings:
1530 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1534 - Set the eol-style to native and made all the line endings the same
1535 so that I avoid messy diffs that show eol changes.
1537 * Drosera/win/ServerConnection.cpp:
1538 (ServerConnection::didParseSource):
1539 (ServerConnection::didEnterCallFrame):
1540 (ServerConnection::willExecuteStatement):
1541 (ServerConnection::willLeaveCallFrame):
1542 (ServerConnection::exceptionWasRaised):
1544 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1548 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
1549 functionality that could not have existed previously without the new
1551 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
1552 from a BSTR to a JSValueRef.
1553 (DebuggerDocument::platformEvaluateScript): Implemented.
1554 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
1555 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1557 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
1558 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
1559 * Drosera/win/ServerConnection.cpp: Added a helper function.
1560 (ServerConnection::getCallerFrame):
1561 * Drosera/win/ServerConnection.h: Added a helper function.
1563 2007-10-29 Kevin McCullough <kmccullough@apple.com>
1565 updated reviewers for my previous changelog.
1567 2007-10-29 Kevin McCullough <kmccullough@apple.com>
1568 Reviewed by Maciej and Adam and Geoff.
1570 - Minor mac-side improvements including moving a function to a more
1571 appropriate location, fixing a warning, and correctly checking
1574 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
1575 (DebuggerDocument::willExecuteStatement):
1576 (DebuggerDocument::didEnterCallFrame):
1577 (DebuggerDocument::willLeaveCallFrame):
1578 (DebuggerDocument::windowScriptObjectAvailable):
1579 (DebuggerDocument::callFunctionOnObject):
1580 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
1581 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
1582 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
1583 because it doesn't require the ServerConnection at all.
1584 (NSStringCreateWithJSStringRef): Made an argument const.
1585 (JSValueRefCreateWithNSString): Made an argument const.
1586 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
1587 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1588 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
1589 * Drosera/mac/ServerConnection.mm: Ditto.
1590 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1592 2007-10-29 Sam Weinig <sam@webkit.org>
1594 Reviewed by Adam Roben.
1596 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
1598 * DumpRenderTree/LayoutTestController.cpp:
1599 (LayoutTestController::LayoutTestController):
1600 (getGlobalFlagCallback):
1601 (setGlobalFlagCallback):
1602 (LayoutTestController::getJSClass):
1603 (LayoutTestController::staticValues):
1604 * DumpRenderTree/LayoutTestController.h:
1605 (LayoutTestController::globalFlag):
1606 (LayoutTestController::setGlobalFlag):
1608 2007-10-29 Darin Adler <darin@apple.com>
1612 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
1613 resolution instead of its default.
1615 2007-10-29 David Kilzer <ddkilzer@webkit.org>
1617 Fixed showStatus() to print status for successfully resolved conflicts when using git.
1619 Reviewed by Mark Rowe.
1621 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
1622 was successfully resolved, but this would not show any status because the change had
1623 already been cached in the index using "git add". The solution is to add an optional
1624 second argument to showStatus() which adds the "--cached" switch to the command.
1626 * Scripts/resolve-ChangeLogs:
1629 2007-10-28 Eric Seidel <eric@webkit.org>
1631 Reviewed by Maciej and Geoff, in unison.
1633 * Scripts/run-webkit-tests: remove broken --svg option
1635 2007-10-28 Darin Adler <darin@apple.com>
1639 * Scripts/run-sunspider: Default to "Release" configuration rather than
1640 defaulting to the last configuration used as other scripts do. This can
1641 still be overriden on the command line with "--debug" if there's some
1642 reason to do so. Also fix a typo.
1644 * Scripts/sunspider-compare-results: Fix a typo.
1646 2007-10-26 Kevin McCullough <kmccullough@apple.com>
1650 - Implemented the WebScriptDebugListener functions now that the
1651 WebScriptDebugServer exists
1653 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
1655 (ServerConnection::currentFrame):
1656 (ServerConnection::didLoadMainResourceForDataSource):
1657 (ServerConnection::didParseSource):
1658 (ServerConnection::failedToParseSource):
1659 (ServerConnection::didEnterCallFrame):
1660 (ServerConnection::willExecuteStatement):
1661 (ServerConnection::willLeaveCallFrame):
1662 (ServerConnection::exceptionWasRaised):
1663 * Drosera/win/ServerConnection.h: Removed unused arguments from the
1664 members arguments list.
1666 2007-10-26 David Kilzer <ddkilzer@webkit.org>
1668 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
1669 <http://bugs.webkit.org/show_bug.cgi?id=15600>
1673 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
1674 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
1675 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
1676 file. Note that it may also be used as a stand-alone script.
1678 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
1679 * Scripts/resolve-ChangeLogs: Added.
1680 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
1682 2007-10-26 Mark Rowe <mrowe@apple.com>
1684 Qt build fix. r27084 added a destructor implementation for LayoutTestController
1685 to the Qt port on the assumption that it was an implementation of the cross-platform
1686 LayoutTestController class. It is not, so it did not need to be changed.
1688 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
1690 2007-10-25 Mark Rowe <mrowe@apple.com>
1694 Fix builds with code coverage enabled.
1696 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
1698 2007-10-25 Darin Adler <darin@apple.com>
1700 Reviewed by Mark Rowe.
1702 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
1703 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
1705 2007-10-25 Stephanie <slewis@apple.com>
1709 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1711 2007-10-25 Stephanie <slewis@apple.com>
1713 Reviewed by Mark Rowe, Adam Roben.
1715 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
1717 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1719 2007-10-25 Alice Liu <alice.liu@apple.com>
1723 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
1725 Moving destructor into platform-specific files
1726 * DumpRenderTree/LayoutTestController.cpp:
1727 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1728 (LayoutTestController::~LayoutTestController):
1729 * DumpRenderTree/qt/jsobjects.cpp:
1730 (LayoutTestController::~LayoutTestController):
1732 LayoutTestController wasn't being destroyed
1733 * DumpRenderTree/win/DumpRenderTree.cpp:
1737 * DumpRenderTree/win/EditingDelegate.h:
1739 Reset certain values on the webview (or related delegate) that might
1740 have changed while running a test
1741 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1742 (LayoutTestController::~LayoutTestController):
1744 2007-10-25 Adam Roben <aroben@apple.com>
1746 Make sunspider-compare-results work with relative paths
1750 * Scripts/sunspider-compare-results: Convert arguments to absolute
1751 paths before we chdir.
1753 2007-10-25 Kevin McCullough <kmccullough@apple.com>
1757 - Implemented server calls now the WebScriptDebugServer exists.
1758 - Also removed no longer needed call to initialize CG.
1760 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
1763 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
1764 (ServerConnection::ServerConnection):
1765 (ServerConnection::~ServerConnection):
1766 (ServerConnection::pause):
1767 (ServerConnection::resume):
1768 (ServerConnection::stepInto):
1769 (ServerConnection::applicationTerminating):
1770 (ServerConnection::serverConnectionDidDie):
1771 * Drosera/win/ServerConnection.h: Now uses the COM class.
1773 2007-10-24 George Staikos <staikos@kde.org>
1777 * Scripts/build-webkit:
1779 2007-10-24 Adam Roben <aroben@apple.com>
1781 Remove now-unnecessary call to InitializeCoreGraphics
1783 WebKit takes care of this now.
1787 * DumpRenderTree/win/DumpRenderTree.cpp:
1790 2007-10-24 Adam Roben <aroben@apple.com>
1792 Use WebTextRenderer in DRT
1796 * DumpRenderTree/win/DumpRenderTree.cpp:
1797 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
1799 2007-10-24 Sven Herzberg <sven@imendio.com>
1801 Reviewed by Mark Rowe.
1803 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
1804 Bug 15614: [GTK] qmake based backends don't build on OS X
1806 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
1807 GTK backend on a Mac
1808 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
1809 isDarwin() to make it reusable in other places (like the workaround-
1810 for-prebuilt-qmake in build-webkit)
1812 2007-10-24 David Kilzer <ddkilzer@webkit.org>
1814 Refurbish update-webkit script.
1818 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
1819 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
1820 multi-argument version of system() for flexibility and security. Check for existence
1821 of Internal directory using -d test instead of -x.
1823 2007-10-24 David Kilzer <ddkilzer@webkit.org>
1825 Minor clean-up of prepare-ChangeLog script.
1829 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
1830 of a string. Use multi-argument versions of open() and system() for flexibility and
1833 2007-10-24 Alice Liu <alice.liu@apple.com>
1837 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
1839 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
1840 replay the saved events when we're still processing the mousedown that starts the drag
1841 * DumpRenderTree/win/EventSender.cpp:
1843 * DumpRenderTree/win/UIDelegate.cpp:
1844 (UIDelegate::doDragDrop):
1846 2007-10-24 Kevin McCullough <kmccullough@apple.com>
1848 Reviewed by Sam, Steve and Darin.
1850 - Stubbed out the WebScriptDebugListener functionality in the Server
1851 Connection class to prepare it for receiving those callbacks.
1852 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
1853 and the ServerConnection to not need to be initialized with a server
1854 name, since that is not the way we connect to the WebKit server.
1856 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
1857 no exception. Now it only loggs when there is an exception
1858 (DebuggerDocument::willExecuteStatement):
1859 (DebuggerDocument::didEnterCallFrame):
1860 (DebuggerDocument::willLeaveCallFrame):
1861 (DebuggerDocument::windowScriptObjectAvailable):
1862 (DebuggerDocument::callFunctionOnObject):
1863 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
1864 to be instantiated with a server's name.
1865 (DebuggerClient::DebuggerClient):
1866 (DebuggerClient::didFinishLoadForFrame):
1867 * Drosera/win/DebuggerClient.h: Removed unsued variable.
1868 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
1871 (Drosera::initServer):
1872 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
1873 instantiated with a server's name.
1874 * Drosera/win/ServerConnection.cpp:
1875 (ServerConnection::ServerConnection): No longer needs a server name
1876 (ServerConnection::~ServerConnection): Only release the global context
1878 (ServerConnection::serverConnectionDidDie): Stub for
1879 IWebScriptDebugListener
1880 (ServerConnection::QueryInterface): ditto
1881 (ServerConnection::AddRef): ditto
1882 (ServerConnection::Release): ditto
1883 (ServerConnection::didLoadMainResourceForDataSource): ditto
1884 (ServerConnection::didParseSource): ditto
1885 (ServerConnection::failedToParseSource): ditto
1886 (ServerConnection::didEnterCallFrame): ditto
1887 (ServerConnection::willExecuteStatement): ditto
1888 (ServerConnection::willLeaveCallFrame): ditto
1889 (ServerConnection::exceptionWasRaised): ditto
1890 * Drosera/win/ServerConnection.h: Stubbed out the
1891 IWebScriptDebugListener functions, and this class no longer needs to be
1892 instantiated with a server name.
1894 2007-10-24 Lars Knoll <lars@trolltech.com>
1898 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
1900 * DumpRenderTree/qt/jsobjects.h:
1902 2007-10-24 Lars Knoll <lars@trolltech.com>
1906 add another command.
1908 * DumpRenderTree/qt/jsobjects.cpp:
1909 (TextInputController::doCommand):
1911 2007-10-24 Lars Knoll <lars@trolltech.com>
1915 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
1917 * DumpRenderTree/qt/jsobjects.cpp:
1918 (EventSender::keyDown):
1919 * DumpRenderTree/qt/jsobjects.h:
1921 2007-10-24 Lars Knoll <lars@trolltech.com>
1925 implement eventSender.keyDown().
1927 * DumpRenderTree/qt/jsobjects.cpp:
1928 (EventSender::keyDown):
1930 2007-10-24 Lars Knoll <lars@trolltech.com>
1934 some smaller fixes to the editing support in DRT. Makes another few tests pass.
1936 * DumpRenderTree/qt/DumpRenderTree.cpp:
1937 (WebCore::DumpRenderTree::DumpRenderTree):
1938 (WebCore::DumpRenderTree::initJSObjects):
1939 * DumpRenderTree/qt/jsobjects.cpp:
1940 (TextInputController::doCommand):
1942 2007-10-24 Lars Knoll <lars@trolltech.com>
1946 first bit of implementation for the textinputcontroller.
1948 * DumpRenderTree/qt/DumpRenderTree.cpp:
1949 (WebCore::DumpRenderTree::DumpRenderTree):
1950 * DumpRenderTree/qt/DumpRenderTree.h:
1951 * DumpRenderTree/qt/jsobjects.cpp:
1952 (TextInputController::TextInputController):
1953 (TextInputController::doCommand):
1954 * DumpRenderTree/qt/jsobjects.h:
1956 2007-10-24 Lars Knoll <lars@trolltech.com>
1960 make the man webpage believe it has focus, so the editing tests work correctly.
1962 * DumpRenderTree/qt/DumpRenderTree.cpp:
1963 (WebCore::DumpRenderTree::DumpRenderTree):
1965 2007-10-24 Lars Knoll <lars@trolltech.com>
1969 implement layoutTestController.dumpEditingCallbacks() correctly.
1971 * DumpRenderTree/qt/DumpRenderTree.cpp:
1972 (WebCore::DumpRenderTree::DumpRenderTree):
1973 * DumpRenderTree/qt/jsobjects.cpp:
1974 (LayoutTestController::reset):
1975 (LayoutTestController::dumpEditingCallbacks):
1977 2007-10-24 Lars Knoll <lars@trolltech.com>
1981 Implement support for testing editing.
1983 * DumpRenderTree/qt/DumpRenderTree.cpp:
1984 (WebCore::DumpRenderTree::DumpRenderTree):
1986 2007-10-23 Sam Weinig <sam@webkit.org>
1988 Check for null BSTR that can be passed to the UIDelegate methods
1989 from javascript null and undefined. Fixes a failing test case on
1990 Windows (fast/dom/Window/alert-undefined.html)
1992 Reviewed by Eric Seidel.
1994 * DumpRenderTree/win/UIDelegate.cpp:
1995 (UIDelegate::runJavaScriptAlertPanelWithMessage):
1996 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1997 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1998 (UIDelegate::webViewAddMessageToConsole):
2000 2007-10-23 Maciej Stachowiak <mjs@apple.com>
2004 Don't print a massive pile of setenvs from tools that automatically build testkjs.
2006 * Scripts/build-testkjs:
2008 2007-10-23 Maciej Stachowiak <mjs@apple.com>
2012 - add wrapper that finds the right copy of testkjs
2014 * Scripts/sunspider-compare-results: Added.
2016 2007-10-23 Kevin McCullough <kmccullough@apple.com>
2020 - After talking with Steve I now see that the WebKit server must be
2021 running for DCOM to create the distributed objects, which makes sense
2022 and currently WebKit only allows one instance to be running at a time
2023 which avoids accidentally connecting to the wrong server
2024 - In light of this I have removed the code for the attach box and
2025 NotificationServer and known server names, since they are all extranious
2028 * Drosera/win/Drosera.cpp: Removed notification classes and known server
2030 (_tWinMain): Uses init instead of initUI.
2031 (droseraWndProc): No longer creats an attach dialog box.
2032 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
2033 it's not manditory to call init before doing COM stuff.
2034 (Drosera::init): calls initUI and will call attach when the
2035 functionality exists.
2036 (Drosera::initUI): Has changed very little.
2037 (Drosera::attach): Changed the signature to reflect that we no longer
2038 need the dictionary of known server names.
2039 * Drosera/win/Drosera.h: Removed notification classes and known server
2040 names. Also renamed and moved some functions.
2041 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
2042 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
2043 headers to the resources folder.
2044 * Drosera/win/resource.h: Removed the Attach box.
2046 2007-10-22 Adam Roben <aroben@apple.com>
2050 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
2052 2007-10-22 Kevin McCullough <kmccullough@apple.com>
2054 - Removed a leak that was fixed.
2056 * Scripts/run-webkit-tests:
2058 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2062 - Changed the Client so that the DebuggerDocument now own the
2063 ServerConnection. This simplifies ownership and cleanup.
2065 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
2067 (DebuggerClient::initWithServerName):
2068 (DebuggerClient::didFinishLoadForFrame):
2069 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
2071 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
2072 until after we have a server which we are attached to.
2075 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
2078 2007-10-22 Simon Hausmann <hausmann@kde.org>
2080 Reviewed by Nikolas.
2082 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
2084 * Scripts/run-javascriptcore-tests:
2086 2007-10-22 Simon Hausmann <hausmann@kde.org>
2088 Reviewed by Nikolas.
2090 Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
2092 * Scripts/build-drosera:
2093 * Scripts/build-dumprendertree:
2094 * Scripts/build-testkjs:
2095 * Scripts/build-webkit:
2096 * Scripts/run-javascriptcore-tests:
2097 * Scripts/run-sunspider:
2098 * Scripts/run-webkit-tests:
2099 * Scripts/webkitdirs.pm:
2101 2007-10-22 Andrew Wellington <proton@wiretapped.net>
2103 Reviewed by Mark Rowe.
2105 Fix for local database support after r26879
2106 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
2108 * Scripts/build-webkit:
2110 2007-10-22 Holger Freyther <zecke@selfish.org>
2112 Reviewed by Simon Hausmann <hausmann@kde.org>.
2114 - Do not build testkjs as an application bundle. This is
2115 needed for run-javascriptcore-tests on OSX.
2116 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
2117 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
2118 as we do not have -rpath on OSX.
2120 * DumpRenderTree/qt/DumpRenderTree.pro:
2121 * Scripts/run-webkit-tests:
2123 2007-10-22 Simon Hausmann <hausmann@kde.org>
2127 Fix support for Signed-off-by detection in prepare-ChangeLog
2128 --git-commit. The Signed-off-by tag does not appear in the header
2129 but usually at the end.
2131 * Scripts/prepare-ChangeLog:
2133 2007-10-21 Mark Rowe <mrowe@apple.com>
2137 Fix run-javascriptcore-tests for Gtk.
2139 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
2141 2007-10-20 Eric Seidel <eric@webkit.org>
2145 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
2147 2007-10-20 Eric Seidel <eric@webkit.org>
2151 Add improved argument handling to run-sunspider, including
2152 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
2153 Also re-factor code into subroutines
2155 * Scripts/build-dumprendertree: removed bogus comments
2156 * Scripts/build-testkjs: Added.
2157 * Scripts/run-javascriptcore-tests: use build-testkjs
2158 * Scripts/run-sunspider: improved argument handling, abstraction
2159 * Scripts/run-webkit-tests: improved abstraction
2161 2007-10-20 Matt Lilek <webkit@mattlilek.com>
2163 Not reviewed, Windows build fix.
2165 * DumpRenderTree/win/EventSender.cpp:
2168 2007-10-20 Darin Adler <darin@apple.com>
2170 Reviewed by Tim Hatcher.
2172 - http://bugs.webkit.org/show_bug.cgi?id=15544
2173 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
2174 not rely on Apple-specific key codes
2176 * DumpRenderTree/mac/EventSendingController.mm:
2177 (-[EventSendingController keyDown:withModifiers:]):
2178 Added named key "rightArrow". Later we could have a whole table of these.
2179 Also tweaked modifiers code a little.
2181 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
2183 2007-10-19 Darin Adler <darin@apple.com>
2187 - http://bugs.webkit.org/show_bug.cgi?id=15566
2188 possible fix for leak seen in DumpRenderTree
2190 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
2191 Delete the item if it's not put on the queue, since the caller has
2192 no way of knowing that. Would be better to have the parameter type
2193 be auto_ptr to express the fact that we take ownership.
2197 * Drosera/mac/main.m: Add missing include.
2199 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2203 - This change should be identical but for some reason was not working
2206 * Scripts/prepare-ChangeLog:
2208 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2210 Reviewed by Oliver and Tim.
2212 - Made use of RetainPtr to avoid retain and release issues and moved the
2213 log function to DebuggerDocumentPlatform, which seems to be a more
2214 logical place for it to live.
2215 - Also moved knownServers from the ServerConnection to
2216 DebuggerApplication to match the Windows code and because it makes sense
2217 that a connection knows its own server but not all of them.
2219 * Drosera/mac/DebuggerClient.h: Moved the log function to
2220 DebuggerDocumentPlatform.
2221 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
2222 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
2223 call for the server name up from the ServerConnection class.
2224 (-[DebuggerClient dealloc]):
2225 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
2226 for the server name up from the ServerConnection.
2227 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
2228 (DebuggerDocument::platformPause):
2229 (DebuggerDocument::platformResume):
2230 (DebuggerDocument::platformStepInto):
2231 (DebuggerDocument::platformEvaluateScript):
2232 (DebuggerDocument::getPlatformCurrentFunctionStack):
2233 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2234 (DebuggerDocument::platformValueForScopeVariableNamed):
2235 (DebuggerDocument::platformLog): Log directly from here. No need to call
2237 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
2238 way I see it, a ServerConnection should only know about its connection
2239 and the group of all possible servers should be kept by the
2241 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
2242 currentServerName, it makes sense that the connection should know that
2244 (-[ServerConnection currentServerName]):
2246 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2250 - Integrated changes from mac drosera. Recently I've encapsulated
2251 out the server connection object from the rest of Drosera because
2252 it is very platform dependent right now and RPC is not implemented on
2253 windows. This functionality, of communicating with the WebKit server
2254 is the next area I will be focusing on in Windows.
2256 - Other changes and cleanup were made to organize the code and add notes
2257 on which parts still need work. Also some mac code is added and
2258 commented out, to act as pseudocode for the logic of those parts.
2260 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
2262 * Drosera/config.h: Added whitespace.
2263 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
2264 these files got moved into Drosera.h/cpp
2265 * Drosera/win/DebuggerApplication.h: Removed.
2266 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
2267 happened here to better match the logic flow of the same code on the
2268 mac side and to use the new ServerConnection class.
2269 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
2270 (DebuggerClient::initWithServerName): Initializer that will set up the
2271 class to use a ServerConnection object. This was necessary so I could
2272 create a DebuggerClient without having to initilaize it at
2274 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
2275 will be the UIDelegate and FrameLoadDelegate.
2276 (DebuggerClient::AddRef): For IUnknown.
2277 (DebuggerClient::Release): For IUnknown.
2278 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
2279 this still needs to set the global context of the server, but
2280 IWebFrame does not have an accessor for the global context yet.
2281 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
2282 this is a pass through for the same function in the document.
2283 (DebuggerClient::didReceiveTitle): Unimplemented part of
2284 FrameLoadDelegate this would change the title of the window.
2285 (DebuggerClient::createWebViewWithRequest): Part of the
2286 FrameLoadDelegate. This is about new windows via Window.open() and
2287 how their delegates are set.
2288 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
2289 UIDelegate. Just a debug function for printing messages.
2290 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
2291 because the Client should be the UIDelegate and FrameLoadDelegate
2292 to match the delegates on mac.
2293 (DebuggerClient::webViewLoaded): Added accessor method.
2294 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
2295 forgotten to add this file before. This is where the platform
2296 dependent versions of the Documents functions live. Most of these are
2297 unimplemented because some piece of functionality does not exist on
2299 (DebuggerDocument::platformPause):
2300 (DebuggerDocument::platformResume):
2301 (DebuggerDocument::platformStepInto):
2302 (DebuggerDocument::platformEvaluateScript):
2303 (DebuggerDocument::getPlatformCurrentFunctionStack):
2304 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2305 (DebuggerDocument::platformValueForScopeVariableNamed):
2306 (DebuggerDocument::platformLog):
2307 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
2308 responsibilities becaue they belong in the Client. Also I laid the
2309 groundwork for attaching Drosera to a WebKit process
2310 (attachWndProc): Now if a server is selected the Client becomes it's
2312 (Drosera::Drosera): Added the construction of the Client and dictionary
2314 (Drosera::initUI): This is no longer the delegates, the Client is.
2315 (Drosera::webViewLoaded): Now asks the Client instead of holding local
2317 (Drosera::applicationDidFinishLaunching): Placeholder for needed
2318 notification registration when it's possible to implement.
2319 (Drosera::serverLoaded): Ditto
2320 (Drosera::serverUnloaded): Ditto
2321 (Drosera::attach): Attach Drosera to the WebKit server.
2322 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
2325 (Drosera::knownServers):
2326 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
2327 and added the ServerConnection.
2328 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
2329 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
2330 Most of the functions are completely unimlemented because they cannot
2331 connect with the WebKit server, because one does not exist on Windows
2333 (ServerConnection::initWithServerName):
2334 (ServerConnection::~ServerConnection):
2335 (ServerConnection::setGlobalContext):
2336 (ServerConnection::pause):
2337 (ServerConnection::resume):
2338 (ServerConnection::stepInto):
2339 (ServerConnection::switchToServerNamed):
2340 (ServerConnection::applicationTerminating):
2341 (ServerConnection::serverConnectionDidDie):
2342 (ServerConnection::currentFrame):
2343 * Drosera/win/ServerConnection.h: Added. Ditto.
2344 (ServerConnection::ServerConnection):
2346 2007-10-19 Alice Liu <alice.liu@apple.com>
2350 Fix for these broken layout tests on Windows:
2352 fast/forms/focus-selection-input.html
2353 fast/forms/focus-selection-textarea.html
2354 fast/forms/select-accesskey.html
2356 * DumpRenderTree/win/EventSender.cpp:
2358 correct the VK code for alt key.
2360 2007-10-19 Eric Seidel <eric@webkit.org>
2362 Reviewed by Mark Rowe.
2364 Make the GtkLauncher code slightly more readable.
2366 * GtkLauncher/main.cpp:
2367 (setupMainMenu): Added.
2368 (setupMainWindowUI): Added.
2371 2007-10-19 Maciej Stachowiak <mjs@apple.com>
2373 Rubber stamped by Adam.
2375 - don't delay-load WebKit in DumpRenderTree.
2377 * DumpRenderTree/win/DumpRenderTree.vcproj:
2379 2007-10-18 Dan Bernstein <mitz@apple.com>
2381 Reviewed by Adam Roben.
2383 - fix <rdar://problem/5313523>
2384 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
2386 * DumpRenderTree/mac/DumpRenderTree.mm:
2387 (dump): Changed to use _responseMIMEType.
2389 2007-10-17 Adam Roben <aroben@apple.com>
2391 Make it possible to have Windows-specific tests and results
2393 When searching for tests to run and the Skipped file, we will only
2394 look in platform/win and the cross-platform directory. When looking
2395 for expected results, we will look in platform/win, then
2396 platform/mac-leopard, then platform/mac, then finally the
2397 cross-platform directory.
2401 * Scripts/run-webkit-tests:
2402 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
2403 searching in the cross-platform directory.
2404 (sub buildPlatformHierarchy): Removed some unneeded calls to
2407 2007-10-17 Adam Roben <aroben@apple.com>
2409 Add back the call to register WebKit that we had before WebKitInitializer existed
2411 This is needed to ensure that the right WebKit is used when
2412 instantiating COM objects.
2416 * DumpRenderTree/win/debug_internal.vsprops: Define
2417 DEBUG_WEBKIT_HAS_SUFFIX.
2418 * DumpRenderTree/win/DumpRenderTree.cpp:
2421 2007-10-17 Adam Roben <aroben@apple.com>
2423 Import File::Basename in webkitdirs since we use it
2425 * Scripts/webkitdirs.pm:
2427 2007-10-17 Kevin McCullough <kmccullough@apple.com>
2429 - Updated the tiger leaks list to make the internal bots green.
2431 * Scripts/run-webkit-tests:
2433 2007-10-17 Adam Roben <aroben@apple.com>
2435 Build fix for VC++ Express
2437 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
2440 2007-10-16 Kevin McCullough <kmccullough@apple.com>
2444 - Minor mac improvements based on observations I made while implementing the
2447 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
2448 then hand it to the Client who will retain it, it should just be the client who
2449 creates and owns the server.
2450 (-[DebuggerApplication attach:]):
2451 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
2452 * Drosera/mac/DebuggerClient.mm: Creates the server.
2453 (-[DebuggerClient initWithServerName:]):
2454 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
2455 can instead forward declare what it needs.
2457 2007-10-16 Darin Adler <darin@apple.com>
2459 Reviewed by Geoff Garen.
2461 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
2462 want to turn failing tests into platform-specific test results. Also did a
2463 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
2464 would take the type of results into account only some of the time.
2466 2007-10-16 Adam Roben <aroben@apple.com>
2468 Add a new nightly launcher script for Windows
2470 This new script is for versions of Safari that don't delay-load
2471 WebKit. I had to make FindSafari be able to print out the nightly
2472 launcher script on stdout because Windows shell scripts can't capture
2473 the output from a command into an environment variable.
2477 * FindSafari/FindSafari.cpp:
2478 (_tmain): Added /printSafariLauncher option.
2479 * Scripts/run-webkit-nightly.cmd: Added.
2481 2007-10-16 Adam Roben <aroben@apple.com>
2483 Replace WebKitInitializer with FindSafari
2485 We now rely on setting the PATH environment variable to tell Windows
2486 where to find WebKit and its dependencies (similar to
2487 DYLD_FRAMEWORK_PATH on Mac).
2489 This change also make DumpRenderTree no longer delay-load WebKit.
2493 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
2495 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
2496 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
2497 WebKitInitializer, don't delay-load WebKit.
2498 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
2499 * Scripts/run-webkit-tests: Ditto.
2500 * Scripts/webkitdirs.pm:
2501 (sub setPathForRunningWebKitApp): Added.
2502 * WebKitInitializer/WebKitInitializer.cpp: Removed.
2503 * WebKitInitializer/WebKitInitializer.h: Removed.
2504 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
2505 * WebKitInitializer/debug.vsprops: Removed.
2506 * WebKitInitializer/debug_internal.vsprops: Removed.
2507 * WebKitInitializer/release.vsprops: Removed.
2509 2007-10-16 Adam Roben <aroben@apple.com>
2511 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
2513 http://bugs.webkit.org/show_bug.cgi?id=15532
2515 FindSafari simply prints the location of an installed Safari.exe on
2520 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
2523 (getInstalledWebKitDirectory):
2525 * FindSafari/FindSafari.vcproj: Added.
2526 * Scripts/webkitdirs.pm:
2527 (sub installedSafariPath): Added. Calls FindSafari on Windows.
2529 2007-10-16 Adam Roben <aroben@apple.com>
2531 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
2533 Reviewed by Kevin McCullough.
2535 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
2536 when referring to WebKit.dll.
2537 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
2538 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
2539 * DumpRenderTree/win/release.vsprops: Ditto.
2540 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
2541 never have a _debug suffix on WebKit.dll.
2542 * WebKitInitializer/WebKitInitializer.cpp:
2543 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
2545 * WebKitInitializer/debug_internal.vsprops: Added
2546 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
2548 2007-10-16 Darin Adler <darin@apple.com>
2552 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
2553 Remove now-unneeded control/alt key hack; the tests have been updated.
2555 2007-10-16 Kevin McCullough <kmccullough@apple.com>
2557 - Updated leaks list because our internal bot upgraded it's version of leopard and
2558 one of the leaks was fixed between that revision and the bot's previous version of
2561 * Scripts/run-webkit-tests:
2563 2007-10-15 Kevin McCullough <kmccullough@apple.com>
2567 - I encapsulated out the server connecton functionality because it is a specific part
2568 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
2569 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
2570 Windows. So the majority of this patch is moving preexisting functionality.
2572 - Also I removed the prefix header and changed to use config.h because it is more
2573 standard on how we use config.h in windows and it didn't make much sense to keep
2574 the prefix header and the config.h
2576 * Drosera/DebuggerDocument.cpp:
2577 (DebuggerDocument::DebuggerDocument):
2578 * Drosera/DebuggerDocument.h:
2580 * Drosera/mac/DebuggerApplication.mm:
2581 (-[DebuggerApplication attach:]):
2582 * Drosera/mac/DebuggerClient.h:
2583 * Drosera/mac/DebuggerClient.mm:
2584 (-[DebuggerClient initWithServerConnection:]):
2585 (-[DebuggerClient dealloc]):
2586 (-[DebuggerClient windowDidLoad]):
2587 (-[DebuggerClient windowWillClose:]):
2588 (-[DebuggerClient webView:didFinishLoadForFrame:]):
2589 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
2590 * Drosera/mac/DebuggerDocumentPlatform.mm:
2591 (DebuggerDocument::platformPause):
2592 (DebuggerDocument::platformResume):
2593 (DebuggerDocument::platformStepInto):
2594 (DebuggerDocument::platformEvaluateScript):
2595 (DebuggerDocument::getPlatformCurrentFunctionStack):
2596 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2597 (DebuggerDocument::platformValueForScopeVariableNamed):
2598 (DebuggerDocument::platformLog):
2599 * Drosera/mac/Drosera.pch: Removed.
2600 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2601 * Drosera/mac/ServerConnection.h: Added.
2602 * Drosera/mac/ServerConnection.mm: Added.
2603 (-[ServerConnection initWithServerName:]):
2604 (-[ServerConnection dealloc]):
2605 (-[ServerConnection setGlobalContext:]):
2606 (-[ServerConnection pause]):
2607 (-[ServerConnection resume]):
2608 (-[ServerConnection stepInto]):
2609 (-[ServerConnection switchToServerNamed:]):
2610 (-[ServerConnection applicationTerminating:]):
2611 (-[ServerConnection serverConnectionDidDie:]):
2612 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
2613 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2614 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
2615 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2616 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2617 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2618 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2619 (-[ServerConnection currentFrame]):
2620 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
2621 (-[ServerConnection knownServers]):
2623 2007-10-15 David Kilzer <ddkilzer@webkit.org>
2627 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
2628 Script to automatically search nightly builds for regressions (bisect-builds)
2630 * Scripts/bisect-builds: Added.
2632 2007-10-14 Maciej Stachowiak <mjs@apple.com>
2636 - New JavaScript benchmark
2637 http://bugs.webkit.org/show_bug.cgi?id=15515
2639 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
2640 current development or release build of JavaScriptCore.
2642 2007-10-15 Mark Rowe <mrowe@apple.com>
2646 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
2648 * Scripts/webkitdirs.pm:
2649 - Change checkArgv to remove the options from @ARGV to prevent
2650 them from interfering with further option processing.
2651 - Fix logic error in determineIsQt that would prevent it from bailing out early.
2652 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
2653 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
2654 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
2656 2007-10-15 Darin Adler <darin@apple.com>
2660 - added logging of window.prompt and window.confirm
2662 * DumpRenderTree/mac/UIDelegate.mm:
2663 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
2664 Implement the recommended delegate rather than the deprecated one.
2665 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
2667 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
2670 * DumpRenderTree/win/UIDelegate.h:
2671 * DumpRenderTree/win/UIDelegate.cpp:
2672 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
2673 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
2674 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
2675 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
2677 2007-10-15 Alice Liu <alice.liu@apple.com>
2679 Reviewed by Sam Weinig.
2681 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
2683 * DumpRenderTree/win/DumpRenderTree.cpp:
2684 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
2685 (main): allocate the global policy delegate for DRT's custom use
2686 * DumpRenderTree/win/DumpRenderTree.vcproj:
2687 Adding files to project
2688 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
2689 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2690 (LayoutTestController::setCustomPolicyDelegate):
2691 set the webview's policy delegate to DRT's custom one if the test requests it.
2692 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
2693 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
2694 (PolicyDelegate::PolicyDelegate):
2695 (PolicyDelegate::QueryInterface):
2696 (PolicyDelegate::AddRef):
2697 (PolicyDelegate::Release):
2698 (PolicyDelegate::decidePolicyForNavigationAction):
2699 * DumpRenderTree/win/PolicyDelegate.h: Added.
2700 (PolicyDelegate::decidePolicyForNewWindowAction):
2701 (PolicyDelegate::decidePolicyForMIMEType):
2702 (PolicyDelegate::unableToImplementPolicyWithError):
2704 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
2708 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
2709 when querying for QMAKE_MKSPECS.
2711 2007-10-14 Andrew Wellington <proton@wiretapped.net>
2713 Reviewed by Adam Roben.
2715 Fix run-webkit-tests is too greedy calculating platform hierarchy
2716 http://bugs.webkit.org/show_bug.cgi?id=15465
2718 Fix run-webkit-tests being too greedy in trying to split the platform name up
2719 causing it to try and find tests in every directory above the first "-" in the
2720 path to the LayoutTests
2722 * Scripts/run-webkit-tests:
2724 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
2728 http://bugs.webkit.org/show_bug.cgi?id=15006
2729 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
2730 to reduce code duplication.
2732 * Scripts/build-webkit:
2733 * Scripts/webkitdirs.pm:
2734 buildQMakeProject() renamed to buildQMakeQtProject().
2735 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
2736 unused $colorize has been removed.
2738 === Start merge of feature-branch 2007-10-12 ===
2740 2007-10-08 Eric Seidel <eric@webkit.org>
2742 Reviewed by Mark Rowe.
2744 * Scripts/build-webkit: add --help, remove unused --color
2746 2007-10-07 Eric Seidel <eric@webkit.org>
2750 * Drosera/mac/DebuggerDocumentPlatform.mm:
2751 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
2753 2007-10-03 Rob Buis <buis@kde.org>
2757 Adapt to changed location of Ahem font.
2759 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2761 2007-10-02 Eric Seidel <eric@webkit.org>
2763 Reviewed by Adam Roben.
2765 Make pixel tests more useful!
2766 Finally fix the image diff 0.00% mystery problem
2767 Highlight any image differences in the image diff.
2768 Add a link from image diffs back to original test file.
2770 * DumpRenderTree/mac/ImageDiff.m:
2771 (compareImages): highlight any differences
2772 (computePercentageDifferent): round to two decimal places
2773 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
2775 2007-10-02 Eric Seidel <eric@webkit.org>
2777 Reviewed by Alexey Proskuryakov.
2779 * Scripts/run-webkit-tests: print the % image difference on main results page
2781 2007-10-02 Mark Rowe <mrowe@apple.com>
2785 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
2787 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
2788 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
2790 2007-10-01 Mark Rowe <mrowe@apple.com>
2792 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
2794 2007-09-25 Eric Seidel <eric@webkit.org>
2796 Reviewed by Mark Rowe.
2798 DerivedSources.make was finding "ENABLE_SVG" in the string
2799 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
2802 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
2804 2007-09-25 Mark Rowe <mrowe@apple.com>
2806 Rubber-stamped by Eric.
2808 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2809 This makes it possible to automate nightly builds for the feature-branch.
2811 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
2813 Rubber stamped by Mark.
2815 Enable svg experimental features as default here in feature-branch.
2817 * Scripts/build-webkit:
2819 2007-06-29 Antti Koivisto <antti@apple.com>
2823 Add VIDEO flag for timed media features
2825 * Scripts/build-webkit
2827 === End merge of feature-branch 2007-10-12 ===
2829 2007-10-11 Kevin McCullough <kmccullough@apple.com>
2833 - Updated rational for the leaks list to be more clear.
2835 * Scripts/run-webkit-tests:
2837 2007-10-11 Kevin McCullough <kmccullough@apple.com>
2839 Rubber Stamp by Sam.
2841 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
2842 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
2844 * Scripts/run-webkit-tests:
2846 2007-10-10 Simon Hausmann <hausmann@kde.org>
2850 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
2851 includes are needed for INT_MAX, std::auto_ptr and the like.
2853 * DumpRenderTree/qt/main.cpp:
2855 2007-10-09 Lars Knoll <lars@trolltech.com>
2859 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
2861 * DumpRenderTree/qt/jsobjects.cpp:
2862 (LayoutTestController::encodeHostName):
2863 (LayoutTestController::decodeHostName):
2864 * DumpRenderTree/qt/jsobjects.h:
2866 2007-10-09 Lars Knoll <lars@trolltech.com>
2870 Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
2872 * DumpRenderTree/qt/DumpRenderTree.cpp:
2873 (WebCore::WebPage::createFrame):
2874 (WebCore::DumpRenderTree::DumpRenderTree):
2875 (WebCore::DumpRenderTree::titleChanged):
2876 * DumpRenderTree/qt/DumpRenderTree.h:
2877 * DumpRenderTree/qt/jsobjects.cpp:
2878 (LayoutTestController::reset):
2879 * DumpRenderTree/qt/jsobjects.h:
2881 2007-10-09 Lars Knoll <lars@trolltech.com>
2885 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
2887 * DumpRenderTree/qt/DumpRenderTree.h:
2888 * DumpRenderTree/qt/jsobjects.cpp:
2889 (LayoutTestController::clearBackForwardList):
2890 * DumpRenderTree/qt/jsobjects.h:
2892 2007-10-09 Lars Knoll <lars@trolltech.com>
2896 make --git-reviewer work again.
2898 * Scripts/prepare-ChangeLog:
2900 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
2902 Rubber stamped by Eric.
2904 Connect to the "hovering-over-link" signal emitted by WebKitPage and
2905 show the current link inside the statusbar.
2906 This shows how to make use of this signal and allows to easily test
2907 http://bugs.webkit.org/show_bug.cgi?id=15299.
2909 * GtkLauncher/main.cpp:
2913 2007-10-05 Lars Knoll <lars@trolltech.com>
2915 add proper error messages to the FrameLoaderClient.
2916 Implement ChromeClientQt::closeWindowSoon and
2917 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
2918 Some fixes in DRT to make it work correctly with multiple windows.
2922 * DumpRenderTree/qt/DumpRenderTree.cpp:
2923 (WebCore::DumpRenderTree::DumpRenderTree):
2924 (WebCore::DumpRenderTree::createWindow):
2925 (WebCore::DumpRenderTree::windowCount):
2926 * DumpRenderTree/qt/DumpRenderTree.h:
2927 * DumpRenderTree/qt/jsobjects.cpp:
2928 (LayoutTestController::maybeDump):
2929 (LayoutTestController::windowCount):
2930 * DumpRenderTree/qt/jsobjects.h:
2932 2007-10-05 Lars Knoll <lars@trolltech.com>
2934 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
2935 Add support for layoutTextController.setCanOpenWindows() to DRT
2936 fixing another 2 test cases in fast/dom/Window.
2940 * DumpRenderTree/qt/DumpRenderTree.cpp:
2941 (WebCore::WebPage::WebPage):
2942 (WebCore::WebPage::createWindow):
2943 (WebCore::DumpRenderTree::resetJSObjects):
2944 (WebCore::DumpRenderTree::createWindow):
2945 * DumpRenderTree/qt/DumpRenderTree.h:
2946 * DumpRenderTree/qt/DumpRenderTree.pro:
2947 * DumpRenderTree/qt/jsobjects.cpp:
2948 (LayoutTestController::LayoutTestController):
2949 (LayoutTestController::reset):
2950 * DumpRenderTree/qt/jsobjects.h:
2951 * DumpRenderTree/qt/main.cpp:
2952 * DumpRenderTree/qt/testplugin.cpp: Added.
2953 * DumpRenderTree/qt/testplugin.h: Added.
2955 2007-10-04 Sam Weinig <sam@webkit.org>
2957 Rubber stamped by Adam.
2959 Remove empty directories.
2961 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
2962 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
2964 2007-10-03 Darin Adler <darin@apple.com>
2968 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
2969 we find the internal libraries in the libraries directory. This
2970 is helpful for Safari team engineers at Apple.
2972 2007-10-03 Adam Roben <aroben@apple.com>
2974 Update the location of AHEM___.TTF after r25968
2978 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2980 2007-10-03 Alp Toker <alp@atoker.com>
2984 http://bugs.webkit.org/show_bug.cgi?id=14726
2985 [gtk] API design. Mapping the WebView delegates to signals.
2987 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
2989 * GtkLauncher/main.cpp:
2993 (menuMainBackCallback):
2994 (menuMainForwardCallback):
2997 2007-10-03 Lars Knoll <lars@trolltech.com>
3001 This fixes --strict mode in run-webkit-tests again after
3002 the platform dependent test results have been moved.
3004 * Scripts/run-webkit-tests:
3006 2007-10-03 Lars Knoll <lars@trolltech.com>
3010 remove the hack in run-webkit-tests that forced text only test
3011 to be taken from the platform independent dir. It was only left
3012 there from early days.
3014 Remove platform dependent results for tests that are text only nowadays,
3015 and add one platform dependent result for a text only test that requires it.
3017 * Scripts/run-webkit-tests:
3019 2007-10-03 Lars Knoll <lars@trolltech.com>
3023 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
3025 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
3026 (WebCore::WebFrame::WebFrame):
3027 (WebCore::WebPage::WebPage):
3028 (WebCore::WebPage::createFrame):
3029 (WebCore::WebPage::javaScriptAlert):
3030 (WebCore::WebPage::javaScriptConsoleMessage):
3031 (WebCore::DumpRenderTree::DumpRenderTree):
3032 (WebCore::DumpRenderTree::~DumpRenderTree):
3033 (WebCore::DumpRenderTree::open):
3034 (WebCore::DumpRenderTree::readStdin):
3035 (WebCore::DumpRenderTree::resetJSObjects):
3036 (WebCore::DumpRenderTree::initJSObjects):
3037 (WebCore::DumpRenderTree::dumpFramesAsText):
3038 (WebCore::DumpRenderTree::dump):
3039 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
3040 (WebCore::DumpRenderTree::layoutTestController):
3041 (WebCore::DumpRenderTree::eventSender):
3042 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
3043 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
3044 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
3045 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
3046 (HackWebFrame::mousePressEvent):
3047 (HackWebFrame::mouseReleaseEvent):
3048 (HackWebFrame::mouseMoveEvent):
3049 (HackWebFrame::HackWebFrame):
3050 (HackWebFrame::~HackWebFrame):
3051 (LayoutTestController::LayoutTestController):
3052 (LayoutTestController::reset):
3053 (LayoutTestController::maybeDump):
3054 (LayoutTestController::waitUntilDone):
3055 (LayoutTestController::notifyDone):
3056 (LayoutTestController::dumpEditingCallbacks):
3057 (LayoutTestController::queueReload):
3058 (LayoutTestController::provisionalLoad):
3059 (LayoutTestController::timerEvent):
3060 (EventSender::EventSender):
3061 (EventSender::mouseDown):
3062 (EventSender::mouseUp):
3063 (EventSender::mouseMoveTo):
3064 (EventSender::leapForward):
3065 (EventSender::keyDown):
3066 (EventSender::frameUnderMouse):
3067 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
3068 (LayoutTestController::isLoading):
3069 (LayoutTestController::setLoading):
3070 (LayoutTestController::shouldDumpAsText):
3071 (LayoutTestController::shouldDumpChildrenAsText):
3072 (LayoutTestController::shouldWaitUntilDone):
3073 (LayoutTestController::dumpAsText):
3074 (LayoutTestController::dumpChildFramesAsText):
3075 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
3079 * Scripts/run-webkit-tests:
3081 2007-10-03 Mark Rowe <mrowe@apple.com>
3083 Reviewed by Alp Toker.
3085 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
3086 should take precedence over QTDIR when determining which port we are working with.
3088 * Scripts/webkitdirs.pm:
3090 2007-10-02 Adam Roben <aroben@apple.com>
3092 Add keychain to the list of default packages to install
3094 Rubberstamped by Sam.
3096 * CygwinDownloader/cygwin-downloader.py:
3097 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
3099 2007-10-02 David Kilzer <ddkilzer@webkit.org>
3103 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
3104 Also makes WebCore regression test case logic work when using git.
3106 * Scripts/prepare-ChangeLog:
3107 (reviewerAndDescriptionForGitCommit): Added.
3109 2007-10-02 Lars Knoll <lars@trolltech.com>
3113 Add API to retrieve the frame name from QWebFrame.
3114 Implement support for DRT::dumpChildrenAsText.
3116 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3117 (WebCore::DumpRenderTree::dumpFramesAsText):
3118 (WebCore::DumpRenderTree::dump):
3119 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3120 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3121 (LayoutTestController::LayoutTestController):
3122 (LayoutTestController::reset):
3123 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3125 2007-10-02 Lars Knoll <lars@trolltech.com>
3129 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3131 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3132 (WebCore::DumpRenderTree::readStdin):
3134 2007-10-02 Mark Rowe <mrowe@apple.com>
3138 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
3140 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
3141 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
3143 2007-10-02 Mark Rowe <mrowe@apple.com>
3145 Rubber-stamped by Maciej.
3147 Configuration changes from build.webkit.org. The major change is refactoring to work
3148 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
3151 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3152 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
3153 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
3154 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
3155 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
3156 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
3157 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
3158 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
3160 2007-10-02 Lars Knoll <lars@trolltech.com>
3164 Add support for eventSender.mouseMove to DRT.
3165 Fixes fast/css/hover-affects-child.html
3167 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3168 (EventSender::mouseMoveTo):
3170 2007-10-01 Mark Rowe <mrowe@apple.com>
3172 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
3174 2007-10-01 David Kilzer <ddkilzer@webkit.org>
3178 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
3180 * Scripts/svn-apply:
3181 (gitdiff2svndiff): Ignore lines beginning with "new file".
3182 * Scripts/svn-unapply:
3183 (gitdiff2svndiff): Ditto.
3185 2007-09-30 George Staikos <staikos@kde.org>
3187 Qt build fix (Mac OS X specific)
3189 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3191 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
3195 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
3196 Remove Bakefiles from svn.
3198 * GtkLauncher/Bakefiles.bkgen: Removed.
3199 * GtkLauncher/ENV: Removed.
3200 * GtkLauncher/gdklauncher.bkl: Removed.
3201 * GtkLauncher/mk: Removed.
3202 * Scripts/regenerate-makefiles: Removed.
3204 2007-09-25 Kevin McCullough <kmccullough@apple.com>
3208 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
3210 * Scripts/run-webkit-tests:
3212 2007-09-26 Adam Roben <aroben@apple.com>
3214 Make not finding an installed WebKit non-fatal
3216 What really matters is that we are able to load WebKit and its
3217 dependencies, not whether we think we've found an installed WebKit.
3221 * WebKitInitializer/WebKitInitializer.cpp:
3222 (getWebViewCLSID): Use new LOG_WARNING macro.
3223 (getInstalledWebKitDirectory): Ditto.
3224 (initializeWebKit): Don't die if we didn't find an installed WebKit,
3226 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
3228 2007-09-26 Adam Roben <aroben@apple.com>
3230 Committed this file before saving it
3232 * WebKitInitializer/debug_internal.vsprops:
3234 2007-09-26 Adam Roben <aroben@apple.com>
3236 Load WebKit and its dependencies manually so they come from DllDirectory
3238 I had to change WebKitInitializer to use malloc/free instead of
3239 new/delete to avoid pulling in WebKit (and its dependencies) early
3240 through use of fastMalloc.
3244 * WebKitInitializer/WebKitInitializer.cpp:
3245 (getStringValue): Changed to use malloc/free.
3246 (getInstalledWebKitDirectory): Ditto.
3247 (initializeWebKit): Call SetDllDirectory first, then load all of
3248 WebKit's dependencies manually, finally followed by WebKit itself.
3249 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
3250 configuration to match our other projects.
3251 * WebKitInitializer/debug_internal.vsprops: Added.
3253 2007-09-25 Adam Roben <aroben@apple.com>
3255 Actually define DEBUG/NDEBUG so that we load WebKit correctly
3257 Rubberstamped by Sam.
3259 * WebKitInitializer/WebKitInitializer.vcproj:
3261 2007-09-25 Adam Roben <aroben@apple.com>
3263 Make DumpRenderTree delay-load its dependencies
3265 This lets WebKitInitializer re-route the dependencies to be loaded out
3266 of the Safari installation directory.
3268 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
3269 same thing), since we can't import the kCFAllocatorDefault symbol when
3270 delay-loading CoreFoundation.dll.
3272 Rubberstamped by Sam.
3274 * DumpRenderTree/win/DumpRenderTree.cpp:
3276 (javaScriptThreads):
3277 * DumpRenderTree/win/DumpRenderTree.vcproj:
3278 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3279 (LayoutTestController::setWaitToDump):
3281 2007-09-25 Adam Roben <aroben@apple.com>
3283 Pull ole32.lib into WebKitInitializer
3285 Rubberstamped by Sam.
3287 * WebKitInitializer/WebKitInitializer.vcproj:
3289 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3293 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
3294 LGPL'ed files contain incorrect FSF address
3298 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3302 Make svn-apply and svn-unapply work with git-diff formatted patches.
3304 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
3305 (gitdiff2svndiff): Added.
3306 * Scripts/svn-unapply: Ditto.
3307 (gitdiff2svndiff): Added.
3309 2007-09-25 Adam Roben <aroben@apple.com>
3311 Pull advapi32.lib into WebKitInitializer
3313 This is needed to get the registry functions we use.
3315 Rubberstamped by Sam.
3317 * WebKitInitializer/WebKitInitializer.vcproj:
3319 2007-09-25 Adam Roben <aroben@apple.com>
3321 Add python and rsync to cygwin-downloader
3323 Our build slaves need this, and it can't hurt for everyone else to
3328 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
3329 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
3331 2007-09-25 Adam Roben <aroben@apple.com>
3333 Add WebKitInitializer and use it in DumpRenderTree
3335 WebKitInitializer is a static library that has one function,
3336 initializeWebKit(). This registers WebKit and sets up the DLL search
3337 path so that WebKit's dependencies that are installed with Safari can
3342 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
3343 DumpRenderTree depend on it.
3344 * DumpRenderTree/win/DumpRenderTree.cpp:
3345 (initialize): Call initializeWebKit.
3346 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
3347 WebKitInitializer.lib.
3348 * WebKitInitializer/WebKitInitializer.cpp: Added.
3351 (getInstalledWebKitDirectory):
3353 * WebKitInitializer/WebKitInitializer.h: Added.
3354 * WebKitInitializer/WebKitInitializer.vcproj: Added.
3355 * WebKitInitializer/debug.vsprops: Added.
3356 * WebKitInitializer/release.vsprops: Added.
3358 2007-09-25 Adam Roben <aroben@apple.com>
3360 Make run-webkit-tests respect set-webkit-configuration
3364 * Scripts/run-webkit-tests: Initialize $configuration to whatever
3365 set-webkit-configuration was last set to.
3367 2007-09-25 Mark Rowe <mrowe@apple.com>
3369 Rubber-stamped by Eric.
3371 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
3372 This makes it possible to automate nightly builds for the feature-branch.
3374 2007-09-25 Adam Roben <aroben@apple.com>
3376 A couple of fixes/enhancements to update-webkit-*-libs
3378 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
3379 to tell update-webkit-support-libraries where it should find the
3380 WebKitSupportLibrary.zip file you downloaded.
3382 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
3387 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
3388 to $auxiliaryLibsURL and removed an irrelevant comment.
3389 * Scripts/update-webkit-support-libs:
3391 2007-09-25 Adam Treat <treat@kde.org>
3393 Reviewed by Simon and Lars.
3395 Refactors and cleans up Qt DRT member variable names, member variable
3396 initialization, style fixes and general code cleanup.
3398 Adds queueReload slot to LayoutTestController that some tests require.
3400 Subclasses QWebFrame to make sure that all frames have an associated
3401 LayoutTestController JS window object.
3403 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
3404 aren't dumped twice.
3408 Together, this patch fixes some 20+ layout tests in QtWebKit.
3410 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3411 (WebCore::WebFrame::WebFrame):
3412 (WebCore::WebPage::WebPage):
3413 (WebCore::WebPage::createFrame):
3414 (WebCore::DumpRenderTree::DumpRenderTree):
3415 (WebCore::DumpRenderTree::open):
3416 (WebCore::DumpRenderTree::readStdin):
3417 (WebCore::DumpRenderTree::initJSObjects):
3418 (WebCore::DumpRenderTree::dump):
3419 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3420 (WebCore::DumpRenderTree::layoutTestController):
3421 (WebCore::DumpRenderTree::eventSender):
3422 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3423 (LayoutTestController::LayoutTestController):
3424 (LayoutTestController::reset):
3425 (LayoutTestController::maybeDump):
3426 (LayoutTestController::waitUntilDone):
3427 (LayoutTestController::notifyDone):
3428 (LayoutTestController::queueReload):
3429 (LayoutTestController::provisionalLoad):
3430 (EventSender::EventSender):
3431 (EventSender::mouseDown):
3432 (EventSender::mouseUp):
3433 (EventSender::mouseMoveTo):
3434 (EventSender::frameUnderMouse):
3435 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3436 (LayoutTestController::isLoading):
3437 (LayoutTestController::setLoading):
3438 (LayoutTestController::dumpAsText):
3439 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3442 2007-09-24 Kevin McCullough <kmccullough@apple.com>
3445 - Reverted an accidentally checked in file.
3447 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
3449 2007-09-24 Kevin McCullough <kmccullough@apple.com>
3452 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
3454 * DumpRenderTree/win/DumpRenderTree.vcproj:
3455 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3457 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
3459 Rubber stamped by Adam.
3461 * GdkLauncher: Removed.
3462 * GdkLauncher/Bakefiles.bkgen: Removed.
3463 * GdkLauncher/ENV: Removed.
3464 * GdkLauncher/GdkLauncher.pro: Removed.
3465 * GdkLauncher/gdklauncher.bkl: Removed.
3466 * GdkLauncher/main.cpp: Removed.
3467 * GdkLauncher/mk: Removed.
3468 * GdkLauncher/simple.svg: Removed.
3469 * GdkLauncher/text.html: Removed.
3470 * GtkLauncher: Added.
3471 * GtkLauncher/GdkLauncher.pro: Removed.
3472 * GtkLauncher/GtkLauncher.pro: Added.
3473 * GtkLauncher/main.cpp:
3474 (updateWindowTitle):
3476 * Scripts/build-webkit:
3477 * Scripts/regenerate-makefiles:
3478 * Scripts/run-javascriptcore-tests:
3479 * Scripts/run-launcher:
3480 * Scripts/run-webkit-tests:
3481 * Scripts/webkitdirs.pm:
3483 2007-09-21 Timothy Hatcher <timothy@apple.com>
3487 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
3489 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
3490 This is tested by plugins/root-object-premature-delete-crash.html.
3492 * DumpRenderTree/mac/ObjCController.m:
3493 (-[ObjCController accessStoredWebScriptObject]):
3495 2007-09-21 Kevin McCullough <kmccullough@apple.com>
3499 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
3501 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
3502 (FrameLoadDelegate::FrameLoadDelegate):
3504 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
3508 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
3509 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
3511 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
3512 Now isQt() and isGdk() use global variables that are only set once.
3514 An array of all the parameters is now given to build-dumprender which includes
3515 the platform on linux.
3517 * Scripts/build-dumprendertree:
3518 * Scripts/run-webkit-tests:
3519 * Scripts/webkitdirs.pm:
3521 2007-09-19 Adam Roben <aroben@apple.com>
3523 Rubberstamped by Hyatt.
3525 * Spinneret: Removed.
3527 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
3529 Reviewed by David Kilzer.
3531 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
3533 2007-09-18 Sam Weinig <sam@webkit.org>
3535 Add JSRetainPtr.h #include to fix some builds.
3537 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3539 2007-09-18 Mike Hommey <glandium@debian.org>
3543 * Scripts/prepare-ChangeLog:
3544 - Properly parse GECOS field.
3545 - Use git configuration for user name and email when appropriate.
3547 2007-09-17 Sam Weinig <sam@webkit.org>
3551 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3553 2007-09-17 Sam Weinig <sam@webkit.org>
3555 Reviewed by Adam Roben.
3557 Share more code between mac and windows DRT.
3558 - GCController is now shared.
3559 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
3561 * DumpRenderTree/GCController.cpp:
3562 * DumpRenderTree/win/DumpRenderTree.cpp:
3563 * DumpRenderTree/win/DumpRenderTree.vcproj:
3564 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
3565 (FrameLoadDelegate::FrameLoadDelegate):
3566 (FrameLoadDelegate::~FrameLoadDelegate):
3567 (FrameLoadDelegate::windowScriptObjectAvailable):
3568 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
3569 * DumpRenderTree/win/GCController.cpp: Removed.
3570 * DumpRenderTree/win/GCController.h: Removed.
3571 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
3572 (GCController::collect):
3573 (GCController::collectOnAlternateThread):
3574 (GCController::getJSObjectCount):
3575 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
3576 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
3578 2007-09-17 Sam Weinig <sam@webkit.org>
3580 Reviewed by Adam Roben.
3582 Begin sharing code between mac and windows DRT.
3583 - both now share LayoutTestController.h/cpp and implement platform dependant
3584 operations in LayoutTestControllerMac/Win.
3585 - DumpRenderTree.h is now shared.
3586 - WorkQueue and WorkQueueItem are also shared.
3588 * DumpRenderTree/DumpRenderTree.h:
3589 * DumpRenderTree/LayoutTestController.cpp:
3590 * DumpRenderTree/win/DumpRenderTree.cpp:
3592 (dumpFrameScrollPosition):
3596 * DumpRenderTree/win/DumpRenderTree.h: Removed.
3597 * DumpRenderTree/win/DumpRenderTree.vcproj:
3598 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
3599 * DumpRenderTree/win/EditingDelegate.cpp:
3600 (EditingDelegate::shouldBeginEditingInDOMRange):
3601 (EditingDelegate::shouldEndEditingInDOMRange):
3602 (EditingDelegate::shouldInsertNode):
3603 (EditingDelegate::shouldInsertText):
3604 (EditingDelegate::shouldDeleteDOMRange):
3605 (EditingDelegate::shouldChangeSelectedDOMRange):
3606 (EditingDelegate::shouldApplyStyle):
3607 (EditingDelegate::shouldChangeTypingStyle):
3608 (EditingDelegate::doPlatformCommand):
3609 (EditingDelegate::webViewDidBeginEditing):
3610 (EditingDelegate::webViewDidChange):