1 2007-11-05 Adam Roben <aroben@apple.com>
3 Add support on Windows for WEBKIT_TESTFONTS
5 This environment variable lets you specify where the fonts to be used
6 by DumpRenderTree reside. The Qt port is already using this, so I'm
7 just following their lead.
11 * DumpRenderTree/win/DumpRenderTree.cpp:
12 (exePath): Refactored code out of initialize().
13 (fontsPath): Returns either $WEBKIT_TESTFONTS or
14 DumpRenderTree.resources.
15 (initialize): Use the new fontsPath function.
16 (main): Use the new exePath function.
17 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
18 variable to DRT, like Qt does.
20 2007-11-05 Mark Rowe <mrowe@apple.com>
22 Rubber-stamped by Alp Toker.
24 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
26 * GtkLauncher/main.cpp:
30 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
32 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
33 <http://bugs.webkit.org/show_bug.cgi?id=15830>
37 Restrict the range of nightly builds used by the bisect-builds script
38 based on the version of Safari and the version of Mac OS X being used.
40 Mac OS X 10.4: Safari 2.0: r11976 or newer
41 Mac OS X 10.4: Safari 3.0: r19992 or newer
43 Mac OS X 10.5: Safari 2.0: r19594 or newer
44 Mac OS X 10.5: Safari 3.0: r25124 or newer
46 * Scripts/bisect-builds:
47 (findMacOSXVersion): Added.
48 (makeNightlyList): Added argument to provide version of Mac OS X.
49 Restrict range of nightly builds based on Safari and Mac OS X versions.
51 2007-11-04 Kevin McCullough <kmccullough@apple.com>
55 - This patch involves several changes, all of them were noticed that
56 they were needed by the work being done in WebKit to get Drosera and
57 WebKit working together on Windows.
59 1) Added a debugger console for output messages.
60 2) Drosera now listens for the WebKit server (before, the server would
61 have to be running before Drosera was started.)
62 3) Fixed a bug where the WebView started out as 0x0 pixels.
63 4) Fixed a bug when there is no scope.
64 5) Added the HTML, JS, and CSS to the project file to make them easy to
66 6) Made the ServerConnection functions virtual.
68 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
69 for the WebKit server.
70 (DebuggerClient::DebuggerClient):
71 (DebuggerClient::~DebuggerClient):
72 (DebuggerClient::didFinishLoadForFrame):
73 (DebuggerClient::serverConnected):
74 (DebuggerClient::attemptToCreateServerConnection):
75 * Drosera/win/DebuggerClient.h: Ditto.
76 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
78 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
79 (DebuggerDocument::platformValueForScopeVariableNamed):
80 * Drosera/win/Drosera.cpp:
81 (_tWinMain): Added a console in debug for output messages.
82 (Drosera::Drosera): Listen for server.
83 (Drosera::initUI): The server now Initializes COM.
84 (Drosera::serverConnected): Part of the listening for the server.
85 (Drosera::attemptToCreateServerConnection): Ditto.
86 * Drosera/win/Drosera.h: New interface for listening for the server.
87 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
88 files to the VS project.
89 * Drosera/win/ServerConnection.cpp: Part of listening for the server
91 (ServerConnection::ServerConnection):
92 (ServerConnection::attemptToCreateServerConnection):
93 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
95 (ServerConnection::serverConnected):
97 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
101 http://bugs.webkit.org/show_bug.cgi?id=15832
102 fast/dom/gc-10.html crashes when run alone
104 Check for !done before using objects that can be already deallocated.
106 * DumpRenderTree/mac/EditingDelegate.mm:
107 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
108 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
109 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
110 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
111 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
112 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
113 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
114 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
115 (-[EditingDelegate webViewDidBeginEditing:]):
116 (-[EditingDelegate webViewDidChange:]):
117 (-[EditingDelegate webViewDidEndEditing:]):
118 (-[EditingDelegate webViewDidChangeTypingStyle:]):
119 (-[EditingDelegate webViewDidChangeSelection:]):
120 * DumpRenderTree/mac/FrameLoadDelegate.mm:
121 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
122 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
123 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
124 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
125 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
126 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
127 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
128 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
129 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
130 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
131 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
132 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
133 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
134 (-[FrameLoadDelegate webView:willCloseFrame:]):
135 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
136 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
137 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
138 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
139 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
140 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
141 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
142 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
143 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
145 2007-11-04 Mark Rowe <mrowe@apple.com>
147 Build fix. Don't use Carbon.h as the prefix header as it triggers
148 warnings that would otherwise be suppressed due to it being a system header.
150 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
152 2007-11-03 Maciej Stachowiak <mjs@apple.com>
154 Rubber stamped by Adam.
156 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
158 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
160 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
162 Sort files(...); sections of Xcode project files.
164 Rubber-stamped by Darin.
166 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
167 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
168 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
169 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
171 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
173 Script to sort "files(...);" sections in Xcode project.pbxproj files.
177 * Scripts/sort-Xcode-project-file: Added.
179 2007-11-02 Darin Adler <darin@apple.com>
181 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
183 2007-11-02 Darin Adler <darin@apple.com>
187 * Scripts/run-sunspider: Pass the "--base" option through.
189 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
190 the real script do that. Default configuration to Release to match run-sunspider
191 so we don't end up building Debug just to compare results.
193 2007-11-01 Adam Roben <aroben@apple.com>
195 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
199 * Scripts/commit-log-editor: Show all the directories beneath the
200 source root, instead of just the last one.
202 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
204 Reviewed by Adam Roben.
206 Print out an error message when the Windows build fails
207 and provide guidance on how to find out what went wrong.
209 * Scripts/build-webkit:
210 * Scripts/webkitdirs.pm:
212 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
214 Rubber-stamped by Adam Roben.
216 Rolled out r27326 - debug CRT seems to cause no problems after all.
218 * DumpRenderTree/win/DumpRenderTree.vcproj:
220 2007-10-31 Adam Roben <aroben@apple.com>
222 Switch the Debug configuration to using the non-debug CRT
228 * DumpRenderTree/win/DumpRenderTree.vcproj:
230 2007-10-31 Antti Koivisto <antti@apple.com>
234 Disable media tests when doing leak checking on Tiger.
235 They crash in QuickTime (rdar://problem/5537157).
237 * Scripts/run-webkit-tests:
239 2007-10-29 Antti Koivisto <antti@apple.com>
243 Build media support by default on OSX only.
245 * Scripts/build-webkit:
247 2007-10-30 Kevin McCullough <kmccullough@apple.com>
249 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
250 get caught by the pre-commit hooks.
252 2007-10-30 Kevin McCullough <kmccullough@apple.com>
256 - This is a collection of relatively unrelated changes and cleanups
257 to Drosera to prepare it for interacting with WebKit. A lot of these
258 changes are just correcting mistakes, for example removing included
259 headers that are no longer needed.
261 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
262 this will be needed by the DebuggerClient.
263 (DebuggerDocument::server):
264 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
265 * Drosera/win/DebuggerClient.cpp:
266 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
267 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
268 (DebuggerClient::createWebViewWithRequest): Added comment about its
270 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
272 (DebuggerClient::webViewLoaded): Moved.
273 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
274 file, since this was the only place it was used.
276 * Drosera/win/Drosera.h: Cleaned up the includes.
277 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
278 * Drosera/win/HelperFunctions.h: Removed.
280 2007-10-30 Kevin McCullough <kmccullough@apple.com>
284 - Small cleanup in the ServerConnection class.
286 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
287 and added an include.
288 (ServerConnection::currentFrame):
289 (ServerConnection::getCallerFrame):
290 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
291 made a pointer into a COMPtr, and cleaned up the includes.
293 2007-10-29 Timothy Hatcher <timothy@apple.com>
295 Reviewed by John Sullivan.
297 - Place the Localizable.strings file in mac or win directories
298 if that location exists.
299 - Also look for UI_STRING in .c files.
301 * Scripts/extract-localizable-strings:
303 2007-10-30 Kevin McCullough <kmccullough@apple.com>
307 - Set the eol-style to native and made all the line endings the same
308 so that I avoid messy diffs that show eol changes.
310 * Drosera/win/ServerConnection.cpp:
311 (ServerConnection::didParseSource):
312 (ServerConnection::didEnterCallFrame):
313 (ServerConnection::willExecuteStatement):
314 (ServerConnection::willLeaveCallFrame):
315 (ServerConnection::exceptionWasRaised):
317 2007-10-30 Kevin McCullough <kmccullough@apple.com>
321 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
322 functionality that could not have existed previously without the new
324 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
325 from a BSTR to a JSValueRef.
326 (DebuggerDocument::platformEvaluateScript): Implemented.
327 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
328 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
330 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
331 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
332 * Drosera/win/ServerConnection.cpp: Added a helper function.
333 (ServerConnection::getCallerFrame):
334 * Drosera/win/ServerConnection.h: Added a helper function.
336 2007-10-29 Kevin McCullough <kmccullough@apple.com>
338 updated reviewers for my previous changelog.
340 2007-10-29 Kevin McCullough <kmccullough@apple.com>
341 Reviewed by Maciej and Adam and Geoff.
343 - Minor mac-side improvements including moving a function to a more
344 appropriate location, fixing a warning, and correctly checking
347 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
348 (DebuggerDocument::willExecuteStatement):
349 (DebuggerDocument::didEnterCallFrame):
350 (DebuggerDocument::willLeaveCallFrame):
351 (DebuggerDocument::windowScriptObjectAvailable):
352 (DebuggerDocument::callFunctionOnObject):
353 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
354 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
355 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
356 because it doesn't require the ServerConnection at all.
357 (NSStringCreateWithJSStringRef): Made an argument const.
358 (JSValueRefCreateWithNSString): Made an argument const.
359 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
360 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
361 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
362 * Drosera/mac/ServerConnection.mm: Ditto.
363 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
365 2007-10-29 Sam Weinig <sam@webkit.org>
367 Reviewed by Adam Roben.
369 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
371 * DumpRenderTree/LayoutTestController.cpp:
372 (LayoutTestController::LayoutTestController):
373 (getGlobalFlagCallback):
374 (setGlobalFlagCallback):
375 (LayoutTestController::getJSClass):
376 (LayoutTestController::staticValues):
377 * DumpRenderTree/LayoutTestController.h:
378 (LayoutTestController::globalFlag):
379 (LayoutTestController::setGlobalFlag):
381 2007-10-29 Darin Adler <darin@apple.com>
385 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
386 resolution instead of its default.
388 2007-10-29 David Kilzer <ddkilzer@webkit.org>
390 Fixed showStatus() to print status for successfully resolved conflicts when using git.
392 Reviewed by Mark Rowe.
394 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
395 was successfully resolved, but this would not show any status because the change had
396 already been cached in the index using "git add". The solution is to add an optional
397 second argument to showStatus() which adds the "--cached" switch to the command.
399 * Scripts/resolve-ChangeLogs:
402 2007-10-28 Eric Seidel <eric@webkit.org>
404 Reviewed by Maciej and Geoff, in unison.
406 * Scripts/run-webkit-tests: remove broken --svg option
408 2007-10-28 Darin Adler <darin@apple.com>
412 * Scripts/run-sunspider: Default to "Release" configuration rather than
413 defaulting to the last configuration used as other scripts do. This can
414 still be overriden on the command line with "--debug" if there's some
415 reason to do so. Also fix a typo.
417 * Scripts/sunspider-compare-results: Fix a typo.
419 2007-10-26 Kevin McCullough <kmccullough@apple.com>
423 - Implemented the WebScriptDebugListener functions now that the
424 WebScriptDebugServer exists
426 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
428 (ServerConnection::currentFrame):
429 (ServerConnection::didLoadMainResourceForDataSource):
430 (ServerConnection::didParseSource):
431 (ServerConnection::failedToParseSource):
432 (ServerConnection::didEnterCallFrame):
433 (ServerConnection::willExecuteStatement):
434 (ServerConnection::willLeaveCallFrame):
435 (ServerConnection::exceptionWasRaised):
436 * Drosera/win/ServerConnection.h: Removed unused arguments from the
437 members arguments list.
439 2007-10-26 David Kilzer <ddkilzer@webkit.org>
441 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
442 <http://bugs.webkit.org/show_bug.cgi?id=15600>
446 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
447 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
448 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
449 file. Note that it may also be used as a stand-alone script.
451 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
452 * Scripts/resolve-ChangeLogs: Added.
453 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
455 2007-10-26 Mark Rowe <mrowe@apple.com>
457 Qt build fix. r27084 added a destructor implementation for LayoutTestController
458 to the Qt port on the assumption that it was an implementation of the cross-platform
459 LayoutTestController class. It is not, so it did not need to be changed.
461 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
463 2007-10-25 Mark Rowe <mrowe@apple.com>
467 Fix builds with code coverage enabled.
469 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
471 2007-10-25 Darin Adler <darin@apple.com>
473 Reviewed by Mark Rowe.
475 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
476 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
478 2007-10-25 Stephanie <slewis@apple.com>
482 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
484 2007-10-25 Stephanie <slewis@apple.com>
486 Reviewed by Mark Rowe, Adam Roben.
488 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
490 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
492 2007-10-25 Alice Liu <alice.liu@apple.com>
496 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
498 Moving destructor into platform-specific files
499 * DumpRenderTree/LayoutTestController.cpp:
500 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
501 (LayoutTestController::~LayoutTestController):
502 * DumpRenderTree/qt/jsobjects.cpp:
503 (LayoutTestController::~LayoutTestController):
505 LayoutTestController wasn't being destroyed
506 * DumpRenderTree/win/DumpRenderTree.cpp:
510 * DumpRenderTree/win/EditingDelegate.h:
512 Reset certain values on the webview (or related delegate) that might
513 have changed while running a test
514 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
515 (LayoutTestController::~LayoutTestController):
517 2007-10-25 Adam Roben <aroben@apple.com>
519 Make sunspider-compare-results work with relative paths
523 * Scripts/sunspider-compare-results: Convert arguments to absolute
524 paths before we chdir.
526 2007-10-25 Kevin McCullough <kmccullough@apple.com>
530 - Implemented server calls now the WebScriptDebugServer exists.
531 - Also removed no longer needed call to initialize CG.
533 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
536 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
537 (ServerConnection::ServerConnection):
538 (ServerConnection::~ServerConnection):
539 (ServerConnection::pause):
540 (ServerConnection::resume):
541 (ServerConnection::stepInto):
542 (ServerConnection::applicationTerminating):
543 (ServerConnection::serverConnectionDidDie):
544 * Drosera/win/ServerConnection.h: Now uses the COM class.
546 2007-10-24 George Staikos <staikos@kde.org>
550 * Scripts/build-webkit:
552 2007-10-24 Adam Roben <aroben@apple.com>
554 Remove now-unnecessary call to InitializeCoreGraphics
556 WebKit takes care of this now.
560 * DumpRenderTree/win/DumpRenderTree.cpp:
563 2007-10-24 Adam Roben <aroben@apple.com>
565 Use WebTextRenderer in DRT
569 * DumpRenderTree/win/DumpRenderTree.cpp:
570 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
572 2007-10-24 Sven Herzberg <sven@imendio.com>
574 Reviewed by Mark Rowe.
576 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
577 Bug 15614: [GTK] qmake based backends don't build on OS X
579 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
581 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
582 isDarwin() to make it reusable in other places (like the workaround-
583 for-prebuilt-qmake in build-webkit)
585 2007-10-24 David Kilzer <ddkilzer@webkit.org>
587 Refurbish update-webkit script.
591 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
592 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
593 multi-argument version of system() for flexibility and security. Check for existence
594 of Internal directory using -d test instead of -x.
596 2007-10-24 David Kilzer <ddkilzer@webkit.org>
598 Minor clean-up of prepare-ChangeLog script.
602 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
603 of a string. Use multi-argument versions of open() and system() for flexibility and
606 2007-10-24 Alice Liu <alice.liu@apple.com>
610 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
612 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
613 replay the saved events when we're still processing the mousedown that starts the drag
614 * DumpRenderTree/win/EventSender.cpp:
616 * DumpRenderTree/win/UIDelegate.cpp:
617 (UIDelegate::doDragDrop):
619 2007-10-24 Kevin McCullough <kmccullough@apple.com>
621 Reviewed by Sam, Steve and Darin.
623 - Stubbed out the WebScriptDebugListener functionality in the Server
624 Connection class to prepare it for receiving those callbacks.
625 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
626 and the ServerConnection to not need to be initialized with a server
627 name, since that is not the way we connect to the WebKit server.
629 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
630 no exception. Now it only loggs when there is an exception
631 (DebuggerDocument::willExecuteStatement):
632 (DebuggerDocument::didEnterCallFrame):
633 (DebuggerDocument::willLeaveCallFrame):
634 (DebuggerDocument::windowScriptObjectAvailable):
635 (DebuggerDocument::callFunctionOnObject):
636 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
637 to be instantiated with a server's name.
638 (DebuggerClient::DebuggerClient):
639 (DebuggerClient::didFinishLoadForFrame):
640 * Drosera/win/DebuggerClient.h: Removed unsued variable.
641 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
644 (Drosera::initServer):
645 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
646 instantiated with a server's name.
647 * Drosera/win/ServerConnection.cpp:
648 (ServerConnection::ServerConnection): No longer needs a server name
649 (ServerConnection::~ServerConnection): Only release the global context
651 (ServerConnection::serverConnectionDidDie): Stub for
652 IWebScriptDebugListener
653 (ServerConnection::QueryInterface): ditto
654 (ServerConnection::AddRef): ditto
655 (ServerConnection::Release): ditto
656 (ServerConnection::didLoadMainResourceForDataSource): ditto
657 (ServerConnection::didParseSource): ditto
658 (ServerConnection::failedToParseSource): ditto
659 (ServerConnection::didEnterCallFrame): ditto
660 (ServerConnection::willExecuteStatement): ditto
661 (ServerConnection::willLeaveCallFrame): ditto
662 (ServerConnection::exceptionWasRaised): ditto
663 * Drosera/win/ServerConnection.h: Stubbed out the
664 IWebScriptDebugListener functions, and this class no longer needs to be
665 instantiated with a server name.
667 2007-10-24 Lars Knoll <lars@trolltech.com>
671 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
673 * DumpRenderTree/qt/jsobjects.h:
675 2007-10-24 Lars Knoll <lars@trolltech.com>
681 * DumpRenderTree/qt/jsobjects.cpp:
682 (TextInputController::doCommand):
684 2007-10-24 Lars Knoll <lars@trolltech.com>
688 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
690 * DumpRenderTree/qt/jsobjects.cpp:
691 (EventSender::keyDown):
692 * DumpRenderTree/qt/jsobjects.h:
694 2007-10-24 Lars Knoll <lars@trolltech.com>
698 implement eventSender.keyDown().
700 * DumpRenderTree/qt/jsobjects.cpp:
701 (EventSender::keyDown):
703 2007-10-24 Lars Knoll <lars@trolltech.com>
707 some smaller fixes to the editing support in DRT. Makes another few tests pass.
709 * DumpRenderTree/qt/DumpRenderTree.cpp:
710 (WebCore::DumpRenderTree::DumpRenderTree):
711 (WebCore::DumpRenderTree::initJSObjects):
712 * DumpRenderTree/qt/jsobjects.cpp:
713 (TextInputController::doCommand):
715 2007-10-24 Lars Knoll <lars@trolltech.com>
719 first bit of implementation for the textinputcontroller.
721 * DumpRenderTree/qt/DumpRenderTree.cpp:
722 (WebCore::DumpRenderTree::DumpRenderTree):
723 * DumpRenderTree/qt/DumpRenderTree.h:
724 * DumpRenderTree/qt/jsobjects.cpp:
725 (TextInputController::TextInputController):
726 (TextInputController::doCommand):
727 * DumpRenderTree/qt/jsobjects.h:
729 2007-10-24 Lars Knoll <lars@trolltech.com>
733 make the man webpage believe it has focus, so the editing tests work correctly.
735 * DumpRenderTree/qt/DumpRenderTree.cpp:
736 (WebCore::DumpRenderTree::DumpRenderTree):
738 2007-10-24 Lars Knoll <lars@trolltech.com>
742 implement layoutTestController.dumpEditingCallbacks() correctly.
744 * DumpRenderTree/qt/DumpRenderTree.cpp:
745 (WebCore::DumpRenderTree::DumpRenderTree):
746 * DumpRenderTree/qt/jsobjects.cpp:
747 (LayoutTestController::reset):
748 (LayoutTestController::dumpEditingCallbacks):
750 2007-10-24 Lars Knoll <lars@trolltech.com>
754 Implement support for testing editing.
756 * DumpRenderTree/qt/DumpRenderTree.cpp:
757 (WebCore::DumpRenderTree::DumpRenderTree):
759 2007-10-23 Sam Weinig <sam@webkit.org>
761 Check for null BSTR that can be passed to the UIDelegate methods
762 from javascript null and undefined. Fixes a failing test case on
763 Windows (fast/dom/Window/alert-undefined.html)
765 Reviewed by Eric Seidel.
767 * DumpRenderTree/win/UIDelegate.cpp:
768 (UIDelegate::runJavaScriptAlertPanelWithMessage):
769 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
770 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
771 (UIDelegate::webViewAddMessageToConsole):
773 2007-10-23 Maciej Stachowiak <mjs@apple.com>
777 Don't print a massive pile of setenvs from tools that automatically build testkjs.
779 * Scripts/build-testkjs:
781 2007-10-23 Maciej Stachowiak <mjs@apple.com>
785 - add wrapper that finds the right copy of testkjs
787 * Scripts/sunspider-compare-results: Added.
789 2007-10-23 Kevin McCullough <kmccullough@apple.com>
793 - After talking with Steve I now see that the WebKit server must be
794 running for DCOM to create the distributed objects, which makes sense
795 and currently WebKit only allows one instance to be running at a time
796 which avoids accidentally connecting to the wrong server
797 - In light of this I have removed the code for the attach box and
798 NotificationServer and known server names, since they are all extranious
801 * Drosera/win/Drosera.cpp: Removed notification classes and known server
803 (_tWinMain): Uses init instead of initUI.
804 (droseraWndProc): No longer creats an attach dialog box.
805 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
806 it's not manditory to call init before doing COM stuff.
807 (Drosera::init): calls initUI and will call attach when the
808 functionality exists.
809 (Drosera::initUI): Has changed very little.
810 (Drosera::attach): Changed the signature to reflect that we no longer
811 need the dictionary of known server names.
812 * Drosera/win/Drosera.h: Removed notification classes and known server
813 names. Also renamed and moved some functions.
814 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
815 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
816 headers to the resources folder.
817 * Drosera/win/resource.h: Removed the Attach box.
819 2007-10-22 Adam Roben <aroben@apple.com>
823 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
825 2007-10-22 Kevin McCullough <kmccullough@apple.com>
827 - Removed a leak that was fixed.
829 * Scripts/run-webkit-tests:
831 2007-10-19 Kevin McCullough <kmccullough@apple.com>
835 - Changed the Client so that the DebuggerDocument now own the
836 ServerConnection. This simplifies ownership and cleanup.
838 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
840 (DebuggerClient::initWithServerName):
841 (DebuggerClient::didFinishLoadForFrame):
842 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
844 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
845 until after we have a server which we are attached to.
848 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
851 2007-10-22 Simon Hausmann <hausmann@kde.org>
855 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
857 * Scripts/run-javascriptcore-tests:
859 2007-10-22 Simon Hausmann <hausmann@kde.org>
863 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.
865 * Scripts/build-drosera:
866 * Scripts/build-dumprendertree:
867 * Scripts/build-testkjs:
868 * Scripts/build-webkit:
869 * Scripts/run-javascriptcore-tests:
870 * Scripts/run-sunspider:
871 * Scripts/run-webkit-tests:
872 * Scripts/webkitdirs.pm:
874 2007-10-22 Andrew Wellington <proton@wiretapped.net>
876 Reviewed by Mark Rowe.
878 Fix for local database support after r26879
879 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
881 * Scripts/build-webkit:
883 2007-10-22 Holger Freyther <zecke@selfish.org>
885 Reviewed by Simon Hausmann <hausmann@kde.org>.
887 - Do not build testkjs as an application bundle. This is
888 needed for run-javascriptcore-tests on OSX.
889 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
890 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
891 as we do not have -rpath on OSX.
893 * DumpRenderTree/qt/DumpRenderTree.pro:
894 * Scripts/run-webkit-tests:
896 2007-10-22 Simon Hausmann <hausmann@kde.org>
900 Fix support for Signed-off-by detection in prepare-ChangeLog
901 --git-commit. The Signed-off-by tag does not appear in the header
902 but usually at the end.
904 * Scripts/prepare-ChangeLog:
906 2007-10-21 Mark Rowe <mrowe@apple.com>
910 Fix run-javascriptcore-tests for Gtk.
912 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
914 2007-10-20 Eric Seidel <eric@webkit.org>
918 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
920 2007-10-20 Eric Seidel <eric@webkit.org>
924 Add improved argument handling to run-sunspider, including
925 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
926 Also re-factor code into subroutines
928 * Scripts/build-dumprendertree: removed bogus comments
929 * Scripts/build-testkjs: Added.
930 * Scripts/run-javascriptcore-tests: use build-testkjs
931 * Scripts/run-sunspider: improved argument handling, abstraction
932 * Scripts/run-webkit-tests: improved abstraction
934 2007-10-20 Matt Lilek <webkit@mattlilek.com>
936 Not reviewed, Windows build fix.
938 * DumpRenderTree/win/EventSender.cpp:
941 2007-10-20 Darin Adler <darin@apple.com>
943 Reviewed by Tim Hatcher.
945 - http://bugs.webkit.org/show_bug.cgi?id=15544
946 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
947 not rely on Apple-specific key codes
949 * DumpRenderTree/mac/EventSendingController.mm:
950 (-[EventSendingController keyDown:withModifiers:]):
951 Added named key "rightArrow". Later we could have a whole table of these.
952 Also tweaked modifiers code a little.
954 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
956 2007-10-19 Darin Adler <darin@apple.com>
960 - http://bugs.webkit.org/show_bug.cgi?id=15566
961 possible fix for leak seen in DumpRenderTree
963 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
964 Delete the item if it's not put on the queue, since the caller has
965 no way of knowing that. Would be better to have the parameter type
966 be auto_ptr to express the fact that we take ownership.
970 * Drosera/mac/main.m: Add missing include.
972 2007-10-19 Kevin McCullough <kmccullough@apple.com>
976 - This change should be identical but for some reason was not working
979 * Scripts/prepare-ChangeLog:
981 2007-10-19 Kevin McCullough <kmccullough@apple.com>
983 Reviewed by Oliver and Tim.
985 - Made use of RetainPtr to avoid retain and release issues and moved the
986 log function to DebuggerDocumentPlatform, which seems to be a more
987 logical place for it to live.
988 - Also moved knownServers from the ServerConnection to
989 DebuggerApplication to match the Windows code and because it makes sense
990 that a connection knows its own server but not all of them.
992 * Drosera/mac/DebuggerClient.h: Moved the log function to
993 DebuggerDocumentPlatform.
994 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
995 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
996 call for the server name up from the ServerConnection class.
997 (-[DebuggerClient dealloc]):
998 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
999 for the server name up from the ServerConnection.
1000 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
1001 (DebuggerDocument::platformPause):
1002 (DebuggerDocument::platformResume):
1003 (DebuggerDocument::platformStepInto):
1004 (DebuggerDocument::platformEvaluateScript):
1005 (DebuggerDocument::getPlatformCurrentFunctionStack):
1006 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1007 (DebuggerDocument::platformValueForScopeVariableNamed):
1008 (DebuggerDocument::platformLog): Log directly from here. No need to call
1010 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
1011 way I see it, a ServerConnection should only know about its connection
1012 and the group of all possible servers should be kept by the
1014 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
1015 currentServerName, it makes sense that the connection should know that
1017 (-[ServerConnection currentServerName]):
1019 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1023 - Integrated changes from mac drosera. Recently I've encapsulated
1024 out the server connection object from the rest of Drosera because
1025 it is very platform dependent right now and RPC is not implemented on
1026 windows. This functionality, of communicating with the WebKit server
1027 is the next area I will be focusing on in Windows.
1029 - Other changes and cleanup were made to organize the code and add notes
1030 on which parts still need work. Also some mac code is added and
1031 commented out, to act as pseudocode for the logic of those parts.
1033 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
1035 * Drosera/config.h: Added whitespace.
1036 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
1037 these files got moved into Drosera.h/cpp
1038 * Drosera/win/DebuggerApplication.h: Removed.
1039 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
1040 happened here to better match the logic flow of the same code on the
1041 mac side and to use the new ServerConnection class.
1042 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
1043 (DebuggerClient::initWithServerName): Initializer that will set up the
1044 class to use a ServerConnection object. This was necessary so I could
1045 create a DebuggerClient without having to initilaize it at
1047 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
1048 will be the UIDelegate and FrameLoadDelegate.
1049 (DebuggerClient::AddRef): For IUnknown.
1050 (DebuggerClient::Release): For IUnknown.
1051 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
1052 this still needs to set the global context of the server, but
1053 IWebFrame does not have an accessor for the global context yet.
1054 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
1055 this is a pass through for the same function in the document.
1056 (DebuggerClient::didReceiveTitle): Unimplemented part of
1057 FrameLoadDelegate this would change the title of the window.
1058 (DebuggerClient::createWebViewWithRequest): Part of the
1059 FrameLoadDelegate. This is about new windows via Window.open() and
1060 how their delegates are set.
1061 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
1062 UIDelegate. Just a debug function for printing messages.
1063 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
1064 because the Client should be the UIDelegate and FrameLoadDelegate
1065 to match the delegates on mac.
1066 (DebuggerClient::webViewLoaded): Added accessor method.
1067 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
1068 forgotten to add this file before. This is where the platform
1069 dependent versions of the Documents functions live. Most of these are
1070 unimplemented because some piece of functionality does not exist on
1072 (DebuggerDocument::platformPause):
1073 (DebuggerDocument::platformResume):
1074 (DebuggerDocument::platformStepInto):
1075 (DebuggerDocument::platformEvaluateScript):
1076 (DebuggerDocument::getPlatformCurrentFunctionStack):
1077 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1078 (DebuggerDocument::platformValueForScopeVariableNamed):
1079 (DebuggerDocument::platformLog):
1080 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
1081 responsibilities becaue they belong in the Client. Also I laid the
1082 groundwork for attaching Drosera to a WebKit process
1083 (attachWndProc): Now if a server is selected the Client becomes it's
1085 (Drosera::Drosera): Added the construction of the Client and dictionary
1087 (Drosera::initUI): This is no longer the delegates, the Client is.
1088 (Drosera::webViewLoaded): Now asks the Client instead of holding local
1090 (Drosera::applicationDidFinishLaunching): Placeholder for needed
1091 notification registration when it's possible to implement.
1092 (Drosera::serverLoaded): Ditto
1093 (Drosera::serverUnloaded): Ditto
1094 (Drosera::attach): Attach Drosera to the WebKit server.
1095 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
1098 (Drosera::knownServers):
1099 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
1100 and added the ServerConnection.
1101 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
1102 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
1103 Most of the functions are completely unimlemented because they cannot
1104 connect with the WebKit server, because one does not exist on Windows
1106 (ServerConnection::initWithServerName):
1107 (ServerConnection::~ServerConnection):
1108 (ServerConnection::setGlobalContext):
1109 (ServerConnection::pause):
1110 (ServerConnection::resume):
1111 (ServerConnection::stepInto):
1112 (ServerConnection::switchToServerNamed):
1113 (ServerConnection::applicationTerminating):
1114 (ServerConnection::serverConnectionDidDie):
1115 (ServerConnection::currentFrame):
1116 * Drosera/win/ServerConnection.h: Added. Ditto.
1117 (ServerConnection::ServerConnection):
1119 2007-10-19 Alice Liu <alice.liu@apple.com>
1123 Fix for these broken layout tests on Windows:
1125 fast/forms/focus-selection-input.html
1126 fast/forms/focus-selection-textarea.html
1127 fast/forms/select-accesskey.html
1129 * DumpRenderTree/win/EventSender.cpp:
1131 correct the VK code for alt key.
1133 2007-10-19 Eric Seidel <eric@webkit.org>
1135 Reviewed by Mark Rowe.
1137 Make the GtkLauncher code slightly more readable.
1139 * GtkLauncher/main.cpp:
1140 (setupMainMenu): Added.
1141 (setupMainWindowUI): Added.
1144 2007-10-19 Maciej Stachowiak <mjs@apple.com>
1146 Rubber stamped by Adam.
1148 - don't delay-load WebKit in DumpRenderTree.
1150 * DumpRenderTree/win/DumpRenderTree.vcproj:
1152 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
1154 Reviewed by Adam Roben.
1156 - fix <rdar://problem/5313523>
1157 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1159 * DumpRenderTree/mac/DumpRenderTree.mm:
1160 (dump): Changed to use _responseMIMEType.
1162 2007-10-17 Adam Roben <aroben@apple.com>
1164 Make it possible to have Windows-specific tests and results
1166 When searching for tests to run and the Skipped file, we will only
1167 look in platform/win and the cross-platform directory. When looking
1168 for expected results, we will look in platform/win, then
1169 platform/mac-leopard, then platform/mac, then finally the
1170 cross-platform directory.
1174 * Scripts/run-webkit-tests:
1175 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
1176 searching in the cross-platform directory.
1177 (sub buildPlatformHierarchy): Removed some unneeded calls to
1180 2007-10-17 Adam Roben <aroben@apple.com>
1182 Add back the call to register WebKit that we had before WebKitInitializer existed
1184 This is needed to ensure that the right WebKit is used when
1185 instantiating COM objects.
1189 * DumpRenderTree/win/debug_internal.vsprops: Define
1190 DEBUG_WEBKIT_HAS_SUFFIX.
1191 * DumpRenderTree/win/DumpRenderTree.cpp:
1194 2007-10-17 Adam Roben <aroben@apple.com>
1196 Import File::Basename in webkitdirs since we use it
1198 * Scripts/webkitdirs.pm:
1200 2007-10-17 Kevin McCullough <kmccullough@apple.com>
1202 - Updated the tiger leaks list to make the internal bots green.
1204 * Scripts/run-webkit-tests:
1206 2007-10-17 Adam Roben <aroben@apple.com>
1208 Build fix for VC++ Express
1210 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1213 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1217 - Minor mac improvements based on observations I made while implementing the
1220 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1221 then hand it to the Client who will retain it, it should just be the client who
1222 creates and owns the server.
1223 (-[DebuggerApplication attach:]):
1224 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1225 * Drosera/mac/DebuggerClient.mm: Creates the server.
1226 (-[DebuggerClient initWithServerName:]):
1227 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1228 can instead forward declare what it needs.
1230 2007-10-16 Darin Adler <darin@apple.com>
1232 Reviewed by Geoff Garen.
1234 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1235 want to turn failing tests into platform-specific test results. Also did a
1236 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1237 would take the type of results into account only some of the time.
1239 2007-10-16 Adam Roben <aroben@apple.com>
1241 Add a new nightly launcher script for Windows
1243 This new script is for versions of Safari that don't delay-load
1244 WebKit. I had to make FindSafari be able to print out the nightly
1245 launcher script on stdout because Windows shell scripts can't capture
1246 the output from a command into an environment variable.
1250 * FindSafari/FindSafari.cpp:
1251 (_tmain): Added /printSafariLauncher option.
1252 * Scripts/run-webkit-nightly.cmd: Added.
1254 2007-10-16 Adam Roben <aroben@apple.com>
1256 Replace WebKitInitializer with FindSafari
1258 We now rely on setting the PATH environment variable to tell Windows
1259 where to find WebKit and its dependencies (similar to
1260 DYLD_FRAMEWORK_PATH on Mac).
1262 This change also make DumpRenderTree no longer delay-load WebKit.
1266 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1268 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1269 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1270 WebKitInitializer, don't delay-load WebKit.
1271 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1272 * Scripts/run-webkit-tests: Ditto.
1273 * Scripts/webkitdirs.pm:
1274 (sub setPathForRunningWebKitApp): Added.
1275 * WebKitInitializer/WebKitInitializer.cpp: Removed.
1276 * WebKitInitializer/WebKitInitializer.h: Removed.
1277 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1278 * WebKitInitializer/debug.vsprops: Removed.
1279 * WebKitInitializer/debug_internal.vsprops: Removed.
1280 * WebKitInitializer/release.vsprops: Removed.
1282 2007-10-16 Adam Roben <aroben@apple.com>
1284 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1286 http://bugs.webkit.org/show_bug.cgi?id=15532
1288 FindSafari simply prints the location of an installed Safari.exe on
1293 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1296 (getInstalledWebKitDirectory):
1298 * FindSafari/FindSafari.vcproj: Added.
1299 * Scripts/webkitdirs.pm:
1300 (sub installedSafariPath): Added. Calls FindSafari on Windows.
1302 2007-10-16 Adam Roben <aroben@apple.com>
1304 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1306 Reviewed by Kevin McCullough.
1308 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1309 when referring to WebKit.dll.
1310 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1311 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1312 * DumpRenderTree/win/release.vsprops: Ditto.
1313 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1314 never have a _debug suffix on WebKit.dll.
1315 * WebKitInitializer/WebKitInitializer.cpp:
1316 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1318 * WebKitInitializer/debug_internal.vsprops: Added
1319 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1321 2007-10-16 Darin Adler <darin@apple.com>
1325 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1326 Remove now-unneeded control/alt key hack; the tests have been updated.
1328 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1330 - Updated leaks list because our internal bot upgraded it's version of leopard and
1331 one of the leaks was fixed between that revision and the bot's previous version of
1334 * Scripts/run-webkit-tests:
1336 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1340 - I encapsulated out the server connecton functionality because it is a specific part
1341 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1342 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1343 Windows. So the majority of this patch is moving preexisting functionality.
1345 - Also I removed the prefix header and changed to use config.h because it is more
1346 standard on how we use config.h in windows and it didn't make much sense to keep
1347 the prefix header and the config.h
1349 * Drosera/DebuggerDocument.cpp:
1350 (DebuggerDocument::DebuggerDocument):
1351 * Drosera/DebuggerDocument.h:
1353 * Drosera/mac/DebuggerApplication.mm:
1354 (-[DebuggerApplication attach:]):
1355 * Drosera/mac/DebuggerClient.h:
1356 * Drosera/mac/DebuggerClient.mm:
1357 (-[DebuggerClient initWithServerConnection:]):
1358 (-[DebuggerClient dealloc]):
1359 (-[DebuggerClient windowDidLoad]):
1360 (-[DebuggerClient windowWillClose:]):
1361 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1362 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1363 * Drosera/mac/DebuggerDocumentPlatform.mm:
1364 (DebuggerDocument::platformPause):
1365 (DebuggerDocument::platformResume):
1366 (DebuggerDocument::platformStepInto):
1367 (DebuggerDocument::platformEvaluateScript):
1368 (DebuggerDocument::getPlatformCurrentFunctionStack):
1369 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1370 (DebuggerDocument::platformValueForScopeVariableNamed):
1371 (DebuggerDocument::platformLog):
1372 * Drosera/mac/Drosera.pch: Removed.
1373 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1374 * Drosera/mac/ServerConnection.h: Added.
1375 * Drosera/mac/ServerConnection.mm: Added.
1376 (-[ServerConnection initWithServerName:]):
1377 (-[ServerConnection dealloc]):
1378 (-[ServerConnection setGlobalContext:]):
1379 (-[ServerConnection pause]):
1380 (-[ServerConnection resume]):
1381 (-[ServerConnection stepInto]):
1382 (-[ServerConnection switchToServerNamed:]):
1383 (-[ServerConnection applicationTerminating:]):
1384 (-[ServerConnection serverConnectionDidDie:]):
1385 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1386 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1387 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1388 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1389 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1390 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1391 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1392 (-[ServerConnection currentFrame]):
1393 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1394 (-[ServerConnection knownServers]):
1396 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1400 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1401 Script to automatically search nightly builds for regressions (bisect-builds)
1403 * Scripts/bisect-builds: Added.
1405 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1409 - New JavaScript benchmark
1410 http://bugs.webkit.org/show_bug.cgi?id=15515
1412 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1413 current development or release build of JavaScriptCore.
1415 2007-10-15 Mark Rowe <mrowe@apple.com>
1419 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1421 * Scripts/webkitdirs.pm:
1422 - Change checkArgv to remove the options from @ARGV to prevent
1423 them from interfering with further option processing.
1424 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1425 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1426 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1427 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1429 2007-10-15 Darin Adler <darin@apple.com>
1433 - added logging of window.prompt and window.confirm
1435 * DumpRenderTree/mac/UIDelegate.mm:
1436 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1437 Implement the recommended delegate rather than the deprecated one.
1438 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1440 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1443 * DumpRenderTree/win/UIDelegate.h:
1444 * DumpRenderTree/win/UIDelegate.cpp:
1445 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1446 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1447 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1448 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1450 2007-10-15 Alice Liu <alice.liu@apple.com>
1452 Reviewed by Sam Weinig.
1454 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1456 * DumpRenderTree/win/DumpRenderTree.cpp:
1457 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1458 (main): allocate the global policy delegate for DRT's custom use
1459 * DumpRenderTree/win/DumpRenderTree.vcproj:
1460 Adding files to project
1461 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1462 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1463 (LayoutTestController::setCustomPolicyDelegate):
1464 set the webview's policy delegate to DRT's custom one if the test requests it.
1465 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1466 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1467 (PolicyDelegate::PolicyDelegate):
1468 (PolicyDelegate::QueryInterface):
1469 (PolicyDelegate::AddRef):
1470 (PolicyDelegate::Release):
1471 (PolicyDelegate::decidePolicyForNavigationAction):
1472 * DumpRenderTree/win/PolicyDelegate.h: Added.
1473 (PolicyDelegate::decidePolicyForNewWindowAction):
1474 (PolicyDelegate::decidePolicyForMIMEType):
1475 (PolicyDelegate::unableToImplementPolicyWithError):
1477 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1481 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1482 when querying for QMAKE_MKSPECS.
1484 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1486 Reviewed by Adam Roben.
1488 Fix run-webkit-tests is too greedy calculating platform hierarchy
1489 http://bugs.webkit.org/show_bug.cgi?id=15465
1491 Fix run-webkit-tests being too greedy in trying to split the platform name up
1492 causing it to try and find tests in every directory above the first "-" in the
1493 path to the LayoutTests
1495 * Scripts/run-webkit-tests:
1497 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1501 http://bugs.webkit.org/show_bug.cgi?id=15006
1502 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1503 to reduce code duplication.
1505 * Scripts/build-webkit:
1506 * Scripts/webkitdirs.pm:
1507 buildQMakeProject() renamed to buildQMakeQtProject().
1508 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1509 unused $colorize has been removed.
1511 === Start merge of feature-branch 2007-10-12 ===
1513 2007-10-08 Eric Seidel <eric@webkit.org>
1515 Reviewed by Mark Rowe.
1517 * Scripts/build-webkit: add --help, remove unused --color
1519 2007-10-07 Eric Seidel <eric@webkit.org>
1523 * Drosera/mac/DebuggerDocumentPlatform.mm:
1524 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1526 2007-10-03 Rob Buis <buis@kde.org>
1530 Adapt to changed location of Ahem font.
1532 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1534 2007-10-02 Eric Seidel <eric@webkit.org>
1536 Reviewed by Adam Roben.
1538 Make pixel tests more useful!
1539 Finally fix the image diff 0.00% mystery problem
1540 Highlight any image differences in the image diff.
1541 Add a link from image diffs back to original test file.
1543 * DumpRenderTree/mac/ImageDiff.m:
1544 (compareImages): highlight any differences
1545 (computePercentageDifferent): round to two decimal places
1546 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1548 2007-10-02 Eric Seidel <eric@webkit.org>
1550 Reviewed by Alexey Proskuryakov.
1552 * Scripts/run-webkit-tests: print the % image difference on main results page
1554 2007-10-02 Mark Rowe <mrowe@apple.com>
1558 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1560 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1561 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1563 2007-10-01 Mark Rowe <mrowe@apple.com>
1565 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1567 2007-09-25 Eric Seidel <eric@webkit.org>
1569 Reviewed by Mark Rowe.
1571 DerivedSources.make was finding "ENABLE_SVG" in the string
1572 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1575 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1577 2007-09-25 Mark Rowe <mrowe@apple.com>
1579 Rubber-stamped by Eric.
1581 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1582 This makes it possible to automate nightly builds for the feature-branch.
1584 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1586 Rubber stamped by Mark.
1588 Enable svg experimental features as default here in feature-branch.
1590 * Scripts/build-webkit:
1592 2007-06-29 Antti Koivisto <antti@apple.com>
1596 Add VIDEO flag for timed media features
1598 * Scripts/build-webkit
1600 === End merge of feature-branch 2007-10-12 ===
1602 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1606 - Updated rational for the leaks list to be more clear.
1608 * Scripts/run-webkit-tests:
1610 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1612 Rubber Stamp by Sam.
1614 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1615 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1617 * Scripts/run-webkit-tests:
1619 2007-10-10 Simon Hausmann <hausmann@kde.org>
1623 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1624 includes are needed for INT_MAX, std::auto_ptr and the like.
1626 * DumpRenderTree/qt/main.cpp:
1628 2007-10-09 Lars Knoll <lars@trolltech.com>
1632 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1634 * DumpRenderTree/qt/jsobjects.cpp:
1635 (LayoutTestController::encodeHostName):
1636 (LayoutTestController::decodeHostName):
1637 * DumpRenderTree/qt/jsobjects.h:
1639 2007-10-09 Lars Knoll <lars@trolltech.com>
1643 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.
1645 * DumpRenderTree/qt/DumpRenderTree.cpp:
1646 (WebCore::WebPage::createFrame):
1647 (WebCore::DumpRenderTree::DumpRenderTree):
1648 (WebCore::DumpRenderTree::titleChanged):
1649 * DumpRenderTree/qt/DumpRenderTree.h:
1650 * DumpRenderTree/qt/jsobjects.cpp:
1651 (LayoutTestController::reset):
1652 * DumpRenderTree/qt/jsobjects.h:
1654 2007-10-09 Lars Knoll <lars@trolltech.com>
1658 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1660 * DumpRenderTree/qt/DumpRenderTree.h:
1661 * DumpRenderTree/qt/jsobjects.cpp:
1662 (LayoutTestController::clearBackForwardList):
1663 * DumpRenderTree/qt/jsobjects.h:
1665 2007-10-09 Lars Knoll <lars@trolltech.com>
1669 make --git-reviewer work again.
1671 * Scripts/prepare-ChangeLog:
1673 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1675 Rubber stamped by Eric.
1677 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1678 show the current link inside the statusbar.
1679 This shows how to make use of this signal and allows to easily test
1680 http://bugs.webkit.org/show_bug.cgi?id=15299.
1682 * GtkLauncher/main.cpp:
1686 2007-10-05 Lars Knoll <lars@trolltech.com>
1688 add proper error messages to the FrameLoaderClient.
1689 Implement ChromeClientQt::closeWindowSoon and
1690 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1691 Some fixes in DRT to make it work correctly with multiple windows.
1695 * DumpRenderTree/qt/DumpRenderTree.cpp:
1696 (WebCore::DumpRenderTree::DumpRenderTree):
1697 (WebCore::DumpRenderTree::createWindow):
1698 (WebCore::DumpRenderTree::windowCount):
1699 * DumpRenderTree/qt/DumpRenderTree.h:
1700 * DumpRenderTree/qt/jsobjects.cpp:
1701 (LayoutTestController::maybeDump):
1702 (LayoutTestController::windowCount):
1703 * DumpRenderTree/qt/jsobjects.h:
1705 2007-10-05 Lars Knoll <lars@trolltech.com>
1707 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1708 Add support for layoutTextController.setCanOpenWindows() to DRT
1709 fixing another 2 test cases in fast/dom/Window.
1713 * DumpRenderTree/qt/DumpRenderTree.cpp:
1714 (WebCore::WebPage::WebPage):
1715 (WebCore::WebPage::createWindow):
1716 (WebCore::DumpRenderTree::resetJSObjects):
1717 (WebCore::DumpRenderTree::createWindow):
1718 * DumpRenderTree/qt/DumpRenderTree.h:
1719 * DumpRenderTree/qt/DumpRenderTree.pro:
1720 * DumpRenderTree/qt/jsobjects.cpp:
1721 (LayoutTestController::LayoutTestController):
1722 (LayoutTestController::reset):
1723 * DumpRenderTree/qt/jsobjects.h:
1724 * DumpRenderTree/qt/main.cpp:
1725 * DumpRenderTree/qt/testplugin.cpp: Added.
1726 * DumpRenderTree/qt/testplugin.h: Added.
1728 2007-10-04 Sam Weinig <sam@webkit.org>
1730 Rubber stamped by Adam.
1732 Remove empty directories.
1734 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1735 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1737 2007-10-03 Darin Adler <darin@apple.com>
1741 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1742 we find the internal libraries in the libraries directory. This
1743 is helpful for Safari team engineers at Apple.
1745 2007-10-03 Adam Roben <aroben@apple.com>
1747 Update the location of AHEM___.TTF after r25968
1751 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1753 2007-10-03 Alp Toker <alp@atoker.com>
1757 http://bugs.webkit.org/show_bug.cgi?id=14726
1758 [gtk] API design. Mapping the WebView delegates to signals.
1760 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1762 * GtkLauncher/main.cpp:
1766 (menuMainBackCallback):
1767 (menuMainForwardCallback):
1770 2007-10-03 Lars Knoll <lars@trolltech.com>
1774 This fixes --strict mode in run-webkit-tests again after
1775 the platform dependent test results have been moved.
1777 * Scripts/run-webkit-tests:
1779 2007-10-03 Lars Knoll <lars@trolltech.com>
1783 remove the hack in run-webkit-tests that forced text only test
1784 to be taken from the platform independent dir. It was only left
1785 there from early days.
1787 Remove platform dependent results for tests that are text only nowadays,
1788 and add one platform dependent result for a text only test that requires it.
1790 * Scripts/run-webkit-tests:
1792 2007-10-03 Lars Knoll <lars@trolltech.com>
1796 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1798 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1799 (WebCore::WebFrame::WebFrame):
1800 (WebCore::WebPage::WebPage):
1801 (WebCore::WebPage::createFrame):
1802 (WebCore::WebPage::javaScriptAlert):
1803 (WebCore::WebPage::javaScriptConsoleMessage):
1804 (WebCore::DumpRenderTree::DumpRenderTree):
1805 (WebCore::DumpRenderTree::~DumpRenderTree):
1806 (WebCore::DumpRenderTree::open):
1807 (WebCore::DumpRenderTree::readStdin):
1808 (WebCore::DumpRenderTree::resetJSObjects):
1809 (WebCore::DumpRenderTree::initJSObjects):
1810 (WebCore::DumpRenderTree::dumpFramesAsText):
1811 (WebCore::DumpRenderTree::dump):
1812 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1813 (WebCore::DumpRenderTree::layoutTestController):
1814 (WebCore::DumpRenderTree::eventSender):
1815 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1816 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1817 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1818 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1819 (HackWebFrame::mousePressEvent):
1820 (HackWebFrame::mouseReleaseEvent):
1821 (HackWebFrame::mouseMoveEvent):
1822 (HackWebFrame::HackWebFrame):
1823 (HackWebFrame::~HackWebFrame):
1824 (LayoutTestController::LayoutTestController):
1825 (LayoutTestController::reset):
1826 (LayoutTestController::maybeDump):
1827 (LayoutTestController::waitUntilDone):
1828 (LayoutTestController::notifyDone):
1829 (LayoutTestController::dumpEditingCallbacks):
1830 (LayoutTestController::queueReload):
1831 (LayoutTestController::provisionalLoad):
1832 (LayoutTestController::timerEvent):
1833 (EventSender::EventSender):
1834 (EventSender::mouseDown):
1835 (EventSender::mouseUp):
1836 (EventSender::mouseMoveTo):
1837 (EventSender::leapForward):
1838 (EventSender::keyDown):
1839 (EventSender::frameUnderMouse):
1840 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1841 (LayoutTestController::isLoading):
1842 (LayoutTestController::setLoading):
1843 (LayoutTestController::shouldDumpAsText):
1844 (LayoutTestController::shouldDumpChildrenAsText):
1845 (LayoutTestController::shouldWaitUntilDone):
1846 (LayoutTestController::dumpAsText):
1847 (LayoutTestController::dumpChildFramesAsText):
1848 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1852 * Scripts/run-webkit-tests:
1854 2007-10-03 Mark Rowe <mrowe@apple.com>
1856 Reviewed by Alp Toker.
1858 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1859 should take precedence over QTDIR when determining which port we are working with.
1861 * Scripts/webkitdirs.pm:
1863 2007-10-02 Adam Roben <aroben@apple.com>
1865 Add keychain to the list of default packages to install
1867 Rubberstamped by Sam.
1869 * CygwinDownloader/cygwin-downloader.py:
1870 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1872 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1876 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1877 Also makes WebCore regression test case logic work when using git.
1879 * Scripts/prepare-ChangeLog:
1880 (reviewerAndDescriptionForGitCommit): Added.
1882 2007-10-02 Lars Knoll <lars@trolltech.com>
1886 Add API to retrieve the frame name from QWebFrame.
1887 Implement support for DRT::dumpChildrenAsText.
1889 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1890 (WebCore::DumpRenderTree::dumpFramesAsText):
1891 (WebCore::DumpRenderTree::dump):
1892 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1893 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1894 (LayoutTestController::LayoutTestController):
1895 (LayoutTestController::reset):
1896 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1898 2007-10-02 Lars Knoll <lars@trolltech.com>
1902 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1904 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1905 (WebCore::DumpRenderTree::readStdin):
1907 2007-10-02 Mark Rowe <mrowe@apple.com>
1911 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1913 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1914 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1916 2007-10-02 Mark Rowe <mrowe@apple.com>
1918 Rubber-stamped by Maciej.
1920 Configuration changes from build.webkit.org. The major change is refactoring to work
1921 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1924 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1925 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1926 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1927 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1928 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1929 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1930 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1931 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1933 2007-10-02 Lars Knoll <lars@trolltech.com>
1937 Add support for eventSender.mouseMove to DRT.
1938 Fixes fast/css/hover-affects-child.html
1940 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1941 (EventSender::mouseMoveTo):
1943 2007-10-01 Mark Rowe <mrowe@apple.com>
1945 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1947 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1951 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1953 * Scripts/svn-apply:
1954 (gitdiff2svndiff): Ignore lines beginning with "new file".
1955 * Scripts/svn-unapply:
1956 (gitdiff2svndiff): Ditto.
1958 2007-09-30 George Staikos <staikos@kde.org>
1960 Qt build fix (Mac OS X specific)
1962 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1964 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1968 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1969 Remove Bakefiles from svn.
1971 * GtkLauncher/Bakefiles.bkgen: Removed.
1972 * GtkLauncher/ENV: Removed.
1973 * GtkLauncher/gdklauncher.bkl: Removed.
1974 * GtkLauncher/mk: Removed.
1975 * Scripts/regenerate-makefiles: Removed.
1977 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1981 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1983 * Scripts/run-webkit-tests:
1985 2007-09-26 Adam Roben <aroben@apple.com>
1987 Make not finding an installed WebKit non-fatal
1989 What really matters is that we are able to load WebKit and its
1990 dependencies, not whether we think we've found an installed WebKit.
1994 * WebKitInitializer/WebKitInitializer.cpp:
1995 (getWebViewCLSID): Use new LOG_WARNING macro.
1996 (getInstalledWebKitDirectory): Ditto.
1997 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1999 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
2001 2007-09-26 Adam Roben <aroben@apple.com>
2003 Committed this file before saving it
2005 * WebKitInitializer/debug_internal.vsprops:
2007 2007-09-26 Adam Roben <aroben@apple.com>
2009 Load WebKit and its dependencies manually so they come from DllDirectory
2011 I had to change WebKitInitializer to use malloc/free instead of
2012 new/delete to avoid pulling in WebKit (and its dependencies) early
2013 through use of fastMalloc.
2017 * WebKitInitializer/WebKitInitializer.cpp:
2018 (getStringValue): Changed to use malloc/free.
2019 (getInstalledWebKitDirectory): Ditto.
2020 (initializeWebKit): Call SetDllDirectory first, then load all of
2021 WebKit's dependencies manually, finally followed by WebKit itself.
2022 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
2023 configuration to match our other projects.
2024 * WebKitInitializer/debug_internal.vsprops: Added.
2026 2007-09-25 Adam Roben <aroben@apple.com>
2028 Actually define DEBUG/NDEBUG so that we load WebKit correctly
2030 Rubberstamped by Sam.
2032 * WebKitInitializer/WebKitInitializer.vcproj:
2034 2007-09-25 Adam Roben <aroben@apple.com>
2036 Make DumpRenderTree delay-load its dependencies
2038 This lets WebKitInitializer re-route the dependencies to be loaded out
2039 of the Safari installation directory.
2041 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
2042 same thing), since we can't import the kCFAllocatorDefault symbol when
2043 delay-loading CoreFoundation.dll.
2045 Rubberstamped by Sam.
2047 * DumpRenderTree/win/DumpRenderTree.cpp:
2049 (javaScriptThreads):
2050 * DumpRenderTree/win/DumpRenderTree.vcproj:
2051 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2052 (LayoutTestController::setWaitToDump):
2054 2007-09-25 Adam Roben <aroben@apple.com>
2056 Pull ole32.lib into WebKitInitializer
2058 Rubberstamped by Sam.
2060 * WebKitInitializer/WebKitInitializer.vcproj:
2062 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2066 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2067 LGPL'ed files contain incorrect FSF address
2071 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2075 Make svn-apply and svn-unapply work with git-diff formatted patches.
2077 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
2078 (gitdiff2svndiff): Added.
2079 * Scripts/svn-unapply: Ditto.
2080 (gitdiff2svndiff): Added.
2082 2007-09-25 Adam Roben <aroben@apple.com>
2084 Pull advapi32.lib into WebKitInitializer
2086 This is needed to get the registry functions we use.
2088 Rubberstamped by Sam.
2090 * WebKitInitializer/WebKitInitializer.vcproj:
2092 2007-09-25 Adam Roben <aroben@apple.com>
2094 Add python and rsync to cygwin-downloader
2096 Our build slaves need this, and it can't hurt for everyone else to
2101 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
2102 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2104 2007-09-25 Adam Roben <aroben@apple.com>
2106 Add WebKitInitializer and use it in DumpRenderTree
2108 WebKitInitializer is a static library that has one function,
2109 initializeWebKit(). This registers WebKit and sets up the DLL search
2110 path so that WebKit's dependencies that are installed with Safari can
2115 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
2116 DumpRenderTree depend on it.
2117 * DumpRenderTree/win/DumpRenderTree.cpp:
2118 (initialize): Call initializeWebKit.
2119 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
2120 WebKitInitializer.lib.
2121 * WebKitInitializer/WebKitInitializer.cpp: Added.
2124 (getInstalledWebKitDirectory):
2126 * WebKitInitializer/WebKitInitializer.h: Added.
2127 * WebKitInitializer/WebKitInitializer.vcproj: Added.
2128 * WebKitInitializer/debug.vsprops: Added.
2129 * WebKitInitializer/release.vsprops: Added.
2131 2007-09-25 Adam Roben <aroben@apple.com>
2133 Make run-webkit-tests respect set-webkit-configuration
2137 * Scripts/run-webkit-tests: Initialize $configuration to whatever
2138 set-webkit-configuration was last set to.
2140 2007-09-25 Mark Rowe <mrowe@apple.com>
2142 Rubber-stamped by Eric.
2144 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2145 This makes it possible to automate nightly builds for the feature-branch.
2147 2007-09-25 Adam Roben <aroben@apple.com>
2149 A couple of fixes/enhancements to update-webkit-*-libs
2151 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
2152 to tell update-webkit-support-libraries where it should find the
2153 WebKitSupportLibrary.zip file you downloaded.
2155 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
2160 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
2161 to $auxiliaryLibsURL and removed an irrelevant comment.
2162 * Scripts/update-webkit-support-libs:
2164 2007-09-25 Adam Treat <treat@kde.org>
2166 Reviewed by Simon and Lars.
2168 Refactors and cleans up Qt DRT member variable names, member variable
2169 initialization, style fixes and general code cleanup.
2171 Adds queueReload slot to LayoutTestController that some tests require.
2173 Subclasses QWebFrame to make sure that all frames have an associated
2174 LayoutTestController JS window object.
2176 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
2177 aren't dumped twice.
2181 Together, this patch fixes some 20+ layout tests in QtWebKit.
2183 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2184 (WebCore::WebFrame::WebFrame):
2185 (WebCore::WebPage::WebPage):
2186 (WebCore::WebPage::createFrame):
2187 (WebCore::DumpRenderTree::DumpRenderTree):
2188 (WebCore::DumpRenderTree::open):
2189 (WebCore::DumpRenderTree::readStdin):
2190 (WebCore::DumpRenderTree::initJSObjects):
2191 (WebCore::DumpRenderTree::dump):
2192 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2193 (WebCore::DumpRenderTree::layoutTestController):
2194 (WebCore::DumpRenderTree::eventSender):
2195 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2196 (LayoutTestController::LayoutTestController):
2197 (LayoutTestController::reset):
2198 (LayoutTestController::maybeDump):
2199 (LayoutTestController::waitUntilDone):
2200 (LayoutTestController::notifyDone):
2201 (LayoutTestController::queueReload):
2202 (LayoutTestController::provisionalLoad):
2203 (EventSender::EventSender):
2204 (EventSender::mouseDown):
2205 (EventSender::mouseUp):
2206 (EventSender::mouseMoveTo):
2207 (EventSender::frameUnderMouse):
2208 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2209 (LayoutTestController::isLoading):
2210 (LayoutTestController::setLoading):
2211 (LayoutTestController::dumpAsText):
2212 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2215 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2218 - Reverted an accidentally checked in file.
2220 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2222 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2225 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2227 * DumpRenderTree/win/DumpRenderTree.vcproj:
2228 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2230 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
2232 Rubber stamped by Adam.
2234 * GdkLauncher: Removed.
2235 * GdkLauncher/Bakefiles.bkgen: Removed.
2236 * GdkLauncher/ENV: Removed.
2237 * GdkLauncher/GdkLauncher.pro: Removed.
2238 * GdkLauncher/gdklauncher.bkl: Removed.
2239 * GdkLauncher/main.cpp: Removed.
2240 * GdkLauncher/mk: Removed.
2241 * GdkLauncher/simple.svg: Removed.
2242 * GdkLauncher/text.html: Removed.
2243 * GtkLauncher: Added.
2244 * GtkLauncher/GdkLauncher.pro: Removed.
2245 * GtkLauncher/GtkLauncher.pro: Added.
2246 * GtkLauncher/main.cpp:
2247 (updateWindowTitle):
2249 * Scripts/build-webkit:
2250 * Scripts/regenerate-makefiles:
2251 * Scripts/run-javascriptcore-tests:
2252 * Scripts/run-launcher:
2253 * Scripts/run-webkit-tests:
2254 * Scripts/webkitdirs.pm:
2256 2007-09-21 Timothy Hatcher <timothy@apple.com>
2260 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2262 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2263 This is tested by plugins/root-object-premature-delete-crash.html.
2265 * DumpRenderTree/mac/ObjCController.m:
2266 (-[ObjCController accessStoredWebScriptObject]):
2268 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2272 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2274 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2275 (FrameLoadDelegate::FrameLoadDelegate):
2277 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
2281 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2282 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2284 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2285 Now isQt() and isGdk() use global variables that are only set once.
2287 An array of all the parameters is now given to build-dumprender which includes
2288 the platform on linux.
2290 * Scripts/build-dumprendertree:
2291 * Scripts/run-webkit-tests:
2292 * Scripts/webkitdirs.pm:
2294 2007-09-19 Adam Roben <aroben@apple.com>
2296 Rubberstamped by Hyatt.
2298 * Spinneret: Removed.
2300 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
2302 Reviewed by David Kilzer.
2304 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2306 2007-09-18 Sam Weinig <sam@webkit.org>
2308 Add JSRetainPtr.h #include to fix some builds.
2310 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2312 2007-09-18 Mike Hommey <glandium@debian.org>
2316 * Scripts/prepare-ChangeLog:
2317 - Properly parse GECOS field.
2318 - Use git configuration for user name and email when appropriate.
2320 2007-09-17 Sam Weinig <sam@webkit.org>
2324 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2326 2007-09-17 Sam Weinig <sam@webkit.org>
2328 Reviewed by Adam Roben.
2330 Share more code between mac and windows DRT.
2331 - GCController is now shared.
2332 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2334 * DumpRenderTree/GCController.cpp:
2335 * DumpRenderTree/win/DumpRenderTree.cpp:
2336 * DumpRenderTree/win/DumpRenderTree.vcproj:
2337 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2338 (FrameLoadDelegate::FrameLoadDelegate):
2339 (FrameLoadDelegate::~FrameLoadDelegate):
2340 (FrameLoadDelegate::windowScriptObjectAvailable):
2341 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2342 * DumpRenderTree/win/GCController.cpp: Removed.
2343 * DumpRenderTree/win/GCController.h: Removed.
2344 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2345 (GCController::collect):
2346 (GCController::collectOnAlternateThread):
2347 (GCController::getJSObjectCount):
2348 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2349 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2351 2007-09-17 Sam Weinig <sam@webkit.org>
2353 Reviewed by Adam Roben.
2355 Begin sharing code between mac and windows DRT.
2356 - both now share LayoutTestController.h/cpp and implement platform dependant
2357 operations in LayoutTestControllerMac/Win.
2358 - DumpRenderTree.h is now shared.
2359 - WorkQueue and WorkQueueItem are also shared.
2361 * DumpRenderTree/DumpRenderTree.h:
2362 * DumpRenderTree/LayoutTestController.cpp:
2363 * DumpRenderTree/win/DumpRenderTree.cpp:
2365 (dumpFrameScrollPosition):
2369 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2370 * DumpRenderTree/win/DumpRenderTree.vcproj:
2371 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2372 * DumpRenderTree/win/EditingDelegate.cpp:
2373 (EditingDelegate::shouldBeginEditingInDOMRange):
2374 (EditingDelegate::shouldEndEditingInDOMRange):
2375 (EditingDelegate::shouldInsertNode):
2376 (EditingDelegate::shouldInsertText):
2377 (EditingDelegate::shouldDeleteDOMRange):
2378 (EditingDelegate::shouldChangeSelectedDOMRange):
2379 (EditingDelegate::shouldApplyStyle):
2380 (EditingDelegate::shouldChangeTypingStyle):
2381 (EditingDelegate::doPlatformCommand):
2382 (EditingDelegate::webViewDidBeginEditing):
2383 (EditingDelegate::webViewDidChange):
2384 (EditingDelegate::webViewDidEndEditing):
2385 (EditingDelegate::webViewDidChangeTypingStyle):
2386 (EditingDelegate::webViewDidChangeSelection):
2387 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2388 * DumpRenderTree/win/LayoutTestController.h: Removed.
2389 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2390 (LayoutTestController::addDisallowedURL):
2391 (LayoutTestController::clearBackForwardList):
2392 (LayoutTestController::copyDecodedHostName):
2393 (LayoutTestController::copyEncodedHostName):
2394 (LayoutTestController::display):
2395 (LayoutTestController::keepWebHistory):
2396 (LayoutTestController::notifyDone):
2397 (LayoutTestController::queueBackNavigation):
2398 (LayoutTestController::queueForwardNavigation):
2399 (jsStringRefToWString):
2400 (LayoutTestController::queueLoad):
2401 (LayoutTestController::queueReload):
2402 (LayoutTestController::queueScript):
2403 (LayoutTestController::setAcceptsEditing):
2404 (LayoutTestController::setCustomPolicyDelegate):
2405 (LayoutTestController::setMainFrameIsFirstResponder):
2406 (LayoutTestController::setTabKeyCyclesThroughElements):
2407 (LayoutTestController::setUseDashboardCompatibilityMode):
2408 (LayoutTestController::setUserStyleSheetEnabled):
2409 (LayoutTestController::setUserStyleSheetLocation):
2410 (LayoutTestController::setWindowIsKey):
2411 (waitUntilDoneWatchdogFired):
2412 (LayoutTestController::setWaitToDump):
2413 (LayoutTestController::windowCount):
2414 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2415 (FrameLoadDelegate::didReceiveTitle):
2416 (FrameLoadDelegate::processWork):
2417 (FrameLoadDelegate::locationChangeDone):
2418 (FrameLoadDelegate::windowScriptObjectAvailable):
2419 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2420 * DumpRenderTree/win/WorkQueue.h: Removed.
2421 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2422 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2423 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2424 (jsStringRefToWString):
2426 (ScriptItem::invoke):
2428 2007-09-17 Sam Weinig <sam@webkit.org>
2430 Reviewed by Adam Roben.
2432 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2434 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2435 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2436 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2437 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2438 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2439 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2440 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2441 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2442 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2443 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2444 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2445 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2446 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2447 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2448 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2449 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2450 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2451 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2452 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2453 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2454 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2455 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2456 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2457 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2458 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2459 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2460 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2461 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2462 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2463 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2464 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2465 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2466 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2467 * DumpRenderTree/win: Added.
2468 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2469 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2470 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2471 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2472 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2473 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2474 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2475 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2476 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2477 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2478 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2479 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2480 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2481 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2482 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2483 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2484 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2485 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2486 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2487 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2488 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2489 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2490 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2491 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2492 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2493 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2495 2007-09-15 Mark Rowe <mrowe@apple.com>
2497 Build fix for DumpRenderTree.
2499 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2501 2007-09-14 Sam Weinig <sam@webkit.org>
2503 Rubber stamped by Adam Roben.
2505 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2506 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2507 kept in the WaitUntilDoneDelegate file for the time being.
2509 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2511 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2512 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2513 (UIDelegate::QueryInterface):
2514 (UIDelegate::AddRef):
2515 (UIDelegate::Release):
2516 (UIDelegate::hasCustomMenuImplementation):
2517 (UIDelegate::setFrame):
2518 (UIDelegate::webViewFrame):
2519 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2520 (UIDelegate::webViewAddMessageToConsole):
2521 (UIDelegate::doDragDrop):
2522 (UIDelegate::webViewGetDlgCode):
2523 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2524 (UIDelegate::UIDelegate):
2525 (UIDelegate::createWebViewWithRequest):
2526 (UIDelegate::webViewShow):
2527 (UIDelegate::webViewClose):
2528 (UIDelegate::webViewFocus):
2529 (UIDelegate::webViewUnfocus):
2530 (UIDelegate::webViewFirstResponder):
2531 (UIDelegate::makeFirstResponder):
2532 (UIDelegate::setStatusText):
2533 (UIDelegate::webViewStatusText):
2534 (UIDelegate::webViewAreToolbarsVisible):
2535 (UIDelegate::setToolbarsVisible):
2536 (UIDelegate::webViewIsStatusBarVisible):
2537 (UIDelegate::setStatusBarVisible):
2538 (UIDelegate::webViewIsResizable):
2539 (UIDelegate::setResizable):
2540 (UIDelegate::setContentRect):
2541 (UIDelegate::webViewContentRect):
2542 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2543 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2544 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2545 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2546 (UIDelegate::mouseDidMoveOverElement):
2547 (UIDelegate::contextMenuItemsForElement):
2548 (UIDelegate::validateUserInterfaceItem):
2549 (UIDelegate::shouldPerformAction):
2550 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2551 (UIDelegate::willPerformDragDestinationAction):
2552 (UIDelegate::dragSourceActionMaskForPoint):
2553 (UIDelegate::willPerformDragSourceAction):
2554 (UIDelegate::contextMenuItemSelected):
2555 (UIDelegate::trackCustomPopupMenu):
2556 (UIDelegate::measureCustomMenuItem):
2557 (UIDelegate::drawCustomMenuItem):
2558 (UIDelegate::addCustomMenuDrawingData):
2559 (UIDelegate::cleanUpCustomMenuDrawingData):
2560 (UIDelegate::canTakeFocus):
2561 (UIDelegate::takeFocus):
2562 (UIDelegate::registerUndoWithTarget):
2563 (UIDelegate::removeAllActionsWithTarget):
2564 (UIDelegate::setActionTitle):
2567 (UIDelegate::canUndo):
2568 (UIDelegate::canRedo):
2569 (UIDelegate::webViewResizerRect):
2570 (UIDelegate::webViewDrawResizer):
2571 (UIDelegate::webViewScrolled):
2572 (UIDelegate::webViewShouldInterruptJavaScript):
2573 (UIDelegate::webViewReceivedFocus):
2574 (UIDelegate::webViewLostFocus):
2575 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2576 (FrameLoadDelegate::QueryInterface):
2577 (FrameLoadDelegate::AddRef):
2578 (FrameLoadDelegate::Release):
2579 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2580 (FrameLoadDelegate::didCommitLoadForFrame):
2581 (FrameLoadDelegate::didReceiveTitle):
2582 (FrameLoadDelegate::processWork):
2584 (FrameLoadDelegate::locationChangeDone):
2585 (FrameLoadDelegate::didFinishLoadForFrame):
2586 (FrameLoadDelegate::didFailLoadWithError):
2587 (FrameLoadDelegate::windowScriptObjectAvailable):
2588 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2589 (FrameLoadDelegate::FrameLoadDelegate):
2591 2007-09-14 Sam Weinig <sam@webkit.org>
2593 Reviewed by Kevin McCullough.
2595 Move mac specific globals in to mac/DumpRenderTreeMac.h
2597 * DumpRenderTree/DumpRenderTree.h:
2598 * DumpRenderTree/DumpRenderTree.mm: Removed.
2599 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2600 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2601 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2603 2007-09-14 Brady Eidson <beidson@apple.com>
2605 Rubberstamped by Weinig
2607 You know, Sam, some of us use case-sensitve filesystems...
2609 * DumpRenderTree/DumpRenderTree.h:
2610 * DumpRenderTree/mac/UIDelegate.mm:
2612 2007-09-14 Sam Weinig <sam@webkit.org>
2614 Rubber stamped by Adam Roben.
2616 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2617 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2619 * DumpRenderTree/AppleScriptController.h: Removed.
2620 * DumpRenderTree/AppleScriptController.m: Removed.
2621 * DumpRenderTree/DumpRenderTree.h:
2622 * DumpRenderTree/DumpRenderTree.mm:
2623 (startJavaScriptThreads):
2624 (stopJavaScriptThreads):
2626 (setDefaultColorProfileToRGB):
2627 (makeLargeMallocFailSilently):
2628 (dumpFrameScrollPosition):
2632 (-[DumpRenderTreeWindow isKeyWindow]):
2633 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2634 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2635 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2636 * DumpRenderTree/EditingDelegate.h: Removed.
2637 * DumpRenderTree/EditingDelegate.m: Removed.
2638 * DumpRenderTree/EventSendingController.h: Removed.
2639 * DumpRenderTree/EventSendingController.m: Removed.
2640 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2641 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2642 * DumpRenderTree/GCController.mm: Removed.
2643 * DumpRenderTree/ImageDiff.m: Removed.
2644 * DumpRenderTree/LayoutTestController.cpp:
2645 (LayoutTestController::LayoutTestController):
2646 (dumpAsTextCallback):
2647 (dumpBackForwardListCallback):
2648 (dumpChildFramesAsTextCallback):
2649 (dumpChildFrameScrollPositionsCallback):
2650 (dumpDOMAsWebArchiveCallback):
2651 (dumpEditingCallbacksCallback):
2652 (dumpFrameLoadCallbacksCallback):
2653 (dumpResourceLoadCallbacksCallback):
2654 (dumpSelectionRectCallback):
2655 (dumpSourceAsWebArchiveCallback):
2656 (dumpTitleChangesCallback):
2657 (repaintSweepHorizontallyCallback):
2658 (setCallCloseOnWebViewsCallback):
2659 (setCanOpenWindowsCallback):
2660 (setCloseRemainingWindowsWhenCompleteCallback):
2661 (testRepaintCallback):
2662 (addFileToPasteboardOnDragCallback):
2663 (waitUntilDoneCallback):
2664 * DumpRenderTree/LayoutTestController.h:
2665 (LayoutTestController::dumpAsText):
2666 (LayoutTestController::setDumpAsText):
2667 (LayoutTestController::dumpBackForwardList):
2668 (LayoutTestController::setDumpBackForwardList):
2669 (LayoutTestController::dumpChildFrameScrollPositions):
2670 (LayoutTestController::setDumpChildFrameScrollPositions):
2671 (LayoutTestController::dumpChildFramesAsText):
2672 (LayoutTestController::setDumpChildFramesAsText):
2673 (LayoutTestController::dumpDOMAsWebArchive):
2674 (LayoutTestController::setDumpDOMAsWebArchive):
2675 (LayoutTestController::dumpSelectionRect):
2676 (LayoutTestController::setDumpSelectionRect):
2677 (LayoutTestController::dumpSourceAsWebArchive):
2678 (LayoutTestController::setDumpSourceAsWebArchive):
2679 (LayoutTestController::dumpTitleChanges):
2680 (LayoutTestController::setDumpTitleChanges):
2681 (LayoutTestController::dumpEditingCallbacks):
2682 (LayoutTestController::setDumpEditingCallbacks):
2683 (LayoutTestController::dumpResourceLoadCallbacks):
2684 (LayoutTestController::setDumpResourceLoadCallbacks):
2685 (LayoutTestController::dumpFrameLoadCallbacks):
2686 (LayoutTestController::setDumpFrameLoadCallbacks):
2687 (LayoutTestController::addFileToPasteboardOnDrag):
2688 (LayoutTestController::setAddFileToPasteboardOnDrag):
2689 (LayoutTestController::callCloseOnWebViews):
2690 (LayoutTestController::setCallCloseOnWebViews):
2691 (LayoutTestController::canOpenWindows):
2692 (LayoutTestController::setCanOpenWindows):
2693 (LayoutTestController::closeRemainingWindowsWhenComplete):
2694 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2695 (LayoutTestController::testRepaint):
2696 (LayoutTestController::setTestRepaint):
2697 (LayoutTestController::testRepaintSweepHorizontally):
2698 (LayoutTestController::setTestRepaintSweepHorizontally):
2699 (LayoutTestController::waitToDump):
2700 (LayoutTestController::windowIsKey):
2701 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2702 * DumpRenderTree/NavigationController.h: Removed.
2703 * DumpRenderTree/NavigationController.m: Removed.
2704 * DumpRenderTree/ObjCController.h: Removed.
2705 * DumpRenderTree/ObjCController.m: Removed.
2706 * DumpRenderTree/ObjCPlugin.h: Removed.
2707 * DumpRenderTree/ObjCPlugin.m: Removed.
2708 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2709 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2710 * DumpRenderTree/PolicyDelegate.h: Removed.
2711 * DumpRenderTree/PolicyDelegate.m: Removed.
2712 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2713 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2714 * DumpRenderTree/TextInputController.h: Removed.
2715 * DumpRenderTree/TextInputController.m: Removed.
2716 * DumpRenderTree/UIDelegate.h: Removed.
2717 * DumpRenderTree/UIDelegate.mm: Removed.
2718 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2719 * DumpRenderTree/mac: Added.
2720 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2721 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2722 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2723 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2724 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2725 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2726 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2727 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2728 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2729 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2730 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2731 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2732 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2733 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2734 (-[EditingDelegate webViewDidBeginEditing:]):
2735 (-[EditingDelegate webViewDidChange:]):
2736 (-[EditingDelegate webViewDidEndEditing:]):
2737 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2738 (-[EditingDelegate webViewDidChangeSelection:]):
2739 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2740 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2741 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2742 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2743 (-[FrameLoadDelegate init]):
2744 (-[FrameLoadDelegate dealloc]):
2745 (-[FrameLoadDelegate processWork:]):
2746 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2747 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2748 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2749 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2750 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2751 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2752 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2753 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2754 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2755 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2756 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2757 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2758 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2759 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2760 (-[FrameLoadDelegate webView:willCloseFrame:]):
2761 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2762 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2763 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2764 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2765 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2766 (LayoutTestController::notifyDone):
2767 (LayoutTestController::setWindowIsKey):
2768 (LayoutTestController::setWaitToDump):
2769 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2770 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2771 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2772 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2773 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2774 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2775 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2776 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2777 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2778 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2779 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2780 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2781 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2782 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2783 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2784 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2785 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2786 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2787 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2788 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2789 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2790 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2791 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2792 (-[UIDelegate webViewFocus:]):
2793 (-[UIDelegate webView:createWebViewWithRequest:]):
2794 (-[UIDelegate webViewClose:]):
2795 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2797 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2801 - Changing Win version of Drosera work with recent changes.
2803 * Drosera/DebuggerDocument.cpp:
2804 * Drosera/DebuggerDocument.h:
2805 * Drosera/mac/DebuggerDocumentPlatform.mm:
2806 (NSStringCreateWithJSStringRef):
2807 (JSValueRefCreateWithNSString):
2808 * Drosera/win/DebuggerClient.cpp:
2809 (DebuggerClient::stepInto):
2810 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2812 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2816 - Moved isPaused into the JS for efficiency and simplicity.
2818 * Drosera/DebuggerDocument.cpp:
2819 (DebuggerDocument::DebuggerDocument):
2820 (DebuggerDocument::pauseCallback):
2821 (DebuggerDocument::resumeCallback):
2822 (DebuggerDocument::isPaused):
2823 (DebuggerDocument::staticFunctions):
2824 * Drosera/DebuggerDocument.h:
2825 * Drosera/console.js:
2826 * Drosera/debugger.js:
2827 * Drosera/mac/DebuggerClient.mm:
2828 (-[DebuggerClient validateUserInterfaceItem:]):
2830 2007-09-13 Sam Weinig <sam@webkit.org>
2832 Rubber stamped by Darin.
2834 Make DumpRenderTree more cross platform ready.
2835 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2836 - Use CF types instead of NS objects.
2839 * DumpRenderTree/DumpRenderTree.h:
2840 * DumpRenderTree/DumpRenderTree.mm:
2844 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2845 * DumpRenderTree/EditingDelegate.m:
2846 * DumpRenderTree/FrameLoadDelegate.h:
2847 * DumpRenderTree/FrameLoadDelegate.mm:
2848 (-[FrameLoadDelegate init]):
2849 (-[FrameLoadDelegate dealloc]):
2850 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2851 * DumpRenderTree/GCController.cpp: Added.
2852 (GCController::GCController):
2853 (GCController::~GCController):
2855 (collectOnAlternateThreadCallback):
2856 (getJSObjectCountCallback):
2857 (GCController::makeWindowObject):
2858 (GCController::getJSClass):
2859 (GCController::staticFunctions):
2860 * DumpRenderTree/GCController.h:
2861 * DumpRenderTree/GCController.mm:
2862 (GCController::collect):
2863 (GCController::collectOnAlternateThread):
2864 (GCController::getJSObjectCount):
2865 * DumpRenderTree/LayoutTestController.cpp:
2866 (LayoutTestController::makeWindowObject):
2867 (LayoutTestController::getJSClass):
2868 * DumpRenderTree/LayoutTestController.h:
2869 * DumpRenderTree/LayoutTestControllerMac.mm:
2870 (LayoutTestController::addDisallowedURL):
2871 (waitUntilDoneWatchdogFired):
2872 (LayoutTestController::waitUntilDone):
2873 * DumpRenderTree/ResourceLoadDelegate.m:
2874 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2876 2007-09-12 Sam Weinig <sam@webkit.org>
2878 Reviewed by Stephanie.
2880 Fix leaks in mac DumpRenderTree.
2882 * DumpRenderTree/FrameLoadDelegate.mm:
2883 (-[FrameLoadDelegate init]): Initalize in the correct order.
2884 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2885 * DumpRenderTree/LayoutTestController.cpp:
2886 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2887 (encodeHostNameCallback): ditto.
2888 * DumpRenderTree/LayoutTestController.h:
2889 * DumpRenderTree/LayoutTestControllerMac.mm:
2890 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2891 (LayoutTestController::copyEncodedHostName): ditto
2892 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2894 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2898 - 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.
2900 * Scripts/run-webkit-tests:
2902 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2906 - Simplified code paths and extracted out functions to increase encapsulation.
2908 * Drosera/DebuggerDocument.cpp:
2909 (DebuggerDocument::breakpointEditorHTMLCallback):
2910 (DebuggerDocument::isPausedCallback):
2911 (DebuggerDocument::pauseCallback):
2912 (DebuggerDocument::resumeCallback):
2913 (DebuggerDocument::stepIntoCallback):
2914 (DebuggerDocument::evaluateScriptCallback):
2915 (DebuggerDocument::currentFunctionStackCallback):
2916 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2917 (DebuggerDocument::valueForScopeVariableNamedCallback):
2918 (DebuggerDocument::logCallback):
2919 * Drosera/DebuggerDocument.h:
2920 (DebuggerDocument::getPaused):
2921 * Drosera/mac/DebuggerClient.mm:
2922 (-[DebuggerClient pause:]):
2923 (-[DebuggerClient resume:]):
2924 (-[DebuggerClient stepInto:]):
2925 (-[DebuggerClient stepOver:]):
2926 (-[DebuggerClient stepOut:]):
2927 (-[DebuggerClient showConsole:]):
2928 (-[DebuggerClient closeCurrentFile:]):
2929 (-[DebuggerClient validateUserInterfaceItem:]):
2930 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2931 (+[NSString stringOrNilFromWebScriptResult:]):
2932 (DebuggerDocument::platformPause):
2933 (DebuggerDocument::platformResume):
2934 (DebuggerDocument::platformStepInto):
2935 (DebuggerDocument::platformEvaluateScript):
2936 (DebuggerDocument::getPlatformCurrentFunctionStack):
2937 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2938 (DebuggerDocument::platformValueForScopeVariableNamed):
2939 (DebuggerDocument::platformLog):
2940 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2942 2007-09-12 Sam Weinig <sam@webkit.org>
2944 Build fix for Buildbot.
2946 * DumpRenderTree/DumpRenderTree.mm:
2949 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2953 - Updated the leaks list for leopard to help identify regressions.
2955 * Scripts/run-webkit-tests:
2957 2007-09-12 Sam Weinig <sam@webkit.org>
2959 Rubber stamped by Darin.
2961 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2963 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2964 * DumpRenderTree/DumpRenderTree.m: Removed.
2965 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2966 (stopJavaScriptThreads): Fix initialization.
2967 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2968 (dumpRenderTree): Ditto.
2970 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2972 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2973 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2974 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2975 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2976 (-[FrameLoadDelegate init]):
2977 (-[FrameLoadDelegate dealloc]):
2978 (-[FrameLoadDelegate processWork:]):
2979 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2980 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2981 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2983 * DumpRenderTree/LayoutTestController.cpp: Added.
2984 (LayoutTestController::LayoutTestController):
2985 (LayoutTestController::~LayoutTestController):
2986 (dumpAsTextCallback):
2987 (dumpBackForwardListCallback):
2988 (dumpChildFramesAsTextCallback):
2989 (dumpChildFrameScrollPositionsCallback):
2990 (dumpDOMAsWebArchiveCallback):
2991 (dumpEditingCallbacksCallback):
2992 (dumpFrameLoadCallbacksCallback):
2993 (dumpResourceLoadCallbacksCallback):
2994 (dumpSelectionRectCallback):
2995 (dumpSourceAsWebArchiveCallback):
2996 (dumpTitleChangesCallback):
2997 (repaintSweepHorizontallyCallback):
2998 (setCallCloseOnWebViewsCallback):
2999 (setCanOpenWindowsCallback):
3000 (setCloseRemainingWindowsWhenCompleteCallback):
3001 (testRepaintCallback):
3002 (addFileToPasteboardOnDragCallback):
3003 (addDisallowedURLCallback):
3004 (clearBackForwardListCallback):
3005 (decodeHostNameCallback):
3007 (encodeHostNameCallback):
3008 (keepWebHistoryCallback):
3009 (notifyDoneCallback):
3010 (queueBackNavigationCallback):
3011 (queueForwardNavigationCallback):
3012 (queueLoadCallback):
3013 (queueReloadCallback):
3014 (queueScriptCallback):
3015 (setAcceptsEditingCallback):
3016 (setCustomPolicyDelegateCallback):
3017 (setMainFrameIsFirstResponderCallback):
3018 (setTabKeyCyclesThroughElementsCallback):
3019 (setUseDashboardCompatibilityModeCallback):
3020 (setUserStyleSheetEnabledCallback):
3021 (setUserStyleSheetLocationCallback):
3022 (setWindowIsKeyCallback):
3023 (waitUntilDoneCallback):
3024 (windowCountCallback):
3025 (LayoutTestController::makeWindowObject):
3026 (LayoutTestController::getLayoutTestControllerJSClass):
3027 (LayoutTestController::staticFunctions):
3028 * DumpRenderTree/LayoutTestController.h: Replaced.
3029 * DumpRenderTree/LayoutTestController.m: Removed.
3030 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
3031 (LayoutTestController::dumpAsText):
3032 (LayoutTestController::dumpBackForwardList):
3033 (LayoutTestController::dumpChildFramesAsText):
3034 (LayoutTestController::dumpChildFrameScrollPositions):
3035 (LayoutTestController::dumpDOMAsWebArchive):
3036 (LayoutTestController::dumpEditingCallbacks):
3037 (LayoutTestController::dumpFrameLoadCallbacks):
3038 (LayoutTestController::dumpResourceLoadCallbacks):
3039 (LayoutTestController::dumpSelectionRect):
3040 (LayoutTestController::dumpSourceAsWebArchive):
3041 (LayoutTestController::dumpTitleChanges):
3042 (LayoutTestController::repaintSweepHorizontally):
3043 (LayoutTestController::setCallCloseOnWebViews):
3044 (LayoutTestController::setCanOpenWindows):
3045 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3046 (LayoutTestController::testRepaint):
3047 (LayoutTestController::addFileToPasteboardOnDrag):
3048 (LayoutTestController::addDisallowedURL):
3049 (LayoutTestController::clearBackForwardList):
3050 (LayoutTestController::decodeHostName):
3051 (LayoutTestController::encodeHostName):
3052 (LayoutTestController::display):
3053 (LayoutTestController::keepWebHistory):
3054 (LayoutTestController::notifyDone):
3055 (LayoutTestController::queueBackNavigation):
3056 (LayoutTestController::queueForwardNavigation):
3057 (LayoutTestController::queueLoad):
3058 (LayoutTestController::queueReload):
3059 (LayoutTestController::queueScript):
3060 (LayoutTestController::setAcceptsEditing):
3061 (LayoutTestController::setCustomPolicyDelegate):
3062 (LayoutTestController::setMainFrameIsFirstResponder):
3063 (LayoutTestController::setTabKeyCyclesThroughElements):
3064 (LayoutTestController::setUseDashboardCompatibilityMode):
3065 (LayoutTestController::setUserStyleSheetEnabled):
3066 (LayoutTestController::setUserStyleSheetLocation):
3067 (LayoutTestController::setWindowIsKey):
3068 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
3069 (LayoutTestController::waitUntilDone):
3070 (LayoutTestController::windowCount):
3071 Use the JSCore API to implement the LayoutTestController.
3073 * DumpRenderTree/ObjCController.h:
3074 * DumpRenderTree/ObjCController.m:
3075 (+[ObjCController isSelectorExcludedFromWebScript:]):
3076 (+[ObjCController webScriptNameForSelector:]):
3077 (-[ObjCController accessStoredWebScriptObject]):
3078 (-[ObjCController storeWebScriptObject:]):
3079 (-[ObjCController dealloc]):
3080 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
3081 Move WebScriptObject tests to ObjCController.
3083 * DumpRenderTree/UIDelegate.m: Removed.
3084 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
3086 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
3087 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
3088 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
3089 (WorkQueueItem::~WorkQueueItem):
3090 (LoadItem::LoadItem):
3093 (ScriptItem::ScriptItem):
3094 (ScriptItem::script):
3095 * DumpRenderTree/WorkQueueItemMac.mm: Added.
3097 (ReloadItem::invoke):
3098 (ScriptItem::invoke):
3099 (BackForwardItem::invoke):
3100 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
3101 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
3104 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3108 - Updated Win side to take advantage of the platform separating changes.
3110 * Drosera/DebuggerDocument.cpp:
3111 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3112 * Drosera/DebuggerDocument.h:
3113 * Drosera/win/DebuggerClient.cpp:
3114 (DebuggerClient::pause):
3115 (DebuggerClient::resume):
3116 (DebuggerClient::stepInto):
3117 (DebuggerDocument::platformPause):
3118 (DebuggerDocument::platformResume):
3119 (DebuggerDocument::platformStepInto):
3120 (DebuggerDocument::platformEvaluateScript):
3121 (DebuggerDocument::getPlatformCurrentFunctionStack):
3122 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3123 (DebuggerDocument::platformValueForScopeVariableNamed):
3124 (DebuggerDocument::platformLog):
3125 * Drosera/win/DebuggerClient.h:
3126 * Drosera/win/Drosera.cpp:
3128 (Drosera::windowScriptObjectAvailable):
3129 (Drosera::initWithServerName):
3130 (Drosera::switchToServerNamed):
3131 * Drosera/win/Drosera.h:
3132 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3134 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3138 - Just doing the moves in a separate patch so the changes are easier to see.
3140 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
3141 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
3142 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
3143 * Drosera/win/DebuggerDocumentWin.h: Removed.
3144 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3146 2007-09-11 Sven Herzberg <sven@imendio.com>
3148 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
3149 http://bugs.webkit.org/show_bug.cgi?id=15176
3151 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
3152 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
3153 other paths eg. from jhbuild)
3155 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3159 - Made an order-of-deletion mistake.
3161 * Drosera/DebuggerDocument.h:
3162 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3163 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3164 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3165 * Drosera/mac/DebuggerClient.mm:
3166 (DebuggerDocument::platformPause):
3167 (DebuggerDocument::platformResume):
3168 (DebuggerDocument::platformStepInto):
3169 (DebuggerDocument::platformEvaluateScript):
3170 (DebuggerDocument::getPlatformCurrentFunctionStack):
3171 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3172 (DebuggerDocument::platformValueForScopeVariableNamed):
3173 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3175 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3179 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
3181 * Drosera/DebuggerDocument.cpp:
3182 (DebuggerDocument::DebuggerDocument):
3183 * Drosera/DebuggerDocument.h:
3184 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3185 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3186 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3187 * Drosera/mac/DebuggerApplication.mm:
3188 (-[DebuggerApplication attach:]):
3189 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
3190 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
3191 (DebuggerDocument::platformPause):
3192 (DebuggerDocument::platformResume):
3193 (DebuggerDocument::platformStepInto):
3194 (DebuggerDocument::platformEvaluateScript):
3195 (DebuggerDocument::getPlatformCurrentFunctionStack):
3196 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3197 (DebuggerDocument::platformValueForScopeVariableNamed):
3198 (DebuggerDocument::platformLog):
3199 * Drosera/mac/DebuggerDocumentMac.h: Removed.
3200 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3201 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3203 2007-09-09 Sam Weinig <sam@webkit.org>
3205 Reviewed by Mark Rowe.
3207 Remove 'objC' prefix from methods now in the ObjCController.
3209 * DumpRenderTree/ObjCController.m:
3210 (+[ObjCController isSelectorExcludedFromWebScript:]):
3211 (+[ObjCController webScriptNameForSelector:]):
3212 (-[ObjCController classNameOf:]):
3213 (-[ObjCController objectOfClass:]):
3214 (-[ObjCController identityIsEqual::]):
3215 (-[ObjCController longLongRoundTrip:]):
3216 (-[ObjCController unsignedLongLongRoundTrip:]):
3218 2007-09-09 Sam Weinig <sam@webkit.org>
3222 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
3223 - Move LayoutTestController into its own file.
3224 - Move Objective-C only functions on LayoutTestController into a new controller called the
3227 * DumpRenderTree/DumpRenderTree.h:
3228 * DumpRenderTree/DumpRenderTree.m:
3230 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3231 * DumpRenderTree/FrameLoadDelegate.m:
3232 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3233 * DumpRenderTree/LayoutTestController.h: Added.
3234 * DumpRenderTree/LayoutTestController.m: Added.
3235 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3236 (+[LayoutTestController webScriptNameForSelector:]):
3237 (-[LayoutTestController clearBackForwardList]):
3238 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3239 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3240 (-[LayoutTestController setCustomPolicyDelegate:]):
3241 (-[LayoutTestController keepWebHistory]):
3242 (-[LayoutTestController setCallCloseOnWebViews:]):
3243 (-[LayoutTestController setCanOpenWindows]):
3244 (-[LayoutTestController waitUntilDone]):
3245 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3246 (-[LayoutTestController notifyDone]):
3247 (-[LayoutTestController dumpAsText]):
3248 (-[LayoutTestController addFileToPasteboardOnDrag]):
3249 (-[LayoutTestController addDisallowedURL:]):
3250 (-[LayoutTestController setUserStyleSheetLocation:]):
3251 (-[LayoutTestController setUserStyleSheetEnabled:]):
3252 (-[LayoutTestController dumpDOMAsWebArchive]):
3253 (-[LayoutTestController dumpSourceAsWebArchive]):
3254 (-[LayoutTestController dumpSelectionRect]):
3255 (-[LayoutTestController dumpTitleChanges]):
3256 (-[LayoutTestController dumpBackForwardList]):
3257 (-[LayoutTestController windowCount]):
3258 (-[LayoutTestController dumpChildFrameScrollPositions]):
3259 (-[LayoutTestController dumpChildFramesAsText]):
3260 (-[LayoutTestController dumpEditingCallbacks]):
3261 (-[LayoutTestController dumpResourceLoadCallbacks]):
3262 (-[LayoutTestController dumpFrameLoadCallbacks]):
3263 (-[LayoutTestController setWindowIsKey:]):
3264 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3265 (-[LayoutTestController display]):
3266 (-[LayoutTestController testRepaint]):
3267 (-[LayoutTestController repaintSweepHorizontally]):
3268 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3269 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
3270 (-[LayoutTestController _doLoad:target:]):
3271 (-[LayoutTestController _doBackOrForwardNavigation:]):
3272 (-[LayoutTestController queueBackNavigation:]):
3273 (-[LayoutTestController queueForwardNavigation:]):
3274 (-[LayoutTestController queueReload]):
3275 (-[LayoutTestController queueScript:]):
3276 (-[LayoutTestController queueLoad:target:]):
3277 (-[LayoutTestController setAcceptsEditing:]):
3278 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3279 (-[LayoutTestController storeWebScriptObject:]):
3280 (-[LayoutTestController accessStoredWebScriptObject]):
3281 (-[LayoutTestController dealloc]):
3282 (-[LayoutTestController decodeHostName:]):
3283 (-[LayoutTestController encodeHostName:]):
3284 * DumpRenderTree/ObjCController.h: Added.
3285 * DumpRenderTree/ObjCController.m: Added.
3286 (+[ObjCController isSelectorExcludedFromWebScript:]):
3287 (+[ObjCController webScriptNameForSelector:]):
3288 (-[ObjCController objCClassNameOf:]):
3289 (-[ObjCController objCObjectOfClass:]):
3290 (-[ObjCController objCIdentityIsEqual::]):
3291 (-[ObjCController objCLongLongRoundTrip:]):
3292 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
3293 (-[ObjCController testWrapperRoundTripping:]):
3295 2007-09-07 Sam Weinig <sam@webkit.org>
3299 Strip trailing and leading space/newline characters from skiplist file names.
3301 * Scripts/run-webkit-tests:
3303 2007-09-06 Kevin McCullough <kmccullough@apple.com>
3307 - Changed Drosera to take advantage of the JSRetainPtr changes.
3309 * Drosera/DebuggerDocument.cpp:
3310 (DebuggerDocument::breakpointEditorHTML):
3311 (DebuggerDocument::evaluateScript):
3312 (DebuggerDocument::valueForScopeVariableNamed):
3313 (DebuggerDocument::log):
3314 (DebuggerDocument::windowScriptObjectAvailable):
3315 (DebuggerDocument::toJSArray):
3316 (DebuggerDocument::callFunctionOnObject):
3317 (DebuggerDocument::logException):
3318 * Drosera/mac/DebuggerDocumentMac.mm:
3319 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3320 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3321 (DebuggerDocument::platformEvaluateScript):
3322 (DebuggerDocument::getPlatformCurrentFunctionStack):
3323 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3324 (DebuggerDocument::platformValueForScopeVariableNamed):
3326 2007-09-05 Kevin McCullough <kmccullough@apple.com>
3328 Reviewed by Adam, Sam, Darin.
3330 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
3332 * Drosera/Debugger.h: Added.
3333 * Drosera/DebuggerDocument.cpp:
3334 (DebuggerDocument::breakpointEditorHTMLCallback):
3335 (DebuggerDocument::isPausedCallback):
3336 (DebuggerDocument::pauseCallback):
3337 (DebuggerDocument::resumeCallback):
3338 (DebuggerDocument::stepIntoCallback):
3339 (DebuggerDocument::evaluateScriptCallback):
3340 (DebuggerDocument::currentFunctionStackCallback):
3341 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3342 (DebuggerDocument::valueForScopeVariableNamedCallback):
3343 (DebuggerDocument::logCallback):
3344 (DebuggerDocument::breakpointEditorHTML):
3345 (DebuggerDocument::isPaused):
3346 (DebuggerDocument::pause):
3347 (DebuggerDocument::resume):
3348 (DebuggerDocument::stepInto):
3349 (DebuggerDocument::evaluateScript):
3350 (DebuggerDocument::currentFunctionStack):
3351 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3352 (DebuggerDocument::valueForScopeVariableNamed):
3353 (DebuggerDocument::log):
3354 (DebuggerDocument::toolbarPause):
3355 (DebuggerDocument::toolbarResume):
3356 (DebuggerDocument::toolbarStepInto):
3357 (DebuggerDocument::toolbarStepOver):
3358 (DebuggerDocument::toolbarStepOut):
3359 (DebuggerDocument::toolbarShowConsole):
3360 (DebuggerDocument::toolbarCloseCurrentFile):
3361 (DebuggerDocument::updateFileSource):
3362 (DebuggerDocument::didParseScript):
3363 (DebuggerDocument::willExecuteStatement):
3364 (DebuggerDocument::didEnterCallFrame):
3365 (DebuggerDocument::willLeaveCallFrame):
3366 (DebuggerDocument::exceptionWasRaised):
3367 (DebuggerDocument::windowScriptObjectAvailable):
3368 (DebuggerDocument::toJSArray):
3369 (DebuggerDocument::callGlobalFunction):
3370 (DebuggerDocument::callFunctionOnObject):
3371 (DebuggerDocument::getDroseraJSClass):
3372 (DebuggerDocument::staticFunctions):
3373 (DebuggerDocument::logException):
3374 * Drosera/DebuggerDocument.h:
3375 (DebuggerDocument::DebuggerDocument):
3376 * Drosera/ForwardingHeaders: Added.
3377 * Drosera/ForwardingHeaders/wtf: Added.
3378 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3380 * Drosera/console.html:
3381 * Drosera/console.js:
3382 * Drosera/debugger.js:
3383 * Drosera/mac/DebuggerApplication.mm:
3384 (-[DebuggerApplication attach:]):
3385 * Drosera/mac/DebuggerDocumentMac.h:
3386 * Drosera/mac/DebuggerDocumentMac.mm:
3387 (+[NSString stringOrNilFromWebScriptResult:]):
3388 (+[DebuggerClientMac log:]):
3389 (-[DebuggerClientMac initWithServerName:]):
3390 (-[DebuggerClientMac dealloc]):
3391 (-[DebuggerClientMac pause]):
3392 (-[DebuggerClientMac resume]):
3393 (-[DebuggerClientMac pause:]):
3394 (-[DebuggerClientMac resume:]):
3395 (-[DebuggerClientMac stepInto:]):
3396 (-[DebuggerClientMac stepOver:]):
3397 (-[DebuggerClientMac stepOut:]):
3398 (-[DebuggerClientMac showConsole:]):
3399 (-[DebuggerClientMac closeCurrentFile:]):
3400 (-[DebuggerClientMac validateUserInterfaceItem:]):
3401 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3402 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3403 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3404 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3405 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3406 (DebuggerDocument::platformPause):
3407 (DebuggerDocument::platformResume):
3408 (DebuggerDocument::platformStepInto):
3409 (DebuggerDocument::platformEvaluateScript):
3410 (DebuggerDocument::platformCurrentFunctionStack):
3411 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3412 (DebuggerDocument::platformValueForScopeVariableNamed):
3413 (DebuggerDocument::platformLog):
3414 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3416 2007-09-06 Sam Weinig <sam@webkit.org>
3418 Reviewed by Adam Roben.
3420 Register the WebKit DLL on initialization of the DumpRenderTree.
3422 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3425 2007-09-05 Sam Weinig <sam@webkit.org>
3429 Fix many layout test failures caused by r25364.
3430 Set text size to standand size at the begining of each test matching the mac.
3432 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3435 2007-09-04 Sam Weinig <sam@webkit.org>
3439 Fix for <rdar://problem/5382277>
3440 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3442 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3443 (textZoomInCallback):
3444 (textZoomOutCallback):
3446 2007-08-29 David Kilzer <ddkilzer@apple.com>
3450 Added case-insensitivity to checks for adding regression tests.
3452 * Scripts/prepare-ChangeLog:
3455 2007-08-28 David Kilzer <ddkilzer@apple.com>
3459 Ignore files in /resources/ subdirectories when creating a list of added tests.
3461 * Scripts/prepare-ChangeLog:
3464 2007-08-27 Kevin McCullough <kmccullough@apple.com>
3468 - Removed Leopard leaks list since all of those radars were fixed.
3470 * Scripts/run-webkit-tests:
3472 2007-08-27 Adam Roben <aroben@apple.com>
3474 Rubberstamped by Mark.
3476 * Scripts/pdevenv: Pass arguments along to devenv.com.
3478 2007-08-26 David Kilzer <ddkilzer@webkit.org>
3480 Reviewed by Mark Rowe.
3482 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3484 * Scripts/prepare-ChangeLog:
3485 (changeLogDate): Added.
3487 2007-08-24 Sam Weinig <sam@webkit.org>
3489 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3491 2007-08-24 Sam Weinig <sam@webkit.org>
3493 Rubber-stamped by Adam Roben.
3495 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3497 Rename COM DOM bindings to use Deprecated prefix.
3499 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3502 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
3505 (EditingDelegate::shouldBeginEditingInDOMRange):
3506 (EditingDelegate::shouldEndEditingInDOMRange):
3507 (EditingDelegate::shouldInsertNode):
3508 (EditingDelegate::shouldInsertText):
3509 (EditingDelegate::shouldDeleteDOMRange):
3510 (EditingDelegate::shouldChangeSelectedDOMRange):
3511 (EditingDelegate::shouldApplyStyle):
3512 (EditingDelegate::shouldChangeTypingStyle):
3513 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
3515 2007-08-24 Oliver Hunt <oliver@apple.com>
3519 WebDataSource::response can legitimately have a null response, so we
3520 must check that case.
3522 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3523 (queueLoadCallback):
3525 2007-08-23 Mitz Pettel <mitz@webkit.org>
3527 Reviewed by Darin and Adam.
3529 - DumpRenderTree changes to allow testing for
3530 http://bugs.webkit.org/show_bug.cgi?id=11756
3531 REGRESSION: link targeting a frame in another window does not work
3532 <rdar://problem/5286420>
3534 Use a frame group name for all WebViews created by DumpRenderTree to
3535 allow testing of cross-page frame lookup.
3537 * DumpRenderTree/DumpRenderTree.m:
3538 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].