1 2007-11-15 Adam Roben <aroben@apple.com>
3 Make run-safari actually work on Windows
5 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
8 2007-11-14 Adam Roben <aroben@apple.com>
10 Updates to Safari launching now that 3.0.4 is released
14 * FindSafari/FindSafari.cpp:
15 (getWebViewCLSID): Use version-independent ProgID.
16 * Scripts/run-safari: Use run-webkit-nightly.cmd.
18 2007-11-14 Anders Carlsson <andersca@apple.com>
22 <rdar://problem/5309081>
23 In DRT, "plugin.logDestroy = true" not working on Windows.
25 * DumpRenderTree/win/TestNetscapePlugin/main.c:
28 2007-11-14 Eric Seidel <eric@webkit.org>
32 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
34 2007-11-14 Anders Carlsson <andersca@apple.com>
38 <rdar://problem/5141186>
39 window.layoutTestController.setWindowIsKey is not implemented in DRT.
41 Implement setWindowIsKey.
43 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
44 (LayoutTestController::setWindowIsKey):
46 2007-11-13 Sam Weinig <sam@webkit.org>
48 Reviewed by Adam Roben.
50 Fix for <rdar://problem/5382579>
51 http/tests/security/cross-frame-access-put.html reports large
52 negative numbers for screenLeft and screenTop (Mac reports "0")
54 * DumpRenderTree/win/UIDelegate.cpp:
55 (UIDelegate::UIDelegate): Initialize the RECT.
56 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
57 (UIDelegate::webViewFrame): ditto.
58 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
60 2007-11-13 Kevin McCullough <kmccullough@apple.com>
64 - Make Drosera show source, source URLs, and function stack on Windows,
67 * Drosera/DebuggerDocument.cpp: Force source to always update display.
68 (DebuggerDocument::updateFileSource):
69 * Drosera/debugger.js: Force source to always update display.
70 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
72 (DebuggerClient::resume):
73 (DebuggerClient::pause):
74 (DebuggerClient::stepInto):
75 (DebuggerClient::stepOver):
76 (DebuggerClient::stepOut):
77 (DebuggerClient::showConsole):
78 (DebuggerClient::closeCurrentFile):
79 * Drosera/win/DebuggerClient.h: Ditto.
80 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
81 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
82 removed two bugs. 1) caller could be in a bad state when asked to
83 assign into it. 2) BSTRs were not created correctly.
84 (DebuggerDocument::getPlatformCurrentFunctionStack):
85 * Drosera/win/Drosera.cpp: Hook up the menu controls.
93 (Drosera::showConsole):
94 (Drosera::closeCurrentFile):
95 * Drosera/win/Drosera.h: Hook up the menu controls.
96 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
97 functions, added a null check, and fixed another bug where caller could
98 be in a bad state when asked to assign into it.
99 (ServerConnection::didLoadMainResourceForDataSource):
100 (ServerConnection::getCallerFrame):
101 * Drosera/win/ServerConnection.h: Safety first.
103 2007-11-13 Dan Bernstein <mitz@apple.com>
105 Reviewed by Darin Adler.
107 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
108 DumpRenderTree --pixel-tests renders each test twice
110 * DumpRenderTree/mac/DumpRenderTree.mm:
111 (dumpRenderTree): Removed the --paint option because the painting code
112 is always exercised as a result of
113 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
114 calling -displayIfNeeded.
115 (dump): Changed to always grab the image from the window since the view
119 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
120 because it always paints.
122 2007-11-12 Antti Koivisto <antti@apple.com>
126 Add support for http media tests
128 * Scripts/run-webkit-tests:
130 2007-11-12 Sam Weinig <sam@webkit.org>
132 Reviewed by Adam Roben.
134 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
136 * DumpRenderTree/win/DumpRenderTree.cpp:
138 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
139 (LayoutTestController::setPrivateBrowsingEnabled):
141 2007-11-12 Adam Roben <aroben@apple.com>
143 * Scripts/update-webkit-localizable-strings: Changed to only scan the
144 mac and win subdirectories.
146 2007-11-11 Adam Roben <aroben@apple.com>
148 Fix <rdar://5133816> keepWebHistory is not implemented
150 Fixes fast/history/clicked-link-is-visited.html.
154 * DumpRenderTree/win/DumpRenderTree.cpp:
155 (runTest): Clear the optionalSharedHistory.
156 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
157 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
159 2007-11-10 Sam Weinig <sam@webkit.org>
161 Reviewed by Tim Hatcher.
163 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
164 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
167 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
169 Added test: http/tests/security/cross-frame-access-private-browsing.html
171 * DumpRenderTree/LayoutTestController.cpp:
172 (setPrivateBrowsingEnabledCallback):
173 (LayoutTestController::staticFunctions):
174 * DumpRenderTree/LayoutTestController.h:
175 * DumpRenderTree/mac/DumpRenderTree.mm:
176 (runTest): Default to private browsing disabled.
177 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
178 (LayoutTestController::setPrivateBrowsingEnabled):
179 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
180 (LayoutTestController::setPrivateBrowsingEnabled):
182 2007-11-08 Kevin McCullough <kmccullough@apple.com>
186 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
189 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
190 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
191 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
192 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
193 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
194 * Drosera/win/Drosera.cpp:
195 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
197 2007-11-08 Kevin McCullough <kmccullough@apple.com>
201 - Use the new IWebFrame [local] function signature and get the shared
204 * Drosera/win/DebuggerClient.cpp:
205 (DebuggerClient::didFinishLoadForFrame):
206 * Drosera/win/ServerConnection.cpp:
207 (ServerConnection::attemptToCreateServerConnection):
209 2007-11-07 Dan Bernstein <mitz@apple.com>
211 Reviewed by Darin Adler.
213 - add an option to run-webkit-tests to ignore pixel test failures where
214 all pixels differ by no more than a specified threshold
216 * DumpRenderTree/mac/ImageDiff.m:
219 (computePercentageDifferent):
220 * Scripts/run-webkit-tests:
222 2007-11-07 Simon Hausmann <hausmann@kde.org>
226 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
228 * DumpRenderTree/qt/DumpRenderTree.cpp:
230 2007-11-07 Simon Hausmann <hausmann@kde.org>
234 Reworked the QWebSettings API.
235 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
237 * DumpRenderTree/qt/DumpRenderTree.cpp:
239 2007-11-07 Simon Hausmann <hausmann@kde.org>
243 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
245 * DumpRenderTree/qt/jsobjects.cpp:
247 2007-11-07 Simon Hausmann <hausmann@kde.org>
249 Reviewed by Lars Knoll <lars@trolltech.com>.
251 Add a QWebPage::frameCreated() signal and fix DRT
253 The removal of createFrame in QWebPage broke the re-implementation
254 in DumpRenderTree. Instead emit a frameCreated() signal and
255 connect to it in DumpRenderTree.
258 * DumpRenderTree/qt/DumpRenderTree.cpp:
259 (WebCore::WebPage::WebPage):
260 (WebCore::DumpRenderTree::dump):
261 (WebCore::DumpRenderTree::connectFrame):
262 * DumpRenderTree/qt/DumpRenderTree.h:
264 2007-11-07 Simon Hausmann <hausmann@kde.org>
266 Reviewed by Lars Knoll <lars@trolltech.com>.
268 Moved all the event handlers from QWebFrame into QWebPage.
270 This cleans up the public API and allows us to remove the
271 HackWebFrame hack in DumpRenderTree.
274 * DumpRenderTree/qt/jsobjects.cpp:
275 (EventSender::mouseDown):
276 (EventSender::mouseUp):
277 (EventSender::mouseMoveTo):
279 2007-11-07 Simon Hausmann <hausmann@kde.org>
283 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
284 to prevent the default implementation from popping up messageboxes.
286 * DumpRenderTree/qt/DumpRenderTree.cpp:
287 (WebCore::WebPage::javaScriptConfirm):
288 (WebCore::WebPage::javaScriptPrompt):
290 2007-11-06 Eric Seidel <eric@webkit.org>
292 * Scripts/build-testkjs: build fix... too many $$
294 2007-11-06 Eric Seidel <eric@webkit.org>
296 Reviewed by Mark Rowe.
298 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
300 2007-11-05 Adam Roben <aroben@apple.com>
302 Add support on Windows for WEBKIT_TESTFONTS
304 This environment variable lets you specify where the fonts to be used
305 by DumpRenderTree reside. The Qt port is already using this, so I'm
306 just following their lead.
310 * DumpRenderTree/win/DumpRenderTree.cpp:
311 (exePath): Refactored code out of initialize().
312 (fontsPath): Returns either $WEBKIT_TESTFONTS or
313 DumpRenderTree.resources.
314 (initialize): Use the new fontsPath function.
315 (main): Use the new exePath function.
316 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
317 variable to DRT, like Qt does.
319 2007-11-05 Mark Rowe <mrowe@apple.com>
321 Rubber-stamped by Alp Toker.
323 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
325 * GtkLauncher/main.cpp:
329 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
331 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
332 <http://bugs.webkit.org/show_bug.cgi?id=15830>
336 Restrict the range of nightly builds used by the bisect-builds script
337 based on the version of Safari and the version of Mac OS X being used.
339 Mac OS X 10.4: Safari 2.0: r11976 or newer
340 Mac OS X 10.4: Safari 3.0: r19992 or newer
342 Mac OS X 10.5: Safari 2.0: r19594 or newer
343 Mac OS X 10.5: Safari 3.0: r25124 or newer
345 * Scripts/bisect-builds:
346 (findMacOSXVersion): Added.
347 (makeNightlyList): Added argument to provide version of Mac OS X.
348 Restrict range of nightly builds based on Safari and Mac OS X versions.
350 2007-11-04 Kevin McCullough <kmccullough@apple.com>
354 - This patch involves several changes, all of them were noticed that
355 they were needed by the work being done in WebKit to get Drosera and
356 WebKit working together on Windows.
358 1) Added a debugger console for output messages.
359 2) Drosera now listens for the WebKit server (before, the server would
360 have to be running before Drosera was started.)
361 3) Fixed a bug where the WebView started out as 0x0 pixels.
362 4) Fixed a bug when there is no scope.
363 5) Added the HTML, JS, and CSS to the project file to make them easy to
365 6) Made the ServerConnection functions virtual.
367 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
368 for the WebKit server.
369 (DebuggerClient::DebuggerClient):
370 (DebuggerClient::~DebuggerClient):
371 (DebuggerClient::didFinishLoadForFrame):
372 (DebuggerClient::serverConnected):
373 (DebuggerClient::attemptToCreateServerConnection):
374 * Drosera/win/DebuggerClient.h: Ditto.
375 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
377 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
378 (DebuggerDocument::platformValueForScopeVariableNamed):
379 * Drosera/win/Drosera.cpp:
380 (_tWinMain): Added a console in debug for output messages.
381 (Drosera::Drosera): Listen for server.
382 (Drosera::initUI): The server now Initializes COM.
383 (Drosera::serverConnected): Part of the listening for the server.
384 (Drosera::attemptToCreateServerConnection): Ditto.
385 * Drosera/win/Drosera.h: New interface for listening for the server.
386 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
387 files to the VS project.
388 * Drosera/win/ServerConnection.cpp: Part of listening for the server
390 (ServerConnection::ServerConnection):
391 (ServerConnection::attemptToCreateServerConnection):
392 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
394 (ServerConnection::serverConnected):
396 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
400 http://bugs.webkit.org/show_bug.cgi?id=15832
401 fast/dom/gc-10.html crashes when run alone
403 Check for !done before using objects that can be already deallocated.
405 * DumpRenderTree/mac/EditingDelegate.mm:
406 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
407 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
408 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
409 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
410 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
411 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
412 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
413 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
414 (-[EditingDelegate webViewDidBeginEditing:]):
415 (-[EditingDelegate webViewDidChange:]):
416 (-[EditingDelegate webViewDidEndEditing:]):
417 (-[EditingDelegate webViewDidChangeTypingStyle:]):
418 (-[EditingDelegate webViewDidChangeSelection:]):
419 * DumpRenderTree/mac/FrameLoadDelegate.mm:
420 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
421 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
422 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
423 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
424 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
425 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
426 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
427 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
428 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
429 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
430 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
431 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
432 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
433 (-[FrameLoadDelegate webView:willCloseFrame:]):
434 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
435 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
436 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
437 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
438 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
439 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
440 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
441 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
442 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
444 2007-11-04 Mark Rowe <mrowe@apple.com>
446 Build fix. Don't use Carbon.h as the prefix header as it triggers
447 warnings that would otherwise be suppressed due to it being a system header.
449 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
451 2007-11-03 Maciej Stachowiak <mjs@apple.com>
453 Rubber stamped by Adam.
455 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
457 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
459 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
461 Sort files(...); sections of Xcode project files.
463 Rubber-stamped by Darin.
465 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
466 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
467 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
468 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
470 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
472 Script to sort "files(...);" sections in Xcode project.pbxproj files.
476 * Scripts/sort-Xcode-project-file: Added.
478 2007-11-02 Darin Adler <darin@apple.com>
480 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
482 2007-11-02 Darin Adler <darin@apple.com>
486 * Scripts/run-sunspider: Pass the "--base" option through.
488 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
489 the real script do that. Default configuration to Release to match run-sunspider
490 so we don't end up building Debug just to compare results.
492 2007-11-01 Adam Roben <aroben@apple.com>
494 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
498 * Scripts/commit-log-editor: Show all the directories beneath the
499 source root, instead of just the last one.
501 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
503 Reviewed by Adam Roben.
505 Print out an error message when the Windows build fails
506 and provide guidance on how to find out what went wrong.
508 * Scripts/build-webkit:
509 * Scripts/webkitdirs.pm:
511 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
513 Rubber-stamped by Adam Roben.
515 Rolled out r27326 - debug CRT seems to cause no problems after all.
517 * DumpRenderTree/win/DumpRenderTree.vcproj:
519 2007-10-31 Adam Roben <aroben@apple.com>
521 Switch the Debug configuration to using the non-debug CRT
527 * DumpRenderTree/win/DumpRenderTree.vcproj:
529 2007-10-31 Antti Koivisto <antti@apple.com>
533 Disable media tests when doing leak checking on Tiger.
534 They crash in QuickTime (rdar://problem/5537157).
536 * Scripts/run-webkit-tests:
538 2007-10-29 Antti Koivisto <antti@apple.com>
542 Build media support by default on OSX only.
544 * Scripts/build-webkit:
546 2007-10-30 Kevin McCullough <kmccullough@apple.com>
548 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
549 get caught by the pre-commit hooks.
551 2007-10-30 Kevin McCullough <kmccullough@apple.com>
555 - This is a collection of relatively unrelated changes and cleanups
556 to Drosera to prepare it for interacting with WebKit. A lot of these
557 changes are just correcting mistakes, for example removing included
558 headers that are no longer needed.
560 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
561 this will be needed by the DebuggerClient.
562 (DebuggerDocument::server):
563 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
564 * Drosera/win/DebuggerClient.cpp:
565 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
566 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
567 (DebuggerClient::createWebViewWithRequest): Added comment about its
569 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
571 (DebuggerClient::webViewLoaded): Moved.
572 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
573 file, since this was the only place it was used.
575 * Drosera/win/Drosera.h: Cleaned up the includes.
576 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
577 * Drosera/win/HelperFunctions.h: Removed.
579 2007-10-30 Kevin McCullough <kmccullough@apple.com>
583 - Small cleanup in the ServerConnection class.
585 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
586 and added an include.
587 (ServerConnection::currentFrame):
588 (ServerConnection::getCallerFrame):
589 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
590 made a pointer into a COMPtr, and cleaned up the includes.
592 2007-10-29 Timothy Hatcher <timothy@apple.com>
594 Reviewed by John Sullivan.
596 - Place the Localizable.strings file in mac or win directories
597 if that location exists.
598 - Also look for UI_STRING in .c files.
600 * Scripts/extract-localizable-strings:
602 2007-10-30 Kevin McCullough <kmccullough@apple.com>
606 - Set the eol-style to native and made all the line endings the same
607 so that I avoid messy diffs that show eol changes.
609 * Drosera/win/ServerConnection.cpp:
610 (ServerConnection::didParseSource):
611 (ServerConnection::didEnterCallFrame):
612 (ServerConnection::willExecuteStatement):
613 (ServerConnection::willLeaveCallFrame):
614 (ServerConnection::exceptionWasRaised):
616 2007-10-30 Kevin McCullough <kmccullough@apple.com>
620 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
621 functionality that could not have existed previously without the new
623 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
624 from a BSTR to a JSValueRef.
625 (DebuggerDocument::platformEvaluateScript): Implemented.
626 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
627 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
629 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
630 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
631 * Drosera/win/ServerConnection.cpp: Added a helper function.
632 (ServerConnection::getCallerFrame):
633 * Drosera/win/ServerConnection.h: Added a helper function.
635 2007-10-29 Kevin McCullough <kmccullough@apple.com>
637 updated reviewers for my previous changelog.
639 2007-10-29 Kevin McCullough <kmccullough@apple.com>
640 Reviewed by Maciej and Adam and Geoff.
642 - Minor mac-side improvements including moving a function to a more
643 appropriate location, fixing a warning, and correctly checking
646 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
647 (DebuggerDocument::willExecuteStatement):
648 (DebuggerDocument::didEnterCallFrame):
649 (DebuggerDocument::willLeaveCallFrame):
650 (DebuggerDocument::windowScriptObjectAvailable):
651 (DebuggerDocument::callFunctionOnObject):
652 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
653 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
654 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
655 because it doesn't require the ServerConnection at all.
656 (NSStringCreateWithJSStringRef): Made an argument const.
657 (JSValueRefCreateWithNSString): Made an argument const.
658 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
659 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
660 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
661 * Drosera/mac/ServerConnection.mm: Ditto.
662 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
664 2007-10-29 Sam Weinig <sam@webkit.org>
666 Reviewed by Adam Roben.
668 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
670 * DumpRenderTree/LayoutTestController.cpp:
671 (LayoutTestController::LayoutTestController):
672 (getGlobalFlagCallback):
673 (setGlobalFlagCallback):
674 (LayoutTestController::getJSClass):
675 (LayoutTestController::staticValues):
676 * DumpRenderTree/LayoutTestController.h:
677 (LayoutTestController::globalFlag):
678 (LayoutTestController::setGlobalFlag):
680 2007-10-29 Darin Adler <darin@apple.com>
684 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
685 resolution instead of its default.
687 2007-10-29 David Kilzer <ddkilzer@webkit.org>
689 Fixed showStatus() to print status for successfully resolved conflicts when using git.
691 Reviewed by Mark Rowe.
693 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
694 was successfully resolved, but this would not show any status because the change had
695 already been cached in the index using "git add". The solution is to add an optional
696 second argument to showStatus() which adds the "--cached" switch to the command.
698 * Scripts/resolve-ChangeLogs:
701 2007-10-28 Eric Seidel <eric@webkit.org>
703 Reviewed by Maciej and Geoff, in unison.
705 * Scripts/run-webkit-tests: remove broken --svg option
707 2007-10-28 Darin Adler <darin@apple.com>
711 * Scripts/run-sunspider: Default to "Release" configuration rather than
712 defaulting to the last configuration used as other scripts do. This can
713 still be overriden on the command line with "--debug" if there's some
714 reason to do so. Also fix a typo.
716 * Scripts/sunspider-compare-results: Fix a typo.
718 2007-10-26 Kevin McCullough <kmccullough@apple.com>
722 - Implemented the WebScriptDebugListener functions now that the
723 WebScriptDebugServer exists
725 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
727 (ServerConnection::currentFrame):
728 (ServerConnection::didLoadMainResourceForDataSource):
729 (ServerConnection::didParseSource):
730 (ServerConnection::failedToParseSource):
731 (ServerConnection::didEnterCallFrame):
732 (ServerConnection::willExecuteStatement):
733 (ServerConnection::willLeaveCallFrame):
734 (ServerConnection::exceptionWasRaised):
735 * Drosera/win/ServerConnection.h: Removed unused arguments from the
736 members arguments list.
738 2007-10-26 David Kilzer <ddkilzer@webkit.org>
740 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
741 <http://bugs.webkit.org/show_bug.cgi?id=15600>
745 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
746 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
747 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
748 file. Note that it may also be used as a stand-alone script.
750 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
751 * Scripts/resolve-ChangeLogs: Added.
752 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
754 2007-10-26 Mark Rowe <mrowe@apple.com>
756 Qt build fix. r27084 added a destructor implementation for LayoutTestController
757 to the Qt port on the assumption that it was an implementation of the cross-platform
758 LayoutTestController class. It is not, so it did not need to be changed.
760 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
762 2007-10-25 Mark Rowe <mrowe@apple.com>
766 Fix builds with code coverage enabled.
768 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
770 2007-10-25 Darin Adler <darin@apple.com>
772 Reviewed by Mark Rowe.
774 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
775 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
777 2007-10-25 Stephanie <slewis@apple.com>
781 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
783 2007-10-25 Stephanie <slewis@apple.com>
785 Reviewed by Mark Rowe, Adam Roben.
787 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
789 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
791 2007-10-25 Alice Liu <alice.liu@apple.com>
795 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
797 Moving destructor into platform-specific files
798 * DumpRenderTree/LayoutTestController.cpp:
799 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
800 (LayoutTestController::~LayoutTestController):
801 * DumpRenderTree/qt/jsobjects.cpp:
802 (LayoutTestController::~LayoutTestController):
804 LayoutTestController wasn't being destroyed
805 * DumpRenderTree/win/DumpRenderTree.cpp:
809 * DumpRenderTree/win/EditingDelegate.h:
811 Reset certain values on the webview (or related delegate) that might
812 have changed while running a test
813 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
814 (LayoutTestController::~LayoutTestController):
816 2007-10-25 Adam Roben <aroben@apple.com>
818 Make sunspider-compare-results work with relative paths
822 * Scripts/sunspider-compare-results: Convert arguments to absolute
823 paths before we chdir.
825 2007-10-25 Kevin McCullough <kmccullough@apple.com>
829 - Implemented server calls now the WebScriptDebugServer exists.
830 - Also removed no longer needed call to initialize CG.
832 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
835 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
836 (ServerConnection::ServerConnection):
837 (ServerConnection::~ServerConnection):
838 (ServerConnection::pause):
839 (ServerConnection::resume):
840 (ServerConnection::stepInto):
841 (ServerConnection::applicationTerminating):
842 (ServerConnection::serverConnectionDidDie):
843 * Drosera/win/ServerConnection.h: Now uses the COM class.
845 2007-10-24 George Staikos <staikos@kde.org>
849 * Scripts/build-webkit:
851 2007-10-24 Adam Roben <aroben@apple.com>
853 Remove now-unnecessary call to InitializeCoreGraphics
855 WebKit takes care of this now.
859 * DumpRenderTree/win/DumpRenderTree.cpp:
862 2007-10-24 Adam Roben <aroben@apple.com>
864 Use WebTextRenderer in DRT
868 * DumpRenderTree/win/DumpRenderTree.cpp:
869 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
871 2007-10-24 Sven Herzberg <sven@imendio.com>
873 Reviewed by Mark Rowe.
875 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
876 Bug 15614: [GTK] qmake based backends don't build on OS X
878 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
880 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
881 isDarwin() to make it reusable in other places (like the workaround-
882 for-prebuilt-qmake in build-webkit)
884 2007-10-24 David Kilzer <ddkilzer@webkit.org>
886 Refurbish update-webkit script.
890 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
891 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
892 multi-argument version of system() for flexibility and security. Check for existence
893 of Internal directory using -d test instead of -x.
895 2007-10-24 David Kilzer <ddkilzer@webkit.org>
897 Minor clean-up of prepare-ChangeLog script.
901 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
902 of a string. Use multi-argument versions of open() and system() for flexibility and
905 2007-10-24 Alice Liu <alice.liu@apple.com>
909 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
911 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
912 replay the saved events when we're still processing the mousedown that starts the drag
913 * DumpRenderTree/win/EventSender.cpp:
915 * DumpRenderTree/win/UIDelegate.cpp:
916 (UIDelegate::doDragDrop):
918 2007-10-24 Kevin McCullough <kmccullough@apple.com>
920 Reviewed by Sam, Steve and Darin.
922 - Stubbed out the WebScriptDebugListener functionality in the Server
923 Connection class to prepare it for receiving those callbacks.
924 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
925 and the ServerConnection to not need to be initialized with a server
926 name, since that is not the way we connect to the WebKit server.
928 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
929 no exception. Now it only loggs when there is an exception
930 (DebuggerDocument::willExecuteStatement):
931 (DebuggerDocument::didEnterCallFrame):
932 (DebuggerDocument::willLeaveCallFrame):
933 (DebuggerDocument::windowScriptObjectAvailable):
934 (DebuggerDocument::callFunctionOnObject):
935 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
936 to be instantiated with a server's name.
937 (DebuggerClient::DebuggerClient):
938 (DebuggerClient::didFinishLoadForFrame):
939 * Drosera/win/DebuggerClient.h: Removed unsued variable.
940 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
943 (Drosera::initServer):
944 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
945 instantiated with a server's name.
946 * Drosera/win/ServerConnection.cpp:
947 (ServerConnection::ServerConnection): No longer needs a server name
948 (ServerConnection::~ServerConnection): Only release the global context
950 (ServerConnection::serverConnectionDidDie): Stub for
951 IWebScriptDebugListener
952 (ServerConnection::QueryInterface): ditto
953 (ServerConnection::AddRef): ditto
954 (ServerConnection::Release): ditto
955 (ServerConnection::didLoadMainResourceForDataSource): ditto
956 (ServerConnection::didParseSource): ditto
957 (ServerConnection::failedToParseSource): ditto
958 (ServerConnection::didEnterCallFrame): ditto
959 (ServerConnection::willExecuteStatement): ditto
960 (ServerConnection::willLeaveCallFrame): ditto
961 (ServerConnection::exceptionWasRaised): ditto
962 * Drosera/win/ServerConnection.h: Stubbed out the
963 IWebScriptDebugListener functions, and this class no longer needs to be
964 instantiated with a server name.
966 2007-10-24 Lars Knoll <lars@trolltech.com>
970 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
972 * DumpRenderTree/qt/jsobjects.h:
974 2007-10-24 Lars Knoll <lars@trolltech.com>
980 * DumpRenderTree/qt/jsobjects.cpp:
981 (TextInputController::doCommand):
983 2007-10-24 Lars Knoll <lars@trolltech.com>
987 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
989 * DumpRenderTree/qt/jsobjects.cpp:
990 (EventSender::keyDown):
991 * DumpRenderTree/qt/jsobjects.h:
993 2007-10-24 Lars Knoll <lars@trolltech.com>
997 implement eventSender.keyDown().
999 * DumpRenderTree/qt/jsobjects.cpp:
1000 (EventSender::keyDown):
1002 2007-10-24 Lars Knoll <lars@trolltech.com>
1006 some smaller fixes to the editing support in DRT. Makes another few tests pass.
1008 * DumpRenderTree/qt/DumpRenderTree.cpp:
1009 (WebCore::DumpRenderTree::DumpRenderTree):
1010 (WebCore::DumpRenderTree::initJSObjects):
1011 * DumpRenderTree/qt/jsobjects.cpp:
1012 (TextInputController::doCommand):
1014 2007-10-24 Lars Knoll <lars@trolltech.com>
1018 first bit of implementation for the textinputcontroller.
1020 * DumpRenderTree/qt/DumpRenderTree.cpp:
1021 (WebCore::DumpRenderTree::DumpRenderTree):
1022 * DumpRenderTree/qt/DumpRenderTree.h:
1023 * DumpRenderTree/qt/jsobjects.cpp:
1024 (TextInputController::TextInputController):
1025 (TextInputController::doCommand):
1026 * DumpRenderTree/qt/jsobjects.h:
1028 2007-10-24 Lars Knoll <lars@trolltech.com>
1032 make the man webpage believe it has focus, so the editing tests work correctly.
1034 * DumpRenderTree/qt/DumpRenderTree.cpp:
1035 (WebCore::DumpRenderTree::DumpRenderTree):
1037 2007-10-24 Lars Knoll <lars@trolltech.com>
1041 implement layoutTestController.dumpEditingCallbacks() correctly.
1043 * DumpRenderTree/qt/DumpRenderTree.cpp:
1044 (WebCore::DumpRenderTree::DumpRenderTree):
1045 * DumpRenderTree/qt/jsobjects.cpp:
1046 (LayoutTestController::reset):
1047 (LayoutTestController::dumpEditingCallbacks):
1049 2007-10-24 Lars Knoll <lars@trolltech.com>
1053 Implement support for testing editing.
1055 * DumpRenderTree/qt/DumpRenderTree.cpp:
1056 (WebCore::DumpRenderTree::DumpRenderTree):
1058 2007-10-23 Sam Weinig <sam@webkit.org>
1060 Check for null BSTR that can be passed to the UIDelegate methods
1061 from javascript null and undefined. Fixes a failing test case on
1062 Windows (fast/dom/Window/alert-undefined.html)
1064 Reviewed by Eric Seidel.
1066 * DumpRenderTree/win/UIDelegate.cpp:
1067 (UIDelegate::runJavaScriptAlertPanelWithMessage):
1068 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1069 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1070 (UIDelegate::webViewAddMessageToConsole):
1072 2007-10-23 Maciej Stachowiak <mjs@apple.com>
1076 Don't print a massive pile of setenvs from tools that automatically build testkjs.
1078 * Scripts/build-testkjs:
1080 2007-10-23 Maciej Stachowiak <mjs@apple.com>
1084 - add wrapper that finds the right copy of testkjs
1086 * Scripts/sunspider-compare-results: Added.
1088 2007-10-23 Kevin McCullough <kmccullough@apple.com>
1092 - After talking with Steve I now see that the WebKit server must be
1093 running for DCOM to create the distributed objects, which makes sense
1094 and currently WebKit only allows one instance to be running at a time
1095 which avoids accidentally connecting to the wrong server
1096 - In light of this I have removed the code for the attach box and
1097 NotificationServer and known server names, since they are all extranious
1100 * Drosera/win/Drosera.cpp: Removed notification classes and known server
1102 (_tWinMain): Uses init instead of initUI.
1103 (droseraWndProc): No longer creats an attach dialog box.
1104 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
1105 it's not manditory to call init before doing COM stuff.
1106 (Drosera::init): calls initUI and will call attach when the
1107 functionality exists.
1108 (Drosera::initUI): Has changed very little.
1109 (Drosera::attach): Changed the signature to reflect that we no longer
1110 need the dictionary of known server names.
1111 * Drosera/win/Drosera.h: Removed notification classes and known server
1112 names. Also renamed and moved some functions.
1113 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
1114 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
1115 headers to the resources folder.
1116 * Drosera/win/resource.h: Removed the Attach box.
1118 2007-10-22 Adam Roben <aroben@apple.com>
1122 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
1124 2007-10-22 Kevin McCullough <kmccullough@apple.com>
1126 - Removed a leak that was fixed.
1128 * Scripts/run-webkit-tests:
1130 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1134 - Changed the Client so that the DebuggerDocument now own the
1135 ServerConnection. This simplifies ownership and cleanup.
1137 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
1139 (DebuggerClient::initWithServerName):
1140 (DebuggerClient::didFinishLoadForFrame):
1141 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
1143 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
1144 until after we have a server which we are attached to.
1147 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
1150 2007-10-22 Simon Hausmann <hausmann@kde.org>
1152 Reviewed by Nikolas.
1154 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
1156 * Scripts/run-javascriptcore-tests:
1158 2007-10-22 Simon Hausmann <hausmann@kde.org>
1160 Reviewed by Nikolas.
1162 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.
1164 * Scripts/build-drosera:
1165 * Scripts/build-dumprendertree:
1166 * Scripts/build-testkjs:
1167 * Scripts/build-webkit:
1168 * Scripts/run-javascriptcore-tests:
1169 * Scripts/run-sunspider:
1170 * Scripts/run-webkit-tests:
1171 * Scripts/webkitdirs.pm:
1173 2007-10-22 Andrew Wellington <proton@wiretapped.net>
1175 Reviewed by Mark Rowe.
1177 Fix for local database support after r26879
1178 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
1180 * Scripts/build-webkit:
1182 2007-10-22 Holger Freyther <zecke@selfish.org>
1184 Reviewed by Simon Hausmann <hausmann@kde.org>.
1186 - Do not build testkjs as an application bundle. This is
1187 needed for run-javascriptcore-tests on OSX.
1188 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
1189 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
1190 as we do not have -rpath on OSX.
1192 * DumpRenderTree/qt/DumpRenderTree.pro:
1193 * Scripts/run-webkit-tests:
1195 2007-10-22 Simon Hausmann <hausmann@kde.org>
1199 Fix support for Signed-off-by detection in prepare-ChangeLog
1200 --git-commit. The Signed-off-by tag does not appear in the header
1201 but usually at the end.
1203 * Scripts/prepare-ChangeLog:
1205 2007-10-21 Mark Rowe <mrowe@apple.com>
1209 Fix run-javascriptcore-tests for Gtk.
1211 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
1213 2007-10-20 Eric Seidel <eric@webkit.org>
1217 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
1219 2007-10-20 Eric Seidel <eric@webkit.org>
1223 Add improved argument handling to run-sunspider, including
1224 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
1225 Also re-factor code into subroutines
1227 * Scripts/build-dumprendertree: removed bogus comments
1228 * Scripts/build-testkjs: Added.
1229 * Scripts/run-javascriptcore-tests: use build-testkjs
1230 * Scripts/run-sunspider: improved argument handling, abstraction
1231 * Scripts/run-webkit-tests: improved abstraction
1233 2007-10-20 Matt Lilek <webkit@mattlilek.com>
1235 Not reviewed, Windows build fix.
1237 * DumpRenderTree/win/EventSender.cpp:
1240 2007-10-20 Darin Adler <darin@apple.com>
1242 Reviewed by Tim Hatcher.
1244 - http://bugs.webkit.org/show_bug.cgi?id=15544
1245 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
1246 not rely on Apple-specific key codes
1248 * DumpRenderTree/mac/EventSendingController.mm:
1249 (-[EventSendingController keyDown:withModifiers:]):
1250 Added named key "rightArrow". Later we could have a whole table of these.
1251 Also tweaked modifiers code a little.
1253 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
1255 2007-10-19 Darin Adler <darin@apple.com>
1259 - http://bugs.webkit.org/show_bug.cgi?id=15566
1260 possible fix for leak seen in DumpRenderTree
1262 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
1263 Delete the item if it's not put on the queue, since the caller has
1264 no way of knowing that. Would be better to have the parameter type
1265 be auto_ptr to express the fact that we take ownership.
1269 * Drosera/mac/main.m: Add missing include.
1271 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1275 - This change should be identical but for some reason was not working
1278 * Scripts/prepare-ChangeLog:
1280 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1282 Reviewed by Oliver and Tim.
1284 - Made use of RetainPtr to avoid retain and release issues and moved the
1285 log function to DebuggerDocumentPlatform, which seems to be a more
1286 logical place for it to live.
1287 - Also moved knownServers from the ServerConnection to
1288 DebuggerApplication to match the Windows code and because it makes sense
1289 that a connection knows its own server but not all of them.
1291 * Drosera/mac/DebuggerClient.h: Moved the log function to
1292 DebuggerDocumentPlatform.
1293 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
1294 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
1295 call for the server name up from the ServerConnection class.
1296 (-[DebuggerClient dealloc]):
1297 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
1298 for the server name up from the ServerConnection.
1299 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
1300 (DebuggerDocument::platformPause):
1301 (DebuggerDocument::platformResume):
1302 (DebuggerDocument::platformStepInto):
1303 (DebuggerDocument::platformEvaluateScript):
1304 (DebuggerDocument::getPlatformCurrentFunctionStack):
1305 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1306 (DebuggerDocument::platformValueForScopeVariableNamed):
1307 (DebuggerDocument::platformLog): Log directly from here. No need to call
1309 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
1310 way I see it, a ServerConnection should only know about its connection
1311 and the group of all possible servers should be kept by the
1313 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
1314 currentServerName, it makes sense that the connection should know that
1316 (-[ServerConnection currentServerName]):
1318 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1322 - Integrated changes from mac drosera. Recently I've encapsulated
1323 out the server connection object from the rest of Drosera because
1324 it is very platform dependent right now and RPC is not implemented on
1325 windows. This functionality, of communicating with the WebKit server
1326 is the next area I will be focusing on in Windows.
1328 - Other changes and cleanup were made to organize the code and add notes
1329 on which parts still need work. Also some mac code is added and
1330 commented out, to act as pseudocode for the logic of those parts.
1332 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
1334 * Drosera/config.h: Added whitespace.
1335 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
1336 these files got moved into Drosera.h/cpp
1337 * Drosera/win/DebuggerApplication.h: Removed.
1338 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
1339 happened here to better match the logic flow of the same code on the
1340 mac side and to use the new ServerConnection class.
1341 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
1342 (DebuggerClient::initWithServerName): Initializer that will set up the
1343 class to use a ServerConnection object. This was necessary so I could
1344 create a DebuggerClient without having to initilaize it at
1346 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
1347 will be the UIDelegate and FrameLoadDelegate.
1348 (DebuggerClient::AddRef): For IUnknown.
1349 (DebuggerClient::Release): For IUnknown.
1350 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
1351 this still needs to set the global context of the server, but
1352 IWebFrame does not have an accessor for the global context yet.
1353 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
1354 this is a pass through for the same function in the document.
1355 (DebuggerClient::didReceiveTitle): Unimplemented part of
1356 FrameLoadDelegate this would change the title of the window.
1357 (DebuggerClient::createWebViewWithRequest): Part of the
1358 FrameLoadDelegate. This is about new windows via Window.open() and
1359 how their delegates are set.
1360 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
1361 UIDelegate. Just a debug function for printing messages.
1362 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
1363 because the Client should be the UIDelegate and FrameLoadDelegate
1364 to match the delegates on mac.
1365 (DebuggerClient::webViewLoaded): Added accessor method.
1366 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
1367 forgotten to add this file before. This is where the platform
1368 dependent versions of the Documents functions live. Most of these are
1369 unimplemented because some piece of functionality does not exist on
1371 (DebuggerDocument::platformPause):
1372 (DebuggerDocument::platformResume):
1373 (DebuggerDocument::platformStepInto):
1374 (DebuggerDocument::platformEvaluateScript):
1375 (DebuggerDocument::getPlatformCurrentFunctionStack):
1376 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1377 (DebuggerDocument::platformValueForScopeVariableNamed):
1378 (DebuggerDocument::platformLog):
1379 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
1380 responsibilities becaue they belong in the Client. Also I laid the
1381 groundwork for attaching Drosera to a WebKit process
1382 (attachWndProc): Now if a server is selected the Client becomes it's
1384 (Drosera::Drosera): Added the construction of the Client and dictionary
1386 (Drosera::initUI): This is no longer the delegates, the Client is.
1387 (Drosera::webViewLoaded): Now asks the Client instead of holding local
1389 (Drosera::applicationDidFinishLaunching): Placeholder for needed
1390 notification registration when it's possible to implement.
1391 (Drosera::serverLoaded): Ditto
1392 (Drosera::serverUnloaded): Ditto
1393 (Drosera::attach): Attach Drosera to the WebKit server.
1394 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
1397 (Drosera::knownServers):
1398 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
1399 and added the ServerConnection.
1400 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
1401 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
1402 Most of the functions are completely unimlemented because they cannot
1403 connect with the WebKit server, because one does not exist on Windows
1405 (ServerConnection::initWithServerName):
1406 (ServerConnection::~ServerConnection):
1407 (ServerConnection::setGlobalContext):
1408 (ServerConnection::pause):
1409 (ServerConnection::resume):
1410 (ServerConnection::stepInto):
1411 (ServerConnection::switchToServerNamed):
1412 (ServerConnection::applicationTerminating):
1413 (ServerConnection::serverConnectionDidDie):
1414 (ServerConnection::currentFrame):
1415 * Drosera/win/ServerConnection.h: Added. Ditto.
1416 (ServerConnection::ServerConnection):
1418 2007-10-19 Alice Liu <alice.liu@apple.com>
1422 Fix for these broken layout tests on Windows:
1424 fast/forms/focus-selection-input.html
1425 fast/forms/focus-selection-textarea.html
1426 fast/forms/select-accesskey.html
1428 * DumpRenderTree/win/EventSender.cpp:
1430 correct the VK code for alt key.
1432 2007-10-19 Eric Seidel <eric@webkit.org>
1434 Reviewed by Mark Rowe.
1436 Make the GtkLauncher code slightly more readable.
1438 * GtkLauncher/main.cpp:
1439 (setupMainMenu): Added.
1440 (setupMainWindowUI): Added.
1443 2007-10-19 Maciej Stachowiak <mjs@apple.com>
1445 Rubber stamped by Adam.
1447 - don't delay-load WebKit in DumpRenderTree.
1449 * DumpRenderTree/win/DumpRenderTree.vcproj:
1451 2007-10-18 Dan Bernstein <mitz@apple.com>
1453 Reviewed by Adam Roben.
1455 - fix <rdar://problem/5313523>
1456 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1458 * DumpRenderTree/mac/DumpRenderTree.mm:
1459 (dump): Changed to use _responseMIMEType.
1461 2007-10-17 Adam Roben <aroben@apple.com>
1463 Make it possible to have Windows-specific tests and results
1465 When searching for tests to run and the Skipped file, we will only
1466 look in platform/win and the cross-platform directory. When looking
1467 for expected results, we will look in platform/win, then
1468 platform/mac-leopard, then platform/mac, then finally the
1469 cross-platform directory.
1473 * Scripts/run-webkit-tests:
1474 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
1475 searching in the cross-platform directory.
1476 (sub buildPlatformHierarchy): Removed some unneeded calls to
1479 2007-10-17 Adam Roben <aroben@apple.com>
1481 Add back the call to register WebKit that we had before WebKitInitializer existed
1483 This is needed to ensure that the right WebKit is used when
1484 instantiating COM objects.
1488 * DumpRenderTree/win/debug_internal.vsprops: Define
1489 DEBUG_WEBKIT_HAS_SUFFIX.
1490 * DumpRenderTree/win/DumpRenderTree.cpp:
1493 2007-10-17 Adam Roben <aroben@apple.com>
1495 Import File::Basename in webkitdirs since we use it
1497 * Scripts/webkitdirs.pm:
1499 2007-10-17 Kevin McCullough <kmccullough@apple.com>
1501 - Updated the tiger leaks list to make the internal bots green.
1503 * Scripts/run-webkit-tests:
1505 2007-10-17 Adam Roben <aroben@apple.com>
1507 Build fix for VC++ Express
1509 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1512 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1516 - Minor mac improvements based on observations I made while implementing the
1519 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1520 then hand it to the Client who will retain it, it should just be the client who
1521 creates and owns the server.
1522 (-[DebuggerApplication attach:]):
1523 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1524 * Drosera/mac/DebuggerClient.mm: Creates the server.
1525 (-[DebuggerClient initWithServerName:]):
1526 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1527 can instead forward declare what it needs.
1529 2007-10-16 Darin Adler <darin@apple.com>
1531 Reviewed by Geoff Garen.
1533 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1534 want to turn failing tests into platform-specific test results. Also did a
1535 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1536 would take the type of results into account only some of the time.
1538 2007-10-16 Adam Roben <aroben@apple.com>
1540 Add a new nightly launcher script for Windows
1542 This new script is for versions of Safari that don't delay-load
1543 WebKit. I had to make FindSafari be able to print out the nightly
1544 launcher script on stdout because Windows shell scripts can't capture
1545 the output from a command into an environment variable.
1549 * FindSafari/FindSafari.cpp:
1550 (_tmain): Added /printSafariLauncher option.
1551 * Scripts/run-webkit-nightly.cmd: Added.
1553 2007-10-16 Adam Roben <aroben@apple.com>
1555 Replace WebKitInitializer with FindSafari
1557 We now rely on setting the PATH environment variable to tell Windows
1558 where to find WebKit and its dependencies (similar to
1559 DYLD_FRAMEWORK_PATH on Mac).
1561 This change also make DumpRenderTree no longer delay-load WebKit.
1565 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1567 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1568 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1569 WebKitInitializer, don't delay-load WebKit.
1570 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1571 * Scripts/run-webkit-tests: Ditto.
1572 * Scripts/webkitdirs.pm:
1573 (sub setPathForRunningWebKitApp): Added.
1574 * WebKitInitializer/WebKitInitializer.cpp: Removed.
1575 * WebKitInitializer/WebKitInitializer.h: Removed.
1576 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1577 * WebKitInitializer/debug.vsprops: Removed.
1578 * WebKitInitializer/debug_internal.vsprops: Removed.
1579 * WebKitInitializer/release.vsprops: Removed.
1581 2007-10-16 Adam Roben <aroben@apple.com>
1583 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1585 http://bugs.webkit.org/show_bug.cgi?id=15532
1587 FindSafari simply prints the location of an installed Safari.exe on
1592 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1595 (getInstalledWebKitDirectory):
1597 * FindSafari/FindSafari.vcproj: Added.
1598 * Scripts/webkitdirs.pm:
1599 (sub installedSafariPath): Added. Calls FindSafari on Windows.
1601 2007-10-16 Adam Roben <aroben@apple.com>
1603 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1605 Reviewed by Kevin McCullough.
1607 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1608 when referring to WebKit.dll.
1609 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1610 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1611 * DumpRenderTree/win/release.vsprops: Ditto.
1612 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1613 never have a _debug suffix on WebKit.dll.
1614 * WebKitInitializer/WebKitInitializer.cpp:
1615 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1617 * WebKitInitializer/debug_internal.vsprops: Added
1618 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1620 2007-10-16 Darin Adler <darin@apple.com>
1624 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1625 Remove now-unneeded control/alt key hack; the tests have been updated.
1627 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1629 - Updated leaks list because our internal bot upgraded it's version of leopard and
1630 one of the leaks was fixed between that revision and the bot's previous version of
1633 * Scripts/run-webkit-tests:
1635 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1639 - I encapsulated out the server connecton functionality because it is a specific part
1640 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1641 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1642 Windows. So the majority of this patch is moving preexisting functionality.
1644 - Also I removed the prefix header and changed to use config.h because it is more
1645 standard on how we use config.h in windows and it didn't make much sense to keep
1646 the prefix header and the config.h
1648 * Drosera/DebuggerDocument.cpp:
1649 (DebuggerDocument::DebuggerDocument):
1650 * Drosera/DebuggerDocument.h:
1652 * Drosera/mac/DebuggerApplication.mm:
1653 (-[DebuggerApplication attach:]):
1654 * Drosera/mac/DebuggerClient.h:
1655 * Drosera/mac/DebuggerClient.mm:
1656 (-[DebuggerClient initWithServerConnection:]):
1657 (-[DebuggerClient dealloc]):
1658 (-[DebuggerClient windowDidLoad]):
1659 (-[DebuggerClient windowWillClose:]):
1660 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1661 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1662 * Drosera/mac/DebuggerDocumentPlatform.mm:
1663 (DebuggerDocument::platformPause):
1664 (DebuggerDocument::platformResume):
1665 (DebuggerDocument::platformStepInto):
1666 (DebuggerDocument::platformEvaluateScript):
1667 (DebuggerDocument::getPlatformCurrentFunctionStack):
1668 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1669 (DebuggerDocument::platformValueForScopeVariableNamed):
1670 (DebuggerDocument::platformLog):
1671 * Drosera/mac/Drosera.pch: Removed.
1672 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1673 * Drosera/mac/ServerConnection.h: Added.
1674 * Drosera/mac/ServerConnection.mm: Added.
1675 (-[ServerConnection initWithServerName:]):
1676 (-[ServerConnection dealloc]):
1677 (-[ServerConnection setGlobalContext:]):
1678 (-[ServerConnection pause]):
1679 (-[ServerConnection resume]):
1680 (-[ServerConnection stepInto]):
1681 (-[ServerConnection switchToServerNamed:]):
1682 (-[ServerConnection applicationTerminating:]):
1683 (-[ServerConnection serverConnectionDidDie:]):
1684 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1685 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1686 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1687 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1688 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1689 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1690 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1691 (-[ServerConnection currentFrame]):
1692 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1693 (-[ServerConnection knownServers]):
1695 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1699 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1700 Script to automatically search nightly builds for regressions (bisect-builds)
1702 * Scripts/bisect-builds: Added.
1704 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1708 - New JavaScript benchmark
1709 http://bugs.webkit.org/show_bug.cgi?id=15515
1711 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1712 current development or release build of JavaScriptCore.
1714 2007-10-15 Mark Rowe <mrowe@apple.com>
1718 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1720 * Scripts/webkitdirs.pm:
1721 - Change checkArgv to remove the options from @ARGV to prevent
1722 them from interfering with further option processing.
1723 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1724 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1725 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1726 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1728 2007-10-15 Darin Adler <darin@apple.com>
1732 - added logging of window.prompt and window.confirm
1734 * DumpRenderTree/mac/UIDelegate.mm:
1735 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1736 Implement the recommended delegate rather than the deprecated one.
1737 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1739 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1742 * DumpRenderTree/win/UIDelegate.h:
1743 * DumpRenderTree/win/UIDelegate.cpp:
1744 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1745 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1746 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1747 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1749 2007-10-15 Alice Liu <alice.liu@apple.com>
1751 Reviewed by Sam Weinig.
1753 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1755 * DumpRenderTree/win/DumpRenderTree.cpp:
1756 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1757 (main): allocate the global policy delegate for DRT's custom use
1758 * DumpRenderTree/win/DumpRenderTree.vcproj:
1759 Adding files to project
1760 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1761 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1762 (LayoutTestController::setCustomPolicyDelegate):
1763 set the webview's policy delegate to DRT's custom one if the test requests it.
1764 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1765 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1766 (PolicyDelegate::PolicyDelegate):
1767 (PolicyDelegate::QueryInterface):
1768 (PolicyDelegate::AddRef):
1769 (PolicyDelegate::Release):
1770 (PolicyDelegate::decidePolicyForNavigationAction):
1771 * DumpRenderTree/win/PolicyDelegate.h: Added.
1772 (PolicyDelegate::decidePolicyForNewWindowAction):
1773 (PolicyDelegate::decidePolicyForMIMEType):
1774 (PolicyDelegate::unableToImplementPolicyWithError):
1776 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1780 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1781 when querying for QMAKE_MKSPECS.
1783 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1785 Reviewed by Adam Roben.
1787 Fix run-webkit-tests is too greedy calculating platform hierarchy
1788 http://bugs.webkit.org/show_bug.cgi?id=15465
1790 Fix run-webkit-tests being too greedy in trying to split the platform name up
1791 causing it to try and find tests in every directory above the first "-" in the
1792 path to the LayoutTests
1794 * Scripts/run-webkit-tests:
1796 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1800 http://bugs.webkit.org/show_bug.cgi?id=15006
1801 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1802 to reduce code duplication.
1804 * Scripts/build-webkit:
1805 * Scripts/webkitdirs.pm:
1806 buildQMakeProject() renamed to buildQMakeQtProject().
1807 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1808 unused $colorize has been removed.
1810 === Start merge of feature-branch 2007-10-12 ===
1812 2007-10-08 Eric Seidel <eric@webkit.org>
1814 Reviewed by Mark Rowe.
1816 * Scripts/build-webkit: add --help, remove unused --color
1818 2007-10-07 Eric Seidel <eric@webkit.org>
1822 * Drosera/mac/DebuggerDocumentPlatform.mm:
1823 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1825 2007-10-03 Rob Buis <buis@kde.org>
1829 Adapt to changed location of Ahem font.
1831 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1833 2007-10-02 Eric Seidel <eric@webkit.org>
1835 Reviewed by Adam Roben.
1837 Make pixel tests more useful!
1838 Finally fix the image diff 0.00% mystery problem
1839 Highlight any image differences in the image diff.
1840 Add a link from image diffs back to original test file.
1842 * DumpRenderTree/mac/ImageDiff.m:
1843 (compareImages): highlight any differences
1844 (computePercentageDifferent): round to two decimal places
1845 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1847 2007-10-02 Eric Seidel <eric@webkit.org>
1849 Reviewed by Alexey Proskuryakov.
1851 * Scripts/run-webkit-tests: print the % image difference on main results page
1853 2007-10-02 Mark Rowe <mrowe@apple.com>
1857 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1859 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1860 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1862 2007-10-01 Mark Rowe <mrowe@apple.com>
1864 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1866 2007-09-25 Eric Seidel <eric@webkit.org>
1868 Reviewed by Mark Rowe.
1870 DerivedSources.make was finding "ENABLE_SVG" in the string
1871 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1874 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1876 2007-09-25 Mark Rowe <mrowe@apple.com>
1878 Rubber-stamped by Eric.
1880 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1881 This makes it possible to automate nightly builds for the feature-branch.
1883 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1885 Rubber stamped by Mark.
1887 Enable svg experimental features as default here in feature-branch.
1889 * Scripts/build-webkit:
1891 2007-06-29 Antti Koivisto <antti@apple.com>
1895 Add VIDEO flag for timed media features
1897 * Scripts/build-webkit
1899 === End merge of feature-branch 2007-10-12 ===
1901 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1905 - Updated rational for the leaks list to be more clear.
1907 * Scripts/run-webkit-tests:
1909 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1911 Rubber Stamp by Sam.
1913 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1914 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1916 * Scripts/run-webkit-tests:
1918 2007-10-10 Simon Hausmann <hausmann@kde.org>
1922 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1923 includes are needed for INT_MAX, std::auto_ptr and the like.
1925 * DumpRenderTree/qt/main.cpp:
1927 2007-10-09 Lars Knoll <lars@trolltech.com>
1931 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1933 * DumpRenderTree/qt/jsobjects.cpp:
1934 (LayoutTestController::encodeHostName):
1935 (LayoutTestController::decodeHostName):
1936 * DumpRenderTree/qt/jsobjects.h:
1938 2007-10-09 Lars Knoll <lars@trolltech.com>
1942 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.
1944 * DumpRenderTree/qt/DumpRenderTree.cpp:
1945 (WebCore::WebPage::createFrame):
1946 (WebCore::DumpRenderTree::DumpRenderTree):
1947 (WebCore::DumpRenderTree::titleChanged):
1948 * DumpRenderTree/qt/DumpRenderTree.h:
1949 * DumpRenderTree/qt/jsobjects.cpp:
1950 (LayoutTestController::reset):
1951 * DumpRenderTree/qt/jsobjects.h:
1953 2007-10-09 Lars Knoll <lars@trolltech.com>
1957 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1959 * DumpRenderTree/qt/DumpRenderTree.h:
1960 * DumpRenderTree/qt/jsobjects.cpp:
1961 (LayoutTestController::clearBackForwardList):
1962 * DumpRenderTree/qt/jsobjects.h:
1964 2007-10-09 Lars Knoll <lars@trolltech.com>
1968 make --git-reviewer work again.
1970 * Scripts/prepare-ChangeLog:
1972 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1974 Rubber stamped by Eric.
1976 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1977 show the current link inside the statusbar.
1978 This shows how to make use of this signal and allows to easily test
1979 http://bugs.webkit.org/show_bug.cgi?id=15299.
1981 * GtkLauncher/main.cpp:
1985 2007-10-05 Lars Knoll <lars@trolltech.com>
1987 add proper error messages to the FrameLoaderClient.
1988 Implement ChromeClientQt::closeWindowSoon and
1989 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1990 Some fixes in DRT to make it work correctly with multiple windows.
1994 * DumpRenderTree/qt/DumpRenderTree.cpp:
1995 (WebCore::DumpRenderTree::DumpRenderTree):
1996 (WebCore::DumpRenderTree::createWindow):
1997 (WebCore::DumpRenderTree::windowCount):
1998 * DumpRenderTree/qt/DumpRenderTree.h:
1999 * DumpRenderTree/qt/jsobjects.cpp:
2000 (LayoutTestController::maybeDump):
2001 (LayoutTestController::windowCount):
2002 * DumpRenderTree/qt/jsobjects.h:
2004 2007-10-05 Lars Knoll <lars@trolltech.com>
2006 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
2007 Add support for layoutTextController.setCanOpenWindows() to DRT
2008 fixing another 2 test cases in fast/dom/Window.
2012 * DumpRenderTree/qt/DumpRenderTree.cpp:
2013 (WebCore::WebPage::WebPage):
2014 (WebCore::WebPage::createWindow):
2015 (WebCore::DumpRenderTree::resetJSObjects):
2016 (WebCore::DumpRenderTree::createWindow):
2017 * DumpRenderTree/qt/DumpRenderTree.h:
2018 * DumpRenderTree/qt/DumpRenderTree.pro:
2019 * DumpRenderTree/qt/jsobjects.cpp:
2020 (LayoutTestController::LayoutTestController):
2021 (LayoutTestController::reset):
2022 * DumpRenderTree/qt/jsobjects.h:
2023 * DumpRenderTree/qt/main.cpp:
2024 * DumpRenderTree/qt/testplugin.cpp: Added.
2025 * DumpRenderTree/qt/testplugin.h: Added.
2027 2007-10-04 Sam Weinig <sam@webkit.org>
2029 Rubber stamped by Adam.
2031 Remove empty directories.
2033 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
2034 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
2036 2007-10-03 Darin Adler <darin@apple.com>
2040 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
2041 we find the internal libraries in the libraries directory. This
2042 is helpful for Safari team engineers at Apple.
2044 2007-10-03 Adam Roben <aroben@apple.com>
2046 Update the location of AHEM___.TTF after r25968
2050 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2052 2007-10-03 Alp Toker <alp@atoker.com>
2056 http://bugs.webkit.org/show_bug.cgi?id=14726
2057 [gtk] API design. Mapping the WebView delegates to signals.
2059 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
2061 * GtkLauncher/main.cpp:
2065 (menuMainBackCallback):
2066 (menuMainForwardCallback):
2069 2007-10-03 Lars Knoll <lars@trolltech.com>
2073 This fixes --strict mode in run-webkit-tests again after
2074 the platform dependent test results have been moved.
2076 * Scripts/run-webkit-tests:
2078 2007-10-03 Lars Knoll <lars@trolltech.com>
2082 remove the hack in run-webkit-tests that forced text only test
2083 to be taken from the platform independent dir. It was only left
2084 there from early days.
2086 Remove platform dependent results for tests that are text only nowadays,
2087 and add one platform dependent result for a text only test that requires it.
2089 * Scripts/run-webkit-tests:
2091 2007-10-03 Lars Knoll <lars@trolltech.com>
2095 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
2097 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
2098 (WebCore::WebFrame::WebFrame):
2099 (WebCore::WebPage::WebPage):
2100 (WebCore::WebPage::createFrame):
2101 (WebCore::WebPage::javaScriptAlert):
2102 (WebCore::WebPage::javaScriptConsoleMessage):
2103 (WebCore::DumpRenderTree::DumpRenderTree):
2104 (WebCore::DumpRenderTree::~DumpRenderTree):
2105 (WebCore::DumpRenderTree::open):
2106 (WebCore::DumpRenderTree::readStdin):
2107 (WebCore::DumpRenderTree::resetJSObjects):
2108 (WebCore::DumpRenderTree::initJSObjects):
2109 (WebCore::DumpRenderTree::dumpFramesAsText):
2110 (WebCore::DumpRenderTree::dump):
2111 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
2112 (WebCore::DumpRenderTree::layoutTestController):
2113 (WebCore::DumpRenderTree::eventSender):
2114 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
2115 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
2116 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
2117 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
2118 (HackWebFrame::mousePressEvent):
2119 (HackWebFrame::mouseReleaseEvent):
2120 (HackWebFrame::mouseMoveEvent):
2121 (HackWebFrame::HackWebFrame):
2122 (HackWebFrame::~HackWebFrame):
2123 (LayoutTestController::LayoutTestController):
2124 (LayoutTestController::reset):
2125 (LayoutTestController::maybeDump):
2126 (LayoutTestController::waitUntilDone):
2127 (LayoutTestController::notifyDone):
2128 (LayoutTestController::dumpEditingCallbacks):
2129 (LayoutTestController::queueReload):
2130 (LayoutTestController::provisionalLoad):
2131 (LayoutTestController::timerEvent):
2132 (EventSender::EventSender):
2133 (EventSender::mouseDown):
2134 (EventSender::mouseUp):
2135 (EventSender::mouseMoveTo):
2136 (EventSender::leapForward):
2137 (EventSender::keyDown):
2138 (EventSender::frameUnderMouse):
2139 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
2140 (LayoutTestController::isLoading):
2141 (LayoutTestController::setLoading):
2142 (LayoutTestController::shouldDumpAsText):
2143 (LayoutTestController::shouldDumpChildrenAsText):
2144 (LayoutTestController::shouldWaitUntilDone):
2145 (LayoutTestController::dumpAsText):
2146 (LayoutTestController::dumpChildFramesAsText):
2147 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
2151 * Scripts/run-webkit-tests:
2153 2007-10-03 Mark Rowe <mrowe@apple.com>
2155 Reviewed by Alp Toker.
2157 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
2158 should take precedence over QTDIR when determining which port we are working with.
2160 * Scripts/webkitdirs.pm:
2162 2007-10-02 Adam Roben <aroben@apple.com>
2164 Add keychain to the list of default packages to install
2166 Rubberstamped by Sam.
2168 * CygwinDownloader/cygwin-downloader.py:
2169 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2171 2007-10-02 David Kilzer <ddkilzer@webkit.org>
2175 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
2176 Also makes WebCore regression test case logic work when using git.
2178 * Scripts/prepare-ChangeLog:
2179 (reviewerAndDescriptionForGitCommit): Added.
2181 2007-10-02 Lars Knoll <lars@trolltech.com>
2185 Add API to retrieve the frame name from QWebFrame.
2186 Implement support for DRT::dumpChildrenAsText.
2188 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2189 (WebCore::DumpRenderTree::dumpFramesAsText):
2190 (WebCore::DumpRenderTree::dump):
2191 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2192 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2193 (LayoutTestController::LayoutTestController):
2194 (LayoutTestController::reset):
2195 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2197 2007-10-02 Lars Knoll <lars@trolltech.com>
2201 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
2203 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2204 (WebCore::DumpRenderTree::readStdin):
2206 2007-10-02 Mark Rowe <mrowe@apple.com>
2210 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
2212 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
2213 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
2215 2007-10-02 Mark Rowe <mrowe@apple.com>
2217 Rubber-stamped by Maciej.
2219 Configuration changes from build.webkit.org. The major change is refactoring to work
2220 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
2223 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2224 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
2225 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
2226 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
2227 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
2228 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
2229 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
2230 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2232 2007-10-02 Lars Knoll <lars@trolltech.com>
2236 Add support for eventSender.mouseMove to DRT.
2237 Fixes fast/css/hover-affects-child.html
2239 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2240 (EventSender::mouseMoveTo):
2242 2007-10-01 Mark Rowe <mrowe@apple.com>
2244 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
2246 2007-10-01 David Kilzer <ddkilzer@webkit.org>
2250 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
2252 * Scripts/svn-apply:
2253 (gitdiff2svndiff): Ignore lines beginning with "new file".
2254 * Scripts/svn-unapply:
2255 (gitdiff2svndiff): Ditto.
2257 2007-09-30 George Staikos <staikos@kde.org>
2259 Qt build fix (Mac OS X specific)
2261 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2263 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
2267 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
2268 Remove Bakefiles from svn.
2270 * GtkLauncher/Bakefiles.bkgen: Removed.
2271 * GtkLauncher/ENV: Removed.
2272 * GtkLauncher/gdklauncher.bkl: Removed.
2273 * GtkLauncher/mk: Removed.
2274 * Scripts/regenerate-makefiles: Removed.
2276 2007-09-25 Kevin McCullough <kmccullough@apple.com>
2280 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
2282 * Scripts/run-webkit-tests:
2284 2007-09-26 Adam Roben <aroben@apple.com>
2286 Make not finding an installed WebKit non-fatal
2288 What really matters is that we are able to load WebKit and its
2289 dependencies, not whether we think we've found an installed WebKit.
2293 * WebKitInitializer/WebKitInitializer.cpp:
2294 (getWebViewCLSID): Use new LOG_WARNING macro.
2295 (getInstalledWebKitDirectory): Ditto.
2296 (initializeWebKit): Don't die if we didn't find an installed WebKit,
2298 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
2300 2007-09-26 Adam Roben <aroben@apple.com>
2302 Committed this file before saving it
2304 * WebKitInitializer/debug_internal.vsprops:
2306 2007-09-26 Adam Roben <aroben@apple.com>
2308 Load WebKit and its dependencies manually so they come from DllDirectory
2310 I had to change WebKitInitializer to use malloc/free instead of
2311 new/delete to avoid pulling in WebKit (and its dependencies) early
2312 through use of fastMalloc.
2316 * WebKitInitializer/WebKitInitializer.cpp:
2317 (getStringValue): Changed to use malloc/free.
2318 (getInstalledWebKitDirectory): Ditto.
2319 (initializeWebKit): Call SetDllDirectory first, then load all of
2320 WebKit's dependencies manually, finally followed by WebKit itself.
2321 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
2322 configuration to match our other projects.
2323 * WebKitInitializer/debug_internal.vsprops: Added.
2325 2007-09-25 Adam Roben <aroben@apple.com>
2327 Actually define DEBUG/NDEBUG so that we load WebKit correctly
2329 Rubberstamped by Sam.
2331 * WebKitInitializer/WebKitInitializer.vcproj:
2333 2007-09-25 Adam Roben <aroben@apple.com>
2335 Make DumpRenderTree delay-load its dependencies
2337 This lets WebKitInitializer re-route the dependencies to be loaded out
2338 of the Safari installation directory.
2340 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
2341 same thing), since we can't import the kCFAllocatorDefault symbol when
2342 delay-loading CoreFoundation.dll.
2344 Rubberstamped by Sam.
2346 * DumpRenderTree/win/DumpRenderTree.cpp:
2348 (javaScriptThreads):
2349 * DumpRenderTree/win/DumpRenderTree.vcproj:
2350 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2351 (LayoutTestController::setWaitToDump):
2353 2007-09-25 Adam Roben <aroben@apple.com>
2355 Pull ole32.lib into WebKitInitializer
2357 Rubberstamped by Sam.
2359 * WebKitInitializer/WebKitInitializer.vcproj:
2361 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2365 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2366 LGPL'ed files contain incorrect FSF address
2370 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2374 Make svn-apply and svn-unapply work with git-diff formatted patches.
2376 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
2377 (gitdiff2svndiff): Added.
2378 * Scripts/svn-unapply: Ditto.
2379 (gitdiff2svndiff): Added.
2381 2007-09-25 Adam Roben <aroben@apple.com>
2383 Pull advapi32.lib into WebKitInitializer
2385 This is needed to get the registry functions we use.
2387 Rubberstamped by Sam.
2389 * WebKitInitializer/WebKitInitializer.vcproj:
2391 2007-09-25 Adam Roben <aroben@apple.com>
2393 Add python and rsync to cygwin-downloader
2395 Our build slaves need this, and it can't hurt for everyone else to
2400 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
2401 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2403 2007-09-25 Adam Roben <aroben@apple.com>
2405 Add WebKitInitializer and use it in DumpRenderTree
2407 WebKitInitializer is a static library that has one function,
2408 initializeWebKit(). This registers WebKit and sets up the DLL search
2409 path so that WebKit's dependencies that are installed with Safari can
2414 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
2415 DumpRenderTree depend on it.
2416 * DumpRenderTree/win/DumpRenderTree.cpp:
2417 (initialize): Call initializeWebKit.
2418 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
2419 WebKitInitializer.lib.
2420 * WebKitInitializer/WebKitInitializer.cpp: Added.
2423 (getInstalledWebKitDirectory):
2425 * WebKitInitializer/WebKitInitializer.h: Added.
2426 * WebKitInitializer/WebKitInitializer.vcproj: Added.
2427 * WebKitInitializer/debug.vsprops: Added.
2428 * WebKitInitializer/release.vsprops: Added.
2430 2007-09-25 Adam Roben <aroben@apple.com>
2432 Make run-webkit-tests respect set-webkit-configuration
2436 * Scripts/run-webkit-tests: Initialize $configuration to whatever
2437 set-webkit-configuration was last set to.
2439 2007-09-25 Mark Rowe <mrowe@apple.com>
2441 Rubber-stamped by Eric.
2443 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2444 This makes it possible to automate nightly builds for the feature-branch.
2446 2007-09-25 Adam Roben <aroben@apple.com>
2448 A couple of fixes/enhancements to update-webkit-*-libs
2450 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
2451 to tell update-webkit-support-libraries where it should find the
2452 WebKitSupportLibrary.zip file you downloaded.
2454 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
2459 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
2460 to $auxiliaryLibsURL and removed an irrelevant comment.
2461 * Scripts/update-webkit-support-libs:
2463 2007-09-25 Adam Treat <treat@kde.org>
2465 Reviewed by Simon and Lars.
2467 Refactors and cleans up Qt DRT member variable names, member variable
2468 initialization, style fixes and general code cleanup.
2470 Adds queueReload slot to LayoutTestController that some tests require.
2472 Subclasses QWebFrame to make sure that all frames have an associated
2473 LayoutTestController JS window object.
2475 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
2476 aren't dumped twice.
2480 Together, this patch fixes some 20+ layout tests in QtWebKit.
2482 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2483 (WebCore::WebFrame::WebFrame):
2484 (WebCore::WebPage::WebPage):
2485 (WebCore::WebPage::createFrame):
2486 (WebCore::DumpRenderTree::DumpRenderTree):
2487 (WebCore::DumpRenderTree::open):
2488 (WebCore::DumpRenderTree::readStdin):
2489 (WebCore::DumpRenderTree::initJSObjects):
2490 (WebCore::DumpRenderTree::dump):
2491 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2492 (WebCore::DumpRenderTree::layoutTestController):
2493 (WebCore::DumpRenderTree::eventSender):
2494 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2495 (LayoutTestController::LayoutTestController):
2496 (LayoutTestController::reset):
2497 (LayoutTestController::maybeDump):
2498 (LayoutTestController::waitUntilDone):
2499 (LayoutTestController::notifyDone):
2500 (LayoutTestController::queueReload):
2501 (LayoutTestController::provisionalLoad):
2502 (EventSender::EventSender):
2503 (EventSender::mouseDown):
2504 (EventSender::mouseUp):
2505 (EventSender::mouseMoveTo):
2506 (EventSender::frameUnderMouse):
2507 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2508 (LayoutTestController::isLoading):
2509 (LayoutTestController::setLoading):
2510 (LayoutTestController::dumpAsText):
2511 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2514 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2517 - Reverted an accidentally checked in file.
2519 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2521 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2524 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2526 * DumpRenderTree/win/DumpRenderTree.vcproj:
2527 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2529 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
2531 Rubber stamped by Adam.
2533 * GdkLauncher: Removed.
2534 * GdkLauncher/Bakefiles.bkgen: Removed.
2535 * GdkLauncher/ENV: Removed.
2536 * GdkLauncher/GdkLauncher.pro: Removed.
2537 * GdkLauncher/gdklauncher.bkl: Removed.
2538 * GdkLauncher/main.cpp: Removed.
2539 * GdkLauncher/mk: Removed.
2540 * GdkLauncher/simple.svg: Removed.
2541 * GdkLauncher/text.html: Removed.
2542 * GtkLauncher: Added.
2543 * GtkLauncher/GdkLauncher.pro: Removed.
2544 * GtkLauncher/GtkLauncher.pro: Added.
2545 * GtkLauncher/main.cpp:
2546 (updateWindowTitle):
2548 * Scripts/build-webkit:
2549 * Scripts/regenerate-makefiles:
2550 * Scripts/run-javascriptcore-tests:
2551 * Scripts/run-launcher:
2552 * Scripts/run-webkit-tests:
2553 * Scripts/webkitdirs.pm:
2555 2007-09-21 Timothy Hatcher <timothy@apple.com>
2559 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2561 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2562 This is tested by plugins/root-object-premature-delete-crash.html.
2564 * DumpRenderTree/mac/ObjCController.m:
2565 (-[ObjCController accessStoredWebScriptObject]):
2567 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2571 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2573 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2574 (FrameLoadDelegate::FrameLoadDelegate):
2576 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
2580 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2581 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2583 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2584 Now isQt() and isGdk() use global variables that are only set once.
2586 An array of all the parameters is now given to build-dumprender which includes
2587 the platform on linux.
2589 * Scripts/build-dumprendertree:
2590 * Scripts/run-webkit-tests:
2591 * Scripts/webkitdirs.pm:
2593 2007-09-19 Adam Roben <aroben@apple.com>
2595 Rubberstamped by Hyatt.
2597 * Spinneret: Removed.
2599 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
2601 Reviewed by David Kilzer.
2603 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2605 2007-09-18 Sam Weinig <sam@webkit.org>
2607 Add JSRetainPtr.h #include to fix some builds.
2609 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2611 2007-09-18 Mike Hommey <glandium@debian.org>
2615 * Scripts/prepare-ChangeLog:
2616 - Properly parse GECOS field.
2617 - Use git configuration for user name and email when appropriate.
2619 2007-09-17 Sam Weinig <sam@webkit.org>
2623 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2625 2007-09-17 Sam Weinig <sam@webkit.org>
2627 Reviewed by Adam Roben.
2629 Share more code between mac and windows DRT.
2630 - GCController is now shared.
2631 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2633 * DumpRenderTree/GCController.cpp:
2634 * DumpRenderTree/win/DumpRenderTree.cpp:
2635 * DumpRenderTree/win/DumpRenderTree.vcproj:
2636 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2637 (FrameLoadDelegate::FrameLoadDelegate):
2638 (FrameLoadDelegate::~FrameLoadDelegate):
2639 (FrameLoadDelegate::windowScriptObjectAvailable):
2640 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2641 * DumpRenderTree/win/GCController.cpp: Removed.
2642 * DumpRenderTree/win/GCController.h: Removed.
2643 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2644 (GCController::collect):
2645 (GCController::collectOnAlternateThread):
2646 (GCController::getJSObjectCount):
2647 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2648 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2650 2007-09-17 Sam Weinig <sam@webkit.org>
2652 Reviewed by Adam Roben.
2654 Begin sharing code between mac and windows DRT.
2655 - both now share LayoutTestController.h/cpp and implement platform dependant
2656 operations in LayoutTestControllerMac/Win.
2657 - DumpRenderTree.h is now shared.
2658 - WorkQueue and WorkQueueItem are also shared.
2660 * DumpRenderTree/DumpRenderTree.h:
2661 * DumpRenderTree/LayoutTestController.cpp:
2662 * DumpRenderTree/win/DumpRenderTree.cpp:
2664 (dumpFrameScrollPosition):
2668 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2669 * DumpRenderTree/win/DumpRenderTree.vcproj:
2670 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2671 * DumpRenderTree/win/EditingDelegate.cpp:
2672 (EditingDelegate::shouldBeginEditingInDOMRange):
2673 (EditingDelegate::shouldEndEditingInDOMRange):
2674 (EditingDelegate::shouldInsertNode):
2675 (EditingDelegate::shouldInsertText):
2676 (EditingDelegate::shouldDeleteDOMRange):
2677 (EditingDelegate::shouldChangeSelectedDOMRange):
2678 (EditingDelegate::shouldApplyStyle):
2679 (EditingDelegate::shouldChangeTypingStyle):
2680 (EditingDelegate::doPlatformCommand):
2681 (EditingDelegate::webViewDidBeginEditing):
2682 (EditingDelegate::webViewDidChange):
2683 (EditingDelegate::webViewDidEndEditing):
2684 (EditingDelegate::webViewDidChangeTypingStyle):
2685 (EditingDelegate::webViewDidChangeSelection):
2686 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2687 * DumpRenderTree/win/LayoutTestController.h: Removed.
2688 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2689 (LayoutTestController::addDisallowedURL):
2690 (LayoutTestController::clearBackForwardList):
2691 (LayoutTestController::copyDecodedHostName):
2692 (LayoutTestController::copyEncodedHostName):
2693 (LayoutTestController::display):
2694 (LayoutTestController::keepWebHistory):
2695 (LayoutTestController::notifyDone):
2696 (LayoutTestController::queueBackNavigation):
2697 (LayoutTestController::queueForwardNavigation):
2698 (jsStringRefToWString):
2699 (LayoutTestController::queueLoad):
2700 (LayoutTestController::queueReload):
2701 (LayoutTestController::queueScript):
2702 (LayoutTestController::setAcceptsEditing):
2703 (LayoutTestController::setCustomPolicyDelegate):
2704 (LayoutTestController::setMainFrameIsFirstResponder):
2705 (LayoutTestController::setTabKeyCyclesThroughElements):
2706 (LayoutTestController::setUseDashboardCompatibilityMode):
2707 (LayoutTestController::setUserStyleSheetEnabled):
2708 (LayoutTestController::setUserStyleSheetLocation):
2709 (LayoutTestController::setWindowIsKey):
2710 (waitUntilDoneWatchdogFired):
2711 (LayoutTestController::setWaitToDump):
2712 (LayoutTestController::windowCount):
2713 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2714 (FrameLoadDelegate::didReceiveTitle):
2715 (FrameLoadDelegate::processWork):
2716 (FrameLoadDelegate::locationChangeDone):
2717 (FrameLoadDelegate::windowScriptObjectAvailable):
2718 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2719 * DumpRenderTree/win/WorkQueue.h: Removed.
2720 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2721 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2722 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2723 (jsStringRefToWString):
2725 (ScriptItem::invoke):
2727 2007-09-17 Sam Weinig <sam@webkit.org>
2729 Reviewed by Adam Roben.
2731 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2733 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2734 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2735 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2736 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2737 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2738 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2739 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2740 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2741 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2742 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2743 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2744 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2745 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2746 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2747 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2748 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2749 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2750 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2751 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2752 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2753 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2754 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2755 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2756 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2757 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2758 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2759 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2760 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2761 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2762 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2763 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2764 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2765 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2766 * DumpRenderTree/win: Added.
2767 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2768 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2769 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2770 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2771 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2772 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2773 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2774 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2775 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2776 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2777 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2778 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2779 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2780 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2781 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2782 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2783 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2784 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2785 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2786 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2787 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2788 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2789 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2790 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2791 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2792 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2794 2007-09-15 Mark Rowe <mrowe@apple.com>
2796 Build fix for DumpRenderTree.
2798 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2800 2007-09-14 Sam Weinig <sam@webkit.org>
2802 Rubber stamped by Adam Roben.
2804 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2805 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2806 kept in the WaitUntilDoneDelegate file for the time being.
2808 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2810 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2811 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2812 (UIDelegate::QueryInterface):
2813 (UIDelegate::AddRef):
2814 (UIDelegate::Release):
2815 (UIDelegate::hasCustomMenuImplementation):
2816 (UIDelegate::setFrame):
2817 (UIDelegate::webViewFrame):
2818 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2819 (UIDelegate::webViewAddMessageToConsole):
2820 (UIDelegate::doDragDrop):
2821 (UIDelegate::webViewGetDlgCode):
2822 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2823 (UIDelegate::UIDelegate):
2824 (UIDelegate::createWebViewWithRequest):
2825 (UIDelegate::webViewShow):
2826 (UIDelegate::webViewClose):
2827 (UIDelegate::webViewFocus):
2828 (UIDelegate::webViewUnfocus):
2829 (UIDelegate::webViewFirstResponder):
2830 (UIDelegate::makeFirstResponder):
2831 (UIDelegate::setStatusText):
2832 (UIDelegate::webViewStatusText):
2833 (UIDelegate::webViewAreToolbarsVisible):
2834 (UIDelegate::setToolbarsVisible):
2835 (UIDelegate::webViewIsStatusBarVisible):
2836 (UIDelegate::setStatusBarVisible):
2837 (UIDelegate::webViewIsResizable):
2838 (UIDelegate::setResizable):
2839 (UIDelegate::setContentRect):
2840 (UIDelegate::webViewContentRect):
2841 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2842 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2843 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2844 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2845 (UIDelegate::mouseDidMoveOverElement):
2846 (UIDelegate::contextMenuItemsForElement):
2847 (UIDelegate::validateUserInterfaceItem):
2848 (UIDelegate::shouldPerformAction):
2849 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2850 (UIDelegate::willPerformDragDestinationAction):
2851 (UIDelegate::dragSourceActionMaskForPoint):
2852 (UIDelegate::willPerformDragSourceAction):
2853 (UIDelegate::contextMenuItemSelected):
2854 (UIDelegate::trackCustomPopupMenu):
2855 (UIDelegate::measureCustomMenuItem):
2856 (UIDelegate::drawCustomMenuItem):
2857 (UIDelegate::addCustomMenuDrawingData):
2858 (UIDelegate::cleanUpCustomMenuDrawingData):
2859 (UIDelegate::canTakeFocus):
2860 (UIDelegate::takeFocus):
2861 (UIDelegate::registerUndoWithTarget):
2862 (UIDelegate::removeAllActionsWithTarget):
2863 (UIDelegate::setActionTitle):
2866 (UIDelegate::canUndo):
2867 (UIDelegate::canRedo):
2868 (UIDelegate::webViewResizerRect):
2869 (UIDelegate::webViewDrawResizer):
2870 (UIDelegate::webViewScrolled):
2871 (UIDelegate::webViewShouldInterruptJavaScript):
2872 (UIDelegate::webViewReceivedFocus):
2873 (UIDelegate::webViewLostFocus):
2874 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2875 (FrameLoadDelegate::QueryInterface):
2876 (FrameLoadDelegate::AddRef):
2877 (FrameLoadDelegate::Release):
2878 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2879 (FrameLoadDelegate::didCommitLoadForFrame):
2880 (FrameLoadDelegate::didReceiveTitle):
2881 (FrameLoadDelegate::processWork):
2883 (FrameLoadDelegate::locationChangeDone):
2884 (FrameLoadDelegate::didFinishLoadForFrame):
2885 (FrameLoadDelegate::didFailLoadWithError):
2886 (FrameLoadDelegate::windowScriptObjectAvailable):
2887 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2888 (FrameLoadDelegate::FrameLoadDelegate):
2890 2007-09-14 Sam Weinig <sam@webkit.org>
2892 Reviewed by Kevin McCullough.
2894 Move mac specific globals in to mac/DumpRenderTreeMac.h
2896 * DumpRenderTree/DumpRenderTree.h:
2897 * DumpRenderTree/DumpRenderTree.mm: Removed.
2898 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2899 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2900 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2902 2007-09-14 Brady Eidson <beidson@apple.com>
2904 Rubberstamped by Weinig
2906 You know, Sam, some of us use case-sensitve filesystems...
2908 * DumpRenderTree/DumpRenderTree.h:
2909 * DumpRenderTree/mac/UIDelegate.mm:
2911 2007-09-14 Sam Weinig <sam@webkit.org>
2913 Rubber stamped by Adam Roben.
2915 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2916 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2918 * DumpRenderTree/AppleScriptController.h: Removed.
2919 * DumpRenderTree/AppleScriptController.m: Removed.
2920 * DumpRenderTree/DumpRenderTree.h:
2921 * DumpRenderTree/DumpRenderTree.mm:
2922 (startJavaScriptThreads):
2923 (stopJavaScriptThreads):
2925 (setDefaultColorProfileToRGB):
2926 (makeLargeMallocFailSilently):
2927 (dumpFrameScrollPosition):
2931 (-[DumpRenderTreeWindow isKeyWindow]):
2932 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2933 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2934 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2935 * DumpRenderTree/EditingDelegate.h: Removed.
2936 * DumpRenderTree/EditingDelegate.m: Removed.
2937 * DumpRenderTree/EventSendingController.h: Removed.
2938 * DumpRenderTree/EventSendingController.m: Removed.
2939 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2940 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2941 * DumpRenderTree/GCController.mm: Removed.
2942 * DumpRenderTree/ImageDiff.m: Removed.
2943 * DumpRenderTree/LayoutTestController.cpp:
2944 (LayoutTestController::LayoutTestController):
2945 (dumpAsTextCallback):
2946 (dumpBackForwardListCallback):
2947 (dumpChildFramesAsTextCallback):
2948 (dumpChildFrameScrollPositionsCallback):
2949 (dumpDOMAsWebArchiveCallback):
2950 (dumpEditingCallbacksCallback):
2951 (dumpFrameLoadCallbacksCallback):
2952 (dumpResourceLoadCallbacksCallback):
2953 (dumpSelectionRectCallback):
2954 (dumpSourceAsWebArchiveCallback):
2955 (dumpTitleChangesCallback):
2956 (repaintSweepHorizontallyCallback):
2957 (setCallCloseOnWebViewsCallback):
2958 (setCanOpenWindowsCallback):
2959 (setCloseRemainingWindowsWhenCompleteCallback):
2960 (testRepaintCallback):
2961 (addFileToPasteboardOnDragCallback):
2962 (waitUntilDoneCallback):
2963 * DumpRenderTree/LayoutTestController.h:
2964 (LayoutTestController::dumpAsText):
2965 (LayoutTestController::setDumpAsText):
2966 (LayoutTestController::dumpBackForwardList):
2967 (LayoutTestController::setDumpBackForwardList):
2968 (LayoutTestController::dumpChildFrameScrollPositions):
2969 (LayoutTestController::setDumpChildFrameScrollPositions):
2970 (LayoutTestController::dumpChildFramesAsText):
2971 (LayoutTestController::setDumpChildFramesAsText):
2972 (LayoutTestController::dumpDOMAsWebArchive):
2973 (LayoutTestController::setDumpDOMAsWebArchive):
2974 (LayoutTestController::dumpSelectionRect):
2975 (LayoutTestController::setDumpSelectionRect):
2976 (LayoutTestController::dumpSourceAsWebArchive):
2977 (LayoutTestController::setDumpSourceAsWebArchive):
2978 (LayoutTestController::dumpTitleChanges):
2979 (LayoutTestController::setDumpTitleChanges):
2980 (LayoutTestController::dumpEditingCallbacks):
2981 (LayoutTestController::setDumpEditingCallbacks):
2982 (LayoutTestController::dumpResourceLoadCallbacks):
2983 (LayoutTestController::setDumpResourceLoadCallbacks):
2984 (LayoutTestController::dumpFrameLoadCallbacks):
2985 (LayoutTestController::setDumpFrameLoadCallbacks):
2986 (LayoutTestController::addFileToPasteboardOnDrag):
2987 (LayoutTestController::setAddFileToPasteboardOnDrag):
2988 (LayoutTestController::callCloseOnWebViews):
2989 (LayoutTestController::setCallCloseOnWebViews):
2990 (LayoutTestController::canOpenWindows):
2991 (LayoutTestController::setCanOpenWindows):
2992 (LayoutTestController::closeRemainingWindowsWhenComplete):
2993 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2994 (LayoutTestController::testRepaint):
2995 (LayoutTestController::setTestRepaint):
2996 (LayoutTestController::testRepaintSweepHorizontally):
2997 (LayoutTestController::setTestRepaintSweepHorizontally):
2998 (LayoutTestController::waitToDump):
2999 (LayoutTestController::windowIsKey):
3000 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
3001 * DumpRenderTree/NavigationController.h: Removed.
3002 * DumpRenderTree/NavigationController.m: Removed.
3003 * DumpRenderTree/ObjCController.h: Removed.
3004 * DumpRenderTree/ObjCController.m: Removed.
3005 * DumpRenderTree/ObjCPlugin.h: Removed.
3006 * DumpRenderTree/ObjCPlugin.m: Removed.
3007 * DumpRenderTree/ObjCPluginFunction.h: Removed.
3008 * DumpRenderTree/ObjCPluginFunction.m: Removed.
3009 * DumpRenderTree/PolicyDelegate.h: Removed.
3010 * DumpRenderTree/PolicyDelegate.m: Removed.
3011 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
3012 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
3013 * DumpRenderTree/TextInputController.h: Removed.
3014 * DumpRenderTree/TextInputController.m: Removed.
3015 * DumpRenderTree/UIDelegate.h: Removed.
3016 * DumpRenderTree/UIDelegate.mm: Removed.
3017 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
3018 * DumpRenderTree/mac: Added.
3019 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
3020 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
3021 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
3022 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
3023 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
3024 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
3025 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3026 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3027 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3028 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3029 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3030 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3031 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3032 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3033 (-[EditingDelegate webViewDidBeginEditing:]):
3034 (-[EditingDelegate webViewDidChange:]):
3035 (-[EditingDelegate webViewDidEndEditing:]):
3036 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3037 (-[EditingDelegate webViewDidChangeSelection:]):
3038 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
3039 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
3040 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
3041 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
3042 (-[FrameLoadDelegate init]):
3043 (-[FrameLoadDelegate dealloc]):
3044 (-[FrameLoadDelegate processWork:]):
3045 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3046 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
3047 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
3048 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3049 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3050 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
3051 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
3052 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3053 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
3054 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
3055 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
3056 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
3057 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
3058 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
3059 (-[FrameLoadDelegate webView:willCloseFrame:]):
3060 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3061 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
3062 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
3063 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
3064 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
3065 (LayoutTestController::notifyDone):
3066 (LayoutTestController::setWindowIsKey):
3067 (LayoutTestController::setWaitToDump):
3068 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
3069 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
3070 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
3071 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
3072 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
3073 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
3074 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
3075 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
3076 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
3077 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
3078 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
3079 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
3080 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3081 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3082 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
3083 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
3084 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
3085 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
3086 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
3087 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
3088 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
3089 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
3090 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3091 (-[UIDelegate webViewFocus:]):
3092 (-[UIDelegate webView:createWebViewWithRequest:]):
3093 (-[UIDelegate webViewClose:]):
3094 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
3096 2007-09-14 Kevin McCullough <kmccullough@apple.com>
3100 - Changing Win version of Drosera work with recent changes.
3102 * Drosera/DebuggerDocument.cpp:
3103 * Drosera/DebuggerDocument.h:
3104 * Drosera/mac/DebuggerDocumentPlatform.mm:
3105 (NSStringCreateWithJSStringRef):
3106 (JSValueRefCreateWithNSString):
3107 * Drosera/win/DebuggerClient.cpp:
3108 (DebuggerClient::stepInto):
3109 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3111 2007-09-13 Kevin McCullough <kmccullough@apple.com>
3115 - Moved isPaused into the JS for efficiency and simplicity.
3117 * Drosera/DebuggerDocument.cpp:
3118 (DebuggerDocument::DebuggerDocument):
3119 (DebuggerDocument::pauseCallback):
3120 (DebuggerDocument::resumeCallback):
3121 (DebuggerDocument::isPaused):
3122 (DebuggerDocument::staticFunctions):
3123 * Drosera/DebuggerDocument.h:
3124 * Drosera/console.js:
3125 * Drosera/debugger.js:
3126 * Drosera/mac/DebuggerClient.mm:
3127 (-[DebuggerClient validateUserInterfaceItem:]):
3129 2007-09-13 Sam Weinig <sam@webkit.org>
3131 Rubber stamped by Darin.
3133 Make DumpRenderTree more cross platform ready.
3134 - Convert GCController to use the JSCore API instead of the WebScriptObject.
3135 - Use CF types instead of NS objects.
3138 * DumpRenderTree/DumpRenderTree.h:
3139 * DumpRenderTree/DumpRenderTree.mm:
3143 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3144 * DumpRenderTree/EditingDelegate.m:
3145 * DumpRenderTree/FrameLoadDelegate.h:
3146 * DumpRenderTree/FrameLoadDelegate.mm:
3147 (-[FrameLoadDelegate init]):
3148 (-[FrameLoadDelegate dealloc]):
3149 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3150 * DumpRenderTree/GCController.cpp: Added.
3151 (GCController::GCController):
3152 (GCController::~GCController):
3154 (collectOnAlternateThreadCallback):
3155 (getJSObjectCountCallback):
3156 (GCController::makeWindowObject):
3157 (GCController::getJSClass):
3158 (GCController::staticFunctions):
3159 * DumpRenderTree/GCController.h:
3160 * DumpRenderTree/GCController.mm:
3161 (GCController::collect):
3162 (GCController::collectOnAlternateThread):
3163 (GCController::getJSObjectCount):
3164 * DumpRenderTree/LayoutTestController.cpp:
3165 (LayoutTestController::makeWindowObject):
3166 (LayoutTestController::getJSClass):
3167 * DumpRenderTree/LayoutTestController.h:
3168 * DumpRenderTree/LayoutTestControllerMac.mm:
3169 (LayoutTestController::addDisallowedURL):
3170 (waitUntilDoneWatchdogFired):
3171 (LayoutTestController::waitUntilDone):
3172 * DumpRenderTree/ResourceLoadDelegate.m:
3173 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3175 2007-09-12 Sam Weinig <sam@webkit.org>
3177 Reviewed by Stephanie.
3179 Fix leaks in mac DumpRenderTree.
3181 * DumpRenderTree/FrameLoadDelegate.mm:
3182 (-[FrameLoadDelegate init]): Initalize in the correct order.
3183 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
3184 * DumpRenderTree/LayoutTestController.cpp:
3185 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
3186 (encodeHostNameCallback): ditto.
3187 * DumpRenderTree/LayoutTestController.h:
3188 * DumpRenderTree/LayoutTestControllerMac.mm:
3189 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
3190 (LayoutTestController::copyEncodedHostName): ditto
3191 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
3193 2007-09-12 Kevin McCullough <kmccullough@apple.com>
3197 - Updated Leopard leak list to include a leak which appears to be fixed in 9A549 but not the version the bot is on. This will allow us to get the bot green, but later we should remove it.
3199 * Scripts/run-webkit-tests:
3201 2007-09-12 Kevin McCullough <kmccullough@apple.com>
3205 - Simplified code paths and extracted out functions to increase encapsulation.
3207 * Drosera/DebuggerDocument.cpp:
3208 (DebuggerDocument::breakpointEditorHTMLCallback):
3209 (DebuggerDocument::isPausedCallback):
3210 (DebuggerDocument::pauseCallback):
3211 (DebuggerDocument::resumeCallback):
3212 (DebuggerDocument::stepIntoCallback):
3213 (DebuggerDocument::evaluateScriptCallback):
3214 (DebuggerDocument::currentFunctionStackCallback):
3215 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3216 (DebuggerDocument::valueForScopeVariableNamedCallback):
3217 (DebuggerDocument::logCallback):
3218 * Drosera/DebuggerDocument.h:
3219 (DebuggerDocument::getPaused):
3220 * Drosera/mac/DebuggerClient.mm:
3221 (-[DebuggerClient pause:]):
3222 (-[DebuggerClient resume:]):
3223 (-[DebuggerClient stepInto:]):
3224 (-[DebuggerClient stepOver:]):
3225 (-[DebuggerClient stepOut:]):
3226 (-[DebuggerClient showConsole:]):
3227 (-[DebuggerClient closeCurrentFile:]):
3228 (-[DebuggerClient validateUserInterfaceItem:]):
3229 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
3230 (+[NSString stringOrNilFromWebScriptResult:]):
3231 (DebuggerDocument::platformPause):
3232 (DebuggerDocument::platformResume):
3233 (DebuggerDocument::platformStepInto):
3234 (DebuggerDocument::platformEvaluateScript):
3235 (DebuggerDocument::getPlatformCurrentFunctionStack):
3236 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3237 (DebuggerDocument::platformValueForScopeVariableNamed):
3238 (DebuggerDocument::platformLog):
3239 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3241 2007-09-12 Sam Weinig <sam@webkit.org>
3243 Build fix for Buildbot.
3245 * DumpRenderTree/DumpRenderTree.mm:
3248 2007-09-12 Kevin McCullough <kmccullough@apple.com>
3252 - Updated the leaks list for leopard to help identify regressions.
3254 * Scripts/run-webkit-tests:
3256 2007-09-12 Sam Weinig <sam@webkit.org>
3258 Rubber stamped by Darin.
3260 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
3262 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
3263 * DumpRenderTree/DumpRenderTree.m: Removed.
3264 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
3265 (stopJavaScriptThreads): Fix initialization.
3266 (setDefaultColorProfileToRGB): Add explicit cast from void*.
3267 (dumpRenderTree): Ditto.
3269 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
3271 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3272 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
3273 * DumpRenderTree/FrameLoadDelegate.m: Removed.
3274 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
3275 (-[FrameLoadDelegate init]):
3276 (-[FrameLoadDelegate dealloc]):
3277 (-[FrameLoadDelegate processWork:]):
3278 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3279 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3280 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
3282 * DumpRenderTree/LayoutTestController.cpp: Added.
3283 (LayoutTestController::LayoutTestController):
3284 (LayoutTestController::~LayoutTestController):
3285 (dumpAsTextCallback):
3286 (dumpBackForwardListCallback):
3287 (dumpChildFramesAsTextCallback):
3288 (dumpChildFrameScrollPositionsCallback):
3289 (dumpDOMAsWebArchiveCallback):
3290 (dumpEditingCallbacksCallback):
3291 (dumpFrameLoadCallbacksCallback):
3292 (dumpResourceLoadCallbacksCallback):
3293 (dumpSelectionRectCallback):
3294 (dumpSourceAsWebArchiveCallback):
3295 (dumpTitleChangesCallback):
3296 (repaintSweepHorizontallyCallback):
3297 (setCallCloseOnWebViewsCallback):
3298 (setCanOpenWindowsCallback):
3299 (setCloseRemainingWindowsWhenCompleteCallback):
3300 (testRepaintCallback):
3301 (addFileToPasteboardOnDragCallback):
3302 (addDisallowedURLCallback):
3303 (clearBackForwardListCallback):
3304 (decodeHostNameCallback):
3306 (encodeHostNameCallback):
3307 (keepWebHistoryCallback):
3308 (notifyDoneCallback):
3309 (queueBackNavigationCallback):
3310 (queueForwardNavigationCallback):
3311 (queueLoadCallback):
3312 (queueReloadCallback):
3313 (queueScriptCallback):
3314 (setAcceptsEditingCallback):
3315 (setCustomPolicyDelegateCallback):
3316 (setMainFrameIsFirstResponderCallback):
3317 (setTabKeyCyclesThroughElementsCallback):
3318 (setUseDashboardCompatibilityModeCallback):
3319 (setUserStyleSheetEnabledCallback):
3320 (setUserStyleSheetLocationCallback):
3321 (setWindowIsKeyCallback):
3322 (waitUntilDoneCallback):
3323 (windowCountCallback):
3324 (LayoutTestController::makeWindowObject):
3325 (LayoutTestController::getLayoutTestControllerJSClass):
3326 (LayoutTestController::staticFunctions):
3327 * DumpRenderTree/LayoutTestController.h: Replaced.
3328 * DumpRenderTree/LayoutTestController.m: Removed.
3329 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
3330 (LayoutTestController::dumpAsText):
3331 (LayoutTestController::dumpBackForwardList):
3332 (LayoutTestController::dumpChildFramesAsText):
3333 (LayoutTestController::dumpChildFrameScrollPositions):
3334 (LayoutTestController::dumpDOMAsWebArchive):
3335 (LayoutTestController::dumpEditingCallbacks):
3336 (LayoutTestController::dumpFrameLoadCallbacks):
3337 (LayoutTestController::dumpResourceLoadCallbacks):
3338 (LayoutTestController::dumpSelectionRect):
3339 (LayoutTestController::dumpSourceAsWebArchive):
3340 (LayoutTestController::dumpTitleChanges):
3341 (LayoutTestController::repaintSweepHorizontally):
3342 (LayoutTestController::setCallCloseOnWebViews):
3343 (LayoutTestController::setCanOpenWindows):
3344 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3345 (LayoutTestController::testRepaint):
3346 (LayoutTestController::addFileToPasteboardOnDrag):
3347 (LayoutTestController::addDisallowedURL):
3348 (LayoutTestController::clearBackForwardList):
3349 (LayoutTestController::decodeHostName):
3350 (LayoutTestController::encodeHostName):
3351 (LayoutTestController::display):
3352 (LayoutTestController::keepWebHistory):
3353 (LayoutTestController::notifyDone):
3354 (LayoutTestController::queueBackNavigation):
3355 (LayoutTestController::queueForwardNavigation):
3356 (LayoutTestController::queueLoad):
3357 (LayoutTestController::queueReload):
3358 (LayoutTestController::queueScript):
3359 (LayoutTestController::setAcceptsEditing):
3360 (LayoutTestController::setCustomPolicyDelegate):
3361 (LayoutTestController::setMainFrameIsFirstResponder):
3362 (LayoutTestController::setTabKeyCyclesThroughElements):
3363 (LayoutTestController::setUseDashboardCompatibilityMode):
3364 (LayoutTestController::setUserStyleSheetEnabled):
3365 (LayoutTestController::setUserStyleSheetLocation):
3366 (LayoutTestController::setWindowIsKey):
3367 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
3368 (LayoutTestController::waitUntilDone):
3369 (LayoutTestController::windowCount):
3370 Use the JSCore API to implement the LayoutTestController.
3372 * DumpRenderTree/ObjCController.h:
3373 * DumpRenderTree/ObjCController.m:
3374 (+[ObjCController isSelectorExcludedFromWebScript:]):
3375 (+[ObjCController webScriptNameForSelector:]):
3376 (-[ObjCController accessStoredWebScriptObject]):
3377 (-[ObjCController storeWebScriptObject:]):
3378 (-[ObjCController dealloc]):
3379 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
3380 Move WebScriptObject tests to ObjCController.
3382 * DumpRenderTree/UIDelegate.m: Removed.
3383 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
3385 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
3386 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
3387 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
3388 (WorkQueueItem::~WorkQueueItem):
3389 (LoadItem::LoadItem):
3392 (ScriptItem::ScriptItem):
3393 (ScriptItem::script):
3394 * DumpRenderTree/WorkQueueItemMac.mm: Added.
3396 (ReloadItem::invoke):
3397 (ScriptItem::invoke):
3398 (BackForwardItem::invoke):
3399 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
3400 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
3403 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3407 - Updated Win side to take advantage of the platform separating changes.
3409 * Drosera/DebuggerDocument.cpp:
3410 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3411 * Drosera/DebuggerDocument.h:
3412 * Drosera/win/DebuggerClient.cpp:
3413 (DebuggerClient::pause):
3414 (DebuggerClient::resume):
3415 (DebuggerClient::stepInto):
3416 (DebuggerDocument::platformPause):
3417 (DebuggerDocument::platformResume):
3418 (DebuggerDocument::platformStepInto):
3419 (DebuggerDocument::platformEvaluateScript):
3420 (DebuggerDocument::getPlatformCurrentFunctionStack):
3421 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3422 (DebuggerDocument::platformValueForScopeVariableNamed):
3423 (DebuggerDocument::platformLog):
3424 * Drosera/win/DebuggerClient.h:
3425 * Drosera/win/Drosera.cpp:
3427 (Drosera::windowScriptObjectAvailable):
3428 (Drosera::initWithServerName):
3429 (Drosera::switchToServerNamed):
3430 * Drosera/win/Drosera.h:
3431 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3433 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3437 - Just doing the moves in a separate patch so the changes are easier to see.
3439 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
3440 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
3441 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
3442 * Drosera/win/DebuggerDocumentWin.h: Removed.
3443 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3445 2007-09-11 Sven Herzberg <sven@imendio.com>
3447 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
3448 http://bugs.webkit.org/show_bug.cgi?id=15176
3450 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
3451 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
3452 other paths eg. from jhbuild)
3454 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3458 - Made an order-of-deletion mistake.
3460 * Drosera/DebuggerDocument.h:
3461 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3462 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3463 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3464 * Drosera/mac/DebuggerClient.mm:
3465 (DebuggerDocument::platformPause):
3466 (DebuggerDocument::platformResume):
3467 (DebuggerDocument::platformStepInto):
3468 (DebuggerDocument::platformEvaluateScript):
3469 (DebuggerDocument::getPlatformCurrentFunctionStack):
3470 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3471 (DebuggerDocument::platformValueForScopeVariableNamed):
3472 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3474 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3478 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
3480 * Drosera/DebuggerDocument.cpp:
3481 (DebuggerDocument::DebuggerDocument):
3482 * Drosera/DebuggerDocument.h:
3483 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3484 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3485 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3486 * Drosera/mac/DebuggerApplication.mm:
3487 (-[DebuggerApplication attach:]):
3488 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
3489 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
3490 (DebuggerDocument::platformPause):
3491 (DebuggerDocument::platformResume):
3492 (DebuggerDocument::platformStepInto):
3493 (DebuggerDocument::platformEvaluateScript):
3494 (DebuggerDocument::getPlatformCurrentFunctionStack):
3495 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3496 (DebuggerDocument::platformValueForScopeVariableNamed):
3497 (DebuggerDocument::platformLog):
3498 * Drosera/mac/DebuggerDocumentMac.h: Removed.
3499 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3500 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3502 2007-09-09 Sam Weinig <sam@webkit.org>
3504 Reviewed by Mark Rowe.
3506 Remove 'objC' prefix from methods now in the ObjCController.
3508 * DumpRenderTree/ObjCController.m:
3509 (+[ObjCController isSelectorExcludedFromWebScript:]):
3510 (+[ObjCController webScriptNameForSelector:]):
3511 (-[ObjCController classNameOf:]):
3512 (-[ObjCController objectOfClass:]):
3513 (-[ObjCController identityIsEqual::]):
3514 (-[ObjCController longLongRoundTrip:]):
3515 (-[ObjCController unsignedLongLongRoundTrip:]):
3517 2007-09-09 Sam Weinig <sam@webkit.org>
3521 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
3522 - Move LayoutTestController into its own file.
3523 - Move Objective-C only functions on LayoutTestController into a new controller called the
3526 * DumpRenderTree/DumpRenderTree.h:
3527 * DumpRenderTree/DumpRenderTree.m:
3529 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3530 * DumpRenderTree/FrameLoadDelegate.m:
3531 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3532 * DumpRenderTree/LayoutTestController.h: Added.
3533 * DumpRenderTree/LayoutTestController.m: Added.
3534 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3535 (+[LayoutTestController webScriptNameForSelector:]):
3536 (-[LayoutTestController clearBackForwardList]):
3537 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3538 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3539 (-[LayoutTestController setCustomPolicyDelegate:]):
3540 (-[LayoutTestController keepWebHistory]):
3541 (-[LayoutTestController setCallCloseOnWebViews:]):
3542 (-[LayoutTestController setCanOpenWindows]):
3543 (-[LayoutTestController waitUntilDone]):
3544 (-[LayoutTestController waitUntilDoneWatchdogFired]):