1 2007-11-12 Adam Roben <aroben@apple.com>
3 * Scripts/update-webkit-localizable-strings: Changed to only scan the
4 mac and win subdirectories.
6 2007-11-11 Adam Roben <aroben@apple.com>
8 Fix <rdar://5133816> keepWebHistory is not implemented
10 Fixes fast/history/clicked-link-is-visited.html.
14 * DumpRenderTree/win/DumpRenderTree.cpp:
15 (runTest): Clear the optionalSharedHistory.
16 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
17 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
19 2007-11-10 Sam Weinig <sam@webkit.org>
21 Reviewed by Tim Hatcher.
23 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
24 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
27 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
29 Added test: http/tests/security/cross-frame-access-private-browsing.html
31 * DumpRenderTree/LayoutTestController.cpp:
32 (setPrivateBrowsingEnabledCallback):
33 (LayoutTestController::staticFunctions):
34 * DumpRenderTree/LayoutTestController.h:
35 * DumpRenderTree/mac/DumpRenderTree.mm:
36 (runTest): Default to private browsing disabled.
37 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
38 (LayoutTestController::setPrivateBrowsingEnabled):
39 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
40 (LayoutTestController::setPrivateBrowsingEnabled):
42 2007-11-08 Kevin McCullough <kmccullough@apple.com>
46 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
49 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
50 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
51 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
52 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
53 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
54 * Drosera/win/Drosera.cpp:
55 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
57 2007-11-08 Kevin McCullough <kmccullough@apple.com>
61 - Use the new IWebFrame [local] function signature and get the shared
64 * Drosera/win/DebuggerClient.cpp:
65 (DebuggerClient::didFinishLoadForFrame):
66 * Drosera/win/ServerConnection.cpp:
67 (ServerConnection::attemptToCreateServerConnection):
69 2007-11-07 Dan Bernstein <mitz@apple.com>
71 Reviewed by Darin Adler.
73 - add an option to run-webkit-tests to ignore pixel test failures where
74 all pixels differ by no more than a specified threshold
76 * DumpRenderTree/mac/ImageDiff.m:
79 (computePercentageDifferent):
80 * Scripts/run-webkit-tests:
82 2007-11-07 Simon Hausmann <hausmann@kde.org>
86 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
88 * DumpRenderTree/qt/DumpRenderTree.cpp:
90 2007-11-07 Simon Hausmann <hausmann@kde.org>
94 Reworked the QWebSettings API.
95 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
97 * DumpRenderTree/qt/DumpRenderTree.cpp:
99 2007-11-07 Simon Hausmann <hausmann@kde.org>
103 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
105 * DumpRenderTree/qt/jsobjects.cpp:
107 2007-11-07 Simon Hausmann <hausmann@kde.org>
109 Reviewed by Lars Knoll <lars@trolltech.com>.
111 Add a QWebPage::frameCreated() signal and fix DRT
113 The removal of createFrame in QWebPage broke the re-implementation
114 in DumpRenderTree. Instead emit a frameCreated() signal and
115 connect to it in DumpRenderTree.
118 * DumpRenderTree/qt/DumpRenderTree.cpp:
119 (WebCore::WebPage::WebPage):
120 (WebCore::DumpRenderTree::dump):
121 (WebCore::DumpRenderTree::connectFrame):
122 * DumpRenderTree/qt/DumpRenderTree.h:
124 2007-11-07 Simon Hausmann <hausmann@kde.org>
126 Reviewed by Lars Knoll <lars@trolltech.com>.
128 Moved all the event handlers from QWebFrame into QWebPage.
130 This cleans up the public API and allows us to remove the
131 HackWebFrame hack in DumpRenderTree.
134 * DumpRenderTree/qt/jsobjects.cpp:
135 (EventSender::mouseDown):
136 (EventSender::mouseUp):
137 (EventSender::mouseMoveTo):
139 2007-11-07 Simon Hausmann <hausmann@kde.org>
143 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
144 to prevent the default implementation from popping up messageboxes.
146 * DumpRenderTree/qt/DumpRenderTree.cpp:
147 (WebCore::WebPage::javaScriptConfirm):
148 (WebCore::WebPage::javaScriptPrompt):
150 2007-11-06 Eric Seidel <eric@webkit.org>
152 * Scripts/build-testkjs: build fix... too many $$
154 2007-11-06 Eric Seidel <eric@webkit.org>
156 Reviewed by Mark Rowe.
158 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
160 2007-11-05 Adam Roben <aroben@apple.com>
162 Add support on Windows for WEBKIT_TESTFONTS
164 This environment variable lets you specify where the fonts to be used
165 by DumpRenderTree reside. The Qt port is already using this, so I'm
166 just following their lead.
170 * DumpRenderTree/win/DumpRenderTree.cpp:
171 (exePath): Refactored code out of initialize().
172 (fontsPath): Returns either $WEBKIT_TESTFONTS or
173 DumpRenderTree.resources.
174 (initialize): Use the new fontsPath function.
175 (main): Use the new exePath function.
176 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
177 variable to DRT, like Qt does.
179 2007-11-05 Mark Rowe <mrowe@apple.com>
181 Rubber-stamped by Alp Toker.
183 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
185 * GtkLauncher/main.cpp:
189 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
191 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
192 <http://bugs.webkit.org/show_bug.cgi?id=15830>
196 Restrict the range of nightly builds used by the bisect-builds script
197 based on the version of Safari and the version of Mac OS X being used.
199 Mac OS X 10.4: Safari 2.0: r11976 or newer
200 Mac OS X 10.4: Safari 3.0: r19992 or newer
202 Mac OS X 10.5: Safari 2.0: r19594 or newer
203 Mac OS X 10.5: Safari 3.0: r25124 or newer
205 * Scripts/bisect-builds:
206 (findMacOSXVersion): Added.
207 (makeNightlyList): Added argument to provide version of Mac OS X.
208 Restrict range of nightly builds based on Safari and Mac OS X versions.
210 2007-11-04 Kevin McCullough <kmccullough@apple.com>
214 - This patch involves several changes, all of them were noticed that
215 they were needed by the work being done in WebKit to get Drosera and
216 WebKit working together on Windows.
218 1) Added a debugger console for output messages.
219 2) Drosera now listens for the WebKit server (before, the server would
220 have to be running before Drosera was started.)
221 3) Fixed a bug where the WebView started out as 0x0 pixels.
222 4) Fixed a bug when there is no scope.
223 5) Added the HTML, JS, and CSS to the project file to make them easy to
225 6) Made the ServerConnection functions virtual.
227 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
228 for the WebKit server.
229 (DebuggerClient::DebuggerClient):
230 (DebuggerClient::~DebuggerClient):
231 (DebuggerClient::didFinishLoadForFrame):
232 (DebuggerClient::serverConnected):
233 (DebuggerClient::attemptToCreateServerConnection):
234 * Drosera/win/DebuggerClient.h: Ditto.
235 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
237 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
238 (DebuggerDocument::platformValueForScopeVariableNamed):
239 * Drosera/win/Drosera.cpp:
240 (_tWinMain): Added a console in debug for output messages.
241 (Drosera::Drosera): Listen for server.
242 (Drosera::initUI): The server now Initializes COM.
243 (Drosera::serverConnected): Part of the listening for the server.
244 (Drosera::attemptToCreateServerConnection): Ditto.
245 * Drosera/win/Drosera.h: New interface for listening for the server.
246 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
247 files to the VS project.
248 * Drosera/win/ServerConnection.cpp: Part of listening for the server
250 (ServerConnection::ServerConnection):
251 (ServerConnection::attemptToCreateServerConnection):
252 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
254 (ServerConnection::serverConnected):
256 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
260 http://bugs.webkit.org/show_bug.cgi?id=15832
261 fast/dom/gc-10.html crashes when run alone
263 Check for !done before using objects that can be already deallocated.
265 * DumpRenderTree/mac/EditingDelegate.mm:
266 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
267 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
268 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
269 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
270 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
271 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
272 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
273 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
274 (-[EditingDelegate webViewDidBeginEditing:]):
275 (-[EditingDelegate webViewDidChange:]):
276 (-[EditingDelegate webViewDidEndEditing:]):
277 (-[EditingDelegate webViewDidChangeTypingStyle:]):
278 (-[EditingDelegate webViewDidChangeSelection:]):
279 * DumpRenderTree/mac/FrameLoadDelegate.mm:
280 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
281 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
282 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
283 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
284 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
285 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
286 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
287 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
288 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
289 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
290 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
291 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
292 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
293 (-[FrameLoadDelegate webView:willCloseFrame:]):
294 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
295 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
296 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
297 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
298 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
299 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
300 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
301 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
302 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
304 2007-11-04 Mark Rowe <mrowe@apple.com>
306 Build fix. Don't use Carbon.h as the prefix header as it triggers
307 warnings that would otherwise be suppressed due to it being a system header.
309 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
311 2007-11-03 Maciej Stachowiak <mjs@apple.com>
313 Rubber stamped by Adam.
315 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
317 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
319 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
321 Sort files(...); sections of Xcode project files.
323 Rubber-stamped by Darin.
325 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
326 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
327 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
328 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
330 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
332 Script to sort "files(...);" sections in Xcode project.pbxproj files.
336 * Scripts/sort-Xcode-project-file: Added.
338 2007-11-02 Darin Adler <darin@apple.com>
340 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
342 2007-11-02 Darin Adler <darin@apple.com>
346 * Scripts/run-sunspider: Pass the "--base" option through.
348 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
349 the real script do that. Default configuration to Release to match run-sunspider
350 so we don't end up building Debug just to compare results.
352 2007-11-01 Adam Roben <aroben@apple.com>
354 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
358 * Scripts/commit-log-editor: Show all the directories beneath the
359 source root, instead of just the last one.
361 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
363 Reviewed by Adam Roben.
365 Print out an error message when the Windows build fails
366 and provide guidance on how to find out what went wrong.
368 * Scripts/build-webkit:
369 * Scripts/webkitdirs.pm:
371 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
373 Rubber-stamped by Adam Roben.
375 Rolled out r27326 - debug CRT seems to cause no problems after all.
377 * DumpRenderTree/win/DumpRenderTree.vcproj:
379 2007-10-31 Adam Roben <aroben@apple.com>
381 Switch the Debug configuration to using the non-debug CRT
387 * DumpRenderTree/win/DumpRenderTree.vcproj:
389 2007-10-31 Antti Koivisto <antti@apple.com>
393 Disable media tests when doing leak checking on Tiger.
394 They crash in QuickTime (rdar://problem/5537157).
396 * Scripts/run-webkit-tests:
398 2007-10-29 Antti Koivisto <antti@apple.com>
402 Build media support by default on OSX only.
404 * Scripts/build-webkit:
406 2007-10-30 Kevin McCullough <kmccullough@apple.com>
408 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
409 get caught by the pre-commit hooks.
411 2007-10-30 Kevin McCullough <kmccullough@apple.com>
415 - This is a collection of relatively unrelated changes and cleanups
416 to Drosera to prepare it for interacting with WebKit. A lot of these
417 changes are just correcting mistakes, for example removing included
418 headers that are no longer needed.
420 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
421 this will be needed by the DebuggerClient.
422 (DebuggerDocument::server):
423 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
424 * Drosera/win/DebuggerClient.cpp:
425 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
426 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
427 (DebuggerClient::createWebViewWithRequest): Added comment about its
429 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
431 (DebuggerClient::webViewLoaded): Moved.
432 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
433 file, since this was the only place it was used.
435 * Drosera/win/Drosera.h: Cleaned up the includes.
436 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
437 * Drosera/win/HelperFunctions.h: Removed.
439 2007-10-30 Kevin McCullough <kmccullough@apple.com>
443 - Small cleanup in the ServerConnection class.
445 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
446 and added an include.
447 (ServerConnection::currentFrame):
448 (ServerConnection::getCallerFrame):
449 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
450 made a pointer into a COMPtr, and cleaned up the includes.
452 2007-10-29 Timothy Hatcher <timothy@apple.com>
454 Reviewed by John Sullivan.
456 - Place the Localizable.strings file in mac or win directories
457 if that location exists.
458 - Also look for UI_STRING in .c files.
460 * Scripts/extract-localizable-strings:
462 2007-10-30 Kevin McCullough <kmccullough@apple.com>
466 - Set the eol-style to native and made all the line endings the same
467 so that I avoid messy diffs that show eol changes.
469 * Drosera/win/ServerConnection.cpp:
470 (ServerConnection::didParseSource):
471 (ServerConnection::didEnterCallFrame):
472 (ServerConnection::willExecuteStatement):
473 (ServerConnection::willLeaveCallFrame):
474 (ServerConnection::exceptionWasRaised):
476 2007-10-30 Kevin McCullough <kmccullough@apple.com>
480 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
481 functionality that could not have existed previously without the new
483 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
484 from a BSTR to a JSValueRef.
485 (DebuggerDocument::platformEvaluateScript): Implemented.
486 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
487 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
489 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
490 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
491 * Drosera/win/ServerConnection.cpp: Added a helper function.
492 (ServerConnection::getCallerFrame):
493 * Drosera/win/ServerConnection.h: Added a helper function.
495 2007-10-29 Kevin McCullough <kmccullough@apple.com>
497 updated reviewers for my previous changelog.
499 2007-10-29 Kevin McCullough <kmccullough@apple.com>
500 Reviewed by Maciej and Adam and Geoff.
502 - Minor mac-side improvements including moving a function to a more
503 appropriate location, fixing a warning, and correctly checking
506 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
507 (DebuggerDocument::willExecuteStatement):
508 (DebuggerDocument::didEnterCallFrame):
509 (DebuggerDocument::willLeaveCallFrame):
510 (DebuggerDocument::windowScriptObjectAvailable):
511 (DebuggerDocument::callFunctionOnObject):
512 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
513 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
514 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
515 because it doesn't require the ServerConnection at all.
516 (NSStringCreateWithJSStringRef): Made an argument const.
517 (JSValueRefCreateWithNSString): Made an argument const.
518 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
519 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
520 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
521 * Drosera/mac/ServerConnection.mm: Ditto.
522 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
524 2007-10-29 Sam Weinig <sam@webkit.org>
526 Reviewed by Adam Roben.
528 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
530 * DumpRenderTree/LayoutTestController.cpp:
531 (LayoutTestController::LayoutTestController):
532 (getGlobalFlagCallback):
533 (setGlobalFlagCallback):
534 (LayoutTestController::getJSClass):
535 (LayoutTestController::staticValues):
536 * DumpRenderTree/LayoutTestController.h:
537 (LayoutTestController::globalFlag):
538 (LayoutTestController::setGlobalFlag):
540 2007-10-29 Darin Adler <darin@apple.com>
544 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
545 resolution instead of its default.
547 2007-10-29 David Kilzer <ddkilzer@webkit.org>
549 Fixed showStatus() to print status for successfully resolved conflicts when using git.
551 Reviewed by Mark Rowe.
553 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
554 was successfully resolved, but this would not show any status because the change had
555 already been cached in the index using "git add". The solution is to add an optional
556 second argument to showStatus() which adds the "--cached" switch to the command.
558 * Scripts/resolve-ChangeLogs:
561 2007-10-28 Eric Seidel <eric@webkit.org>
563 Reviewed by Maciej and Geoff, in unison.
565 * Scripts/run-webkit-tests: remove broken --svg option
567 2007-10-28 Darin Adler <darin@apple.com>
571 * Scripts/run-sunspider: Default to "Release" configuration rather than
572 defaulting to the last configuration used as other scripts do. This can
573 still be overriden on the command line with "--debug" if there's some
574 reason to do so. Also fix a typo.
576 * Scripts/sunspider-compare-results: Fix a typo.
578 2007-10-26 Kevin McCullough <kmccullough@apple.com>
582 - Implemented the WebScriptDebugListener functions now that the
583 WebScriptDebugServer exists
585 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
587 (ServerConnection::currentFrame):
588 (ServerConnection::didLoadMainResourceForDataSource):
589 (ServerConnection::didParseSource):
590 (ServerConnection::failedToParseSource):
591 (ServerConnection::didEnterCallFrame):
592 (ServerConnection::willExecuteStatement):
593 (ServerConnection::willLeaveCallFrame):
594 (ServerConnection::exceptionWasRaised):
595 * Drosera/win/ServerConnection.h: Removed unused arguments from the
596 members arguments list.
598 2007-10-26 David Kilzer <ddkilzer@webkit.org>
600 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
601 <http://bugs.webkit.org/show_bug.cgi?id=15600>
605 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
606 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
607 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
608 file. Note that it may also be used as a stand-alone script.
610 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
611 * Scripts/resolve-ChangeLogs: Added.
612 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
614 2007-10-26 Mark Rowe <mrowe@apple.com>
616 Qt build fix. r27084 added a destructor implementation for LayoutTestController
617 to the Qt port on the assumption that it was an implementation of the cross-platform
618 LayoutTestController class. It is not, so it did not need to be changed.
620 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
622 2007-10-25 Mark Rowe <mrowe@apple.com>
626 Fix builds with code coverage enabled.
628 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
630 2007-10-25 Darin Adler <darin@apple.com>
632 Reviewed by Mark Rowe.
634 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
635 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
637 2007-10-25 Stephanie <slewis@apple.com>
641 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
643 2007-10-25 Stephanie <slewis@apple.com>
645 Reviewed by Mark Rowe, Adam Roben.
647 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
649 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
651 2007-10-25 Alice Liu <alice.liu@apple.com>
655 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
657 Moving destructor into platform-specific files
658 * DumpRenderTree/LayoutTestController.cpp:
659 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
660 (LayoutTestController::~LayoutTestController):
661 * DumpRenderTree/qt/jsobjects.cpp:
662 (LayoutTestController::~LayoutTestController):
664 LayoutTestController wasn't being destroyed
665 * DumpRenderTree/win/DumpRenderTree.cpp:
669 * DumpRenderTree/win/EditingDelegate.h:
671 Reset certain values on the webview (or related delegate) that might
672 have changed while running a test
673 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
674 (LayoutTestController::~LayoutTestController):
676 2007-10-25 Adam Roben <aroben@apple.com>
678 Make sunspider-compare-results work with relative paths
682 * Scripts/sunspider-compare-results: Convert arguments to absolute
683 paths before we chdir.
685 2007-10-25 Kevin McCullough <kmccullough@apple.com>
689 - Implemented server calls now the WebScriptDebugServer exists.
690 - Also removed no longer needed call to initialize CG.
692 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
695 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
696 (ServerConnection::ServerConnection):
697 (ServerConnection::~ServerConnection):
698 (ServerConnection::pause):
699 (ServerConnection::resume):
700 (ServerConnection::stepInto):
701 (ServerConnection::applicationTerminating):
702 (ServerConnection::serverConnectionDidDie):
703 * Drosera/win/ServerConnection.h: Now uses the COM class.
705 2007-10-24 George Staikos <staikos@kde.org>
709 * Scripts/build-webkit:
711 2007-10-24 Adam Roben <aroben@apple.com>
713 Remove now-unnecessary call to InitializeCoreGraphics
715 WebKit takes care of this now.
719 * DumpRenderTree/win/DumpRenderTree.cpp:
722 2007-10-24 Adam Roben <aroben@apple.com>
724 Use WebTextRenderer in DRT
728 * DumpRenderTree/win/DumpRenderTree.cpp:
729 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
731 2007-10-24 Sven Herzberg <sven@imendio.com>
733 Reviewed by Mark Rowe.
735 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
736 Bug 15614: [GTK] qmake based backends don't build on OS X
738 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
740 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
741 isDarwin() to make it reusable in other places (like the workaround-
742 for-prebuilt-qmake in build-webkit)
744 2007-10-24 David Kilzer <ddkilzer@webkit.org>
746 Refurbish update-webkit script.
750 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
751 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
752 multi-argument version of system() for flexibility and security. Check for existence
753 of Internal directory using -d test instead of -x.
755 2007-10-24 David Kilzer <ddkilzer@webkit.org>
757 Minor clean-up of prepare-ChangeLog script.
761 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
762 of a string. Use multi-argument versions of open() and system() for flexibility and
765 2007-10-24 Alice Liu <alice.liu@apple.com>
769 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
771 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
772 replay the saved events when we're still processing the mousedown that starts the drag
773 * DumpRenderTree/win/EventSender.cpp:
775 * DumpRenderTree/win/UIDelegate.cpp:
776 (UIDelegate::doDragDrop):
778 2007-10-24 Kevin McCullough <kmccullough@apple.com>
780 Reviewed by Sam, Steve and Darin.
782 - Stubbed out the WebScriptDebugListener functionality in the Server
783 Connection class to prepare it for receiving those callbacks.
784 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
785 and the ServerConnection to not need to be initialized with a server
786 name, since that is not the way we connect to the WebKit server.
788 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
789 no exception. Now it only loggs when there is an exception
790 (DebuggerDocument::willExecuteStatement):
791 (DebuggerDocument::didEnterCallFrame):
792 (DebuggerDocument::willLeaveCallFrame):
793 (DebuggerDocument::windowScriptObjectAvailable):
794 (DebuggerDocument::callFunctionOnObject):
795 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
796 to be instantiated with a server's name.
797 (DebuggerClient::DebuggerClient):
798 (DebuggerClient::didFinishLoadForFrame):
799 * Drosera/win/DebuggerClient.h: Removed unsued variable.
800 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
803 (Drosera::initServer):
804 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
805 instantiated with a server's name.
806 * Drosera/win/ServerConnection.cpp:
807 (ServerConnection::ServerConnection): No longer needs a server name
808 (ServerConnection::~ServerConnection): Only release the global context
810 (ServerConnection::serverConnectionDidDie): Stub for
811 IWebScriptDebugListener
812 (ServerConnection::QueryInterface): ditto
813 (ServerConnection::AddRef): ditto
814 (ServerConnection::Release): ditto
815 (ServerConnection::didLoadMainResourceForDataSource): ditto
816 (ServerConnection::didParseSource): ditto
817 (ServerConnection::failedToParseSource): ditto
818 (ServerConnection::didEnterCallFrame): ditto
819 (ServerConnection::willExecuteStatement): ditto
820 (ServerConnection::willLeaveCallFrame): ditto
821 (ServerConnection::exceptionWasRaised): ditto
822 * Drosera/win/ServerConnection.h: Stubbed out the
823 IWebScriptDebugListener functions, and this class no longer needs to be
824 instantiated with a server name.
826 2007-10-24 Lars Knoll <lars@trolltech.com>
830 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
832 * DumpRenderTree/qt/jsobjects.h:
834 2007-10-24 Lars Knoll <lars@trolltech.com>
840 * DumpRenderTree/qt/jsobjects.cpp:
841 (TextInputController::doCommand):
843 2007-10-24 Lars Knoll <lars@trolltech.com>
847 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
849 * DumpRenderTree/qt/jsobjects.cpp:
850 (EventSender::keyDown):
851 * DumpRenderTree/qt/jsobjects.h:
853 2007-10-24 Lars Knoll <lars@trolltech.com>
857 implement eventSender.keyDown().
859 * DumpRenderTree/qt/jsobjects.cpp:
860 (EventSender::keyDown):
862 2007-10-24 Lars Knoll <lars@trolltech.com>
866 some smaller fixes to the editing support in DRT. Makes another few tests pass.
868 * DumpRenderTree/qt/DumpRenderTree.cpp:
869 (WebCore::DumpRenderTree::DumpRenderTree):
870 (WebCore::DumpRenderTree::initJSObjects):
871 * DumpRenderTree/qt/jsobjects.cpp:
872 (TextInputController::doCommand):
874 2007-10-24 Lars Knoll <lars@trolltech.com>
878 first bit of implementation for the textinputcontroller.
880 * DumpRenderTree/qt/DumpRenderTree.cpp:
881 (WebCore::DumpRenderTree::DumpRenderTree):
882 * DumpRenderTree/qt/DumpRenderTree.h:
883 * DumpRenderTree/qt/jsobjects.cpp:
884 (TextInputController::TextInputController):
885 (TextInputController::doCommand):
886 * DumpRenderTree/qt/jsobjects.h:
888 2007-10-24 Lars Knoll <lars@trolltech.com>
892 make the man webpage believe it has focus, so the editing tests work correctly.
894 * DumpRenderTree/qt/DumpRenderTree.cpp:
895 (WebCore::DumpRenderTree::DumpRenderTree):
897 2007-10-24 Lars Knoll <lars@trolltech.com>
901 implement layoutTestController.dumpEditingCallbacks() correctly.
903 * DumpRenderTree/qt/DumpRenderTree.cpp:
904 (WebCore::DumpRenderTree::DumpRenderTree):
905 * DumpRenderTree/qt/jsobjects.cpp:
906 (LayoutTestController::reset):
907 (LayoutTestController::dumpEditingCallbacks):
909 2007-10-24 Lars Knoll <lars@trolltech.com>
913 Implement support for testing editing.
915 * DumpRenderTree/qt/DumpRenderTree.cpp:
916 (WebCore::DumpRenderTree::DumpRenderTree):
918 2007-10-23 Sam Weinig <sam@webkit.org>
920 Check for null BSTR that can be passed to the UIDelegate methods
921 from javascript null and undefined. Fixes a failing test case on
922 Windows (fast/dom/Window/alert-undefined.html)
924 Reviewed by Eric Seidel.
926 * DumpRenderTree/win/UIDelegate.cpp:
927 (UIDelegate::runJavaScriptAlertPanelWithMessage):
928 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
929 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
930 (UIDelegate::webViewAddMessageToConsole):
932 2007-10-23 Maciej Stachowiak <mjs@apple.com>
936 Don't print a massive pile of setenvs from tools that automatically build testkjs.
938 * Scripts/build-testkjs:
940 2007-10-23 Maciej Stachowiak <mjs@apple.com>
944 - add wrapper that finds the right copy of testkjs
946 * Scripts/sunspider-compare-results: Added.
948 2007-10-23 Kevin McCullough <kmccullough@apple.com>
952 - After talking with Steve I now see that the WebKit server must be
953 running for DCOM to create the distributed objects, which makes sense
954 and currently WebKit only allows one instance to be running at a time
955 which avoids accidentally connecting to the wrong server
956 - In light of this I have removed the code for the attach box and
957 NotificationServer and known server names, since they are all extranious
960 * Drosera/win/Drosera.cpp: Removed notification classes and known server
962 (_tWinMain): Uses init instead of initUI.
963 (droseraWndProc): No longer creats an attach dialog box.
964 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
965 it's not manditory to call init before doing COM stuff.
966 (Drosera::init): calls initUI and will call attach when the
967 functionality exists.
968 (Drosera::initUI): Has changed very little.
969 (Drosera::attach): Changed the signature to reflect that we no longer
970 need the dictionary of known server names.
971 * Drosera/win/Drosera.h: Removed notification classes and known server
972 names. Also renamed and moved some functions.
973 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
974 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
975 headers to the resources folder.
976 * Drosera/win/resource.h: Removed the Attach box.
978 2007-10-22 Adam Roben <aroben@apple.com>
982 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
984 2007-10-22 Kevin McCullough <kmccullough@apple.com>
986 - Removed a leak that was fixed.
988 * Scripts/run-webkit-tests:
990 2007-10-19 Kevin McCullough <kmccullough@apple.com>
994 - Changed the Client so that the DebuggerDocument now own the
995 ServerConnection. This simplifies ownership and cleanup.
997 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
999 (DebuggerClient::initWithServerName):
1000 (DebuggerClient::didFinishLoadForFrame):
1001 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
1003 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
1004 until after we have a server which we are attached to.
1007 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
1010 2007-10-22 Simon Hausmann <hausmann@kde.org>
1012 Reviewed by Nikolas.
1014 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
1016 * Scripts/run-javascriptcore-tests:
1018 2007-10-22 Simon Hausmann <hausmann@kde.org>
1020 Reviewed by Nikolas.
1022 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.
1024 * Scripts/build-drosera:
1025 * Scripts/build-dumprendertree:
1026 * Scripts/build-testkjs:
1027 * Scripts/build-webkit:
1028 * Scripts/run-javascriptcore-tests:
1029 * Scripts/run-sunspider:
1030 * Scripts/run-webkit-tests:
1031 * Scripts/webkitdirs.pm:
1033 2007-10-22 Andrew Wellington <proton@wiretapped.net>
1035 Reviewed by Mark Rowe.
1037 Fix for local database support after r26879
1038 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
1040 * Scripts/build-webkit:
1042 2007-10-22 Holger Freyther <zecke@selfish.org>
1044 Reviewed by Simon Hausmann <hausmann@kde.org>.
1046 - Do not build testkjs as an application bundle. This is
1047 needed for run-javascriptcore-tests on OSX.
1048 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
1049 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
1050 as we do not have -rpath on OSX.
1052 * DumpRenderTree/qt/DumpRenderTree.pro:
1053 * Scripts/run-webkit-tests:
1055 2007-10-22 Simon Hausmann <hausmann@kde.org>
1059 Fix support for Signed-off-by detection in prepare-ChangeLog
1060 --git-commit. The Signed-off-by tag does not appear in the header
1061 but usually at the end.
1063 * Scripts/prepare-ChangeLog:
1065 2007-10-21 Mark Rowe <mrowe@apple.com>
1069 Fix run-javascriptcore-tests for Gtk.
1071 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
1073 2007-10-20 Eric Seidel <eric@webkit.org>
1077 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
1079 2007-10-20 Eric Seidel <eric@webkit.org>
1083 Add improved argument handling to run-sunspider, including
1084 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
1085 Also re-factor code into subroutines
1087 * Scripts/build-dumprendertree: removed bogus comments
1088 * Scripts/build-testkjs: Added.
1089 * Scripts/run-javascriptcore-tests: use build-testkjs
1090 * Scripts/run-sunspider: improved argument handling, abstraction
1091 * Scripts/run-webkit-tests: improved abstraction
1093 2007-10-20 Matt Lilek <webkit@mattlilek.com>
1095 Not reviewed, Windows build fix.
1097 * DumpRenderTree/win/EventSender.cpp:
1100 2007-10-20 Darin Adler <darin@apple.com>
1102 Reviewed by Tim Hatcher.
1104 - http://bugs.webkit.org/show_bug.cgi?id=15544
1105 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
1106 not rely on Apple-specific key codes
1108 * DumpRenderTree/mac/EventSendingController.mm:
1109 (-[EventSendingController keyDown:withModifiers:]):
1110 Added named key "rightArrow". Later we could have a whole table of these.
1111 Also tweaked modifiers code a little.
1113 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
1115 2007-10-19 Darin Adler <darin@apple.com>
1119 - http://bugs.webkit.org/show_bug.cgi?id=15566
1120 possible fix for leak seen in DumpRenderTree
1122 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
1123 Delete the item if it's not put on the queue, since the caller has
1124 no way of knowing that. Would be better to have the parameter type
1125 be auto_ptr to express the fact that we take ownership.
1129 * Drosera/mac/main.m: Add missing include.
1131 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1135 - This change should be identical but for some reason was not working
1138 * Scripts/prepare-ChangeLog:
1140 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1142 Reviewed by Oliver and Tim.
1144 - Made use of RetainPtr to avoid retain and release issues and moved the
1145 log function to DebuggerDocumentPlatform, which seems to be a more
1146 logical place for it to live.
1147 - Also moved knownServers from the ServerConnection to
1148 DebuggerApplication to match the Windows code and because it makes sense
1149 that a connection knows its own server but not all of them.
1151 * Drosera/mac/DebuggerClient.h: Moved the log function to
1152 DebuggerDocumentPlatform.
1153 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
1154 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
1155 call for the server name up from the ServerConnection class.
1156 (-[DebuggerClient dealloc]):
1157 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
1158 for the server name up from the ServerConnection.
1159 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
1160 (DebuggerDocument::platformPause):
1161 (DebuggerDocument::platformResume):
1162 (DebuggerDocument::platformStepInto):
1163 (DebuggerDocument::platformEvaluateScript):
1164 (DebuggerDocument::getPlatformCurrentFunctionStack):
1165 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1166 (DebuggerDocument::platformValueForScopeVariableNamed):
1167 (DebuggerDocument::platformLog): Log directly from here. No need to call
1169 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
1170 way I see it, a ServerConnection should only know about its connection
1171 and the group of all possible servers should be kept by the
1173 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
1174 currentServerName, it makes sense that the connection should know that
1176 (-[ServerConnection currentServerName]):
1178 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1182 - Integrated changes from mac drosera. Recently I've encapsulated
1183 out the server connection object from the rest of Drosera because
1184 it is very platform dependent right now and RPC is not implemented on
1185 windows. This functionality, of communicating with the WebKit server
1186 is the next area I will be focusing on in Windows.
1188 - Other changes and cleanup were made to organize the code and add notes
1189 on which parts still need work. Also some mac code is added and
1190 commented out, to act as pseudocode for the logic of those parts.
1192 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
1194 * Drosera/config.h: Added whitespace.
1195 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
1196 these files got moved into Drosera.h/cpp
1197 * Drosera/win/DebuggerApplication.h: Removed.
1198 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
1199 happened here to better match the logic flow of the same code on the
1200 mac side and to use the new ServerConnection class.
1201 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
1202 (DebuggerClient::initWithServerName): Initializer that will set up the
1203 class to use a ServerConnection object. This was necessary so I could
1204 create a DebuggerClient without having to initilaize it at
1206 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
1207 will be the UIDelegate and FrameLoadDelegate.
1208 (DebuggerClient::AddRef): For IUnknown.
1209 (DebuggerClient::Release): For IUnknown.
1210 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
1211 this still needs to set the global context of the server, but
1212 IWebFrame does not have an accessor for the global context yet.
1213 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
1214 this is a pass through for the same function in the document.
1215 (DebuggerClient::didReceiveTitle): Unimplemented part of
1216 FrameLoadDelegate this would change the title of the window.
1217 (DebuggerClient::createWebViewWithRequest): Part of the
1218 FrameLoadDelegate. This is about new windows via Window.open() and
1219 how their delegates are set.
1220 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
1221 UIDelegate. Just a debug function for printing messages.
1222 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
1223 because the Client should be the UIDelegate and FrameLoadDelegate
1224 to match the delegates on mac.
1225 (DebuggerClient::webViewLoaded): Added accessor method.
1226 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
1227 forgotten to add this file before. This is where the platform
1228 dependent versions of the Documents functions live. Most of these are
1229 unimplemented because some piece of functionality does not exist on
1231 (DebuggerDocument::platformPause):
1232 (DebuggerDocument::platformResume):
1233 (DebuggerDocument::platformStepInto):
1234 (DebuggerDocument::platformEvaluateScript):
1235 (DebuggerDocument::getPlatformCurrentFunctionStack):
1236 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1237 (DebuggerDocument::platformValueForScopeVariableNamed):
1238 (DebuggerDocument::platformLog):
1239 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
1240 responsibilities becaue they belong in the Client. Also I laid the
1241 groundwork for attaching Drosera to a WebKit process
1242 (attachWndProc): Now if a server is selected the Client becomes it's
1244 (Drosera::Drosera): Added the construction of the Client and dictionary
1246 (Drosera::initUI): This is no longer the delegates, the Client is.
1247 (Drosera::webViewLoaded): Now asks the Client instead of holding local
1249 (Drosera::applicationDidFinishLaunching): Placeholder for needed
1250 notification registration when it's possible to implement.
1251 (Drosera::serverLoaded): Ditto
1252 (Drosera::serverUnloaded): Ditto
1253 (Drosera::attach): Attach Drosera to the WebKit server.
1254 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
1257 (Drosera::knownServers):
1258 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
1259 and added the ServerConnection.
1260 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
1261 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
1262 Most of the functions are completely unimlemented because they cannot
1263 connect with the WebKit server, because one does not exist on Windows
1265 (ServerConnection::initWithServerName):
1266 (ServerConnection::~ServerConnection):
1267 (ServerConnection::setGlobalContext):
1268 (ServerConnection::pause):
1269 (ServerConnection::resume):
1270 (ServerConnection::stepInto):
1271 (ServerConnection::switchToServerNamed):
1272 (ServerConnection::applicationTerminating):
1273 (ServerConnection::serverConnectionDidDie):
1274 (ServerConnection::currentFrame):
1275 * Drosera/win/ServerConnection.h: Added. Ditto.
1276 (ServerConnection::ServerConnection):
1278 2007-10-19 Alice Liu <alice.liu@apple.com>
1282 Fix for these broken layout tests on Windows:
1284 fast/forms/focus-selection-input.html
1285 fast/forms/focus-selection-textarea.html
1286 fast/forms/select-accesskey.html
1288 * DumpRenderTree/win/EventSender.cpp:
1290 correct the VK code for alt key.
1292 2007-10-19 Eric Seidel <eric@webkit.org>
1294 Reviewed by Mark Rowe.
1296 Make the GtkLauncher code slightly more readable.
1298 * GtkLauncher/main.cpp:
1299 (setupMainMenu): Added.
1300 (setupMainWindowUI): Added.
1303 2007-10-19 Maciej Stachowiak <mjs@apple.com>
1305 Rubber stamped by Adam.
1307 - don't delay-load WebKit in DumpRenderTree.
1309 * DumpRenderTree/win/DumpRenderTree.vcproj:
1311 2007-10-18 Dan Bernstein <mitz@apple.com>
1313 Reviewed by Adam Roben.
1315 - fix <rdar://problem/5313523>
1316 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1318 * DumpRenderTree/mac/DumpRenderTree.mm:
1319 (dump): Changed to use _responseMIMEType.
1321 2007-10-17 Adam Roben <aroben@apple.com>
1323 Make it possible to have Windows-specific tests and results
1325 When searching for tests to run and the Skipped file, we will only
1326 look in platform/win and the cross-platform directory. When looking
1327 for expected results, we will look in platform/win, then
1328 platform/mac-leopard, then platform/mac, then finally the
1329 cross-platform directory.
1333 * Scripts/run-webkit-tests:
1334 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
1335 searching in the cross-platform directory.
1336 (sub buildPlatformHierarchy): Removed some unneeded calls to
1339 2007-10-17 Adam Roben <aroben@apple.com>
1341 Add back the call to register WebKit that we had before WebKitInitializer existed
1343 This is needed to ensure that the right WebKit is used when
1344 instantiating COM objects.
1348 * DumpRenderTree/win/debug_internal.vsprops: Define
1349 DEBUG_WEBKIT_HAS_SUFFIX.
1350 * DumpRenderTree/win/DumpRenderTree.cpp:
1353 2007-10-17 Adam Roben <aroben@apple.com>
1355 Import File::Basename in webkitdirs since we use it
1357 * Scripts/webkitdirs.pm:
1359 2007-10-17 Kevin McCullough <kmccullough@apple.com>
1361 - Updated the tiger leaks list to make the internal bots green.
1363 * Scripts/run-webkit-tests:
1365 2007-10-17 Adam Roben <aroben@apple.com>
1367 Build fix for VC++ Express
1369 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1372 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1376 - Minor mac improvements based on observations I made while implementing the
1379 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1380 then hand it to the Client who will retain it, it should just be the client who
1381 creates and owns the server.
1382 (-[DebuggerApplication attach:]):
1383 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1384 * Drosera/mac/DebuggerClient.mm: Creates the server.
1385 (-[DebuggerClient initWithServerName:]):
1386 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1387 can instead forward declare what it needs.
1389 2007-10-16 Darin Adler <darin@apple.com>
1391 Reviewed by Geoff Garen.
1393 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1394 want to turn failing tests into platform-specific test results. Also did a
1395 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1396 would take the type of results into account only some of the time.
1398 2007-10-16 Adam Roben <aroben@apple.com>
1400 Add a new nightly launcher script for Windows
1402 This new script is for versions of Safari that don't delay-load
1403 WebKit. I had to make FindSafari be able to print out the nightly
1404 launcher script on stdout because Windows shell scripts can't capture
1405 the output from a command into an environment variable.
1409 * FindSafari/FindSafari.cpp:
1410 (_tmain): Added /printSafariLauncher option.
1411 * Scripts/run-webkit-nightly.cmd: Added.
1413 2007-10-16 Adam Roben <aroben@apple.com>
1415 Replace WebKitInitializer with FindSafari
1417 We now rely on setting the PATH environment variable to tell Windows
1418 where to find WebKit and its dependencies (similar to
1419 DYLD_FRAMEWORK_PATH on Mac).
1421 This change also make DumpRenderTree no longer delay-load WebKit.
1425 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1427 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1428 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1429 WebKitInitializer, don't delay-load WebKit.
1430 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1431 * Scripts/run-webkit-tests: Ditto.
1432 * Scripts/webkitdirs.pm:
1433 (sub setPathForRunningWebKitApp): Added.
1434 * WebKitInitializer/WebKitInitializer.cpp: Removed.
1435 * WebKitInitializer/WebKitInitializer.h: Removed.
1436 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1437 * WebKitInitializer/debug.vsprops: Removed.
1438 * WebKitInitializer/debug_internal.vsprops: Removed.
1439 * WebKitInitializer/release.vsprops: Removed.
1441 2007-10-16 Adam Roben <aroben@apple.com>
1443 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1445 http://bugs.webkit.org/show_bug.cgi?id=15532
1447 FindSafari simply prints the location of an installed Safari.exe on
1452 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1455 (getInstalledWebKitDirectory):
1457 * FindSafari/FindSafari.vcproj: Added.
1458 * Scripts/webkitdirs.pm:
1459 (sub installedSafariPath): Added. Calls FindSafari on Windows.
1461 2007-10-16 Adam Roben <aroben@apple.com>
1463 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1465 Reviewed by Kevin McCullough.
1467 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1468 when referring to WebKit.dll.
1469 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1470 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1471 * DumpRenderTree/win/release.vsprops: Ditto.
1472 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1473 never have a _debug suffix on WebKit.dll.
1474 * WebKitInitializer/WebKitInitializer.cpp:
1475 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1477 * WebKitInitializer/debug_internal.vsprops: Added
1478 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1480 2007-10-16 Darin Adler <darin@apple.com>
1484 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1485 Remove now-unneeded control/alt key hack; the tests have been updated.
1487 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1489 - Updated leaks list because our internal bot upgraded it's version of leopard and
1490 one of the leaks was fixed between that revision and the bot's previous version of
1493 * Scripts/run-webkit-tests:
1495 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1499 - I encapsulated out the server connecton functionality because it is a specific part
1500 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1501 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1502 Windows. So the majority of this patch is moving preexisting functionality.
1504 - Also I removed the prefix header and changed to use config.h because it is more
1505 standard on how we use config.h in windows and it didn't make much sense to keep
1506 the prefix header and the config.h
1508 * Drosera/DebuggerDocument.cpp:
1509 (DebuggerDocument::DebuggerDocument):
1510 * Drosera/DebuggerDocument.h:
1512 * Drosera/mac/DebuggerApplication.mm:
1513 (-[DebuggerApplication attach:]):
1514 * Drosera/mac/DebuggerClient.h:
1515 * Drosera/mac/DebuggerClient.mm:
1516 (-[DebuggerClient initWithServerConnection:]):
1517 (-[DebuggerClient dealloc]):
1518 (-[DebuggerClient windowDidLoad]):
1519 (-[DebuggerClient windowWillClose:]):
1520 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1521 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1522 * Drosera/mac/DebuggerDocumentPlatform.mm:
1523 (DebuggerDocument::platformPause):
1524 (DebuggerDocument::platformResume):
1525 (DebuggerDocument::platformStepInto):
1526 (DebuggerDocument::platformEvaluateScript):
1527 (DebuggerDocument::getPlatformCurrentFunctionStack):
1528 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1529 (DebuggerDocument::platformValueForScopeVariableNamed):
1530 (DebuggerDocument::platformLog):
1531 * Drosera/mac/Drosera.pch: Removed.
1532 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1533 * Drosera/mac/ServerConnection.h: Added.
1534 * Drosera/mac/ServerConnection.mm: Added.
1535 (-[ServerConnection initWithServerName:]):
1536 (-[ServerConnection dealloc]):
1537 (-[ServerConnection setGlobalContext:]):
1538 (-[ServerConnection pause]):
1539 (-[ServerConnection resume]):
1540 (-[ServerConnection stepInto]):
1541 (-[ServerConnection switchToServerNamed:]):
1542 (-[ServerConnection applicationTerminating:]):
1543 (-[ServerConnection serverConnectionDidDie:]):
1544 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1545 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1546 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1547 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1548 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1549 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1550 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1551 (-[ServerConnection currentFrame]):
1552 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1553 (-[ServerConnection knownServers]):
1555 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1559 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1560 Script to automatically search nightly builds for regressions (bisect-builds)
1562 * Scripts/bisect-builds: Added.
1564 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1568 - New JavaScript benchmark
1569 http://bugs.webkit.org/show_bug.cgi?id=15515
1571 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1572 current development or release build of JavaScriptCore.
1574 2007-10-15 Mark Rowe <mrowe@apple.com>
1578 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1580 * Scripts/webkitdirs.pm:
1581 - Change checkArgv to remove the options from @ARGV to prevent
1582 them from interfering with further option processing.
1583 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1584 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1585 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1586 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1588 2007-10-15 Darin Adler <darin@apple.com>
1592 - added logging of window.prompt and window.confirm
1594 * DumpRenderTree/mac/UIDelegate.mm:
1595 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1596 Implement the recommended delegate rather than the deprecated one.
1597 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1599 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1602 * DumpRenderTree/win/UIDelegate.h:
1603 * DumpRenderTree/win/UIDelegate.cpp:
1604 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1605 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1606 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1607 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1609 2007-10-15 Alice Liu <alice.liu@apple.com>
1611 Reviewed by Sam Weinig.
1613 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1615 * DumpRenderTree/win/DumpRenderTree.cpp:
1616 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1617 (main): allocate the global policy delegate for DRT's custom use
1618 * DumpRenderTree/win/DumpRenderTree.vcproj:
1619 Adding files to project
1620 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1621 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1622 (LayoutTestController::setCustomPolicyDelegate):
1623 set the webview's policy delegate to DRT's custom one if the test requests it.
1624 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1625 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1626 (PolicyDelegate::PolicyDelegate):
1627 (PolicyDelegate::QueryInterface):
1628 (PolicyDelegate::AddRef):
1629 (PolicyDelegate::Release):
1630 (PolicyDelegate::decidePolicyForNavigationAction):
1631 * DumpRenderTree/win/PolicyDelegate.h: Added.
1632 (PolicyDelegate::decidePolicyForNewWindowAction):
1633 (PolicyDelegate::decidePolicyForMIMEType):
1634 (PolicyDelegate::unableToImplementPolicyWithError):
1636 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1640 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1641 when querying for QMAKE_MKSPECS.
1643 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1645 Reviewed by Adam Roben.
1647 Fix run-webkit-tests is too greedy calculating platform hierarchy
1648 http://bugs.webkit.org/show_bug.cgi?id=15465
1650 Fix run-webkit-tests being too greedy in trying to split the platform name up
1651 causing it to try and find tests in every directory above the first "-" in the
1652 path to the LayoutTests
1654 * Scripts/run-webkit-tests:
1656 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1660 http://bugs.webkit.org/show_bug.cgi?id=15006
1661 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1662 to reduce code duplication.
1664 * Scripts/build-webkit:
1665 * Scripts/webkitdirs.pm:
1666 buildQMakeProject() renamed to buildQMakeQtProject().
1667 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1668 unused $colorize has been removed.
1670 === Start merge of feature-branch 2007-10-12 ===
1672 2007-10-08 Eric Seidel <eric@webkit.org>
1674 Reviewed by Mark Rowe.
1676 * Scripts/build-webkit: add --help, remove unused --color
1678 2007-10-07 Eric Seidel <eric@webkit.org>
1682 * Drosera/mac/DebuggerDocumentPlatform.mm:
1683 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1685 2007-10-03 Rob Buis <buis@kde.org>
1689 Adapt to changed location of Ahem font.
1691 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1693 2007-10-02 Eric Seidel <eric@webkit.org>
1695 Reviewed by Adam Roben.
1697 Make pixel tests more useful!
1698 Finally fix the image diff 0.00% mystery problem
1699 Highlight any image differences in the image diff.
1700 Add a link from image diffs back to original test file.
1702 * DumpRenderTree/mac/ImageDiff.m:
1703 (compareImages): highlight any differences
1704 (computePercentageDifferent): round to two decimal places
1705 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1707 2007-10-02 Eric Seidel <eric@webkit.org>
1709 Reviewed by Alexey Proskuryakov.
1711 * Scripts/run-webkit-tests: print the % image difference on main results page
1713 2007-10-02 Mark Rowe <mrowe@apple.com>
1717 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1719 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1720 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1722 2007-10-01 Mark Rowe <mrowe@apple.com>
1724 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1726 2007-09-25 Eric Seidel <eric@webkit.org>
1728 Reviewed by Mark Rowe.
1730 DerivedSources.make was finding "ENABLE_SVG" in the string
1731 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1734 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1736 2007-09-25 Mark Rowe <mrowe@apple.com>
1738 Rubber-stamped by Eric.
1740 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1741 This makes it possible to automate nightly builds for the feature-branch.
1743 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1745 Rubber stamped by Mark.
1747 Enable svg experimental features as default here in feature-branch.
1749 * Scripts/build-webkit:
1751 2007-06-29 Antti Koivisto <antti@apple.com>
1755 Add VIDEO flag for timed media features
1757 * Scripts/build-webkit
1759 === End merge of feature-branch 2007-10-12 ===
1761 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1765 - Updated rational for the leaks list to be more clear.
1767 * Scripts/run-webkit-tests:
1769 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1771 Rubber Stamp by Sam.
1773 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1774 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1776 * Scripts/run-webkit-tests:
1778 2007-10-10 Simon Hausmann <hausmann@kde.org>
1782 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1783 includes are needed for INT_MAX, std::auto_ptr and the like.
1785 * DumpRenderTree/qt/main.cpp:
1787 2007-10-09 Lars Knoll <lars@trolltech.com>
1791 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1793 * DumpRenderTree/qt/jsobjects.cpp:
1794 (LayoutTestController::encodeHostName):
1795 (LayoutTestController::decodeHostName):
1796 * DumpRenderTree/qt/jsobjects.h:
1798 2007-10-09 Lars Knoll <lars@trolltech.com>
1802 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.
1804 * DumpRenderTree/qt/DumpRenderTree.cpp:
1805 (WebCore::WebPage::createFrame):
1806 (WebCore::DumpRenderTree::DumpRenderTree):
1807 (WebCore::DumpRenderTree::titleChanged):
1808 * DumpRenderTree/qt/DumpRenderTree.h:
1809 * DumpRenderTree/qt/jsobjects.cpp:
1810 (LayoutTestController::reset):
1811 * DumpRenderTree/qt/jsobjects.h:
1813 2007-10-09 Lars Knoll <lars@trolltech.com>
1817 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1819 * DumpRenderTree/qt/DumpRenderTree.h:
1820 * DumpRenderTree/qt/jsobjects.cpp:
1821 (LayoutTestController::clearBackForwardList):
1822 * DumpRenderTree/qt/jsobjects.h:
1824 2007-10-09 Lars Knoll <lars@trolltech.com>
1828 make --git-reviewer work again.
1830 * Scripts/prepare-ChangeLog:
1832 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1834 Rubber stamped by Eric.
1836 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1837 show the current link inside the statusbar.
1838 This shows how to make use of this signal and allows to easily test
1839 http://bugs.webkit.org/show_bug.cgi?id=15299.
1841 * GtkLauncher/main.cpp:
1845 2007-10-05 Lars Knoll <lars@trolltech.com>
1847 add proper error messages to the FrameLoaderClient.
1848 Implement ChromeClientQt::closeWindowSoon and
1849 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1850 Some fixes in DRT to make it work correctly with multiple windows.
1854 * DumpRenderTree/qt/DumpRenderTree.cpp:
1855 (WebCore::DumpRenderTree::DumpRenderTree):
1856 (WebCore::DumpRenderTree::createWindow):
1857 (WebCore::DumpRenderTree::windowCount):
1858 * DumpRenderTree/qt/DumpRenderTree.h:
1859 * DumpRenderTree/qt/jsobjects.cpp:
1860 (LayoutTestController::maybeDump):
1861 (LayoutTestController::windowCount):
1862 * DumpRenderTree/qt/jsobjects.h:
1864 2007-10-05 Lars Knoll <lars@trolltech.com>
1866 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1867 Add support for layoutTextController.setCanOpenWindows() to DRT
1868 fixing another 2 test cases in fast/dom/Window.
1872 * DumpRenderTree/qt/DumpRenderTree.cpp:
1873 (WebCore::WebPage::WebPage):
1874 (WebCore::WebPage::createWindow):
1875 (WebCore::DumpRenderTree::resetJSObjects):
1876 (WebCore::DumpRenderTree::createWindow):
1877 * DumpRenderTree/qt/DumpRenderTree.h:
1878 * DumpRenderTree/qt/DumpRenderTree.pro:
1879 * DumpRenderTree/qt/jsobjects.cpp:
1880 (LayoutTestController::LayoutTestController):
1881 (LayoutTestController::reset):
1882 * DumpRenderTree/qt/jsobjects.h:
1883 * DumpRenderTree/qt/main.cpp:
1884 * DumpRenderTree/qt/testplugin.cpp: Added.
1885 * DumpRenderTree/qt/testplugin.h: Added.
1887 2007-10-04 Sam Weinig <sam@webkit.org>
1889 Rubber stamped by Adam.
1891 Remove empty directories.
1893 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1894 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1896 2007-10-03 Darin Adler <darin@apple.com>
1900 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1901 we find the internal libraries in the libraries directory. This
1902 is helpful for Safari team engineers at Apple.
1904 2007-10-03 Adam Roben <aroben@apple.com>
1906 Update the location of AHEM___.TTF after r25968
1910 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1912 2007-10-03 Alp Toker <alp@atoker.com>
1916 http://bugs.webkit.org/show_bug.cgi?id=14726
1917 [gtk] API design. Mapping the WebView delegates to signals.
1919 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1921 * GtkLauncher/main.cpp:
1925 (menuMainBackCallback):
1926 (menuMainForwardCallback):
1929 2007-10-03 Lars Knoll <lars@trolltech.com>
1933 This fixes --strict mode in run-webkit-tests again after
1934 the platform dependent test results have been moved.
1936 * Scripts/run-webkit-tests:
1938 2007-10-03 Lars Knoll <lars@trolltech.com>
1942 remove the hack in run-webkit-tests that forced text only test
1943 to be taken from the platform independent dir. It was only left
1944 there from early days.
1946 Remove platform dependent results for tests that are text only nowadays,
1947 and add one platform dependent result for a text only test that requires it.
1949 * Scripts/run-webkit-tests:
1951 2007-10-03 Lars Knoll <lars@trolltech.com>
1955 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1957 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1958 (WebCore::WebFrame::WebFrame):
1959 (WebCore::WebPage::WebPage):
1960 (WebCore::WebPage::createFrame):
1961 (WebCore::WebPage::javaScriptAlert):
1962 (WebCore::WebPage::javaScriptConsoleMessage):
1963 (WebCore::DumpRenderTree::DumpRenderTree):
1964 (WebCore::DumpRenderTree::~DumpRenderTree):
1965 (WebCore::DumpRenderTree::open):
1966 (WebCore::DumpRenderTree::readStdin):
1967 (WebCore::DumpRenderTree::resetJSObjects):
1968 (WebCore::DumpRenderTree::initJSObjects):
1969 (WebCore::DumpRenderTree::dumpFramesAsText):
1970 (WebCore::DumpRenderTree::dump):
1971 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1972 (WebCore::DumpRenderTree::layoutTestController):
1973 (WebCore::DumpRenderTree::eventSender):
1974 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1975 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1976 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1977 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1978 (HackWebFrame::mousePressEvent):
1979 (HackWebFrame::mouseReleaseEvent):
1980 (HackWebFrame::mouseMoveEvent):
1981 (HackWebFrame::HackWebFrame):
1982 (HackWebFrame::~HackWebFrame):
1983 (LayoutTestController::LayoutTestController):
1984 (LayoutTestController::reset):
1985 (LayoutTestController::maybeDump):
1986 (LayoutTestController::waitUntilDone):
1987 (LayoutTestController::notifyDone):
1988 (LayoutTestController::dumpEditingCallbacks):
1989 (LayoutTestController::queueReload):
1990 (LayoutTestController::provisionalLoad):
1991 (LayoutTestController::timerEvent):
1992 (EventSender::EventSender):
1993 (EventSender::mouseDown):
1994 (EventSender::mouseUp):
1995 (EventSender::mouseMoveTo):
1996 (EventSender::leapForward):
1997 (EventSender::keyDown):
1998 (EventSender::frameUnderMouse):
1999 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
2000 (LayoutTestController::isLoading):
2001 (LayoutTestController::setLoading):
2002 (LayoutTestController::shouldDumpAsText):
2003 (LayoutTestController::shouldDumpChildrenAsText):
2004 (LayoutTestController::shouldWaitUntilDone):
2005 (LayoutTestController::dumpAsText):
2006 (LayoutTestController::dumpChildFramesAsText):
2007 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
2011 * Scripts/run-webkit-tests:
2013 2007-10-03 Mark Rowe <mrowe@apple.com>
2015 Reviewed by Alp Toker.
2017 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
2018 should take precedence over QTDIR when determining which port we are working with.
2020 * Scripts/webkitdirs.pm:
2022 2007-10-02 Adam Roben <aroben@apple.com>
2024 Add keychain to the list of default packages to install
2026 Rubberstamped by Sam.
2028 * CygwinDownloader/cygwin-downloader.py:
2029 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2031 2007-10-02 David Kilzer <ddkilzer@webkit.org>
2035 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
2036 Also makes WebCore regression test case logic work when using git.
2038 * Scripts/prepare-ChangeLog:
2039 (reviewerAndDescriptionForGitCommit): Added.
2041 2007-10-02 Lars Knoll <lars@trolltech.com>
2045 Add API to retrieve the frame name from QWebFrame.
2046 Implement support for DRT::dumpChildrenAsText.
2048 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2049 (WebCore::DumpRenderTree::dumpFramesAsText):
2050 (WebCore::DumpRenderTree::dump):
2051 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2052 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2053 (LayoutTestController::LayoutTestController):
2054 (LayoutTestController::reset):
2055 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2057 2007-10-02 Lars Knoll <lars@trolltech.com>
2061 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
2063 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2064 (WebCore::DumpRenderTree::readStdin):
2066 2007-10-02 Mark Rowe <mrowe@apple.com>
2070 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
2072 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
2073 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
2075 2007-10-02 Mark Rowe <mrowe@apple.com>
2077 Rubber-stamped by Maciej.
2079 Configuration changes from build.webkit.org. The major change is refactoring to work
2080 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
2083 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2084 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
2085 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
2086 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
2087 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
2088 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
2089 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
2090 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2092 2007-10-02 Lars Knoll <lars@trolltech.com>
2096 Add support for eventSender.mouseMove to DRT.
2097 Fixes fast/css/hover-affects-child.html
2099 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2100 (EventSender::mouseMoveTo):
2102 2007-10-01 Mark Rowe <mrowe@apple.com>
2104 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
2106 2007-10-01 David Kilzer <ddkilzer@webkit.org>
2110 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
2112 * Scripts/svn-apply:
2113 (gitdiff2svndiff): Ignore lines beginning with "new file".
2114 * Scripts/svn-unapply:
2115 (gitdiff2svndiff): Ditto.
2117 2007-09-30 George Staikos <staikos@kde.org>
2119 Qt build fix (Mac OS X specific)
2121 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2123 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
2127 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
2128 Remove Bakefiles from svn.
2130 * GtkLauncher/Bakefiles.bkgen: Removed.
2131 * GtkLauncher/ENV: Removed.
2132 * GtkLauncher/gdklauncher.bkl: Removed.
2133 * GtkLauncher/mk: Removed.
2134 * Scripts/regenerate-makefiles: Removed.
2136 2007-09-25 Kevin McCullough <kmccullough@apple.com>
2140 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
2142 * Scripts/run-webkit-tests:
2144 2007-09-26 Adam Roben <aroben@apple.com>
2146 Make not finding an installed WebKit non-fatal
2148 What really matters is that we are able to load WebKit and its
2149 dependencies, not whether we think we've found an installed WebKit.
2153 * WebKitInitializer/WebKitInitializer.cpp:
2154 (getWebViewCLSID): Use new LOG_WARNING macro.
2155 (getInstalledWebKitDirectory): Ditto.
2156 (initializeWebKit): Don't die if we didn't find an installed WebKit,
2158 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
2160 2007-09-26 Adam Roben <aroben@apple.com>
2162 Committed this file before saving it
2164 * WebKitInitializer/debug_internal.vsprops:
2166 2007-09-26 Adam Roben <aroben@apple.com>
2168 Load WebKit and its dependencies manually so they come from DllDirectory
2170 I had to change WebKitInitializer to use malloc/free instead of
2171 new/delete to avoid pulling in WebKit (and its dependencies) early
2172 through use of fastMalloc.
2176 * WebKitInitializer/WebKitInitializer.cpp:
2177 (getStringValue): Changed to use malloc/free.
2178 (getInstalledWebKitDirectory): Ditto.
2179 (initializeWebKit): Call SetDllDirectory first, then load all of
2180 WebKit's dependencies manually, finally followed by WebKit itself.
2181 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
2182 configuration to match our other projects.
2183 * WebKitInitializer/debug_internal.vsprops: Added.
2185 2007-09-25 Adam Roben <aroben@apple.com>
2187 Actually define DEBUG/NDEBUG so that we load WebKit correctly
2189 Rubberstamped by Sam.
2191 * WebKitInitializer/WebKitInitializer.vcproj:
2193 2007-09-25 Adam Roben <aroben@apple.com>
2195 Make DumpRenderTree delay-load its dependencies
2197 This lets WebKitInitializer re-route the dependencies to be loaded out
2198 of the Safari installation directory.
2200 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
2201 same thing), since we can't import the kCFAllocatorDefault symbol when
2202 delay-loading CoreFoundation.dll.
2204 Rubberstamped by Sam.
2206 * DumpRenderTree/win/DumpRenderTree.cpp:
2208 (javaScriptThreads):
2209 * DumpRenderTree/win/DumpRenderTree.vcproj:
2210 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2211 (LayoutTestController::setWaitToDump):
2213 2007-09-25 Adam Roben <aroben@apple.com>
2215 Pull ole32.lib into WebKitInitializer
2217 Rubberstamped by Sam.
2219 * WebKitInitializer/WebKitInitializer.vcproj:
2221 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2225 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2226 LGPL'ed files contain incorrect FSF address
2230 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2234 Make svn-apply and svn-unapply work with git-diff formatted patches.
2236 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
2237 (gitdiff2svndiff): Added.
2238 * Scripts/svn-unapply: Ditto.
2239 (gitdiff2svndiff): Added.
2241 2007-09-25 Adam Roben <aroben@apple.com>
2243 Pull advapi32.lib into WebKitInitializer
2245 This is needed to get the registry functions we use.
2247 Rubberstamped by Sam.
2249 * WebKitInitializer/WebKitInitializer.vcproj:
2251 2007-09-25 Adam Roben <aroben@apple.com>
2253 Add python and rsync to cygwin-downloader
2255 Our build slaves need this, and it can't hurt for everyone else to
2260 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
2261 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2263 2007-09-25 Adam Roben <aroben@apple.com>
2265 Add WebKitInitializer and use it in DumpRenderTree
2267 WebKitInitializer is a static library that has one function,
2268 initializeWebKit(). This registers WebKit and sets up the DLL search
2269 path so that WebKit's dependencies that are installed with Safari can
2274 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
2275 DumpRenderTree depend on it.
2276 * DumpRenderTree/win/DumpRenderTree.cpp:
2277 (initialize): Call initializeWebKit.
2278 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
2279 WebKitInitializer.lib.
2280 * WebKitInitializer/WebKitInitializer.cpp: Added.
2283 (getInstalledWebKitDirectory):
2285 * WebKitInitializer/WebKitInitializer.h: Added.
2286 * WebKitInitializer/WebKitInitializer.vcproj: Added.
2287 * WebKitInitializer/debug.vsprops: Added.
2288 * WebKitInitializer/release.vsprops: Added.
2290 2007-09-25 Adam Roben <aroben@apple.com>
2292 Make run-webkit-tests respect set-webkit-configuration
2296 * Scripts/run-webkit-tests: Initialize $configuration to whatever
2297 set-webkit-configuration was last set to.
2299 2007-09-25 Mark Rowe <mrowe@apple.com>
2301 Rubber-stamped by Eric.
2303 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2304 This makes it possible to automate nightly builds for the feature-branch.
2306 2007-09-25 Adam Roben <aroben@apple.com>
2308 A couple of fixes/enhancements to update-webkit-*-libs
2310 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
2311 to tell update-webkit-support-libraries where it should find the
2312 WebKitSupportLibrary.zip file you downloaded.
2314 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
2319 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
2320 to $auxiliaryLibsURL and removed an irrelevant comment.
2321 * Scripts/update-webkit-support-libs:
2323 2007-09-25 Adam Treat <treat@kde.org>
2325 Reviewed by Simon and Lars.
2327 Refactors and cleans up Qt DRT member variable names, member variable
2328 initialization, style fixes and general code cleanup.
2330 Adds queueReload slot to LayoutTestController that some tests require.
2332 Subclasses QWebFrame to make sure that all frames have an associated
2333 LayoutTestController JS window object.
2335 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
2336 aren't dumped twice.
2340 Together, this patch fixes some 20+ layout tests in QtWebKit.
2342 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2343 (WebCore::WebFrame::WebFrame):
2344 (WebCore::WebPage::WebPage):
2345 (WebCore::WebPage::createFrame):
2346 (WebCore::DumpRenderTree::DumpRenderTree):
2347 (WebCore::DumpRenderTree::open):
2348 (WebCore::DumpRenderTree::readStdin):
2349 (WebCore::DumpRenderTree::initJSObjects):
2350 (WebCore::DumpRenderTree::dump):
2351 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2352 (WebCore::DumpRenderTree::layoutTestController):
2353 (WebCore::DumpRenderTree::eventSender):
2354 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2355 (LayoutTestController::LayoutTestController):
2356 (LayoutTestController::reset):
2357 (LayoutTestController::maybeDump):
2358 (LayoutTestController::waitUntilDone):
2359 (LayoutTestController::notifyDone):
2360 (LayoutTestController::queueReload):
2361 (LayoutTestController::provisionalLoad):
2362 (EventSender::EventSender):
2363 (EventSender::mouseDown):
2364 (EventSender::mouseUp):
2365 (EventSender::mouseMoveTo):
2366 (EventSender::frameUnderMouse):
2367 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2368 (LayoutTestController::isLoading):
2369 (LayoutTestController::setLoading):
2370 (LayoutTestController::dumpAsText):
2371 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2374 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2377 - Reverted an accidentally checked in file.
2379 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2381 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2384 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2386 * DumpRenderTree/win/DumpRenderTree.vcproj:
2387 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2389 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
2391 Rubber stamped by Adam.
2393 * GdkLauncher: Removed.
2394 * GdkLauncher/Bakefiles.bkgen: Removed.
2395 * GdkLauncher/ENV: Removed.
2396 * GdkLauncher/GdkLauncher.pro: Removed.
2397 * GdkLauncher/gdklauncher.bkl: Removed.
2398 * GdkLauncher/main.cpp: Removed.
2399 * GdkLauncher/mk: Removed.
2400 * GdkLauncher/simple.svg: Removed.
2401 * GdkLauncher/text.html: Removed.
2402 * GtkLauncher: Added.
2403 * GtkLauncher/GdkLauncher.pro: Removed.
2404 * GtkLauncher/GtkLauncher.pro: Added.
2405 * GtkLauncher/main.cpp:
2406 (updateWindowTitle):
2408 * Scripts/build-webkit:
2409 * Scripts/regenerate-makefiles:
2410 * Scripts/run-javascriptcore-tests:
2411 * Scripts/run-launcher:
2412 * Scripts/run-webkit-tests:
2413 * Scripts/webkitdirs.pm:
2415 2007-09-21 Timothy Hatcher <timothy@apple.com>
2419 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2421 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2422 This is tested by plugins/root-object-premature-delete-crash.html.
2424 * DumpRenderTree/mac/ObjCController.m:
2425 (-[ObjCController accessStoredWebScriptObject]):
2427 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2431 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2433 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2434 (FrameLoadDelegate::FrameLoadDelegate):
2436 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
2440 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2441 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2443 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2444 Now isQt() and isGdk() use global variables that are only set once.
2446 An array of all the parameters is now given to build-dumprender which includes
2447 the platform on linux.
2449 * Scripts/build-dumprendertree:
2450 * Scripts/run-webkit-tests:
2451 * Scripts/webkitdirs.pm:
2453 2007-09-19 Adam Roben <aroben@apple.com>
2455 Rubberstamped by Hyatt.
2457 * Spinneret: Removed.
2459 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
2461 Reviewed by David Kilzer.
2463 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2465 2007-09-18 Sam Weinig <sam@webkit.org>
2467 Add JSRetainPtr.h #include to fix some builds.
2469 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2471 2007-09-18 Mike Hommey <glandium@debian.org>
2475 * Scripts/prepare-ChangeLog:
2476 - Properly parse GECOS field.
2477 - Use git configuration for user name and email when appropriate.
2479 2007-09-17 Sam Weinig <sam@webkit.org>
2483 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2485 2007-09-17 Sam Weinig <sam@webkit.org>
2487 Reviewed by Adam Roben.
2489 Share more code between mac and windows DRT.
2490 - GCController is now shared.
2491 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2493 * DumpRenderTree/GCController.cpp:
2494 * DumpRenderTree/win/DumpRenderTree.cpp:
2495 * DumpRenderTree/win/DumpRenderTree.vcproj:
2496 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2497 (FrameLoadDelegate::FrameLoadDelegate):
2498 (FrameLoadDelegate::~FrameLoadDelegate):
2499 (FrameLoadDelegate::windowScriptObjectAvailable):
2500 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2501 * DumpRenderTree/win/GCController.cpp: Removed.
2502 * DumpRenderTree/win/GCController.h: Removed.
2503 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2504 (GCController::collect):
2505 (GCController::collectOnAlternateThread):
2506 (GCController::getJSObjectCount):
2507 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2508 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2510 2007-09-17 Sam Weinig <sam@webkit.org>
2512 Reviewed by Adam Roben.
2514 Begin sharing code between mac and windows DRT.
2515 - both now share LayoutTestController.h/cpp and implement platform dependant
2516 operations in LayoutTestControllerMac/Win.
2517 - DumpRenderTree.h is now shared.
2518 - WorkQueue and WorkQueueItem are also shared.
2520 * DumpRenderTree/DumpRenderTree.h:
2521 * DumpRenderTree/LayoutTestController.cpp:
2522 * DumpRenderTree/win/DumpRenderTree.cpp:
2524 (dumpFrameScrollPosition):
2528 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2529 * DumpRenderTree/win/DumpRenderTree.vcproj:
2530 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2531 * DumpRenderTree/win/EditingDelegate.cpp:
2532 (EditingDelegate::shouldBeginEditingInDOMRange):
2533 (EditingDelegate::shouldEndEditingInDOMRange):
2534 (EditingDelegate::shouldInsertNode):
2535 (EditingDelegate::shouldInsertText):
2536 (EditingDelegate::shouldDeleteDOMRange):
2537 (EditingDelegate::shouldChangeSelectedDOMRange):
2538 (EditingDelegate::shouldApplyStyle):
2539 (EditingDelegate::shouldChangeTypingStyle):
2540 (EditingDelegate::doPlatformCommand):
2541 (EditingDelegate::webViewDidBeginEditing):
2542 (EditingDelegate::webViewDidChange):
2543 (EditingDelegate::webViewDidEndEditing):
2544 (EditingDelegate::webViewDidChangeTypingStyle):
2545 (EditingDelegate::webViewDidChangeSelection):
2546 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2547 * DumpRenderTree/win/LayoutTestController.h: Removed.
2548 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2549 (LayoutTestController::addDisallowedURL):
2550 (LayoutTestController::clearBackForwardList):
2551 (LayoutTestController::copyDecodedHostName):
2552 (LayoutTestController::copyEncodedHostName):
2553 (LayoutTestController::display):
2554 (LayoutTestController::keepWebHistory):
2555 (LayoutTestController::notifyDone):
2556 (LayoutTestController::queueBackNavigation):
2557 (LayoutTestController::queueForwardNavigation):
2558 (jsStringRefToWString):
2559 (LayoutTestController::queueLoad):
2560 (LayoutTestController::queueReload):
2561 (LayoutTestController::queueScript):
2562 (LayoutTestController::setAcceptsEditing):
2563 (LayoutTestController::setCustomPolicyDelegate):
2564 (LayoutTestController::setMainFrameIsFirstResponder):
2565 (LayoutTestController::setTabKeyCyclesThroughElements):
2566 (LayoutTestController::setUseDashboardCompatibilityMode):
2567 (LayoutTestController::setUserStyleSheetEnabled):
2568 (LayoutTestController::setUserStyleSheetLocation):
2569 (LayoutTestController::setWindowIsKey):
2570 (waitUntilDoneWatchdogFired):
2571 (LayoutTestController::setWaitToDump):
2572 (LayoutTestController::windowCount):
2573 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2574 (FrameLoadDelegate::didReceiveTitle):
2575 (FrameLoadDelegate::processWork):
2576 (FrameLoadDelegate::locationChangeDone):
2577 (FrameLoadDelegate::windowScriptObjectAvailable):
2578 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2579 * DumpRenderTree/win/WorkQueue.h: Removed.
2580 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2581 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2582 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2583 (jsStringRefToWString):
2585 (ScriptItem::invoke):
2587 2007-09-17 Sam Weinig <sam@webkit.org>
2589 Reviewed by Adam Roben.
2591 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2593 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2594 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2595 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2596 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2597 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2598 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2599 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2600 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2601 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2602 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2603 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2604 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2605 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2606 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2607 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2608 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2609 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2610 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2611 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2612 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2613 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2614 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2615 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2616 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2617 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2618 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2619 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2620 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2621 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2622 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2623 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2624 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2625 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2626 * DumpRenderTree/win: Added.
2627 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2628 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2629 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2630 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2631 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2632 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2633 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2634 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2635 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2636 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2637 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2638 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2639 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2640 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2641 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2642 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2643 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2644 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2645 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2646 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2647 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2648 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2649 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2650 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2651 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2652 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2654 2007-09-15 Mark Rowe <mrowe@apple.com>
2656 Build fix for DumpRenderTree.
2658 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2660 2007-09-14 Sam Weinig <sam@webkit.org>
2662 Rubber stamped by Adam Roben.
2664 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2665 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2666 kept in the WaitUntilDoneDelegate file for the time being.
2668 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2670 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2671 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2672 (UIDelegate::QueryInterface):
2673 (UIDelegate::AddRef):
2674 (UIDelegate::Release):
2675 (UIDelegate::hasCustomMenuImplementation):
2676 (UIDelegate::setFrame):
2677 (UIDelegate::webViewFrame):
2678 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2679 (UIDelegate::webViewAddMessageToConsole):
2680 (UIDelegate::doDragDrop):
2681 (UIDelegate::webViewGetDlgCode):
2682 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2683 (UIDelegate::UIDelegate):
2684 (UIDelegate::createWebViewWithRequest):
2685 (UIDelegate::webViewShow):
2686 (UIDelegate::webViewClose):
2687 (UIDelegate::webViewFocus):
2688 (UIDelegate::webViewUnfocus):
2689 (UIDelegate::webViewFirstResponder):
2690 (UIDelegate::makeFirstResponder):
2691 (UIDelegate::setStatusText):
2692 (UIDelegate::webViewStatusText):
2693 (UIDelegate::webViewAreToolbarsVisible):
2694 (UIDelegate::setToolbarsVisible):
2695 (UIDelegate::webViewIsStatusBarVisible):
2696 (UIDelegate::setStatusBarVisible):
2697 (UIDelegate::webViewIsResizable):
2698 (UIDelegate::setResizable):
2699 (UIDelegate::setContentRect):
2700 (UIDelegate::webViewContentRect):
2701 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2702 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2703 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2704 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2705 (UIDelegate::mouseDidMoveOverElement):
2706 (UIDelegate::contextMenuItemsForElement):
2707 (UIDelegate::validateUserInterfaceItem):
2708 (UIDelegate::shouldPerformAction):
2709 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2710 (UIDelegate::willPerformDragDestinationAction):
2711 (UIDelegate::dragSourceActionMaskForPoint):
2712 (UIDelegate::willPerformDragSourceAction):
2713 (UIDelegate::contextMenuItemSelected):
2714 (UIDelegate::trackCustomPopupMenu):
2715 (UIDelegate::measureCustomMenuItem):
2716 (UIDelegate::drawCustomMenuItem):
2717 (UIDelegate::addCustomMenuDrawingData):
2718 (UIDelegate::cleanUpCustomMenuDrawingData):
2719 (UIDelegate::canTakeFocus):
2720 (UIDelegate::takeFocus):
2721 (UIDelegate::registerUndoWithTarget):
2722 (UIDelegate::removeAllActionsWithTarget):
2723 (UIDelegate::setActionTitle):
2726 (UIDelegate::canUndo):
2727 (UIDelegate::canRedo):
2728 (UIDelegate::webViewResizerRect):
2729 (UIDelegate::webViewDrawResizer):
2730 (UIDelegate::webViewScrolled):
2731 (UIDelegate::webViewShouldInterruptJavaScript):
2732 (UIDelegate::webViewReceivedFocus):
2733 (UIDelegate::webViewLostFocus):
2734 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2735 (FrameLoadDelegate::QueryInterface):
2736 (FrameLoadDelegate::AddRef):
2737 (FrameLoadDelegate::Release):
2738 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2739 (FrameLoadDelegate::didCommitLoadForFrame):
2740 (FrameLoadDelegate::didReceiveTitle):
2741 (FrameLoadDelegate::processWork):
2743 (FrameLoadDelegate::locationChangeDone):
2744 (FrameLoadDelegate::didFinishLoadForFrame):
2745 (FrameLoadDelegate::didFailLoadWithError):
2746 (FrameLoadDelegate::windowScriptObjectAvailable):
2747 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2748 (FrameLoadDelegate::FrameLoadDelegate):
2750 2007-09-14 Sam Weinig <sam@webkit.org>
2752 Reviewed by Kevin McCullough.
2754 Move mac specific globals in to mac/DumpRenderTreeMac.h
2756 * DumpRenderTree/DumpRenderTree.h:
2757 * DumpRenderTree/DumpRenderTree.mm: Removed.
2758 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2759 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2760 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2762 2007-09-14 Brady Eidson <beidson@apple.com>
2764 Rubberstamped by Weinig
2766 You know, Sam, some of us use case-sensitve filesystems...
2768 * DumpRenderTree/DumpRenderTree.h:
2769 * DumpRenderTree/mac/UIDelegate.mm:
2771 2007-09-14 Sam Weinig <sam@webkit.org>
2773 Rubber stamped by Adam Roben.
2775 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2776 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2778 * DumpRenderTree/AppleScriptController.h: Removed.
2779 * DumpRenderTree/AppleScriptController.m: Removed.
2780 * DumpRenderTree/DumpRenderTree.h:
2781 * DumpRenderTree/DumpRenderTree.mm:
2782 (startJavaScriptThreads):
2783 (stopJavaScriptThreads):
2785 (setDefaultColorProfileToRGB):
2786 (makeLargeMallocFailSilently):
2787 (dumpFrameScrollPosition):
2791 (-[DumpRenderTreeWindow isKeyWindow]):
2792 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2793 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2794 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2795 * DumpRenderTree/EditingDelegate.h: Removed.
2796 * DumpRenderTree/EditingDelegate.m: Removed.
2797 * DumpRenderTree/EventSendingController.h: Removed.
2798 * DumpRenderTree/EventSendingController.m: Removed.
2799 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2800 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2801 * DumpRenderTree/GCController.mm: Removed.
2802 * DumpRenderTree/ImageDiff.m: Removed.
2803 * DumpRenderTree/LayoutTestController.cpp:
2804 (LayoutTestController::LayoutTestController):
2805 (dumpAsTextCallback):
2806 (dumpBackForwardListCallback):
2807 (dumpChildFramesAsTextCallback):
2808 (dumpChildFrameScrollPositionsCallback):
2809 (dumpDOMAsWebArchiveCallback):
2810 (dumpEditingCallbacksCallback):
2811 (dumpFrameLoadCallbacksCallback):
2812 (dumpResourceLoadCallbacksCallback):
2813 (dumpSelectionRectCallback):
2814 (dumpSourceAsWebArchiveCallback):
2815 (dumpTitleChangesCallback):
2816 (repaintSweepHorizontallyCallback):
2817 (setCallCloseOnWebViewsCallback):
2818 (setCanOpenWindowsCallback):
2819 (setCloseRemainingWindowsWhenCompleteCallback):
2820 (testRepaintCallback):
2821 (addFileToPasteboardOnDragCallback):
2822 (waitUntilDoneCallback):
2823 * DumpRenderTree/LayoutTestController.h:
2824 (LayoutTestController::dumpAsText):
2825 (LayoutTestController::setDumpAsText):
2826 (LayoutTestController::dumpBackForwardList):
2827 (LayoutTestController::setDumpBackForwardList):
2828 (LayoutTestController::dumpChildFrameScrollPositions):
2829 (LayoutTestController::setDumpChildFrameScrollPositions):
2830 (LayoutTestController::dumpChildFramesAsText):
2831 (LayoutTestController::setDumpChildFramesAsText):
2832 (LayoutTestController::dumpDOMAsWebArchive):
2833 (LayoutTestController::setDumpDOMAsWebArchive):
2834 (LayoutTestController::dumpSelectionRect):
2835 (LayoutTestController::setDumpSelectionRect):
2836 (LayoutTestController::dumpSourceAsWebArchive):
2837 (LayoutTestController::setDumpSourceAsWebArchive):
2838 (LayoutTestController::dumpTitleChanges):
2839 (LayoutTestController::setDumpTitleChanges):
2840 (LayoutTestController::dumpEditingCallbacks):
2841 (LayoutTestController::setDumpEditingCallbacks):
2842 (LayoutTestController::dumpResourceLoadCallbacks):
2843 (LayoutTestController::setDumpResourceLoadCallbacks):
2844 (LayoutTestController::dumpFrameLoadCallbacks):
2845 (LayoutTestController::setDumpFrameLoadCallbacks):
2846 (LayoutTestController::addFileToPasteboardOnDrag):
2847 (LayoutTestController::setAddFileToPasteboardOnDrag):
2848 (LayoutTestController::callCloseOnWebViews):
2849 (LayoutTestController::setCallCloseOnWebViews):
2850 (LayoutTestController::canOpenWindows):
2851 (LayoutTestController::setCanOpenWindows):
2852 (LayoutTestController::closeRemainingWindowsWhenComplete):
2853 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2854 (LayoutTestController::testRepaint):
2855 (LayoutTestController::setTestRepaint):
2856 (LayoutTestController::testRepaintSweepHorizontally):
2857 (LayoutTestController::setTestRepaintSweepHorizontally):
2858 (LayoutTestController::waitToDump):
2859 (LayoutTestController::windowIsKey):
2860 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2861 * DumpRenderTree/NavigationController.h: Removed.
2862 * DumpRenderTree/NavigationController.m: Removed.
2863 * DumpRenderTree/ObjCController.h: Removed.
2864 * DumpRenderTree/ObjCController.m: Removed.
2865 * DumpRenderTree/ObjCPlugin.h: Removed.
2866 * DumpRenderTree/ObjCPlugin.m: Removed.
2867 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2868 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2869 * DumpRenderTree/PolicyDelegate.h: Removed.
2870 * DumpRenderTree/PolicyDelegate.m: Removed.
2871 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2872 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2873 * DumpRenderTree/TextInputController.h: Removed.
2874 * DumpRenderTree/TextInputController.m: Removed.
2875 * DumpRenderTree/UIDelegate.h: Removed.
2876 * DumpRenderTree/UIDelegate.mm: Removed.
2877 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2878 * DumpRenderTree/mac: Added.
2879 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2880 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2881 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2882 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2883 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2884 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2885 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2886 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2887 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2888 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2889 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2890 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2891 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2892 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2893 (-[EditingDelegate webViewDidBeginEditing:]):
2894 (-[EditingDelegate webViewDidChange:]):
2895 (-[EditingDelegate webViewDidEndEditing:]):
2896 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2897 (-[EditingDelegate webViewDidChangeSelection:]):
2898 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2899 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2900 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2901 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2902 (-[FrameLoadDelegate init]):
2903 (-[FrameLoadDelegate dealloc]):
2904 (-[FrameLoadDelegate processWork:]):
2905 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2906 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2907 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2908 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2909 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2910 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2911 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2912 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2913 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2914 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2915 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2916 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2917 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2918 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2919 (-[FrameLoadDelegate webView:willCloseFrame:]):
2920 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2921 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2922 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2923 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2924 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2925 (LayoutTestController::notifyDone):
2926 (LayoutTestController::setWindowIsKey):
2927 (LayoutTestController::setWaitToDump):
2928 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2929 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2930 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2931 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2932 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2933 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2934 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2935 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2936 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2937 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2938 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2939 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2940 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2941 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2942 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2943 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2944 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2945 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2946 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2947 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2948 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2949 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2950 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2951 (-[UIDelegate webViewFocus:]):
2952 (-[UIDelegate webView:createWebViewWithRequest:]):
2953 (-[UIDelegate webViewClose:]):
2954 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2956 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2960 - Changing Win version of Drosera work with recent changes.
2962 * Drosera/DebuggerDocument.cpp:
2963 * Drosera/DebuggerDocument.h:
2964 * Drosera/mac/DebuggerDocumentPlatform.mm:
2965 (NSStringCreateWithJSStringRef):
2966 (JSValueRefCreateWithNSString):
2967 * Drosera/win/DebuggerClient.cpp:
2968 (DebuggerClient::stepInto):
2969 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2971 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2975 - Moved isPaused into the JS for efficiency and simplicity.
2977 * Drosera/DebuggerDocument.cpp:
2978 (DebuggerDocument::DebuggerDocument):
2979 (DebuggerDocument::pauseCallback):
2980 (DebuggerDocument::resumeCallback):
2981 (DebuggerDocument::isPaused):
2982 (DebuggerDocument::staticFunctions):
2983 * Drosera/DebuggerDocument.h:
2984 * Drosera/console.js:
2985 * Drosera/debugger.js:
2986 * Drosera/mac/DebuggerClient.mm:
2987 (-[DebuggerClient validateUserInterfaceItem:]):
2989 2007-09-13 Sam Weinig <sam@webkit.org>
2991 Rubber stamped by Darin.
2993 Make DumpRenderTree more cross platform ready.
2994 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2995 - Use CF types instead of NS objects.
2998 * DumpRenderTree/DumpRenderTree.h:
2999 * DumpRenderTree/DumpRenderTree.mm:
3003 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3004 * DumpRenderTree/EditingDelegate.m:
3005 * DumpRenderTree/FrameLoadDelegate.h:
3006 * DumpRenderTree/FrameLoadDelegate.mm:
3007 (-[FrameLoadDelegate init]):
3008 (-[FrameLoadDelegate dealloc]):
3009 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3010 * DumpRenderTree/GCController.cpp: Added.
3011 (GCController::GCController):
3012 (GCController::~GCController):
3014 (collectOnAlternateThreadCallback):
3015 (getJSObjectCountCallback):
3016 (GCController::makeWindowObject):
3017 (GCController::getJSClass):
3018 (GCController::staticFunctions):
3019 * DumpRenderTree/GCController.h:
3020 * DumpRenderTree/GCController.mm:
3021 (GCController::collect):
3022 (GCController::collectOnAlternateThread):
3023 (GCController::getJSObjectCount):
3024 * DumpRenderTree/LayoutTestController.cpp:
3025 (LayoutTestController::makeWindowObject):
3026 (LayoutTestController::getJSClass):
3027 * DumpRenderTree/LayoutTestController.h:
3028 * DumpRenderTree/LayoutTestControllerMac.mm:
3029 (LayoutTestController::addDisallowedURL):
3030 (waitUntilDoneWatchdogFired):
3031 (LayoutTestController::waitUntilDone):
3032 * DumpRenderTree/ResourceLoadDelegate.m:
3033 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3035 2007-09-12 Sam Weinig <sam@webkit.org>
3037 Reviewed by Stephanie.
3039 Fix leaks in mac DumpRenderTree.
3041 * DumpRenderTree/FrameLoadDelegate.mm:
3042 (-[FrameLoadDelegate init]): Initalize in the correct order.
3043 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
3044 * DumpRenderTree/LayoutTestController.cpp:
3045 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
3046 (encodeHostNameCallback): ditto.
3047 * DumpRenderTree/LayoutTestController.h:
3048 * DumpRenderTree/LayoutTestControllerMac.mm:
3049 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
3050 (LayoutTestController::copyEncodedHostName): ditto
3051 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
3053 2007-09-12 Kevin McCullough <kmccullough@apple.com>
3057 - 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.
3059 * Scripts/run-webkit-tests:
3061 2007-09-12 Kevin McCullough <kmccullough@apple.com>
3065 - Simplified code paths and extracted out functions to increase encapsulation.
3067 * Drosera/DebuggerDocument.cpp:
3068 (DebuggerDocument::breakpointEditorHTMLCallback):
3069 (DebuggerDocument::isPausedCallback):
3070 (DebuggerDocument::pauseCallback):
3071 (DebuggerDocument::resumeCallback):
3072 (DebuggerDocument::stepIntoCallback):
3073 (DebuggerDocument::evaluateScriptCallback):
3074 (DebuggerDocument::currentFunctionStackCallback):
3075 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3076 (DebuggerDocument::valueForScopeVariableNamedCallback):
3077 (DebuggerDocument::logCallback):
3078 * Drosera/DebuggerDocument.h:
3079 (DebuggerDocument::getPaused):
3080 * Drosera/mac/DebuggerClient.mm:
3081 (-[DebuggerClient pause:]):
3082 (-[DebuggerClient resume:]):
3083 (-[DebuggerClient stepInto:]):
3084 (-[DebuggerClient stepOver:]):
3085 (-[DebuggerClient stepOut:]):
3086 (-[DebuggerClient showConsole:]):
3087 (-[DebuggerClient closeCurrentFile:]):
3088 (-[DebuggerClient validateUserInterfaceItem:]):
3089 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
3090 (+[NSString stringOrNilFromWebScriptResult:]):
3091 (DebuggerDocument::platformPause):
3092 (DebuggerDocument::platformResume):
3093 (DebuggerDocument::platformStepInto):
3094 (DebuggerDocument::platformEvaluateScript):
3095 (DebuggerDocument::getPlatformCurrentFunctionStack):
3096 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3097 (DebuggerDocument::platformValueForScopeVariableNamed):
3098 (DebuggerDocument::platformLog):
3099 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3101 2007-09-12 Sam Weinig <sam@webkit.org>
3103 Build fix for Buildbot.
3105 * DumpRenderTree/DumpRenderTree.mm:
3108 2007-09-12 Kevin McCullough <kmccullough@apple.com>
3112 - Updated the leaks list for leopard to help identify regressions.
3114 * Scripts/run-webkit-tests:
3116 2007-09-12 Sam Weinig <sam@webkit.org>
3118 Rubber stamped by Darin.
3120 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
3122 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
3123 * DumpRenderTree/DumpRenderTree.m: Removed.
3124 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
3125 (stopJavaScriptThreads): Fix initialization.
3126 (setDefaultColorProfileToRGB): Add explicit cast from void*.
3127 (dumpRenderTree): Ditto.
3129 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
3131 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3132 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
3133 * DumpRenderTree/FrameLoadDelegate.m: Removed.
3134 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
3135 (-[FrameLoadDelegate init]):
3136 (-[FrameLoadDelegate dealloc]):
3137 (-[FrameLoadDelegate processWork:]):
3138 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3139 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3140 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
3142 * DumpRenderTree/LayoutTestController.cpp: Added.
3143 (LayoutTestController::LayoutTestController):
3144 (LayoutTestController::~LayoutTestController):
3145 (dumpAsTextCallback):
3146 (dumpBackForwardListCallback):
3147 (dumpChildFramesAsTextCallback):
3148 (dumpChildFrameScrollPositionsCallback):
3149 (dumpDOMAsWebArchiveCallback):
3150 (dumpEditingCallbacksCallback):
3151 (dumpFrameLoadCallbacksCallback):
3152 (dumpResourceLoadCallbacksCallback):
3153 (dumpSelectionRectCallback):
3154 (dumpSourceAsWebArchiveCallback):
3155 (dumpTitleChangesCallback):
3156 (repaintSweepHorizontallyCallback):
3157 (setCallCloseOnWebViewsCallback):
3158 (setCanOpenWindowsCallback):
3159 (setCloseRemainingWindowsWhenCompleteCallback):
3160 (testRepaintCallback):
3161 (addFileToPasteboardOnDragCallback):
3162 (addDisallowedURLCallback):
3163 (clearBackForwardListCallback):
3164 (decodeHostNameCallback):
3166 (encodeHostNameCallback):
3167 (keepWebHistoryCallback):
3168 (notifyDoneCallback):
3169 (queueBackNavigationCallback):
3170 (queueForwardNavigationCallback):
3171 (queueLoadCallback):
3172 (queueReloadCallback):
3173 (queueScriptCallback):
3174 (setAcceptsEditingCallback):
3175 (setCustomPolicyDelegateCallback):
3176 (setMainFrameIsFirstResponderCallback):
3177 (setTabKeyCyclesThroughElementsCallback):
3178 (setUseDashboardCompatibilityModeCallback):
3179 (setUserStyleSheetEnabledCallback):
3180 (setUserStyleSheetLocationCallback):
3181 (setWindowIsKeyCallback):
3182 (waitUntilDoneCallback):
3183 (windowCountCallback):
3184 (LayoutTestController::makeWindowObject):
3185 (LayoutTestController::getLayoutTestControllerJSClass):
3186 (LayoutTestController::staticFunctions):
3187 * DumpRenderTree/LayoutTestController.h: Replaced.
3188 * DumpRenderTree/LayoutTestController.m: Removed.
3189 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
3190 (LayoutTestController::dumpAsText):
3191 (LayoutTestController::dumpBackForwardList):
3192 (LayoutTestController::dumpChildFramesAsText):
3193 (LayoutTestController::dumpChildFrameScrollPositions):
3194 (LayoutTestController::dumpDOMAsWebArchive):
3195 (LayoutTestController::dumpEditingCallbacks):
3196 (LayoutTestController::dumpFrameLoadCallbacks):
3197 (LayoutTestController::dumpResourceLoadCallbacks):
3198 (LayoutTestController::dumpSelectionRect):
3199 (LayoutTestController::dumpSourceAsWebArchive):
3200 (LayoutTestController::dumpTitleChanges):
3201 (LayoutTestController::repaintSweepHorizontally):
3202 (LayoutTestController::setCallCloseOnWebViews):
3203 (LayoutTestController::setCanOpenWindows):
3204 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3205 (LayoutTestController::testRepaint):
3206 (LayoutTestController::addFileToPasteboardOnDrag):
3207 (LayoutTestController::addDisallowedURL):
3208 (LayoutTestController::clearBackForwardList):
3209 (LayoutTestController::decodeHostName):
3210 (LayoutTestController::encodeHostName):
3211 (LayoutTestController::display):
3212 (LayoutTestController::keepWebHistory):
3213 (LayoutTestController::notifyDone):
3214 (LayoutTestController::queueBackNavigation):
3215 (LayoutTestController::queueForwardNavigation):
3216 (LayoutTestController::queueLoad):
3217 (LayoutTestController::queueReload):
3218 (LayoutTestController::queueScript):
3219 (LayoutTestController::setAcceptsEditing):
3220 (LayoutTestController::setCustomPolicyDelegate):
3221 (LayoutTestController::setMainFrameIsFirstResponder):
3222 (LayoutTestController::setTabKeyCyclesThroughElements):
3223 (LayoutTestController::setUseDashboardCompatibilityMode):
3224 (LayoutTestController::setUserStyleSheetEnabled):
3225 (LayoutTestController::setUserStyleSheetLocation):
3226 (LayoutTestController::setWindowIsKey):
3227 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
3228 (LayoutTestController::waitUntilDone):
3229 (LayoutTestController::windowCount):
3230 Use the JSCore API to implement the LayoutTestController.
3232 * DumpRenderTree/ObjCController.h:
3233 * DumpRenderTree/ObjCController.m:
3234 (+[ObjCController isSelectorExcludedFromWebScript:]):
3235 (+[ObjCController webScriptNameForSelector:]):
3236 (-[ObjCController accessStoredWebScriptObject]):
3237 (-[ObjCController storeWebScriptObject:]):
3238 (-[ObjCController dealloc]):
3239 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
3240 Move WebScriptObject tests to ObjCController.
3242 * DumpRenderTree/UIDelegate.m: Removed.
3243 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
3245 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
3246 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
3247 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
3248 (WorkQueueItem::~WorkQueueItem):
3249 (LoadItem::LoadItem):
3252 (ScriptItem::ScriptItem):
3253 (ScriptItem::script):
3254 * DumpRenderTree/WorkQueueItemMac.mm: Added.
3256 (ReloadItem::invoke):
3257 (ScriptItem::invoke):
3258 (BackForwardItem::invoke):
3259 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
3260 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
3263 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3267 - Updated Win side to take advantage of the platform separating changes.
3269 * Drosera/DebuggerDocument.cpp:
3270 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3271 * Drosera/DebuggerDocument.h:
3272 * Drosera/win/DebuggerClient.cpp:
3273 (DebuggerClient::pause):
3274 (DebuggerClient::resume):
3275 (DebuggerClient::stepInto):
3276 (DebuggerDocument::platformPause):
3277 (DebuggerDocument::platformResume):
3278 (DebuggerDocument::platformStepInto):
3279 (DebuggerDocument::platformEvaluateScript):
3280 (DebuggerDocument::getPlatformCurrentFunctionStack):
3281 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3282 (DebuggerDocument::platformValueForScopeVariableNamed):
3283 (DebuggerDocument::platformLog):
3284 * Drosera/win/DebuggerClient.h:
3285 * Drosera/win/Drosera.cpp:
3287 (Drosera::windowScriptObjectAvailable):
3288 (Drosera::initWithServerName):
3289 (Drosera::switchToServerNamed):
3290 * Drosera/win/Drosera.h:
3291 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3293 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3297 - Just doing the moves in a separate patch so the changes are easier to see.
3299 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
3300 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
3301 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
3302 * Drosera/win/DebuggerDocumentWin.h: Removed.
3303 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3305 2007-09-11 Sven Herzberg <sven@imendio.com>
3307 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
3308 http://bugs.webkit.org/show_bug.cgi?id=15176
3310 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
3311 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
3312 other paths eg. from jhbuild)
3314 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3318 - Made an order-of-deletion mistake.
3320 * Drosera/DebuggerDocument.h:
3321 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3322 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3323 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3324 * Drosera/mac/DebuggerClient.mm:
3325 (DebuggerDocument::platformPause):
3326 (DebuggerDocument::platformResume):
3327 (DebuggerDocument::platformStepInto):
3328 (DebuggerDocument::platformEvaluateScript):
3329 (DebuggerDocument::getPlatformCurrentFunctionStack):
3330 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3331 (DebuggerDocument::platformValueForScopeVariableNamed):
3332 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3334 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3338 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
3340 * Drosera/DebuggerDocument.cpp:
3341 (DebuggerDocument::DebuggerDocument):
3342 * Drosera/DebuggerDocument.h:
3343 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3344 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3345 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3346 * Drosera/mac/DebuggerApplication.mm:
3347 (-[DebuggerApplication attach:]):
3348 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
3349 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
3350 (DebuggerDocument::platformPause):
3351 (DebuggerDocument::platformResume):
3352 (DebuggerDocument::platformStepInto):
3353 (DebuggerDocument::platformEvaluateScript):
3354 (DebuggerDocument::getPlatformCurrentFunctionStack):
3355 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3356 (DebuggerDocument::platformValueForScopeVariableNamed):
3357 (DebuggerDocument::platformLog):
3358 * Drosera/mac/DebuggerDocumentMac.h: Removed.
3359 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3360 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3362 2007-09-09 Sam Weinig <sam@webkit.org>
3364 Reviewed by Mark Rowe.
3366 Remove 'objC' prefix from methods now in the ObjCController.
3368 * DumpRenderTree/ObjCController.m:
3369 (+[ObjCController isSelectorExcludedFromWebScript:]):
3370 (+[ObjCController webScriptNameForSelector:]):
3371 (-[ObjCController classNameOf:]):
3372 (-[ObjCController objectOfClass:]):
3373 (-[ObjCController identityIsEqual::]):
3374 (-[ObjCController longLongRoundTrip:]):
3375 (-[ObjCController unsignedLongLongRoundTrip:]):
3377 2007-09-09 Sam Weinig <sam@webkit.org>
3381 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
3382 - Move LayoutTestController into its own file.
3383 - Move Objective-C only functions on LayoutTestController into a new controller called the
3386 * DumpRenderTree/DumpRenderTree.h:
3387 * DumpRenderTree/DumpRenderTree.m:
3389 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3390 * DumpRenderTree/FrameLoadDelegate.m:
3391 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3392 * DumpRenderTree/LayoutTestController.h: Added.
3393 * DumpRenderTree/LayoutTestController.m: Added.
3394 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3395 (+[LayoutTestController webScriptNameForSelector:]):
3396 (-[LayoutTestController clearBackForwardList]):
3397 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3398 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3399 (-[LayoutTestController setCustomPolicyDelegate:]):
3400 (-[LayoutTestController keepWebHistory]):
3401 (-[LayoutTestController setCallCloseOnWebViews:]):
3402 (-[LayoutTestController setCanOpenWindows]):
3403 (-[LayoutTestController waitUntilDone]):
3404 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3405 (-[LayoutTestController notifyDone]):
3406 (-[LayoutTestController dumpAsText]):
3407 (-[LayoutTestController addFileToPasteboardOnDrag]):
3408 (-[LayoutTestController addDisallowedURL:]):
3409 (-[LayoutTestController setUserStyleSheetLocation:]):
3410 (-[LayoutTestController setUserStyleSheetEnabled:]):
3411 (-[LayoutTestController dumpDOMAsWebArchive]):
3412 (-[LayoutTestController dumpSourceAsWebArchive]):
3413 (-[LayoutTestController dumpSelectionRect]):
3414 (-[LayoutTestController dumpTitleChanges]):
3415 (-[LayoutTestController dumpBackForwardList]):
3416 (-[LayoutTestController windowCount]):
3417 (-[LayoutTestController dumpChildFrameScrollPositions]):
3418 (-[LayoutTestController dumpChildFramesAsText]):
3419 (-[LayoutTestController dumpEditingCallbacks]):
3420 (-[LayoutTestController dumpResourceLoadCallbacks]):
3421 (-[LayoutTestController dumpFrameLoadCallbacks]):
3422 (-[LayoutTestController setWindowIsKey:]):
3423 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3424 (-[LayoutTestController display]):
3425 (-[LayoutTestController testRepaint]):
3426 (-[LayoutTestController repaintSweepHorizontally]):
3427 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3428 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
3429 (-[LayoutTestController _doLoad:target:]):
3430 (-[LayoutTestController _doBackOrForwardNavigation:]):
3431 (-[LayoutTestController queueBackNavigation:]):
3432 (-[LayoutTestController queueForwardNavigation:]):
3433 (-[LayoutTestController queueReload]):
3434 (-[LayoutTestController queueScript:]):
3435 (-[LayoutTestController queueLoad:target:]):
3436 (-[LayoutTestController setAcceptsEditing:]):
3437 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3438 (-[LayoutTestController storeWebScriptObject:]):
3439 (-[LayoutTestController accessStoredWebScriptObject]):
3440 (-[LayoutTestController dealloc]):
3441 (-[LayoutTestController decodeHostName:]):
3442 (-[LayoutTestController encodeHostName:]):
3443 * DumpRenderTree/ObjCController.h: Added.
3444 * DumpRenderTree/ObjCController.m: Added.
3445 (+[ObjCController isSelectorExcludedFromWebScript:]):
3446 (+[ObjCController webScriptNameForSelector:]):
3447 (-[ObjCController objCClassNameOf:]):
3448 (-[ObjCController objCObjectOfClass:]):
3449 (-[ObjCController objCIdentityIsEqual::]):
3450 (-[ObjCController objCLongLongRoundTrip:]):
3451 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
3452 (-[ObjCController testWrapperRoundTripping:]):
3454 2007-09-07 Sam Weinig <sam@webkit.org>
3458 Strip trailing and leading space/newline characters from skiplist file names.
3460 * Scripts/run-webkit-tests:
3462 2007-09-06 Kevin McCullough <kmccullough@apple.com>
3466 - Changed Drosera to take advantage of the JSRetainPtr changes.
3468 * Drosera/DebuggerDocument.cpp:
3469 (DebuggerDocument::breakpointEditorHTML):
3470 (DebuggerDocument::evaluateScript):
3471 (DebuggerDocument::valueForScopeVariableNamed):
3472 (DebuggerDocument::log):
3473 (DebuggerDocument::windowScriptObjectAvailable):
3474 (DebuggerDocument::toJSArray):
3475 (DebuggerDocument::callFunctionOnObject):
3476 (DebuggerDocument::logException):
3477 * Drosera/mac/DebuggerDocumentMac.mm:
3478 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3479 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3480 (DebuggerDocument::platformEvaluateScript):
3481 (DebuggerDocument::getPlatformCurrentFunctionStack):
3482 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3483 (DebuggerDocument::platformValueForScopeVariableNamed):
3485 2007-09-05 Kevin McCullough <kmccullough@apple.com>
3487 Reviewed by Adam, Sam, Darin.
3489 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
3491 * Drosera/Debugger.h: Added.
3492 * Drosera/DebuggerDocument.cpp:
3493 (DebuggerDocument::breakpointEditorHTMLCallback):
3494 (DebuggerDocument::isPausedCallback):
3495 (DebuggerDocument::pauseCallback):
3496 (DebuggerDocument::resumeCallback):
3497 (DebuggerDocument::stepIntoCallback):
3498 (DebuggerDocument::evaluateScriptCallback):
3499 (DebuggerDocument::currentFunctionStackCallback):
3500 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3501 (DebuggerDocument::valueForScopeVariableNamedCallback):
3502 (DebuggerDocument::logCallback):
3503 (DebuggerDocument::breakpointEditorHTML):
3504 (DebuggerDocument::isPaused):
3505 (DebuggerDocument::pause):
3506 (DebuggerDocument::resume):
3507 (DebuggerDocument::stepInto):
3508 (DebuggerDocument::evaluateScript):
3509 (DebuggerDocument::currentFunctionStack):
3510 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3511 (DebuggerDocument::valueForScopeVariableNamed):
3512 (DebuggerDocument::log):
3513 (DebuggerDocument::toolbarPause):
3514 (DebuggerDocument::toolbarResume):
3515 (DebuggerDocument::toolbarStepInto):
3516 (DebuggerDocument::toolbarStepOver):
3517 (DebuggerDocument::toolbarStepOut):
3518 (DebuggerDocument::toolbarShowConsole):
3519 (DebuggerDocument::toolbarCloseCurrentFile):
3520 (DebuggerDocument::updateFileSource):
3521 (DebuggerDocument::didParseScript):
3522 (DebuggerDocument::willExecuteStatement):
3523 (DebuggerDocument::didEnterCallFrame):
3524 (DebuggerDocument::willLeaveCallFrame):
3525 (DebuggerDocument::exceptionWasRaised):
3526 (DebuggerDocument::windowScriptObjectAvailable):
3527 (DebuggerDocument::toJSArray):
3528 (DebuggerDocument::callGlobalFunction):
3529 (DebuggerDocument::callFunctionOnObject):
3530 (DebuggerDocument::getDroseraJSClass):
3531 (DebuggerDocument::staticFunctions):
3532 (DebuggerDocument::logException):
3533 * Drosera/DebuggerDocument.h:
3534 (DebuggerDocument::DebuggerDocument):
3535 * Drosera/ForwardingHeaders: Added.
3536 * Drosera/ForwardingHeaders/wtf: Added.
3537 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3539 * Drosera/console.html:
3540 * Drosera/console.js:
3541 * Drosera/debugger.js:
3542 * Drosera/mac/DebuggerApplication.mm: