1 2007-11-07 Simon Hausmann <hausmann@kde.org>
5 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
7 * DumpRenderTree/qt/DumpRenderTree.cpp:
9 2007-11-07 Simon Hausmann <hausmann@kde.org>
13 Reworked the QWebSettings API.
14 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
16 * DumpRenderTree/qt/DumpRenderTree.cpp:
18 2007-11-07 Simon Hausmann <hausmann@kde.org>
22 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
24 * DumpRenderTree/qt/jsobjects.cpp:
26 2007-11-07 Simon Hausmann <hausmann@kde.org>
28 Reviewed by Lars Knoll <lars@trolltech.com>.
30 Add a QWebPage::frameCreated() signal and fix DRT
32 The removal of createFrame in QWebPage broke the re-implementation
33 in DumpRenderTree. Instead emit a frameCreated() signal and
34 connect to it in DumpRenderTree.
37 * DumpRenderTree/qt/DumpRenderTree.cpp:
38 (WebCore::WebPage::WebPage):
39 (WebCore::DumpRenderTree::dump):
40 (WebCore::DumpRenderTree::connectFrame):
41 * DumpRenderTree/qt/DumpRenderTree.h:
43 2007-11-07 Simon Hausmann <hausmann@kde.org>
45 Reviewed by Lars Knoll <lars@trolltech.com>.
47 Moved all the event handlers from QWebFrame into QWebPage.
49 This cleans up the public API and allows us to remove the
50 HackWebFrame hack in DumpRenderTree.
53 * DumpRenderTree/qt/jsobjects.cpp:
54 (EventSender::mouseDown):
55 (EventSender::mouseUp):
56 (EventSender::mouseMoveTo):
58 2007-11-07 Simon Hausmann <hausmann@kde.org>
62 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
63 to prevent the default implementation from popping up messageboxes.
65 * DumpRenderTree/qt/DumpRenderTree.cpp:
66 (WebCore::WebPage::javaScriptConfirm):
67 (WebCore::WebPage::javaScriptPrompt):
69 2007-11-06 Eric Seidel <eric@webkit.org>
71 * Scripts/build-testkjs: build fix... too many $$
73 2007-11-06 Eric Seidel <eric@webkit.org>
75 Reviewed by Mark Rowe.
77 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
79 2007-11-05 Adam Roben <aroben@apple.com>
81 Add support on Windows for WEBKIT_TESTFONTS
83 This environment variable lets you specify where the fonts to be used
84 by DumpRenderTree reside. The Qt port is already using this, so I'm
85 just following their lead.
89 * DumpRenderTree/win/DumpRenderTree.cpp:
90 (exePath): Refactored code out of initialize().
91 (fontsPath): Returns either $WEBKIT_TESTFONTS or
92 DumpRenderTree.resources.
93 (initialize): Use the new fontsPath function.
94 (main): Use the new exePath function.
95 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
96 variable to DRT, like Qt does.
98 2007-11-05 Mark Rowe <mrowe@apple.com>
100 Rubber-stamped by Alp Toker.
102 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
104 * GtkLauncher/main.cpp:
108 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
110 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
111 <http://bugs.webkit.org/show_bug.cgi?id=15830>
115 Restrict the range of nightly builds used by the bisect-builds script
116 based on the version of Safari and the version of Mac OS X being used.
118 Mac OS X 10.4: Safari 2.0: r11976 or newer
119 Mac OS X 10.4: Safari 3.0: r19992 or newer
121 Mac OS X 10.5: Safari 2.0: r19594 or newer
122 Mac OS X 10.5: Safari 3.0: r25124 or newer
124 * Scripts/bisect-builds:
125 (findMacOSXVersion): Added.
126 (makeNightlyList): Added argument to provide version of Mac OS X.
127 Restrict range of nightly builds based on Safari and Mac OS X versions.
129 2007-11-04 Kevin McCullough <kmccullough@apple.com>
133 - This patch involves several changes, all of them were noticed that
134 they were needed by the work being done in WebKit to get Drosera and
135 WebKit working together on Windows.
137 1) Added a debugger console for output messages.
138 2) Drosera now listens for the WebKit server (before, the server would
139 have to be running before Drosera was started.)
140 3) Fixed a bug where the WebView started out as 0x0 pixels.
141 4) Fixed a bug when there is no scope.
142 5) Added the HTML, JS, and CSS to the project file to make them easy to
144 6) Made the ServerConnection functions virtual.
146 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
147 for the WebKit server.
148 (DebuggerClient::DebuggerClient):
149 (DebuggerClient::~DebuggerClient):
150 (DebuggerClient::didFinishLoadForFrame):
151 (DebuggerClient::serverConnected):
152 (DebuggerClient::attemptToCreateServerConnection):
153 * Drosera/win/DebuggerClient.h: Ditto.
154 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
156 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
157 (DebuggerDocument::platformValueForScopeVariableNamed):
158 * Drosera/win/Drosera.cpp:
159 (_tWinMain): Added a console in debug for output messages.
160 (Drosera::Drosera): Listen for server.
161 (Drosera::initUI): The server now Initializes COM.
162 (Drosera::serverConnected): Part of the listening for the server.
163 (Drosera::attemptToCreateServerConnection): Ditto.
164 * Drosera/win/Drosera.h: New interface for listening for the server.
165 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
166 files to the VS project.
167 * Drosera/win/ServerConnection.cpp: Part of listening for the server
169 (ServerConnection::ServerConnection):
170 (ServerConnection::attemptToCreateServerConnection):
171 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
173 (ServerConnection::serverConnected):
175 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
179 http://bugs.webkit.org/show_bug.cgi?id=15832
180 fast/dom/gc-10.html crashes when run alone
182 Check for !done before using objects that can be already deallocated.
184 * DumpRenderTree/mac/EditingDelegate.mm:
185 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
186 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
187 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
188 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
189 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
190 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
191 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
192 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
193 (-[EditingDelegate webViewDidBeginEditing:]):
194 (-[EditingDelegate webViewDidChange:]):
195 (-[EditingDelegate webViewDidEndEditing:]):
196 (-[EditingDelegate webViewDidChangeTypingStyle:]):
197 (-[EditingDelegate webViewDidChangeSelection:]):
198 * DumpRenderTree/mac/FrameLoadDelegate.mm:
199 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
200 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
201 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
202 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
203 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
204 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
205 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
206 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
207 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
208 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
209 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
210 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
211 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
212 (-[FrameLoadDelegate webView:willCloseFrame:]):
213 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
214 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
215 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
216 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
217 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
218 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
219 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
220 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
221 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
223 2007-11-04 Mark Rowe <mrowe@apple.com>
225 Build fix. Don't use Carbon.h as the prefix header as it triggers
226 warnings that would otherwise be suppressed due to it being a system header.
228 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
230 2007-11-03 Maciej Stachowiak <mjs@apple.com>
232 Rubber stamped by Adam.
234 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
236 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
238 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
240 Sort files(...); sections of Xcode project files.
242 Rubber-stamped by Darin.
244 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
245 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
246 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
247 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
249 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
251 Script to sort "files(...);" sections in Xcode project.pbxproj files.
255 * Scripts/sort-Xcode-project-file: Added.
257 2007-11-02 Darin Adler <darin@apple.com>
259 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
261 2007-11-02 Darin Adler <darin@apple.com>
265 * Scripts/run-sunspider: Pass the "--base" option through.
267 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
268 the real script do that. Default configuration to Release to match run-sunspider
269 so we don't end up building Debug just to compare results.
271 2007-11-01 Adam Roben <aroben@apple.com>
273 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
277 * Scripts/commit-log-editor: Show all the directories beneath the
278 source root, instead of just the last one.
280 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
282 Reviewed by Adam Roben.
284 Print out an error message when the Windows build fails
285 and provide guidance on how to find out what went wrong.
287 * Scripts/build-webkit:
288 * Scripts/webkitdirs.pm:
290 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
292 Rubber-stamped by Adam Roben.
294 Rolled out r27326 - debug CRT seems to cause no problems after all.
296 * DumpRenderTree/win/DumpRenderTree.vcproj:
298 2007-10-31 Adam Roben <aroben@apple.com>
300 Switch the Debug configuration to using the non-debug CRT
306 * DumpRenderTree/win/DumpRenderTree.vcproj:
308 2007-10-31 Antti Koivisto <antti@apple.com>
312 Disable media tests when doing leak checking on Tiger.
313 They crash in QuickTime (rdar://problem/5537157).
315 * Scripts/run-webkit-tests:
317 2007-10-29 Antti Koivisto <antti@apple.com>
321 Build media support by default on OSX only.
323 * Scripts/build-webkit:
325 2007-10-30 Kevin McCullough <kmccullough@apple.com>
327 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
328 get caught by the pre-commit hooks.
330 2007-10-30 Kevin McCullough <kmccullough@apple.com>
334 - This is a collection of relatively unrelated changes and cleanups
335 to Drosera to prepare it for interacting with WebKit. A lot of these
336 changes are just correcting mistakes, for example removing included
337 headers that are no longer needed.
339 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
340 this will be needed by the DebuggerClient.
341 (DebuggerDocument::server):
342 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
343 * Drosera/win/DebuggerClient.cpp:
344 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
345 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
346 (DebuggerClient::createWebViewWithRequest): Added comment about its
348 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
350 (DebuggerClient::webViewLoaded): Moved.
351 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
352 file, since this was the only place it was used.
354 * Drosera/win/Drosera.h: Cleaned up the includes.
355 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
356 * Drosera/win/HelperFunctions.h: Removed.
358 2007-10-30 Kevin McCullough <kmccullough@apple.com>
362 - Small cleanup in the ServerConnection class.
364 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
365 and added an include.
366 (ServerConnection::currentFrame):
367 (ServerConnection::getCallerFrame):
368 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
369 made a pointer into a COMPtr, and cleaned up the includes.
371 2007-10-29 Timothy Hatcher <timothy@apple.com>
373 Reviewed by John Sullivan.
375 - Place the Localizable.strings file in mac or win directories
376 if that location exists.
377 - Also look for UI_STRING in .c files.
379 * Scripts/extract-localizable-strings:
381 2007-10-30 Kevin McCullough <kmccullough@apple.com>
385 - Set the eol-style to native and made all the line endings the same
386 so that I avoid messy diffs that show eol changes.
388 * Drosera/win/ServerConnection.cpp:
389 (ServerConnection::didParseSource):
390 (ServerConnection::didEnterCallFrame):
391 (ServerConnection::willExecuteStatement):
392 (ServerConnection::willLeaveCallFrame):
393 (ServerConnection::exceptionWasRaised):
395 2007-10-30 Kevin McCullough <kmccullough@apple.com>
399 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
400 functionality that could not have existed previously without the new
402 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
403 from a BSTR to a JSValueRef.
404 (DebuggerDocument::platformEvaluateScript): Implemented.
405 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
406 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
408 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
409 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
410 * Drosera/win/ServerConnection.cpp: Added a helper function.
411 (ServerConnection::getCallerFrame):
412 * Drosera/win/ServerConnection.h: Added a helper function.
414 2007-10-29 Kevin McCullough <kmccullough@apple.com>
416 updated reviewers for my previous changelog.
418 2007-10-29 Kevin McCullough <kmccullough@apple.com>
419 Reviewed by Maciej and Adam and Geoff.
421 - Minor mac-side improvements including moving a function to a more
422 appropriate location, fixing a warning, and correctly checking
425 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
426 (DebuggerDocument::willExecuteStatement):
427 (DebuggerDocument::didEnterCallFrame):
428 (DebuggerDocument::willLeaveCallFrame):
429 (DebuggerDocument::windowScriptObjectAvailable):
430 (DebuggerDocument::callFunctionOnObject):
431 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
432 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
433 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
434 because it doesn't require the ServerConnection at all.
435 (NSStringCreateWithJSStringRef): Made an argument const.
436 (JSValueRefCreateWithNSString): Made an argument const.
437 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
438 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
439 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
440 * Drosera/mac/ServerConnection.mm: Ditto.
441 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
443 2007-10-29 Sam Weinig <sam@webkit.org>
445 Reviewed by Adam Roben.
447 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
449 * DumpRenderTree/LayoutTestController.cpp:
450 (LayoutTestController::LayoutTestController):
451 (getGlobalFlagCallback):
452 (setGlobalFlagCallback):
453 (LayoutTestController::getJSClass):
454 (LayoutTestController::staticValues):
455 * DumpRenderTree/LayoutTestController.h:
456 (LayoutTestController::globalFlag):
457 (LayoutTestController::setGlobalFlag):
459 2007-10-29 Darin Adler <darin@apple.com>
463 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
464 resolution instead of its default.
466 2007-10-29 David Kilzer <ddkilzer@webkit.org>
468 Fixed showStatus() to print status for successfully resolved conflicts when using git.
470 Reviewed by Mark Rowe.
472 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
473 was successfully resolved, but this would not show any status because the change had
474 already been cached in the index using "git add". The solution is to add an optional
475 second argument to showStatus() which adds the "--cached" switch to the command.
477 * Scripts/resolve-ChangeLogs:
480 2007-10-28 Eric Seidel <eric@webkit.org>
482 Reviewed by Maciej and Geoff, in unison.
484 * Scripts/run-webkit-tests: remove broken --svg option
486 2007-10-28 Darin Adler <darin@apple.com>
490 * Scripts/run-sunspider: Default to "Release" configuration rather than
491 defaulting to the last configuration used as other scripts do. This can
492 still be overriden on the command line with "--debug" if there's some
493 reason to do so. Also fix a typo.
495 * Scripts/sunspider-compare-results: Fix a typo.
497 2007-10-26 Kevin McCullough <kmccullough@apple.com>
501 - Implemented the WebScriptDebugListener functions now that the
502 WebScriptDebugServer exists
504 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
506 (ServerConnection::currentFrame):
507 (ServerConnection::didLoadMainResourceForDataSource):
508 (ServerConnection::didParseSource):
509 (ServerConnection::failedToParseSource):
510 (ServerConnection::didEnterCallFrame):
511 (ServerConnection::willExecuteStatement):
512 (ServerConnection::willLeaveCallFrame):
513 (ServerConnection::exceptionWasRaised):
514 * Drosera/win/ServerConnection.h: Removed unused arguments from the
515 members arguments list.
517 2007-10-26 David Kilzer <ddkilzer@webkit.org>
519 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
520 <http://bugs.webkit.org/show_bug.cgi?id=15600>
524 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
525 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
526 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
527 file. Note that it may also be used as a stand-alone script.
529 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
530 * Scripts/resolve-ChangeLogs: Added.
531 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
533 2007-10-26 Mark Rowe <mrowe@apple.com>
535 Qt build fix. r27084 added a destructor implementation for LayoutTestController
536 to the Qt port on the assumption that it was an implementation of the cross-platform
537 LayoutTestController class. It is not, so it did not need to be changed.
539 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
541 2007-10-25 Mark Rowe <mrowe@apple.com>
545 Fix builds with code coverage enabled.
547 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
549 2007-10-25 Darin Adler <darin@apple.com>
551 Reviewed by Mark Rowe.
553 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
554 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
556 2007-10-25 Stephanie <slewis@apple.com>
560 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
562 2007-10-25 Stephanie <slewis@apple.com>
564 Reviewed by Mark Rowe, Adam Roben.
566 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
568 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
570 2007-10-25 Alice Liu <alice.liu@apple.com>
574 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
576 Moving destructor into platform-specific files
577 * DumpRenderTree/LayoutTestController.cpp:
578 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
579 (LayoutTestController::~LayoutTestController):
580 * DumpRenderTree/qt/jsobjects.cpp:
581 (LayoutTestController::~LayoutTestController):
583 LayoutTestController wasn't being destroyed
584 * DumpRenderTree/win/DumpRenderTree.cpp:
588 * DumpRenderTree/win/EditingDelegate.h:
590 Reset certain values on the webview (or related delegate) that might
591 have changed while running a test
592 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
593 (LayoutTestController::~LayoutTestController):
595 2007-10-25 Adam Roben <aroben@apple.com>
597 Make sunspider-compare-results work with relative paths
601 * Scripts/sunspider-compare-results: Convert arguments to absolute
602 paths before we chdir.
604 2007-10-25 Kevin McCullough <kmccullough@apple.com>
608 - Implemented server calls now the WebScriptDebugServer exists.
609 - Also removed no longer needed call to initialize CG.
611 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
614 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
615 (ServerConnection::ServerConnection):
616 (ServerConnection::~ServerConnection):
617 (ServerConnection::pause):
618 (ServerConnection::resume):
619 (ServerConnection::stepInto):
620 (ServerConnection::applicationTerminating):
621 (ServerConnection::serverConnectionDidDie):
622 * Drosera/win/ServerConnection.h: Now uses the COM class.
624 2007-10-24 George Staikos <staikos@kde.org>
628 * Scripts/build-webkit:
630 2007-10-24 Adam Roben <aroben@apple.com>
632 Remove now-unnecessary call to InitializeCoreGraphics
634 WebKit takes care of this now.
638 * DumpRenderTree/win/DumpRenderTree.cpp:
641 2007-10-24 Adam Roben <aroben@apple.com>
643 Use WebTextRenderer in DRT
647 * DumpRenderTree/win/DumpRenderTree.cpp:
648 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
650 2007-10-24 Sven Herzberg <sven@imendio.com>
652 Reviewed by Mark Rowe.
654 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
655 Bug 15614: [GTK] qmake based backends don't build on OS X
657 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
659 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
660 isDarwin() to make it reusable in other places (like the workaround-
661 for-prebuilt-qmake in build-webkit)
663 2007-10-24 David Kilzer <ddkilzer@webkit.org>
665 Refurbish update-webkit script.
669 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
670 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
671 multi-argument version of system() for flexibility and security. Check for existence
672 of Internal directory using -d test instead of -x.
674 2007-10-24 David Kilzer <ddkilzer@webkit.org>
676 Minor clean-up of prepare-ChangeLog script.
680 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
681 of a string. Use multi-argument versions of open() and system() for flexibility and
684 2007-10-24 Alice Liu <alice.liu@apple.com>
688 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
690 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
691 replay the saved events when we're still processing the mousedown that starts the drag
692 * DumpRenderTree/win/EventSender.cpp:
694 * DumpRenderTree/win/UIDelegate.cpp:
695 (UIDelegate::doDragDrop):
697 2007-10-24 Kevin McCullough <kmccullough@apple.com>
699 Reviewed by Sam, Steve and Darin.
701 - Stubbed out the WebScriptDebugListener functionality in the Server
702 Connection class to prepare it for receiving those callbacks.
703 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
704 and the ServerConnection to not need to be initialized with a server
705 name, since that is not the way we connect to the WebKit server.
707 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
708 no exception. Now it only loggs when there is an exception
709 (DebuggerDocument::willExecuteStatement):
710 (DebuggerDocument::didEnterCallFrame):
711 (DebuggerDocument::willLeaveCallFrame):
712 (DebuggerDocument::windowScriptObjectAvailable):
713 (DebuggerDocument::callFunctionOnObject):
714 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
715 to be instantiated with a server's name.
716 (DebuggerClient::DebuggerClient):
717 (DebuggerClient::didFinishLoadForFrame):
718 * Drosera/win/DebuggerClient.h: Removed unsued variable.
719 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
722 (Drosera::initServer):
723 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
724 instantiated with a server's name.
725 * Drosera/win/ServerConnection.cpp:
726 (ServerConnection::ServerConnection): No longer needs a server name
727 (ServerConnection::~ServerConnection): Only release the global context
729 (ServerConnection::serverConnectionDidDie): Stub for
730 IWebScriptDebugListener
731 (ServerConnection::QueryInterface): ditto
732 (ServerConnection::AddRef): ditto
733 (ServerConnection::Release): ditto
734 (ServerConnection::didLoadMainResourceForDataSource): ditto
735 (ServerConnection::didParseSource): ditto
736 (ServerConnection::failedToParseSource): ditto
737 (ServerConnection::didEnterCallFrame): ditto
738 (ServerConnection::willExecuteStatement): ditto
739 (ServerConnection::willLeaveCallFrame): ditto
740 (ServerConnection::exceptionWasRaised): ditto
741 * Drosera/win/ServerConnection.h: Stubbed out the
742 IWebScriptDebugListener functions, and this class no longer needs to be
743 instantiated with a server name.
745 2007-10-24 Lars Knoll <lars@trolltech.com>
749 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
751 * DumpRenderTree/qt/jsobjects.h:
753 2007-10-24 Lars Knoll <lars@trolltech.com>
759 * DumpRenderTree/qt/jsobjects.cpp:
760 (TextInputController::doCommand):
762 2007-10-24 Lars Knoll <lars@trolltech.com>
766 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
768 * DumpRenderTree/qt/jsobjects.cpp:
769 (EventSender::keyDown):
770 * DumpRenderTree/qt/jsobjects.h:
772 2007-10-24 Lars Knoll <lars@trolltech.com>
776 implement eventSender.keyDown().
778 * DumpRenderTree/qt/jsobjects.cpp:
779 (EventSender::keyDown):
781 2007-10-24 Lars Knoll <lars@trolltech.com>
785 some smaller fixes to the editing support in DRT. Makes another few tests pass.
787 * DumpRenderTree/qt/DumpRenderTree.cpp:
788 (WebCore::DumpRenderTree::DumpRenderTree):
789 (WebCore::DumpRenderTree::initJSObjects):
790 * DumpRenderTree/qt/jsobjects.cpp:
791 (TextInputController::doCommand):
793 2007-10-24 Lars Knoll <lars@trolltech.com>
797 first bit of implementation for the textinputcontroller.
799 * DumpRenderTree/qt/DumpRenderTree.cpp:
800 (WebCore::DumpRenderTree::DumpRenderTree):
801 * DumpRenderTree/qt/DumpRenderTree.h:
802 * DumpRenderTree/qt/jsobjects.cpp:
803 (TextInputController::TextInputController):
804 (TextInputController::doCommand):
805 * DumpRenderTree/qt/jsobjects.h:
807 2007-10-24 Lars Knoll <lars@trolltech.com>
811 make the man webpage believe it has focus, so the editing tests work correctly.
813 * DumpRenderTree/qt/DumpRenderTree.cpp:
814 (WebCore::DumpRenderTree::DumpRenderTree):
816 2007-10-24 Lars Knoll <lars@trolltech.com>
820 implement layoutTestController.dumpEditingCallbacks() correctly.
822 * DumpRenderTree/qt/DumpRenderTree.cpp:
823 (WebCore::DumpRenderTree::DumpRenderTree):
824 * DumpRenderTree/qt/jsobjects.cpp:
825 (LayoutTestController::reset):
826 (LayoutTestController::dumpEditingCallbacks):
828 2007-10-24 Lars Knoll <lars@trolltech.com>
832 Implement support for testing editing.
834 * DumpRenderTree/qt/DumpRenderTree.cpp:
835 (WebCore::DumpRenderTree::DumpRenderTree):
837 2007-10-23 Sam Weinig <sam@webkit.org>
839 Check for null BSTR that can be passed to the UIDelegate methods
840 from javascript null and undefined. Fixes a failing test case on
841 Windows (fast/dom/Window/alert-undefined.html)
843 Reviewed by Eric Seidel.
845 * DumpRenderTree/win/UIDelegate.cpp:
846 (UIDelegate::runJavaScriptAlertPanelWithMessage):
847 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
848 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
849 (UIDelegate::webViewAddMessageToConsole):
851 2007-10-23 Maciej Stachowiak <mjs@apple.com>
855 Don't print a massive pile of setenvs from tools that automatically build testkjs.
857 * Scripts/build-testkjs:
859 2007-10-23 Maciej Stachowiak <mjs@apple.com>
863 - add wrapper that finds the right copy of testkjs
865 * Scripts/sunspider-compare-results: Added.
867 2007-10-23 Kevin McCullough <kmccullough@apple.com>
871 - After talking with Steve I now see that the WebKit server must be
872 running for DCOM to create the distributed objects, which makes sense
873 and currently WebKit only allows one instance to be running at a time
874 which avoids accidentally connecting to the wrong server
875 - In light of this I have removed the code for the attach box and
876 NotificationServer and known server names, since they are all extranious
879 * Drosera/win/Drosera.cpp: Removed notification classes and known server
881 (_tWinMain): Uses init instead of initUI.
882 (droseraWndProc): No longer creats an attach dialog box.
883 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
884 it's not manditory to call init before doing COM stuff.
885 (Drosera::init): calls initUI and will call attach when the
886 functionality exists.
887 (Drosera::initUI): Has changed very little.
888 (Drosera::attach): Changed the signature to reflect that we no longer
889 need the dictionary of known server names.
890 * Drosera/win/Drosera.h: Removed notification classes and known server
891 names. Also renamed and moved some functions.
892 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
893 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
894 headers to the resources folder.
895 * Drosera/win/resource.h: Removed the Attach box.
897 2007-10-22 Adam Roben <aroben@apple.com>
901 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
903 2007-10-22 Kevin McCullough <kmccullough@apple.com>
905 - Removed a leak that was fixed.
907 * Scripts/run-webkit-tests:
909 2007-10-19 Kevin McCullough <kmccullough@apple.com>
913 - Changed the Client so that the DebuggerDocument now own the
914 ServerConnection. This simplifies ownership and cleanup.
916 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
918 (DebuggerClient::initWithServerName):
919 (DebuggerClient::didFinishLoadForFrame):
920 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
922 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
923 until after we have a server which we are attached to.
926 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
929 2007-10-22 Simon Hausmann <hausmann@kde.org>
933 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
935 * Scripts/run-javascriptcore-tests:
937 2007-10-22 Simon Hausmann <hausmann@kde.org>
941 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.
943 * Scripts/build-drosera:
944 * Scripts/build-dumprendertree:
945 * Scripts/build-testkjs:
946 * Scripts/build-webkit:
947 * Scripts/run-javascriptcore-tests:
948 * Scripts/run-sunspider:
949 * Scripts/run-webkit-tests:
950 * Scripts/webkitdirs.pm:
952 2007-10-22 Andrew Wellington <proton@wiretapped.net>
954 Reviewed by Mark Rowe.
956 Fix for local database support after r26879
957 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
959 * Scripts/build-webkit:
961 2007-10-22 Holger Freyther <zecke@selfish.org>
963 Reviewed by Simon Hausmann <hausmann@kde.org>.
965 - Do not build testkjs as an application bundle. This is
966 needed for run-javascriptcore-tests on OSX.
967 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
968 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
969 as we do not have -rpath on OSX.
971 * DumpRenderTree/qt/DumpRenderTree.pro:
972 * Scripts/run-webkit-tests:
974 2007-10-22 Simon Hausmann <hausmann@kde.org>
978 Fix support for Signed-off-by detection in prepare-ChangeLog
979 --git-commit. The Signed-off-by tag does not appear in the header
980 but usually at the end.
982 * Scripts/prepare-ChangeLog:
984 2007-10-21 Mark Rowe <mrowe@apple.com>
988 Fix run-javascriptcore-tests for Gtk.
990 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
992 2007-10-20 Eric Seidel <eric@webkit.org>
996 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
998 2007-10-20 Eric Seidel <eric@webkit.org>
1002 Add improved argument handling to run-sunspider, including
1003 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
1004 Also re-factor code into subroutines
1006 * Scripts/build-dumprendertree: removed bogus comments
1007 * Scripts/build-testkjs: Added.
1008 * Scripts/run-javascriptcore-tests: use build-testkjs
1009 * Scripts/run-sunspider: improved argument handling, abstraction
1010 * Scripts/run-webkit-tests: improved abstraction
1012 2007-10-20 Matt Lilek <webkit@mattlilek.com>
1014 Not reviewed, Windows build fix.
1016 * DumpRenderTree/win/EventSender.cpp:
1019 2007-10-20 Darin Adler <darin@apple.com>
1021 Reviewed by Tim Hatcher.
1023 - http://bugs.webkit.org/show_bug.cgi?id=15544
1024 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
1025 not rely on Apple-specific key codes
1027 * DumpRenderTree/mac/EventSendingController.mm:
1028 (-[EventSendingController keyDown:withModifiers:]):
1029 Added named key "rightArrow". Later we could have a whole table of these.
1030 Also tweaked modifiers code a little.
1032 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
1034 2007-10-19 Darin Adler <darin@apple.com>
1038 - http://bugs.webkit.org/show_bug.cgi?id=15566
1039 possible fix for leak seen in DumpRenderTree
1041 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
1042 Delete the item if it's not put on the queue, since the caller has
1043 no way of knowing that. Would be better to have the parameter type
1044 be auto_ptr to express the fact that we take ownership.
1048 * Drosera/mac/main.m: Add missing include.
1050 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1054 - This change should be identical but for some reason was not working
1057 * Scripts/prepare-ChangeLog:
1059 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1061 Reviewed by Oliver and Tim.
1063 - Made use of RetainPtr to avoid retain and release issues and moved the
1064 log function to DebuggerDocumentPlatform, which seems to be a more
1065 logical place for it to live.
1066 - Also moved knownServers from the ServerConnection to
1067 DebuggerApplication to match the Windows code and because it makes sense
1068 that a connection knows its own server but not all of them.
1070 * Drosera/mac/DebuggerClient.h: Moved the log function to
1071 DebuggerDocumentPlatform.
1072 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
1073 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
1074 call for the server name up from the ServerConnection class.
1075 (-[DebuggerClient dealloc]):
1076 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
1077 for the server name up from the ServerConnection.
1078 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
1079 (DebuggerDocument::platformPause):
1080 (DebuggerDocument::platformResume):
1081 (DebuggerDocument::platformStepInto):
1082 (DebuggerDocument::platformEvaluateScript):
1083 (DebuggerDocument::getPlatformCurrentFunctionStack):
1084 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1085 (DebuggerDocument::platformValueForScopeVariableNamed):
1086 (DebuggerDocument::platformLog): Log directly from here. No need to call
1088 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
1089 way I see it, a ServerConnection should only know about its connection
1090 and the group of all possible servers should be kept by the
1092 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
1093 currentServerName, it makes sense that the connection should know that
1095 (-[ServerConnection currentServerName]):
1097 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1101 - Integrated changes from mac drosera. Recently I've encapsulated
1102 out the server connection object from the rest of Drosera because
1103 it is very platform dependent right now and RPC is not implemented on
1104 windows. This functionality, of communicating with the WebKit server
1105 is the next area I will be focusing on in Windows.
1107 - Other changes and cleanup were made to organize the code and add notes
1108 on which parts still need work. Also some mac code is added and
1109 commented out, to act as pseudocode for the logic of those parts.
1111 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
1113 * Drosera/config.h: Added whitespace.
1114 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
1115 these files got moved into Drosera.h/cpp
1116 * Drosera/win/DebuggerApplication.h: Removed.
1117 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
1118 happened here to better match the logic flow of the same code on the
1119 mac side and to use the new ServerConnection class.
1120 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
1121 (DebuggerClient::initWithServerName): Initializer that will set up the
1122 class to use a ServerConnection object. This was necessary so I could
1123 create a DebuggerClient without having to initilaize it at
1125 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
1126 will be the UIDelegate and FrameLoadDelegate.
1127 (DebuggerClient::AddRef): For IUnknown.
1128 (DebuggerClient::Release): For IUnknown.
1129 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
1130 this still needs to set the global context of the server, but
1131 IWebFrame does not have an accessor for the global context yet.
1132 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
1133 this is a pass through for the same function in the document.
1134 (DebuggerClient::didReceiveTitle): Unimplemented part of
1135 FrameLoadDelegate this would change the title of the window.
1136 (DebuggerClient::createWebViewWithRequest): Part of the
1137 FrameLoadDelegate. This is about new windows via Window.open() and
1138 how their delegates are set.
1139 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
1140 UIDelegate. Just a debug function for printing messages.
1141 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
1142 because the Client should be the UIDelegate and FrameLoadDelegate
1143 to match the delegates on mac.
1144 (DebuggerClient::webViewLoaded): Added accessor method.
1145 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
1146 forgotten to add this file before. This is where the platform
1147 dependent versions of the Documents functions live. Most of these are
1148 unimplemented because some piece of functionality does not exist on
1150 (DebuggerDocument::platformPause):
1151 (DebuggerDocument::platformResume):
1152 (DebuggerDocument::platformStepInto):
1153 (DebuggerDocument::platformEvaluateScript):
1154 (DebuggerDocument::getPlatformCurrentFunctionStack):
1155 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1156 (DebuggerDocument::platformValueForScopeVariableNamed):
1157 (DebuggerDocument::platformLog):
1158 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
1159 responsibilities becaue they belong in the Client. Also I laid the
1160 groundwork for attaching Drosera to a WebKit process
1161 (attachWndProc): Now if a server is selected the Client becomes it's
1163 (Drosera::Drosera): Added the construction of the Client and dictionary
1165 (Drosera::initUI): This is no longer the delegates, the Client is.
1166 (Drosera::webViewLoaded): Now asks the Client instead of holding local
1168 (Drosera::applicationDidFinishLaunching): Placeholder for needed
1169 notification registration when it's possible to implement.
1170 (Drosera::serverLoaded): Ditto
1171 (Drosera::serverUnloaded): Ditto
1172 (Drosera::attach): Attach Drosera to the WebKit server.
1173 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
1176 (Drosera::knownServers):
1177 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
1178 and added the ServerConnection.
1179 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
1180 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
1181 Most of the functions are completely unimlemented because they cannot
1182 connect with the WebKit server, because one does not exist on Windows
1184 (ServerConnection::initWithServerName):
1185 (ServerConnection::~ServerConnection):
1186 (ServerConnection::setGlobalContext):
1187 (ServerConnection::pause):
1188 (ServerConnection::resume):
1189 (ServerConnection::stepInto):
1190 (ServerConnection::switchToServerNamed):
1191 (ServerConnection::applicationTerminating):
1192 (ServerConnection::serverConnectionDidDie):
1193 (ServerConnection::currentFrame):
1194 * Drosera/win/ServerConnection.h: Added. Ditto.
1195 (ServerConnection::ServerConnection):
1197 2007-10-19 Alice Liu <alice.liu@apple.com>
1201 Fix for these broken layout tests on Windows:
1203 fast/forms/focus-selection-input.html
1204 fast/forms/focus-selection-textarea.html
1205 fast/forms/select-accesskey.html
1207 * DumpRenderTree/win/EventSender.cpp:
1209 correct the VK code for alt key.
1211 2007-10-19 Eric Seidel <eric@webkit.org>
1213 Reviewed by Mark Rowe.
1215 Make the GtkLauncher code slightly more readable.
1217 * GtkLauncher/main.cpp:
1218 (setupMainMenu): Added.
1219 (setupMainWindowUI): Added.
1222 2007-10-19 Maciej Stachowiak <mjs@apple.com>
1224 Rubber stamped by Adam.
1226 - don't delay-load WebKit in DumpRenderTree.
1228 * DumpRenderTree/win/DumpRenderTree.vcproj:
1230 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
1232 Reviewed by Adam Roben.
1234 - fix <rdar://problem/5313523>
1235 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1237 * DumpRenderTree/mac/DumpRenderTree.mm:
1238 (dump): Changed to use _responseMIMEType.
1240 2007-10-17 Adam Roben <aroben@apple.com>
1242 Make it possible to have Windows-specific tests and results
1244 When searching for tests to run and the Skipped file, we will only
1245 look in platform/win and the cross-platform directory. When looking
1246 for expected results, we will look in platform/win, then
1247 platform/mac-leopard, then platform/mac, then finally the
1248 cross-platform directory.
1252 * Scripts/run-webkit-tests:
1253 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
1254 searching in the cross-platform directory.
1255 (sub buildPlatformHierarchy): Removed some unneeded calls to
1258 2007-10-17 Adam Roben <aroben@apple.com>
1260 Add back the call to register WebKit that we had before WebKitInitializer existed
1262 This is needed to ensure that the right WebKit is used when
1263 instantiating COM objects.
1267 * DumpRenderTree/win/debug_internal.vsprops: Define
1268 DEBUG_WEBKIT_HAS_SUFFIX.
1269 * DumpRenderTree/win/DumpRenderTree.cpp:
1272 2007-10-17 Adam Roben <aroben@apple.com>
1274 Import File::Basename in webkitdirs since we use it
1276 * Scripts/webkitdirs.pm:
1278 2007-10-17 Kevin McCullough <kmccullough@apple.com>
1280 - Updated the tiger leaks list to make the internal bots green.
1282 * Scripts/run-webkit-tests:
1284 2007-10-17 Adam Roben <aroben@apple.com>
1286 Build fix for VC++ Express
1288 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1291 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1295 - Minor mac improvements based on observations I made while implementing the
1298 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1299 then hand it to the Client who will retain it, it should just be the client who
1300 creates and owns the server.
1301 (-[DebuggerApplication attach:]):
1302 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1303 * Drosera/mac/DebuggerClient.mm: Creates the server.
1304 (-[DebuggerClient initWithServerName:]):
1305 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1306 can instead forward declare what it needs.
1308 2007-10-16 Darin Adler <darin@apple.com>
1310 Reviewed by Geoff Garen.
1312 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1313 want to turn failing tests into platform-specific test results. Also did a
1314 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1315 would take the type of results into account only some of the time.
1317 2007-10-16 Adam Roben <aroben@apple.com>
1319 Add a new nightly launcher script for Windows
1321 This new script is for versions of Safari that don't delay-load
1322 WebKit. I had to make FindSafari be able to print out the nightly
1323 launcher script on stdout because Windows shell scripts can't capture
1324 the output from a command into an environment variable.
1328 * FindSafari/FindSafari.cpp:
1329 (_tmain): Added /printSafariLauncher option.
1330 * Scripts/run-webkit-nightly.cmd: Added.
1332 2007-10-16 Adam Roben <aroben@apple.com>
1334 Replace WebKitInitializer with FindSafari
1336 We now rely on setting the PATH environment variable to tell Windows
1337 where to find WebKit and its dependencies (similar to
1338 DYLD_FRAMEWORK_PATH on Mac).
1340 This change also make DumpRenderTree no longer delay-load WebKit.
1344 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1346 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1347 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1348 WebKitInitializer, don't delay-load WebKit.
1349 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1350 * Scripts/run-webkit-tests: Ditto.
1351 * Scripts/webkitdirs.pm:
1352 (sub setPathForRunningWebKitApp): Added.
1353 * WebKitInitializer/WebKitInitializer.cpp: Removed.
1354 * WebKitInitializer/WebKitInitializer.h: Removed.
1355 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1356 * WebKitInitializer/debug.vsprops: Removed.
1357 * WebKitInitializer/debug_internal.vsprops: Removed.
1358 * WebKitInitializer/release.vsprops: Removed.
1360 2007-10-16 Adam Roben <aroben@apple.com>
1362 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1364 http://bugs.webkit.org/show_bug.cgi?id=15532
1366 FindSafari simply prints the location of an installed Safari.exe on
1371 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1374 (getInstalledWebKitDirectory):
1376 * FindSafari/FindSafari.vcproj: Added.
1377 * Scripts/webkitdirs.pm:
1378 (sub installedSafariPath): Added. Calls FindSafari on Windows.
1380 2007-10-16 Adam Roben <aroben@apple.com>
1382 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1384 Reviewed by Kevin McCullough.
1386 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1387 when referring to WebKit.dll.
1388 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1389 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1390 * DumpRenderTree/win/release.vsprops: Ditto.
1391 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1392 never have a _debug suffix on WebKit.dll.
1393 * WebKitInitializer/WebKitInitializer.cpp:
1394 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1396 * WebKitInitializer/debug_internal.vsprops: Added
1397 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1399 2007-10-16 Darin Adler <darin@apple.com>
1403 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1404 Remove now-unneeded control/alt key hack; the tests have been updated.
1406 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1408 - Updated leaks list because our internal bot upgraded it's version of leopard and
1409 one of the leaks was fixed between that revision and the bot's previous version of
1412 * Scripts/run-webkit-tests:
1414 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1418 - I encapsulated out the server connecton functionality because it is a specific part
1419 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1420 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1421 Windows. So the majority of this patch is moving preexisting functionality.
1423 - Also I removed the prefix header and changed to use config.h because it is more
1424 standard on how we use config.h in windows and it didn't make much sense to keep
1425 the prefix header and the config.h
1427 * Drosera/DebuggerDocument.cpp:
1428 (DebuggerDocument::DebuggerDocument):
1429 * Drosera/DebuggerDocument.h:
1431 * Drosera/mac/DebuggerApplication.mm:
1432 (-[DebuggerApplication attach:]):
1433 * Drosera/mac/DebuggerClient.h:
1434 * Drosera/mac/DebuggerClient.mm:
1435 (-[DebuggerClient initWithServerConnection:]):
1436 (-[DebuggerClient dealloc]):
1437 (-[DebuggerClient windowDidLoad]):
1438 (-[DebuggerClient windowWillClose:]):
1439 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1440 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1441 * Drosera/mac/DebuggerDocumentPlatform.mm:
1442 (DebuggerDocument::platformPause):
1443 (DebuggerDocument::platformResume):
1444 (DebuggerDocument::platformStepInto):
1445 (DebuggerDocument::platformEvaluateScript):
1446 (DebuggerDocument::getPlatformCurrentFunctionStack):
1447 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1448 (DebuggerDocument::platformValueForScopeVariableNamed):
1449 (DebuggerDocument::platformLog):
1450 * Drosera/mac/Drosera.pch: Removed.
1451 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1452 * Drosera/mac/ServerConnection.h: Added.
1453 * Drosera/mac/ServerConnection.mm: Added.
1454 (-[ServerConnection initWithServerName:]):
1455 (-[ServerConnection dealloc]):
1456 (-[ServerConnection setGlobalContext:]):
1457 (-[ServerConnection pause]):
1458 (-[ServerConnection resume]):
1459 (-[ServerConnection stepInto]):
1460 (-[ServerConnection switchToServerNamed:]):
1461 (-[ServerConnection applicationTerminating:]):
1462 (-[ServerConnection serverConnectionDidDie:]):
1463 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1464 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1465 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1466 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1467 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1468 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1469 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1470 (-[ServerConnection currentFrame]):
1471 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1472 (-[ServerConnection knownServers]):
1474 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1478 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1479 Script to automatically search nightly builds for regressions (bisect-builds)
1481 * Scripts/bisect-builds: Added.
1483 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1487 - New JavaScript benchmark
1488 http://bugs.webkit.org/show_bug.cgi?id=15515
1490 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1491 current development or release build of JavaScriptCore.
1493 2007-10-15 Mark Rowe <mrowe@apple.com>
1497 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1499 * Scripts/webkitdirs.pm:
1500 - Change checkArgv to remove the options from @ARGV to prevent
1501 them from interfering with further option processing.
1502 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1503 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1504 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1505 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1507 2007-10-15 Darin Adler <darin@apple.com>
1511 - added logging of window.prompt and window.confirm
1513 * DumpRenderTree/mac/UIDelegate.mm:
1514 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1515 Implement the recommended delegate rather than the deprecated one.
1516 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1518 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1521 * DumpRenderTree/win/UIDelegate.h:
1522 * DumpRenderTree/win/UIDelegate.cpp:
1523 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1524 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1525 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1526 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1528 2007-10-15 Alice Liu <alice.liu@apple.com>
1530 Reviewed by Sam Weinig.
1532 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1534 * DumpRenderTree/win/DumpRenderTree.cpp:
1535 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1536 (main): allocate the global policy delegate for DRT's custom use
1537 * DumpRenderTree/win/DumpRenderTree.vcproj:
1538 Adding files to project
1539 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1540 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1541 (LayoutTestController::setCustomPolicyDelegate):
1542 set the webview's policy delegate to DRT's custom one if the test requests it.
1543 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1544 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1545 (PolicyDelegate::PolicyDelegate):
1546 (PolicyDelegate::QueryInterface):
1547 (PolicyDelegate::AddRef):
1548 (PolicyDelegate::Release):
1549 (PolicyDelegate::decidePolicyForNavigationAction):
1550 * DumpRenderTree/win/PolicyDelegate.h: Added.
1551 (PolicyDelegate::decidePolicyForNewWindowAction):
1552 (PolicyDelegate::decidePolicyForMIMEType):
1553 (PolicyDelegate::unableToImplementPolicyWithError):
1555 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1559 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1560 when querying for QMAKE_MKSPECS.
1562 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1564 Reviewed by Adam Roben.
1566 Fix run-webkit-tests is too greedy calculating platform hierarchy
1567 http://bugs.webkit.org/show_bug.cgi?id=15465
1569 Fix run-webkit-tests being too greedy in trying to split the platform name up
1570 causing it to try and find tests in every directory above the first "-" in the
1571 path to the LayoutTests
1573 * Scripts/run-webkit-tests:
1575 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1579 http://bugs.webkit.org/show_bug.cgi?id=15006
1580 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1581 to reduce code duplication.
1583 * Scripts/build-webkit:
1584 * Scripts/webkitdirs.pm:
1585 buildQMakeProject() renamed to buildQMakeQtProject().
1586 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1587 unused $colorize has been removed.
1589 === Start merge of feature-branch 2007-10-12 ===
1591 2007-10-08 Eric Seidel <eric@webkit.org>
1593 Reviewed by Mark Rowe.
1595 * Scripts/build-webkit: add --help, remove unused --color
1597 2007-10-07 Eric Seidel <eric@webkit.org>
1601 * Drosera/mac/DebuggerDocumentPlatform.mm:
1602 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1604 2007-10-03 Rob Buis <buis@kde.org>
1608 Adapt to changed location of Ahem font.
1610 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1612 2007-10-02 Eric Seidel <eric@webkit.org>
1614 Reviewed by Adam Roben.
1616 Make pixel tests more useful!
1617 Finally fix the image diff 0.00% mystery problem
1618 Highlight any image differences in the image diff.
1619 Add a link from image diffs back to original test file.
1621 * DumpRenderTree/mac/ImageDiff.m:
1622 (compareImages): highlight any differences
1623 (computePercentageDifferent): round to two decimal places
1624 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1626 2007-10-02 Eric Seidel <eric@webkit.org>
1628 Reviewed by Alexey Proskuryakov.
1630 * Scripts/run-webkit-tests: print the % image difference on main results page
1632 2007-10-02 Mark Rowe <mrowe@apple.com>
1636 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1638 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1639 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1641 2007-10-01 Mark Rowe <mrowe@apple.com>
1643 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1645 2007-09-25 Eric Seidel <eric@webkit.org>
1647 Reviewed by Mark Rowe.
1649 DerivedSources.make was finding "ENABLE_SVG" in the string
1650 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1653 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1655 2007-09-25 Mark Rowe <mrowe@apple.com>
1657 Rubber-stamped by Eric.
1659 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1660 This makes it possible to automate nightly builds for the feature-branch.
1662 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1664 Rubber stamped by Mark.
1666 Enable svg experimental features as default here in feature-branch.
1668 * Scripts/build-webkit:
1670 2007-06-29 Antti Koivisto <antti@apple.com>
1674 Add VIDEO flag for timed media features
1676 * Scripts/build-webkit
1678 === End merge of feature-branch 2007-10-12 ===
1680 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1684 - Updated rational for the leaks list to be more clear.
1686 * Scripts/run-webkit-tests:
1688 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1690 Rubber Stamp by Sam.
1692 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1693 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1695 * Scripts/run-webkit-tests:
1697 2007-10-10 Simon Hausmann <hausmann@kde.org>
1701 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1702 includes are needed for INT_MAX, std::auto_ptr and the like.
1704 * DumpRenderTree/qt/main.cpp:
1706 2007-10-09 Lars Knoll <lars@trolltech.com>
1710 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1712 * DumpRenderTree/qt/jsobjects.cpp:
1713 (LayoutTestController::encodeHostName):
1714 (LayoutTestController::decodeHostName):
1715 * DumpRenderTree/qt/jsobjects.h:
1717 2007-10-09 Lars Knoll <lars@trolltech.com>
1721 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.
1723 * DumpRenderTree/qt/DumpRenderTree.cpp:
1724 (WebCore::WebPage::createFrame):
1725 (WebCore::DumpRenderTree::DumpRenderTree):
1726 (WebCore::DumpRenderTree::titleChanged):
1727 * DumpRenderTree/qt/DumpRenderTree.h:
1728 * DumpRenderTree/qt/jsobjects.cpp:
1729 (LayoutTestController::reset):
1730 * DumpRenderTree/qt/jsobjects.h:
1732 2007-10-09 Lars Knoll <lars@trolltech.com>
1736 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1738 * DumpRenderTree/qt/DumpRenderTree.h:
1739 * DumpRenderTree/qt/jsobjects.cpp:
1740 (LayoutTestController::clearBackForwardList):
1741 * DumpRenderTree/qt/jsobjects.h:
1743 2007-10-09 Lars Knoll <lars@trolltech.com>
1747 make --git-reviewer work again.
1749 * Scripts/prepare-ChangeLog:
1751 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1753 Rubber stamped by Eric.
1755 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1756 show the current link inside the statusbar.
1757 This shows how to make use of this signal and allows to easily test
1758 http://bugs.webkit.org/show_bug.cgi?id=15299.
1760 * GtkLauncher/main.cpp:
1764 2007-10-05 Lars Knoll <lars@trolltech.com>
1766 add proper error messages to the FrameLoaderClient.
1767 Implement ChromeClientQt::closeWindowSoon and
1768 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1769 Some fixes in DRT to make it work correctly with multiple windows.
1773 * DumpRenderTree/qt/DumpRenderTree.cpp:
1774 (WebCore::DumpRenderTree::DumpRenderTree):
1775 (WebCore::DumpRenderTree::createWindow):
1776 (WebCore::DumpRenderTree::windowCount):
1777 * DumpRenderTree/qt/DumpRenderTree.h:
1778 * DumpRenderTree/qt/jsobjects.cpp:
1779 (LayoutTestController::maybeDump):
1780 (LayoutTestController::windowCount):
1781 * DumpRenderTree/qt/jsobjects.h:
1783 2007-10-05 Lars Knoll <lars@trolltech.com>
1785 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1786 Add support for layoutTextController.setCanOpenWindows() to DRT
1787 fixing another 2 test cases in fast/dom/Window.
1791 * DumpRenderTree/qt/DumpRenderTree.cpp:
1792 (WebCore::WebPage::WebPage):
1793 (WebCore::WebPage::createWindow):
1794 (WebCore::DumpRenderTree::resetJSObjects):
1795 (WebCore::DumpRenderTree::createWindow):
1796 * DumpRenderTree/qt/DumpRenderTree.h:
1797 * DumpRenderTree/qt/DumpRenderTree.pro:
1798 * DumpRenderTree/qt/jsobjects.cpp:
1799 (LayoutTestController::LayoutTestController):
1800 (LayoutTestController::reset):
1801 * DumpRenderTree/qt/jsobjects.h:
1802 * DumpRenderTree/qt/main.cpp:
1803 * DumpRenderTree/qt/testplugin.cpp: Added.
1804 * DumpRenderTree/qt/testplugin.h: Added.
1806 2007-10-04 Sam Weinig <sam@webkit.org>
1808 Rubber stamped by Adam.
1810 Remove empty directories.
1812 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1813 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1815 2007-10-03 Darin Adler <darin@apple.com>
1819 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1820 we find the internal libraries in the libraries directory. This
1821 is helpful for Safari team engineers at Apple.
1823 2007-10-03 Adam Roben <aroben@apple.com>
1825 Update the location of AHEM___.TTF after r25968
1829 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1831 2007-10-03 Alp Toker <alp@atoker.com>
1835 http://bugs.webkit.org/show_bug.cgi?id=14726
1836 [gtk] API design. Mapping the WebView delegates to signals.
1838 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1840 * GtkLauncher/main.cpp:
1844 (menuMainBackCallback):
1845 (menuMainForwardCallback):
1848 2007-10-03 Lars Knoll <lars@trolltech.com>
1852 This fixes --strict mode in run-webkit-tests again after
1853 the platform dependent test results have been moved.
1855 * Scripts/run-webkit-tests:
1857 2007-10-03 Lars Knoll <lars@trolltech.com>
1861 remove the hack in run-webkit-tests that forced text only test
1862 to be taken from the platform independent dir. It was only left
1863 there from early days.
1865 Remove platform dependent results for tests that are text only nowadays,
1866 and add one platform dependent result for a text only test that requires it.
1868 * Scripts/run-webkit-tests:
1870 2007-10-03 Lars Knoll <lars@trolltech.com>
1874 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1876 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1877 (WebCore::WebFrame::WebFrame):
1878 (WebCore::WebPage::WebPage):
1879 (WebCore::WebPage::createFrame):
1880 (WebCore::WebPage::javaScriptAlert):
1881 (WebCore::WebPage::javaScriptConsoleMessage):
1882 (WebCore::DumpRenderTree::DumpRenderTree):
1883 (WebCore::DumpRenderTree::~DumpRenderTree):
1884 (WebCore::DumpRenderTree::open):
1885 (WebCore::DumpRenderTree::readStdin):
1886 (WebCore::DumpRenderTree::resetJSObjects):
1887 (WebCore::DumpRenderTree::initJSObjects):
1888 (WebCore::DumpRenderTree::dumpFramesAsText):
1889 (WebCore::DumpRenderTree::dump):
1890 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1891 (WebCore::DumpRenderTree::layoutTestController):
1892 (WebCore::DumpRenderTree::eventSender):
1893 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1894 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1895 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1896 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1897 (HackWebFrame::mousePressEvent):
1898 (HackWebFrame::mouseReleaseEvent):
1899 (HackWebFrame::mouseMoveEvent):
1900 (HackWebFrame::HackWebFrame):
1901 (HackWebFrame::~HackWebFrame):
1902 (LayoutTestController::LayoutTestController):
1903 (LayoutTestController::reset):
1904 (LayoutTestController::maybeDump):
1905 (LayoutTestController::waitUntilDone):
1906 (LayoutTestController::notifyDone):
1907 (LayoutTestController::dumpEditingCallbacks):
1908 (LayoutTestController::queueReload):
1909 (LayoutTestController::provisionalLoad):
1910 (LayoutTestController::timerEvent):
1911 (EventSender::EventSender):
1912 (EventSender::mouseDown):
1913 (EventSender::mouseUp):
1914 (EventSender::mouseMoveTo):
1915 (EventSender::leapForward):
1916 (EventSender::keyDown):
1917 (EventSender::frameUnderMouse):
1918 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1919 (LayoutTestController::isLoading):
1920 (LayoutTestController::setLoading):
1921 (LayoutTestController::shouldDumpAsText):
1922 (LayoutTestController::shouldDumpChildrenAsText):
1923 (LayoutTestController::shouldWaitUntilDone):
1924 (LayoutTestController::dumpAsText):
1925 (LayoutTestController::dumpChildFramesAsText):
1926 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1930 * Scripts/run-webkit-tests:
1932 2007-10-03 Mark Rowe <mrowe@apple.com>
1934 Reviewed by Alp Toker.
1936 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1937 should take precedence over QTDIR when determining which port we are working with.
1939 * Scripts/webkitdirs.pm:
1941 2007-10-02 Adam Roben <aroben@apple.com>
1943 Add keychain to the list of default packages to install
1945 Rubberstamped by Sam.
1947 * CygwinDownloader/cygwin-downloader.py:
1948 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1950 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1954 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1955 Also makes WebCore regression test case logic work when using git.
1957 * Scripts/prepare-ChangeLog:
1958 (reviewerAndDescriptionForGitCommit): Added.
1960 2007-10-02 Lars Knoll <lars@trolltech.com>
1964 Add API to retrieve the frame name from QWebFrame.
1965 Implement support for DRT::dumpChildrenAsText.
1967 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1968 (WebCore::DumpRenderTree::dumpFramesAsText):
1969 (WebCore::DumpRenderTree::dump):
1970 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1971 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1972 (LayoutTestController::LayoutTestController):
1973 (LayoutTestController::reset):
1974 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1976 2007-10-02 Lars Knoll <lars@trolltech.com>
1980 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1982 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1983 (WebCore::DumpRenderTree::readStdin):
1985 2007-10-02 Mark Rowe <mrowe@apple.com>
1989 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1991 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1992 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1994 2007-10-02 Mark Rowe <mrowe@apple.com>
1996 Rubber-stamped by Maciej.
1998 Configuration changes from build.webkit.org. The major change is refactoring to work
1999 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
2002 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2003 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
2004 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
2005 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
2006 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
2007 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
2008 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
2009 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2011 2007-10-02 Lars Knoll <lars@trolltech.com>
2015 Add support for eventSender.mouseMove to DRT.
2016 Fixes fast/css/hover-affects-child.html
2018 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2019 (EventSender::mouseMoveTo):
2021 2007-10-01 Mark Rowe <mrowe@apple.com>
2023 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
2025 2007-10-01 David Kilzer <ddkilzer@webkit.org>
2029 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
2031 * Scripts/svn-apply:
2032 (gitdiff2svndiff): Ignore lines beginning with "new file".
2033 * Scripts/svn-unapply:
2034 (gitdiff2svndiff): Ditto.
2036 2007-09-30 George Staikos <staikos@kde.org>
2038 Qt build fix (Mac OS X specific)
2040 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2042 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
2046 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
2047 Remove Bakefiles from svn.
2049 * GtkLauncher/Bakefiles.bkgen: Removed.
2050 * GtkLauncher/ENV: Removed.
2051 * GtkLauncher/gdklauncher.bkl: Removed.
2052 * GtkLauncher/mk: Removed.
2053 * Scripts/regenerate-makefiles: Removed.
2055 2007-09-25 Kevin McCullough <kmccullough@apple.com>
2059 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
2061 * Scripts/run-webkit-tests:
2063 2007-09-26 Adam Roben <aroben@apple.com>
2065 Make not finding an installed WebKit non-fatal
2067 What really matters is that we are able to load WebKit and its
2068 dependencies, not whether we think we've found an installed WebKit.
2072 * WebKitInitializer/WebKitInitializer.cpp:
2073 (getWebViewCLSID): Use new LOG_WARNING macro.
2074 (getInstalledWebKitDirectory): Ditto.
2075 (initializeWebKit): Don't die if we didn't find an installed WebKit,
2077 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
2079 2007-09-26 Adam Roben <aroben@apple.com>
2081 Committed this file before saving it
2083 * WebKitInitializer/debug_internal.vsprops:
2085 2007-09-26 Adam Roben <aroben@apple.com>
2087 Load WebKit and its dependencies manually so they come from DllDirectory
2089 I had to change WebKitInitializer to use malloc/free instead of
2090 new/delete to avoid pulling in WebKit (and its dependencies) early
2091 through use of fastMalloc.
2095 * WebKitInitializer/WebKitInitializer.cpp:
2096 (getStringValue): Changed to use malloc/free.
2097 (getInstalledWebKitDirectory): Ditto.
2098 (initializeWebKit): Call SetDllDirectory first, then load all of
2099 WebKit's dependencies manually, finally followed by WebKit itself.
2100 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
2101 configuration to match our other projects.
2102 * WebKitInitializer/debug_internal.vsprops: Added.
2104 2007-09-25 Adam Roben <aroben@apple.com>
2106 Actually define DEBUG/NDEBUG so that we load WebKit correctly
2108 Rubberstamped by Sam.
2110 * WebKitInitializer/WebKitInitializer.vcproj:
2112 2007-09-25 Adam Roben <aroben@apple.com>
2114 Make DumpRenderTree delay-load its dependencies
2116 This lets WebKitInitializer re-route the dependencies to be loaded out
2117 of the Safari installation directory.
2119 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
2120 same thing), since we can't import the kCFAllocatorDefault symbol when
2121 delay-loading CoreFoundation.dll.
2123 Rubberstamped by Sam.
2125 * DumpRenderTree/win/DumpRenderTree.cpp:
2127 (javaScriptThreads):
2128 * DumpRenderTree/win/DumpRenderTree.vcproj:
2129 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2130 (LayoutTestController::setWaitToDump):
2132 2007-09-25 Adam Roben <aroben@apple.com>
2134 Pull ole32.lib into WebKitInitializer
2136 Rubberstamped by Sam.
2138 * WebKitInitializer/WebKitInitializer.vcproj:
2140 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2144 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2145 LGPL'ed files contain incorrect FSF address
2149 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2153 Make svn-apply and svn-unapply work with git-diff formatted patches.
2155 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
2156 (gitdiff2svndiff): Added.
2157 * Scripts/svn-unapply: Ditto.
2158 (gitdiff2svndiff): Added.
2160 2007-09-25 Adam Roben <aroben@apple.com>
2162 Pull advapi32.lib into WebKitInitializer
2164 This is needed to get the registry functions we use.
2166 Rubberstamped by Sam.
2168 * WebKitInitializer/WebKitInitializer.vcproj:
2170 2007-09-25 Adam Roben <aroben@apple.com>
2172 Add python and rsync to cygwin-downloader
2174 Our build slaves need this, and it can't hurt for everyone else to
2179 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
2180 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2182 2007-09-25 Adam Roben <aroben@apple.com>
2184 Add WebKitInitializer and use it in DumpRenderTree
2186 WebKitInitializer is a static library that has one function,
2187 initializeWebKit(). This registers WebKit and sets up the DLL search
2188 path so that WebKit's dependencies that are installed with Safari can
2193 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
2194 DumpRenderTree depend on it.
2195 * DumpRenderTree/win/DumpRenderTree.cpp:
2196 (initialize): Call initializeWebKit.
2197 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
2198 WebKitInitializer.lib.
2199 * WebKitInitializer/WebKitInitializer.cpp: Added.
2202 (getInstalledWebKitDirectory):
2204 * WebKitInitializer/WebKitInitializer.h: Added.
2205 * WebKitInitializer/WebKitInitializer.vcproj: Added.
2206 * WebKitInitializer/debug.vsprops: Added.
2207 * WebKitInitializer/release.vsprops: Added.
2209 2007-09-25 Adam Roben <aroben@apple.com>
2211 Make run-webkit-tests respect set-webkit-configuration
2215 * Scripts/run-webkit-tests: Initialize $configuration to whatever
2216 set-webkit-configuration was last set to.
2218 2007-09-25 Mark Rowe <mrowe@apple.com>
2220 Rubber-stamped by Eric.
2222 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2223 This makes it possible to automate nightly builds for the feature-branch.
2225 2007-09-25 Adam Roben <aroben@apple.com>
2227 A couple of fixes/enhancements to update-webkit-*-libs
2229 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
2230 to tell update-webkit-support-libraries where it should find the
2231 WebKitSupportLibrary.zip file you downloaded.
2233 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
2238 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
2239 to $auxiliaryLibsURL and removed an irrelevant comment.
2240 * Scripts/update-webkit-support-libs:
2242 2007-09-25 Adam Treat <treat@kde.org>
2244 Reviewed by Simon and Lars.
2246 Refactors and cleans up Qt DRT member variable names, member variable
2247 initialization, style fixes and general code cleanup.
2249 Adds queueReload slot to LayoutTestController that some tests require.
2251 Subclasses QWebFrame to make sure that all frames have an associated
2252 LayoutTestController JS window object.
2254 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
2255 aren't dumped twice.
2259 Together, this patch fixes some 20+ layout tests in QtWebKit.
2261 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2262 (WebCore::WebFrame::WebFrame):
2263 (WebCore::WebPage::WebPage):
2264 (WebCore::WebPage::createFrame):
2265 (WebCore::DumpRenderTree::DumpRenderTree):
2266 (WebCore::DumpRenderTree::open):
2267 (WebCore::DumpRenderTree::readStdin):
2268 (WebCore::DumpRenderTree::initJSObjects):
2269 (WebCore::DumpRenderTree::dump):
2270 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2271 (WebCore::DumpRenderTree::layoutTestController):
2272 (WebCore::DumpRenderTree::eventSender):
2273 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2274 (LayoutTestController::LayoutTestController):
2275 (LayoutTestController::reset):
2276 (LayoutTestController::maybeDump):
2277 (LayoutTestController::waitUntilDone):
2278 (LayoutTestController::notifyDone):
2279 (LayoutTestController::queueReload):
2280 (LayoutTestController::provisionalLoad):
2281 (EventSender::EventSender):
2282 (EventSender::mouseDown):
2283 (EventSender::mouseUp):
2284 (EventSender::mouseMoveTo):
2285 (EventSender::frameUnderMouse):
2286 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2287 (LayoutTestController::isLoading):
2288 (LayoutTestController::setLoading):
2289 (LayoutTestController::dumpAsText):
2290 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2293 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2296 - Reverted an accidentally checked in file.
2298 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2300 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2303 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2305 * DumpRenderTree/win/DumpRenderTree.vcproj:
2306 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2308 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
2310 Rubber stamped by Adam.
2312 * GdkLauncher: Removed.
2313 * GdkLauncher/Bakefiles.bkgen: Removed.
2314 * GdkLauncher/ENV: Removed.
2315 * GdkLauncher/GdkLauncher.pro: Removed.
2316 * GdkLauncher/gdklauncher.bkl: Removed.
2317 * GdkLauncher/main.cpp: Removed.
2318 * GdkLauncher/mk: Removed.
2319 * GdkLauncher/simple.svg: Removed.
2320 * GdkLauncher/text.html: Removed.
2321 * GtkLauncher: Added.
2322 * GtkLauncher/GdkLauncher.pro: Removed.
2323 * GtkLauncher/GtkLauncher.pro: Added.
2324 * GtkLauncher/main.cpp:
2325 (updateWindowTitle):
2327 * Scripts/build-webkit:
2328 * Scripts/regenerate-makefiles:
2329 * Scripts/run-javascriptcore-tests:
2330 * Scripts/run-launcher:
2331 * Scripts/run-webkit-tests:
2332 * Scripts/webkitdirs.pm:
2334 2007-09-21 Timothy Hatcher <timothy@apple.com>
2338 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2340 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2341 This is tested by plugins/root-object-premature-delete-crash.html.
2343 * DumpRenderTree/mac/ObjCController.m:
2344 (-[ObjCController accessStoredWebScriptObject]):
2346 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2350 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2352 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2353 (FrameLoadDelegate::FrameLoadDelegate):
2355 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
2359 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2360 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2362 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2363 Now isQt() and isGdk() use global variables that are only set once.
2365 An array of all the parameters is now given to build-dumprender which includes
2366 the platform on linux.
2368 * Scripts/build-dumprendertree:
2369 * Scripts/run-webkit-tests:
2370 * Scripts/webkitdirs.pm:
2372 2007-09-19 Adam Roben <aroben@apple.com>
2374 Rubberstamped by Hyatt.
2376 * Spinneret: Removed.
2378 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
2380 Reviewed by David Kilzer.
2382 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2384 2007-09-18 Sam Weinig <sam@webkit.org>
2386 Add JSRetainPtr.h #include to fix some builds.
2388 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2390 2007-09-18 Mike Hommey <glandium@debian.org>
2394 * Scripts/prepare-ChangeLog:
2395 - Properly parse GECOS field.
2396 - Use git configuration for user name and email when appropriate.
2398 2007-09-17 Sam Weinig <sam@webkit.org>
2402 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2404 2007-09-17 Sam Weinig <sam@webkit.org>
2406 Reviewed by Adam Roben.
2408 Share more code between mac and windows DRT.
2409 - GCController is now shared.
2410 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2412 * DumpRenderTree/GCController.cpp:
2413 * DumpRenderTree/win/DumpRenderTree.cpp:
2414 * DumpRenderTree/win/DumpRenderTree.vcproj:
2415 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2416 (FrameLoadDelegate::FrameLoadDelegate):
2417 (FrameLoadDelegate::~FrameLoadDelegate):
2418 (FrameLoadDelegate::windowScriptObjectAvailable):
2419 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2420 * DumpRenderTree/win/GCController.cpp: Removed.
2421 * DumpRenderTree/win/GCController.h: Removed.
2422 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2423 (GCController::collect):
2424 (GCController::collectOnAlternateThread):
2425 (GCController::getJSObjectCount):
2426 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2427 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2429 2007-09-17 Sam Weinig <sam@webkit.org>
2431 Reviewed by Adam Roben.
2433 Begin sharing code between mac and windows DRT.
2434 - both now share LayoutTestController.h/cpp and implement platform dependant
2435 operations in LayoutTestControllerMac/Win.
2436 - DumpRenderTree.h is now shared.
2437 - WorkQueue and WorkQueueItem are also shared.
2439 * DumpRenderTree/DumpRenderTree.h:
2440 * DumpRenderTree/LayoutTestController.cpp:
2441 * DumpRenderTree/win/DumpRenderTree.cpp:
2443 (dumpFrameScrollPosition):
2447 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2448 * DumpRenderTree/win/DumpRenderTree.vcproj:
2449 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2450 * DumpRenderTree/win/EditingDelegate.cpp:
2451 (EditingDelegate::shouldBeginEditingInDOMRange):
2452 (EditingDelegate::shouldEndEditingInDOMRange):
2453 (EditingDelegate::shouldInsertNode):
2454 (EditingDelegate::shouldInsertText):
2455 (EditingDelegate::shouldDeleteDOMRange):
2456 (EditingDelegate::shouldChangeSelectedDOMRange):
2457 (EditingDelegate::shouldApplyStyle):
2458 (EditingDelegate::shouldChangeTypingStyle):
2459 (EditingDelegate::doPlatformCommand):
2460 (EditingDelegate::webViewDidBeginEditing):
2461 (EditingDelegate::webViewDidChange):
2462 (EditingDelegate::webViewDidEndEditing):
2463 (EditingDelegate::webViewDidChangeTypingStyle):
2464 (EditingDelegate::webViewDidChangeSelection):
2465 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2466 * DumpRenderTree/win/LayoutTestController.h: Removed.
2467 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2468 (LayoutTestController::addDisallowedURL):
2469 (LayoutTestController::clearBackForwardList):
2470 (LayoutTestController::copyDecodedHostName):
2471 (LayoutTestController::copyEncodedHostName):
2472 (LayoutTestController::display):
2473 (LayoutTestController::keepWebHistory):
2474 (LayoutTestController::notifyDone):
2475 (LayoutTestController::queueBackNavigation):
2476 (LayoutTestController::queueForwardNavigation):
2477 (jsStringRefToWString):
2478 (LayoutTestController::queueLoad):
2479 (LayoutTestController::queueReload):
2480 (LayoutTestController::queueScript):
2481 (LayoutTestController::setAcceptsEditing):
2482 (LayoutTestController::setCustomPolicyDelegate):
2483 (LayoutTestController::setMainFrameIsFirstResponder):
2484 (LayoutTestController::setTabKeyCyclesThroughElements):
2485 (LayoutTestController::setUseDashboardCompatibilityMode):
2486 (LayoutTestController::setUserStyleSheetEnabled):
2487 (LayoutTestController::setUserStyleSheetLocation):
2488 (LayoutTestController::setWindowIsKey):
2489 (waitUntilDoneWatchdogFired):
2490 (LayoutTestController::setWaitToDump):
2491 (LayoutTestController::windowCount):
2492 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2493 (FrameLoadDelegate::didReceiveTitle):
2494 (FrameLoadDelegate::processWork):
2495 (FrameLoadDelegate::locationChangeDone):
2496 (FrameLoadDelegate::windowScriptObjectAvailable):
2497 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2498 * DumpRenderTree/win/WorkQueue.h: Removed.
2499 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2500 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2501 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2502 (jsStringRefToWString):
2504 (ScriptItem::invoke):
2506 2007-09-17 Sam Weinig <sam@webkit.org>
2508 Reviewed by Adam Roben.
2510 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2512 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2513 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2514 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2515 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2516 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2517 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2518 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2519 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2520 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2521 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2522 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2523 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2524 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2525 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2526 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2527 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2528 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2529 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2530 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2531 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2532 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2533 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2534 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2535 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2536 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2537 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2538 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2539 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2540 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2541 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2542 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2543 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2544 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2545 * DumpRenderTree/win: Added.
2546 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2547 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2548 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2549 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2550 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2551 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2552 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2553 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2554 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2555 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2556 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2557 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2558 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2559 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2560 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2561 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2562 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2563 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2564 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2565 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2566 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2567 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2568 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2569 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2570 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2571 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2573 2007-09-15 Mark Rowe <mrowe@apple.com>
2575 Build fix for DumpRenderTree.
2577 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2579 2007-09-14 Sam Weinig <sam@webkit.org>
2581 Rubber stamped by Adam Roben.
2583 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2584 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2585 kept in the WaitUntilDoneDelegate file for the time being.
2587 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2589 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2590 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2591 (UIDelegate::QueryInterface):
2592 (UIDelegate::AddRef):
2593 (UIDelegate::Release):
2594 (UIDelegate::hasCustomMenuImplementation):
2595 (UIDelegate::setFrame):
2596 (UIDelegate::webViewFrame):
2597 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2598 (UIDelegate::webViewAddMessageToConsole):
2599 (UIDelegate::doDragDrop):
2600 (UIDelegate::webViewGetDlgCode):
2601 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2602 (UIDelegate::UIDelegate):
2603 (UIDelegate::createWebViewWithRequest):
2604 (UIDelegate::webViewShow):
2605 (UIDelegate::webViewClose):
2606 (UIDelegate::webViewFocus):
2607 (UIDelegate::webViewUnfocus):
2608 (UIDelegate::webViewFirstResponder):
2609 (UIDelegate::makeFirstResponder):
2610 (UIDelegate::setStatusText):
2611 (UIDelegate::webViewStatusText):
2612 (UIDelegate::webViewAreToolbarsVisible):
2613 (UIDelegate::setToolbarsVisible):
2614 (UIDelegate::webViewIsStatusBarVisible):
2615 (UIDelegate::setStatusBarVisible):
2616 (UIDelegate::webViewIsResizable):
2617 (UIDelegate::setResizable):
2618 (UIDelegate::setContentRect):
2619 (UIDelegate::webViewContentRect):
2620 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2621 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2622 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2623 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2624 (UIDelegate::mouseDidMoveOverElement):
2625 (UIDelegate::contextMenuItemsForElement):
2626 (UIDelegate::validateUserInterfaceItem):
2627 (UIDelegate::shouldPerformAction):
2628 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2629 (UIDelegate::willPerformDragDestinationAction):
2630 (UIDelegate::dragSourceActionMaskForPoint):
2631 (UIDelegate::willPerformDragSourceAction):
2632 (UIDelegate::contextMenuItemSelected):
2633 (UIDelegate::trackCustomPopupMenu):
2634 (UIDelegate::measureCustomMenuItem):
2635 (UIDelegate::drawCustomMenuItem):
2636 (UIDelegate::addCustomMenuDrawingData):
2637 (UIDelegate::cleanUpCustomMenuDrawingData):
2638 (UIDelegate::canTakeFocus):
2639 (UIDelegate::takeFocus):
2640 (UIDelegate::registerUndoWithTarget):
2641 (UIDelegate::removeAllActionsWithTarget):
2642 (UIDelegate::setActionTitle):
2645 (UIDelegate::canUndo):
2646 (UIDelegate::canRedo):
2647 (UIDelegate::webViewResizerRect):
2648 (UIDelegate::webViewDrawResizer):
2649 (UIDelegate::webViewScrolled):
2650 (UIDelegate::webViewShouldInterruptJavaScript):
2651 (UIDelegate::webViewReceivedFocus):
2652 (UIDelegate::webViewLostFocus):
2653 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2654 (FrameLoadDelegate::QueryInterface):
2655 (FrameLoadDelegate::AddRef):
2656 (FrameLoadDelegate::Release):
2657 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2658 (FrameLoadDelegate::didCommitLoadForFrame):
2659 (FrameLoadDelegate::didReceiveTitle):
2660 (FrameLoadDelegate::processWork):
2662 (FrameLoadDelegate::locationChangeDone):
2663 (FrameLoadDelegate::didFinishLoadForFrame):
2664 (FrameLoadDelegate::didFailLoadWithError):
2665 (FrameLoadDelegate::windowScriptObjectAvailable):
2666 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2667 (FrameLoadDelegate::FrameLoadDelegate):
2669 2007-09-14 Sam Weinig <sam@webkit.org>
2671 Reviewed by Kevin McCullough.
2673 Move mac specific globals in to mac/DumpRenderTreeMac.h
2675 * DumpRenderTree/DumpRenderTree.h:
2676 * DumpRenderTree/DumpRenderTree.mm: Removed.
2677 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2678 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2679 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2681 2007-09-14 Brady Eidson <beidson@apple.com>
2683 Rubberstamped by Weinig
2685 You know, Sam, some of us use case-sensitve filesystems...
2687 * DumpRenderTree/DumpRenderTree.h:
2688 * DumpRenderTree/mac/UIDelegate.mm:
2690 2007-09-14 Sam Weinig <sam@webkit.org>
2692 Rubber stamped by Adam Roben.
2694 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2695 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2697 * DumpRenderTree/AppleScriptController.h: Removed.
2698 * DumpRenderTree/AppleScriptController.m: Removed.
2699 * DumpRenderTree/DumpRenderTree.h:
2700 * DumpRenderTree/DumpRenderTree.mm:
2701 (startJavaScriptThreads):
2702 (stopJavaScriptThreads):
2704 (setDefaultColorProfileToRGB):
2705 (makeLargeMallocFailSilently):
2706 (dumpFrameScrollPosition):
2710 (-[DumpRenderTreeWindow isKeyWindow]):
2711 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2712 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2713 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2714 * DumpRenderTree/EditingDelegate.h: Removed.
2715 * DumpRenderTree/EditingDelegate.m: Removed.
2716 * DumpRenderTree/EventSendingController.h: Removed.
2717 * DumpRenderTree/EventSendingController.m: Removed.
2718 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2719 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2720 * DumpRenderTree/GCController.mm: Removed.
2721 * DumpRenderTree/ImageDiff.m: Removed.
2722 * DumpRenderTree/LayoutTestController.cpp:
2723 (LayoutTestController::LayoutTestController):
2724 (dumpAsTextCallback):
2725 (dumpBackForwardListCallback):
2726 (dumpChildFramesAsTextCallback):
2727 (dumpChildFrameScrollPositionsCallback):
2728 (dumpDOMAsWebArchiveCallback):
2729 (dumpEditingCallbacksCallback):
2730 (dumpFrameLoadCallbacksCallback):
2731 (dumpResourceLoadCallbacksCallback):
2732 (dumpSelectionRectCallback):
2733 (dumpSourceAsWebArchiveCallback):
2734 (dumpTitleChangesCallback):
2735 (repaintSweepHorizontallyCallback):
2736 (setCallCloseOnWebViewsCallback):
2737 (setCanOpenWindowsCallback):
2738 (setCloseRemainingWindowsWhenCompleteCallback):
2739 (testRepaintCallback):
2740 (addFileToPasteboardOnDragCallback):
2741 (waitUntilDoneCallback):
2742 * DumpRenderTree/LayoutTestController.h:
2743 (LayoutTestController::dumpAsText):
2744 (LayoutTestController::setDumpAsText):
2745 (LayoutTestController::dumpBackForwardList):
2746 (LayoutTestController::setDumpBackForwardList):
2747 (LayoutTestController::dumpChildFrameScrollPositions):
2748 (LayoutTestController::setDumpChildFrameScrollPositions):
2749 (LayoutTestController::dumpChildFramesAsText):
2750 (LayoutTestController::setDumpChildFramesAsText):
2751 (LayoutTestController::dumpDOMAsWebArchive):
2752 (LayoutTestController::setDumpDOMAsWebArchive):
2753 (LayoutTestController::dumpSelectionRect):
2754 (LayoutTestController::setDumpSelectionRect):
2755 (LayoutTestController::dumpSourceAsWebArchive):
2756 (LayoutTestController::setDumpSourceAsWebArchive):
2757 (LayoutTestController::dumpTitleChanges):
2758 (LayoutTestController::setDumpTitleChanges):
2759 (LayoutTestController::dumpEditingCallbacks):
2760 (LayoutTestController::setDumpEditingCallbacks):
2761 (LayoutTestController::dumpResourceLoadCallbacks):
2762 (LayoutTestController::setDumpResourceLoadCallbacks):
2763 (LayoutTestController::dumpFrameLoadCallbacks):
2764 (LayoutTestController::setDumpFrameLoadCallbacks):
2765 (LayoutTestController::addFileToPasteboardOnDrag):
2766 (LayoutTestController::setAddFileToPasteboardOnDrag):
2767 (LayoutTestController::callCloseOnWebViews):
2768 (LayoutTestController::setCallCloseOnWebViews):
2769 (LayoutTestController::canOpenWindows):
2770 (LayoutTestController::setCanOpenWindows):
2771 (LayoutTestController::closeRemainingWindowsWhenComplete):
2772 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2773 (LayoutTestController::testRepaint):
2774 (LayoutTestController::setTestRepaint):
2775 (LayoutTestController::testRepaintSweepHorizontally):
2776 (LayoutTestController::setTestRepaintSweepHorizontally):
2777 (LayoutTestController::waitToDump):
2778 (LayoutTestController::windowIsKey):
2779 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2780 * DumpRenderTree/NavigationController.h: Removed.
2781 * DumpRenderTree/NavigationController.m: Removed.
2782 * DumpRenderTree/ObjCController.h: Removed.
2783 * DumpRenderTree/ObjCController.m: Removed.
2784 * DumpRenderTree/ObjCPlugin.h: Removed.
2785 * DumpRenderTree/ObjCPlugin.m: Removed.
2786 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2787 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2788 * DumpRenderTree/PolicyDelegate.h: Removed.
2789 * DumpRenderTree/PolicyDelegate.m: Removed.
2790 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2791 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2792 * DumpRenderTree/TextInputController.h: Removed.
2793 * DumpRenderTree/TextInputController.m: Removed.
2794 * DumpRenderTree/UIDelegate.h: Removed.
2795 * DumpRenderTree/UIDelegate.mm: Removed.
2796 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2797 * DumpRenderTree/mac: Added.
2798 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2799 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2800 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2801 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2802 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2803 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2804 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2805 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2806 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2807 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2808 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2809 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2810 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2811 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2812 (-[EditingDelegate webViewDidBeginEditing:]):
2813 (-[EditingDelegate webViewDidChange:]):
2814 (-[EditingDelegate webViewDidEndEditing:]):
2815 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2816 (-[EditingDelegate webViewDidChangeSelection:]):
2817 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2818 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2819 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2820 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2821 (-[FrameLoadDelegate init]):
2822 (-[FrameLoadDelegate dealloc]):
2823 (-[FrameLoadDelegate processWork:]):
2824 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2825 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2826 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2827 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2828 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2829 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2830 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2831 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2832 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2833 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2834 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2835 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2836 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2837 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2838 (-[FrameLoadDelegate webView:willCloseFrame:]):
2839 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2840 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2841 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2842 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2843 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2844 (LayoutTestController::notifyDone):
2845 (LayoutTestController::setWindowIsKey):
2846 (LayoutTestController::setWaitToDump):
2847 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2848 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2849 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2850 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2851 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2852 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2853 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2854 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2855 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2856 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2857 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2858 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2859 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2860 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2861 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2862 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2863 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2864 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2865 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2866 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2867 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2868 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2869 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2870 (-[UIDelegate webViewFocus:]):
2871 (-[UIDelegate webView:createWebViewWithRequest:]):
2872 (-[UIDelegate webViewClose:]):
2873 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2875 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2879 - Changing Win version of Drosera work with recent changes.
2881 * Drosera/DebuggerDocument.cpp:
2882 * Drosera/DebuggerDocument.h:
2883 * Drosera/mac/DebuggerDocumentPlatform.mm:
2884 (NSStringCreateWithJSStringRef):
2885 (JSValueRefCreateWithNSString):
2886 * Drosera/win/DebuggerClient.cpp:
2887 (DebuggerClient::stepInto):
2888 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2890 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2894 - Moved isPaused into the JS for efficiency and simplicity.
2896 * Drosera/DebuggerDocument.cpp:
2897 (DebuggerDocument::DebuggerDocument):
2898 (DebuggerDocument::pauseCallback):
2899 (DebuggerDocument::resumeCallback):
2900 (DebuggerDocument::isPaused):
2901 (DebuggerDocument::staticFunctions):
2902 * Drosera/DebuggerDocument.h:
2903 * Drosera/console.js:
2904 * Drosera/debugger.js:
2905 * Drosera/mac/DebuggerClient.mm:
2906 (-[DebuggerClient validateUserInterfaceItem:]):
2908 2007-09-13 Sam Weinig <sam@webkit.org>
2910 Rubber stamped by Darin.
2912 Make DumpRenderTree more cross platform ready.
2913 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2914 - Use CF types instead of NS objects.
2917 * DumpRenderTree/DumpRenderTree.h:
2918 * DumpRenderTree/DumpRenderTree.mm:
2922 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2923 * DumpRenderTree/EditingDelegate.m:
2924 * DumpRenderTree/FrameLoadDelegate.h:
2925 * DumpRenderTree/FrameLoadDelegate.mm:
2926 (-[FrameLoadDelegate init]):
2927 (-[FrameLoadDelegate dealloc]):
2928 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2929 * DumpRenderTree/GCController.cpp: Added.
2930 (GCController::GCController):
2931 (GCController::~GCController):
2933 (collectOnAlternateThreadCallback):
2934 (getJSObjectCountCallback):
2935 (GCController::makeWindowObject):
2936 (GCController::getJSClass):
2937 (GCController::staticFunctions):
2938 * DumpRenderTree/GCController.h:
2939 * DumpRenderTree/GCController.mm:
2940 (GCController::collect):
2941 (GCController::collectOnAlternateThread):
2942 (GCController::getJSObjectCount):
2943 * DumpRenderTree/LayoutTestController.cpp:
2944 (LayoutTestController::makeWindowObject):
2945 (LayoutTestController::getJSClass):
2946 * DumpRenderTree/LayoutTestController.h:
2947 * DumpRenderTree/LayoutTestControllerMac.mm:
2948 (LayoutTestController::addDisallowedURL):
2949 (waitUntilDoneWatchdogFired):
2950 (LayoutTestController::waitUntilDone):
2951 * DumpRenderTree/ResourceLoadDelegate.m:
2952 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2954 2007-09-12 Sam Weinig <sam@webkit.org>
2956 Reviewed by Stephanie.
2958 Fix leaks in mac DumpRenderTree.
2960 * DumpRenderTree/FrameLoadDelegate.mm:
2961 (-[FrameLoadDelegate init]): Initalize in the correct order.
2962 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2963 * DumpRenderTree/LayoutTestController.cpp:
2964 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2965 (encodeHostNameCallback): ditto.
2966 * DumpRenderTree/LayoutTestController.h:
2967 * DumpRenderTree/LayoutTestControllerMac.mm:
2968 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2969 (LayoutTestController::copyEncodedHostName): ditto
2970 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2972 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2976 - 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.
2978 * Scripts/run-webkit-tests:
2980 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2984 - Simplified code paths and extracted out functions to increase encapsulation.
2986 * Drosera/DebuggerDocument.cpp:
2987 (DebuggerDocument::breakpointEditorHTMLCallback):
2988 (DebuggerDocument::isPausedCallback):
2989 (DebuggerDocument::pauseCallback):
2990 (DebuggerDocument::resumeCallback):
2991 (DebuggerDocument::stepIntoCallback):
2992 (DebuggerDocument::evaluateScriptCallback):
2993 (DebuggerDocument::currentFunctionStackCallback):
2994 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2995 (DebuggerDocument::valueForScopeVariableNamedCallback):
2996 (DebuggerDocument::logCallback):
2997 * Drosera/DebuggerDocument.h:
2998 (DebuggerDocument::getPaused):
2999 * Drosera/mac/DebuggerClient.mm:
3000 (-[DebuggerClient pause:]):
3001 (-[DebuggerClient resume:]):
3002 (-[DebuggerClient stepInto:]):
3003 (-[DebuggerClient stepOver:]):
3004 (-[DebuggerClient stepOut:]):
3005 (-[DebuggerClient showConsole:]):
3006 (-[DebuggerClient closeCurrentFile:]):
3007 (-[DebuggerClient validateUserInterfaceItem:]):
3008 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
3009 (+[NSString stringOrNilFromWebScriptResult:]):
3010 (DebuggerDocument::platformPause):
3011 (DebuggerDocument::platformResume):
3012 (DebuggerDocument::platformStepInto):
3013 (DebuggerDocument::platformEvaluateScript):
3014 (DebuggerDocument::getPlatformCurrentFunctionStack):
3015 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3016 (DebuggerDocument::platformValueForScopeVariableNamed):
3017 (DebuggerDocument::platformLog):
3018 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3020 2007-09-12 Sam Weinig <sam@webkit.org>
3022 Build fix for Buildbot.
3024 * DumpRenderTree/DumpRenderTree.mm:
3027 2007-09-12 Kevin McCullough <kmccullough@apple.com>
3031 - Updated the leaks list for leopard to help identify regressions.
3033 * Scripts/run-webkit-tests:
3035 2007-09-12 Sam Weinig <sam@webkit.org>
3037 Rubber stamped by Darin.
3039 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
3041 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
3042 * DumpRenderTree/DumpRenderTree.m: Removed.
3043 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
3044 (stopJavaScriptThreads): Fix initialization.
3045 (setDefaultColorProfileToRGB): Add explicit cast from void*.
3046 (dumpRenderTree): Ditto.
3048 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
3050 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3051 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
3052 * DumpRenderTree/FrameLoadDelegate.m: Removed.
3053 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
3054 (-[FrameLoadDelegate init]):
3055 (-[FrameLoadDelegate dealloc]):
3056 (-[FrameLoadDelegate processWork:]):
3057 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3058 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3059 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
3061 * DumpRenderTree/LayoutTestController.cpp: Added.
3062 (LayoutTestController::LayoutTestController):
3063 (LayoutTestController::~LayoutTestController):
3064 (dumpAsTextCallback):
3065 (dumpBackForwardListCallback):
3066 (dumpChildFramesAsTextCallback):
3067 (dumpChildFrameScrollPositionsCallback):
3068 (dumpDOMAsWebArchiveCallback):
3069 (dumpEditingCallbacksCallback):
3070 (dumpFrameLoadCallbacksCallback):
3071 (dumpResourceLoadCallbacksCallback):
3072 (dumpSelectionRectCallback):
3073 (dumpSourceAsWebArchiveCallback):
3074 (dumpTitleChangesCallback):
3075 (repaintSweepHorizontallyCallback):
3076 (setCallCloseOnWebViewsCallback):
3077 (setCanOpenWindowsCallback):
3078 (setCloseRemainingWindowsWhenCompleteCallback):
3079 (testRepaintCallback):
3080 (addFileToPasteboardOnDragCallback):
3081 (addDisallowedURLCallback):
3082 (clearBackForwardListCallback):
3083 (decodeHostNameCallback):
3085 (encodeHostNameCallback):
3086 (keepWebHistoryCallback):
3087 (notifyDoneCallback):
3088 (queueBackNavigationCallback):
3089 (queueForwardNavigationCallback):
3090 (queueLoadCallback):
3091 (queueReloadCallback):
3092 (queueScriptCallback):
3093 (setAcceptsEditingCallback):
3094 (setCustomPolicyDelegateCallback):
3095 (setMainFrameIsFirstResponderCallback):
3096 (setTabKeyCyclesThroughElementsCallback):
3097 (setUseDashboardCompatibilityModeCallback):
3098 (setUserStyleSheetEnabledCallback):
3099 (setUserStyleSheetLocationCallback):
3100 (setWindowIsKeyCallback):
3101 (waitUntilDoneCallback):
3102 (windowCountCallback):
3103 (LayoutTestController::makeWindowObject):
3104 (LayoutTestController::getLayoutTestControllerJSClass):
3105 (LayoutTestController::staticFunctions):
3106 * DumpRenderTree/LayoutTestController.h: Replaced.
3107 * DumpRenderTree/LayoutTestController.m: Removed.
3108 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
3109 (LayoutTestController::dumpAsText):
3110 (LayoutTestController::dumpBackForwardList):
3111 (LayoutTestController::dumpChildFramesAsText):
3112 (LayoutTestController::dumpChildFrameScrollPositions):
3113 (LayoutTestController::dumpDOMAsWebArchive):
3114 (LayoutTestController::dumpEditingCallbacks):
3115 (LayoutTestController::dumpFrameLoadCallbacks):
3116 (LayoutTestController::dumpResourceLoadCallbacks):
3117 (LayoutTestController::dumpSelectionRect):
3118 (LayoutTestController::dumpSourceAsWebArchive):
3119 (LayoutTestController::dumpTitleChanges):
3120 (LayoutTestController::repaintSweepHorizontally):
3121 (LayoutTestController::setCallCloseOnWebViews):
3122 (LayoutTestController::setCanOpenWindows):
3123 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3124 (LayoutTestController::testRepaint):
3125 (LayoutTestController::addFileToPasteboardOnDrag):
3126 (LayoutTestController::addDisallowedURL):
3127 (LayoutTestController::clearBackForwardList):
3128 (LayoutTestController::decodeHostName):
3129 (LayoutTestController::encodeHostName):
3130 (LayoutTestController::display):
3131 (LayoutTestController::keepWebHistory):
3132 (LayoutTestController::notifyDone):
3133 (LayoutTestController::queueBackNavigation):
3134 (LayoutTestController::queueForwardNavigation):
3135 (LayoutTestController::queueLoad):
3136 (LayoutTestController::queueReload):
3137 (LayoutTestController::queueScript):
3138 (LayoutTestController::setAcceptsEditing):
3139 (LayoutTestController::setCustomPolicyDelegate):
3140 (LayoutTestController::setMainFrameIsFirstResponder):
3141 (LayoutTestController::setTabKeyCyclesThroughElements):
3142 (LayoutTestController::setUseDashboardCompatibilityMode):
3143 (LayoutTestController::setUserStyleSheetEnabled):
3144 (LayoutTestController::setUserStyleSheetLocation):
3145 (LayoutTestController::setWindowIsKey):
3146 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
3147 (LayoutTestController::waitUntilDone):
3148 (LayoutTestController::windowCount):
3149 Use the JSCore API to implement the LayoutTestController.
3151 * DumpRenderTree/ObjCController.h:
3152 * DumpRenderTree/ObjCController.m:
3153 (+[ObjCController isSelectorExcludedFromWebScript:]):
3154 (+[ObjCController webScriptNameForSelector:]):
3155 (-[ObjCController accessStoredWebScriptObject]):
3156 (-[ObjCController storeWebScriptObject:]):
3157 (-[ObjCController dealloc]):
3158 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
3159 Move WebScriptObject tests to ObjCController.
3161 * DumpRenderTree/UIDelegate.m: Removed.
3162 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
3164 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
3165 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
3166 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
3167 (WorkQueueItem::~WorkQueueItem):
3168 (LoadItem::LoadItem):
3171 (ScriptItem::ScriptItem):
3172 (ScriptItem::script):
3173 * DumpRenderTree/WorkQueueItemMac.mm: Added.
3175 (ReloadItem::invoke):
3176 (ScriptItem::invoke):
3177 (BackForwardItem::invoke):
3178 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
3179 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
3182 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3186 - Updated Win side to take advantage of the platform separating changes.
3188 * Drosera/DebuggerDocument.cpp:
3189 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3190 * Drosera/DebuggerDocument.h:
3191 * Drosera/win/DebuggerClient.cpp:
3192 (DebuggerClient::pause):
3193 (DebuggerClient::resume):
3194 (DebuggerClient::stepInto):
3195 (DebuggerDocument::platformPause):
3196 (DebuggerDocument::platformResume):
3197 (DebuggerDocument::platformStepInto):
3198 (DebuggerDocument::platformEvaluateScript):
3199 (DebuggerDocument::getPlatformCurrentFunctionStack):
3200 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3201 (DebuggerDocument::platformValueForScopeVariableNamed):
3202 (DebuggerDocument::platformLog):
3203 * Drosera/win/DebuggerClient.h:
3204 * Drosera/win/Drosera.cpp:
3206 (Drosera::windowScriptObjectAvailable):
3207 (Drosera::initWithServerName):
3208 (Drosera::switchToServerNamed):
3209 * Drosera/win/Drosera.h:
3210 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3212 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3216 - Just doing the moves in a separate patch so the changes are easier to see.
3218 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
3219 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
3220 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
3221 * Drosera/win/DebuggerDocumentWin.h: Removed.
3222 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3224 2007-09-11 Sven Herzberg <sven@imendio.com>
3226 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
3227 http://bugs.webkit.org/show_bug.cgi?id=15176
3229 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
3230 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
3231 other paths eg. from jhbuild)
3233 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3237 - Made an order-of-deletion mistake.
3239 * Drosera/DebuggerDocument.h:
3240 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3241 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3242 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3243 * Drosera/mac/DebuggerClient.mm:
3244 (DebuggerDocument::platformPause):
3245 (DebuggerDocument::platformResume):
3246 (DebuggerDocument::platformStepInto):
3247 (DebuggerDocument::platformEvaluateScript):
3248 (DebuggerDocument::getPlatformCurrentFunctionStack):
3249 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3250 (DebuggerDocument::platformValueForScopeVariableNamed):
3251 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3253 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3257 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
3259 * Drosera/DebuggerDocument.cpp:
3260 (DebuggerDocument::DebuggerDocument):
3261 * Drosera/DebuggerDocument.h:
3262 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3263 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3264 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3265 * Drosera/mac/DebuggerApplication.mm:
3266 (-[DebuggerApplication attach:]):
3267 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
3268 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
3269 (DebuggerDocument::platformPause):
3270 (DebuggerDocument::platformResume):
3271 (DebuggerDocument::platformStepInto):
3272 (DebuggerDocument::platformEvaluateScript):
3273 (DebuggerDocument::getPlatformCurrentFunctionStack):
3274 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3275 (DebuggerDocument::platformValueForScopeVariableNamed):
3276 (DebuggerDocument::platformLog):
3277 * Drosera/mac/DebuggerDocumentMac.h: Removed.
3278 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3279 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3281 2007-09-09 Sam Weinig <sam@webkit.org>
3283 Reviewed by Mark Rowe.
3285 Remove 'objC' prefix from methods now in the ObjCController.
3287 * DumpRenderTree/ObjCController.m:
3288 (+[ObjCController isSelectorExcludedFromWebScript:]):
3289 (+[ObjCController webScriptNameForSelector:]):
3290 (-[ObjCController classNameOf:]):
3291 (-[ObjCController objectOfClass:]):
3292 (-[ObjCController identityIsEqual::]):
3293 (-[ObjCController longLongRoundTrip:]):
3294 (-[ObjCController unsignedLongLongRoundTrip:]):
3296 2007-09-09 Sam Weinig <sam@webkit.org>
3300 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
3301 - Move LayoutTestController into its own file.
3302 - Move Objective-C only functions on LayoutTestController into a new controller called the
3305 * DumpRenderTree/DumpRenderTree.h:
3306 * DumpRenderTree/DumpRenderTree.m:
3308 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3309 * DumpRenderTree/FrameLoadDelegate.m:
3310 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3311 * DumpRenderTree/LayoutTestController.h: Added.
3312 * DumpRenderTree/LayoutTestController.m: Added.
3313 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3314 (+[LayoutTestController webScriptNameForSelector:]):
3315 (-[LayoutTestController clearBackForwardList]):
3316 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3317 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3318 (-[LayoutTestController setCustomPolicyDelegate:]):
3319 (-[LayoutTestController keepWebHistory]):
3320 (-[LayoutTestController setCallCloseOnWebViews:]):
3321 (-[LayoutTestController setCanOpenWindows]):
3322 (-[LayoutTestController waitUntilDone]):
3323 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3324 (-[LayoutTestController notifyDone]):
3325 (-[LayoutTestController dumpAsText]):
3326 (-[LayoutTestController addFileToPasteboardOnDrag]):
3327 (-[LayoutTestController addDisallowedURL:]):
3328 (-[LayoutTestController setUserStyleSheetLocation:]):
3329 (-[LayoutTestController setUserStyleSheetEnabled:]):
3330 (-[LayoutTestController dumpDOMAsWebArchive]):
3331 (-[LayoutTestController dumpSourceAsWebArchive]):
3332 (-[LayoutTestController dumpSelectionRect]):
3333 (-[LayoutTestController dumpTitleChanges]):
3334 (-[LayoutTestController dumpBackForwardList]):
3335 (-[LayoutTestController windowCount]):
3336 (-[LayoutTestController dumpChildFrameScrollPositions]):
3337 (-[LayoutTestController dumpChildFramesAsText]):
3338 (-[LayoutTestController dumpEditingCallbacks]):
3339 (-[LayoutTestController dumpResourceLoadCallbacks]):
3340 (-[LayoutTestController dumpFrameLoadCallbacks]):
3341 (-[LayoutTestController setWindowIsKey:]):
3342 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3343 (-[LayoutTestController display]):
3344 (-[LayoutTestController testRepaint]):
3345 (-[LayoutTestController repaintSweepHorizontally]):
3346 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3347 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
3348 (-[LayoutTestController _doLoad:target:]):
3349 (-[LayoutTestController _doBackOrForwardNavigation:]):
3350 (-[LayoutTestController queueBackNavigation:]):
3351 (-[LayoutTestController queueForwardNavigation:]):
3352 (-[LayoutTestController queueReload]):
3353 (-[LayoutTestController queueScript:]):
3354 (-[LayoutTestController queueLoad:target:]):
3355 (-[LayoutTestController setAcceptsEditing:]):
3356 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3357 (-[LayoutTestController storeWebScriptObject:]):
3358 (-[LayoutTestController accessStoredWebScriptObject]):
3359 (-[LayoutTestController dealloc]):
3360 (-[LayoutTestController decodeHostName:]):
3361 (-[LayoutTestController encodeHostName:]):
3362 * DumpRenderTree/ObjCController.h: Added.
3363 * DumpRenderTree/ObjCController.m: Added.
3364 (+[ObjCController isSelectorExcludedFromWebScript:]):
3365 (+[ObjCController webScriptNameForSelector:]):
3366 (-[ObjCController objCClassNameOf:]):
3367 (-[ObjCController objCObjectOfClass:]):
3368 (-[ObjCController objCIdentityIsEqual::]):
3369 (-[ObjCController objCLongLongRoundTrip:]):
3370 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
3371 (-[ObjCController testWrapperRoundTripping:]):
3373 2007-09-07 Sam Weinig <sam@webkit.org>
3377 Strip trailing and leading space/newline characters from skiplist file names.
3379 * Scripts/run-webkit-tests:
3381 2007-09-06 Kevin McCullough <kmccullough@apple.com>
3385 - Changed Drosera to take advantage of the JSRetainPtr changes.
3387 * Drosera/DebuggerDocument.cpp:
3388 (DebuggerDocument::breakpointEditorHTML):
3389 (DebuggerDocument::evaluateScript):
3390 (DebuggerDocument::valueForScopeVariableNamed):
3391 (DebuggerDocument::log):
3392 (DebuggerDocument::windowScriptObjectAvailable):
3393 (DebuggerDocument::toJSArray):
3394 (DebuggerDocument::callFunctionOnObject):
3395 (DebuggerDocument::logException):
3396 * Drosera/mac/DebuggerDocumentMac.mm:
3397 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3398 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3399 (DebuggerDocument::platformEvaluateScript):
3400 (DebuggerDocument::getPlatformCurrentFunctionStack):
3401 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3402 (DebuggerDocument::platformValueForScopeVariableNamed):
3404 2007-09-05 Kevin McCullough <kmccullough@apple.com>
3406 Reviewed by Adam, Sam, Darin.
3408 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
3410 * Drosera/Debugger.h: Added.
3411 * Drosera/DebuggerDocument.cpp:
3412 (DebuggerDocument::breakpointEditorHTMLCallback):
3413 (DebuggerDocument::isPausedCallback):
3414 (DebuggerDocument::pauseCallback):
3415 (DebuggerDocument::resumeCallback):
3416 (DebuggerDocument::stepIntoCallback):
3417 (DebuggerDocument::evaluateScriptCallback):
3418 (DebuggerDocument::currentFunctionStackCallback):
3419 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3420 (DebuggerDocument::valueForScopeVariableNamedCallback):
3421 (DebuggerDocument::logCallback):
3422 (DebuggerDocument::breakpointEditorHTML):
3423 (DebuggerDocument::isPaused):
3424 (DebuggerDocument::pause):
3425 (DebuggerDocument::resume):
3426 (DebuggerDocument::stepInto):
3427 (DebuggerDocument::evaluateScript):
3428 (DebuggerDocument::currentFunctionStack):
3429 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3430 (DebuggerDocument::valueForScopeVariableNamed):
3431 (DebuggerDocument::log):
3432 (DebuggerDocument::toolbarPause):
3433 (DebuggerDocument::toolbarResume):
3434 (DebuggerDocument::toolbarStepInto):
3435 (DebuggerDocument::toolbarStepOver):
3436 (DebuggerDocument::toolbarStepOut):
3437 (DebuggerDocument::toolbarShowConsole):
3438 (DebuggerDocument::toolbarCloseCurrentFile):
3439 (DebuggerDocument::updateFileSource):
3440 (DebuggerDocument::didParseScript):
3441 (DebuggerDocument::willExecuteStatement):
3442 (DebuggerDocument::didEnterCallFrame):
3443 (DebuggerDocument::willLeaveCallFrame):
3444 (DebuggerDocument::exceptionWasRaised):
3445 (DebuggerDocument::windowScriptObjectAvailable):
3446 (DebuggerDocument::toJSArray):
3447 (DebuggerDocument::callGlobalFunction):
3448 (DebuggerDocument::callFunctionOnObject):
3449 (DebuggerDocument::getDroseraJSClass):
3450 (DebuggerDocument::staticFunctions):
3451 (DebuggerDocument::logException):
3452 * Drosera/DebuggerDocument.h:
3453 (DebuggerDocument::DebuggerDocument):
3454 * Drosera/ForwardingHeaders: Added.
3455 * Drosera/ForwardingHeaders/wtf: Added.
3456 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3458 * Drosera/console.html:
3459 * Drosera/console.js:
3460 * Drosera/debugger.js:
3461 * Drosera/mac/DebuggerApplication.mm:
3462 (-[DebuggerApplication attach:]):
3463 * Drosera/mac/DebuggerDocumentMac.h:
3464 * Drosera/mac/DebuggerDocumentMac.mm:
3465 (+[NSString stringOrNilFromWebScriptResult:]):
3466 (+[DebuggerClientMac log:]):
3467 (-[DebuggerClientMac initWithServerName:]):
3468 (-[DebuggerClientMac dealloc]):
3469 (-[DebuggerClientMac pause]):
3470 (-[DebuggerClientMac resume]):
3471 (-[DebuggerClientMac pause:]):
3472 (-[DebuggerClientMac resume:]):
3473 (-[DebuggerClientMac stepInto:]):
3474 (-[DebuggerClientMac stepOver:]):
3475 (-[DebuggerClientMac stepOut:]):
3476 (-[DebuggerClientMac showConsole:]):
3477 (-[DebuggerClientMac closeCurrentFile:]):
3478 (-[DebuggerClientMac validateUserInterfaceItem:]):
3479 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3480 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3481 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3482 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3483 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3484 (DebuggerDocument::platformPause):
3485 (DebuggerDocument::platformResume):
3486 (DebuggerDocument::platformStepInto):
3487 (DebuggerDocument::platformEvaluateScript):
3488 (DebuggerDocument::platformCurrentFunctionStack):
3489 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3490 (DebuggerDocument::platformValueForScopeVariableNamed):
3491 (DebuggerDocument::platformLog):
3492 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3494 2007-09-06 Sam Weinig <sam@webkit.org>
3496 Reviewed by Adam Roben.
3498 Register the WebKit DLL on initialization of the DumpRenderTree.
3500 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3503 2007-09-05 Sam Weinig <sam@webkit.org>
3507 Fix many layout test failures caused by r25364.
3508 Set text size to standand size at the begining of each test matching the mac.
3510 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3513 2007-09-04 Sam Weinig <sam@webkit.org>
3517 Fix for <rdar://problem/5382277>
3518 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3520 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3521 (textZoomInCallback):
3522 (textZoomOutCallback):
3524 2007-08-29 David Kilzer <ddkilzer@apple.com>
3528 Added case-insensitivity to checks for adding regression tests.
3530 * Scripts/prepare-ChangeLog:
3533 2007-08-28 David Kilzer <ddkilzer@apple.com>
3537 Ignore files in /resources/ subdirectories when creating a list of added tests.
3539 * Scripts/prepare-ChangeLog:
3542 2007-08-27 Kevin McCullough <kmccullough@apple.com>
3546 - Removed Leopard leaks list since all of those radars were fixed.
3548 * Scripts/run-webkit-tests:
3550 2007-08-27 Adam Roben <aroben@apple.com>
3552 Rubberstamped by Mark.
3554 * Scripts/pdevenv: Pass arguments along to devenv.com.
3556 2007-08-26 David Kilzer <ddkilzer@webkit.org>
3558 Reviewed by Mark Rowe.
3560 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3562 * Scripts/prepare-ChangeLog:
3563 (changeLogDate): Added.
3565 2007-08-24 Sam Weinig <sam@webkit.org>
3567 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3569 2007-08-24 Sam Weinig <sam@webkit.org>
3571 Rubber-stamped by Adam Roben.
3573 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3575 Rename COM DOM bindings to use Deprecated prefix.
3577 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3580 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
3583 (EditingDelegate::shouldBeginEditingInDOMRange):
3584 (EditingDelegate::shouldEndEditingInDOMRange):
3585 (EditingDelegate::shouldInsertNode):
3586 (EditingDelegate::shouldInsertText):
3587 (EditingDelegate::shouldDeleteDOMRange):
3588 (EditingDelegate::shouldChangeSelectedDOMRange):
3589 (EditingDelegate::shouldApplyStyle):
3590 (EditingDelegate::shouldChangeTypingStyle):
3591 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
3593 2007-08-24 Oliver Hunt <oliver@apple.com>
3597 WebDataSource::response can legitimately have a null response, so we
3598 must check that case.
3600 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3601 (queueLoadCallback):
3603 2007-08-23 Mitz Pettel <mitz@webkit.org>
3605 Reviewed by Darin and Adam.
3607 - DumpRenderTree changes to allow testing for
3608 http://bugs.webkit.org/show_bug.cgi?id=11756
3609 REGRESSION: link targeting a frame in another window does not work
3610 <rdar://problem/5286420>
3612 Use a frame group name for all WebViews created by DumpRenderTree to
3613 allow testing of cross-page frame lookup.
3615 * DumpRenderTree/DumpRenderTree.m:
3616 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
3617 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3618 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
3620 2007-08-23 David Kilzer <ddkilzer@webkit.org>
3624 Quote the $sslCertificate path in case it contains a space.
3626 * Scripts/run-webkit-httpd:
3627 * Scripts/run-webkit-tests:
3629 2007-08-22 Oliver Hunt <oliver@apple.com>
3631 Reviewed by John and Adam.
3633 WebDataSource::response can legitimately have a null response, so we
3634 must check that case.
3636 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3639 2007-08-21 Kevin McCullough <kmccullough@apple.com>
3643 - Changing the usage to be more clear.
3645 * Scripts/run-testkjs:
3647 2007-08-20 John Sullivan <sullivan@apple.com>
3649 Reviewed by Adam Roben
3651 * DumpRenderTree/DumpRenderTree.m:
3653 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
3654 in layout tests on Tiger and Leopard
3656 2007-08-20 Adam Roben <aroben@apple.com>
3658 Put LayoutTests after all other ChangeLogs in commit logs
3660 We use "~" to sort LayoutTests after all the other ChangeLogs because
3661 "~" is the last ASCII character (other than "DEL").
3665 * Scripts/commit-log-editor:
3667 2007-08-20 Adam Roben <aroben@apple.com>
3669 Detect that DRT crashed even if a crash dialog is running
3671 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
3672 process is still running at this point, so run-webkit-tests wouldn't
3673 detect that DRT had crashed. We now record the crash in our SIGPIPE
3674 handler so that we know if DRT crashed even if the crash dialog is up.
3678 * Scripts/run-webkit-tests:
3679 (sub catch_pipe): Set the crashed bit.
3680 (sub openDumpTool): Reset the crashed bit.
3681 (sub dumpToolDidCrash): Check the crashed bit.
3683 2007-08-20 Adam Roben <aroben@apple.com>
3685 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
3687 http://bugs.webkit.org/show_bug.cgi?id=15026
3689 Reviewed by David Kilzer and Darin Adler.
3691 * Scripts/prepare-ChangeLog:
3692 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
3693 (sub isAddedStatus): Ditto.
3694 (sub testListForChangeLog): Added.
3696 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
3700 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
3702 * Scripts/webkitdirs.pm:
3703 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
3705 2007-08-17 Darin Adler <darin@apple.com>
3707 Reviewed by Oliver Hunt.
3709 - don't look for Apple-style localizable strings in the GTK version of WebKit
3711 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
3712 name of subdirectories to skip.
3713 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
3716 2007-08-17 Anders Carlsson <andersca@apple.com>
3720 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3723 2007-08-17 Anders Carlsson <andersca@apple.com>
3725 Reviewed by Dave Hyatt.
3727 <rdar://problem/5379040>
3728 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
3730 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
3732 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3734 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3735 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3739 2007-08-16 Alice Liu <alice.liu@apple.com>
3743 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
3745 * DumpRenderTree/DumpRenderTree.m:
3747 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
3749 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
3751 2007-08-16 Kevin McCullough <kmccullough@apple.com>
3755 - Added tests for regressions in other components. In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
3757 * Scripts/run-webkit-tests:
3759 2007-08-15 Timothy Hatcher <timothy@apple.com>
3761 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
3762 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
3764 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
3765 this prevents making "build" directories in each project folder.
3767 * Scripts/webkitdirs.pm:
3769 2007-08-14 Geoffrey Garen <ggaren@apple.com>
3771 Reviewed by Kevin Mccullough.
3773 Removed special case that didn't belong. (It would allow a global
3774 initializer to sneak into production builds, which would cause a
3775 system-wide performance regression on Mac OS X.)
3777 * Scripts/check-for-global-initializers:
3779 2007-08-14 Justin Garcia <justin.garcia@apple.com>
3783 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
3785 * DumpRenderTree/EditingDelegate.m:
3786 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
3787 only for elements with the class needsDeletionUI.
3789 2007-08-14 David Kilzer <ddkilzer@webkit.org>
3793 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
3794 svn-create-patch uses deprecated tail switch
3796 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
3798 2007-08-13 Sam Weinig <sam@webkit.org>
3800 Reviewed by Adam Roben.
3802 Use the cygwin specific Apache config file under cygwin.
3804 * Scripts/run-webkit-httpd:
3806 2007-08-12 Adam Roben <aroben@apple.com>
3808 Generate results for new tests in a more logical location
3810 New platform-specific tests always have their results generated right
3811 next to the test. New cross-platform tests will have their results
3812 generated a) in the cross-platform directory, if they are text-only,
3813 or b) in the least-specific platform directory, if they are render
3818 * Scripts/run-webkit-tests:
3820 2007-08-12 Adam Roben <aroben@apple.com>
3822 Print the actual directory where new results are generated.
3824 Before, we were printing an unpredictable, context-specific substring
3829 * Scripts/run-webkit-tests:
3831 2007-08-12 Adam Roben <aroben@apple.com>
3833 Factor some common code into a stripExtension() subroutine.
3837 * Scripts/run-webkit-tests: Also removed some debugging output.
3839 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
3841 Reviewed over and over and over by Adam Roben.
3843 Bug 14740: Hierarchical layout tests and platform organization
3844 http://bugs.webkit.org/show_bug.cgi?id=14740
3846 Add support for platform-specific layout tests and results.
3848 * Scripts/run-webkit-tests:
3850 2007-08-11 David Kilzer <ddkilzer@webkit.org>
3854 Refactored svn-create-path to use a hash-of-hashes data structure to keep
3855 track of changed files. In the top level hash, keys are paths to files and
3856 values are 'fileData' hashes with the following keys and values:
3858 - isBinary: boolean value (set to true for non-text files like images, etc.)
3859 - isTestFile: boolean value (set to true if file exists within a known test
3861 - modificationType: string equal to one of 'addition', 'additionWithHistory',
3862 'modification' or 'deletion'
3863 - path: string equal to the path to the file (this may seem redundant, but it
3864 is required to use the second-level 'fileData' hash independent of the
3866 - sourceFile: [optional] string equal to the path of the original file that was
3868 - sourceRevision: [optional] string equal to the revision of the original file
3869 that was copied or moved
3871 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3872 that saves the return value in $result, then checks it before printing help.
3873 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3874 and eliminated two for() loops.
3875 (binarycmp): Added. Used with sort() to order non-binary files before binary
3877 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
3878 (findMimeType): Added optional second argument that takes a revision number.
3879 (generateDiff): Updated to take one fileData argument instead of three ($file,
3880 $modificationType, $isBinary).
3881 (generateFileList): Updated to take one hash ref argument (%diffFiles)
3882 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
3883 %diffFiles using paths for keys and fileData hashes for values.
3884 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3886 (pathcmp): Updated to take two fileData arguments instead of two strings.
3887 (testfilecmp): Added. Used with sort() to order non-test files before test
3890 2007-08-11 Darin Adler <darin@apple.com>
3892 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3894 2007-08-06 Nigel Tao <nigeltao@gnome.org>
3896 Reviewed by David Kilzer.
3898 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3899 http://bugs.webkit.org/show_bug.cgi?id=14745
3901 * Scripts/run-launcher:
3902 Scrub the "--gdk" out of the command line args, if given, so that
3903 GdkLauncher doesn't try to interpret it as a URL.
3905 2007-08-03 Adam Roben <aroben@apple.com>
3907 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3911 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3913 2007-08-03 Sam Weinig <sam@webkit.org>
3917 Recursively dump all frames as text using new
3918 layoutTestController.dumpChildFramesAsText() function.
3920 * DumpRenderTree/DumpRenderTree.m:
3923 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3924 (-[LayoutTestController dumpChildFramesAsText]):
3926 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3930 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3931 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3932 (dumpChildFramesAsTextCallback):
3933 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3935 2007-08-02 Adam Roben <aroben@apple.com>
3937 Fix fast/dom/Window/alert-undefined.html
3941 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3942 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3943 Windows translate a null BSTR into "(null)"
3945 2007-08-02 Kevin McCullough <kmccullough@apple.com>
3949 - It would help if I actually called the right function.
3951 * Drosera/DebuggerDocument.cpp:
3952 (DebuggerDocument::showConsole):
3954 2007-08-02 Adam Roben <aroben@apple.com>
3956 Don't delete the stderr file right after creating it
3958 * Scripts/run-webkit-tests:
3960 2007-08-01 Adam Roben <aroben@apple.com>
3962 When DRT crashes, record stderr and restart DRT
3964 This prevents a DRT crash from causing the next few hundred tests to
3965 "fail" because DRT is no longer running.
3967 I also changed the terminology that run-webkit-tests uses in its
3968 output a bit, so that crashing tests are referred to as "crashes"
3969 instead of "failures".
3973 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3975 (sub openDumpTool): Use open3 so that we can access stderr.
3976 (sub dumpToolCrashed): Added.
3977 (sub printFailureMessageForTest): Added.
3978 (sub htmlForExpectedAndActualResults): Added.
3979 (sub deleteExpectedAndActualResults): Added.
3980 (sub recordActualResultsAndDiff): Added.
3982 2007-07-30 Darin Adler <darin@apple.com>
3984 Reviewed by Tim Hatcher.
3986 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3987 characters. This turned out not to be needed for the test case that motivated me to
3988 do it, but it's nice to have this for the future.
3990 2007-07-30 Simon Hausmann <hausmann@kde.org>
3994 Link QtLauncher into $$OUTPUT_DIR/bin
3996 * Scripts/run-launcher:
3998 2007-07-27 David Kilzer <ddkilzer@apple.com>
4000 Reviewed by Geoff and Darin.
4002 Use a subroutine for validating the --skipped switch.
4004 * Scripts/run-webkit-tests:
4006 2007-07-27 Darin Adler <darin@apple.com>
4010 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
4012 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
4016 Correct the path of GdkLauncher and make checkFrameworks work on OSX
4017 when building the Qt or Gtk+ port.
4019 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
4020 * Scripts/run-launcher:
4021 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
4023 2007-07-27 Simon Hausmann <hausmann@kde.org>
4025 Done with and reviewed by Lars and Zack.
4027 Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
4029 * Scripts/webkitdirs.pm:
4031 2007-07-27 Simon Hausmann <hausmann@kde.org>
4033 Done with and reviewed by Lars and Zack.
4035 For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
4037 * Scripts/webkitdirs.pm:
4039 2007-07-26 Kevin McCullough <kmccullough@apple.com>
4041 Reviewed by Darin, Geoff, Sam.
4043 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
4045 - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
4047 * DumpRenderTree/UIDelegate.h:
4048 * DumpRenderTree/UIDelegate.m:
4049 (-[UIDelegate webView:setFrame:]):
4050 (-[UIDelegate webViewFrame:]):
4052 2007-07-26 Kevin McCullough <kmccullough@apple.com>
4056 - Lars wanted this check for Qt but it breaks platform specific layout tests.
4058 * Scripts/run-webkit-tests:
4060 2007-07-25 Kevin McCullough <kmccullough@apple.com>
4062 Reviewed by Tim, Darin, Oliver.
4064 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
4065 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
4068 * DumpRenderTree/DumpRenderTree.m:
4071 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
4072 (+[LayoutTestController webScriptNameForSelector:]):
4073 (-[LayoutTestController setCustomPolicyDelegate:]):
4074 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4075 * DumpRenderTree/FrameLoadDelegate.h:
4076 * DumpRenderTree/PolicyDelegate.h: Added.
4077 * DumpRenderTree/PolicyDelegate.m: Added.
4078 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
4079 * DumpRenderTree/ResourceLoadDelegate.h:
4081 2007-07-25 Adam Treat <treat@kde.org>
4085 Fix build for some reported systems.
4087 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
4089 2007-07-23 Adam Treat <treat@kde.org>
4091 Reviewed by Nikolas.
4093 Fix qt DRT to suppress js popup alerts and log instead.
4095 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4096 (WebCore::WebPage::javaScriptAlert):
4098 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
4102 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
4103 honor --qmakearg for the Gdk/Gtk build as well.
4105 * GdkLauncher/main.cpp: Switch to the new API
4106 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
4108 2007-07-22 Darin Adler <darin@apple.com>
4110 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
4111 Fix a leak by releasing the array used here.
4113 2007-07-22 David Kilzer <ddkilzer@webkit.org>
4117 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
4118 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
4120 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
4121 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
4123 * Scripts/update-iexploder-cssproperties: Added.
4124 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
4125 Added new CSS3 property section and Moved box-sizing property to it.
4127 2007-07-22 Oliver Hunt <oliver@apple.com>
4131 http://bugs.webkit.org/show_bug.cgi?id=14710
4133 Add preliminary support for testing Input Method/WebKit behaviour and interaction
4134 in DRT. This provides the NSTextInput API which is most of what should be necessary
4135 to mimic the event sequences Input Methods trigger.
4137 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4138 * DumpRenderTree/TextInputController.h:
4139 * DumpRenderTree/TextInputController.m:
4140 (-[WebHTMLView interpretKeyEvents:]):
4141 (+[TextInputController isSelectorExcludedFromWebScript:]):
4142 (+[TextInputController webScriptNameForSelector:]):
4143 (-[TextInputController initWithWebView:]):
4144 (-[TextInputController dealloc]):
4145 (-[TextInputController textInput]):
4146 (-[TextInputController setInputMethodHandler:]):
4147 (-[TextInputController interpretKeyEvents:withSender:]):
4149 2007-07-20 Adam Roben <aroben@apple.com>
4151 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
4152 message not count as an existing log.
4154 2007-07-19 Geoffrey Garen <ggaren@apple.com>
4156 Reviewed by Darin Adler.
4158 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
4159 value behavior of stringByEvaluatingJavaScriptFromString
4161 * DumpRenderTree/DumpRenderTree.m:
4162 (testStringByEvaluatingJavaScriptFromString):
4163 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4165 2007-07-19 Adam Roben <aroben@apple.com>
4167 Make commit-log-editor work with git
4171 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
4172 commit message template. Also removed the unused $breakPoint variable.
4174 2007-07-19 Adam Roben <aroben@apple.com>
4176 Move generally-useful VCS code into a new VCSUtils.pm module
4178 This is in preparation for making commit-log-editor git-friendly.
4182 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.