1 2007-11-07 Dan Bernstein <mitz@apple.com>
3 Reviewed by Darin Adler.
5 - add an option to run-webkit-tests to ignore pixel test failures where
6 all pixels differ by no more than a specified threshold
8 * DumpRenderTree/mac/ImageDiff.m:
11 (computePercentageDifferent):
12 * Scripts/run-webkit-tests:
14 2007-11-07 Simon Hausmann <hausmann@kde.org>
18 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
20 * DumpRenderTree/qt/DumpRenderTree.cpp:
22 2007-11-07 Simon Hausmann <hausmann@kde.org>
26 Reworked the QWebSettings API.
27 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
29 * DumpRenderTree/qt/DumpRenderTree.cpp:
31 2007-11-07 Simon Hausmann <hausmann@kde.org>
35 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
37 * DumpRenderTree/qt/jsobjects.cpp:
39 2007-11-07 Simon Hausmann <hausmann@kde.org>
41 Reviewed by Lars Knoll <lars@trolltech.com>.
43 Add a QWebPage::frameCreated() signal and fix DRT
45 The removal of createFrame in QWebPage broke the re-implementation
46 in DumpRenderTree. Instead emit a frameCreated() signal and
47 connect to it in DumpRenderTree.
50 * DumpRenderTree/qt/DumpRenderTree.cpp:
51 (WebCore::WebPage::WebPage):
52 (WebCore::DumpRenderTree::dump):
53 (WebCore::DumpRenderTree::connectFrame):
54 * DumpRenderTree/qt/DumpRenderTree.h:
56 2007-11-07 Simon Hausmann <hausmann@kde.org>
58 Reviewed by Lars Knoll <lars@trolltech.com>.
60 Moved all the event handlers from QWebFrame into QWebPage.
62 This cleans up the public API and allows us to remove the
63 HackWebFrame hack in DumpRenderTree.
66 * DumpRenderTree/qt/jsobjects.cpp:
67 (EventSender::mouseDown):
68 (EventSender::mouseUp):
69 (EventSender::mouseMoveTo):
71 2007-11-07 Simon Hausmann <hausmann@kde.org>
75 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
76 to prevent the default implementation from popping up messageboxes.
78 * DumpRenderTree/qt/DumpRenderTree.cpp:
79 (WebCore::WebPage::javaScriptConfirm):
80 (WebCore::WebPage::javaScriptPrompt):
82 2007-11-06 Eric Seidel <eric@webkit.org>
84 * Scripts/build-testkjs: build fix... too many $$
86 2007-11-06 Eric Seidel <eric@webkit.org>
88 Reviewed by Mark Rowe.
90 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
92 2007-11-05 Adam Roben <aroben@apple.com>
94 Add support on Windows for WEBKIT_TESTFONTS
96 This environment variable lets you specify where the fonts to be used
97 by DumpRenderTree reside. The Qt port is already using this, so I'm
98 just following their lead.
102 * DumpRenderTree/win/DumpRenderTree.cpp:
103 (exePath): Refactored code out of initialize().
104 (fontsPath): Returns either $WEBKIT_TESTFONTS or
105 DumpRenderTree.resources.
106 (initialize): Use the new fontsPath function.
107 (main): Use the new exePath function.
108 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
109 variable to DRT, like Qt does.
111 2007-11-05 Mark Rowe <mrowe@apple.com>
113 Rubber-stamped by Alp Toker.
115 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
117 * GtkLauncher/main.cpp:
121 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
123 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
124 <http://bugs.webkit.org/show_bug.cgi?id=15830>
128 Restrict the range of nightly builds used by the bisect-builds script
129 based on the version of Safari and the version of Mac OS X being used.
131 Mac OS X 10.4: Safari 2.0: r11976 or newer
132 Mac OS X 10.4: Safari 3.0: r19992 or newer
134 Mac OS X 10.5: Safari 2.0: r19594 or newer
135 Mac OS X 10.5: Safari 3.0: r25124 or newer
137 * Scripts/bisect-builds:
138 (findMacOSXVersion): Added.
139 (makeNightlyList): Added argument to provide version of Mac OS X.
140 Restrict range of nightly builds based on Safari and Mac OS X versions.
142 2007-11-04 Kevin McCullough <kmccullough@apple.com>
146 - This patch involves several changes, all of them were noticed that
147 they were needed by the work being done in WebKit to get Drosera and
148 WebKit working together on Windows.
150 1) Added a debugger console for output messages.
151 2) Drosera now listens for the WebKit server (before, the server would
152 have to be running before Drosera was started.)
153 3) Fixed a bug where the WebView started out as 0x0 pixels.
154 4) Fixed a bug when there is no scope.
155 5) Added the HTML, JS, and CSS to the project file to make them easy to
157 6) Made the ServerConnection functions virtual.
159 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
160 for the WebKit server.
161 (DebuggerClient::DebuggerClient):
162 (DebuggerClient::~DebuggerClient):
163 (DebuggerClient::didFinishLoadForFrame):
164 (DebuggerClient::serverConnected):
165 (DebuggerClient::attemptToCreateServerConnection):
166 * Drosera/win/DebuggerClient.h: Ditto.
167 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
169 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
170 (DebuggerDocument::platformValueForScopeVariableNamed):
171 * Drosera/win/Drosera.cpp:
172 (_tWinMain): Added a console in debug for output messages.
173 (Drosera::Drosera): Listen for server.
174 (Drosera::initUI): The server now Initializes COM.
175 (Drosera::serverConnected): Part of the listening for the server.
176 (Drosera::attemptToCreateServerConnection): Ditto.
177 * Drosera/win/Drosera.h: New interface for listening for the server.
178 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
179 files to the VS project.
180 * Drosera/win/ServerConnection.cpp: Part of listening for the server
182 (ServerConnection::ServerConnection):
183 (ServerConnection::attemptToCreateServerConnection):
184 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
186 (ServerConnection::serverConnected):
188 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
192 http://bugs.webkit.org/show_bug.cgi?id=15832
193 fast/dom/gc-10.html crashes when run alone
195 Check for !done before using objects that can be already deallocated.
197 * DumpRenderTree/mac/EditingDelegate.mm:
198 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
199 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
200 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
201 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
202 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
203 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
204 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
205 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
206 (-[EditingDelegate webViewDidBeginEditing:]):
207 (-[EditingDelegate webViewDidChange:]):
208 (-[EditingDelegate webViewDidEndEditing:]):
209 (-[EditingDelegate webViewDidChangeTypingStyle:]):
210 (-[EditingDelegate webViewDidChangeSelection:]):
211 * DumpRenderTree/mac/FrameLoadDelegate.mm:
212 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
213 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
214 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
215 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
216 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
217 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
218 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
219 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
220 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
221 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
222 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
223 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
224 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
225 (-[FrameLoadDelegate webView:willCloseFrame:]):
226 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
227 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
228 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
229 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
230 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
231 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
232 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
233 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
234 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
236 2007-11-04 Mark Rowe <mrowe@apple.com>
238 Build fix. Don't use Carbon.h as the prefix header as it triggers
239 warnings that would otherwise be suppressed due to it being a system header.
241 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
243 2007-11-03 Maciej Stachowiak <mjs@apple.com>
245 Rubber stamped by Adam.
247 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
249 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
251 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
253 Sort files(...); sections of Xcode project files.
255 Rubber-stamped by Darin.
257 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
258 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
259 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
260 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
262 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
264 Script to sort "files(...);" sections in Xcode project.pbxproj files.
268 * Scripts/sort-Xcode-project-file: Added.
270 2007-11-02 Darin Adler <darin@apple.com>
272 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
274 2007-11-02 Darin Adler <darin@apple.com>
278 * Scripts/run-sunspider: Pass the "--base" option through.
280 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
281 the real script do that. Default configuration to Release to match run-sunspider
282 so we don't end up building Debug just to compare results.
284 2007-11-01 Adam Roben <aroben@apple.com>
286 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
290 * Scripts/commit-log-editor: Show all the directories beneath the
291 source root, instead of just the last one.
293 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
295 Reviewed by Adam Roben.
297 Print out an error message when the Windows build fails
298 and provide guidance on how to find out what went wrong.
300 * Scripts/build-webkit:
301 * Scripts/webkitdirs.pm:
303 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
305 Rubber-stamped by Adam Roben.
307 Rolled out r27326 - debug CRT seems to cause no problems after all.
309 * DumpRenderTree/win/DumpRenderTree.vcproj:
311 2007-10-31 Adam Roben <aroben@apple.com>
313 Switch the Debug configuration to using the non-debug CRT
319 * DumpRenderTree/win/DumpRenderTree.vcproj:
321 2007-10-31 Antti Koivisto <antti@apple.com>
325 Disable media tests when doing leak checking on Tiger.
326 They crash in QuickTime (rdar://problem/5537157).
328 * Scripts/run-webkit-tests:
330 2007-10-29 Antti Koivisto <antti@apple.com>
334 Build media support by default on OSX only.
336 * Scripts/build-webkit:
338 2007-10-30 Kevin McCullough <kmccullough@apple.com>
340 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
341 get caught by the pre-commit hooks.
343 2007-10-30 Kevin McCullough <kmccullough@apple.com>
347 - This is a collection of relatively unrelated changes and cleanups
348 to Drosera to prepare it for interacting with WebKit. A lot of these
349 changes are just correcting mistakes, for example removing included
350 headers that are no longer needed.
352 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
353 this will be needed by the DebuggerClient.
354 (DebuggerDocument::server):
355 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
356 * Drosera/win/DebuggerClient.cpp:
357 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
358 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
359 (DebuggerClient::createWebViewWithRequest): Added comment about its
361 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
363 (DebuggerClient::webViewLoaded): Moved.
364 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
365 file, since this was the only place it was used.
367 * Drosera/win/Drosera.h: Cleaned up the includes.
368 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
369 * Drosera/win/HelperFunctions.h: Removed.
371 2007-10-30 Kevin McCullough <kmccullough@apple.com>
375 - Small cleanup in the ServerConnection class.
377 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
378 and added an include.
379 (ServerConnection::currentFrame):
380 (ServerConnection::getCallerFrame):
381 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
382 made a pointer into a COMPtr, and cleaned up the includes.
384 2007-10-29 Timothy Hatcher <timothy@apple.com>
386 Reviewed by John Sullivan.
388 - Place the Localizable.strings file in mac or win directories
389 if that location exists.
390 - Also look for UI_STRING in .c files.
392 * Scripts/extract-localizable-strings:
394 2007-10-30 Kevin McCullough <kmccullough@apple.com>
398 - Set the eol-style to native and made all the line endings the same
399 so that I avoid messy diffs that show eol changes.
401 * Drosera/win/ServerConnection.cpp:
402 (ServerConnection::didParseSource):
403 (ServerConnection::didEnterCallFrame):
404 (ServerConnection::willExecuteStatement):
405 (ServerConnection::willLeaveCallFrame):
406 (ServerConnection::exceptionWasRaised):
408 2007-10-30 Kevin McCullough <kmccullough@apple.com>
412 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
413 functionality that could not have existed previously without the new
415 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
416 from a BSTR to a JSValueRef.
417 (DebuggerDocument::platformEvaluateScript): Implemented.
418 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
419 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
421 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
422 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
423 * Drosera/win/ServerConnection.cpp: Added a helper function.
424 (ServerConnection::getCallerFrame):
425 * Drosera/win/ServerConnection.h: Added a helper function.
427 2007-10-29 Kevin McCullough <kmccullough@apple.com>
429 updated reviewers for my previous changelog.
431 2007-10-29 Kevin McCullough <kmccullough@apple.com>
432 Reviewed by Maciej and Adam and Geoff.
434 - Minor mac-side improvements including moving a function to a more
435 appropriate location, fixing a warning, and correctly checking
438 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
439 (DebuggerDocument::willExecuteStatement):
440 (DebuggerDocument::didEnterCallFrame):
441 (DebuggerDocument::willLeaveCallFrame):
442 (DebuggerDocument::windowScriptObjectAvailable):
443 (DebuggerDocument::callFunctionOnObject):
444 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
445 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
446 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
447 because it doesn't require the ServerConnection at all.
448 (NSStringCreateWithJSStringRef): Made an argument const.
449 (JSValueRefCreateWithNSString): Made an argument const.
450 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
451 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
452 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
453 * Drosera/mac/ServerConnection.mm: Ditto.
454 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
456 2007-10-29 Sam Weinig <sam@webkit.org>
458 Reviewed by Adam Roben.
460 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
462 * DumpRenderTree/LayoutTestController.cpp:
463 (LayoutTestController::LayoutTestController):
464 (getGlobalFlagCallback):
465 (setGlobalFlagCallback):
466 (LayoutTestController::getJSClass):
467 (LayoutTestController::staticValues):
468 * DumpRenderTree/LayoutTestController.h:
469 (LayoutTestController::globalFlag):
470 (LayoutTestController::setGlobalFlag):
472 2007-10-29 Darin Adler <darin@apple.com>
476 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
477 resolution instead of its default.
479 2007-10-29 David Kilzer <ddkilzer@webkit.org>
481 Fixed showStatus() to print status for successfully resolved conflicts when using git.
483 Reviewed by Mark Rowe.
485 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
486 was successfully resolved, but this would not show any status because the change had
487 already been cached in the index using "git add". The solution is to add an optional
488 second argument to showStatus() which adds the "--cached" switch to the command.
490 * Scripts/resolve-ChangeLogs:
493 2007-10-28 Eric Seidel <eric@webkit.org>
495 Reviewed by Maciej and Geoff, in unison.
497 * Scripts/run-webkit-tests: remove broken --svg option
499 2007-10-28 Darin Adler <darin@apple.com>
503 * Scripts/run-sunspider: Default to "Release" configuration rather than
504 defaulting to the last configuration used as other scripts do. This can
505 still be overriden on the command line with "--debug" if there's some
506 reason to do so. Also fix a typo.
508 * Scripts/sunspider-compare-results: Fix a typo.
510 2007-10-26 Kevin McCullough <kmccullough@apple.com>
514 - Implemented the WebScriptDebugListener functions now that the
515 WebScriptDebugServer exists
517 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
519 (ServerConnection::currentFrame):
520 (ServerConnection::didLoadMainResourceForDataSource):
521 (ServerConnection::didParseSource):
522 (ServerConnection::failedToParseSource):
523 (ServerConnection::didEnterCallFrame):
524 (ServerConnection::willExecuteStatement):
525 (ServerConnection::willLeaveCallFrame):
526 (ServerConnection::exceptionWasRaised):
527 * Drosera/win/ServerConnection.h: Removed unused arguments from the
528 members arguments list.
530 2007-10-26 David Kilzer <ddkilzer@webkit.org>
532 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
533 <http://bugs.webkit.org/show_bug.cgi?id=15600>
537 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
538 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
539 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
540 file. Note that it may also be used as a stand-alone script.
542 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
543 * Scripts/resolve-ChangeLogs: Added.
544 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
546 2007-10-26 Mark Rowe <mrowe@apple.com>
548 Qt build fix. r27084 added a destructor implementation for LayoutTestController
549 to the Qt port on the assumption that it was an implementation of the cross-platform
550 LayoutTestController class. It is not, so it did not need to be changed.
552 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
554 2007-10-25 Mark Rowe <mrowe@apple.com>
558 Fix builds with code coverage enabled.
560 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
562 2007-10-25 Darin Adler <darin@apple.com>
564 Reviewed by Mark Rowe.
566 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
567 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
569 2007-10-25 Stephanie <slewis@apple.com>
573 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
575 2007-10-25 Stephanie <slewis@apple.com>
577 Reviewed by Mark Rowe, Adam Roben.
579 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
581 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
583 2007-10-25 Alice Liu <alice.liu@apple.com>
587 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
589 Moving destructor into platform-specific files
590 * DumpRenderTree/LayoutTestController.cpp:
591 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
592 (LayoutTestController::~LayoutTestController):
593 * DumpRenderTree/qt/jsobjects.cpp:
594 (LayoutTestController::~LayoutTestController):
596 LayoutTestController wasn't being destroyed
597 * DumpRenderTree/win/DumpRenderTree.cpp:
601 * DumpRenderTree/win/EditingDelegate.h:
603 Reset certain values on the webview (or related delegate) that might
604 have changed while running a test
605 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
606 (LayoutTestController::~LayoutTestController):
608 2007-10-25 Adam Roben <aroben@apple.com>
610 Make sunspider-compare-results work with relative paths
614 * Scripts/sunspider-compare-results: Convert arguments to absolute
615 paths before we chdir.
617 2007-10-25 Kevin McCullough <kmccullough@apple.com>
621 - Implemented server calls now the WebScriptDebugServer exists.
622 - Also removed no longer needed call to initialize CG.
624 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
627 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
628 (ServerConnection::ServerConnection):
629 (ServerConnection::~ServerConnection):
630 (ServerConnection::pause):
631 (ServerConnection::resume):
632 (ServerConnection::stepInto):
633 (ServerConnection::applicationTerminating):
634 (ServerConnection::serverConnectionDidDie):
635 * Drosera/win/ServerConnection.h: Now uses the COM class.
637 2007-10-24 George Staikos <staikos@kde.org>
641 * Scripts/build-webkit:
643 2007-10-24 Adam Roben <aroben@apple.com>
645 Remove now-unnecessary call to InitializeCoreGraphics
647 WebKit takes care of this now.
651 * DumpRenderTree/win/DumpRenderTree.cpp:
654 2007-10-24 Adam Roben <aroben@apple.com>
656 Use WebTextRenderer in DRT
660 * DumpRenderTree/win/DumpRenderTree.cpp:
661 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
663 2007-10-24 Sven Herzberg <sven@imendio.com>
665 Reviewed by Mark Rowe.
667 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
668 Bug 15614: [GTK] qmake based backends don't build on OS X
670 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
672 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
673 isDarwin() to make it reusable in other places (like the workaround-
674 for-prebuilt-qmake in build-webkit)
676 2007-10-24 David Kilzer <ddkilzer@webkit.org>
678 Refurbish update-webkit script.
682 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
683 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
684 multi-argument version of system() for flexibility and security. Check for existence
685 of Internal directory using -d test instead of -x.
687 2007-10-24 David Kilzer <ddkilzer@webkit.org>
689 Minor clean-up of prepare-ChangeLog script.
693 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
694 of a string. Use multi-argument versions of open() and system() for flexibility and
697 2007-10-24 Alice Liu <alice.liu@apple.com>
701 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
703 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
704 replay the saved events when we're still processing the mousedown that starts the drag
705 * DumpRenderTree/win/EventSender.cpp:
707 * DumpRenderTree/win/UIDelegate.cpp:
708 (UIDelegate::doDragDrop):
710 2007-10-24 Kevin McCullough <kmccullough@apple.com>
712 Reviewed by Sam, Steve and Darin.
714 - Stubbed out the WebScriptDebugListener functionality in the Server
715 Connection class to prepare it for receiving those callbacks.
716 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
717 and the ServerConnection to not need to be initialized with a server
718 name, since that is not the way we connect to the WebKit server.
720 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
721 no exception. Now it only loggs when there is an exception
722 (DebuggerDocument::willExecuteStatement):
723 (DebuggerDocument::didEnterCallFrame):
724 (DebuggerDocument::willLeaveCallFrame):
725 (DebuggerDocument::windowScriptObjectAvailable):
726 (DebuggerDocument::callFunctionOnObject):
727 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
728 to be instantiated with a server's name.
729 (DebuggerClient::DebuggerClient):
730 (DebuggerClient::didFinishLoadForFrame):
731 * Drosera/win/DebuggerClient.h: Removed unsued variable.
732 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
735 (Drosera::initServer):
736 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
737 instantiated with a server's name.
738 * Drosera/win/ServerConnection.cpp:
739 (ServerConnection::ServerConnection): No longer needs a server name
740 (ServerConnection::~ServerConnection): Only release the global context
742 (ServerConnection::serverConnectionDidDie): Stub for
743 IWebScriptDebugListener
744 (ServerConnection::QueryInterface): ditto
745 (ServerConnection::AddRef): ditto
746 (ServerConnection::Release): ditto
747 (ServerConnection::didLoadMainResourceForDataSource): ditto
748 (ServerConnection::didParseSource): ditto
749 (ServerConnection::failedToParseSource): ditto
750 (ServerConnection::didEnterCallFrame): ditto
751 (ServerConnection::willExecuteStatement): ditto
752 (ServerConnection::willLeaveCallFrame): ditto
753 (ServerConnection::exceptionWasRaised): ditto
754 * Drosera/win/ServerConnection.h: Stubbed out the
755 IWebScriptDebugListener functions, and this class no longer needs to be
756 instantiated with a server name.
758 2007-10-24 Lars Knoll <lars@trolltech.com>
762 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
764 * DumpRenderTree/qt/jsobjects.h:
766 2007-10-24 Lars Knoll <lars@trolltech.com>
772 * DumpRenderTree/qt/jsobjects.cpp:
773 (TextInputController::doCommand):
775 2007-10-24 Lars Knoll <lars@trolltech.com>
779 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
781 * DumpRenderTree/qt/jsobjects.cpp:
782 (EventSender::keyDown):
783 * DumpRenderTree/qt/jsobjects.h:
785 2007-10-24 Lars Knoll <lars@trolltech.com>
789 implement eventSender.keyDown().
791 * DumpRenderTree/qt/jsobjects.cpp:
792 (EventSender::keyDown):
794 2007-10-24 Lars Knoll <lars@trolltech.com>
798 some smaller fixes to the editing support in DRT. Makes another few tests pass.
800 * DumpRenderTree/qt/DumpRenderTree.cpp:
801 (WebCore::DumpRenderTree::DumpRenderTree):
802 (WebCore::DumpRenderTree::initJSObjects):
803 * DumpRenderTree/qt/jsobjects.cpp:
804 (TextInputController::doCommand):
806 2007-10-24 Lars Knoll <lars@trolltech.com>
810 first bit of implementation for the textinputcontroller.
812 * DumpRenderTree/qt/DumpRenderTree.cpp:
813 (WebCore::DumpRenderTree::DumpRenderTree):
814 * DumpRenderTree/qt/DumpRenderTree.h:
815 * DumpRenderTree/qt/jsobjects.cpp:
816 (TextInputController::TextInputController):
817 (TextInputController::doCommand):
818 * DumpRenderTree/qt/jsobjects.h:
820 2007-10-24 Lars Knoll <lars@trolltech.com>
824 make the man webpage believe it has focus, so the editing tests work correctly.
826 * DumpRenderTree/qt/DumpRenderTree.cpp:
827 (WebCore::DumpRenderTree::DumpRenderTree):
829 2007-10-24 Lars Knoll <lars@trolltech.com>
833 implement layoutTestController.dumpEditingCallbacks() correctly.
835 * DumpRenderTree/qt/DumpRenderTree.cpp:
836 (WebCore::DumpRenderTree::DumpRenderTree):
837 * DumpRenderTree/qt/jsobjects.cpp:
838 (LayoutTestController::reset):
839 (LayoutTestController::dumpEditingCallbacks):
841 2007-10-24 Lars Knoll <lars@trolltech.com>
845 Implement support for testing editing.
847 * DumpRenderTree/qt/DumpRenderTree.cpp:
848 (WebCore::DumpRenderTree::DumpRenderTree):
850 2007-10-23 Sam Weinig <sam@webkit.org>
852 Check for null BSTR that can be passed to the UIDelegate methods
853 from javascript null and undefined. Fixes a failing test case on
854 Windows (fast/dom/Window/alert-undefined.html)
856 Reviewed by Eric Seidel.
858 * DumpRenderTree/win/UIDelegate.cpp:
859 (UIDelegate::runJavaScriptAlertPanelWithMessage):
860 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
861 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
862 (UIDelegate::webViewAddMessageToConsole):
864 2007-10-23 Maciej Stachowiak <mjs@apple.com>
868 Don't print a massive pile of setenvs from tools that automatically build testkjs.
870 * Scripts/build-testkjs:
872 2007-10-23 Maciej Stachowiak <mjs@apple.com>
876 - add wrapper that finds the right copy of testkjs
878 * Scripts/sunspider-compare-results: Added.
880 2007-10-23 Kevin McCullough <kmccullough@apple.com>
884 - After talking with Steve I now see that the WebKit server must be
885 running for DCOM to create the distributed objects, which makes sense
886 and currently WebKit only allows one instance to be running at a time
887 which avoids accidentally connecting to the wrong server
888 - In light of this I have removed the code for the attach box and
889 NotificationServer and known server names, since they are all extranious
892 * Drosera/win/Drosera.cpp: Removed notification classes and known server
894 (_tWinMain): Uses init instead of initUI.
895 (droseraWndProc): No longer creats an attach dialog box.
896 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
897 it's not manditory to call init before doing COM stuff.
898 (Drosera::init): calls initUI and will call attach when the
899 functionality exists.
900 (Drosera::initUI): Has changed very little.
901 (Drosera::attach): Changed the signature to reflect that we no longer
902 need the dictionary of known server names.
903 * Drosera/win/Drosera.h: Removed notification classes and known server
904 names. Also renamed and moved some functions.
905 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
906 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
907 headers to the resources folder.
908 * Drosera/win/resource.h: Removed the Attach box.
910 2007-10-22 Adam Roben <aroben@apple.com>
914 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
916 2007-10-22 Kevin McCullough <kmccullough@apple.com>
918 - Removed a leak that was fixed.
920 * Scripts/run-webkit-tests:
922 2007-10-19 Kevin McCullough <kmccullough@apple.com>
926 - Changed the Client so that the DebuggerDocument now own the
927 ServerConnection. This simplifies ownership and cleanup.
929 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
931 (DebuggerClient::initWithServerName):
932 (DebuggerClient::didFinishLoadForFrame):
933 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
935 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
936 until after we have a server which we are attached to.
939 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
942 2007-10-22 Simon Hausmann <hausmann@kde.org>
946 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
948 * Scripts/run-javascriptcore-tests:
950 2007-10-22 Simon Hausmann <hausmann@kde.org>
954 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.
956 * Scripts/build-drosera:
957 * Scripts/build-dumprendertree:
958 * Scripts/build-testkjs:
959 * Scripts/build-webkit:
960 * Scripts/run-javascriptcore-tests:
961 * Scripts/run-sunspider:
962 * Scripts/run-webkit-tests:
963 * Scripts/webkitdirs.pm:
965 2007-10-22 Andrew Wellington <proton@wiretapped.net>
967 Reviewed by Mark Rowe.
969 Fix for local database support after r26879
970 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
972 * Scripts/build-webkit:
974 2007-10-22 Holger Freyther <zecke@selfish.org>
976 Reviewed by Simon Hausmann <hausmann@kde.org>.
978 - Do not build testkjs as an application bundle. This is
979 needed for run-javascriptcore-tests on OSX.
980 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
981 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
982 as we do not have -rpath on OSX.
984 * DumpRenderTree/qt/DumpRenderTree.pro:
985 * Scripts/run-webkit-tests:
987 2007-10-22 Simon Hausmann <hausmann@kde.org>
991 Fix support for Signed-off-by detection in prepare-ChangeLog
992 --git-commit. The Signed-off-by tag does not appear in the header
993 but usually at the end.
995 * Scripts/prepare-ChangeLog:
997 2007-10-21 Mark Rowe <mrowe@apple.com>
1001 Fix run-javascriptcore-tests for Gtk.
1003 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
1005 2007-10-20 Eric Seidel <eric@webkit.org>
1009 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
1011 2007-10-20 Eric Seidel <eric@webkit.org>
1015 Add improved argument handling to run-sunspider, including
1016 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
1017 Also re-factor code into subroutines
1019 * Scripts/build-dumprendertree: removed bogus comments
1020 * Scripts/build-testkjs: Added.
1021 * Scripts/run-javascriptcore-tests: use build-testkjs
1022 * Scripts/run-sunspider: improved argument handling, abstraction
1023 * Scripts/run-webkit-tests: improved abstraction
1025 2007-10-20 Matt Lilek <webkit@mattlilek.com>
1027 Not reviewed, Windows build fix.
1029 * DumpRenderTree/win/EventSender.cpp:
1032 2007-10-20 Darin Adler <darin@apple.com>
1034 Reviewed by Tim Hatcher.
1036 - http://bugs.webkit.org/show_bug.cgi?id=15544
1037 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
1038 not rely on Apple-specific key codes
1040 * DumpRenderTree/mac/EventSendingController.mm:
1041 (-[EventSendingController keyDown:withModifiers:]):
1042 Added named key "rightArrow". Later we could have a whole table of these.
1043 Also tweaked modifiers code a little.
1045 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
1047 2007-10-19 Darin Adler <darin@apple.com>
1051 - http://bugs.webkit.org/show_bug.cgi?id=15566
1052 possible fix for leak seen in DumpRenderTree
1054 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
1055 Delete the item if it's not put on the queue, since the caller has
1056 no way of knowing that. Would be better to have the parameter type
1057 be auto_ptr to express the fact that we take ownership.
1061 * Drosera/mac/main.m: Add missing include.
1063 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1067 - This change should be identical but for some reason was not working
1070 * Scripts/prepare-ChangeLog:
1072 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1074 Reviewed by Oliver and Tim.
1076 - Made use of RetainPtr to avoid retain and release issues and moved the
1077 log function to DebuggerDocumentPlatform, which seems to be a more
1078 logical place for it to live.
1079 - Also moved knownServers from the ServerConnection to
1080 DebuggerApplication to match the Windows code and because it makes sense
1081 that a connection knows its own server but not all of them.
1083 * Drosera/mac/DebuggerClient.h: Moved the log function to
1084 DebuggerDocumentPlatform.
1085 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
1086 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
1087 call for the server name up from the ServerConnection class.
1088 (-[DebuggerClient dealloc]):
1089 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
1090 for the server name up from the ServerConnection.
1091 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
1092 (DebuggerDocument::platformPause):
1093 (DebuggerDocument::platformResume):
1094 (DebuggerDocument::platformStepInto):
1095 (DebuggerDocument::platformEvaluateScript):
1096 (DebuggerDocument::getPlatformCurrentFunctionStack):
1097 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1098 (DebuggerDocument::platformValueForScopeVariableNamed):
1099 (DebuggerDocument::platformLog): Log directly from here. No need to call
1101 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
1102 way I see it, a ServerConnection should only know about its connection
1103 and the group of all possible servers should be kept by the
1105 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
1106 currentServerName, it makes sense that the connection should know that
1108 (-[ServerConnection currentServerName]):
1110 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1114 - Integrated changes from mac drosera. Recently I've encapsulated
1115 out the server connection object from the rest of Drosera because
1116 it is very platform dependent right now and RPC is not implemented on
1117 windows. This functionality, of communicating with the WebKit server
1118 is the next area I will be focusing on in Windows.
1120 - Other changes and cleanup were made to organize the code and add notes
1121 on which parts still need work. Also some mac code is added and
1122 commented out, to act as pseudocode for the logic of those parts.
1124 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
1126 * Drosera/config.h: Added whitespace.
1127 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
1128 these files got moved into Drosera.h/cpp
1129 * Drosera/win/DebuggerApplication.h: Removed.
1130 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
1131 happened here to better match the logic flow of the same code on the
1132 mac side and to use the new ServerConnection class.
1133 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
1134 (DebuggerClient::initWithServerName): Initializer that will set up the
1135 class to use a ServerConnection object. This was necessary so I could
1136 create a DebuggerClient without having to initilaize it at
1138 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
1139 will be the UIDelegate and FrameLoadDelegate.
1140 (DebuggerClient::AddRef): For IUnknown.
1141 (DebuggerClient::Release): For IUnknown.
1142 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
1143 this still needs to set the global context of the server, but
1144 IWebFrame does not have an accessor for the global context yet.
1145 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
1146 this is a pass through for the same function in the document.
1147 (DebuggerClient::didReceiveTitle): Unimplemented part of
1148 FrameLoadDelegate this would change the title of the window.
1149 (DebuggerClient::createWebViewWithRequest): Part of the
1150 FrameLoadDelegate. This is about new windows via Window.open() and
1151 how their delegates are set.
1152 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
1153 UIDelegate. Just a debug function for printing messages.
1154 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
1155 because the Client should be the UIDelegate and FrameLoadDelegate
1156 to match the delegates on mac.
1157 (DebuggerClient::webViewLoaded): Added accessor method.
1158 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
1159 forgotten to add this file before. This is where the platform
1160 dependent versions of the Documents functions live. Most of these are
1161 unimplemented because some piece of functionality does not exist on
1163 (DebuggerDocument::platformPause):
1164 (DebuggerDocument::platformResume):
1165 (DebuggerDocument::platformStepInto):
1166 (DebuggerDocument::platformEvaluateScript):
1167 (DebuggerDocument::getPlatformCurrentFunctionStack):
1168 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1169 (DebuggerDocument::platformValueForScopeVariableNamed):
1170 (DebuggerDocument::platformLog):
1171 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
1172 responsibilities becaue they belong in the Client. Also I laid the
1173 groundwork for attaching Drosera to a WebKit process
1174 (attachWndProc): Now if a server is selected the Client becomes it's
1176 (Drosera::Drosera): Added the construction of the Client and dictionary
1178 (Drosera::initUI): This is no longer the delegates, the Client is.
1179 (Drosera::webViewLoaded): Now asks the Client instead of holding local
1181 (Drosera::applicationDidFinishLaunching): Placeholder for needed
1182 notification registration when it's possible to implement.
1183 (Drosera::serverLoaded): Ditto
1184 (Drosera::serverUnloaded): Ditto
1185 (Drosera::attach): Attach Drosera to the WebKit server.
1186 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
1189 (Drosera::knownServers):
1190 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
1191 and added the ServerConnection.
1192 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
1193 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
1194 Most of the functions are completely unimlemented because they cannot
1195 connect with the WebKit server, because one does not exist on Windows
1197 (ServerConnection::initWithServerName):
1198 (ServerConnection::~ServerConnection):
1199 (ServerConnection::setGlobalContext):
1200 (ServerConnection::pause):
1201 (ServerConnection::resume):
1202 (ServerConnection::stepInto):
1203 (ServerConnection::switchToServerNamed):
1204 (ServerConnection::applicationTerminating):
1205 (ServerConnection::serverConnectionDidDie):
1206 (ServerConnection::currentFrame):
1207 * Drosera/win/ServerConnection.h: Added. Ditto.
1208 (ServerConnection::ServerConnection):
1210 2007-10-19 Alice Liu <alice.liu@apple.com>
1214 Fix for these broken layout tests on Windows:
1216 fast/forms/focus-selection-input.html
1217 fast/forms/focus-selection-textarea.html
1218 fast/forms/select-accesskey.html
1220 * DumpRenderTree/win/EventSender.cpp:
1222 correct the VK code for alt key.
1224 2007-10-19 Eric Seidel <eric@webkit.org>
1226 Reviewed by Mark Rowe.
1228 Make the GtkLauncher code slightly more readable.
1230 * GtkLauncher/main.cpp:
1231 (setupMainMenu): Added.
1232 (setupMainWindowUI): Added.
1235 2007-10-19 Maciej Stachowiak <mjs@apple.com>
1237 Rubber stamped by Adam.
1239 - don't delay-load WebKit in DumpRenderTree.
1241 * DumpRenderTree/win/DumpRenderTree.vcproj:
1243 2007-10-18 Dan Bernstein <mitz@apple.com>
1245 Reviewed by Adam Roben.
1247 - fix <rdar://problem/5313523>
1248 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1250 * DumpRenderTree/mac/DumpRenderTree.mm:
1251 (dump): Changed to use _responseMIMEType.
1253 2007-10-17 Adam Roben <aroben@apple.com>
1255 Make it possible to have Windows-specific tests and results
1257 When searching for tests to run and the Skipped file, we will only
1258 look in platform/win and the cross-platform directory. When looking
1259 for expected results, we will look in platform/win, then
1260 platform/mac-leopard, then platform/mac, then finally the
1261 cross-platform directory.
1265 * Scripts/run-webkit-tests:
1266 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
1267 searching in the cross-platform directory.
1268 (sub buildPlatformHierarchy): Removed some unneeded calls to
1271 2007-10-17 Adam Roben <aroben@apple.com>
1273 Add back the call to register WebKit that we had before WebKitInitializer existed
1275 This is needed to ensure that the right WebKit is used when
1276 instantiating COM objects.
1280 * DumpRenderTree/win/debug_internal.vsprops: Define
1281 DEBUG_WEBKIT_HAS_SUFFIX.
1282 * DumpRenderTree/win/DumpRenderTree.cpp:
1285 2007-10-17 Adam Roben <aroben@apple.com>
1287 Import File::Basename in webkitdirs since we use it
1289 * Scripts/webkitdirs.pm:
1291 2007-10-17 Kevin McCullough <kmccullough@apple.com>
1293 - Updated the tiger leaks list to make the internal bots green.
1295 * Scripts/run-webkit-tests:
1297 2007-10-17 Adam Roben <aroben@apple.com>
1299 Build fix for VC++ Express
1301 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1304 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1308 - Minor mac improvements based on observations I made while implementing the
1311 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1312 then hand it to the Client who will retain it, it should just be the client who
1313 creates and owns the server.
1314 (-[DebuggerApplication attach:]):
1315 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1316 * Drosera/mac/DebuggerClient.mm: Creates the server.
1317 (-[DebuggerClient initWithServerName:]):
1318 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1319 can instead forward declare what it needs.
1321 2007-10-16 Darin Adler <darin@apple.com>
1323 Reviewed by Geoff Garen.
1325 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1326 want to turn failing tests into platform-specific test results. Also did a
1327 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1328 would take the type of results into account only some of the time.
1330 2007-10-16 Adam Roben <aroben@apple.com>
1332 Add a new nightly launcher script for Windows
1334 This new script is for versions of Safari that don't delay-load
1335 WebKit. I had to make FindSafari be able to print out the nightly
1336 launcher script on stdout because Windows shell scripts can't capture
1337 the output from a command into an environment variable.
1341 * FindSafari/FindSafari.cpp:
1342 (_tmain): Added /printSafariLauncher option.
1343 * Scripts/run-webkit-nightly.cmd: Added.
1345 2007-10-16 Adam Roben <aroben@apple.com>
1347 Replace WebKitInitializer with FindSafari
1349 We now rely on setting the PATH environment variable to tell Windows
1350 where to find WebKit and its dependencies (similar to
1351 DYLD_FRAMEWORK_PATH on Mac).
1353 This change also make DumpRenderTree no longer delay-load WebKit.
1357 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1359 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1360 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1361 WebKitInitializer, don't delay-load WebKit.
1362 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1363 * Scripts/run-webkit-tests: Ditto.
1364 * Scripts/webkitdirs.pm:
1365 (sub setPathForRunningWebKitApp): Added.
1366 * WebKitInitializer/WebKitInitializer.cpp: Removed.
1367 * WebKitInitializer/WebKitInitializer.h: Removed.
1368 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1369 * WebKitInitializer/debug.vsprops: Removed.
1370 * WebKitInitializer/debug_internal.vsprops: Removed.
1371 * WebKitInitializer/release.vsprops: Removed.
1373 2007-10-16 Adam Roben <aroben@apple.com>
1375 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1377 http://bugs.webkit.org/show_bug.cgi?id=15532
1379 FindSafari simply prints the location of an installed Safari.exe on
1384 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1387 (getInstalledWebKitDirectory):
1389 * FindSafari/FindSafari.vcproj: Added.
1390 * Scripts/webkitdirs.pm:
1391 (sub installedSafariPath): Added. Calls FindSafari on Windows.
1393 2007-10-16 Adam Roben <aroben@apple.com>
1395 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1397 Reviewed by Kevin McCullough.
1399 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1400 when referring to WebKit.dll.
1401 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1402 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1403 * DumpRenderTree/win/release.vsprops: Ditto.
1404 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1405 never have a _debug suffix on WebKit.dll.
1406 * WebKitInitializer/WebKitInitializer.cpp:
1407 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1409 * WebKitInitializer/debug_internal.vsprops: Added
1410 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1412 2007-10-16 Darin Adler <darin@apple.com>
1416 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1417 Remove now-unneeded control/alt key hack; the tests have been updated.
1419 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1421 - Updated leaks list because our internal bot upgraded it's version of leopard and
1422 one of the leaks was fixed between that revision and the bot's previous version of
1425 * Scripts/run-webkit-tests:
1427 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1431 - I encapsulated out the server connecton functionality because it is a specific part
1432 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1433 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1434 Windows. So the majority of this patch is moving preexisting functionality.
1436 - Also I removed the prefix header and changed to use config.h because it is more
1437 standard on how we use config.h in windows and it didn't make much sense to keep
1438 the prefix header and the config.h
1440 * Drosera/DebuggerDocument.cpp:
1441 (DebuggerDocument::DebuggerDocument):
1442 * Drosera/DebuggerDocument.h:
1444 * Drosera/mac/DebuggerApplication.mm:
1445 (-[DebuggerApplication attach:]):
1446 * Drosera/mac/DebuggerClient.h:
1447 * Drosera/mac/DebuggerClient.mm:
1448 (-[DebuggerClient initWithServerConnection:]):
1449 (-[DebuggerClient dealloc]):
1450 (-[DebuggerClient windowDidLoad]):
1451 (-[DebuggerClient windowWillClose:]):
1452 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1453 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1454 * Drosera/mac/DebuggerDocumentPlatform.mm:
1455 (DebuggerDocument::platformPause):
1456 (DebuggerDocument::platformResume):
1457 (DebuggerDocument::platformStepInto):
1458 (DebuggerDocument::platformEvaluateScript):
1459 (DebuggerDocument::getPlatformCurrentFunctionStack):
1460 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1461 (DebuggerDocument::platformValueForScopeVariableNamed):
1462 (DebuggerDocument::platformLog):
1463 * Drosera/mac/Drosera.pch: Removed.
1464 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1465 * Drosera/mac/ServerConnection.h: Added.
1466 * Drosera/mac/ServerConnection.mm: Added.
1467 (-[ServerConnection initWithServerName:]):
1468 (-[ServerConnection dealloc]):
1469 (-[ServerConnection setGlobalContext:]):
1470 (-[ServerConnection pause]):
1471 (-[ServerConnection resume]):
1472 (-[ServerConnection stepInto]):
1473 (-[ServerConnection switchToServerNamed:]):
1474 (-[ServerConnection applicationTerminating:]):
1475 (-[ServerConnection serverConnectionDidDie:]):
1476 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1477 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1478 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1479 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1480 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1481 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1482 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1483 (-[ServerConnection currentFrame]):
1484 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1485 (-[ServerConnection knownServers]):
1487 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1491 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1492 Script to automatically search nightly builds for regressions (bisect-builds)
1494 * Scripts/bisect-builds: Added.
1496 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1500 - New JavaScript benchmark
1501 http://bugs.webkit.org/show_bug.cgi?id=15515
1503 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1504 current development or release build of JavaScriptCore.
1506 2007-10-15 Mark Rowe <mrowe@apple.com>
1510 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1512 * Scripts/webkitdirs.pm:
1513 - Change checkArgv to remove the options from @ARGV to prevent
1514 them from interfering with further option processing.
1515 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1516 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1517 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1518 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1520 2007-10-15 Darin Adler <darin@apple.com>
1524 - added logging of window.prompt and window.confirm
1526 * DumpRenderTree/mac/UIDelegate.mm:
1527 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1528 Implement the recommended delegate rather than the deprecated one.
1529 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1531 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1534 * DumpRenderTree/win/UIDelegate.h:
1535 * DumpRenderTree/win/UIDelegate.cpp:
1536 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1537 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1538 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1539 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1541 2007-10-15 Alice Liu <alice.liu@apple.com>
1543 Reviewed by Sam Weinig.
1545 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1547 * DumpRenderTree/win/DumpRenderTree.cpp:
1548 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1549 (main): allocate the global policy delegate for DRT's custom use
1550 * DumpRenderTree/win/DumpRenderTree.vcproj:
1551 Adding files to project
1552 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1553 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1554 (LayoutTestController::setCustomPolicyDelegate):
1555 set the webview's policy delegate to DRT's custom one if the test requests it.
1556 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1557 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1558 (PolicyDelegate::PolicyDelegate):
1559 (PolicyDelegate::QueryInterface):
1560 (PolicyDelegate::AddRef):
1561 (PolicyDelegate::Release):
1562 (PolicyDelegate::decidePolicyForNavigationAction):
1563 * DumpRenderTree/win/PolicyDelegate.h: Added.
1564 (PolicyDelegate::decidePolicyForNewWindowAction):
1565 (PolicyDelegate::decidePolicyForMIMEType):
1566 (PolicyDelegate::unableToImplementPolicyWithError):
1568 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1572 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1573 when querying for QMAKE_MKSPECS.
1575 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1577 Reviewed by Adam Roben.
1579 Fix run-webkit-tests is too greedy calculating platform hierarchy
1580 http://bugs.webkit.org/show_bug.cgi?id=15465
1582 Fix run-webkit-tests being too greedy in trying to split the platform name up
1583 causing it to try and find tests in every directory above the first "-" in the
1584 path to the LayoutTests
1586 * Scripts/run-webkit-tests:
1588 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1592 http://bugs.webkit.org/show_bug.cgi?id=15006
1593 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1594 to reduce code duplication.
1596 * Scripts/build-webkit:
1597 * Scripts/webkitdirs.pm:
1598 buildQMakeProject() renamed to buildQMakeQtProject().
1599 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1600 unused $colorize has been removed.
1602 === Start merge of feature-branch 2007-10-12 ===
1604 2007-10-08 Eric Seidel <eric@webkit.org>
1606 Reviewed by Mark Rowe.
1608 * Scripts/build-webkit: add --help, remove unused --color
1610 2007-10-07 Eric Seidel <eric@webkit.org>
1614 * Drosera/mac/DebuggerDocumentPlatform.mm:
1615 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1617 2007-10-03 Rob Buis <buis@kde.org>
1621 Adapt to changed location of Ahem font.
1623 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1625 2007-10-02 Eric Seidel <eric@webkit.org>
1627 Reviewed by Adam Roben.
1629 Make pixel tests more useful!
1630 Finally fix the image diff 0.00% mystery problem
1631 Highlight any image differences in the image diff.
1632 Add a link from image diffs back to original test file.
1634 * DumpRenderTree/mac/ImageDiff.m:
1635 (compareImages): highlight any differences
1636 (computePercentageDifferent): round to two decimal places
1637 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1639 2007-10-02 Eric Seidel <eric@webkit.org>
1641 Reviewed by Alexey Proskuryakov.
1643 * Scripts/run-webkit-tests: print the % image difference on main results page
1645 2007-10-02 Mark Rowe <mrowe@apple.com>
1649 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1651 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1652 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1654 2007-10-01 Mark Rowe <mrowe@apple.com>
1656 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1658 2007-09-25 Eric Seidel <eric@webkit.org>
1660 Reviewed by Mark Rowe.
1662 DerivedSources.make was finding "ENABLE_SVG" in the string
1663 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1666 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1668 2007-09-25 Mark Rowe <mrowe@apple.com>
1670 Rubber-stamped by Eric.
1672 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1673 This makes it possible to automate nightly builds for the feature-branch.
1675 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1677 Rubber stamped by Mark.
1679 Enable svg experimental features as default here in feature-branch.
1681 * Scripts/build-webkit:
1683 2007-06-29 Antti Koivisto <antti@apple.com>
1687 Add VIDEO flag for timed media features
1689 * Scripts/build-webkit
1691 === End merge of feature-branch 2007-10-12 ===
1693 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1697 - Updated rational for the leaks list to be more clear.
1699 * Scripts/run-webkit-tests:
1701 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1703 Rubber Stamp by Sam.
1705 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1706 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1708 * Scripts/run-webkit-tests:
1710 2007-10-10 Simon Hausmann <hausmann@kde.org>
1714 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1715 includes are needed for INT_MAX, std::auto_ptr and the like.
1717 * DumpRenderTree/qt/main.cpp:
1719 2007-10-09 Lars Knoll <lars@trolltech.com>
1723 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1725 * DumpRenderTree/qt/jsobjects.cpp:
1726 (LayoutTestController::encodeHostName):
1727 (LayoutTestController::decodeHostName):
1728 * DumpRenderTree/qt/jsobjects.h:
1730 2007-10-09 Lars Knoll <lars@trolltech.com>
1734 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.
1736 * DumpRenderTree/qt/DumpRenderTree.cpp:
1737 (WebCore::WebPage::createFrame):
1738 (WebCore::DumpRenderTree::DumpRenderTree):
1739 (WebCore::DumpRenderTree::titleChanged):
1740 * DumpRenderTree/qt/DumpRenderTree.h:
1741 * DumpRenderTree/qt/jsobjects.cpp:
1742 (LayoutTestController::reset):
1743 * DumpRenderTree/qt/jsobjects.h:
1745 2007-10-09 Lars Knoll <lars@trolltech.com>
1749 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1751 * DumpRenderTree/qt/DumpRenderTree.h:
1752 * DumpRenderTree/qt/jsobjects.cpp:
1753 (LayoutTestController::clearBackForwardList):
1754 * DumpRenderTree/qt/jsobjects.h:
1756 2007-10-09 Lars Knoll <lars@trolltech.com>
1760 make --git-reviewer work again.
1762 * Scripts/prepare-ChangeLog:
1764 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1766 Rubber stamped by Eric.
1768 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1769 show the current link inside the statusbar.
1770 This shows how to make use of this signal and allows to easily test
1771 http://bugs.webkit.org/show_bug.cgi?id=15299.
1773 * GtkLauncher/main.cpp:
1777 2007-10-05 Lars Knoll <lars@trolltech.com>
1779 add proper error messages to the FrameLoaderClient.
1780 Implement ChromeClientQt::closeWindowSoon and
1781 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1782 Some fixes in DRT to make it work correctly with multiple windows.
1786 * DumpRenderTree/qt/DumpRenderTree.cpp:
1787 (WebCore::DumpRenderTree::DumpRenderTree):
1788 (WebCore::DumpRenderTree::createWindow):
1789 (WebCore::DumpRenderTree::windowCount):
1790 * DumpRenderTree/qt/DumpRenderTree.h:
1791 * DumpRenderTree/qt/jsobjects.cpp:
1792 (LayoutTestController::maybeDump):
1793 (LayoutTestController::windowCount):
1794 * DumpRenderTree/qt/jsobjects.h:
1796 2007-10-05 Lars Knoll <lars@trolltech.com>
1798 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1799 Add support for layoutTextController.setCanOpenWindows() to DRT
1800 fixing another 2 test cases in fast/dom/Window.
1804 * DumpRenderTree/qt/DumpRenderTree.cpp:
1805 (WebCore::WebPage::WebPage):
1806 (WebCore::WebPage::createWindow):
1807 (WebCore::DumpRenderTree::resetJSObjects):
1808 (WebCore::DumpRenderTree::createWindow):
1809 * DumpRenderTree/qt/DumpRenderTree.h:
1810 * DumpRenderTree/qt/DumpRenderTree.pro:
1811 * DumpRenderTree/qt/jsobjects.cpp:
1812 (LayoutTestController::LayoutTestController):
1813 (LayoutTestController::reset):
1814 * DumpRenderTree/qt/jsobjects.h:
1815 * DumpRenderTree/qt/main.cpp:
1816 * DumpRenderTree/qt/testplugin.cpp: Added.
1817 * DumpRenderTree/qt/testplugin.h: Added.
1819 2007-10-04 Sam Weinig <sam@webkit.org>
1821 Rubber stamped by Adam.
1823 Remove empty directories.
1825 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1826 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1828 2007-10-03 Darin Adler <darin@apple.com>
1832 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1833 we find the internal libraries in the libraries directory. This
1834 is helpful for Safari team engineers at Apple.
1836 2007-10-03 Adam Roben <aroben@apple.com>
1838 Update the location of AHEM___.TTF after r25968
1842 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1844 2007-10-03 Alp Toker <alp@atoker.com>
1848 http://bugs.webkit.org/show_bug.cgi?id=14726
1849 [gtk] API design. Mapping the WebView delegates to signals.
1851 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1853 * GtkLauncher/main.cpp:
1857 (menuMainBackCallback):
1858 (menuMainForwardCallback):
1861 2007-10-03 Lars Knoll <lars@trolltech.com>
1865 This fixes --strict mode in run-webkit-tests again after
1866 the platform dependent test results have been moved.
1868 * Scripts/run-webkit-tests:
1870 2007-10-03 Lars Knoll <lars@trolltech.com>
1874 remove the hack in run-webkit-tests that forced text only test
1875 to be taken from the platform independent dir. It was only left
1876 there from early days.
1878 Remove platform dependent results for tests that are text only nowadays,
1879 and add one platform dependent result for a text only test that requires it.
1881 * Scripts/run-webkit-tests:
1883 2007-10-03 Lars Knoll <lars@trolltech.com>
1887 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1889 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1890 (WebCore::WebFrame::WebFrame):
1891 (WebCore::WebPage::WebPage):
1892 (WebCore::WebPage::createFrame):
1893 (WebCore::WebPage::javaScriptAlert):
1894 (WebCore::WebPage::javaScriptConsoleMessage):
1895 (WebCore::DumpRenderTree::DumpRenderTree):
1896 (WebCore::DumpRenderTree::~DumpRenderTree):
1897 (WebCore::DumpRenderTree::open):
1898 (WebCore::DumpRenderTree::readStdin):
1899 (WebCore::DumpRenderTree::resetJSObjects):
1900 (WebCore::DumpRenderTree::initJSObjects):
1901 (WebCore::DumpRenderTree::dumpFramesAsText):
1902 (WebCore::DumpRenderTree::dump):
1903 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1904 (WebCore::DumpRenderTree::layoutTestController):
1905 (WebCore::DumpRenderTree::eventSender):
1906 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1907 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1908 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1909 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1910 (HackWebFrame::mousePressEvent):
1911 (HackWebFrame::mouseReleaseEvent):
1912 (HackWebFrame::mouseMoveEvent):
1913 (HackWebFrame::HackWebFrame):
1914 (HackWebFrame::~HackWebFrame):
1915 (LayoutTestController::LayoutTestController):
1916 (LayoutTestController::reset):
1917 (LayoutTestController::maybeDump):
1918 (LayoutTestController::waitUntilDone):
1919 (LayoutTestController::notifyDone):
1920 (LayoutTestController::dumpEditingCallbacks):
1921 (LayoutTestController::queueReload):
1922 (LayoutTestController::provisionalLoad):
1923 (LayoutTestController::timerEvent):
1924 (EventSender::EventSender):
1925 (EventSender::mouseDown):
1926 (EventSender::mouseUp):
1927 (EventSender::mouseMoveTo):
1928 (EventSender::leapForward):
1929 (EventSender::keyDown):
1930 (EventSender::frameUnderMouse):
1931 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1932 (LayoutTestController::isLoading):
1933 (LayoutTestController::setLoading):
1934 (LayoutTestController::shouldDumpAsText):
1935 (LayoutTestController::shouldDumpChildrenAsText):
1936 (LayoutTestController::shouldWaitUntilDone):
1937 (LayoutTestController::dumpAsText):
1938 (LayoutTestController::dumpChildFramesAsText):
1939 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1943 * Scripts/run-webkit-tests:
1945 2007-10-03 Mark Rowe <mrowe@apple.com>
1947 Reviewed by Alp Toker.
1949 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1950 should take precedence over QTDIR when determining which port we are working with.
1952 * Scripts/webkitdirs.pm:
1954 2007-10-02 Adam Roben <aroben@apple.com>
1956 Add keychain to the list of default packages to install
1958 Rubberstamped by Sam.
1960 * CygwinDownloader/cygwin-downloader.py:
1961 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1963 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1967 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1968 Also makes WebCore regression test case logic work when using git.
1970 * Scripts/prepare-ChangeLog:
1971 (reviewerAndDescriptionForGitCommit): Added.
1973 2007-10-02 Lars Knoll <lars@trolltech.com>
1977 Add API to retrieve the frame name from QWebFrame.
1978 Implement support for DRT::dumpChildrenAsText.
1980 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1981 (WebCore::DumpRenderTree::dumpFramesAsText):
1982 (WebCore::DumpRenderTree::dump):
1983 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1984 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1985 (LayoutTestController::LayoutTestController):
1986 (LayoutTestController::reset):
1987 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1989 2007-10-02 Lars Knoll <lars@trolltech.com>
1993 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1995 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1996 (WebCore::DumpRenderTree::readStdin):
1998 2007-10-02 Mark Rowe <mrowe@apple.com>
2002 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
2004 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
2005 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
2007 2007-10-02 Mark Rowe <mrowe@apple.com>
2009 Rubber-stamped by Maciej.
2011 Configuration changes from build.webkit.org. The major change is refactoring to work
2012 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
2015 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2016 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
2017 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
2018 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
2019 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
2020 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
2021 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
2022 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2024 2007-10-02 Lars Knoll <lars@trolltech.com>
2028 Add support for eventSender.mouseMove to DRT.
2029 Fixes fast/css/hover-affects-child.html
2031 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2032 (EventSender::mouseMoveTo):
2034 2007-10-01 Mark Rowe <mrowe@apple.com>
2036 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
2038 2007-10-01 David Kilzer <ddkilzer@webkit.org>
2042 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
2044 * Scripts/svn-apply:
2045 (gitdiff2svndiff): Ignore lines beginning with "new file".
2046 * Scripts/svn-unapply:
2047 (gitdiff2svndiff): Ditto.
2049 2007-09-30 George Staikos <staikos@kde.org>
2051 Qt build fix (Mac OS X specific)
2053 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2055 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
2059 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
2060 Remove Bakefiles from svn.
2062 * GtkLauncher/Bakefiles.bkgen: Removed.
2063 * GtkLauncher/ENV: Removed.
2064 * GtkLauncher/gdklauncher.bkl: Removed.
2065 * GtkLauncher/mk: Removed.
2066 * Scripts/regenerate-makefiles: Removed.
2068 2007-09-25 Kevin McCullough <kmccullough@apple.com>
2072 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
2074 * Scripts/run-webkit-tests:
2076 2007-09-26 Adam Roben <aroben@apple.com>
2078 Make not finding an installed WebKit non-fatal
2080 What really matters is that we are able to load WebKit and its
2081 dependencies, not whether we think we've found an installed WebKit.
2085 * WebKitInitializer/WebKitInitializer.cpp:
2086 (getWebViewCLSID): Use new LOG_WARNING macro.
2087 (getInstalledWebKitDirectory): Ditto.
2088 (initializeWebKit): Don't die if we didn't find an installed WebKit,
2090 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
2092 2007-09-26 Adam Roben <aroben@apple.com>
2094 Committed this file before saving it
2096 * WebKitInitializer/debug_internal.vsprops:
2098 2007-09-26 Adam Roben <aroben@apple.com>
2100 Load WebKit and its dependencies manually so they come from DllDirectory
2102 I had to change WebKitInitializer to use malloc/free instead of
2103 new/delete to avoid pulling in WebKit (and its dependencies) early
2104 through use of fastMalloc.
2108 * WebKitInitializer/WebKitInitializer.cpp:
2109 (getStringValue): Changed to use malloc/free.
2110 (getInstalledWebKitDirectory): Ditto.
2111 (initializeWebKit): Call SetDllDirectory first, then load all of
2112 WebKit's dependencies manually, finally followed by WebKit itself.
2113 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
2114 configuration to match our other projects.
2115 * WebKitInitializer/debug_internal.vsprops: Added.
2117 2007-09-25 Adam Roben <aroben@apple.com>
2119 Actually define DEBUG/NDEBUG so that we load WebKit correctly
2121 Rubberstamped by Sam.
2123 * WebKitInitializer/WebKitInitializer.vcproj:
2125 2007-09-25 Adam Roben <aroben@apple.com>
2127 Make DumpRenderTree delay-load its dependencies
2129 This lets WebKitInitializer re-route the dependencies to be loaded out
2130 of the Safari installation directory.
2132 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
2133 same thing), since we can't import the kCFAllocatorDefault symbol when
2134 delay-loading CoreFoundation.dll.
2136 Rubberstamped by Sam.
2138 * DumpRenderTree/win/DumpRenderTree.cpp:
2140 (javaScriptThreads):
2141 * DumpRenderTree/win/DumpRenderTree.vcproj:
2142 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2143 (LayoutTestController::setWaitToDump):
2145 2007-09-25 Adam Roben <aroben@apple.com>
2147 Pull ole32.lib into WebKitInitializer
2149 Rubberstamped by Sam.
2151 * WebKitInitializer/WebKitInitializer.vcproj:
2153 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2157 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2158 LGPL'ed files contain incorrect FSF address
2162 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2166 Make svn-apply and svn-unapply work with git-diff formatted patches.
2168 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
2169 (gitdiff2svndiff): Added.
2170 * Scripts/svn-unapply: Ditto.
2171 (gitdiff2svndiff): Added.
2173 2007-09-25 Adam Roben <aroben@apple.com>
2175 Pull advapi32.lib into WebKitInitializer
2177 This is needed to get the registry functions we use.
2179 Rubberstamped by Sam.
2181 * WebKitInitializer/WebKitInitializer.vcproj:
2183 2007-09-25 Adam Roben <aroben@apple.com>
2185 Add python and rsync to cygwin-downloader
2187 Our build slaves need this, and it can't hurt for everyone else to
2192 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
2193 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2195 2007-09-25 Adam Roben <aroben@apple.com>
2197 Add WebKitInitializer and use it in DumpRenderTree
2199 WebKitInitializer is a static library that has one function,
2200 initializeWebKit(). This registers WebKit and sets up the DLL search
2201 path so that WebKit's dependencies that are installed with Safari can
2206 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
2207 DumpRenderTree depend on it.
2208 * DumpRenderTree/win/DumpRenderTree.cpp:
2209 (initialize): Call initializeWebKit.
2210 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
2211 WebKitInitializer.lib.
2212 * WebKitInitializer/WebKitInitializer.cpp: Added.
2215 (getInstalledWebKitDirectory):
2217 * WebKitInitializer/WebKitInitializer.h: Added.
2218 * WebKitInitializer/WebKitInitializer.vcproj: Added.
2219 * WebKitInitializer/debug.vsprops: Added.
2220 * WebKitInitializer/release.vsprops: Added.
2222 2007-09-25 Adam Roben <aroben@apple.com>
2224 Make run-webkit-tests respect set-webkit-configuration
2228 * Scripts/run-webkit-tests: Initialize $configuration to whatever
2229 set-webkit-configuration was last set to.
2231 2007-09-25 Mark Rowe <mrowe@apple.com>
2233 Rubber-stamped by Eric.
2235 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2236 This makes it possible to automate nightly builds for the feature-branch.
2238 2007-09-25 Adam Roben <aroben@apple.com>
2240 A couple of fixes/enhancements to update-webkit-*-libs
2242 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
2243 to tell update-webkit-support-libraries where it should find the
2244 WebKitSupportLibrary.zip file you downloaded.
2246 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
2251 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
2252 to $auxiliaryLibsURL and removed an irrelevant comment.
2253 * Scripts/update-webkit-support-libs:
2255 2007-09-25 Adam Treat <treat@kde.org>
2257 Reviewed by Simon and Lars.
2259 Refactors and cleans up Qt DRT member variable names, member variable
2260 initialization, style fixes and general code cleanup.
2262 Adds queueReload slot to LayoutTestController that some tests require.
2264 Subclasses QWebFrame to make sure that all frames have an associated
2265 LayoutTestController JS window object.
2267 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
2268 aren't dumped twice.
2272 Together, this patch fixes some 20+ layout tests in QtWebKit.
2274 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2275 (WebCore::WebFrame::WebFrame):
2276 (WebCore::WebPage::WebPage):
2277 (WebCore::WebPage::createFrame):
2278 (WebCore::DumpRenderTree::DumpRenderTree):
2279 (WebCore::DumpRenderTree::open):
2280 (WebCore::DumpRenderTree::readStdin):
2281 (WebCore::DumpRenderTree::initJSObjects):
2282 (WebCore::DumpRenderTree::dump):
2283 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2284 (WebCore::DumpRenderTree::layoutTestController):
2285 (WebCore::DumpRenderTree::eventSender):
2286 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2287 (LayoutTestController::LayoutTestController):
2288 (LayoutTestController::reset):
2289 (LayoutTestController::maybeDump):
2290 (LayoutTestController::waitUntilDone):
2291 (LayoutTestController::notifyDone):
2292 (LayoutTestController::queueReload):
2293 (LayoutTestController::provisionalLoad):
2294 (EventSender::EventSender):
2295 (EventSender::mouseDown):
2296 (EventSender::mouseUp):
2297 (EventSender::mouseMoveTo):
2298 (EventSender::frameUnderMouse):
2299 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2300 (LayoutTestController::isLoading):
2301 (LayoutTestController::setLoading):
2302 (LayoutTestController::dumpAsText):
2303 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2306 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2309 - Reverted an accidentally checked in file.
2311 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2313 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2316 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2318 * DumpRenderTree/win/DumpRenderTree.vcproj:
2319 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2321 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
2323 Rubber stamped by Adam.
2325 * GdkLauncher: Removed.
2326 * GdkLauncher/Bakefiles.bkgen: Removed.
2327 * GdkLauncher/ENV: Removed.
2328 * GdkLauncher/GdkLauncher.pro: Removed.
2329 * GdkLauncher/gdklauncher.bkl: Removed.
2330 * GdkLauncher/main.cpp: Removed.
2331 * GdkLauncher/mk: Removed.
2332 * GdkLauncher/simple.svg: Removed.
2333 * GdkLauncher/text.html: Removed.
2334 * GtkLauncher: Added.
2335 * GtkLauncher/GdkLauncher.pro: Removed.
2336 * GtkLauncher/GtkLauncher.pro: Added.
2337 * GtkLauncher/main.cpp:
2338 (updateWindowTitle):
2340 * Scripts/build-webkit:
2341 * Scripts/regenerate-makefiles:
2342 * Scripts/run-javascriptcore-tests:
2343 * Scripts/run-launcher:
2344 * Scripts/run-webkit-tests:
2345 * Scripts/webkitdirs.pm:
2347 2007-09-21 Timothy Hatcher <timothy@apple.com>
2351 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2353 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2354 This is tested by plugins/root-object-premature-delete-crash.html.
2356 * DumpRenderTree/mac/ObjCController.m:
2357 (-[ObjCController accessStoredWebScriptObject]):
2359 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2363 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2365 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2366 (FrameLoadDelegate::FrameLoadDelegate):
2368 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
2372 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2373 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2375 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2376 Now isQt() and isGdk() use global variables that are only set once.
2378 An array of all the parameters is now given to build-dumprender which includes
2379 the platform on linux.
2381 * Scripts/build-dumprendertree:
2382 * Scripts/run-webkit-tests:
2383 * Scripts/webkitdirs.pm:
2385 2007-09-19 Adam Roben <aroben@apple.com>
2387 Rubberstamped by Hyatt.
2389 * Spinneret: Removed.
2391 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
2393 Reviewed by David Kilzer.
2395 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2397 2007-09-18 Sam Weinig <sam@webkit.org>
2399 Add JSRetainPtr.h #include to fix some builds.
2401 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2403 2007-09-18 Mike Hommey <glandium@debian.org>
2407 * Scripts/prepare-ChangeLog:
2408 - Properly parse GECOS field.
2409 - Use git configuration for user name and email when appropriate.
2411 2007-09-17 Sam Weinig <sam@webkit.org>
2415 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2417 2007-09-17 Sam Weinig <sam@webkit.org>
2419 Reviewed by Adam Roben.
2421 Share more code between mac and windows DRT.
2422 - GCController is now shared.
2423 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2425 * DumpRenderTree/GCController.cpp:
2426 * DumpRenderTree/win/DumpRenderTree.cpp:
2427 * DumpRenderTree/win/DumpRenderTree.vcproj:
2428 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2429 (FrameLoadDelegate::FrameLoadDelegate):
2430 (FrameLoadDelegate::~FrameLoadDelegate):
2431 (FrameLoadDelegate::windowScriptObjectAvailable):
2432 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2433 * DumpRenderTree/win/GCController.cpp: Removed.
2434 * DumpRenderTree/win/GCController.h: Removed.
2435 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2436 (GCController::collect):
2437 (GCController::collectOnAlternateThread):
2438 (GCController::getJSObjectCount):
2439 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2440 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2442 2007-09-17 Sam Weinig <sam@webkit.org>
2444 Reviewed by Adam Roben.
2446 Begin sharing code between mac and windows DRT.
2447 - both now share LayoutTestController.h/cpp and implement platform dependant
2448 operations in LayoutTestControllerMac/Win.
2449 - DumpRenderTree.h is now shared.
2450 - WorkQueue and WorkQueueItem are also shared.
2452 * DumpRenderTree/DumpRenderTree.h:
2453 * DumpRenderTree/LayoutTestController.cpp:
2454 * DumpRenderTree/win/DumpRenderTree.cpp:
2456 (dumpFrameScrollPosition):
2460 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2461 * DumpRenderTree/win/DumpRenderTree.vcproj:
2462 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2463 * DumpRenderTree/win/EditingDelegate.cpp:
2464 (EditingDelegate::shouldBeginEditingInDOMRange):
2465 (EditingDelegate::shouldEndEditingInDOMRange):
2466 (EditingDelegate::shouldInsertNode):
2467 (EditingDelegate::shouldInsertText):
2468 (EditingDelegate::shouldDeleteDOMRange):
2469 (EditingDelegate::shouldChangeSelectedDOMRange):
2470 (EditingDelegate::shouldApplyStyle):
2471 (EditingDelegate::shouldChangeTypingStyle):
2472 (EditingDelegate::doPlatformCommand):
2473 (EditingDelegate::webViewDidBeginEditing):
2474 (EditingDelegate::webViewDidChange):
2475 (EditingDelegate::webViewDidEndEditing):
2476 (EditingDelegate::webViewDidChangeTypingStyle):
2477 (EditingDelegate::webViewDidChangeSelection):
2478 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2479 * DumpRenderTree/win/LayoutTestController.h: Removed.
2480 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2481 (LayoutTestController::addDisallowedURL):
2482 (LayoutTestController::clearBackForwardList):
2483 (LayoutTestController::copyDecodedHostName):
2484 (LayoutTestController::copyEncodedHostName):
2485 (LayoutTestController::display):
2486 (LayoutTestController::keepWebHistory):
2487 (LayoutTestController::notifyDone):
2488 (LayoutTestController::queueBackNavigation):
2489 (LayoutTestController::queueForwardNavigation):
2490 (jsStringRefToWString):
2491 (LayoutTestController::queueLoad):
2492 (LayoutTestController::queueReload):
2493 (LayoutTestController::queueScript):
2494 (LayoutTestController::setAcceptsEditing):
2495 (LayoutTestController::setCustomPolicyDelegate):
2496 (LayoutTestController::setMainFrameIsFirstResponder):
2497 (LayoutTestController::setTabKeyCyclesThroughElements):
2498 (LayoutTestController::setUseDashboardCompatibilityMode):
2499 (LayoutTestController::setUserStyleSheetEnabled):
2500 (LayoutTestController::setUserStyleSheetLocation):
2501 (LayoutTestController::setWindowIsKey):
2502 (waitUntilDoneWatchdogFired):
2503 (LayoutTestController::setWaitToDump):
2504 (LayoutTestController::windowCount):
2505 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2506 (FrameLoadDelegate::didReceiveTitle):
2507 (FrameLoadDelegate::processWork):
2508 (FrameLoadDelegate::locationChangeDone):
2509 (FrameLoadDelegate::windowScriptObjectAvailable):
2510 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2511 * DumpRenderTree/win/WorkQueue.h: Removed.
2512 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2513 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2514 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2515 (jsStringRefToWString):
2517 (ScriptItem::invoke):
2519 2007-09-17 Sam Weinig <sam@webkit.org>
2521 Reviewed by Adam Roben.
2523 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2525 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2526 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2527 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2528 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2529 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2530 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2531 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2532 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2533 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2534 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2535 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2536 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2537 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2538 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2539 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2540 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2541 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2542 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2543 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2544 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2545 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2546 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2547 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2548 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2549 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2550 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2551 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2552 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2553 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2554 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2555 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2556 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2557 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2558 * DumpRenderTree/win: Added.
2559 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2560 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2561 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2562 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2563 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2564 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2565 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2566 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2567 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2568 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2569 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2570 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2571 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2572 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2573 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2574 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2575 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2576 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2577 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2578 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2579 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2580 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2581 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2582 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2583 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2584 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2586 2007-09-15 Mark Rowe <mrowe@apple.com>
2588 Build fix for DumpRenderTree.
2590 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2592 2007-09-14 Sam Weinig <sam@webkit.org>
2594 Rubber stamped by Adam Roben.
2596 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2597 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2598 kept in the WaitUntilDoneDelegate file for the time being.
2600 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2602 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2603 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2604 (UIDelegate::QueryInterface):
2605 (UIDelegate::AddRef):
2606 (UIDelegate::Release):
2607 (UIDelegate::hasCustomMenuImplementation):
2608 (UIDelegate::setFrame):
2609 (UIDelegate::webViewFrame):
2610 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2611 (UIDelegate::webViewAddMessageToConsole):
2612 (UIDelegate::doDragDrop):
2613 (UIDelegate::webViewGetDlgCode):
2614 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2615 (UIDelegate::UIDelegate):
2616 (UIDelegate::createWebViewWithRequest):
2617 (UIDelegate::webViewShow):
2618 (UIDelegate::webViewClose):
2619 (UIDelegate::webViewFocus):
2620 (UIDelegate::webViewUnfocus):
2621 (UIDelegate::webViewFirstResponder):
2622 (UIDelegate::makeFirstResponder):
2623 (UIDelegate::setStatusText):
2624 (UIDelegate::webViewStatusText):
2625 (UIDelegate::webViewAreToolbarsVisible):
2626 (UIDelegate::setToolbarsVisible):
2627 (UIDelegate::webViewIsStatusBarVisible):
2628 (UIDelegate::setStatusBarVisible):
2629 (UIDelegate::webViewIsResizable):
2630 (UIDelegate::setResizable):
2631 (UIDelegate::setContentRect):
2632 (UIDelegate::webViewContentRect):
2633 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2634 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2635 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2636 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2637 (UIDelegate::mouseDidMoveOverElement):
2638 (UIDelegate::contextMenuItemsForElement):
2639 (UIDelegate::validateUserInterfaceItem):
2640 (UIDelegate::shouldPerformAction):
2641 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2642 (UIDelegate::willPerformDragDestinationAction):
2643 (UIDelegate::dragSourceActionMaskForPoint):
2644 (UIDelegate::willPerformDragSourceAction):
2645 (UIDelegate::contextMenuItemSelected):
2646 (UIDelegate::trackCustomPopupMenu):
2647 (UIDelegate::measureCustomMenuItem):
2648 (UIDelegate::drawCustomMenuItem):
2649 (UIDelegate::addCustomMenuDrawingData):
2650 (UIDelegate::cleanUpCustomMenuDrawingData):
2651 (UIDelegate::canTakeFocus):
2652 (UIDelegate::takeFocus):
2653 (UIDelegate::registerUndoWithTarget):
2654 (UIDelegate::removeAllActionsWithTarget):
2655 (UIDelegate::setActionTitle):
2658 (UIDelegate::canUndo):
2659 (UIDelegate::canRedo):
2660 (UIDelegate::webViewResizerRect):
2661 (UIDelegate::webViewDrawResizer):
2662 (UIDelegate::webViewScrolled):
2663 (UIDelegate::webViewShouldInterruptJavaScript):
2664 (UIDelegate::webViewReceivedFocus):
2665 (UIDelegate::webViewLostFocus):
2666 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2667 (FrameLoadDelegate::QueryInterface):
2668 (FrameLoadDelegate::AddRef):
2669 (FrameLoadDelegate::Release):
2670 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2671 (FrameLoadDelegate::didCommitLoadForFrame):
2672 (FrameLoadDelegate::didReceiveTitle):
2673 (FrameLoadDelegate::processWork):
2675 (FrameLoadDelegate::locationChangeDone):
2676 (FrameLoadDelegate::didFinishLoadForFrame):
2677 (FrameLoadDelegate::didFailLoadWithError):
2678 (FrameLoadDelegate::windowScriptObjectAvailable):
2679 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2680 (FrameLoadDelegate::FrameLoadDelegate):
2682 2007-09-14 Sam Weinig <sam@webkit.org>
2684 Reviewed by Kevin McCullough.
2686 Move mac specific globals in to mac/DumpRenderTreeMac.h
2688 * DumpRenderTree/DumpRenderTree.h:
2689 * DumpRenderTree/DumpRenderTree.mm: Removed.
2690 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2691 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2692 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2694 2007-09-14 Brady Eidson <beidson@apple.com>
2696 Rubberstamped by Weinig
2698 You know, Sam, some of us use case-sensitve filesystems...
2700 * DumpRenderTree/DumpRenderTree.h:
2701 * DumpRenderTree/mac/UIDelegate.mm:
2703 2007-09-14 Sam Weinig <sam@webkit.org>
2705 Rubber stamped by Adam Roben.
2707 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2708 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2710 * DumpRenderTree/AppleScriptController.h: Removed.
2711 * DumpRenderTree/AppleScriptController.m: Removed.
2712 * DumpRenderTree/DumpRenderTree.h:
2713 * DumpRenderTree/DumpRenderTree.mm:
2714 (startJavaScriptThreads):
2715 (stopJavaScriptThreads):
2717 (setDefaultColorProfileToRGB):
2718 (makeLargeMallocFailSilently):
2719 (dumpFrameScrollPosition):
2723 (-[DumpRenderTreeWindow isKeyWindow]):
2724 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2725 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2726 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2727 * DumpRenderTree/EditingDelegate.h: Removed.
2728 * DumpRenderTree/EditingDelegate.m: Removed.
2729 * DumpRenderTree/EventSendingController.h: Removed.
2730 * DumpRenderTree/EventSendingController.m: Removed.
2731 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2732 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2733 * DumpRenderTree/GCController.mm: Removed.
2734 * DumpRenderTree/ImageDiff.m: Removed.
2735 * DumpRenderTree/LayoutTestController.cpp:
2736 (LayoutTestController::LayoutTestController):
2737 (dumpAsTextCallback):
2738 (dumpBackForwardListCallback):
2739 (dumpChildFramesAsTextCallback):
2740 (dumpChildFrameScrollPositionsCallback):
2741 (dumpDOMAsWebArchiveCallback):
2742 (dumpEditingCallbacksCallback):
2743 (dumpFrameLoadCallbacksCallback):
2744 (dumpResourceLoadCallbacksCallback):
2745 (dumpSelectionRectCallback):
2746 (dumpSourceAsWebArchiveCallback):
2747 (dumpTitleChangesCallback):
2748 (repaintSweepHorizontallyCallback):
2749 (setCallCloseOnWebViewsCallback):
2750 (setCanOpenWindowsCallback):
2751 (setCloseRemainingWindowsWhenCompleteCallback):
2752 (testRepaintCallback):
2753 (addFileToPasteboardOnDragCallback):
2754 (waitUntilDoneCallback):
2755 * DumpRenderTree/LayoutTestController.h:
2756 (LayoutTestController::dumpAsText):
2757 (LayoutTestController::setDumpAsText):
2758 (LayoutTestController::dumpBackForwardList):
2759 (LayoutTestController::setDumpBackForwardList):
2760 (LayoutTestController::dumpChildFrameScrollPositions):
2761 (LayoutTestController::setDumpChildFrameScrollPositions):
2762 (LayoutTestController::dumpChildFramesAsText):
2763 (LayoutTestController::setDumpChildFramesAsText):
2764 (LayoutTestController::dumpDOMAsWebArchive):
2765 (LayoutTestController::setDumpDOMAsWebArchive):
2766 (LayoutTestController::dumpSelectionRect):
2767 (LayoutTestController::setDumpSelectionRect):
2768 (LayoutTestController::dumpSourceAsWebArchive):
2769 (LayoutTestController::setDumpSourceAsWebArchive):
2770 (LayoutTestController::dumpTitleChanges):
2771 (LayoutTestController::setDumpTitleChanges):
2772 (LayoutTestController::dumpEditingCallbacks):
2773 (LayoutTestController::setDumpEditingCallbacks):
2774 (LayoutTestController::dumpResourceLoadCallbacks):
2775 (LayoutTestController::setDumpResourceLoadCallbacks):
2776 (LayoutTestController::dumpFrameLoadCallbacks):
2777 (LayoutTestController::setDumpFrameLoadCallbacks):
2778 (LayoutTestController::addFileToPasteboardOnDrag):
2779 (LayoutTestController::setAddFileToPasteboardOnDrag):
2780 (LayoutTestController::callCloseOnWebViews):
2781 (LayoutTestController::setCallCloseOnWebViews):
2782 (LayoutTestController::canOpenWindows):
2783 (LayoutTestController::setCanOpenWindows):
2784 (LayoutTestController::closeRemainingWindowsWhenComplete):
2785 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2786 (LayoutTestController::testRepaint):
2787 (LayoutTestController::setTestRepaint):
2788 (LayoutTestController::testRepaintSweepHorizontally):
2789 (LayoutTestController::setTestRepaintSweepHorizontally):
2790 (LayoutTestController::waitToDump):
2791 (LayoutTestController::windowIsKey):
2792 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2793 * DumpRenderTree/NavigationController.h: Removed.
2794 * DumpRenderTree/NavigationController.m: Removed.
2795 * DumpRenderTree/ObjCController.h: Removed.
2796 * DumpRenderTree/ObjCController.m: Removed.
2797 * DumpRenderTree/ObjCPlugin.h: Removed.
2798 * DumpRenderTree/ObjCPlugin.m: Removed.
2799 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2800 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2801 * DumpRenderTree/PolicyDelegate.h: Removed.
2802 * DumpRenderTree/PolicyDelegate.m: Removed.
2803 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2804 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2805 * DumpRenderTree/TextInputController.h: Removed.
2806 * DumpRenderTree/TextInputController.m: Removed.
2807 * DumpRenderTree/UIDelegate.h: Removed.
2808 * DumpRenderTree/UIDelegate.mm: Removed.
2809 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2810 * DumpRenderTree/mac: Added.
2811 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2812 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2813 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2814 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2815 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2816 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2817 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2818 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2819 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2820 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2821 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2822 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2823 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2824 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2825 (-[EditingDelegate webViewDidBeginEditing:]):
2826 (-[EditingDelegate webViewDidChange:]):
2827 (-[EditingDelegate webViewDidEndEditing:]):
2828 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2829 (-[EditingDelegate webViewDidChangeSelection:]):
2830 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2831 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2832 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2833 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2834 (-[FrameLoadDelegate init]):
2835 (-[FrameLoadDelegate dealloc]):
2836 (-[FrameLoadDelegate processWork:]):
2837 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2838 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2839 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2840 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2841 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2842 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2843 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2844 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2845 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2846 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2847 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2848 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2849 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2850 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2851 (-[FrameLoadDelegate webView:willCloseFrame:]):
2852 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2853 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2854 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2855 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2856 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2857 (LayoutTestController::notifyDone):
2858 (LayoutTestController::setWindowIsKey):
2859 (LayoutTestController::setWaitToDump):
2860 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2861 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2862 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2863 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2864 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2865 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2866 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2867 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2868 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2869 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2870 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2871 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2872 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2873 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2874 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2875 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2876 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2877 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2878 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2879 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2880 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2881 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2882 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2883 (-[UIDelegate webViewFocus:]):
2884 (-[UIDelegate webView:createWebViewWithRequest:]):
2885 (-[UIDelegate webViewClose:]):
2886 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2888 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2892 - Changing Win version of Drosera work with recent changes.
2894 * Drosera/DebuggerDocument.cpp:
2895 * Drosera/DebuggerDocument.h:
2896 * Drosera/mac/DebuggerDocumentPlatform.mm:
2897 (NSStringCreateWithJSStringRef):
2898 (JSValueRefCreateWithNSString):
2899 * Drosera/win/DebuggerClient.cpp:
2900 (DebuggerClient::stepInto):
2901 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2903 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2907 - Moved isPaused into the JS for efficiency and simplicity.
2909 * Drosera/DebuggerDocument.cpp:
2910 (DebuggerDocument::DebuggerDocument):
2911 (DebuggerDocument::pauseCallback):
2912 (DebuggerDocument::resumeCallback):
2913 (DebuggerDocument::isPaused):
2914 (DebuggerDocument::staticFunctions):
2915 * Drosera/DebuggerDocument.h:
2916 * Drosera/console.js:
2917 * Drosera/debugger.js:
2918 * Drosera/mac/DebuggerClient.mm:
2919 (-[DebuggerClient validateUserInterfaceItem:]):
2921 2007-09-13 Sam Weinig <sam@webkit.org>
2923 Rubber stamped by Darin.
2925 Make DumpRenderTree more cross platform ready.
2926 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2927 - Use CF types instead of NS objects.
2930 * DumpRenderTree/DumpRenderTree.h:
2931 * DumpRenderTree/DumpRenderTree.mm:
2935 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2936 * DumpRenderTree/EditingDelegate.m:
2937 * DumpRenderTree/FrameLoadDelegate.h:
2938 * DumpRenderTree/FrameLoadDelegate.mm:
2939 (-[FrameLoadDelegate init]):
2940 (-[FrameLoadDelegate dealloc]):
2941 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2942 * DumpRenderTree/GCController.cpp: Added.
2943 (GCController::GCController):
2944 (GCController::~GCController):
2946 (collectOnAlternateThreadCallback):
2947 (getJSObjectCountCallback):
2948 (GCController::makeWindowObject):
2949 (GCController::getJSClass):
2950 (GCController::staticFunctions):
2951 * DumpRenderTree/GCController.h:
2952 * DumpRenderTree/GCController.mm:
2953 (GCController::collect):
2954 (GCController::collectOnAlternateThread):
2955 (GCController::getJSObjectCount):
2956 * DumpRenderTree/LayoutTestController.cpp:
2957 (LayoutTestController::makeWindowObject):
2958 (LayoutTestController::getJSClass):
2959 * DumpRenderTree/LayoutTestController.h:
2960 * DumpRenderTree/LayoutTestControllerMac.mm:
2961 (LayoutTestController::addDisallowedURL):
2962 (waitUntilDoneWatchdogFired):
2963 (LayoutTestController::waitUntilDone):
2964 * DumpRenderTree/ResourceLoadDelegate.m:
2965 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2967 2007-09-12 Sam Weinig <sam@webkit.org>
2969 Reviewed by Stephanie.
2971 Fix leaks in mac DumpRenderTree.
2973 * DumpRenderTree/FrameLoadDelegate.mm:
2974 (-[FrameLoadDelegate init]): Initalize in the correct order.
2975 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2976 * DumpRenderTree/LayoutTestController.cpp:
2977 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2978 (encodeHostNameCallback): ditto.
2979 * DumpRenderTree/LayoutTestController.h:
2980 * DumpRenderTree/LayoutTestControllerMac.mm:
2981 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2982 (LayoutTestController::copyEncodedHostName): ditto
2983 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2985 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2989 - 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.
2991 * Scripts/run-webkit-tests:
2993 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2997 - Simplified code paths and extracted out functions to increase encapsulation.
2999 * Drosera/DebuggerDocument.cpp:
3000 (DebuggerDocument::breakpointEditorHTMLCallback):
3001 (DebuggerDocument::isPausedCallback):
3002 (DebuggerDocument::pauseCallback):
3003 (DebuggerDocument::resumeCallback):
3004 (DebuggerDocument::stepIntoCallback):
3005 (DebuggerDocument::evaluateScriptCallback):
3006 (DebuggerDocument::currentFunctionStackCallback):
3007 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3008 (DebuggerDocument::valueForScopeVariableNamedCallback):
3009 (DebuggerDocument::logCallback):
3010 * Drosera/DebuggerDocument.h:
3011 (DebuggerDocument::getPaused):
3012 * Drosera/mac/DebuggerClient.mm:
3013 (-[DebuggerClient pause:]):
3014 (-[DebuggerClient resume:]):
3015 (-[DebuggerClient stepInto:]):
3016 (-[DebuggerClient stepOver:]):
3017 (-[DebuggerClient stepOut:]):
3018 (-[DebuggerClient showConsole:]):
3019 (-[DebuggerClient closeCurrentFile:]):
3020 (-[DebuggerClient validateUserInterfaceItem:]):
3021 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
3022 (+[NSString stringOrNilFromWebScriptResult:]):
3023 (DebuggerDocument::platformPause):
3024 (DebuggerDocument::platformResume):
3025 (DebuggerDocument::platformStepInto):
3026 (DebuggerDocument::platformEvaluateScript):
3027 (DebuggerDocument::getPlatformCurrentFunctionStack):
3028 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3029 (DebuggerDocument::platformValueForScopeVariableNamed):
3030 (DebuggerDocument::platformLog):
3031 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3033 2007-09-12 Sam Weinig <sam@webkit.org>
3035 Build fix for Buildbot.
3037 * DumpRenderTree/DumpRenderTree.mm:
3040 2007-09-12 Kevin McCullough <kmccullough@apple.com>
3044 - Updated the leaks list for leopard to help identify regressions.
3046 * Scripts/run-webkit-tests:
3048 2007-09-12 Sam Weinig <sam@webkit.org>
3050 Rubber stamped by Darin.
3052 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
3054 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
3055 * DumpRenderTree/DumpRenderTree.m: Removed.
3056 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
3057 (stopJavaScriptThreads): Fix initialization.
3058 (setDefaultColorProfileToRGB): Add explicit cast from void*.
3059 (dumpRenderTree): Ditto.
3061 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
3063 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3064 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
3065 * DumpRenderTree/FrameLoadDelegate.m: Removed.
3066 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
3067 (-[FrameLoadDelegate init]):
3068 (-[FrameLoadDelegate dealloc]):
3069 (-[FrameLoadDelegate processWork:]):
3070 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3071 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3072 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
3074 * DumpRenderTree/LayoutTestController.cpp: Added.
3075 (LayoutTestController::LayoutTestController):
3076 (LayoutTestController::~LayoutTestController):
3077 (dumpAsTextCallback):
3078 (dumpBackForwardListCallback):
3079 (dumpChildFramesAsTextCallback):
3080 (dumpChildFrameScrollPositionsCallback):
3081 (dumpDOMAsWebArchiveCallback):
3082 (dumpEditingCallbacksCallback):
3083 (dumpFrameLoadCallbacksCallback):
3084 (dumpResourceLoadCallbacksCallback):
3085 (dumpSelectionRectCallback):
3086 (dumpSourceAsWebArchiveCallback):
3087 (dumpTitleChangesCallback):
3088 (repaintSweepHorizontallyCallback):
3089 (setCallCloseOnWebViewsCallback):
3090 (setCanOpenWindowsCallback):
3091 (setCloseRemainingWindowsWhenCompleteCallback):
3092 (testRepaintCallback):
3093 (addFileToPasteboardOnDragCallback):
3094 (addDisallowedURLCallback):
3095 (clearBackForwardListCallback):
3096 (decodeHostNameCallback):
3098 (encodeHostNameCallback):
3099 (keepWebHistoryCallback):
3100 (notifyDoneCallback):
3101 (queueBackNavigationCallback):
3102 (queueForwardNavigationCallback):
3103 (queueLoadCallback):
3104 (queueReloadCallback):
3105 (queueScriptCallback):
3106 (setAcceptsEditingCallback):
3107 (setCustomPolicyDelegateCallback):
3108 (setMainFrameIsFirstResponderCallback):
3109 (setTabKeyCyclesThroughElementsCallback):
3110 (setUseDashboardCompatibilityModeCallback):
3111 (setUserStyleSheetEnabledCallback):
3112 (setUserStyleSheetLocationCallback):
3113 (setWindowIsKeyCallback):
3114 (waitUntilDoneCallback):
3115 (windowCountCallback):
3116 (LayoutTestController::makeWindowObject):
3117 (LayoutTestController::getLayoutTestControllerJSClass):
3118 (LayoutTestController::staticFunctions):
3119 * DumpRenderTree/LayoutTestController.h: Replaced.
3120 * DumpRenderTree/LayoutTestController.m: Removed.
3121 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
3122 (LayoutTestController::dumpAsText):
3123 (LayoutTestController::dumpBackForwardList):
3124 (LayoutTestController::dumpChildFramesAsText):
3125 (LayoutTestController::dumpChildFrameScrollPositions):
3126 (LayoutTestController::dumpDOMAsWebArchive):
3127 (LayoutTestController::dumpEditingCallbacks):
3128 (LayoutTestController::dumpFrameLoadCallbacks):
3129 (LayoutTestController::dumpResourceLoadCallbacks):
3130 (LayoutTestController::dumpSelectionRect):
3131 (LayoutTestController::dumpSourceAsWebArchive):
3132 (LayoutTestController::dumpTitleChanges):
3133 (LayoutTestController::repaintSweepHorizontally):
3134 (LayoutTestController::setCallCloseOnWebViews):
3135 (LayoutTestController::setCanOpenWindows):
3136 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3137 (LayoutTestController::testRepaint):
3138 (LayoutTestController::addFileToPasteboardOnDrag):
3139 (LayoutTestController::addDisallowedURL):
3140 (LayoutTestController::clearBackForwardList):
3141 (LayoutTestController::decodeHostName):
3142 (LayoutTestController::encodeHostName):
3143 (LayoutTestController::display):
3144 (LayoutTestController::keepWebHistory):
3145 (LayoutTestController::notifyDone):
3146 (LayoutTestController::queueBackNavigation):
3147 (LayoutTestController::queueForwardNavigation):
3148 (LayoutTestController::queueLoad):
3149 (LayoutTestController::queueReload):
3150 (LayoutTestController::queueScript):
3151 (LayoutTestController::setAcceptsEditing):
3152 (LayoutTestController::setCustomPolicyDelegate):
3153 (LayoutTestController::setMainFrameIsFirstResponder):
3154 (LayoutTestController::setTabKeyCyclesThroughElements):
3155 (LayoutTestController::setUseDashboardCompatibilityMode):
3156 (LayoutTestController::setUserStyleSheetEnabled):
3157 (LayoutTestController::setUserStyleSheetLocation):
3158 (LayoutTestController::setWindowIsKey):
3159 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
3160 (LayoutTestController::waitUntilDone):
3161 (LayoutTestController::windowCount):
3162 Use the JSCore API to implement the LayoutTestController.
3164 * DumpRenderTree/ObjCController.h:
3165 * DumpRenderTree/ObjCController.m:
3166 (+[ObjCController isSelectorExcludedFromWebScript:]):
3167 (+[ObjCController webScriptNameForSelector:]):
3168 (-[ObjCController accessStoredWebScriptObject]):
3169 (-[ObjCController storeWebScriptObject:]):
3170 (-[ObjCController dealloc]):
3171 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
3172 Move WebScriptObject tests to ObjCController.
3174 * DumpRenderTree/UIDelegate.m: Removed.
3175 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
3177 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
3178 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
3179 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
3180 (WorkQueueItem::~WorkQueueItem):
3181 (LoadItem::LoadItem):
3184 (ScriptItem::ScriptItem):
3185 (ScriptItem::script):
3186 * DumpRenderTree/WorkQueueItemMac.mm: Added.
3188 (ReloadItem::invoke):
3189 (ScriptItem::invoke):
3190 (BackForwardItem::invoke):
3191 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
3192 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
3195 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3199 - Updated Win side to take advantage of the platform separating changes.
3201 * Drosera/DebuggerDocument.cpp:
3202 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3203 * Drosera/DebuggerDocument.h:
3204 * Drosera/win/DebuggerClient.cpp:
3205 (DebuggerClient::pause):
3206 (DebuggerClient::resume):
3207 (DebuggerClient::stepInto):
3208 (DebuggerDocument::platformPause):
3209 (DebuggerDocument::platformResume):
3210 (DebuggerDocument::platformStepInto):
3211 (DebuggerDocument::platformEvaluateScript):
3212 (DebuggerDocument::getPlatformCurrentFunctionStack):
3213 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3214 (DebuggerDocument::platformValueForScopeVariableNamed):
3215 (DebuggerDocument::platformLog):
3216 * Drosera/win/DebuggerClient.h:
3217 * Drosera/win/Drosera.cpp:
3219 (Drosera::windowScriptObjectAvailable):
3220 (Drosera::initWithServerName):
3221 (Drosera::switchToServerNamed):
3222 * Drosera/win/Drosera.h:
3223 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3225 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3229 - Just doing the moves in a separate patch so the changes are easier to see.
3231 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
3232 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
3233 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
3234 * Drosera/win/DebuggerDocumentWin.h: Removed.
3235 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3237 2007-09-11 Sven Herzberg <sven@imendio.com>
3239 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
3240 http://bugs.webkit.org/show_bug.cgi?id=15176
3242 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
3243 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
3244 other paths eg. from jhbuild)
3246 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3250 - Made an order-of-deletion mistake.
3252 * Drosera/DebuggerDocument.h:
3253 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3254 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3255 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3256 * Drosera/mac/DebuggerClient.mm:
3257 (DebuggerDocument::platformPause):
3258 (DebuggerDocument::platformResume):
3259 (DebuggerDocument::platformStepInto):
3260 (DebuggerDocument::platformEvaluateScript):
3261 (DebuggerDocument::getPlatformCurrentFunctionStack):
3262 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3263 (DebuggerDocument::platformValueForScopeVariableNamed):
3264 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3266 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3270 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
3272 * Drosera/DebuggerDocument.cpp:
3273 (DebuggerDocument::DebuggerDocument):
3274 * Drosera/DebuggerDocument.h:
3275 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3276 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3277 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3278 * Drosera/mac/DebuggerApplication.mm:
3279 (-[DebuggerApplication attach:]):
3280 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
3281 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
3282 (DebuggerDocument::platformPause):
3283 (DebuggerDocument::platformResume):
3284 (DebuggerDocument::platformStepInto):
3285 (DebuggerDocument::platformEvaluateScript):
3286 (DebuggerDocument::getPlatformCurrentFunctionStack):
3287 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3288 (DebuggerDocument::platformValueForScopeVariableNamed):
3289 (DebuggerDocument::platformLog):
3290 * Drosera/mac/DebuggerDocumentMac.h: Removed.
3291 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3292 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3294 2007-09-09 Sam Weinig <sam@webkit.org>
3296 Reviewed by Mark Rowe.
3298 Remove 'objC' prefix from methods now in the ObjCController.
3300 * DumpRenderTree/ObjCController.m:
3301 (+[ObjCController isSelectorExcludedFromWebScript:]):
3302 (+[ObjCController webScriptNameForSelector:]):
3303 (-[ObjCController classNameOf:]):
3304 (-[ObjCController objectOfClass:]):
3305 (-[ObjCController identityIsEqual::]):
3306 (-[ObjCController longLongRoundTrip:]):
3307 (-[ObjCController unsignedLongLongRoundTrip:]):
3309 2007-09-09 Sam Weinig <sam@webkit.org>
3313 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
3314 - Move LayoutTestController into its own file.
3315 - Move Objective-C only functions on LayoutTestController into a new controller called the
3318 * DumpRenderTree/DumpRenderTree.h:
3319 * DumpRenderTree/DumpRenderTree.m:
3321 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3322 * DumpRenderTree/FrameLoadDelegate.m:
3323 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3324 * DumpRenderTree/LayoutTestController.h: Added.
3325 * DumpRenderTree/LayoutTestController.m: Added.
3326 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3327 (+[LayoutTestController webScriptNameForSelector:]):
3328 (-[LayoutTestController clearBackForwardList]):
3329 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3330 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3331 (-[LayoutTestController setCustomPolicyDelegate:]):
3332 (-[LayoutTestController keepWebHistory]):
3333 (-[LayoutTestController setCallCloseOnWebViews:]):
3334 (-[LayoutTestController setCanOpenWindows]):
3335 (-[LayoutTestController waitUntilDone]):
3336 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3337 (-[LayoutTestController notifyDone]):
3338 (-[LayoutTestController dumpAsText]):
3339 (-[LayoutTestController addFileToPasteboardOnDrag]):
3340 (-[LayoutTestController addDisallowedURL:]):
3341 (-[LayoutTestController setUserStyleSheetLocation:]):
3342 (-[LayoutTestController setUserStyleSheetEnabled:]):
3343 (-[LayoutTestController dumpDOMAsWebArchive]):
3344 (-[LayoutTestController dumpSourceAsWebArchive]):
3345 (-[LayoutTestController dumpSelectionRect]):
3346 (-[LayoutTestController dumpTitleChanges]):
3347 (-[LayoutTestController dumpBackForwardList]):
3348 (-[LayoutTestController windowCount]):
3349 (-[LayoutTestController dumpChildFrameScrollPositions]):
3350 (-[LayoutTestController dumpChildFramesAsText]):
3351 (-[LayoutTestController dumpEditingCallbacks]):
3352 (-[LayoutTestController dumpResourceLoadCallbacks]):
3353 (-[LayoutTestController dumpFrameLoadCallbacks]):
3354 (-[LayoutTestController setWindowIsKey:]):
3355 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3356 (-[LayoutTestController display]):
3357 (-[LayoutTestController testRepaint]):
3358 (-[LayoutTestController repaintSweepHorizontally]):
3359 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3360 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
3361 (-[LayoutTestController _doLoad:target:]):
3362 (-[LayoutTestController _doBackOrForwardNavigation:]):
3363 (-[LayoutTestController queueBackNavigation:]):
3364 (-[LayoutTestController queueForwardNavigation:]):
3365 (-[LayoutTestController queueReload]):
3366 (-[LayoutTestController queueScript:]):
3367 (-[LayoutTestController queueLoad:target:]):
3368 (-[LayoutTestController setAcceptsEditing:]):
3369 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3370 (-[LayoutTestController storeWebScriptObject:]):
3371 (-[LayoutTestController accessStoredWebScriptObject]):
3372 (-[LayoutTestController dealloc]):
3373 (-[LayoutTestController decodeHostName:]):
3374 (-[LayoutTestController encodeHostName:]):
3375 * DumpRenderTree/ObjCController.h: Added.
3376 * DumpRenderTree/ObjCController.m: Added.
3377 (+[ObjCController isSelectorExcludedFromWebScript:]):
3378 (+[ObjCController webScriptNameForSelector:]):
3379 (-[ObjCController objCClassNameOf:]):
3380 (-[ObjCController objCObjectOfClass:]):
3381 (-[ObjCController objCIdentityIsEqual::]):
3382 (-[ObjCController objCLongLongRoundTrip:]):
3383 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
3384 (-[ObjCController testWrapperRoundTripping:]):
3386 2007-09-07 Sam Weinig <sam@webkit.org>
3390 Strip trailing and leading space/newline characters from skiplist file names.
3392 * Scripts/run-webkit-tests:
3394 2007-09-06 Kevin McCullough <kmccullough@apple.com>
3398 - Changed Drosera to take advantage of the JSRetainPtr changes.
3400 * Drosera/DebuggerDocument.cpp:
3401 (DebuggerDocument::breakpointEditorHTML):
3402 (DebuggerDocument::evaluateScript):
3403 (DebuggerDocument::valueForScopeVariableNamed):
3404 (DebuggerDocument::log):
3405 (DebuggerDocument::windowScriptObjectAvailable):
3406 (DebuggerDocument::toJSArray):
3407 (DebuggerDocument::callFunctionOnObject):
3408 (DebuggerDocument::logException):
3409 * Drosera/mac/DebuggerDocumentMac.mm:
3410 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3411 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3412 (DebuggerDocument::platformEvaluateScript):
3413 (DebuggerDocument::getPlatformCurrentFunctionStack):
3414 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3415 (DebuggerDocument::platformValueForScopeVariableNamed):
3417 2007-09-05 Kevin McCullough <kmccullough@apple.com>
3419 Reviewed by Adam, Sam, Darin.
3421 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
3423 * Drosera/Debugger.h: Added.
3424 * Drosera/DebuggerDocument.cpp:
3425 (DebuggerDocument::breakpointEditorHTMLCallback):
3426 (DebuggerDocument::isPausedCallback):
3427 (DebuggerDocument::pauseCallback):
3428 (DebuggerDocument::resumeCallback):
3429 (DebuggerDocument::stepIntoCallback):
3430 (DebuggerDocument::evaluateScriptCallback):
3431 (DebuggerDocument::currentFunctionStackCallback):
3432 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3433 (DebuggerDocument::valueForScopeVariableNamedCallback):
3434 (DebuggerDocument::logCallback):
3435 (DebuggerDocument::breakpointEditorHTML):
3436 (DebuggerDocument::isPaused):
3437 (DebuggerDocument::pause):
3438 (DebuggerDocument::resume):
3439 (DebuggerDocument::stepInto):
3440 (DebuggerDocument::evaluateScript):
3441 (DebuggerDocument::currentFunctionStack):
3442 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3443 (DebuggerDocument::valueForScopeVariableNamed):
3444 (DebuggerDocument::log):
3445 (DebuggerDocument::toolbarPause):
3446 (DebuggerDocument::toolbarResume):
3447 (DebuggerDocument::toolbarStepInto):
3448 (DebuggerDocument::toolbarStepOver):
3449 (DebuggerDocument::toolbarStepOut):
3450 (DebuggerDocument::toolbarShowConsole):
3451 (DebuggerDocument::toolbarCloseCurrentFile):
3452 (DebuggerDocument::updateFileSource):
3453 (DebuggerDocument::didParseScript):
3454 (DebuggerDocument::willExecuteStatement):
3455 (DebuggerDocument::didEnterCallFrame):
3456 (DebuggerDocument::willLeaveCallFrame):
3457 (DebuggerDocument::exceptionWasRaised):
3458 (DebuggerDocument::windowScriptObjectAvailable):
3459 (DebuggerDocument::toJSArray):
3460 (DebuggerDocument::callGlobalFunction):
3461 (DebuggerDocument::callFunctionOnObject):
3462 (DebuggerDocument::getDroseraJSClass):
3463 (DebuggerDocument::staticFunctions):
3464 (DebuggerDocument::logException):
3465 * Drosera/DebuggerDocument.h:
3466 (DebuggerDocument::DebuggerDocument):
3467 * Drosera/ForwardingHeaders: Added.
3468 * Drosera/ForwardingHeaders/wtf: Added.
3469 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3471 * Drosera/console.html:
3472 * Drosera/console.js:
3473 * Drosera/debugger.js:
3474 * Drosera/mac/DebuggerApplication.mm:
3475 (-[DebuggerApplication attach:]):
3476 * Drosera/mac/DebuggerDocumentMac.h:
3477 * Drosera/mac/DebuggerDocumentMac.mm:
3478 (+[NSString stringOrNilFromWebScriptResult:]):
3479 (+[DebuggerClientMac log:]):
3480 (-[DebuggerClientMac initWithServerName:]):
3481 (-[DebuggerClientMac dealloc]):
3482 (-[DebuggerClientMac pause]):
3483 (-[DebuggerClientMac resume]):
3484 (-[DebuggerClientMac pause:]):
3485 (-[DebuggerClientMac resume:]):
3486 (-[DebuggerClientMac stepInto:]):
3487 (-[DebuggerClientMac stepOver:]):
3488 (-[DebuggerClientMac stepOut:]):
3489 (-[DebuggerClientMac showConsole:]):
3490 (-[DebuggerClientMac closeCurrentFile:]):
3491 (-[DebuggerClientMac validateUserInterfaceItem:]):
3492 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3493 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3494 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3495 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3496 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3497 (DebuggerDocument::platformPause):
3498 (DebuggerDocument::platformResume):
3499 (DebuggerDocument::platformStepInto):
3500 (DebuggerDocument::platformEvaluateScript):
3501 (DebuggerDocument::platformCurrentFunctionStack):
3502 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3503 (DebuggerDocument::platformValueForScopeVariableNamed):
3504 (DebuggerDocument::platformLog):
3505 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3507 2007-09-06 Sam Weinig <sam@webkit.org>
3509 Reviewed by Adam Roben.
3511 Register the WebKit DLL on initialization of the DumpRenderTree.
3513 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3516 2007-09-05 Sam Weinig <sam@webkit.org>
3520 Fix many layout test failures caused by r25364.
3521 Set text size to standand size at the begining of each test matching the mac.
3523 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3526 2007-09-04 Sam Weinig <sam@webkit.org>
3530 Fix for <rdar://problem/5382277>
3531 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3533 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3534 (textZoomInCallback):
3535 (textZoomOutCallback):
3537 2007-08-29 David Kilzer <ddkilzer@apple.com>