1 2007-12-03 Stephanie <slewis@apple.com>
5 Check to see if we are building a debug root
7 * Scripts/check-for-global-initializers:
9 2007-12-03 Dan Bernstein <mitz@apple.com>
11 Reviewed by Darin Adler.
13 - added a testGetIntIdentifier() method to TestNetscapePlugIn
15 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
22 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
23 in a more fine-grained manner than eventSender.keyDown().
25 * DumpRenderTree/win/EventSender.cpp:
26 (getConstantCallback):
27 (dispatchMessageCallback):
29 2007-12-02 Darin Adler <darin@apple.com>
31 * Scripts/do-webcore-rename: More planned renaming.
33 2007-12-02 Sam Weinig <sam@webkit.org>
35 Rubber stamped by Anders.
37 Use [NSURL absoluteString] instead of [NSURL description] in order to get
38 more uniform results cross platform.
40 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
41 (-[NSURL _drt_descriptionSuitableForTestResult]):
43 2007-12-02 Sam Weinig <sam@webkit.org>
45 Rubber stamped by Niko.
47 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
49 * DumpRenderTree/win/DumpRenderTree.cpp:
50 * DumpRenderTree/win/DumpRenderTree.vcproj:
51 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
52 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
53 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
54 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
56 2007-12-01 Alp Toker <alp@atoker.com>
58 Reviewed by Adam Roben.
60 Make use of the newly introduced webkit.h convenience header.
64 2007-12-01 Adam Treat <treat@kde.org>
68 * Check to see if the directory exists and exit if not.
70 * DumpRenderTree/qt/main.cpp:
73 2007-12-01 Adam Treat <treat@kde.org>
77 * Don't hide symbols when in Debug mode
78 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
81 * DumpRenderTree/qt/main.cpp:
84 2007-11-30 Alp Toker <alp@atoker.com>
86 Reviewed by Adam Roben.
88 http://bugs.webkit.org/show_bug.cgi?id=15691
89 [GTK] Public API does not follow GTK+ conventions
91 Refactor the WebKit/GTK+ public API. Changes:
92 WebKitPage -> WebKitWebView
93 WebKitFrame -> WebKitWebFrame
95 Public API source and header names have been updated to mirror the API
98 The API is now kept in WebKit/gtk/WebView to match other ports in the
99 same class such as Mac and Win.
101 * GtkLauncher/main.c:
102 (activate_uri_entry_cb):
105 (progress_change_cb):
111 2007-11-30 Adam Roben <aroben@apple.com>
113 Hopefully the final build fix
115 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
116 pull in WTF's assertion/logging functions.
118 2007-11-30 Adam Roben <aroben@apple.com>
122 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
125 2007-11-30 Adam Roben <aroben@apple.com>
129 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
131 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
133 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
134 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
135 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
137 2007-11-30 Sam Weinig <sam@webkit.org>
139 Reviewed by Adam Roben.
141 Fix drawSelectionRect to actually draw the selection rect.
143 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
146 2007-11-30 Darin Adler <darin@apple.com>
148 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
150 2007-11-30 Darin Adler <darin@apple.com>
152 * Scripts/do-webcore-rename: Get ready for some future renaming.
154 2007-11-29 Kevin McCullough <kmccullough@apple.com>
158 - Removed some unnecessary functions and changed an unused return type.
160 * Drosera/win/DebuggerClient.cpp:
161 (registerConsoleClass):
162 * Drosera/win/DebuggerClient.h:
163 * Drosera/win/Drosera.cpp:
164 (registerDroseraClass):
166 2007-11-28 Alp Toker <alp@atoker.com>
168 Reviewed by Timothy Hatcher.
170 http://bugs.webkit.org/show_bug.cgi?id=16174
171 [GTK] Use "URI" not "URL" in public API
173 Replace use of the term "URL" with "URI" in public headers,
174 documentation and some internal code to match GLib/GTK+ convention.
176 This is now mentioned in the API guidelines:
177 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
179 * GtkLauncher/main.c:
180 (activate_uri_entry_cb):
185 2007-11-29 Anders Carlsson <andersca@apple.com>
189 <rdar://problem/5230478>
190 FrameLoadDelegate callbacks are not dumped in DRT.
192 * DumpRenderTree/win/DumpRenderTree.cpp:
193 (shouldLogFrameLoadDelegates):
196 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
198 (descriptionSuitableForTestResult):
199 (FrameLoadDelegate::QueryInterface):
200 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
201 (FrameLoadDelegate::didFailProvisionalLoadWithError):
202 (FrameLoadDelegate::didCommitLoadForFrame):
203 (FrameLoadDelegate::didFinishLoadForFrame):
204 (FrameLoadDelegate::willCloseFrame):
205 (FrameLoadDelegate::didClearWindowObject):
206 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
207 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
208 * DumpRenderTree/win/FrameLoaderDelegate.h:
209 (FrameLoadDelegate::windowScriptObjectAvailable):
210 (FrameLoadDelegate::didFirstLayoutInFrame):
212 2007-11-29 Sam Weinig <sam@webkit.org>
216 Add database quota UIDelegates methods to DRT UIDelegate.
218 * DumpRenderTree/mac/UIDelegate.mm:
219 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
220 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
222 2007-11-29 Kevin McCullough <kmccullough@apple.com>
226 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
227 dying and vice versa.
228 - This fix will allow Drosera and Safari to reconnect if either of them
229 closes correctly, but does not fix the case where one of them dies
232 * Drosera/win/ServerConnection.cpp:
233 (ServerConnection::attemptToCreateServerConnection): Added a safety
234 check, because it's possilbe to try to connect to a server that's dying.
235 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
237 * Drosera/win/ServerConnection.h: Added the new function and removed
238 an unnecessary member.
240 2007-11-29 Anders Carlsson <andersca@apple.com>
242 * DumpRenderTree/win/DumpRenderTree.vcproj:
243 Add shlwapi.lib to all configurations.
245 2007-11-29 Kevin McCullough <kmccullough@apple.com>
247 - Build fix. Added additional includes for VS Express to the Release
250 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
252 2007-11-29 Anders Carlsson <andersca@apple.com>
256 <rdar://problem/5132005>
257 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
259 * DumpRenderTree/win/DumpRenderTree.vcproj:
262 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
263 (LayoutTestController::setUserStyleSheetEnabled):
266 (appendComponentToPath):
267 New method which wraps the Win32 API PathAppend.
270 New method which checks if a file points to a shortcut and
271 follows the shortcut.
274 New method that takes a cygwin unix-style path and returns the Win32 path.
276 (cfStringRefToWString):
278 (LayoutTestController::setUserStyleSheetLocation):
281 2007-11-29 Alice Liu <alice.liu@apple.com>
285 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
287 * DumpRenderTree/win/EventSender.cpp:
289 uppercase letters were being sent as lowercase letters without the shift key down.
291 2007-11-29 Kevin McCullough <kmccullough@apple.com>
293 - Windows build fix. VS express needs some love.
295 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
297 2007-11-28 Darin Adler <darin@apple.com>
299 Reviewed by Adam Roben.
301 * DumpRenderTree/mac/EventSendingController.mm:
302 (-[EventSendingController keyDown:withModifiers:]):
303 Send capital letters through as lowercase letters with the shift key down
304 rather than sending them as if they were highly unusual "capital letter keys".
306 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
307 where you need to update results and more tests are failing than before.
309 2007-11-28 Anders Carlsson <andersca@apple.com>
313 <rdar://problem/5132001>
314 contextClick is not implemented in DRT on Windows.
316 * DumpRenderTree/win/EventSender.cpp:
317 (contextClickCallback):
318 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
319 by a WM_RBUTTONUP message.
321 * DumpRenderTree/win/UIDelegate.cpp:
322 (UIDelegate::hasCustomMenuImplementation):
323 (UIDelegate::trackCustomPopupMenu):
324 * DumpRenderTree/win/UIDelegate.h:
325 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
326 menu from being shown (and causing the DRT to hang).
328 2007-11-27 Maciej Stachowiak <mjs@apple.com>
332 Fix DumpRenderTree ObjC bug comparing strings.
334 * DumpRenderTree/mac/ObjCController.m:
335 (-[ObjCController identityIsEqual::]): Compare strings with string
336 equality instead of identiy equality.
338 2007-11-27 Timothy Hatcher <timothy@apple.com>
342 Reset the authorAndUserStylesEnabled preference
343 back to YES for each test. Fixes the broken tests.
345 * DumpRenderTree/mac/DumpRenderTree.mm:
346 (resetWebViewToConsistentStateBeforeTesting):
348 2007-11-27 Kevin McCullough <kmccullough@apple.com>
352 - Drosera now displays the console window, although it cannot currently
355 * Drosera/win/DebuggerClient.cpp: Shows the console window.
356 (registerConsoleClass): Implemented.
357 (consoleWndProc): Implemented.
358 (DebuggerClient::onSize): Implemented.
359 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
361 * Drosera/win/DebuggerClient.h: Added needed method and members for
362 creating and maintaining a new window.
363 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
364 lines of code to more appropriate places.
365 (Drosera::handleCommand):
370 2007-11-27 Timothy Hatcher <timothy@apple.com>
372 Reviewed by Dave Hyatt.
374 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
376 Add support for disabling author and user styles for testing.
378 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
379 * DumpRenderTree/LayoutTestController.cpp:
380 (setAuthorAndUserStylesEnabledCallback):
381 (LayoutTestController::staticFunctions):
382 * DumpRenderTree/LayoutTestController.h:
383 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
384 (LayoutTestController::setAuthorAndUserStylesEnabled):
385 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
386 (LayoutTestController::setAuthorAndUserStylesEnabled):
388 2007-11-26 Dan Bernstein <mitz@apple.com>
392 * DumpRenderTree/mac/Configurations/Base.xcconfig:
394 2007-11-26 Kevin McCullough <kmccullough@apple.com>
398 - Implemented displaying variables for Drosera on Win.
400 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
401 that retrieve variables to not hold onto the return value since it's
402 not returned. Also changed to use the new signatures of the retrieval
404 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
405 (DebuggerDocument::platformValueForScopeVariableNamed):
406 * Drosera/win/Drosera.cpp: Removed a needless TODO.
409 2007-11-26 Sam Weinig <sam@webkit.org>
411 Cleanup names of painting and repainting functions.
413 Reviewed by Adam Roben.
415 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
416 (drawSelectionRect): was drawSelectionRectIntoContext.
417 (dumpWebViewAsPixelsAndCompareWithExpected):
418 * DumpRenderTree/cg/PixelDumpSupportCG.h:
419 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
420 (paintWebView): was drawWebViewIntoContext.
421 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
423 2007-11-26 Sam Weinig <sam@webkit.org>
425 Reviewed by Dan Bernstein.
429 * DumpRenderTree/mac/Configurations/Base.xcconfig:
431 2007-11-26 Sam Weinig <sam@webkit.org>
433 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
434 Use shared PixelDumpSupport for Mac DRT
436 Reviewed by Adam Roben.
438 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
439 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
440 * DumpRenderTree/cg/ImageDiffCG.cpp:
441 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
442 (drawSelectionRectIntoContext):
443 (dumpWebViewAsPixelsAndCompareWithExpected):
444 * DumpRenderTree/cg/PixelDumpSupportCG.h:
445 * DumpRenderTree/mac/Configurations/Base.xcconfig:
446 * DumpRenderTree/mac/DumpRenderTree.mm:
448 * DumpRenderTree/mac/ImageDiff.m: Removed.
449 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
450 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
451 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
452 (setDefaultColorProfileToRGB):
453 (getBitmapContextFromWebView):
454 (drawWebViewIntoContext):
455 (repaintWithVerticalSweep):
456 (repaintWithHorizontalSweep):
458 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
460 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
462 Bug 16052: prepare-ChangeLog doesn't report deleted files
463 <http://bugs.webkit.org/show_bug.cgi?id=16052>
467 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
469 2007-11-25 David Kilzer <ddkilzer@webkit.org>
471 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
472 <http://bugs.webkit.org/show_bug.cgi?id=15864>
476 Roll functionality of merge-changelog into resolve-ChangeLogs
477 script. The script now checks for ChangeLog.rej and
478 ChangeLog.orig files first. If it finds them, it uses the
479 ChangeLog.rej file as a patch (in old contextual diff format) to
482 * Scripts/merge-changelog: Removed.
483 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
485 2007-11-25 Sam Weinig <sam@webkit.org>
487 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
489 Reviewed by Mark Rowe.
491 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
492 * DumpRenderTree/mac/Configurations/Base.xcconfig:
493 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
494 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
495 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
497 2007-11-25 Sam Weinig <sam@webkit.org>
499 Convert DumpRenderTree to ues .xcconfig files.
501 Reviewed by Mark Rowe.
503 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
504 * DumpRenderTree/mac/Configurations: Added.
505 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
506 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
507 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
509 2007-11-25 Sam Weinig <sam@webkit.org>
511 Add ForwardingHeaders to wtf for DumpRenderTree.
513 Reviewed by Mark Rowe.
515 * DumpRenderTree/DumpRenderTree.h:
516 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
517 * DumpRenderTree/ForwardingHeaders: Added.
518 * DumpRenderTree/ForwardingHeaders/wtf: Added.
519 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
520 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
521 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
522 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
523 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
524 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
525 * DumpRenderTree/LayoutTestController.cpp:
526 * DumpRenderTree/WorkQueue.cpp:
527 * DumpRenderTree/mac/DumpRenderTree.mm:
528 * DumpRenderTree/mac/FrameLoadDelegate.mm:
529 * DumpRenderTree/mac/JavaScriptThreading.cpp:
530 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
531 * DumpRenderTree/mac/ObjCController.m:
532 * DumpRenderTree/mac/UIDelegate.mm:
533 * DumpRenderTree/mac/WorkQueueItemMac.mm:
535 2007-11-25 Adam Roben <aroben@apple.com>
537 Fix some test failures caused by r28019
539 Now that stdout is in binary mode, we need to always use printf
540 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
545 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
547 (UIDelegate::runJavaScriptAlertPanelWithMessage):
548 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
549 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
550 (UIDelegate::webViewAddMessageToConsole):
552 2007-11-25 Adam Roben <aroben@apple.com>
554 Set the font smoothing preference in DRT
556 This makes the pixel results on Windows closer to the Mac results.
560 * DumpRenderTree/win/DumpRenderTree.cpp:
561 (initializePreferences):
563 2007-11-25 Adam Roben <aroben@apple.com>
565 Port ImageDiff to CG and C++
567 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
572 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
573 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
575 (createImageFromStdin):
577 (getDifferenceBitmap):
578 (computePercentageDifferent):
579 * DumpRenderTree/win/ImageDiff.vcproj: Added.
581 2007-11-25 Adam Roben <aroben@apple.com>
583 Fix image diff link generation on Windows
587 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
590 2007-11-25 Adam Roben <aroben@apple.com>
592 Implement pixel dumping in Windows DRT
594 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
599 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
600 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
601 Content-Length header.
602 (getMD5HashStringForBitmap):
603 (dumpWebViewAsPixelsAndCompareWithExpected):
604 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
605 * DumpRenderTree/win/DumpRenderTree.cpp:
606 (dump): Do a pixel dump if requested.
607 (main): Parse pixel test options.
608 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
609 the cg/ subdirectory to the include path.
610 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
611 available in a header or import library, so we have to go through this
612 LoadLibrary/GetProcAddress dance to use them.
620 * DumpRenderTree/win/MD5.h: Added.
621 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
622 moved up to the top level to share it with Mac eventually.
623 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
624 (getBitmapContextFromWebView): Forces the WebView to paint using a
625 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
627 2007-11-25 Adam Roben <aroben@apple.com>
629 Clean up Windows DRT's option parsing a little bit
633 * DumpRenderTree/win/DumpRenderTree.cpp:
634 (main): Put non-option arguments into a Vector.
636 2007-11-25 Adam Roben <aroben@apple.com>
638 Make Windows DRT stop changing LF into CRLF
642 * DumpRenderTree/win/DumpRenderTree.cpp:
643 (main): Put stdout in binary mode.
644 * Scripts/run-webkit-tests: Remove the CRLF hack.
646 2007-11-24 David Kilzer <ddkilzer@webkit.org>
648 Removed empty directory.
650 * Scripts/resources: Removed.
652 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
654 Fix bisect-builds to work with recent WebKit nightly builds.
658 * Scripts/bisect-builds: Check for the
659 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
660 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
661 to WebKit.app/Contents/Resources.
663 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
667 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
668 not closed (affects digg.com)
670 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
671 one after finishing with a test to avoid having its delayed onload handler firing when
672 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
673 but it helps somewhat.
675 2007-11-22 Mark Rowe <mrowe@apple.com>
677 Reviewed by Alp Toker.
679 Fix build-webkit to propagate make's exit status if it fails.
681 * Scripts/webkitdirs.pm:
683 2007-11-22 Dan Bernstein <mitz@apple.com>
685 Reviewed by Mark Rowe.
687 - fix crash when running pixel tests
689 * DumpRenderTree/mac/DumpRenderTree.mm:
690 (dumpRenderTree): Parse the command line options before setting up the
691 environment so that we know if we need to set up the pixel dump
694 2007-11-21 Eric Seidel <eric@webkit.org>
696 Speculative build fix for Tiger.
698 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
700 2007-11-21 Eric Seidel <eric@webkit.org>
702 Reviewed by Tim Hatcher.
704 Break out more of DumpRenderTree.mm into individual files
706 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
707 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
710 (makeLargeMallocFailSilently):
711 * DumpRenderTree/mac/CheckedMalloc.h: Added.
712 * DumpRenderTree/mac/DumpRenderTree.mm:
715 * DumpRenderTree/mac/DumpRenderTreeMac.h:
716 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
717 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
718 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
719 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
720 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
722 (runJavaScriptThread):
723 (startJavaScriptThreads):
724 (stopJavaScriptThreads):
725 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
726 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
727 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
729 (setDefaultColorProfileToRGB):
730 (initializeColorSpaceAndScreeBufferForPixelTests):
731 (md5HashStringForBitmap):
732 (dumpWebViewAsPixelsAndCompareWithExpected):
734 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
736 Move install-unix-extras to wx directory as it seems only to be used by that
737 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
738 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
739 have install-unix-extras install into WebKitLibraries as per
742 Reviewed by Mark Rowe.
744 * Scripts/install-unix-extras: Removed.
746 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
748 2007-11-21 Eric Seidel <eric@webkit.org>
752 More refactoring for greater code readability
754 * DumpRenderTree/mac/DumpRenderTree.mm:
755 (initializeGlobalsFromCommandLineOptions):
756 (initializeColorSpaceAndScreeBufferForPixelTests):
757 (addTestPluginsToPluginSearchPath):
758 (useLongRunningServerMode):
759 (runTestingServerLoop):
760 (prepareConsistentTestingEnvironment):
764 (dumpBackForwardListForWebView):
765 (sizeWebViewForCurrentTest):
766 (methodNameStringForFailedTest):
767 (dumpBackForwardListForAllWindows):
768 (dumpWebViewAsPixelsAndCompareWithExpected):
769 (invalidateAnyPreviousWaitToDumpWatchdog):
771 * DumpRenderTree/mac/DumpRenderTreeMac.h:
772 * DumpRenderTree/mac/UIDelegate.mm:
773 (-[UIDelegate webView:createWebViewWithRequest:]):
775 2007-11-21 Eric Seidel <eric@webkit.org>
777 Reviewed by Tim Hatcher.
779 Abstract more of DRT into static methods
781 * DumpRenderTree/mac/DumpRenderTree.mm:
782 (setDefaultsToConsistentValuesForTesting):
783 (setupSignalHandlers):
784 (allocateGlobalControllers):
786 (releaseGlobalControllers):
788 (shouldLogFrameLoadDelegates):
789 (createCFURLFromPathOrURL):
790 (resetWebViewToConsistentStateBeforeTesting):
793 2007-11-21 Eric Seidel <eric@webkit.org>
795 Reviewed by Tim Hatcher.
797 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
799 * DumpRenderTree/DumpRenderTree.h:
800 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
801 * DumpRenderTree/mac/DumpRenderTree.mm:
805 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
806 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
807 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
808 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
809 (-[DumpRenderTreePasteboard declareType:owner:]):
810 (+[LocalPasteboard alloc]):
811 (-[LocalPasteboard init]):
812 (-[LocalPasteboard dealloc]):
813 (-[LocalPasteboard name]):
814 (-[LocalPasteboard releaseGlobally]):
815 (-[LocalPasteboard declareTypes:owner:]):
816 (-[LocalPasteboard addTypes:owner:]):
817 (-[LocalPasteboard changeCount]):
818 (-[LocalPasteboard types]):
819 (-[LocalPasteboard availableTypeFromArray:]):
820 (-[LocalPasteboard setData:forType:]):
821 (-[LocalPasteboard dataForType:]):
822 (-[LocalPasteboard setPropertyList:forType:]):
823 (-[LocalPasteboard setString:forType:]):
824 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
825 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
826 (+[DumpRenderTreeWindow allWindows]):
827 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
828 (-[DumpRenderTreeWindow dealloc]):
829 (-[DumpRenderTreeWindow isKeyWindow]):
830 (-[DumpRenderTreeWindow keyDown:]):
832 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
834 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
835 it indiscriminately copies any headers inside JavaScriptCore,
836 which includes Tiger ICU headers.
839 Don't run WebCore/move-js-headers.sh any longer.
841 2007-11-20 Adam Treat <treat@kde.org>
843 Reviewed by David Kilzer.
845 * Prepend git branch name to $baseProductDir
847 * Scripts/VCSUtils.pm:
848 * Scripts/webkitdirs.pm:
850 2007-11-20 Mark Rowe <mrowe@apple.com>
852 Reviewed by Simon Hausmann.
854 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
855 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
856 Have it trigger a "make distclean" rather than "make clean" to ensure that the
857 built product and generated Makefile's are removed.
859 2007-11-19 Alp Toker <alp@atoker.com>
861 Reviewed by Mark Rowe.
863 http://bugs.webkit.org/show_bug.cgi?id=16040
864 [GTK] GtkLauncher should be written in C
866 Port GtkLauncher to plain C.
868 Use a more conventional GTK+ coding style.
870 Use a toolbar instead of menus.
872 Various signature fixes and cleanups.
874 Add a license header. Assume all previous modifications were copyright
875 assigned to Apple Inc. by default.
877 * GtkLauncher/GtkLauncher.pro:
878 * GtkLauncher/main.c: Added.
879 (activate_url_entry_cb):
883 (progress_change_cb):
892 * GtkLauncher/main.cpp: Removed.
894 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
896 Build script fixes to ensure they do the right thing for the
897 wx port, and update build-wxwebkit to reflect the way the
898 build scripts now work.
902 * Scripts/build-testkjs:
903 * Scripts/build-webkit:
904 * Scripts/run-javascriptcore-tests:
905 * Scripts/webkitdirs.pm:
908 2007-11-18 Eric Seidel <eric@webkit.org>
912 Make run-javascriptcore-tests report failures on exit (to support git bisect)
914 * Scripts/run-javascriptcore-tests:
916 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
918 Reviewed by Adam Roben.
920 Make run-webkit-tests work with Windows debug build.
922 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
923 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
924 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
925 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
926 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
928 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
930 Add wxWebKit sample and build script, and integrate it with
931 build-webkit. Also make build-webkit --clean work for all
934 Reviewed by Darin Adler.
936 * Scripts/build-webkit:
937 * Scripts/webkitdirs.pm:
940 * wx/browser/browser.bkl: Added.
941 * wx/browser/browser.cpp: Added.
942 * wx/build-wxwebkit: Added.
944 2007-11-17 Adam Roben <aroben@apple.com>
946 Make it easy to run Safari in the debugger on Windows
948 I've added a new script, debug-safari, which launches Safari in the
949 debugger. On OS X it just calls gdb-safari.
951 Reviewed by Mark Rowe.
953 * FindSafari/FindSafari.cpp:
954 (_tmain): Added a /debugger flag, which in combination with
955 /printSafariLauncher will print a script that launches Safari in the
957 * Scripts/debug-safari: Added.
958 * Scripts/run-safari: Changed to call runSafari().
959 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
960 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
961 first argument along to FindSafari.
962 * Scripts/webkitdirs.pm:
963 (sub runSafari): Added.
965 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
967 Reviewed by Adam Roben.
969 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
971 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
973 Reviewed by David Kilzer.
975 The git config command was renamed to repo-config at some point. This
976 change tries git config and then git repo-config if the first fails.
978 * Scripts/prepare-ChangeLog:
981 2007-11-16 Dan Bernstein <mitz@apple.com>
983 Reviewed by Darin Adler and Sam Weinig.
985 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
987 * DumpRenderTree/win/EventSender.cpp:
988 (keyDownCallback): For characters that cannot be entered on the active
989 keyboard layout, send a WM_CHAR message with the character along with
990 a WM_KEYDOWN message with a virtual key code of 255.
992 2007-11-16 Mark Rowe <mrowe@apple.com>
994 Reviewed by Tim Hatcher.
996 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
998 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
999 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1001 2007-11-15 Adam Roben <aroben@apple.com>
1003 Make run-safari actually work on Windows
1005 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
1008 2007-11-14 Adam Roben <aroben@apple.com>
1010 Updates to Safari launching now that 3.0.4 is released
1014 * FindSafari/FindSafari.cpp:
1015 (getWebViewCLSID): Use version-independent ProgID.
1016 * Scripts/run-safari: Use run-webkit-nightly.cmd.
1018 2007-11-14 Anders Carlsson <andersca@apple.com>
1022 <rdar://problem/5309081>
1023 In DRT, "plugin.logDestroy = true" not working on Windows.
1025 * DumpRenderTree/win/TestNetscapePlugin/main.c:
1028 2007-11-14 Eric Seidel <eric@webkit.org>
1032 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
1034 2007-11-14 Anders Carlsson <andersca@apple.com>
1038 <rdar://problem/5141186>
1039 window.layoutTestController.setWindowIsKey is not implemented in DRT.
1041 Implement setWindowIsKey.
1043 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1044 (LayoutTestController::setWindowIsKey):
1046 2007-11-13 Sam Weinig <sam@webkit.org>
1048 Reviewed by Adam Roben.
1050 Fix for <rdar://problem/5382579>
1051 http/tests/security/cross-frame-access-put.html reports large
1052 negative numbers for screenLeft and screenTop (Mac reports "0")
1054 * DumpRenderTree/win/UIDelegate.cpp:
1055 (UIDelegate::UIDelegate): Initialize the RECT.
1056 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
1057 (UIDelegate::webViewFrame): ditto.
1058 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
1060 2007-11-13 Kevin McCullough <kmccullough@apple.com>
1064 - Make Drosera show source, source URLs, and function stack on Windows,
1065 and some minor fixes.
1067 * Drosera/DebuggerDocument.cpp: Force source to always update display.
1068 (DebuggerDocument::updateFileSource):
1069 * Drosera/debugger.js: Force source to always update display.
1070 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
1072 (DebuggerClient::resume):
1073 (DebuggerClient::pause):
1074 (DebuggerClient::stepInto):
1075 (DebuggerClient::stepOver):
1076 (DebuggerClient::stepOut):
1077 (DebuggerClient::showConsole):
1078 (DebuggerClient::closeCurrentFile):
1079 * Drosera/win/DebuggerClient.h: Ditto.
1080 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
1081 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
1082 removed two bugs. 1) caller could be in a bad state when asked to
1083 assign into it. 2) BSTRs were not created correctly.
1084 (DebuggerDocument::getPlatformCurrentFunctionStack):
1085 * Drosera/win/Drosera.cpp: Hook up the menu controls.
1090 (Drosera::stepInto):
1091 (Drosera::stepOver):
1093 (Drosera::showConsole):
1094 (Drosera::closeCurrentFile):
1095 * Drosera/win/Drosera.h: Hook up the menu controls.
1096 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
1097 functions, added a null check, and fixed another bug where caller could
1098 be in a bad state when asked to assign into it.
1099 (ServerConnection::didLoadMainResourceForDataSource):
1100 (ServerConnection::getCallerFrame):
1101 * Drosera/win/ServerConnection.h: Safety first.
1103 2007-11-13 Dan Bernstein <mitz@apple.com>
1105 Reviewed by Darin Adler.
1107 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
1108 DumpRenderTree --pixel-tests renders each test twice
1110 * DumpRenderTree/mac/DumpRenderTree.mm:
1111 (dumpRenderTree): Removed the --paint option because the painting code
1112 is always exercised as a result of
1113 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
1114 calling -displayIfNeeded.
1115 (dump): Changed to always grab the image from the window since the view
1116 is always displayed.
1119 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
1120 because it always paints.
1122 2007-11-12 Antti Koivisto <antti@apple.com>
1126 Add support for http media tests
1128 * Scripts/run-webkit-tests:
1130 2007-11-12 Sam Weinig <sam@webkit.org>
1132 Reviewed by Adam Roben.
1134 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
1136 * DumpRenderTree/win/DumpRenderTree.cpp:
1138 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1139 (LayoutTestController::setPrivateBrowsingEnabled):
1141 2007-11-12 Adam Roben <aroben@apple.com>
1143 * Scripts/update-webkit-localizable-strings: Changed to only scan the
1144 mac and win subdirectories.
1146 2007-11-11 Adam Roben <aroben@apple.com>
1148 Fix <rdar://5133816> keepWebHistory is not implemented
1150 Fixes fast/history/clicked-link-is-visited.html.
1154 * DumpRenderTree/win/DumpRenderTree.cpp:
1155 (runTest): Clear the optionalSharedHistory.
1156 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1157 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
1159 2007-11-10 Sam Weinig <sam@webkit.org>
1161 Reviewed by Tim Hatcher.
1163 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
1164 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
1167 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
1169 Added test: http/tests/security/cross-frame-access-private-browsing.html
1171 * DumpRenderTree/LayoutTestController.cpp:
1172 (setPrivateBrowsingEnabledCallback):
1173 (LayoutTestController::staticFunctions):
1174 * DumpRenderTree/LayoutTestController.h:
1175 * DumpRenderTree/mac/DumpRenderTree.mm:
1176 (runTest): Default to private browsing disabled.
1177 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1178 (LayoutTestController::setPrivateBrowsingEnabled):
1179 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1180 (LayoutTestController::setPrivateBrowsingEnabled):
1182 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1186 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
1189 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
1190 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
1191 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
1192 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
1193 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
1194 * Drosera/win/Drosera.cpp:
1195 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1197 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1201 - Use the new IWebFrame [local] function signature and get the shared
1204 * Drosera/win/DebuggerClient.cpp:
1205 (DebuggerClient::didFinishLoadForFrame):
1206 * Drosera/win/ServerConnection.cpp:
1207 (ServerConnection::attemptToCreateServerConnection):
1209 2007-11-07 Dan Bernstein <mitz@apple.com>
1211 Reviewed by Darin Adler.
1213 - add an option to run-webkit-tests to ignore pixel test failures where
1214 all pixels differ by no more than a specified threshold
1216 * DumpRenderTree/mac/ImageDiff.m:
1219 (computePercentageDifferent):
1220 * Scripts/run-webkit-tests:
1222 2007-11-07 Simon Hausmann <hausmann@kde.org>
1226 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
1228 * DumpRenderTree/qt/DumpRenderTree.cpp:
1230 2007-11-07 Simon Hausmann <hausmann@kde.org>
1234 Reworked the QWebSettings API.
1235 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
1237 * DumpRenderTree/qt/DumpRenderTree.cpp:
1239 2007-11-07 Simon Hausmann <hausmann@kde.org>
1243 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
1245 * DumpRenderTree/qt/jsobjects.cpp:
1247 2007-11-07 Simon Hausmann <hausmann@kde.org>
1249 Reviewed by Lars Knoll <lars@trolltech.com>.
1251 Add a QWebPage::frameCreated() signal and fix DRT
1253 The removal of createFrame in QWebPage broke the re-implementation
1254 in DumpRenderTree. Instead emit a frameCreated() signal and
1255 connect to it in DumpRenderTree.
1258 * DumpRenderTree/qt/DumpRenderTree.cpp:
1259 (WebCore::WebPage::WebPage):
1260 (WebCore::DumpRenderTree::dump):
1261 (WebCore::DumpRenderTree::connectFrame):
1262 * DumpRenderTree/qt/DumpRenderTree.h:
1264 2007-11-07 Simon Hausmann <hausmann@kde.org>
1266 Reviewed by Lars Knoll <lars@trolltech.com>.
1268 Moved all the event handlers from QWebFrame into QWebPage.
1270 This cleans up the public API and allows us to remove the
1271 HackWebFrame hack in DumpRenderTree.
1274 * DumpRenderTree/qt/jsobjects.cpp:
1275 (EventSender::mouseDown):
1276 (EventSender::mouseUp):
1277 (EventSender::mouseMoveTo):
1279 2007-11-07 Simon Hausmann <hausmann@kde.org>
1283 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
1284 to prevent the default implementation from popping up messageboxes.
1286 * DumpRenderTree/qt/DumpRenderTree.cpp:
1287 (WebCore::WebPage::javaScriptConfirm):
1288 (WebCore::WebPage::javaScriptPrompt):
1290 2007-11-06 Eric Seidel <eric@webkit.org>
1292 * Scripts/build-testkjs: build fix... too many $$
1294 2007-11-06 Eric Seidel <eric@webkit.org>
1296 Reviewed by Mark Rowe.
1298 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
1300 2007-11-05 Adam Roben <aroben@apple.com>
1302 Add support on Windows for WEBKIT_TESTFONTS
1304 This environment variable lets you specify where the fonts to be used
1305 by DumpRenderTree reside. The Qt port is already using this, so I'm
1306 just following their lead.
1310 * DumpRenderTree/win/DumpRenderTree.cpp:
1311 (exePath): Refactored code out of initialize().
1312 (fontsPath): Returns either $WEBKIT_TESTFONTS or
1313 DumpRenderTree.resources.
1314 (initialize): Use the new fontsPath function.
1315 (main): Use the new exePath function.
1316 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
1317 variable to DRT, like Qt does.
1319 2007-11-05 Mark Rowe <mrowe@apple.com>
1321 Rubber-stamped by Alp Toker.
1323 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
1325 * GtkLauncher/main.cpp:
1329 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
1331 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
1332 <http://bugs.webkit.org/show_bug.cgi?id=15830>
1334 Reviewed by Timothy.
1336 Restrict the range of nightly builds used by the bisect-builds script
1337 based on the version of Safari and the version of Mac OS X being used.
1339 Mac OS X 10.4: Safari 2.0: r11976 or newer
1340 Mac OS X 10.4: Safari 3.0: r19992 or newer
1342 Mac OS X 10.5: Safari 2.0: r19594 or newer
1343 Mac OS X 10.5: Safari 3.0: r25124 or newer
1345 * Scripts/bisect-builds:
1346 (findMacOSXVersion): Added.
1347 (makeNightlyList): Added argument to provide version of Mac OS X.
1348 Restrict range of nightly builds based on Safari and Mac OS X versions.
1350 2007-11-04 Kevin McCullough <kmccullough@apple.com>
1354 - This patch involves several changes, all of them were noticed that
1355 they were needed by the work being done in WebKit to get Drosera and
1356 WebKit working together on Windows.
1358 1) Added a debugger console for output messages.
1359 2) Drosera now listens for the WebKit server (before, the server would
1360 have to be running before Drosera was started.)
1361 3) Fixed a bug where the WebView started out as 0x0 pixels.
1362 4) Fixed a bug when there is no scope.
1363 5) Added the HTML, JS, and CSS to the project file to make them easy to
1365 6) Made the ServerConnection functions virtual.
1367 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
1368 for the WebKit server.
1369 (DebuggerClient::DebuggerClient):
1370 (DebuggerClient::~DebuggerClient):
1371 (DebuggerClient::didFinishLoadForFrame):
1372 (DebuggerClient::serverConnected):
1373 (DebuggerClient::attemptToCreateServerConnection):
1374 * Drosera/win/DebuggerClient.h: Ditto.
1375 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
1377 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1378 (DebuggerDocument::platformValueForScopeVariableNamed):
1379 * Drosera/win/Drosera.cpp:
1380 (_tWinMain): Added a console in debug for output messages.
1381 (Drosera::Drosera): Listen for server.
1382 (Drosera::initUI): The server now Initializes COM.
1383 (Drosera::serverConnected): Part of the listening for the server.
1384 (Drosera::attemptToCreateServerConnection): Ditto.
1385 * Drosera/win/Drosera.h: New interface for listening for the server.
1386 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
1387 files to the VS project.
1388 * Drosera/win/ServerConnection.cpp: Part of listening for the server
1390 (ServerConnection::ServerConnection):
1391 (ServerConnection::attemptToCreateServerConnection):
1392 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
1394 (ServerConnection::serverConnected):
1396 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
1400 http://bugs.webkit.org/show_bug.cgi?id=15832
1401 fast/dom/gc-10.html crashes when run alone
1403 Check for !done before using objects that can be already deallocated.
1405 * DumpRenderTree/mac/EditingDelegate.mm:
1406 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1407 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1408 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1409 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1410 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1411 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1412 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1413 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1414 (-[EditingDelegate webViewDidBeginEditing:]):
1415 (-[EditingDelegate webViewDidChange:]):
1416 (-[EditingDelegate webViewDidEndEditing:]):
1417 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1418 (-[EditingDelegate webViewDidChangeSelection:]):
1419 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1420 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1421 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1422 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1423 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1424 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1425 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1426 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1427 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1428 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1429 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1430 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1431 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1432 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1433 (-[FrameLoadDelegate webView:willCloseFrame:]):
1434 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1435 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1436 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1437 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1438 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1439 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1440 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1441 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1442 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1444 2007-11-04 Mark Rowe <mrowe@apple.com>
1446 Build fix. Don't use Carbon.h as the prefix header as it triggers
1447 warnings that would otherwise be suppressed due to it being a system header.
1449 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1451 2007-11-03 Maciej Stachowiak <mjs@apple.com>
1453 Rubber stamped by Adam.
1455 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
1457 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1459 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
1461 Sort files(...); sections of Xcode project files.
1463 Rubber-stamped by Darin.
1465 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1466 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1467 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1468 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
1470 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
1472 Script to sort "files(...);" sections in Xcode project.pbxproj files.
1476 * Scripts/sort-Xcode-project-file: Added.
1478 2007-11-02 Darin Adler <darin@apple.com>
1480 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
1482 2007-11-02 Darin Adler <darin@apple.com>
1486 * Scripts/run-sunspider: Pass the "--base" option through.
1488 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
1489 the real script do that. Default configuration to Release to match run-sunspider
1490 so we don't end up building Debug just to compare results.
1492 2007-11-01 Adam Roben <aroben@apple.com>
1494 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
1498 * Scripts/commit-log-editor: Show all the directories beneath the
1499 source root, instead of just the last one.
1501 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
1503 Reviewed by Adam Roben.
1505 Print out an error message when the Windows build fails
1506 and provide guidance on how to find out what went wrong.
1508 * Scripts/build-webkit:
1509 * Scripts/webkitdirs.pm:
1511 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
1513 Rubber-stamped by Adam Roben.
1515 Rolled out r27326 - debug CRT seems to cause no problems after all.
1517 * DumpRenderTree/win/DumpRenderTree.vcproj:
1519 2007-10-31 Adam Roben <aroben@apple.com>
1521 Switch the Debug configuration to using the non-debug CRT
1523 This matches WebKit.
1527 * DumpRenderTree/win/DumpRenderTree.vcproj:
1529 2007-10-31 Antti Koivisto <antti@apple.com>
1533 Disable media tests when doing leak checking on Tiger.
1534 They crash in QuickTime (rdar://problem/5537157).
1536 * Scripts/run-webkit-tests:
1538 2007-10-29 Antti Koivisto <antti@apple.com>
1542 Build media support by default on OSX only.
1544 * Scripts/build-webkit:
1546 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1548 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
1549 get caught by the pre-commit hooks.
1551 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1555 - This is a collection of relatively unrelated changes and cleanups
1556 to Drosera to prepare it for interacting with WebKit. A lot of these
1557 changes are just correcting mistakes, for example removing included
1558 headers that are no longer needed.
1560 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
1561 this will be needed by the DebuggerClient.
1562 (DebuggerDocument::server):
1563 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
1564 * Drosera/win/DebuggerClient.cpp:
1565 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
1566 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
1567 (DebuggerClient::createWebViewWithRequest): Added comment about its
1569 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
1571 (DebuggerClient::webViewLoaded): Moved.
1572 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
1573 file, since this was the only place it was used.
1575 * Drosera/win/Drosera.h: Cleaned up the includes.
1576 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
1577 * Drosera/win/HelperFunctions.h: Removed.
1579 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1583 - Small cleanup in the ServerConnection class.
1585 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
1586 and added an include.
1587 (ServerConnection::currentFrame):
1588 (ServerConnection::getCallerFrame):
1589 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
1590 made a pointer into a COMPtr, and cleaned up the includes.
1592 2007-10-29 Timothy Hatcher <timothy@apple.com>
1594 Reviewed by John Sullivan.
1596 - Place the Localizable.strings file in mac or win directories
1597 if that location exists.
1598 - Also look for UI_STRING in .c files.
1600 * Scripts/extract-localizable-strings:
1602 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1606 - Set the eol-style to native and made all the line endings the same
1607 so that I avoid messy diffs that show eol changes.
1609 * Drosera/win/ServerConnection.cpp:
1610 (ServerConnection::didParseSource):
1611 (ServerConnection::didEnterCallFrame):
1612 (ServerConnection::willExecuteStatement):
1613 (ServerConnection::willLeaveCallFrame):
1614 (ServerConnection::exceptionWasRaised):
1616 2007-10-30 Kevin McCullough <kmccullough@apple.com>
1620 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
1621 functionality that could not have existed previously without the new
1623 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
1624 from a BSTR to a JSValueRef.
1625 (DebuggerDocument::platformEvaluateScript): Implemented.
1626 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
1627 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1629 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
1630 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
1631 * Drosera/win/ServerConnection.cpp: Added a helper function.
1632 (ServerConnection::getCallerFrame):
1633 * Drosera/win/ServerConnection.h: Added a helper function.
1635 2007-10-29 Kevin McCullough <kmccullough@apple.com>
1637 updated reviewers for my previous changelog.
1639 2007-10-29 Kevin McCullough <kmccullough@apple.com>
1640 Reviewed by Maciej and Adam and Geoff.
1642 - Minor mac-side improvements including moving a function to a more
1643 appropriate location, fixing a warning, and correctly checking
1646 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
1647 (DebuggerDocument::willExecuteStatement):
1648 (DebuggerDocument::didEnterCallFrame):
1649 (DebuggerDocument::willLeaveCallFrame):
1650 (DebuggerDocument::windowScriptObjectAvailable):
1651 (DebuggerDocument::callFunctionOnObject):
1652 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
1653 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
1654 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
1655 because it doesn't require the ServerConnection at all.
1656 (NSStringCreateWithJSStringRef): Made an argument const.
1657 (JSValueRefCreateWithNSString): Made an argument const.
1658 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
1659 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1660 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
1661 * Drosera/mac/ServerConnection.mm: Ditto.
1662 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1664 2007-10-29 Sam Weinig <sam@webkit.org>
1666 Reviewed by Adam Roben.
1668 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
1670 * DumpRenderTree/LayoutTestController.cpp:
1671 (LayoutTestController::LayoutTestController):
1672 (getGlobalFlagCallback):
1673 (setGlobalFlagCallback):
1674 (LayoutTestController::getJSClass):
1675 (LayoutTestController::staticValues):
1676 * DumpRenderTree/LayoutTestController.h:
1677 (LayoutTestController::globalFlag):
1678 (LayoutTestController::setGlobalFlag):
1680 2007-10-29 Darin Adler <darin@apple.com>
1684 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
1685 resolution instead of its default.
1687 2007-10-29 David Kilzer <ddkilzer@webkit.org>
1689 Fixed showStatus() to print status for successfully resolved conflicts when using git.
1691 Reviewed by Mark Rowe.
1693 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
1694 was successfully resolved, but this would not show any status because the change had
1695 already been cached in the index using "git add". The solution is to add an optional
1696 second argument to showStatus() which adds the "--cached" switch to the command.
1698 * Scripts/resolve-ChangeLogs:
1701 2007-10-28 Eric Seidel <eric@webkit.org>
1703 Reviewed by Maciej and Geoff, in unison.
1705 * Scripts/run-webkit-tests: remove broken --svg option
1707 2007-10-28 Darin Adler <darin@apple.com>
1711 * Scripts/run-sunspider: Default to "Release" configuration rather than
1712 defaulting to the last configuration used as other scripts do. This can
1713 still be overriden on the command line with "--debug" if there's some
1714 reason to do so. Also fix a typo.
1716 * Scripts/sunspider-compare-results: Fix a typo.
1718 2007-10-26 Kevin McCullough <kmccullough@apple.com>
1722 - Implemented the WebScriptDebugListener functions now that the
1723 WebScriptDebugServer exists
1725 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
1727 (ServerConnection::currentFrame):
1728 (ServerConnection::didLoadMainResourceForDataSource):
1729 (ServerConnection::didParseSource):
1730 (ServerConnection::failedToParseSource):
1731 (ServerConnection::didEnterCallFrame):
1732 (ServerConnection::willExecuteStatement):
1733 (ServerConnection::willLeaveCallFrame):
1734 (ServerConnection::exceptionWasRaised):
1735 * Drosera/win/ServerConnection.h: Removed unused arguments from the
1736 members arguments list.
1738 2007-10-26 David Kilzer <ddkilzer@webkit.org>
1740 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
1741 <http://bugs.webkit.org/show_bug.cgi?id=15600>
1745 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
1746 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
1747 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
1748 file. Note that it may also be used as a stand-alone script.
1750 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
1751 * Scripts/resolve-ChangeLogs: Added.
1752 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
1754 2007-10-26 Mark Rowe <mrowe@apple.com>
1756 Qt build fix. r27084 added a destructor implementation for LayoutTestController
1757 to the Qt port on the assumption that it was an implementation of the cross-platform
1758 LayoutTestController class. It is not, so it did not need to be changed.
1760 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
1762 2007-10-25 Mark Rowe <mrowe@apple.com>
1766 Fix builds with code coverage enabled.
1768 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
1770 2007-10-25 Darin Adler <darin@apple.com>
1772 Reviewed by Mark Rowe.
1774 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
1775 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
1777 2007-10-25 Stephanie <slewis@apple.com>
1781 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1783 2007-10-25 Stephanie <slewis@apple.com>
1785 Reviewed by Mark Rowe, Adam Roben.
1787 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
1789 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1791 2007-10-25 Alice Liu <alice.liu@apple.com>
1795 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
1797 Moving destructor into platform-specific files
1798 * DumpRenderTree/LayoutTestController.cpp:
1799 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1800 (LayoutTestController::~LayoutTestController):
1801 * DumpRenderTree/qt/jsobjects.cpp:
1802 (LayoutTestController::~LayoutTestController):
1804 LayoutTestController wasn't being destroyed
1805 * DumpRenderTree/win/DumpRenderTree.cpp:
1809 * DumpRenderTree/win/EditingDelegate.h:
1811 Reset certain values on the webview (or related delegate) that might
1812 have changed while running a test
1813 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1814 (LayoutTestController::~LayoutTestController):
1816 2007-10-25 Adam Roben <aroben@apple.com>
1818 Make sunspider-compare-results work with relative paths
1822 * Scripts/sunspider-compare-results: Convert arguments to absolute
1823 paths before we chdir.
1825 2007-10-25 Kevin McCullough <kmccullough@apple.com>
1829 - Implemented server calls now the WebScriptDebugServer exists.
1830 - Also removed no longer needed call to initialize CG.
1832 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
1835 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
1836 (ServerConnection::ServerConnection):
1837 (ServerConnection::~ServerConnection):
1838 (ServerConnection::pause):
1839 (ServerConnection::resume):
1840 (ServerConnection::stepInto):
1841 (ServerConnection::applicationTerminating):
1842 (ServerConnection::serverConnectionDidDie):
1843 * Drosera/win/ServerConnection.h: Now uses the COM class.
1845 2007-10-24 George Staikos <staikos@kde.org>
1849 * Scripts/build-webkit:
1851 2007-10-24 Adam Roben <aroben@apple.com>
1853 Remove now-unnecessary call to InitializeCoreGraphics
1855 WebKit takes care of this now.
1859 * DumpRenderTree/win/DumpRenderTree.cpp:
1862 2007-10-24 Adam Roben <aroben@apple.com>
1864 Use WebTextRenderer in DRT
1868 * DumpRenderTree/win/DumpRenderTree.cpp:
1869 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
1871 2007-10-24 Sven Herzberg <sven@imendio.com>
1873 Reviewed by Mark Rowe.
1875 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
1876 Bug 15614: [GTK] qmake based backends don't build on OS X
1878 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
1879 GTK backend on a Mac
1880 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
1881 isDarwin() to make it reusable in other places (like the workaround-
1882 for-prebuilt-qmake in build-webkit)
1884 2007-10-24 David Kilzer <ddkilzer@webkit.org>
1886 Refurbish update-webkit script.
1890 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
1891 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
1892 multi-argument version of system() for flexibility and security. Check for existence
1893 of Internal directory using -d test instead of -x.
1895 2007-10-24 David Kilzer <ddkilzer@webkit.org>
1897 Minor clean-up of prepare-ChangeLog script.
1901 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
1902 of a string. Use multi-argument versions of open() and system() for flexibility and
1905 2007-10-24 Alice Liu <alice.liu@apple.com>
1909 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
1911 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
1912 replay the saved events when we're still processing the mousedown that starts the drag
1913 * DumpRenderTree/win/EventSender.cpp:
1915 * DumpRenderTree/win/UIDelegate.cpp:
1916 (UIDelegate::doDragDrop):
1918 2007-10-24 Kevin McCullough <kmccullough@apple.com>
1920 Reviewed by Sam, Steve and Darin.
1922 - Stubbed out the WebScriptDebugListener functionality in the Server
1923 Connection class to prepare it for receiving those callbacks.
1924 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
1925 and the ServerConnection to not need to be initialized with a server
1926 name, since that is not the way we connect to the WebKit server.
1928 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
1929 no exception. Now it only loggs when there is an exception
1930 (DebuggerDocument::willExecuteStatement):
1931 (DebuggerDocument::didEnterCallFrame):
1932 (DebuggerDocument::willLeaveCallFrame):
1933 (DebuggerDocument::windowScriptObjectAvailable):
1934 (DebuggerDocument::callFunctionOnObject):
1935 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
1936 to be instantiated with a server's name.
1937 (DebuggerClient::DebuggerClient):
1938 (DebuggerClient::didFinishLoadForFrame):
1939 * Drosera/win/DebuggerClient.h: Removed unsued variable.
1940 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
1943 (Drosera::initServer):
1944 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
1945 instantiated with a server's name.
1946 * Drosera/win/ServerConnection.cpp:
1947 (ServerConnection::ServerConnection): No longer needs a server name
1948 (ServerConnection::~ServerConnection): Only release the global context
1950 (ServerConnection::serverConnectionDidDie): Stub for
1951 IWebScriptDebugListener
1952 (ServerConnection::QueryInterface): ditto
1953 (ServerConnection::AddRef): ditto
1954 (ServerConnection::Release): ditto
1955 (ServerConnection::didLoadMainResourceForDataSource): ditto
1956 (ServerConnection::didParseSource): ditto
1957 (ServerConnection::failedToParseSource): ditto
1958 (ServerConnection::didEnterCallFrame): ditto
1959 (ServerConnection::willExecuteStatement): ditto
1960 (ServerConnection::willLeaveCallFrame): ditto
1961 (ServerConnection::exceptionWasRaised): ditto
1962 * Drosera/win/ServerConnection.h: Stubbed out the
1963 IWebScriptDebugListener functions, and this class no longer needs to be
1964 instantiated with a server name.
1966 2007-10-24 Lars Knoll <lars@trolltech.com>
1970 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
1972 * DumpRenderTree/qt/jsobjects.h:
1974 2007-10-24 Lars Knoll <lars@trolltech.com>
1978 add another command.
1980 * DumpRenderTree/qt/jsobjects.cpp:
1981 (TextInputController::doCommand):
1983 2007-10-24 Lars Knoll <lars@trolltech.com>
1987 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
1989 * DumpRenderTree/qt/jsobjects.cpp:
1990 (EventSender::keyDown):
1991 * DumpRenderTree/qt/jsobjects.h:
1993 2007-10-24 Lars Knoll <lars@trolltech.com>
1997 implement eventSender.keyDown().
1999 * DumpRenderTree/qt/jsobjects.cpp:
2000 (EventSender::keyDown):
2002 2007-10-24 Lars Knoll <lars@trolltech.com>
2006 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2008 * DumpRenderTree/qt/DumpRenderTree.cpp:
2009 (WebCore::DumpRenderTree::DumpRenderTree):
2010 (WebCore::DumpRenderTree::initJSObjects):
2011 * DumpRenderTree/qt/jsobjects.cpp:
2012 (TextInputController::doCommand):
2014 2007-10-24 Lars Knoll <lars@trolltech.com>
2018 first bit of implementation for the textinputcontroller.
2020 * DumpRenderTree/qt/DumpRenderTree.cpp:
2021 (WebCore::DumpRenderTree::DumpRenderTree):
2022 * DumpRenderTree/qt/DumpRenderTree.h:
2023 * DumpRenderTree/qt/jsobjects.cpp:
2024 (TextInputController::TextInputController):
2025 (TextInputController::doCommand):
2026 * DumpRenderTree/qt/jsobjects.h:
2028 2007-10-24 Lars Knoll <lars@trolltech.com>
2032 make the man webpage believe it has focus, so the editing tests work correctly.
2034 * DumpRenderTree/qt/DumpRenderTree.cpp:
2035 (WebCore::DumpRenderTree::DumpRenderTree):
2037 2007-10-24 Lars Knoll <lars@trolltech.com>
2041 implement layoutTestController.dumpEditingCallbacks() correctly.
2043 * DumpRenderTree/qt/DumpRenderTree.cpp:
2044 (WebCore::DumpRenderTree::DumpRenderTree):
2045 * DumpRenderTree/qt/jsobjects.cpp:
2046 (LayoutTestController::reset):
2047 (LayoutTestController::dumpEditingCallbacks):
2049 2007-10-24 Lars Knoll <lars@trolltech.com>
2053 Implement support for testing editing.
2055 * DumpRenderTree/qt/DumpRenderTree.cpp:
2056 (WebCore::DumpRenderTree::DumpRenderTree):
2058 2007-10-23 Sam Weinig <sam@webkit.org>
2060 Check for null BSTR that can be passed to the UIDelegate methods
2061 from javascript null and undefined. Fixes a failing test case on
2062 Windows (fast/dom/Window/alert-undefined.html)
2064 Reviewed by Eric Seidel.
2066 * DumpRenderTree/win/UIDelegate.cpp:
2067 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2068 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2069 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2070 (UIDelegate::webViewAddMessageToConsole):
2072 2007-10-23 Maciej Stachowiak <mjs@apple.com>
2076 Don't print a massive pile of setenvs from tools that automatically build testkjs.
2078 * Scripts/build-testkjs:
2080 2007-10-23 Maciej Stachowiak <mjs@apple.com>
2084 - add wrapper that finds the right copy of testkjs
2086 * Scripts/sunspider-compare-results: Added.
2088 2007-10-23 Kevin McCullough <kmccullough@apple.com>
2092 - After talking with Steve I now see that the WebKit server must be
2093 running for DCOM to create the distributed objects, which makes sense
2094 and currently WebKit only allows one instance to be running at a time
2095 which avoids accidentally connecting to the wrong server
2096 - In light of this I have removed the code for the attach box and
2097 NotificationServer and known server names, since they are all extranious
2100 * Drosera/win/Drosera.cpp: Removed notification classes and known server
2102 (_tWinMain): Uses init instead of initUI.
2103 (droseraWndProc): No longer creats an attach dialog box.
2104 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
2105 it's not manditory to call init before doing COM stuff.
2106 (Drosera::init): calls initUI and will call attach when the
2107 functionality exists.
2108 (Drosera::initUI): Has changed very little.
2109 (Drosera::attach): Changed the signature to reflect that we no longer
2110 need the dictionary of known server names.
2111 * Drosera/win/Drosera.h: Removed notification classes and known server
2112 names. Also renamed and moved some functions.
2113 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
2114 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
2115 headers to the resources folder.
2116 * Drosera/win/resource.h: Removed the Attach box.
2118 2007-10-22 Adam Roben <aroben@apple.com>
2122 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
2124 2007-10-22 Kevin McCullough <kmccullough@apple.com>
2126 - Removed a leak that was fixed.
2128 * Scripts/run-webkit-tests:
2130 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2134 - Changed the Client so that the DebuggerDocument now own the
2135 ServerConnection. This simplifies ownership and cleanup.
2137 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
2139 (DebuggerClient::initWithServerName):
2140 (DebuggerClient::didFinishLoadForFrame):
2141 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
2143 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
2144 until after we have a server which we are attached to.
2147 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
2150 2007-10-22 Simon Hausmann <hausmann@kde.org>
2152 Reviewed by Nikolas.
2154 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
2156 * Scripts/run-javascriptcore-tests:
2158 2007-10-22 Simon Hausmann <hausmann@kde.org>
2160 Reviewed by Nikolas.
2162 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.
2164 * Scripts/build-drosera:
2165 * Scripts/build-dumprendertree:
2166 * Scripts/build-testkjs:
2167 * Scripts/build-webkit:
2168 * Scripts/run-javascriptcore-tests:
2169 * Scripts/run-sunspider:
2170 * Scripts/run-webkit-tests:
2171 * Scripts/webkitdirs.pm:
2173 2007-10-22 Andrew Wellington <proton@wiretapped.net>
2175 Reviewed by Mark Rowe.
2177 Fix for local database support after r26879
2178 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
2180 * Scripts/build-webkit:
2182 2007-10-22 Holger Freyther <zecke@selfish.org>
2184 Reviewed by Simon Hausmann <hausmann@kde.org>.
2186 - Do not build testkjs as an application bundle. This is
2187 needed for run-javascriptcore-tests on OSX.
2188 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
2189 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
2190 as we do not have -rpath on OSX.
2192 * DumpRenderTree/qt/DumpRenderTree.pro:
2193 * Scripts/run-webkit-tests:
2195 2007-10-22 Simon Hausmann <hausmann@kde.org>
2199 Fix support for Signed-off-by detection in prepare-ChangeLog
2200 --git-commit. The Signed-off-by tag does not appear in the header
2201 but usually at the end.
2203 * Scripts/prepare-ChangeLog:
2205 2007-10-21 Mark Rowe <mrowe@apple.com>
2209 Fix run-javascriptcore-tests for Gtk.
2211 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
2213 2007-10-20 Eric Seidel <eric@webkit.org>
2217 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
2219 2007-10-20 Eric Seidel <eric@webkit.org>
2223 Add improved argument handling to run-sunspider, including
2224 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
2225 Also re-factor code into subroutines
2227 * Scripts/build-dumprendertree: removed bogus comments
2228 * Scripts/build-testkjs: Added.
2229 * Scripts/run-javascriptcore-tests: use build-testkjs
2230 * Scripts/run-sunspider: improved argument handling, abstraction
2231 * Scripts/run-webkit-tests: improved abstraction
2233 2007-10-20 Matt Lilek <webkit@mattlilek.com>
2235 Not reviewed, Windows build fix.
2237 * DumpRenderTree/win/EventSender.cpp:
2240 2007-10-20 Darin Adler <darin@apple.com>
2242 Reviewed by Tim Hatcher.
2244 - http://bugs.webkit.org/show_bug.cgi?id=15544
2245 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
2246 not rely on Apple-specific key codes
2248 * DumpRenderTree/mac/EventSendingController.mm:
2249 (-[EventSendingController keyDown:withModifiers:]):
2250 Added named key "rightArrow". Later we could have a whole table of these.
2251 Also tweaked modifiers code a little.
2253 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
2255 2007-10-19 Darin Adler <darin@apple.com>
2259 - http://bugs.webkit.org/show_bug.cgi?id=15566
2260 possible fix for leak seen in DumpRenderTree
2262 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
2263 Delete the item if it's not put on the queue, since the caller has
2264 no way of knowing that. Would be better to have the parameter type
2265 be auto_ptr to express the fact that we take ownership.
2269 * Drosera/mac/main.m: Add missing include.
2271 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2275 - This change should be identical but for some reason was not working
2278 * Scripts/prepare-ChangeLog:
2280 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2282 Reviewed by Oliver and Tim.
2284 - Made use of RetainPtr to avoid retain and release issues and moved the
2285 log function to DebuggerDocumentPlatform, which seems to be a more
2286 logical place for it to live.
2287 - Also moved knownServers from the ServerConnection to
2288 DebuggerApplication to match the Windows code and because it makes sense
2289 that a connection knows its own server but not all of them.
2291 * Drosera/mac/DebuggerClient.h: Moved the log function to
2292 DebuggerDocumentPlatform.
2293 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
2294 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
2295 call for the server name up from the ServerConnection class.
2296 (-[DebuggerClient dealloc]):
2297 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
2298 for the server name up from the ServerConnection.
2299 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
2300 (DebuggerDocument::platformPause):
2301 (DebuggerDocument::platformResume):
2302 (DebuggerDocument::platformStepInto):
2303 (DebuggerDocument::platformEvaluateScript):
2304 (DebuggerDocument::getPlatformCurrentFunctionStack):
2305 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2306 (DebuggerDocument::platformValueForScopeVariableNamed):
2307 (DebuggerDocument::platformLog): Log directly from here. No need to call
2309 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
2310 way I see it, a ServerConnection should only know about its connection
2311 and the group of all possible servers should be kept by the
2313 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
2314 currentServerName, it makes sense that the connection should know that
2316 (-[ServerConnection currentServerName]):
2318 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2322 - Integrated changes from mac drosera. Recently I've encapsulated
2323 out the server connection object from the rest of Drosera because
2324 it is very platform dependent right now and RPC is not implemented on
2325 windows. This functionality, of communicating with the WebKit server
2326 is the next area I will be focusing on in Windows.
2328 - Other changes and cleanup were made to organize the code and add notes
2329 on which parts still need work. Also some mac code is added and
2330 commented out, to act as pseudocode for the logic of those parts.
2332 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
2334 * Drosera/config.h: Added whitespace.
2335 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
2336 these files got moved into Drosera.h/cpp
2337 * Drosera/win/DebuggerApplication.h: Removed.
2338 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
2339 happened here to better match the logic flow of the same code on the
2340 mac side and to use the new ServerConnection class.
2341 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
2342 (DebuggerClient::initWithServerName): Initializer that will set up the
2343 class to use a ServerConnection object. This was necessary so I could
2344 create a DebuggerClient without having to initilaize it at
2346 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
2347 will be the UIDelegate and FrameLoadDelegate.
2348 (DebuggerClient::AddRef): For IUnknown.
2349 (DebuggerClient::Release): For IUnknown.
2350 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
2351 this still needs to set the global context of the server, but
2352 IWebFrame does not have an accessor for the global context yet.
2353 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
2354 this is a pass through for the same function in the document.
2355 (DebuggerClient::didReceiveTitle): Unimplemented part of
2356 FrameLoadDelegate this would change the title of the window.
2357 (DebuggerClient::createWebViewWithRequest): Part of the
2358 FrameLoadDelegate. This is about new windows via Window.open() and
2359 how their delegates are set.
2360 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
2361 UIDelegate. Just a debug function for printing messages.
2362 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
2363 because the Client should be the UIDelegate and FrameLoadDelegate
2364 to match the delegates on mac.
2365 (DebuggerClient::webViewLoaded): Added accessor method.
2366 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
2367 forgotten to add this file before. This is where the platform
2368 dependent versions of the Documents functions live. Most of these are
2369 unimplemented because some piece of functionality does not exist on
2371 (DebuggerDocument::platformPause):
2372 (DebuggerDocument::platformResume):
2373 (DebuggerDocument::platformStepInto):
2374 (DebuggerDocument::platformEvaluateScript):
2375 (DebuggerDocument::getPlatformCurrentFunctionStack):
2376 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2377 (DebuggerDocument::platformValueForScopeVariableNamed):
2378 (DebuggerDocument::platformLog):
2379 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
2380 responsibilities becaue they belong in the Client. Also I laid the
2381 groundwork for attaching Drosera to a WebKit process
2382 (attachWndProc): Now if a server is selected the Client becomes it's
2384 (Drosera::Drosera): Added the construction of the Client and dictionary
2386 (Drosera::initUI): This is no longer the delegates, the Client is.
2387 (Drosera::webViewLoaded): Now asks the Client instead of holding local
2389 (Drosera::applicationDidFinishLaunching): Placeholder for needed
2390 notification registration when it's possible to implement.
2391 (Drosera::serverLoaded): Ditto
2392 (Drosera::serverUnloaded): Ditto
2393 (Drosera::attach): Attach Drosera to the WebKit server.
2394 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
2397 (Drosera::knownServers):
2398 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
2399 and added the ServerConnection.
2400 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
2401 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
2402 Most of the functions are completely unimlemented because they cannot
2403 connect with the WebKit server, because one does not exist on Windows
2405 (ServerConnection::initWithServerName):
2406 (ServerConnection::~ServerConnection):
2407 (ServerConnection::setGlobalContext):
2408 (ServerConnection::pause):
2409 (ServerConnection::resume):
2410 (ServerConnection::stepInto):
2411 (ServerConnection::switchToServerNamed):
2412 (ServerConnection::applicationTerminating):
2413 (ServerConnection::serverConnectionDidDie):
2414 (ServerConnection::currentFrame):
2415 * Drosera/win/ServerConnection.h: Added. Ditto.
2416 (ServerConnection::ServerConnection):
2418 2007-10-19 Alice Liu <alice.liu@apple.com>
2422 Fix for these broken layout tests on Windows:
2424 fast/forms/focus-selection-input.html
2425 fast/forms/focus-selection-textarea.html
2426 fast/forms/select-accesskey.html
2428 * DumpRenderTree/win/EventSender.cpp:
2430 correct the VK code for alt key.
2432 2007-10-19 Eric Seidel <eric@webkit.org>
2434 Reviewed by Mark Rowe.
2436 Make the GtkLauncher code slightly more readable.
2438 * GtkLauncher/main.cpp:
2439 (setupMainMenu): Added.
2440 (setupMainWindowUI): Added.
2443 2007-10-19 Maciej Stachowiak <mjs@apple.com>
2445 Rubber stamped by Adam.
2447 - don't delay-load WebKit in DumpRenderTree.
2449 * DumpRenderTree/win/DumpRenderTree.vcproj:
2451 2007-10-18 Dan Bernstein <mitz@apple.com>
2453 Reviewed by Adam Roben.
2455 - fix <rdar://problem/5313523>
2456 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
2458 * DumpRenderTree/mac/DumpRenderTree.mm:
2459 (dump): Changed to use _responseMIMEType.
2461 2007-10-17 Adam Roben <aroben@apple.com>
2463 Make it possible to have Windows-specific tests and results
2465 When searching for tests to run and the Skipped file, we will only
2466 look in platform/win and the cross-platform directory. When looking
2467 for expected results, we will look in platform/win, then
2468 platform/mac-leopard, then platform/mac, then finally the
2469 cross-platform directory.
2473 * Scripts/run-webkit-tests:
2474 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
2475 searching in the cross-platform directory.
2476 (sub buildPlatformHierarchy): Removed some unneeded calls to
2479 2007-10-17 Adam Roben <aroben@apple.com>
2481 Add back the call to register WebKit that we had before WebKitInitializer existed
2483 This is needed to ensure that the right WebKit is used when
2484 instantiating COM objects.
2488 * DumpRenderTree/win/debug_internal.vsprops: Define
2489 DEBUG_WEBKIT_HAS_SUFFIX.
2490 * DumpRenderTree/win/DumpRenderTree.cpp:
2493 2007-10-17 Adam Roben <aroben@apple.com>
2495 Import File::Basename in webkitdirs since we use it
2497 * Scripts/webkitdirs.pm:
2499 2007-10-17 Kevin McCullough <kmccullough@apple.com>
2501 - Updated the tiger leaks list to make the internal bots green.
2503 * Scripts/run-webkit-tests:
2505 2007-10-17 Adam Roben <aroben@apple.com>
2507 Build fix for VC++ Express
2509 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
2512 2007-10-16 Kevin McCullough <kmccullough@apple.com>
2516 - Minor mac improvements based on observations I made while implementing the
2519 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
2520 then hand it to the Client who will retain it, it should just be the client who
2521 creates and owns the server.
2522 (-[DebuggerApplication attach:]):
2523 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
2524 * Drosera/mac/DebuggerClient.mm: Creates the server.
2525 (-[DebuggerClient initWithServerName:]):
2526 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
2527 can instead forward declare what it needs.
2529 2007-10-16 Darin Adler <darin@apple.com>
2531 Reviewed by Geoff Garen.
2533 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
2534 want to turn failing tests into platform-specific test results. Also did a
2535 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
2536 would take the type of results into account only some of the time.
2538 2007-10-16 Adam Roben <aroben@apple.com>
2540 Add a new nightly launcher script for Windows
2542 This new script is for versions of Safari that don't delay-load
2543 WebKit. I had to make FindSafari be able to print out the nightly
2544 launcher script on stdout because Windows shell scripts can't capture
2545 the output from a command into an environment variable.
2549 * FindSafari/FindSafari.cpp:
2550 (_tmain): Added /printSafariLauncher option.
2551 * Scripts/run-webkit-nightly.cmd: Added.
2553 2007-10-16 Adam Roben <aroben@apple.com>
2555 Replace WebKitInitializer with FindSafari
2557 We now rely on setting the PATH environment variable to tell Windows
2558 where to find WebKit and its dependencies (similar to
2559 DYLD_FRAMEWORK_PATH on Mac).
2561 This change also make DumpRenderTree no longer delay-load WebKit.
2565 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
2567 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
2568 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
2569 WebKitInitializer, don't delay-load WebKit.
2570 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
2571 * Scripts/run-webkit-tests: Ditto.
2572 * Scripts/webkitdirs.pm:
2573 (sub setPathForRunningWebKitApp): Added.
2574 * WebKitInitializer/WebKitInitializer.cpp: Removed.
2575 * WebKitInitializer/WebKitInitializer.h: Removed.
2576 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
2577 * WebKitInitializer/debug.vsprops: Removed.
2578 * WebKitInitializer/debug_internal.vsprops: Removed.
2579 * WebKitInitializer/release.vsprops: Removed.
2581 2007-10-16 Adam Roben <aroben@apple.com>
2583 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
2585 http://bugs.webkit.org/show_bug.cgi?id=15532
2587 FindSafari simply prints the location of an installed Safari.exe on
2592 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
2595 (getInstalledWebKitDirectory):
2597 * FindSafari/FindSafari.vcproj: Added.
2598 * Scripts/webkitdirs.pm:
2599 (sub installedSafariPath): Added. Calls FindSafari on Windows.
2601 2007-10-16 Adam Roben <aroben@apple.com>
2603 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
2605 Reviewed by Kevin McCullough.
2607 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
2608 when referring to WebKit.dll.
2609 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
2610 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
2611 * DumpRenderTree/win/release.vsprops: Ditto.
2612 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
2613 never have a _debug suffix on WebKit.dll.
2614 * WebKitInitializer/WebKitInitializer.cpp:
2615 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
2617 * WebKitInitializer/debug_internal.vsprops: Added
2618 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
2620 2007-10-16 Darin Adler <darin@apple.com>
2624 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
2625 Remove now-unneeded control/alt key hack; the tests have been updated.
2627 2007-10-16 Kevin McCullough <kmccullough@apple.com>
2629 - Updated leaks list because our internal bot upgraded it's version of leopard and
2630 one of the leaks was fixed between that revision and the bot's previous version of
2633 * Scripts/run-webkit-tests:
2635 2007-10-15 Kevin McCullough <kmccullough@apple.com>
2639 - I encapsulated out the server connecton functionality because it is a specific part
2640 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
2641 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
2642 Windows. So the majority of this patch is moving preexisting functionality.
2644 - Also I removed the prefix header and changed to use config.h because it is more
2645 standard on how we use config.h in windows and it didn't make much sense to keep
2646 the prefix header and the config.h
2648 * Drosera/DebuggerDocument.cpp:
2649 (DebuggerDocument::DebuggerDocument):
2650 * Drosera/DebuggerDocument.h:
2652 * Drosera/mac/DebuggerApplication.mm:
2653 (-[DebuggerApplication attach:]):
2654 * Drosera/mac/DebuggerClient.h:
2655 * Drosera/mac/DebuggerClient.mm:
2656 (-[DebuggerClient initWithServerConnection:]):
2657 (-[DebuggerClient dealloc]):
2658 (-[DebuggerClient windowDidLoad]):
2659 (-[DebuggerClient windowWillClose:]):
2660 (-[DebuggerClient webView:didFinishLoadForFrame:]):
2661 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
2662 * Drosera/mac/DebuggerDocumentPlatform.mm:
2663 (DebuggerDocument::platformPause):
2664 (DebuggerDocument::platformResume):
2665 (DebuggerDocument::platformStepInto):
2666 (DebuggerDocument::platformEvaluateScript):
2667 (DebuggerDocument::getPlatformCurrentFunctionStack):
2668 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2669 (DebuggerDocument::platformValueForScopeVariableNamed):
2670 (DebuggerDocument::platformLog):
2671 * Drosera/mac/Drosera.pch: Removed.
2672 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2673 * Drosera/mac/ServerConnection.h: Added.
2674 * Drosera/mac/ServerConnection.mm: Added.
2675 (-[ServerConnection initWithServerName:]):
2676 (-[ServerConnection dealloc]):
2677 (-[ServerConnection setGlobalContext:]):
2678 (-[ServerConnection pause]):
2679 (-[ServerConnection resume]):
2680 (-[ServerConnection stepInto]):
2681 (-[ServerConnection switchToServerNamed:]):
2682 (-[ServerConnection applicationTerminating:]):
2683 (-[ServerConnection serverConnectionDidDie:]):
2684 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
2685 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2686 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
2687 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2688 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2689 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2690 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2691 (-[ServerConnection currentFrame]):
2692 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
2693 (-[ServerConnection knownServers]):
2695 2007-10-15 David Kilzer <ddkilzer@webkit.org>
2699 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
2700 Script to automatically search nightly builds for regressions (bisect-builds)
2702 * Scripts/bisect-builds: Added.
2704 2007-10-14 Maciej Stachowiak <mjs@apple.com>
2708 - New JavaScript benchmark
2709 http://bugs.webkit.org/show_bug.cgi?id=15515
2711 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
2712 current development or release build of JavaScriptCore.
2714 2007-10-15 Mark Rowe <mrowe@apple.com>
2718 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
2720 * Scripts/webkitdirs.pm:
2721 - Change checkArgv to remove the options from @ARGV to prevent
2722 them from interfering with further option processing.
2723 - Fix logic error in determineIsQt that would prevent it from bailing out early.
2724 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
2725 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
2726 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
2728 2007-10-15 Darin Adler <darin@apple.com>
2732 - added logging of window.prompt and window.confirm
2734 * DumpRenderTree/mac/UIDelegate.mm:
2735 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
2736 Implement the recommended delegate rather than the deprecated one.
2737 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
2739 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
2742 * DumpRenderTree/win/UIDelegate.h:
2743 * DumpRenderTree/win/UIDelegate.cpp:
2744 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
2745 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
2746 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
2747 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
2749 2007-10-15 Alice Liu <alice.liu@apple.com>
2751 Reviewed by Sam Weinig.
2753 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
2755 * DumpRenderTree/win/DumpRenderTree.cpp:
2756 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
2757 (main): allocate the global policy delegate for DRT's custom use
2758 * DumpRenderTree/win/DumpRenderTree.vcproj:
2759 Adding files to project
2760 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
2761 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2762 (LayoutTestController::setCustomPolicyDelegate):
2763 set the webview's policy delegate to DRT's custom one if the test requests it.
2764 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
2765 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
2766 (PolicyDelegate::PolicyDelegate):
2767 (PolicyDelegate::QueryInterface):
2768 (PolicyDelegate::AddRef):
2769 (PolicyDelegate::Release):
2770 (PolicyDelegate::decidePolicyForNavigationAction):
2771 * DumpRenderTree/win/PolicyDelegate.h: Added.
2772 (PolicyDelegate::decidePolicyForNewWindowAction):
2773 (PolicyDelegate::decidePolicyForMIMEType):
2774 (PolicyDelegate::unableToImplementPolicyWithError):
2776 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
2780 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
2781 when querying for QMAKE_MKSPECS.
2783 2007-10-14 Andrew Wellington <proton@wiretapped.net>
2785 Reviewed by Adam Roben.
2787 Fix run-webkit-tests is too greedy calculating platform hierarchy
2788 http://bugs.webkit.org/show_bug.cgi?id=15465
2790 Fix run-webkit-tests being too greedy in trying to split the platform name up
2791 causing it to try and find tests in every directory above the first "-" in the
2792 path to the LayoutTests
2794 * Scripts/run-webkit-tests:
2796 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
2800 http://bugs.webkit.org/show_bug.cgi?id=15006
2801 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
2802 to reduce code duplication.
2804 * Scripts/build-webkit:
2805 * Scripts/webkitdirs.pm:
2806 buildQMakeProject() renamed to buildQMakeQtProject().
2807 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
2808 unused $colorize has been removed.
2810 === Start merge of feature-branch 2007-10-12 ===
2812 2007-10-08 Eric Seidel <eric@webkit.org>
2814 Reviewed by Mark Rowe.
2816 * Scripts/build-webkit: add --help, remove unused --color
2818 2007-10-07 Eric Seidel <eric@webkit.org>
2822 * Drosera/mac/DebuggerDocumentPlatform.mm:
2823 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
2825 2007-10-03 Rob Buis <buis@kde.org>
2829 Adapt to changed location of Ahem font.
2831 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2833 2007-10-02 Eric Seidel <eric@webkit.org>
2835 Reviewed by Adam Roben.
2837 Make pixel tests more useful!
2838 Finally fix the image diff 0.00% mystery problem
2839 Highlight any image differences in the image diff.
2840 Add a link from image diffs back to original test file.
2842 * DumpRenderTree/mac/ImageDiff.m:
2843 (compareImages): highlight any differences
2844 (computePercentageDifferent): round to two decimal places
2845 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
2847 2007-10-02 Eric Seidel <eric@webkit.org>
2849 Reviewed by Alexey Proskuryakov.
2851 * Scripts/run-webkit-tests: print the % image difference on main results page
2853 2007-10-02 Mark Rowe <mrowe@apple.com>
2857 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
2859 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
2860 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
2862 2007-10-01 Mark Rowe <mrowe@apple.com>
2864 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
2866 2007-09-25 Eric Seidel <eric@webkit.org>
2868 Reviewed by Mark Rowe.
2870 DerivedSources.make was finding "ENABLE_SVG" in the string
2871 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
2874 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
2876 2007-09-25 Mark Rowe <mrowe@apple.com>
2878 Rubber-stamped by Eric.
2880 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2881 This makes it possible to automate nightly builds for the feature-branch.
2883 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
2885 Rubber stamped by Mark.
2887 Enable svg experimental features as default here in feature-branch.
2889 * Scripts/build-webkit:
2891 2007-06-29 Antti Koivisto <antti@apple.com>
2895 Add VIDEO flag for timed media features
2897 * Scripts/build-webkit
2899 === End merge of feature-branch 2007-10-12 ===
2901 2007-10-11 Kevin McCullough <kmccullough@apple.com>
2905 - Updated rational for the leaks list to be more clear.
2907 * Scripts/run-webkit-tests:
2909 2007-10-11 Kevin McCullough <kmccullough@apple.com>
2911 Rubber Stamp by Sam.
2913 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
2914 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
2916 * Scripts/run-webkit-tests:
2918 2007-10-10 Simon Hausmann <hausmann@kde.org>
2922 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
2923 includes are needed for INT_MAX, std::auto_ptr and the like.
2925 * DumpRenderTree/qt/main.cpp:
2927 2007-10-09 Lars Knoll <lars@trolltech.com>
2931 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
2933 * DumpRenderTree/qt/jsobjects.cpp:
2934 (LayoutTestController::encodeHostName):
2935 (LayoutTestController::decodeHostName):
2936 * DumpRenderTree/qt/jsobjects.h:
2938 2007-10-09 Lars Knoll <lars@trolltech.com>
2942 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.
2944 * DumpRenderTree/qt/DumpRenderTree.cpp:
2945 (WebCore::WebPage::createFrame):
2946 (WebCore::DumpRenderTree::DumpRenderTree):
2947 (WebCore::DumpRenderTree::titleChanged):
2948 * DumpRenderTree/qt/DumpRenderTree.h:
2949 * DumpRenderTree/qt/jsobjects.cpp:
2950 (LayoutTestController::reset):
2951 * DumpRenderTree/qt/jsobjects.h:
2953 2007-10-09 Lars Knoll <lars@trolltech.com>
2957 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
2959 * DumpRenderTree/qt/DumpRenderTree.h:
2960 * DumpRenderTree/qt/jsobjects.cpp:
2961 (LayoutTestController::clearBackForwardList):
2962 * DumpRenderTree/qt/jsobjects.h:
2964 2007-10-09 Lars Knoll <lars@trolltech.com>
2968 make --git-reviewer work again.
2970 * Scripts/prepare-ChangeLog:
2972 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
2974 Rubber stamped by Eric.
2976 Connect to the "hovering-over-link" signal emitted by WebKitPage and
2977 show the current link inside the statusbar.
2978 This shows how to make use of this signal and allows to easily test
2979 http://bugs.webkit.org/show_bug.cgi?id=15299.
2981 * GtkLauncher/main.cpp:
2985 2007-10-05 Lars Knoll <lars@trolltech.com>
2987 add proper error messages to the FrameLoaderClient.
2988 Implement ChromeClientQt::closeWindowSoon and
2989 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
2990 Some fixes in DRT to make it work correctly with multiple windows.
2994 * DumpRenderTree/qt/DumpRenderTree.cpp:
2995 (WebCore::DumpRenderTree::DumpRenderTree):
2996 (WebCore::DumpRenderTree::createWindow):
2997 (WebCore::DumpRenderTree::windowCount):
2998 * DumpRenderTree/qt/DumpRenderTree.h:
2999 * DumpRenderTree/qt/jsobjects.cpp:
3000 (LayoutTestController::maybeDump):
3001 (LayoutTestController::windowCount):
3002 * DumpRenderTree/qt/jsobjects.h:
3004 2007-10-05 Lars Knoll <lars@trolltech.com>
3006 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
3007 Add support for layoutTextController.setCanOpenWindows() to DRT
3008 fixing another 2 test cases in fast/dom/Window.
3012 * DumpRenderTree/qt/DumpRenderTree.cpp:
3013 (WebCore::WebPage::WebPage):
3014 (WebCore::WebPage::createWindow):
3015 (WebCore::DumpRenderTree::resetJSObjects):
3016 (WebCore::DumpRenderTree::createWindow):
3017 * DumpRenderTree/qt/DumpRenderTree.h:
3018 * DumpRenderTree/qt/DumpRenderTree.pro:
3019 * DumpRenderTree/qt/jsobjects.cpp:
3020 (LayoutTestController::LayoutTestController):
3021 (LayoutTestController::reset):
3022 * DumpRenderTree/qt/jsobjects.h:
3023 * DumpRenderTree/qt/main.cpp:
3024 * DumpRenderTree/qt/testplugin.cpp: Added.
3025 * DumpRenderTree/qt/testplugin.h: Added.
3027 2007-10-04 Sam Weinig <sam@webkit.org>
3029 Rubber stamped by Adam.
3031 Remove empty directories.
3033 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
3034 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
3036 2007-10-03 Darin Adler <darin@apple.com>
3040 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
3041 we find the internal libraries in the libraries directory. This
3042 is helpful for Safari team engineers at Apple.
3044 2007-10-03 Adam Roben <aroben@apple.com>
3046 Update the location of AHEM___.TTF after r25968
3050 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3052 2007-10-03 Alp Toker <alp@atoker.com>
3056 http://bugs.webkit.org/show_bug.cgi?id=14726
3057 [gtk] API design. Mapping the WebView delegates to signals.
3059 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
3061 * GtkLauncher/main.cpp:
3065 (menuMainBackCallback):
3066 (menuMainForwardCallback):
3069 2007-10-03 Lars Knoll <lars@trolltech.com>
3073 This fixes --strict mode in run-webkit-tests again after
3074 the platform dependent test results have been moved.
3076 * Scripts/run-webkit-tests:
3078 2007-10-03 Lars Knoll <lars@trolltech.com>
3082 remove the hack in run-webkit-tests that forced text only test
3083 to be taken from the platform independent dir. It was only left
3084 there from early days.
3086 Remove platform dependent results for tests that are text only nowadays,
3087 and add one platform dependent result for a text only test that requires it.
3089 * Scripts/run-webkit-tests:
3091 2007-10-03 Lars Knoll <lars@trolltech.com>
3095 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
3097 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
3098 (WebCore::WebFrame::WebFrame):
3099 (WebCore::WebPage::WebPage):
3100 (WebCore::WebPage::createFrame):
3101 (WebCore::WebPage::javaScriptAlert):
3102 (WebCore::WebPage::javaScriptConsoleMessage):
3103 (WebCore::DumpRenderTree::DumpRenderTree):
3104 (WebCore::DumpRenderTree::~DumpRenderTree):
3105 (WebCore::DumpRenderTree::open):
3106 (WebCore::DumpRenderTree::readStdin):
3107 (WebCore::DumpRenderTree::resetJSObjects):
3108 (WebCore::DumpRenderTree::initJSObjects):
3109 (WebCore::DumpRenderTree::dumpFramesAsText):
3110 (WebCore::DumpRenderTree::dump):
3111 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
3112 (WebCore::DumpRenderTree::layoutTestController):
3113 (WebCore::DumpRenderTree::eventSender):
3114 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
3115 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
3116 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
3117 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
3118 (HackWebFrame::mousePressEvent):
3119 (HackWebFrame::mouseReleaseEvent):
3120 (HackWebFrame::mouseMoveEvent):
3121 (HackWebFrame::HackWebFrame):
3122 (HackWebFrame::~HackWebFrame):
3123 (LayoutTestController::LayoutTestController):
3124 (LayoutTestController::reset):
3125 (LayoutTestController::maybeDump):
3126 (LayoutTestController::waitUntilDone):
3127 (LayoutTestController::notifyDone):
3128 (LayoutTestController::dumpEditingCallbacks):
3129 (LayoutTestController::queueReload):
3130 (LayoutTestController::provisionalLoad):
3131 (LayoutTestController::timerEvent):
3132 (EventSender::EventSender):
3133 (EventSender::mouseDown):
3134 (EventSender::mouseUp):
3135 (EventSender::mouseMoveTo):
3136 (EventSender::leapForward):
3137 (EventSender::keyDown):
3138 (EventSender::frameUnderMouse):
3139 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
3140 (LayoutTestController::isLoading):
3141 (LayoutTestController::setLoading):
3142 (LayoutTestController::shouldDumpAsText):
3143 (LayoutTestController::shouldDumpChildrenAsText):
3144 (LayoutTestController::shouldWaitUntilDone):
3145 (LayoutTestController::dumpAsText):
3146 (LayoutTestController::dumpChildFramesAsText):
3147 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
3151 * Scripts/run-webkit-tests:
3153 2007-10-03 Mark Rowe <mrowe@apple.com>
3155 Reviewed by Alp Toker.
3157 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
3158 should take precedence over QTDIR when determining which port we are working with.
3160 * Scripts/webkitdirs.pm:
3162 2007-10-02 Adam Roben <aroben@apple.com>
3164 Add keychain to the list of default packages to install
3166 Rubberstamped by Sam.
3168 * CygwinDownloader/cygwin-downloader.py:
3169 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
3171 2007-10-02 David Kilzer <ddkilzer@webkit.org>
3175 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
3176 Also makes WebCore regression test case logic work when using git.
3178 * Scripts/prepare-ChangeLog:
3179 (reviewerAndDescriptionForGitCommit): Added.
3181 2007-10-02 Lars Knoll <lars@trolltech.com>
3185 Add API to retrieve the frame name from QWebFrame.
3186 Implement support for DRT::dumpChildrenAsText.
3188 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3189 (WebCore::DumpRenderTree::dumpFramesAsText):
3190 (WebCore::DumpRenderTree::dump):
3191 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3192 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3193 (LayoutTestController::LayoutTestController):
3194 (LayoutTestController::reset):
3195 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3197 2007-10-02 Lars Knoll <lars@trolltech.com>
3201 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3203 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3204 (WebCore::DumpRenderTree::readStdin):
3206 2007-10-02 Mark Rowe <mrowe@apple.com>
3210 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
3212 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
3213 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
3215 2007-10-02 Mark Rowe <mrowe@apple.com>
3217 Rubber-stamped by Maciej.
3219 Configuration changes from build.webkit.org. The major change is refactoring to work
3220 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
3223 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3224 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
3225 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
3226 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
3227 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
3228 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
3229 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
3230 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
3232 2007-10-02 Lars Knoll <lars@trolltech.com>
3236 Add support for eventSender.mouseMove to DRT.
3237 Fixes fast/css/hover-affects-child.html
3239 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3240 (EventSender::mouseMoveTo):
3242 2007-10-01 Mark Rowe <mrowe@apple.com>
3244 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
3246 2007-10-01 David Kilzer <ddkilzer@webkit.org>
3250 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
3252 * Scripts/svn-apply:
3253 (gitdiff2svndiff): Ignore lines beginning with "new file".
3254 * Scripts/svn-unapply:
3255 (gitdiff2svndiff): Ditto.
3257 2007-09-30 George Staikos <staikos@kde.org>
3259 Qt build fix (Mac OS X specific)
3261 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3263 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
3267 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
3268 Remove Bakefiles from svn.
3270 * GtkLauncher/Bakefiles.bkgen: Removed.
3271 * GtkLauncher/ENV: Removed.
3272 * GtkLauncher/gdklauncher.bkl: Removed.
3273 * GtkLauncher/mk: Removed.
3274 * Scripts/regenerate-makefiles: Removed.
3276 2007-09-25 Kevin McCullough <kmccullough@apple.com>
3280 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
3282 * Scripts/run-webkit-tests:
3284 2007-09-26 Adam Roben <aroben@apple.com>
3286 Make not finding an installed WebKit non-fatal
3288 What really matters is that we are able to load WebKit and its
3289 dependencies, not whether we think we've found an installed WebKit.
3293 * WebKitInitializer/WebKitInitializer.cpp:
3294 (getWebViewCLSID): Use new LOG_WARNING macro.
3295 (getInstalledWebKitDirectory): Ditto.
3296 (initializeWebKit): Don't die if we didn't find an installed WebKit,
3298 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
3300 2007-09-26 Adam Roben <aroben@apple.com>
3302 Committed this file before saving it
3304 * WebKitInitializer/debug_internal.vsprops:
3306 2007-09-26 Adam Roben <aroben@apple.com>
3308 Load WebKit and its dependencies manually so they come from DllDirectory
3310 I had to change WebKitInitializer to use malloc/free instead of
3311 new/delete to avoid pulling in WebKit (and its dependencies) early
3312 through use of fastMalloc.
3316 * WebKitInitializer/WebKitInitializer.cpp:
3317 (getStringValue): Changed to use malloc/free.
3318 (getInstalledWebKitDirectory): Ditto.
3319 (initializeWebKit): Call SetDllDirectory first, then load all of
3320 WebKit's dependencies manually, finally followed by WebKit itself.
3321 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
3322 configuration to match our other projects.
3323 * WebKitInitializer/debug_internal.vsprops: Added.
3325 2007-09-25 Adam Roben <aroben@apple.com>
3327 Actually define DEBUG/NDEBUG so that we load WebKit correctly
3329 Rubberstamped by Sam.
3331 * WebKitInitializer/WebKitInitializer.vcproj:
3333 2007-09-25 Adam Roben <aroben@apple.com>
3335 Make DumpRenderTree delay-load its dependencies
3337 This lets WebKitInitializer re-route the dependencies to be loaded out
3338 of the Safari installation directory.
3340 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
3341 same thing), since we can't import the kCFAllocatorDefault symbol when
3342 delay-loading CoreFoundation.dll.
3344 Rubberstamped by Sam.
3346 * DumpRenderTree/win/DumpRenderTree.cpp:
3348 (javaScriptThreads):
3349 * DumpRenderTree/win/DumpRenderTree.vcproj:
3350 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3351 (LayoutTestController::setWaitToDump):
3353 2007-09-25 Adam Roben <aroben@apple.com>
3355 Pull ole32.lib into WebKitInitializer
3357 Rubberstamped by Sam.
3359 * WebKitInitializer/WebKitInitializer.vcproj:
3361 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3365 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
3366 LGPL'ed files contain incorrect FSF address
3370 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3374 Make svn-apply and svn-unapply work with git-diff formatted patches.
3376 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
3377 (gitdiff2svndiff): Added.
3378 * Scripts/svn-unapply: Ditto.
3379 (gitdiff2svndiff): Added.
3381 2007-09-25 Adam Roben <aroben@apple.com>
3383 Pull advapi32.lib into WebKitInitializer
3385 This is needed to get the registry functions we use.
3387 Rubberstamped by Sam.
3389 * WebKitInitializer/WebKitInitializer.vcproj:
3391 2007-09-25 Adam Roben <aroben@apple.com>
3393 Add python and rsync to cygwin-downloader
3395 Our build slaves need this, and it can't hurt for everyone else to
3400 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
3401 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
3403 2007-09-25 Adam Roben <aroben@apple.com>
3405 Add WebKitInitializer and use it in DumpRenderTree
3407 WebKitInitializer is a static library that has one function,
3408 initializeWebKit(). This registers WebKit and sets up the DLL search
3409 path so that WebKit's dependencies that are installed with Safari can
3414 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
3415 DumpRenderTree depend on it.
3416 * DumpRenderTree/win/DumpRenderTree.cpp:
3417 (initialize): Call initializeWebKit.
3418 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
3419 WebKitInitializer.lib.
3420 * WebKitInitializer/WebKitInitializer.cpp: Added.
3423 (getInstalledWebKitDirectory):
3425 * WebKitInitializer/WebKitInitializer.h: Added.
3426 * WebKitInitializer/WebKitInitializer.vcproj: Added.
3427 * WebKitInitializer/debug.vsprops: Added.
3428 * WebKitInitializer/release.vsprops: Added.
3430 2007-09-25 Adam Roben <aroben@apple.com>
3432 Make run-webkit-tests respect set-webkit-configuration
3436 * Scripts/run-webkit-tests: Initialize $configuration to whatever
3437 set-webkit-configuration was last set to.
3439 2007-09-25 Mark Rowe <mrowe@apple.com>
3441 Rubber-stamped by Eric.
3443 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
3444 This makes it possible to automate nightly builds for the feature-branch.
3446 2007-09-25 Adam Roben <aroben@apple.com>
3448 A couple of fixes/enhancements to update-webkit-*-libs
3450 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
3451 to tell update-webkit-support-libraries where it should find the
3452 WebKitSupportLibrary.zip file you downloaded.
3454 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
3459 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
3460 to $auxiliaryLibsURL and removed an irrelevant comment.
3461 * Scripts/update-webkit-support-libs:
3463 2007-09-25 Adam Treat <treat@kde.org>
3465 Reviewed by Simon and Lars.
3467 Refactors and cleans up Qt DRT member variable names, member variable
3468 initialization, style fixes and general code cleanup.
3470 Adds queueReload slot to LayoutTestController that some tests require.
3472 Subclasses QWebFrame to make sure that all frames have an associated
3473 LayoutTestController JS window object.
3475 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
3476 aren't dumped twice.
3480 Together, this patch fixes some 20+ layout tests in QtWebKit.
3482 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3483 (WebCore::WebFrame::WebFrame):
3484 (WebCore::WebPage::WebPage):
3485 (WebCore::WebPage::createFrame):
3486 (WebCore::DumpRenderTree::DumpRenderTree):
3487 (WebCore::DumpRenderTree::open):
3488 (WebCore::DumpRenderTree::readStdin):
3489 (WebCore::DumpRenderTree::initJSObjects):
3490 (WebCore::DumpRenderTree::dump):
3491 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3492 (WebCore::DumpRenderTree::layoutTestController):
3493 (WebCore::DumpRenderTree::eventSender):
3494 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3495 (LayoutTestController::LayoutTestController):
3496 (LayoutTestController::reset):
3497 (LayoutTestController::maybeDump):
3498 (LayoutTestController::waitUntilDone):
3499 (LayoutTestController::notifyDone):
3500 (LayoutTestController::queueReload):
3501 (LayoutTestController::provisionalLoad):
3502 (EventSender::EventSender):
3503 (EventSender::mouseDown):
3504 (EventSender::mouseUp):
3505 (EventSender::mouseMoveTo):
3506 (EventSender::frameUnderMouse):
3507 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3508 (LayoutTestController::isLoading):
3509 (LayoutTestController::setLoading):
3510 (LayoutTestController::dumpAsText):
3511 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3514 2007-09-24 Kevin McCullough <kmccullough@apple.com>
3517 - Reverted an accidentally checked in file.
3519 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
3521 2007-09-24 Kevin McCullough <kmccullough@apple.com>
3524 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
3526 * DumpRenderTree/win/DumpRenderTree.vcproj:
3527 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3529 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
3531 Rubber stamped by Adam.
3533 * GdkLauncher: Removed.
3534 * GdkLauncher/Bakefiles.bkgen: Removed.
3535 * GdkLauncher/ENV: Removed.
3536 * GdkLauncher/GdkLauncher.pro: Removed.
3537 * GdkLauncher/gdklauncher.bkl: Removed.
3538 * GdkLauncher/main.cpp: Removed.
3539 * GdkLauncher/mk: Removed.
3540 * GdkLauncher/simple.svg: Removed.
3541 * GdkLauncher/text.html: Removed.
3542 * GtkLauncher: Added.
3543 * GtkLauncher/GdkLauncher.pro: Removed.
3544 * GtkLauncher/GtkLauncher.pro: Added.
3545 * GtkLauncher/main.cpp:
3546 (updateWindowTitle):
3548 * Scripts/build-webkit:
3549 * Scripts/regenerate-makefiles:
3550 * Scripts/run-javascriptcore-tests:
3551 * Scripts/run-launcher:
3552 * Scripts/run-webkit-tests:
3553 * Scripts/webkitdirs.pm:
3555 2007-09-21 Timothy Hatcher <timothy@apple.com>
3559 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
3561 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
3562 This is tested by plugins/root-object-premature-delete-crash.html.
3564 * DumpRenderTree/mac/ObjCController.m:
3565 (-[ObjCController accessStoredWebScriptObject]):
3567 2007-09-21 Kevin McCullough <kmccullough@apple.com>
3571 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
3573 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
3574 (FrameLoadDelegate::FrameLoadDelegate):
3576 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
3580 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
3581 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
3583 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
3584 Now isQt() and isGdk() use global variables that are only set once.
3586 An array of all the parameters is now given to build-dumprender which includes
3587 the platform on linux.
3589 * Scripts/build-dumprendertree:
3590 * Scripts/run-webkit-tests:
3591 * Scripts/webkitdirs.pm:
3593 2007-09-19 Adam Roben <aroben@apple.com>
3595 Rubberstamped by Hyatt.
3597 * Spinneret: Removed.
3599 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
3601 Reviewed by David Kilzer.
3603 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
3605 2007-09-18 Sam Weinig <sam@webkit.org>
3607 Add JSRetainPtr.h #include to fix some builds.
3609 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3611 2007-09-18 Mike Hommey <glandium@debian.org>