1 2007-11-07 Simon Hausmann <hausmann@kde.org>
3 Reviewed by Lars Knoll <lars@trolltech.com>.
5 Moved all the event handlers from QWebFrame into QWebPage.
7 This cleans up the public API and allows us to remove the
8 HackWebFrame hack in DumpRenderTree.
11 * DumpRenderTree/qt/jsobjects.cpp:
12 (EventSender::mouseDown):
13 (EventSender::mouseUp):
14 (EventSender::mouseMoveTo):
16 2007-11-07 Simon Hausmann <hausmann@kde.org>
20 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
21 to prevent the default implementation from popping up messageboxes.
23 * DumpRenderTree/qt/DumpRenderTree.cpp:
24 (WebCore::WebPage::javaScriptConfirm):
25 (WebCore::WebPage::javaScriptPrompt):
27 2007-11-06 Eric Seidel <eric@webkit.org>
29 * Scripts/build-testkjs: build fix... too many $$
31 2007-11-06 Eric Seidel <eric@webkit.org>
33 Reviewed by Mark Rowe.
35 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
37 2007-11-05 Adam Roben <aroben@apple.com>
39 Add support on Windows for WEBKIT_TESTFONTS
41 This environment variable lets you specify where the fonts to be used
42 by DumpRenderTree reside. The Qt port is already using this, so I'm
43 just following their lead.
47 * DumpRenderTree/win/DumpRenderTree.cpp:
48 (exePath): Refactored code out of initialize().
49 (fontsPath): Returns either $WEBKIT_TESTFONTS or
50 DumpRenderTree.resources.
51 (initialize): Use the new fontsPath function.
52 (main): Use the new exePath function.
53 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
54 variable to DRT, like Qt does.
56 2007-11-05 Mark Rowe <mrowe@apple.com>
58 Rubber-stamped by Alp Toker.
60 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
62 * GtkLauncher/main.cpp:
66 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
68 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
69 <http://bugs.webkit.org/show_bug.cgi?id=15830>
73 Restrict the range of nightly builds used by the bisect-builds script
74 based on the version of Safari and the version of Mac OS X being used.
76 Mac OS X 10.4: Safari 2.0: r11976 or newer
77 Mac OS X 10.4: Safari 3.0: r19992 or newer
79 Mac OS X 10.5: Safari 2.0: r19594 or newer
80 Mac OS X 10.5: Safari 3.0: r25124 or newer
82 * Scripts/bisect-builds:
83 (findMacOSXVersion): Added.
84 (makeNightlyList): Added argument to provide version of Mac OS X.
85 Restrict range of nightly builds based on Safari and Mac OS X versions.
87 2007-11-04 Kevin McCullough <kmccullough@apple.com>
91 - This patch involves several changes, all of them were noticed that
92 they were needed by the work being done in WebKit to get Drosera and
93 WebKit working together on Windows.
95 1) Added a debugger console for output messages.
96 2) Drosera now listens for the WebKit server (before, the server would
97 have to be running before Drosera was started.)
98 3) Fixed a bug where the WebView started out as 0x0 pixels.
99 4) Fixed a bug when there is no scope.
100 5) Added the HTML, JS, and CSS to the project file to make them easy to
102 6) Made the ServerConnection functions virtual.
104 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
105 for the WebKit server.
106 (DebuggerClient::DebuggerClient):
107 (DebuggerClient::~DebuggerClient):
108 (DebuggerClient::didFinishLoadForFrame):
109 (DebuggerClient::serverConnected):
110 (DebuggerClient::attemptToCreateServerConnection):
111 * Drosera/win/DebuggerClient.h: Ditto.
112 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
114 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
115 (DebuggerDocument::platformValueForScopeVariableNamed):
116 * Drosera/win/Drosera.cpp:
117 (_tWinMain): Added a console in debug for output messages.
118 (Drosera::Drosera): Listen for server.
119 (Drosera::initUI): The server now Initializes COM.
120 (Drosera::serverConnected): Part of the listening for the server.
121 (Drosera::attemptToCreateServerConnection): Ditto.
122 * Drosera/win/Drosera.h: New interface for listening for the server.
123 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
124 files to the VS project.
125 * Drosera/win/ServerConnection.cpp: Part of listening for the server
127 (ServerConnection::ServerConnection):
128 (ServerConnection::attemptToCreateServerConnection):
129 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
131 (ServerConnection::serverConnected):
133 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
137 http://bugs.webkit.org/show_bug.cgi?id=15832
138 fast/dom/gc-10.html crashes when run alone
140 Check for !done before using objects that can be already deallocated.
142 * DumpRenderTree/mac/EditingDelegate.mm:
143 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
144 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
145 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
146 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
147 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
148 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
149 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
150 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
151 (-[EditingDelegate webViewDidBeginEditing:]):
152 (-[EditingDelegate webViewDidChange:]):
153 (-[EditingDelegate webViewDidEndEditing:]):
154 (-[EditingDelegate webViewDidChangeTypingStyle:]):
155 (-[EditingDelegate webViewDidChangeSelection:]):
156 * DumpRenderTree/mac/FrameLoadDelegate.mm:
157 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
158 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
159 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
160 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
161 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
162 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
163 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
164 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
165 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
166 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
167 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
168 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
169 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
170 (-[FrameLoadDelegate webView:willCloseFrame:]):
171 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
172 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
173 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
174 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
175 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
176 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
177 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
178 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
179 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
181 2007-11-04 Mark Rowe <mrowe@apple.com>
183 Build fix. Don't use Carbon.h as the prefix header as it triggers
184 warnings that would otherwise be suppressed due to it being a system header.
186 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
188 2007-11-03 Maciej Stachowiak <mjs@apple.com>
190 Rubber stamped by Adam.
192 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
194 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
196 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
198 Sort files(...); sections of Xcode project files.
200 Rubber-stamped by Darin.
202 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
203 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
204 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
205 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
207 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
209 Script to sort "files(...);" sections in Xcode project.pbxproj files.
213 * Scripts/sort-Xcode-project-file: Added.
215 2007-11-02 Darin Adler <darin@apple.com>
217 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
219 2007-11-02 Darin Adler <darin@apple.com>
223 * Scripts/run-sunspider: Pass the "--base" option through.
225 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
226 the real script do that. Default configuration to Release to match run-sunspider
227 so we don't end up building Debug just to compare results.
229 2007-11-01 Adam Roben <aroben@apple.com>
231 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
235 * Scripts/commit-log-editor: Show all the directories beneath the
236 source root, instead of just the last one.
238 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
240 Reviewed by Adam Roben.
242 Print out an error message when the Windows build fails
243 and provide guidance on how to find out what went wrong.
245 * Scripts/build-webkit:
246 * Scripts/webkitdirs.pm:
248 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
250 Rubber-stamped by Adam Roben.
252 Rolled out r27326 - debug CRT seems to cause no problems after all.
254 * DumpRenderTree/win/DumpRenderTree.vcproj:
256 2007-10-31 Adam Roben <aroben@apple.com>
258 Switch the Debug configuration to using the non-debug CRT
264 * DumpRenderTree/win/DumpRenderTree.vcproj:
266 2007-10-31 Antti Koivisto <antti@apple.com>
270 Disable media tests when doing leak checking on Tiger.
271 They crash in QuickTime (rdar://problem/5537157).
273 * Scripts/run-webkit-tests:
275 2007-10-29 Antti Koivisto <antti@apple.com>
279 Build media support by default on OSX only.
281 * Scripts/build-webkit:
283 2007-10-30 Kevin McCullough <kmccullough@apple.com>
285 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
286 get caught by the pre-commit hooks.
288 2007-10-30 Kevin McCullough <kmccullough@apple.com>
292 - This is a collection of relatively unrelated changes and cleanups
293 to Drosera to prepare it for interacting with WebKit. A lot of these
294 changes are just correcting mistakes, for example removing included
295 headers that are no longer needed.
297 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
298 this will be needed by the DebuggerClient.
299 (DebuggerDocument::server):
300 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
301 * Drosera/win/DebuggerClient.cpp:
302 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
303 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
304 (DebuggerClient::createWebViewWithRequest): Added comment about its
306 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
308 (DebuggerClient::webViewLoaded): Moved.
309 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
310 file, since this was the only place it was used.
312 * Drosera/win/Drosera.h: Cleaned up the includes.
313 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
314 * Drosera/win/HelperFunctions.h: Removed.
316 2007-10-30 Kevin McCullough <kmccullough@apple.com>
320 - Small cleanup in the ServerConnection class.
322 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
323 and added an include.
324 (ServerConnection::currentFrame):
325 (ServerConnection::getCallerFrame):
326 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
327 made a pointer into a COMPtr, and cleaned up the includes.
329 2007-10-29 Timothy Hatcher <timothy@apple.com>
331 Reviewed by John Sullivan.
333 - Place the Localizable.strings file in mac or win directories
334 if that location exists.
335 - Also look for UI_STRING in .c files.
337 * Scripts/extract-localizable-strings:
339 2007-10-30 Kevin McCullough <kmccullough@apple.com>
343 - Set the eol-style to native and made all the line endings the same
344 so that I avoid messy diffs that show eol changes.
346 * Drosera/win/ServerConnection.cpp:
347 (ServerConnection::didParseSource):
348 (ServerConnection::didEnterCallFrame):
349 (ServerConnection::willExecuteStatement):
350 (ServerConnection::willLeaveCallFrame):
351 (ServerConnection::exceptionWasRaised):
353 2007-10-30 Kevin McCullough <kmccullough@apple.com>
357 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
358 functionality that could not have existed previously without the new
360 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
361 from a BSTR to a JSValueRef.
362 (DebuggerDocument::platformEvaluateScript): Implemented.
363 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
364 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
366 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
367 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
368 * Drosera/win/ServerConnection.cpp: Added a helper function.
369 (ServerConnection::getCallerFrame):
370 * Drosera/win/ServerConnection.h: Added a helper function.
372 2007-10-29 Kevin McCullough <kmccullough@apple.com>
374 updated reviewers for my previous changelog.
376 2007-10-29 Kevin McCullough <kmccullough@apple.com>
377 Reviewed by Maciej and Adam and Geoff.
379 - Minor mac-side improvements including moving a function to a more
380 appropriate location, fixing a warning, and correctly checking
383 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
384 (DebuggerDocument::willExecuteStatement):
385 (DebuggerDocument::didEnterCallFrame):
386 (DebuggerDocument::willLeaveCallFrame):
387 (DebuggerDocument::windowScriptObjectAvailable):
388 (DebuggerDocument::callFunctionOnObject):
389 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
390 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
391 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
392 because it doesn't require the ServerConnection at all.
393 (NSStringCreateWithJSStringRef): Made an argument const.
394 (JSValueRefCreateWithNSString): Made an argument const.
395 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
396 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
397 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
398 * Drosera/mac/ServerConnection.mm: Ditto.
399 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
401 2007-10-29 Sam Weinig <sam@webkit.org>
403 Reviewed by Adam Roben.
405 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
407 * DumpRenderTree/LayoutTestController.cpp:
408 (LayoutTestController::LayoutTestController):
409 (getGlobalFlagCallback):
410 (setGlobalFlagCallback):
411 (LayoutTestController::getJSClass):
412 (LayoutTestController::staticValues):
413 * DumpRenderTree/LayoutTestController.h:
414 (LayoutTestController::globalFlag):
415 (LayoutTestController::setGlobalFlag):
417 2007-10-29 Darin Adler <darin@apple.com>
421 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
422 resolution instead of its default.
424 2007-10-29 David Kilzer <ddkilzer@webkit.org>
426 Fixed showStatus() to print status for successfully resolved conflicts when using git.
428 Reviewed by Mark Rowe.
430 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
431 was successfully resolved, but this would not show any status because the change had
432 already been cached in the index using "git add". The solution is to add an optional
433 second argument to showStatus() which adds the "--cached" switch to the command.
435 * Scripts/resolve-ChangeLogs:
438 2007-10-28 Eric Seidel <eric@webkit.org>
440 Reviewed by Maciej and Geoff, in unison.
442 * Scripts/run-webkit-tests: remove broken --svg option
444 2007-10-28 Darin Adler <darin@apple.com>
448 * Scripts/run-sunspider: Default to "Release" configuration rather than
449 defaulting to the last configuration used as other scripts do. This can
450 still be overriden on the command line with "--debug" if there's some
451 reason to do so. Also fix a typo.
453 * Scripts/sunspider-compare-results: Fix a typo.
455 2007-10-26 Kevin McCullough <kmccullough@apple.com>
459 - Implemented the WebScriptDebugListener functions now that the
460 WebScriptDebugServer exists
462 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
464 (ServerConnection::currentFrame):
465 (ServerConnection::didLoadMainResourceForDataSource):
466 (ServerConnection::didParseSource):
467 (ServerConnection::failedToParseSource):
468 (ServerConnection::didEnterCallFrame):
469 (ServerConnection::willExecuteStatement):
470 (ServerConnection::willLeaveCallFrame):
471 (ServerConnection::exceptionWasRaised):
472 * Drosera/win/ServerConnection.h: Removed unused arguments from the
473 members arguments list.
475 2007-10-26 David Kilzer <ddkilzer@webkit.org>
477 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
478 <http://bugs.webkit.org/show_bug.cgi?id=15600>
482 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
483 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
484 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
485 file. Note that it may also be used as a stand-alone script.
487 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
488 * Scripts/resolve-ChangeLogs: Added.
489 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
491 2007-10-26 Mark Rowe <mrowe@apple.com>
493 Qt build fix. r27084 added a destructor implementation for LayoutTestController
494 to the Qt port on the assumption that it was an implementation of the cross-platform
495 LayoutTestController class. It is not, so it did not need to be changed.
497 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
499 2007-10-25 Mark Rowe <mrowe@apple.com>
503 Fix builds with code coverage enabled.
505 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
507 2007-10-25 Darin Adler <darin@apple.com>
509 Reviewed by Mark Rowe.
511 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
512 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
514 2007-10-25 Stephanie <slewis@apple.com>
518 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
520 2007-10-25 Stephanie <slewis@apple.com>
522 Reviewed by Mark Rowe, Adam Roben.
524 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
526 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
528 2007-10-25 Alice Liu <alice.liu@apple.com>
532 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
534 Moving destructor into platform-specific files
535 * DumpRenderTree/LayoutTestController.cpp:
536 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
537 (LayoutTestController::~LayoutTestController):
538 * DumpRenderTree/qt/jsobjects.cpp:
539 (LayoutTestController::~LayoutTestController):
541 LayoutTestController wasn't being destroyed
542 * DumpRenderTree/win/DumpRenderTree.cpp:
546 * DumpRenderTree/win/EditingDelegate.h:
548 Reset certain values on the webview (or related delegate) that might
549 have changed while running a test
550 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
551 (LayoutTestController::~LayoutTestController):
553 2007-10-25 Adam Roben <aroben@apple.com>
555 Make sunspider-compare-results work with relative paths
559 * Scripts/sunspider-compare-results: Convert arguments to absolute
560 paths before we chdir.
562 2007-10-25 Kevin McCullough <kmccullough@apple.com>
566 - Implemented server calls now the WebScriptDebugServer exists.
567 - Also removed no longer needed call to initialize CG.
569 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
572 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
573 (ServerConnection::ServerConnection):
574 (ServerConnection::~ServerConnection):
575 (ServerConnection::pause):
576 (ServerConnection::resume):
577 (ServerConnection::stepInto):
578 (ServerConnection::applicationTerminating):
579 (ServerConnection::serverConnectionDidDie):
580 * Drosera/win/ServerConnection.h: Now uses the COM class.
582 2007-10-24 George Staikos <staikos@kde.org>
586 * Scripts/build-webkit:
588 2007-10-24 Adam Roben <aroben@apple.com>
590 Remove now-unnecessary call to InitializeCoreGraphics
592 WebKit takes care of this now.
596 * DumpRenderTree/win/DumpRenderTree.cpp:
599 2007-10-24 Adam Roben <aroben@apple.com>
601 Use WebTextRenderer in DRT
605 * DumpRenderTree/win/DumpRenderTree.cpp:
606 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
608 2007-10-24 Sven Herzberg <sven@imendio.com>
610 Reviewed by Mark Rowe.
612 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
613 Bug 15614: [GTK] qmake based backends don't build on OS X
615 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
617 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
618 isDarwin() to make it reusable in other places (like the workaround-
619 for-prebuilt-qmake in build-webkit)
621 2007-10-24 David Kilzer <ddkilzer@webkit.org>
623 Refurbish update-webkit script.
627 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
628 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
629 multi-argument version of system() for flexibility and security. Check for existence
630 of Internal directory using -d test instead of -x.
632 2007-10-24 David Kilzer <ddkilzer@webkit.org>
634 Minor clean-up of prepare-ChangeLog script.
638 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
639 of a string. Use multi-argument versions of open() and system() for flexibility and
642 2007-10-24 Alice Liu <alice.liu@apple.com>
646 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
648 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
649 replay the saved events when we're still processing the mousedown that starts the drag
650 * DumpRenderTree/win/EventSender.cpp:
652 * DumpRenderTree/win/UIDelegate.cpp:
653 (UIDelegate::doDragDrop):
655 2007-10-24 Kevin McCullough <kmccullough@apple.com>
657 Reviewed by Sam, Steve and Darin.
659 - Stubbed out the WebScriptDebugListener functionality in the Server
660 Connection class to prepare it for receiving those callbacks.
661 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
662 and the ServerConnection to not need to be initialized with a server
663 name, since that is not the way we connect to the WebKit server.
665 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
666 no exception. Now it only loggs when there is an exception
667 (DebuggerDocument::willExecuteStatement):
668 (DebuggerDocument::didEnterCallFrame):
669 (DebuggerDocument::willLeaveCallFrame):
670 (DebuggerDocument::windowScriptObjectAvailable):
671 (DebuggerDocument::callFunctionOnObject):
672 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
673 to be instantiated with a server's name.
674 (DebuggerClient::DebuggerClient):
675 (DebuggerClient::didFinishLoadForFrame):
676 * Drosera/win/DebuggerClient.h: Removed unsued variable.
677 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
680 (Drosera::initServer):
681 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
682 instantiated with a server's name.
683 * Drosera/win/ServerConnection.cpp:
684 (ServerConnection::ServerConnection): No longer needs a server name
685 (ServerConnection::~ServerConnection): Only release the global context
687 (ServerConnection::serverConnectionDidDie): Stub for
688 IWebScriptDebugListener
689 (ServerConnection::QueryInterface): ditto
690 (ServerConnection::AddRef): ditto
691 (ServerConnection::Release): ditto
692 (ServerConnection::didLoadMainResourceForDataSource): ditto
693 (ServerConnection::didParseSource): ditto
694 (ServerConnection::failedToParseSource): ditto
695 (ServerConnection::didEnterCallFrame): ditto
696 (ServerConnection::willExecuteStatement): ditto
697 (ServerConnection::willLeaveCallFrame): ditto
698 (ServerConnection::exceptionWasRaised): ditto
699 * Drosera/win/ServerConnection.h: Stubbed out the
700 IWebScriptDebugListener functions, and this class no longer needs to be
701 instantiated with a server name.
703 2007-10-24 Lars Knoll <lars@trolltech.com>
707 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
709 * DumpRenderTree/qt/jsobjects.h:
711 2007-10-24 Lars Knoll <lars@trolltech.com>
717 * DumpRenderTree/qt/jsobjects.cpp:
718 (TextInputController::doCommand):
720 2007-10-24 Lars Knoll <lars@trolltech.com>
724 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
726 * DumpRenderTree/qt/jsobjects.cpp:
727 (EventSender::keyDown):
728 * DumpRenderTree/qt/jsobjects.h:
730 2007-10-24 Lars Knoll <lars@trolltech.com>
734 implement eventSender.keyDown().
736 * DumpRenderTree/qt/jsobjects.cpp:
737 (EventSender::keyDown):
739 2007-10-24 Lars Knoll <lars@trolltech.com>
743 some smaller fixes to the editing support in DRT. Makes another few tests pass.
745 * DumpRenderTree/qt/DumpRenderTree.cpp:
746 (WebCore::DumpRenderTree::DumpRenderTree):
747 (WebCore::DumpRenderTree::initJSObjects):
748 * DumpRenderTree/qt/jsobjects.cpp:
749 (TextInputController::doCommand):
751 2007-10-24 Lars Knoll <lars@trolltech.com>
755 first bit of implementation for the textinputcontroller.
757 * DumpRenderTree/qt/DumpRenderTree.cpp:
758 (WebCore::DumpRenderTree::DumpRenderTree):
759 * DumpRenderTree/qt/DumpRenderTree.h:
760 * DumpRenderTree/qt/jsobjects.cpp:
761 (TextInputController::TextInputController):
762 (TextInputController::doCommand):
763 * DumpRenderTree/qt/jsobjects.h:
765 2007-10-24 Lars Knoll <lars@trolltech.com>
769 make the man webpage believe it has focus, so the editing tests work correctly.
771 * DumpRenderTree/qt/DumpRenderTree.cpp:
772 (WebCore::DumpRenderTree::DumpRenderTree):
774 2007-10-24 Lars Knoll <lars@trolltech.com>
778 implement layoutTestController.dumpEditingCallbacks() correctly.
780 * DumpRenderTree/qt/DumpRenderTree.cpp:
781 (WebCore::DumpRenderTree::DumpRenderTree):
782 * DumpRenderTree/qt/jsobjects.cpp:
783 (LayoutTestController::reset):
784 (LayoutTestController::dumpEditingCallbacks):
786 2007-10-24 Lars Knoll <lars@trolltech.com>
790 Implement support for testing editing.
792 * DumpRenderTree/qt/DumpRenderTree.cpp:
793 (WebCore::DumpRenderTree::DumpRenderTree):
795 2007-10-23 Sam Weinig <sam@webkit.org>
797 Check for null BSTR that can be passed to the UIDelegate methods
798 from javascript null and undefined. Fixes a failing test case on
799 Windows (fast/dom/Window/alert-undefined.html)
801 Reviewed by Eric Seidel.
803 * DumpRenderTree/win/UIDelegate.cpp:
804 (UIDelegate::runJavaScriptAlertPanelWithMessage):
805 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
806 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
807 (UIDelegate::webViewAddMessageToConsole):
809 2007-10-23 Maciej Stachowiak <mjs@apple.com>
813 Don't print a massive pile of setenvs from tools that automatically build testkjs.
815 * Scripts/build-testkjs:
817 2007-10-23 Maciej Stachowiak <mjs@apple.com>
821 - add wrapper that finds the right copy of testkjs
823 * Scripts/sunspider-compare-results: Added.
825 2007-10-23 Kevin McCullough <kmccullough@apple.com>
829 - After talking with Steve I now see that the WebKit server must be
830 running for DCOM to create the distributed objects, which makes sense
831 and currently WebKit only allows one instance to be running at a time
832 which avoids accidentally connecting to the wrong server
833 - In light of this I have removed the code for the attach box and
834 NotificationServer and known server names, since they are all extranious
837 * Drosera/win/Drosera.cpp: Removed notification classes and known server
839 (_tWinMain): Uses init instead of initUI.
840 (droseraWndProc): No longer creats an attach dialog box.
841 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
842 it's not manditory to call init before doing COM stuff.
843 (Drosera::init): calls initUI and will call attach when the
844 functionality exists.
845 (Drosera::initUI): Has changed very little.
846 (Drosera::attach): Changed the signature to reflect that we no longer
847 need the dictionary of known server names.
848 * Drosera/win/Drosera.h: Removed notification classes and known server
849 names. Also renamed and moved some functions.
850 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
851 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
852 headers to the resources folder.
853 * Drosera/win/resource.h: Removed the Attach box.
855 2007-10-22 Adam Roben <aroben@apple.com>
859 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
861 2007-10-22 Kevin McCullough <kmccullough@apple.com>
863 - Removed a leak that was fixed.
865 * Scripts/run-webkit-tests:
867 2007-10-19 Kevin McCullough <kmccullough@apple.com>
871 - Changed the Client so that the DebuggerDocument now own the
872 ServerConnection. This simplifies ownership and cleanup.
874 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
876 (DebuggerClient::initWithServerName):
877 (DebuggerClient::didFinishLoadForFrame):
878 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
880 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
881 until after we have a server which we are attached to.
884 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
887 2007-10-22 Simon Hausmann <hausmann@kde.org>
891 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
893 * Scripts/run-javascriptcore-tests:
895 2007-10-22 Simon Hausmann <hausmann@kde.org>
899 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.
901 * Scripts/build-drosera:
902 * Scripts/build-dumprendertree:
903 * Scripts/build-testkjs:
904 * Scripts/build-webkit:
905 * Scripts/run-javascriptcore-tests:
906 * Scripts/run-sunspider:
907 * Scripts/run-webkit-tests:
908 * Scripts/webkitdirs.pm:
910 2007-10-22 Andrew Wellington <proton@wiretapped.net>
912 Reviewed by Mark Rowe.
914 Fix for local database support after r26879
915 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
917 * Scripts/build-webkit:
919 2007-10-22 Holger Freyther <zecke@selfish.org>
921 Reviewed by Simon Hausmann <hausmann@kde.org>.
923 - Do not build testkjs as an application bundle. This is
924 needed for run-javascriptcore-tests on OSX.
925 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
926 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
927 as we do not have -rpath on OSX.
929 * DumpRenderTree/qt/DumpRenderTree.pro:
930 * Scripts/run-webkit-tests:
932 2007-10-22 Simon Hausmann <hausmann@kde.org>
936 Fix support for Signed-off-by detection in prepare-ChangeLog
937 --git-commit. The Signed-off-by tag does not appear in the header
938 but usually at the end.
940 * Scripts/prepare-ChangeLog:
942 2007-10-21 Mark Rowe <mrowe@apple.com>
946 Fix run-javascriptcore-tests for Gtk.
948 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
950 2007-10-20 Eric Seidel <eric@webkit.org>
954 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
956 2007-10-20 Eric Seidel <eric@webkit.org>
960 Add improved argument handling to run-sunspider, including
961 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
962 Also re-factor code into subroutines
964 * Scripts/build-dumprendertree: removed bogus comments
965 * Scripts/build-testkjs: Added.
966 * Scripts/run-javascriptcore-tests: use build-testkjs
967 * Scripts/run-sunspider: improved argument handling, abstraction
968 * Scripts/run-webkit-tests: improved abstraction
970 2007-10-20 Matt Lilek <webkit@mattlilek.com>
972 Not reviewed, Windows build fix.
974 * DumpRenderTree/win/EventSender.cpp:
977 2007-10-20 Darin Adler <darin@apple.com>
979 Reviewed by Tim Hatcher.
981 - http://bugs.webkit.org/show_bug.cgi?id=15544
982 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
983 not rely on Apple-specific key codes
985 * DumpRenderTree/mac/EventSendingController.mm:
986 (-[EventSendingController keyDown:withModifiers:]):
987 Added named key "rightArrow". Later we could have a whole table of these.
988 Also tweaked modifiers code a little.
990 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
992 2007-10-19 Darin Adler <darin@apple.com>
996 - http://bugs.webkit.org/show_bug.cgi?id=15566
997 possible fix for leak seen in DumpRenderTree
999 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
1000 Delete the item if it's not put on the queue, since the caller has
1001 no way of knowing that. Would be better to have the parameter type
1002 be auto_ptr to express the fact that we take ownership.
1006 * Drosera/mac/main.m: Add missing include.
1008 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1012 - This change should be identical but for some reason was not working
1015 * Scripts/prepare-ChangeLog:
1017 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1019 Reviewed by Oliver and Tim.
1021 - Made use of RetainPtr to avoid retain and release issues and moved the
1022 log function to DebuggerDocumentPlatform, which seems to be a more
1023 logical place for it to live.
1024 - Also moved knownServers from the ServerConnection to
1025 DebuggerApplication to match the Windows code and because it makes sense
1026 that a connection knows its own server but not all of them.
1028 * Drosera/mac/DebuggerClient.h: Moved the log function to
1029 DebuggerDocumentPlatform.
1030 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
1031 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
1032 call for the server name up from the ServerConnection class.
1033 (-[DebuggerClient dealloc]):
1034 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
1035 for the server name up from the ServerConnection.
1036 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
1037 (DebuggerDocument::platformPause):
1038 (DebuggerDocument::platformResume):
1039 (DebuggerDocument::platformStepInto):
1040 (DebuggerDocument::platformEvaluateScript):
1041 (DebuggerDocument::getPlatformCurrentFunctionStack):
1042 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1043 (DebuggerDocument::platformValueForScopeVariableNamed):
1044 (DebuggerDocument::platformLog): Log directly from here. No need to call
1046 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
1047 way I see it, a ServerConnection should only know about its connection
1048 and the group of all possible servers should be kept by the
1050 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
1051 currentServerName, it makes sense that the connection should know that
1053 (-[ServerConnection currentServerName]):
1055 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1059 - Integrated changes from mac drosera. Recently I've encapsulated
1060 out the server connection object from the rest of Drosera because
1061 it is very platform dependent right now and RPC is not implemented on
1062 windows. This functionality, of communicating with the WebKit server
1063 is the next area I will be focusing on in Windows.
1065 - Other changes and cleanup were made to organize the code and add notes
1066 on which parts still need work. Also some mac code is added and
1067 commented out, to act as pseudocode for the logic of those parts.
1069 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
1071 * Drosera/config.h: Added whitespace.
1072 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
1073 these files got moved into Drosera.h/cpp
1074 * Drosera/win/DebuggerApplication.h: Removed.
1075 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
1076 happened here to better match the logic flow of the same code on the
1077 mac side and to use the new ServerConnection class.
1078 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
1079 (DebuggerClient::initWithServerName): Initializer that will set up the
1080 class to use a ServerConnection object. This was necessary so I could
1081 create a DebuggerClient without having to initilaize it at
1083 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
1084 will be the UIDelegate and FrameLoadDelegate.
1085 (DebuggerClient::AddRef): For IUnknown.
1086 (DebuggerClient::Release): For IUnknown.
1087 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
1088 this still needs to set the global context of the server, but
1089 IWebFrame does not have an accessor for the global context yet.
1090 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
1091 this is a pass through for the same function in the document.
1092 (DebuggerClient::didReceiveTitle): Unimplemented part of
1093 FrameLoadDelegate this would change the title of the window.
1094 (DebuggerClient::createWebViewWithRequest): Part of the
1095 FrameLoadDelegate. This is about new windows via Window.open() and
1096 how their delegates are set.
1097 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
1098 UIDelegate. Just a debug function for printing messages.
1099 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
1100 because the Client should be the UIDelegate and FrameLoadDelegate
1101 to match the delegates on mac.
1102 (DebuggerClient::webViewLoaded): Added accessor method.
1103 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
1104 forgotten to add this file before. This is where the platform
1105 dependent versions of the Documents functions live. Most of these are
1106 unimplemented because some piece of functionality does not exist on
1108 (DebuggerDocument::platformPause):
1109 (DebuggerDocument::platformResume):
1110 (DebuggerDocument::platformStepInto):
1111 (DebuggerDocument::platformEvaluateScript):
1112 (DebuggerDocument::getPlatformCurrentFunctionStack):
1113 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1114 (DebuggerDocument::platformValueForScopeVariableNamed):
1115 (DebuggerDocument::platformLog):
1116 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
1117 responsibilities becaue they belong in the Client. Also I laid the
1118 groundwork for attaching Drosera to a WebKit process
1119 (attachWndProc): Now if a server is selected the Client becomes it's
1121 (Drosera::Drosera): Added the construction of the Client and dictionary
1123 (Drosera::initUI): This is no longer the delegates, the Client is.
1124 (Drosera::webViewLoaded): Now asks the Client instead of holding local
1126 (Drosera::applicationDidFinishLaunching): Placeholder for needed
1127 notification registration when it's possible to implement.
1128 (Drosera::serverLoaded): Ditto
1129 (Drosera::serverUnloaded): Ditto
1130 (Drosera::attach): Attach Drosera to the WebKit server.
1131 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
1134 (Drosera::knownServers):
1135 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
1136 and added the ServerConnection.
1137 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
1138 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
1139 Most of the functions are completely unimlemented because they cannot
1140 connect with the WebKit server, because one does not exist on Windows
1142 (ServerConnection::initWithServerName):
1143 (ServerConnection::~ServerConnection):
1144 (ServerConnection::setGlobalContext):
1145 (ServerConnection::pause):
1146 (ServerConnection::resume):
1147 (ServerConnection::stepInto):
1148 (ServerConnection::switchToServerNamed):
1149 (ServerConnection::applicationTerminating):
1150 (ServerConnection::serverConnectionDidDie):
1151 (ServerConnection::currentFrame):
1152 * Drosera/win/ServerConnection.h: Added. Ditto.
1153 (ServerConnection::ServerConnection):
1155 2007-10-19 Alice Liu <alice.liu@apple.com>
1159 Fix for these broken layout tests on Windows:
1161 fast/forms/focus-selection-input.html
1162 fast/forms/focus-selection-textarea.html
1163 fast/forms/select-accesskey.html
1165 * DumpRenderTree/win/EventSender.cpp:
1167 correct the VK code for alt key.
1169 2007-10-19 Eric Seidel <eric@webkit.org>
1171 Reviewed by Mark Rowe.
1173 Make the GtkLauncher code slightly more readable.
1175 * GtkLauncher/main.cpp:
1176 (setupMainMenu): Added.
1177 (setupMainWindowUI): Added.
1180 2007-10-19 Maciej Stachowiak <mjs@apple.com>
1182 Rubber stamped by Adam.
1184 - don't delay-load WebKit in DumpRenderTree.
1186 * DumpRenderTree/win/DumpRenderTree.vcproj:
1188 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
1190 Reviewed by Adam Roben.
1192 - fix <rdar://problem/5313523>
1193 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1195 * DumpRenderTree/mac/DumpRenderTree.mm:
1196 (dump): Changed to use _responseMIMEType.
1198 2007-10-17 Adam Roben <aroben@apple.com>
1200 Make it possible to have Windows-specific tests and results
1202 When searching for tests to run and the Skipped file, we will only
1203 look in platform/win and the cross-platform directory. When looking
1204 for expected results, we will look in platform/win, then
1205 platform/mac-leopard, then platform/mac, then finally the
1206 cross-platform directory.
1210 * Scripts/run-webkit-tests:
1211 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
1212 searching in the cross-platform directory.
1213 (sub buildPlatformHierarchy): Removed some unneeded calls to
1216 2007-10-17 Adam Roben <aroben@apple.com>
1218 Add back the call to register WebKit that we had before WebKitInitializer existed
1220 This is needed to ensure that the right WebKit is used when
1221 instantiating COM objects.
1225 * DumpRenderTree/win/debug_internal.vsprops: Define
1226 DEBUG_WEBKIT_HAS_SUFFIX.
1227 * DumpRenderTree/win/DumpRenderTree.cpp:
1230 2007-10-17 Adam Roben <aroben@apple.com>
1232 Import File::Basename in webkitdirs since we use it
1234 * Scripts/webkitdirs.pm:
1236 2007-10-17 Kevin McCullough <kmccullough@apple.com>
1238 - Updated the tiger leaks list to make the internal bots green.
1240 * Scripts/run-webkit-tests:
1242 2007-10-17 Adam Roben <aroben@apple.com>
1244 Build fix for VC++ Express
1246 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1249 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1253 - Minor mac improvements based on observations I made while implementing the
1256 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1257 then hand it to the Client who will retain it, it should just be the client who
1258 creates and owns the server.
1259 (-[DebuggerApplication attach:]):
1260 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1261 * Drosera/mac/DebuggerClient.mm: Creates the server.
1262 (-[DebuggerClient initWithServerName:]):
1263 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1264 can instead forward declare what it needs.
1266 2007-10-16 Darin Adler <darin@apple.com>
1268 Reviewed by Geoff Garen.
1270 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1271 want to turn failing tests into platform-specific test results. Also did a
1272 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1273 would take the type of results into account only some of the time.
1275 2007-10-16 Adam Roben <aroben@apple.com>
1277 Add a new nightly launcher script for Windows
1279 This new script is for versions of Safari that don't delay-load
1280 WebKit. I had to make FindSafari be able to print out the nightly
1281 launcher script on stdout because Windows shell scripts can't capture
1282 the output from a command into an environment variable.
1286 * FindSafari/FindSafari.cpp:
1287 (_tmain): Added /printSafariLauncher option.
1288 * Scripts/run-webkit-nightly.cmd: Added.
1290 2007-10-16 Adam Roben <aroben@apple.com>
1292 Replace WebKitInitializer with FindSafari
1294 We now rely on setting the PATH environment variable to tell Windows
1295 where to find WebKit and its dependencies (similar to
1296 DYLD_FRAMEWORK_PATH on Mac).
1298 This change also make DumpRenderTree no longer delay-load WebKit.
1302 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1304 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1305 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1306 WebKitInitializer, don't delay-load WebKit.
1307 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1308 * Scripts/run-webkit-tests: Ditto.
1309 * Scripts/webkitdirs.pm:
1310 (sub setPathForRunningWebKitApp): Added.
1311 * WebKitInitializer/WebKitInitializer.cpp: Removed.
1312 * WebKitInitializer/WebKitInitializer.h: Removed.
1313 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1314 * WebKitInitializer/debug.vsprops: Removed.
1315 * WebKitInitializer/debug_internal.vsprops: Removed.
1316 * WebKitInitializer/release.vsprops: Removed.
1318 2007-10-16 Adam Roben <aroben@apple.com>
1320 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1322 http://bugs.webkit.org/show_bug.cgi?id=15532
1324 FindSafari simply prints the location of an installed Safari.exe on
1329 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1332 (getInstalledWebKitDirectory):
1334 * FindSafari/FindSafari.vcproj: Added.
1335 * Scripts/webkitdirs.pm:
1336 (sub installedSafariPath): Added. Calls FindSafari on Windows.
1338 2007-10-16 Adam Roben <aroben@apple.com>
1340 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1342 Reviewed by Kevin McCullough.
1344 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1345 when referring to WebKit.dll.
1346 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1347 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1348 * DumpRenderTree/win/release.vsprops: Ditto.
1349 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1350 never have a _debug suffix on WebKit.dll.
1351 * WebKitInitializer/WebKitInitializer.cpp:
1352 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1354 * WebKitInitializer/debug_internal.vsprops: Added
1355 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1357 2007-10-16 Darin Adler <darin@apple.com>
1361 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1362 Remove now-unneeded control/alt key hack; the tests have been updated.
1364 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1366 - Updated leaks list because our internal bot upgraded it's version of leopard and
1367 one of the leaks was fixed between that revision and the bot's previous version of
1370 * Scripts/run-webkit-tests:
1372 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1376 - I encapsulated out the server connecton functionality because it is a specific part
1377 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1378 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1379 Windows. So the majority of this patch is moving preexisting functionality.
1381 - Also I removed the prefix header and changed to use config.h because it is more
1382 standard on how we use config.h in windows and it didn't make much sense to keep
1383 the prefix header and the config.h
1385 * Drosera/DebuggerDocument.cpp:
1386 (DebuggerDocument::DebuggerDocument):
1387 * Drosera/DebuggerDocument.h:
1389 * Drosera/mac/DebuggerApplication.mm:
1390 (-[DebuggerApplication attach:]):
1391 * Drosera/mac/DebuggerClient.h:
1392 * Drosera/mac/DebuggerClient.mm:
1393 (-[DebuggerClient initWithServerConnection:]):
1394 (-[DebuggerClient dealloc]):
1395 (-[DebuggerClient windowDidLoad]):
1396 (-[DebuggerClient windowWillClose:]):
1397 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1398 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1399 * Drosera/mac/DebuggerDocumentPlatform.mm:
1400 (DebuggerDocument::platformPause):
1401 (DebuggerDocument::platformResume):
1402 (DebuggerDocument::platformStepInto):
1403 (DebuggerDocument::platformEvaluateScript):
1404 (DebuggerDocument::getPlatformCurrentFunctionStack):
1405 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1406 (DebuggerDocument::platformValueForScopeVariableNamed):
1407 (DebuggerDocument::platformLog):
1408 * Drosera/mac/Drosera.pch: Removed.
1409 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1410 * Drosera/mac/ServerConnection.h: Added.
1411 * Drosera/mac/ServerConnection.mm: Added.
1412 (-[ServerConnection initWithServerName:]):
1413 (-[ServerConnection dealloc]):
1414 (-[ServerConnection setGlobalContext:]):
1415 (-[ServerConnection pause]):
1416 (-[ServerConnection resume]):
1417 (-[ServerConnection stepInto]):
1418 (-[ServerConnection switchToServerNamed:]):
1419 (-[ServerConnection applicationTerminating:]):
1420 (-[ServerConnection serverConnectionDidDie:]):
1421 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1422 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1423 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1424 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1425 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1426 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1427 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1428 (-[ServerConnection currentFrame]):
1429 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1430 (-[ServerConnection knownServers]):
1432 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1436 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1437 Script to automatically search nightly builds for regressions (bisect-builds)
1439 * Scripts/bisect-builds: Added.
1441 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1445 - New JavaScript benchmark
1446 http://bugs.webkit.org/show_bug.cgi?id=15515
1448 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1449 current development or release build of JavaScriptCore.
1451 2007-10-15 Mark Rowe <mrowe@apple.com>
1455 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1457 * Scripts/webkitdirs.pm:
1458 - Change checkArgv to remove the options from @ARGV to prevent
1459 them from interfering with further option processing.
1460 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1461 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1462 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1463 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1465 2007-10-15 Darin Adler <darin@apple.com>
1469 - added logging of window.prompt and window.confirm
1471 * DumpRenderTree/mac/UIDelegate.mm:
1472 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1473 Implement the recommended delegate rather than the deprecated one.
1474 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1476 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1479 * DumpRenderTree/win/UIDelegate.h:
1480 * DumpRenderTree/win/UIDelegate.cpp:
1481 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1482 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1483 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1484 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1486 2007-10-15 Alice Liu <alice.liu@apple.com>
1488 Reviewed by Sam Weinig.
1490 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1492 * DumpRenderTree/win/DumpRenderTree.cpp:
1493 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1494 (main): allocate the global policy delegate for DRT's custom use
1495 * DumpRenderTree/win/DumpRenderTree.vcproj:
1496 Adding files to project
1497 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1498 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1499 (LayoutTestController::setCustomPolicyDelegate):
1500 set the webview's policy delegate to DRT's custom one if the test requests it.
1501 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1502 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1503 (PolicyDelegate::PolicyDelegate):
1504 (PolicyDelegate::QueryInterface):
1505 (PolicyDelegate::AddRef):
1506 (PolicyDelegate::Release):
1507 (PolicyDelegate::decidePolicyForNavigationAction):
1508 * DumpRenderTree/win/PolicyDelegate.h: Added.
1509 (PolicyDelegate::decidePolicyForNewWindowAction):
1510 (PolicyDelegate::decidePolicyForMIMEType):
1511 (PolicyDelegate::unableToImplementPolicyWithError):
1513 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1517 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1518 when querying for QMAKE_MKSPECS.
1520 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1522 Reviewed by Adam Roben.
1524 Fix run-webkit-tests is too greedy calculating platform hierarchy
1525 http://bugs.webkit.org/show_bug.cgi?id=15465
1527 Fix run-webkit-tests being too greedy in trying to split the platform name up
1528 causing it to try and find tests in every directory above the first "-" in the
1529 path to the LayoutTests
1531 * Scripts/run-webkit-tests:
1533 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1537 http://bugs.webkit.org/show_bug.cgi?id=15006
1538 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1539 to reduce code duplication.
1541 * Scripts/build-webkit:
1542 * Scripts/webkitdirs.pm:
1543 buildQMakeProject() renamed to buildQMakeQtProject().
1544 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1545 unused $colorize has been removed.
1547 === Start merge of feature-branch 2007-10-12 ===
1549 2007-10-08 Eric Seidel <eric@webkit.org>
1551 Reviewed by Mark Rowe.
1553 * Scripts/build-webkit: add --help, remove unused --color
1555 2007-10-07 Eric Seidel <eric@webkit.org>
1559 * Drosera/mac/DebuggerDocumentPlatform.mm:
1560 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1562 2007-10-03 Rob Buis <buis@kde.org>
1566 Adapt to changed location of Ahem font.
1568 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1570 2007-10-02 Eric Seidel <eric@webkit.org>
1572 Reviewed by Adam Roben.
1574 Make pixel tests more useful!
1575 Finally fix the image diff 0.00% mystery problem
1576 Highlight any image differences in the image diff.
1577 Add a link from image diffs back to original test file.
1579 * DumpRenderTree/mac/ImageDiff.m:
1580 (compareImages): highlight any differences
1581 (computePercentageDifferent): round to two decimal places
1582 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1584 2007-10-02 Eric Seidel <eric@webkit.org>
1586 Reviewed by Alexey Proskuryakov.
1588 * Scripts/run-webkit-tests: print the % image difference on main results page
1590 2007-10-02 Mark Rowe <mrowe@apple.com>
1594 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1596 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1597 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1599 2007-10-01 Mark Rowe <mrowe@apple.com>
1601 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1603 2007-09-25 Eric Seidel <eric@webkit.org>
1605 Reviewed by Mark Rowe.
1607 DerivedSources.make was finding "ENABLE_SVG" in the string
1608 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1611 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1613 2007-09-25 Mark Rowe <mrowe@apple.com>
1615 Rubber-stamped by Eric.
1617 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1618 This makes it possible to automate nightly builds for the feature-branch.
1620 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1622 Rubber stamped by Mark.
1624 Enable svg experimental features as default here in feature-branch.
1626 * Scripts/build-webkit:
1628 2007-06-29 Antti Koivisto <antti@apple.com>
1632 Add VIDEO flag for timed media features
1634 * Scripts/build-webkit
1636 === End merge of feature-branch 2007-10-12 ===
1638 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1642 - Updated rational for the leaks list to be more clear.
1644 * Scripts/run-webkit-tests:
1646 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1648 Rubber Stamp by Sam.
1650 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1651 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1653 * Scripts/run-webkit-tests:
1655 2007-10-10 Simon Hausmann <hausmann@kde.org>
1659 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1660 includes are needed for INT_MAX, std::auto_ptr and the like.
1662 * DumpRenderTree/qt/main.cpp:
1664 2007-10-09 Lars Knoll <lars@trolltech.com>
1668 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1670 * DumpRenderTree/qt/jsobjects.cpp:
1671 (LayoutTestController::encodeHostName):
1672 (LayoutTestController::decodeHostName):
1673 * DumpRenderTree/qt/jsobjects.h:
1675 2007-10-09 Lars Knoll <lars@trolltech.com>
1679 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.
1681 * DumpRenderTree/qt/DumpRenderTree.cpp:
1682 (WebCore::WebPage::createFrame):
1683 (WebCore::DumpRenderTree::DumpRenderTree):
1684 (WebCore::DumpRenderTree::titleChanged):
1685 * DumpRenderTree/qt/DumpRenderTree.h:
1686 * DumpRenderTree/qt/jsobjects.cpp:
1687 (LayoutTestController::reset):
1688 * DumpRenderTree/qt/jsobjects.h:
1690 2007-10-09 Lars Knoll <lars@trolltech.com>
1694 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1696 * DumpRenderTree/qt/DumpRenderTree.h:
1697 * DumpRenderTree/qt/jsobjects.cpp:
1698 (LayoutTestController::clearBackForwardList):
1699 * DumpRenderTree/qt/jsobjects.h:
1701 2007-10-09 Lars Knoll <lars@trolltech.com>
1705 make --git-reviewer work again.
1707 * Scripts/prepare-ChangeLog:
1709 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1711 Rubber stamped by Eric.
1713 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1714 show the current link inside the statusbar.
1715 This shows how to make use of this signal and allows to easily test
1716 http://bugs.webkit.org/show_bug.cgi?id=15299.
1718 * GtkLauncher/main.cpp:
1722 2007-10-05 Lars Knoll <lars@trolltech.com>
1724 add proper error messages to the FrameLoaderClient.
1725 Implement ChromeClientQt::closeWindowSoon and
1726 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1727 Some fixes in DRT to make it work correctly with multiple windows.
1731 * DumpRenderTree/qt/DumpRenderTree.cpp:
1732 (WebCore::DumpRenderTree::DumpRenderTree):
1733 (WebCore::DumpRenderTree::createWindow):
1734 (WebCore::DumpRenderTree::windowCount):
1735 * DumpRenderTree/qt/DumpRenderTree.h:
1736 * DumpRenderTree/qt/jsobjects.cpp:
1737 (LayoutTestController::maybeDump):
1738 (LayoutTestController::windowCount):
1739 * DumpRenderTree/qt/jsobjects.h:
1741 2007-10-05 Lars Knoll <lars@trolltech.com>
1743 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1744 Add support for layoutTextController.setCanOpenWindows() to DRT
1745 fixing another 2 test cases in fast/dom/Window.
1749 * DumpRenderTree/qt/DumpRenderTree.cpp:
1750 (WebCore::WebPage::WebPage):
1751 (WebCore::WebPage::createWindow):
1752 (WebCore::DumpRenderTree::resetJSObjects):
1753 (WebCore::DumpRenderTree::createWindow):
1754 * DumpRenderTree/qt/DumpRenderTree.h:
1755 * DumpRenderTree/qt/DumpRenderTree.pro:
1756 * DumpRenderTree/qt/jsobjects.cpp:
1757 (LayoutTestController::LayoutTestController):
1758 (LayoutTestController::reset):
1759 * DumpRenderTree/qt/jsobjects.h:
1760 * DumpRenderTree/qt/main.cpp:
1761 * DumpRenderTree/qt/testplugin.cpp: Added.
1762 * DumpRenderTree/qt/testplugin.h: Added.
1764 2007-10-04 Sam Weinig <sam@webkit.org>
1766 Rubber stamped by Adam.
1768 Remove empty directories.
1770 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1771 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1773 2007-10-03 Darin Adler <darin@apple.com>
1777 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1778 we find the internal libraries in the libraries directory. This
1779 is helpful for Safari team engineers at Apple.
1781 2007-10-03 Adam Roben <aroben@apple.com>
1783 Update the location of AHEM___.TTF after r25968
1787 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1789 2007-10-03 Alp Toker <alp@atoker.com>
1793 http://bugs.webkit.org/show_bug.cgi?id=14726
1794 [gtk] API design. Mapping the WebView delegates to signals.
1796 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1798 * GtkLauncher/main.cpp:
1802 (menuMainBackCallback):
1803 (menuMainForwardCallback):
1806 2007-10-03 Lars Knoll <lars@trolltech.com>
1810 This fixes --strict mode in run-webkit-tests again after
1811 the platform dependent test results have been moved.
1813 * Scripts/run-webkit-tests:
1815 2007-10-03 Lars Knoll <lars@trolltech.com>
1819 remove the hack in run-webkit-tests that forced text only test
1820 to be taken from the platform independent dir. It was only left
1821 there from early days.
1823 Remove platform dependent results for tests that are text only nowadays,
1824 and add one platform dependent result for a text only test that requires it.
1826 * Scripts/run-webkit-tests:
1828 2007-10-03 Lars Knoll <lars@trolltech.com>
1832 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1834 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1835 (WebCore::WebFrame::WebFrame):
1836 (WebCore::WebPage::WebPage):
1837 (WebCore::WebPage::createFrame):
1838 (WebCore::WebPage::javaScriptAlert):
1839 (WebCore::WebPage::javaScriptConsoleMessage):
1840 (WebCore::DumpRenderTree::DumpRenderTree):
1841 (WebCore::DumpRenderTree::~DumpRenderTree):
1842 (WebCore::DumpRenderTree::open):
1843 (WebCore::DumpRenderTree::readStdin):
1844 (WebCore::DumpRenderTree::resetJSObjects):
1845 (WebCore::DumpRenderTree::initJSObjects):
1846 (WebCore::DumpRenderTree::dumpFramesAsText):
1847 (WebCore::DumpRenderTree::dump):
1848 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1849 (WebCore::DumpRenderTree::layoutTestController):
1850 (WebCore::DumpRenderTree::eventSender):
1851 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1852 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1853 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1854 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1855 (HackWebFrame::mousePressEvent):
1856 (HackWebFrame::mouseReleaseEvent):
1857 (HackWebFrame::mouseMoveEvent):
1858 (HackWebFrame::HackWebFrame):
1859 (HackWebFrame::~HackWebFrame):
1860 (LayoutTestController::LayoutTestController):
1861 (LayoutTestController::reset):
1862 (LayoutTestController::maybeDump):
1863 (LayoutTestController::waitUntilDone):
1864 (LayoutTestController::notifyDone):
1865 (LayoutTestController::dumpEditingCallbacks):
1866 (LayoutTestController::queueReload):
1867 (LayoutTestController::provisionalLoad):
1868 (LayoutTestController::timerEvent):
1869 (EventSender::EventSender):
1870 (EventSender::mouseDown):
1871 (EventSender::mouseUp):
1872 (EventSender::mouseMoveTo):
1873 (EventSender::leapForward):
1874 (EventSender::keyDown):
1875 (EventSender::frameUnderMouse):
1876 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1877 (LayoutTestController::isLoading):
1878 (LayoutTestController::setLoading):
1879 (LayoutTestController::shouldDumpAsText):
1880 (LayoutTestController::shouldDumpChildrenAsText):
1881 (LayoutTestController::shouldWaitUntilDone):
1882 (LayoutTestController::dumpAsText):
1883 (LayoutTestController::dumpChildFramesAsText):
1884 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1888 * Scripts/run-webkit-tests:
1890 2007-10-03 Mark Rowe <mrowe@apple.com>
1892 Reviewed by Alp Toker.
1894 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1895 should take precedence over QTDIR when determining which port we are working with.
1897 * Scripts/webkitdirs.pm:
1899 2007-10-02 Adam Roben <aroben@apple.com>
1901 Add keychain to the list of default packages to install
1903 Rubberstamped by Sam.
1905 * CygwinDownloader/cygwin-downloader.py:
1906 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1908 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1912 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1913 Also makes WebCore regression test case logic work when using git.
1915 * Scripts/prepare-ChangeLog:
1916 (reviewerAndDescriptionForGitCommit): Added.
1918 2007-10-02 Lars Knoll <lars@trolltech.com>
1922 Add API to retrieve the frame name from QWebFrame.
1923 Implement support for DRT::dumpChildrenAsText.
1925 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1926 (WebCore::DumpRenderTree::dumpFramesAsText):
1927 (WebCore::DumpRenderTree::dump):
1928 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1929 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1930 (LayoutTestController::LayoutTestController):
1931 (LayoutTestController::reset):
1932 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1934 2007-10-02 Lars Knoll <lars@trolltech.com>
1938 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1940 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1941 (WebCore::DumpRenderTree::readStdin):
1943 2007-10-02 Mark Rowe <mrowe@apple.com>
1947 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1949 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1950 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1952 2007-10-02 Mark Rowe <mrowe@apple.com>
1954 Rubber-stamped by Maciej.
1956 Configuration changes from build.webkit.org. The major change is refactoring to work
1957 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1960 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1961 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1962 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1963 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1964 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1965 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1966 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1967 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1969 2007-10-02 Lars Knoll <lars@trolltech.com>
1973 Add support for eventSender.mouseMove to DRT.
1974 Fixes fast/css/hover-affects-child.html
1976 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1977 (EventSender::mouseMoveTo):
1979 2007-10-01 Mark Rowe <mrowe@apple.com>
1981 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1983 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1987 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1989 * Scripts/svn-apply:
1990 (gitdiff2svndiff): Ignore lines beginning with "new file".
1991 * Scripts/svn-unapply:
1992 (gitdiff2svndiff): Ditto.
1994 2007-09-30 George Staikos <staikos@kde.org>
1996 Qt build fix (Mac OS X specific)
1998 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2000 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
2004 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
2005 Remove Bakefiles from svn.
2007 * GtkLauncher/Bakefiles.bkgen: Removed.
2008 * GtkLauncher/ENV: Removed.
2009 * GtkLauncher/gdklauncher.bkl: Removed.
2010 * GtkLauncher/mk: Removed.
2011 * Scripts/regenerate-makefiles: Removed.
2013 2007-09-25 Kevin McCullough <kmccullough@apple.com>
2017 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
2019 * Scripts/run-webkit-tests:
2021 2007-09-26 Adam Roben <aroben@apple.com>
2023 Make not finding an installed WebKit non-fatal
2025 What really matters is that we are able to load WebKit and its
2026 dependencies, not whether we think we've found an installed WebKit.
2030 * WebKitInitializer/WebKitInitializer.cpp:
2031 (getWebViewCLSID): Use new LOG_WARNING macro.
2032 (getInstalledWebKitDirectory): Ditto.
2033 (initializeWebKit): Don't die if we didn't find an installed WebKit,
2035 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
2037 2007-09-26 Adam Roben <aroben@apple.com>
2039 Committed this file before saving it
2041 * WebKitInitializer/debug_internal.vsprops:
2043 2007-09-26 Adam Roben <aroben@apple.com>
2045 Load WebKit and its dependencies manually so they come from DllDirectory
2047 I had to change WebKitInitializer to use malloc/free instead of
2048 new/delete to avoid pulling in WebKit (and its dependencies) early
2049 through use of fastMalloc.
2053 * WebKitInitializer/WebKitInitializer.cpp:
2054 (getStringValue): Changed to use malloc/free.
2055 (getInstalledWebKitDirectory): Ditto.
2056 (initializeWebKit): Call SetDllDirectory first, then load all of
2057 WebKit's dependencies manually, finally followed by WebKit itself.
2058 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
2059 configuration to match our other projects.
2060 * WebKitInitializer/debug_internal.vsprops: Added.
2062 2007-09-25 Adam Roben <aroben@apple.com>
2064 Actually define DEBUG/NDEBUG so that we load WebKit correctly
2066 Rubberstamped by Sam.
2068 * WebKitInitializer/WebKitInitializer.vcproj:
2070 2007-09-25 Adam Roben <aroben@apple.com>
2072 Make DumpRenderTree delay-load its dependencies
2074 This lets WebKitInitializer re-route the dependencies to be loaded out
2075 of the Safari installation directory.
2077 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
2078 same thing), since we can't import the kCFAllocatorDefault symbol when
2079 delay-loading CoreFoundation.dll.
2081 Rubberstamped by Sam.
2083 * DumpRenderTree/win/DumpRenderTree.cpp:
2085 (javaScriptThreads):
2086 * DumpRenderTree/win/DumpRenderTree.vcproj:
2087 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2088 (LayoutTestController::setWaitToDump):
2090 2007-09-25 Adam Roben <aroben@apple.com>
2092 Pull ole32.lib into WebKitInitializer
2094 Rubberstamped by Sam.
2096 * WebKitInitializer/WebKitInitializer.vcproj:
2098 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2102 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2103 LGPL'ed files contain incorrect FSF address
2107 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2111 Make svn-apply and svn-unapply work with git-diff formatted patches.
2113 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
2114 (gitdiff2svndiff): Added.
2115 * Scripts/svn-unapply: Ditto.
2116 (gitdiff2svndiff): Added.
2118 2007-09-25 Adam Roben <aroben@apple.com>
2120 Pull advapi32.lib into WebKitInitializer
2122 This is needed to get the registry functions we use.
2124 Rubberstamped by Sam.
2126 * WebKitInitializer/WebKitInitializer.vcproj:
2128 2007-09-25 Adam Roben <aroben@apple.com>
2130 Add python and rsync to cygwin-downloader
2132 Our build slaves need this, and it can't hurt for everyone else to
2137 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
2138 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2140 2007-09-25 Adam Roben <aroben@apple.com>
2142 Add WebKitInitializer and use it in DumpRenderTree
2144 WebKitInitializer is a static library that has one function,
2145 initializeWebKit(). This registers WebKit and sets up the DLL search
2146 path so that WebKit's dependencies that are installed with Safari can
2151 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
2152 DumpRenderTree depend on it.
2153 * DumpRenderTree/win/DumpRenderTree.cpp:
2154 (initialize): Call initializeWebKit.
2155 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
2156 WebKitInitializer.lib.
2157 * WebKitInitializer/WebKitInitializer.cpp: Added.
2160 (getInstalledWebKitDirectory):
2162 * WebKitInitializer/WebKitInitializer.h: Added.
2163 * WebKitInitializer/WebKitInitializer.vcproj: Added.
2164 * WebKitInitializer/debug.vsprops: Added.
2165 * WebKitInitializer/release.vsprops: Added.
2167 2007-09-25 Adam Roben <aroben@apple.com>
2169 Make run-webkit-tests respect set-webkit-configuration
2173 * Scripts/run-webkit-tests: Initialize $configuration to whatever
2174 set-webkit-configuration was last set to.
2176 2007-09-25 Mark Rowe <mrowe@apple.com>
2178 Rubber-stamped by Eric.
2180 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2181 This makes it possible to automate nightly builds for the feature-branch.
2183 2007-09-25 Adam Roben <aroben@apple.com>
2185 A couple of fixes/enhancements to update-webkit-*-libs
2187 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
2188 to tell update-webkit-support-libraries where it should find the
2189 WebKitSupportLibrary.zip file you downloaded.
2191 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
2196 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
2197 to $auxiliaryLibsURL and removed an irrelevant comment.
2198 * Scripts/update-webkit-support-libs:
2200 2007-09-25 Adam Treat <treat@kde.org>
2202 Reviewed by Simon and Lars.
2204 Refactors and cleans up Qt DRT member variable names, member variable
2205 initialization, style fixes and general code cleanup.
2207 Adds queueReload slot to LayoutTestController that some tests require.
2209 Subclasses QWebFrame to make sure that all frames have an associated
2210 LayoutTestController JS window object.
2212 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
2213 aren't dumped twice.
2217 Together, this patch fixes some 20+ layout tests in QtWebKit.
2219 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2220 (WebCore::WebFrame::WebFrame):
2221 (WebCore::WebPage::WebPage):
2222 (WebCore::WebPage::createFrame):
2223 (WebCore::DumpRenderTree::DumpRenderTree):
2224 (WebCore::DumpRenderTree::open):
2225 (WebCore::DumpRenderTree::readStdin):
2226 (WebCore::DumpRenderTree::initJSObjects):
2227 (WebCore::DumpRenderTree::dump):
2228 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2229 (WebCore::DumpRenderTree::layoutTestController):
2230 (WebCore::DumpRenderTree::eventSender):
2231 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2232 (LayoutTestController::LayoutTestController):
2233 (LayoutTestController::reset):
2234 (LayoutTestController::maybeDump):
2235 (LayoutTestController::waitUntilDone):
2236 (LayoutTestController::notifyDone):
2237 (LayoutTestController::queueReload):
2238 (LayoutTestController::provisionalLoad):
2239 (EventSender::EventSender):
2240 (EventSender::mouseDown):
2241 (EventSender::mouseUp):
2242 (EventSender::mouseMoveTo):
2243 (EventSender::frameUnderMouse):
2244 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2245 (LayoutTestController::isLoading):
2246 (LayoutTestController::setLoading):
2247 (LayoutTestController::dumpAsText):
2248 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2251 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2254 - Reverted an accidentally checked in file.
2256 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2258 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2261 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2263 * DumpRenderTree/win/DumpRenderTree.vcproj:
2264 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2266 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
2268 Rubber stamped by Adam.
2270 * GdkLauncher: Removed.
2271 * GdkLauncher/Bakefiles.bkgen: Removed.
2272 * GdkLauncher/ENV: Removed.
2273 * GdkLauncher/GdkLauncher.pro: Removed.
2274 * GdkLauncher/gdklauncher.bkl: Removed.
2275 * GdkLauncher/main.cpp: Removed.
2276 * GdkLauncher/mk: Removed.
2277 * GdkLauncher/simple.svg: Removed.
2278 * GdkLauncher/text.html: Removed.
2279 * GtkLauncher: Added.
2280 * GtkLauncher/GdkLauncher.pro: Removed.
2281 * GtkLauncher/GtkLauncher.pro: Added.
2282 * GtkLauncher/main.cpp:
2283 (updateWindowTitle):
2285 * Scripts/build-webkit:
2286 * Scripts/regenerate-makefiles:
2287 * Scripts/run-javascriptcore-tests:
2288 * Scripts/run-launcher:
2289 * Scripts/run-webkit-tests:
2290 * Scripts/webkitdirs.pm:
2292 2007-09-21 Timothy Hatcher <timothy@apple.com>
2296 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2298 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2299 This is tested by plugins/root-object-premature-delete-crash.html.
2301 * DumpRenderTree/mac/ObjCController.m:
2302 (-[ObjCController accessStoredWebScriptObject]):
2304 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2308 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2310 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2311 (FrameLoadDelegate::FrameLoadDelegate):
2313 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
2317 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2318 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2320 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2321 Now isQt() and isGdk() use global variables that are only set once.
2323 An array of all the parameters is now given to build-dumprender which includes
2324 the platform on linux.
2326 * Scripts/build-dumprendertree:
2327 * Scripts/run-webkit-tests:
2328 * Scripts/webkitdirs.pm:
2330 2007-09-19 Adam Roben <aroben@apple.com>
2332 Rubberstamped by Hyatt.
2334 * Spinneret: Removed.
2336 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
2338 Reviewed by David Kilzer.
2340 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2342 2007-09-18 Sam Weinig <sam@webkit.org>
2344 Add JSRetainPtr.h #include to fix some builds.
2346 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2348 2007-09-18 Mike Hommey <glandium@debian.org>
2352 * Scripts/prepare-ChangeLog:
2353 - Properly parse GECOS field.
2354 - Use git configuration for user name and email when appropriate.
2356 2007-09-17 Sam Weinig <sam@webkit.org>
2360 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2362 2007-09-17 Sam Weinig <sam@webkit.org>
2364 Reviewed by Adam Roben.
2366 Share more code between mac and windows DRT.
2367 - GCController is now shared.
2368 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2370 * DumpRenderTree/GCController.cpp:
2371 * DumpRenderTree/win/DumpRenderTree.cpp:
2372 * DumpRenderTree/win/DumpRenderTree.vcproj:
2373 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2374 (FrameLoadDelegate::FrameLoadDelegate):
2375 (FrameLoadDelegate::~FrameLoadDelegate):
2376 (FrameLoadDelegate::windowScriptObjectAvailable):
2377 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2378 * DumpRenderTree/win/GCController.cpp: Removed.
2379 * DumpRenderTree/win/GCController.h: Removed.
2380 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2381 (GCController::collect):
2382 (GCController::collectOnAlternateThread):
2383 (GCController::getJSObjectCount):
2384 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2385 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2387 2007-09-17 Sam Weinig <sam@webkit.org>
2389 Reviewed by Adam Roben.
2391 Begin sharing code between mac and windows DRT.
2392 - both now share LayoutTestController.h/cpp and implement platform dependant
2393 operations in LayoutTestControllerMac/Win.
2394 - DumpRenderTree.h is now shared.
2395 - WorkQueue and WorkQueueItem are also shared.
2397 * DumpRenderTree/DumpRenderTree.h:
2398 * DumpRenderTree/LayoutTestController.cpp:
2399 * DumpRenderTree/win/DumpRenderTree.cpp:
2401 (dumpFrameScrollPosition):
2405 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2406 * DumpRenderTree/win/DumpRenderTree.vcproj:
2407 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2408 * DumpRenderTree/win/EditingDelegate.cpp:
2409 (EditingDelegate::shouldBeginEditingInDOMRange):
2410 (EditingDelegate::shouldEndEditingInDOMRange):
2411 (EditingDelegate::shouldInsertNode):
2412 (EditingDelegate::shouldInsertText):
2413 (EditingDelegate::shouldDeleteDOMRange):
2414 (EditingDelegate::shouldChangeSelectedDOMRange):
2415 (EditingDelegate::shouldApplyStyle):
2416 (EditingDelegate::shouldChangeTypingStyle):
2417 (EditingDelegate::doPlatformCommand):
2418 (EditingDelegate::webViewDidBeginEditing):
2419 (EditingDelegate::webViewDidChange):
2420 (EditingDelegate::webViewDidEndEditing):
2421 (EditingDelegate::webViewDidChangeTypingStyle):
2422 (EditingDelegate::webViewDidChangeSelection):
2423 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2424 * DumpRenderTree/win/LayoutTestController.h: Removed.
2425 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2426 (LayoutTestController::addDisallowedURL):
2427 (LayoutTestController::clearBackForwardList):
2428 (LayoutTestController::copyDecodedHostName):
2429 (LayoutTestController::copyEncodedHostName):
2430 (LayoutTestController::display):
2431 (LayoutTestController::keepWebHistory):
2432 (LayoutTestController::notifyDone):
2433 (LayoutTestController::queueBackNavigation):
2434 (LayoutTestController::queueForwardNavigation):
2435 (jsStringRefToWString):
2436 (LayoutTestController::queueLoad):
2437 (LayoutTestController::queueReload):
2438 (LayoutTestController::queueScript):
2439 (LayoutTestController::setAcceptsEditing):
2440 (LayoutTestController::setCustomPolicyDelegate):
2441 (LayoutTestController::setMainFrameIsFirstResponder):
2442 (LayoutTestController::setTabKeyCyclesThroughElements):
2443 (LayoutTestController::setUseDashboardCompatibilityMode):
2444 (LayoutTestController::setUserStyleSheetEnabled):
2445 (LayoutTestController::setUserStyleSheetLocation):
2446 (LayoutTestController::setWindowIsKey):
2447 (waitUntilDoneWatchdogFired):
2448 (LayoutTestController::setWaitToDump):
2449 (LayoutTestController::windowCount):
2450 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2451 (FrameLoadDelegate::didReceiveTitle):
2452 (FrameLoadDelegate::processWork):
2453 (FrameLoadDelegate::locationChangeDone):
2454 (FrameLoadDelegate::windowScriptObjectAvailable):
2455 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2456 * DumpRenderTree/win/WorkQueue.h: Removed.
2457 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2458 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2459 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2460 (jsStringRefToWString):
2462 (ScriptItem::invoke):
2464 2007-09-17 Sam Weinig <sam@webkit.org>
2466 Reviewed by Adam Roben.
2468 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2470 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2471 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2472 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2473 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2474 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2475 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2476 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2477 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2478 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2479 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2480 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2481 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2482 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2483 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2484 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2485 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2486 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2487 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2488 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2489 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2490 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2491 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2492 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2493 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2494 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2495 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2496 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2497 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2498 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2499 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2500 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2501 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2502 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2503 * DumpRenderTree/win: Added.
2504 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2505 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2506 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2507 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2508 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2509 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2510 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2511 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2512 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2513 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2514 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2515 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2516 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2517 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2518 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2519 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2520 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2521 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2522 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2523 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2524 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2525 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2526 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2527 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2528 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2529 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2531 2007-09-15 Mark Rowe <mrowe@apple.com>
2533 Build fix for DumpRenderTree.
2535 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2537 2007-09-14 Sam Weinig <sam@webkit.org>
2539 Rubber stamped by Adam Roben.
2541 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2542 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2543 kept in the WaitUntilDoneDelegate file for the time being.
2545 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2547 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2548 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2549 (UIDelegate::QueryInterface):
2550 (UIDelegate::AddRef):
2551 (UIDelegate::Release):
2552 (UIDelegate::hasCustomMenuImplementation):
2553 (UIDelegate::setFrame):
2554 (UIDelegate::webViewFrame):
2555 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2556 (UIDelegate::webViewAddMessageToConsole):
2557 (UIDelegate::doDragDrop):
2558 (UIDelegate::webViewGetDlgCode):
2559 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2560 (UIDelegate::UIDelegate):
2561 (UIDelegate::createWebViewWithRequest):
2562 (UIDelegate::webViewShow):
2563 (UIDelegate::webViewClose):
2564 (UIDelegate::webViewFocus):
2565 (UIDelegate::webViewUnfocus):
2566 (UIDelegate::webViewFirstResponder):
2567 (UIDelegate::makeFirstResponder):
2568 (UIDelegate::setStatusText):
2569 (UIDelegate::webViewStatusText):
2570 (UIDelegate::webViewAreToolbarsVisible):
2571 (UIDelegate::setToolbarsVisible):
2572 (UIDelegate::webViewIsStatusBarVisible):
2573 (UIDelegate::setStatusBarVisible):
2574 (UIDelegate::webViewIsResizable):
2575 (UIDelegate::setResizable):
2576 (UIDelegate::setContentRect):
2577 (UIDelegate::webViewContentRect):
2578 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2579 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2580 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2581 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2582 (UIDelegate::mouseDidMoveOverElement):
2583 (UIDelegate::contextMenuItemsForElement):
2584 (UIDelegate::validateUserInterfaceItem):
2585 (UIDelegate::shouldPerformAction):
2586 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2587 (UIDelegate::willPerformDragDestinationAction):
2588 (UIDelegate::dragSourceActionMaskForPoint):
2589 (UIDelegate::willPerformDragSourceAction):
2590 (UIDelegate::contextMenuItemSelected):
2591 (UIDelegate::trackCustomPopupMenu):
2592 (UIDelegate::measureCustomMenuItem):
2593 (UIDelegate::drawCustomMenuItem):
2594 (UIDelegate::addCustomMenuDrawingData):
2595 (UIDelegate::cleanUpCustomMenuDrawingData):
2596 (UIDelegate::canTakeFocus):
2597 (UIDelegate::takeFocus):
2598 (UIDelegate::registerUndoWithTarget):
2599 (UIDelegate::removeAllActionsWithTarget):
2600 (UIDelegate::setActionTitle):
2603 (UIDelegate::canUndo):
2604 (UIDelegate::canRedo):
2605 (UIDelegate::webViewResizerRect):
2606 (UIDelegate::webViewDrawResizer):
2607 (UIDelegate::webViewScrolled):
2608 (UIDelegate::webViewShouldInterruptJavaScript):
2609 (UIDelegate::webViewReceivedFocus):
2610 (UIDelegate::webViewLostFocus):
2611 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2612 (FrameLoadDelegate::QueryInterface):
2613 (FrameLoadDelegate::AddRef):
2614 (FrameLoadDelegate::Release):
2615 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2616 (FrameLoadDelegate::didCommitLoadForFrame):
2617 (FrameLoadDelegate::didReceiveTitle):
2618 (FrameLoadDelegate::processWork):
2620 (FrameLoadDelegate::locationChangeDone):
2621 (FrameLoadDelegate::didFinishLoadForFrame):
2622 (FrameLoadDelegate::didFailLoadWithError):
2623 (FrameLoadDelegate::windowScriptObjectAvailable):
2624 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2625 (FrameLoadDelegate::FrameLoadDelegate):
2627 2007-09-14 Sam Weinig <sam@webkit.org>
2629 Reviewed by Kevin McCullough.
2631 Move mac specific globals in to mac/DumpRenderTreeMac.h
2633 * DumpRenderTree/DumpRenderTree.h:
2634 * DumpRenderTree/DumpRenderTree.mm: Removed.
2635 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2636 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2637 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2639 2007-09-14 Brady Eidson <beidson@apple.com>
2641 Rubberstamped by Weinig
2643 You know, Sam, some of us use case-sensitve filesystems...
2645 * DumpRenderTree/DumpRenderTree.h:
2646 * DumpRenderTree/mac/UIDelegate.mm:
2648 2007-09-14 Sam Weinig <sam@webkit.org>
2650 Rubber stamped by Adam Roben.
2652 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2653 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2655 * DumpRenderTree/AppleScriptController.h: Removed.
2656 * DumpRenderTree/AppleScriptController.m: Removed.
2657 * DumpRenderTree/DumpRenderTree.h:
2658 * DumpRenderTree/DumpRenderTree.mm:
2659 (startJavaScriptThreads):
2660 (stopJavaScriptThreads):
2662 (setDefaultColorProfileToRGB):
2663 (makeLargeMallocFailSilently):
2664 (dumpFrameScrollPosition):
2668 (-[DumpRenderTreeWindow isKeyWindow]):
2669 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2670 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2671 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2672 * DumpRenderTree/EditingDelegate.h: Removed.
2673 * DumpRenderTree/EditingDelegate.m: Removed.
2674 * DumpRenderTree/EventSendingController.h: Removed.
2675 * DumpRenderTree/EventSendingController.m: Removed.
2676 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2677 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2678 * DumpRenderTree/GCController.mm: Removed.
2679 * DumpRenderTree/ImageDiff.m: Removed.
2680 * DumpRenderTree/LayoutTestController.cpp:
2681 (LayoutTestController::LayoutTestController):
2682 (dumpAsTextCallback):
2683 (dumpBackForwardListCallback):
2684 (dumpChildFramesAsTextCallback):
2685 (dumpChildFrameScrollPositionsCallback):
2686 (dumpDOMAsWebArchiveCallback):
2687 (dumpEditingCallbacksCallback):
2688 (dumpFrameLoadCallbacksCallback):
2689 (dumpResourceLoadCallbacksCallback):
2690 (dumpSelectionRectCallback):
2691 (dumpSourceAsWebArchiveCallback):
2692 (dumpTitleChangesCallback):
2693 (repaintSweepHorizontallyCallback):
2694 (setCallCloseOnWebViewsCallback):
2695 (setCanOpenWindowsCallback):
2696 (setCloseRemainingWindowsWhenCompleteCallback):
2697 (testRepaintCallback):
2698 (addFileToPasteboardOnDragCallback):
2699 (waitUntilDoneCallback):
2700 * DumpRenderTree/LayoutTestController.h:
2701 (LayoutTestController::dumpAsText):
2702 (LayoutTestController::setDumpAsText):
2703 (LayoutTestController::dumpBackForwardList):
2704 (LayoutTestController::setDumpBackForwardList):
2705 (LayoutTestController::dumpChildFrameScrollPositions):
2706 (LayoutTestController::setDumpChildFrameScrollPositions):
2707 (LayoutTestController::dumpChildFramesAsText):
2708 (LayoutTestController::setDumpChildFramesAsText):
2709 (LayoutTestController::dumpDOMAsWebArchive):
2710 (LayoutTestController::setDumpDOMAsWebArchive):
2711 (LayoutTestController::dumpSelectionRect):
2712 (LayoutTestController::setDumpSelectionRect):
2713 (LayoutTestController::dumpSourceAsWebArchive):
2714 (LayoutTestController::setDumpSourceAsWebArchive):
2715 (LayoutTestController::dumpTitleChanges):
2716 (LayoutTestController::setDumpTitleChanges):
2717 (LayoutTestController::dumpEditingCallbacks):
2718 (LayoutTestController::setDumpEditingCallbacks):
2719 (LayoutTestController::dumpResourceLoadCallbacks):
2720 (LayoutTestController::setDumpResourceLoadCallbacks):
2721 (LayoutTestController::dumpFrameLoadCallbacks):
2722 (LayoutTestController::setDumpFrameLoadCallbacks):
2723 (LayoutTestController::addFileToPasteboardOnDrag):
2724 (LayoutTestController::setAddFileToPasteboardOnDrag):
2725 (LayoutTestController::callCloseOnWebViews):
2726 (LayoutTestController::setCallCloseOnWebViews):
2727 (LayoutTestController::canOpenWindows):
2728 (LayoutTestController::setCanOpenWindows):
2729 (LayoutTestController::closeRemainingWindowsWhenComplete):
2730 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2731 (LayoutTestController::testRepaint):
2732 (LayoutTestController::setTestRepaint):
2733 (LayoutTestController::testRepaintSweepHorizontally):
2734 (LayoutTestController::setTestRepaintSweepHorizontally):
2735 (LayoutTestController::waitToDump):
2736 (LayoutTestController::windowIsKey):
2737 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2738 * DumpRenderTree/NavigationController.h: Removed.
2739 * DumpRenderTree/NavigationController.m: Removed.
2740 * DumpRenderTree/ObjCController.h: Removed.
2741 * DumpRenderTree/ObjCController.m: Removed.
2742 * DumpRenderTree/ObjCPlugin.h: Removed.
2743 * DumpRenderTree/ObjCPlugin.m: Removed.
2744 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2745 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2746 * DumpRenderTree/PolicyDelegate.h: Removed.
2747 * DumpRenderTree/PolicyDelegate.m: Removed.
2748 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2749 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2750 * DumpRenderTree/TextInputController.h: Removed.
2751 * DumpRenderTree/TextInputController.m: Removed.
2752 * DumpRenderTree/UIDelegate.h: Removed.
2753 * DumpRenderTree/UIDelegate.mm: Removed.
2754 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2755 * DumpRenderTree/mac: Added.
2756 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2757 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2758 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2759 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2760 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2761 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2762 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2763 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2764 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2765 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2766 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2767 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2768 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2769 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2770 (-[EditingDelegate webViewDidBeginEditing:]):
2771 (-[EditingDelegate webViewDidChange:]):
2772 (-[EditingDelegate webViewDidEndEditing:]):
2773 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2774 (-[EditingDelegate webViewDidChangeSelection:]):
2775 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2776 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2777 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2778 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2779 (-[FrameLoadDelegate init]):
2780 (-[FrameLoadDelegate dealloc]):
2781 (-[FrameLoadDelegate processWork:]):
2782 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2783 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2784 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2785 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2786 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2787 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2788 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2789 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2790 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2791 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2792 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2793 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2794 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2795 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2796 (-[FrameLoadDelegate webView:willCloseFrame:]):
2797 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2798 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2799 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2800 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2801 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2802 (LayoutTestController::notifyDone):
2803 (LayoutTestController::setWindowIsKey):
2804 (LayoutTestController::setWaitToDump):
2805 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2806 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2807 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2808 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2809 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2810 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2811 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2812 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2813 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2814 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2815 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2816 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2817 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2818 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2819 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2820 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2821 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2822 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2823 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2824 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2825 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2826 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2827 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2828 (-[UIDelegate webViewFocus:]):
2829 (-[UIDelegate webView:createWebViewWithRequest:]):
2830 (-[UIDelegate webViewClose:]):
2831 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2833 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2837 - Changing Win version of Drosera work with recent changes.
2839 * Drosera/DebuggerDocument.cpp:
2840 * Drosera/DebuggerDocument.h:
2841 * Drosera/mac/DebuggerDocumentPlatform.mm:
2842 (NSStringCreateWithJSStringRef):
2843 (JSValueRefCreateWithNSString):
2844 * Drosera/win/DebuggerClient.cpp:
2845 (DebuggerClient::stepInto):
2846 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2848 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2852 - Moved isPaused into the JS for efficiency and simplicity.
2854 * Drosera/DebuggerDocument.cpp:
2855 (DebuggerDocument::DebuggerDocument):
2856 (DebuggerDocument::pauseCallback):
2857 (DebuggerDocument::resumeCallback):
2858 (DebuggerDocument::isPaused):
2859 (DebuggerDocument::staticFunctions):
2860 * Drosera/DebuggerDocument.h:
2861 * Drosera/console.js:
2862 * Drosera/debugger.js:
2863 * Drosera/mac/DebuggerClient.mm:
2864 (-[DebuggerClient validateUserInterfaceItem:]):
2866 2007-09-13 Sam Weinig <sam@webkit.org>
2868 Rubber stamped by Darin.
2870 Make DumpRenderTree more cross platform ready.
2871 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2872 - Use CF types instead of NS objects.
2875 * DumpRenderTree/DumpRenderTree.h:
2876 * DumpRenderTree/DumpRenderTree.mm:
2880 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2881 * DumpRenderTree/EditingDelegate.m:
2882 * DumpRenderTree/FrameLoadDelegate.h:
2883 * DumpRenderTree/FrameLoadDelegate.mm:
2884 (-[FrameLoadDelegate init]):
2885 (-[FrameLoadDelegate dealloc]):
2886 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2887 * DumpRenderTree/GCController.cpp: Added.
2888 (GCController::GCController):
2889 (GCController::~GCController):
2891 (collectOnAlternateThreadCallback):
2892 (getJSObjectCountCallback):
2893 (GCController::makeWindowObject):
2894 (GCController::getJSClass):
2895 (GCController::staticFunctions):
2896 * DumpRenderTree/GCController.h:
2897 * DumpRenderTree/GCController.mm:
2898 (GCController::collect):
2899 (GCController::collectOnAlternateThread):
2900 (GCController::getJSObjectCount):
2901 * DumpRenderTree/LayoutTestController.cpp:
2902 (LayoutTestController::makeWindowObject):
2903 (LayoutTestController::getJSClass):
2904 * DumpRenderTree/LayoutTestController.h:
2905 * DumpRenderTree/LayoutTestControllerMac.mm:
2906 (LayoutTestController::addDisallowedURL):
2907 (waitUntilDoneWatchdogFired):
2908 (LayoutTestController::waitUntilDone):
2909 * DumpRenderTree/ResourceLoadDelegate.m:
2910 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2912 2007-09-12 Sam Weinig <sam@webkit.org>
2914 Reviewed by Stephanie.
2916 Fix leaks in mac DumpRenderTree.
2918 * DumpRenderTree/FrameLoadDelegate.mm:
2919 (-[FrameLoadDelegate init]): Initalize in the correct order.
2920 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2921 * DumpRenderTree/LayoutTestController.cpp:
2922 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2923 (encodeHostNameCallback): ditto.
2924 * DumpRenderTree/LayoutTestController.h:
2925 * DumpRenderTree/LayoutTestControllerMac.mm:
2926 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2927 (LayoutTestController::copyEncodedHostName): ditto
2928 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2930 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2934 - 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.
2936 * Scripts/run-webkit-tests:
2938 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2942 - Simplified code paths and extracted out functions to increase encapsulation.
2944 * Drosera/DebuggerDocument.cpp:
2945 (DebuggerDocument::breakpointEditorHTMLCallback):
2946 (DebuggerDocument::isPausedCallback):
2947 (DebuggerDocument::pauseCallback):
2948 (DebuggerDocument::resumeCallback):
2949 (DebuggerDocument::stepIntoCallback):
2950 (DebuggerDocument::evaluateScriptCallback):
2951 (DebuggerDocument::currentFunctionStackCallback):
2952 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2953 (DebuggerDocument::valueForScopeVariableNamedCallback):
2954 (DebuggerDocument::logCallback):
2955 * Drosera/DebuggerDocument.h:
2956 (DebuggerDocument::getPaused):
2957 * Drosera/mac/DebuggerClient.mm:
2958 (-[DebuggerClient pause:]):
2959 (-[DebuggerClient resume:]):
2960 (-[DebuggerClient stepInto:]):
2961 (-[DebuggerClient stepOver:]):
2962 (-[DebuggerClient stepOut:]):
2963 (-[DebuggerClient showConsole:]):
2964 (-[DebuggerClient closeCurrentFile:]):
2965 (-[DebuggerClient validateUserInterfaceItem:]):
2966 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2967 (+[NSString stringOrNilFromWebScriptResult:]):
2968 (DebuggerDocument::platformPause):
2969 (DebuggerDocument::platformResume):
2970 (DebuggerDocument::platformStepInto):
2971 (DebuggerDocument::platformEvaluateScript):
2972 (DebuggerDocument::getPlatformCurrentFunctionStack):
2973 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2974 (DebuggerDocument::platformValueForScopeVariableNamed):
2975 (DebuggerDocument::platformLog):
2976 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2978 2007-09-12 Sam Weinig <sam@webkit.org>
2980 Build fix for Buildbot.
2982 * DumpRenderTree/DumpRenderTree.mm:
2985 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2989 - Updated the leaks list for leopard to help identify regressions.
2991 * Scripts/run-webkit-tests:
2993 2007-09-12 Sam Weinig <sam@webkit.org>
2995 Rubber stamped by Darin.
2997 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2999 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
3000 * DumpRenderTree/DumpRenderTree.m: Removed.
3001 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
3002 (stopJavaScriptThreads): Fix initialization.
3003 (setDefaultColorProfileToRGB): Add explicit cast from void*.
3004 (dumpRenderTree): Ditto.
3006 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
3008 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3009 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
3010 * DumpRenderTree/FrameLoadDelegate.m: Removed.
3011 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
3012 (-[FrameLoadDelegate init]):
3013 (-[FrameLoadDelegate dealloc]):
3014 (-[FrameLoadDelegate processWork:]):
3015 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3016 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3017 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
3019 * DumpRenderTree/LayoutTestController.cpp: Added.
3020 (LayoutTestController::LayoutTestController):
3021 (LayoutTestController::~LayoutTestController):
3022 (dumpAsTextCallback):
3023 (dumpBackForwardListCallback):
3024 (dumpChildFramesAsTextCallback):
3025 (dumpChildFrameScrollPositionsCallback):
3026 (dumpDOMAsWebArchiveCallback):
3027 (dumpEditingCallbacksCallback):
3028 (dumpFrameLoadCallbacksCallback):
3029 (dumpResourceLoadCallbacksCallback):
3030 (dumpSelectionRectCallback):
3031 (dumpSourceAsWebArchiveCallback):
3032 (dumpTitleChangesCallback):
3033 (repaintSweepHorizontallyCallback):
3034 (setCallCloseOnWebViewsCallback):
3035 (setCanOpenWindowsCallback):
3036 (setCloseRemainingWindowsWhenCompleteCallback):
3037 (testRepaintCallback):
3038 (addFileToPasteboardOnDragCallback):
3039 (addDisallowedURLCallback):
3040 (clearBackForwardListCallback):
3041 (decodeHostNameCallback):
3043 (encodeHostNameCallback):
3044 (keepWebHistoryCallback):
3045 (notifyDoneCallback):
3046 (queueBackNavigationCallback):
3047 (queueForwardNavigationCallback):
3048 (queueLoadCallback):
3049 (queueReloadCallback):
3050 (queueScriptCallback):
3051 (setAcceptsEditingCallback):
3052 (setCustomPolicyDelegateCallback):
3053 (setMainFrameIsFirstResponderCallback):
3054 (setTabKeyCyclesThroughElementsCallback):
3055 (setUseDashboardCompatibilityModeCallback):
3056 (setUserStyleSheetEnabledCallback):
3057 (setUserStyleSheetLocationCallback):
3058 (setWindowIsKeyCallback):
3059 (waitUntilDoneCallback):
3060 (windowCountCallback):
3061 (LayoutTestController::makeWindowObject):
3062 (LayoutTestController::getLayoutTestControllerJSClass):
3063 (LayoutTestController::staticFunctions):
3064 * DumpRenderTree/LayoutTestController.h: Replaced.
3065 * DumpRenderTree/LayoutTestController.m: Removed.
3066 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
3067 (LayoutTestController::dumpAsText):
3068 (LayoutTestController::dumpBackForwardList):
3069 (LayoutTestController::dumpChildFramesAsText):
3070 (LayoutTestController::dumpChildFrameScrollPositions):
3071 (LayoutTestController::dumpDOMAsWebArchive):
3072 (LayoutTestController::dumpEditingCallbacks):
3073 (LayoutTestController::dumpFrameLoadCallbacks):
3074 (LayoutTestController::dumpResourceLoadCallbacks):
3075 (LayoutTestController::dumpSelectionRect):
3076 (LayoutTestController::dumpSourceAsWebArchive):
3077 (LayoutTestController::dumpTitleChanges):
3078 (LayoutTestController::repaintSweepHorizontally):
3079 (LayoutTestController::setCallCloseOnWebViews):
3080 (LayoutTestController::setCanOpenWindows):
3081 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3082 (LayoutTestController::testRepaint):
3083 (LayoutTestController::addFileToPasteboardOnDrag):
3084 (LayoutTestController::addDisallowedURL):
3085 (LayoutTestController::clearBackForwardList):
3086 (LayoutTestController::decodeHostName):
3087 (LayoutTestController::encodeHostName):
3088 (LayoutTestController::display):
3089 (LayoutTestController::keepWebHistory):
3090 (LayoutTestController::notifyDone):
3091 (LayoutTestController::queueBackNavigation):
3092 (LayoutTestController::queueForwardNavigation):
3093 (LayoutTestController::queueLoad):
3094 (LayoutTestController::queueReload):
3095 (LayoutTestController::queueScript):
3096 (LayoutTestController::setAcceptsEditing):
3097 (LayoutTestController::setCustomPolicyDelegate):
3098 (LayoutTestController::setMainFrameIsFirstResponder):
3099 (LayoutTestController::setTabKeyCyclesThroughElements):
3100 (LayoutTestController::setUseDashboardCompatibilityMode):
3101 (LayoutTestController::setUserStyleSheetEnabled):
3102 (LayoutTestController::setUserStyleSheetLocation):
3103 (LayoutTestController::setWindowIsKey):
3104 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
3105 (LayoutTestController::waitUntilDone):
3106 (LayoutTestController::windowCount):
3107 Use the JSCore API to implement the LayoutTestController.
3109 * DumpRenderTree/ObjCController.h:
3110 * DumpRenderTree/ObjCController.m:
3111 (+[ObjCController isSelectorExcludedFromWebScript:]):
3112 (+[ObjCController webScriptNameForSelector:]):
3113 (-[ObjCController accessStoredWebScriptObject]):
3114 (-[ObjCController storeWebScriptObject:]):
3115 (-[ObjCController dealloc]):
3116 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
3117 Move WebScriptObject tests to ObjCController.
3119 * DumpRenderTree/UIDelegate.m: Removed.
3120 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
3122 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
3123 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
3124 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
3125 (WorkQueueItem::~WorkQueueItem):
3126 (LoadItem::LoadItem):
3129 (ScriptItem::ScriptItem):
3130 (ScriptItem::script):
3131 * DumpRenderTree/WorkQueueItemMac.mm: Added.
3133 (ReloadItem::invoke):
3134 (ScriptItem::invoke):
3135 (BackForwardItem::invoke):
3136 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
3137 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
3140 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3144 - Updated Win side to take advantage of the platform separating changes.
3146 * Drosera/DebuggerDocument.cpp:
3147 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3148 * Drosera/DebuggerDocument.h:
3149 * Drosera/win/DebuggerClient.cpp:
3150 (DebuggerClient::pause):
3151 (DebuggerClient::resume):
3152 (DebuggerClient::stepInto):
3153 (DebuggerDocument::platformPause):
3154 (DebuggerDocument::platformResume):
3155 (DebuggerDocument::platformStepInto):
3156 (DebuggerDocument::platformEvaluateScript):
3157 (DebuggerDocument::getPlatformCurrentFunctionStack):
3158 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3159 (DebuggerDocument::platformValueForScopeVariableNamed):
3160 (DebuggerDocument::platformLog):
3161 * Drosera/win/DebuggerClient.h:
3162 * Drosera/win/Drosera.cpp:
3164 (Drosera::windowScriptObjectAvailable):
3165 (Drosera::initWithServerName):
3166 (Drosera::switchToServerNamed):
3167 * Drosera/win/Drosera.h:
3168 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3170 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3174 - Just doing the moves in a separate patch so the changes are easier to see.
3176 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
3177 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
3178 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
3179 * Drosera/win/DebuggerDocumentWin.h: Removed.
3180 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3182 2007-09-11 Sven Herzberg <sven@imendio.com>
3184 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
3185 http://bugs.webkit.org/show_bug.cgi?id=15176
3187 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
3188 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
3189 other paths eg. from jhbuild)
3191 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3195 - Made an order-of-deletion mistake.
3197 * Drosera/DebuggerDocument.h:
3198 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3199 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3200 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3201 * Drosera/mac/DebuggerClient.mm:
3202 (DebuggerDocument::platformPause):
3203 (DebuggerDocument::platformResume):
3204 (DebuggerDocument::platformStepInto):
3205 (DebuggerDocument::platformEvaluateScript):
3206 (DebuggerDocument::getPlatformCurrentFunctionStack):
3207 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3208 (DebuggerDocument::platformValueForScopeVariableNamed):
3209 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3211 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3215 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
3217 * Drosera/DebuggerDocument.cpp:
3218 (DebuggerDocument::DebuggerDocument):
3219 * Drosera/DebuggerDocument.h:
3220 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3221 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3222 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3223 * Drosera/mac/DebuggerApplication.mm:
3224 (-[DebuggerApplication attach:]):
3225 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
3226 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
3227 (DebuggerDocument::platformPause):
3228 (DebuggerDocument::platformResume):
3229 (DebuggerDocument::platformStepInto):
3230 (DebuggerDocument::platformEvaluateScript):
3231 (DebuggerDocument::getPlatformCurrentFunctionStack):
3232 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3233 (DebuggerDocument::platformValueForScopeVariableNamed):
3234 (DebuggerDocument::platformLog):
3235 * Drosera/mac/DebuggerDocumentMac.h: Removed.
3236 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3237 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3239 2007-09-09 Sam Weinig <sam@webkit.org>
3241 Reviewed by Mark Rowe.
3243 Remove 'objC' prefix from methods now in the ObjCController.
3245 * DumpRenderTree/ObjCController.m:
3246 (+[ObjCController isSelectorExcludedFromWebScript:]):
3247 (+[ObjCController webScriptNameForSelector:]):
3248 (-[ObjCController classNameOf:]):
3249 (-[ObjCController objectOfClass:]):
3250 (-[ObjCController identityIsEqual::]):
3251 (-[ObjCController longLongRoundTrip:]):
3252 (-[ObjCController unsignedLongLongRoundTrip:]):
3254 2007-09-09 Sam Weinig <sam@webkit.org>
3258 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
3259 - Move LayoutTestController into its own file.
3260 - Move Objective-C only functions on LayoutTestController into a new controller called the
3263 * DumpRenderTree/DumpRenderTree.h:
3264 * DumpRenderTree/DumpRenderTree.m:
3266 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3267 * DumpRenderTree/FrameLoadDelegate.m:
3268 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3269 * DumpRenderTree/LayoutTestController.h: Added.
3270 * DumpRenderTree/LayoutTestController.m: Added.
3271 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3272 (+[LayoutTestController webScriptNameForSelector:]):
3273 (-[LayoutTestController clearBackForwardList]):
3274 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3275 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3276 (-[LayoutTestController setCustomPolicyDelegate:]):
3277 (-[LayoutTestController keepWebHistory]):
3278 (-[LayoutTestController setCallCloseOnWebViews:]):
3279 (-[LayoutTestController setCanOpenWindows]):
3280 (-[LayoutTestController waitUntilDone]):
3281 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3282 (-[LayoutTestController notifyDone]):
3283 (-[LayoutTestController dumpAsText]):
3284 (-[LayoutTestController addFileToPasteboardOnDrag]):
3285 (-[LayoutTestController addDisallowedURL:]):
3286 (-[LayoutTestController setUserStyleSheetLocation:]):
3287 (-[LayoutTestController setUserStyleSheetEnabled:]):
3288 (-[LayoutTestController dumpDOMAsWebArchive]):
3289 (-[LayoutTestController dumpSourceAsWebArchive]):
3290 (-[LayoutTestController dumpSelectionRect]):
3291 (-[LayoutTestController dumpTitleChanges]):
3292 (-[LayoutTestController dumpBackForwardList]):
3293 (-[LayoutTestController windowCount]):
3294 (-[LayoutTestController dumpChildFrameScrollPositions]):
3295 (-[LayoutTestController dumpChildFramesAsText]):
3296 (-[LayoutTestController dumpEditingCallbacks]):
3297 (-[LayoutTestController dumpResourceLoadCallbacks]):
3298 (-[LayoutTestController dumpFrameLoadCallbacks]):
3299 (-[LayoutTestController setWindowIsKey:]):
3300 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3301 (-[LayoutTestController display]):
3302 (-[LayoutTestController testRepaint]):
3303 (-[LayoutTestController repaintSweepHorizontally]):
3304 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3305 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
3306 (-[LayoutTestController _doLoad:target:]):
3307 (-[LayoutTestController _doBackOrForwardNavigation:]):
3308 (-[LayoutTestController queueBackNavigation:]):
3309 (-[LayoutTestController queueForwardNavigation:]):
3310 (-[LayoutTestController queueReload]):
3311 (-[LayoutTestController queueScript:]):
3312 (-[LayoutTestController queueLoad:target:]):
3313 (-[LayoutTestController setAcceptsEditing:]):
3314 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3315 (-[LayoutTestController storeWebScriptObject:]):
3316 (-[LayoutTestController accessStoredWebScriptObject]):
3317 (-[LayoutTestController dealloc]):
3318 (-[LayoutTestController decodeHostName:]):
3319 (-[LayoutTestController encodeHostName:]):
3320 * DumpRenderTree/ObjCController.h: Added.
3321 * DumpRenderTree/ObjCController.m: Added.
3322 (+[ObjCController isSelectorExcludedFromWebScript:]):
3323 (+[ObjCController webScriptNameForSelector:]):
3324 (-[ObjCController objCClassNameOf:]):
3325 (-[ObjCController objCObjectOfClass:]):
3326 (-[ObjCController objCIdentityIsEqual::]):
3327 (-[ObjCController objCLongLongRoundTrip:]):
3328 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
3329 (-[ObjCController testWrapperRoundTripping:]):
3331 2007-09-07 Sam Weinig <sam@webkit.org>
3335 Strip trailing and leading space/newline characters from skiplist file names.
3337 * Scripts/run-webkit-tests:
3339 2007-09-06 Kevin McCullough <kmccullough@apple.com>
3343 - Changed Drosera to take advantage of the JSRetainPtr changes.
3345 * Drosera/DebuggerDocument.cpp:
3346 (DebuggerDocument::breakpointEditorHTML):
3347 (DebuggerDocument::evaluateScript):
3348 (DebuggerDocument::valueForScopeVariableNamed):
3349 (DebuggerDocument::log):
3350 (DebuggerDocument::windowScriptObjectAvailable):
3351 (DebuggerDocument::toJSArray):
3352 (DebuggerDocument::callFunctionOnObject):
3353 (DebuggerDocument::logException):
3354 * Drosera/mac/DebuggerDocumentMac.mm:
3355 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3356 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3357 (DebuggerDocument::platformEvaluateScript):
3358 (DebuggerDocument::getPlatformCurrentFunctionStack):
3359 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3360 (DebuggerDocument::platformValueForScopeVariableNamed):
3362 2007-09-05 Kevin McCullough <kmccullough@apple.com>
3364 Reviewed by Adam, Sam, Darin.
3366 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
3368 * Drosera/Debugger.h: Added.
3369 * Drosera/DebuggerDocument.cpp:
3370 (DebuggerDocument::breakpointEditorHTMLCallback):
3371 (DebuggerDocument::isPausedCallback):
3372 (DebuggerDocument::pauseCallback):
3373 (DebuggerDocument::resumeCallback):
3374 (DebuggerDocument::stepIntoCallback):
3375 (DebuggerDocument::evaluateScriptCallback):
3376 (DebuggerDocument::currentFunctionStackCallback):
3377 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3378 (DebuggerDocument::valueForScopeVariableNamedCallback):
3379 (DebuggerDocument::logCallback):
3380 (DebuggerDocument::breakpointEditorHTML):
3381 (DebuggerDocument::isPaused):
3382 (DebuggerDocument::pause):
3383 (DebuggerDocument::resume):
3384 (DebuggerDocument::stepInto):
3385 (DebuggerDocument::evaluateScript):
3386 (DebuggerDocument::currentFunctionStack):
3387 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3388 (DebuggerDocument::valueForScopeVariableNamed):
3389 (DebuggerDocument::log):
3390 (DebuggerDocument::toolbarPause):
3391 (DebuggerDocument::toolbarResume):
3392 (DebuggerDocument::toolbarStepInto):
3393 (DebuggerDocument::toolbarStepOver):
3394 (DebuggerDocument::toolbarStepOut):
3395 (DebuggerDocument::toolbarShowConsole):
3396 (DebuggerDocument::toolbarCloseCurrentFile):
3397 (DebuggerDocument::updateFileSource):
3398 (DebuggerDocument::didParseScript):
3399 (DebuggerDocument::willExecuteStatement):
3400 (DebuggerDocument::didEnterCallFrame):
3401 (DebuggerDocument::willLeaveCallFrame):
3402 (DebuggerDocument::exceptionWasRaised):
3403 (DebuggerDocument::windowScriptObjectAvailable):
3404 (DebuggerDocument::toJSArray):
3405 (DebuggerDocument::callGlobalFunction):
3406 (DebuggerDocument::callFunctionOnObject):
3407 (DebuggerDocument::getDroseraJSClass):
3408 (DebuggerDocument::staticFunctions):
3409 (DebuggerDocument::logException):
3410 * Drosera/DebuggerDocument.h:
3411 (DebuggerDocument::DebuggerDocument):
3412 * Drosera/ForwardingHeaders: Added.
3413 * Drosera/ForwardingHeaders/wtf: Added.
3414 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3416 * Drosera/console.html:
3417 * Drosera/console.js:
3418 * Drosera/debugger.js:
3419 * Drosera/mac/DebuggerApplication.mm:
3420 (-[DebuggerApplication attach:]):
3421 * Drosera/mac/DebuggerDocumentMac.h:
3422 * Drosera/mac/DebuggerDocumentMac.mm:
3423 (+[NSString stringOrNilFromWebScriptResult:]):
3424 (+[DebuggerClientMac log:]):
3425 (-[DebuggerClientMac initWithServerName:]):
3426 (-[DebuggerClientMac dealloc]):
3427 (-[DebuggerClientMac pause]):
3428 (-[DebuggerClientMac resume]):
3429 (-[DebuggerClientMac pause:]):
3430 (-[DebuggerClientMac resume:]):
3431 (-[DebuggerClientMac stepInto:]):
3432 (-[DebuggerClientMac stepOver:]):
3433 (-[DebuggerClientMac stepOut:]):
3434 (-[DebuggerClientMac showConsole:]):
3435 (-[DebuggerClientMac closeCurrentFile:]):
3436 (-[DebuggerClientMac validateUserInterfaceItem:]):
3437 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3438 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3439 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3440 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3441 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3442 (DebuggerDocument::platformPause):
3443 (DebuggerDocument::platformResume):
3444 (DebuggerDocument::platformStepInto):
3445 (DebuggerDocument::platformEvaluateScript):
3446 (DebuggerDocument::platformCurrentFunctionStack):
3447 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3448 (DebuggerDocument::platformValueForScopeVariableNamed):
3449 (DebuggerDocument::platformLog):
3450 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3452 2007-09-06 Sam Weinig <sam@webkit.org>
3454 Reviewed by Adam Roben.
3456 Register the WebKit DLL on initialization of the DumpRenderTree.
3458 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3461 2007-09-05 Sam Weinig <sam@webkit.org>
3465 Fix many layout test failures caused by r25364.
3466 Set text size to standand size at the begining of each test matching the mac.
3468 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3471 2007-09-04 Sam Weinig <sam@webkit.org>
3475 Fix for <rdar://problem/5382277>
3476 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3478 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3479 (textZoomInCallback):
3480 (textZoomOutCallback):
3482 2007-08-29 David Kilzer <ddkilzer@apple.com>
3486 Added case-insensitivity to checks for adding regression tests.
3488 * Scripts/prepare-ChangeLog:
3491 2007-08-28 David Kilzer <ddkilzer@apple.com>
3495 Ignore files in /resources/ subdirectories when creating a list of added tests.
3497 * Scripts/prepare-ChangeLog:
3500 2007-08-27 Kevin McCullough <kmccullough@apple.com>
3504 - Removed Leopard leaks list since all of those radars were fixed.
3506 * Scripts/run-webkit-tests:
3508 2007-08-27 Adam Roben <aroben@apple.com>
3510 Rubberstamped by Mark.
3512 * Scripts/pdevenv: Pass arguments along to devenv.com.
3514 2007-08-26 David Kilzer <ddkilzer@webkit.org>
3516 Reviewed by Mark Rowe.
3518 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3520 * Scripts/prepare-ChangeLog:
3521 (changeLogDate): Added.
3523 2007-08-24 Sam Weinig <sam@webkit.org>
3525 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3527 2007-08-24 Sam Weinig <sam@webkit.org>
3529 Rubber-stamped by Adam Roben.
3531 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3533 Rename COM DOM bindings to use Deprecated prefix.
3535 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3538 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: