1 2007-11-05 Mark Rowe <mrowe@apple.com>
3 Rubber-stamped by Alp Toker.
5 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
7 * GtkLauncher/main.cpp:
11 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
13 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
14 <http://bugs.webkit.org/show_bug.cgi?id=15830>
18 Restrict the range of nightly builds used by the bisect-builds script
19 based on the version of Safari and the version of Mac OS X being used.
21 Mac OS X 10.4: Safari 2.0: r11976 or newer
22 Mac OS X 10.4: Safari 3.0: r19992 or newer
24 Mac OS X 10.5: Safari 2.0: r19594 or newer
25 Mac OS X 10.5: Safari 3.0: r25124 or newer
27 * Scripts/bisect-builds:
28 (findMacOSXVersion): Added.
29 (makeNightlyList): Added argument to provide version of Mac OS X.
30 Restrict range of nightly builds based on Safari and Mac OS X versions.
32 2007-11-04 Kevin McCullough <kmccullough@apple.com>
36 - This patch involves several changes, all of them were noticed that
37 they were needed by the work being done in WebKit to get Drosera and
38 WebKit working together on Windows.
40 1) Added a debugger console for output messages.
41 2) Drosera now listens for the WebKit server (before, the server would
42 have to be running before Drosera was started.)
43 3) Fixed a bug where the WebView started out as 0x0 pixels.
44 4) Fixed a bug when there is no scope.
45 5) Added the HTML, JS, and CSS to the project file to make them easy to
47 6) Made the ServerConnection functions virtual.
49 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
50 for the WebKit server.
51 (DebuggerClient::DebuggerClient):
52 (DebuggerClient::~DebuggerClient):
53 (DebuggerClient::didFinishLoadForFrame):
54 (DebuggerClient::serverConnected):
55 (DebuggerClient::attemptToCreateServerConnection):
56 * Drosera/win/DebuggerClient.h: Ditto.
57 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
59 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
60 (DebuggerDocument::platformValueForScopeVariableNamed):
61 * Drosera/win/Drosera.cpp:
62 (_tWinMain): Added a console in debug for output messages.
63 (Drosera::Drosera): Listen for server.
64 (Drosera::initUI): The server now Initializes COM.
65 (Drosera::serverConnected): Part of the listening for the server.
66 (Drosera::attemptToCreateServerConnection): Ditto.
67 * Drosera/win/Drosera.h: New interface for listening for the server.
68 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
69 files to the VS project.
70 * Drosera/win/ServerConnection.cpp: Part of listening for the server
72 (ServerConnection::ServerConnection):
73 (ServerConnection::attemptToCreateServerConnection):
74 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
76 (ServerConnection::serverConnected):
78 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
82 http://bugs.webkit.org/show_bug.cgi?id=15832
83 fast/dom/gc-10.html crashes when run alone
85 Check for !done before using objects that can be already deallocated.
87 * DumpRenderTree/mac/EditingDelegate.mm:
88 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
89 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
90 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
91 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
92 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
93 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
94 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
95 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
96 (-[EditingDelegate webViewDidBeginEditing:]):
97 (-[EditingDelegate webViewDidChange:]):
98 (-[EditingDelegate webViewDidEndEditing:]):
99 (-[EditingDelegate webViewDidChangeTypingStyle:]):
100 (-[EditingDelegate webViewDidChangeSelection:]):
101 * DumpRenderTree/mac/FrameLoadDelegate.mm:
102 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
103 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
104 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
105 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
106 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
107 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
108 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
109 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
110 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
111 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
112 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
113 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
114 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
115 (-[FrameLoadDelegate webView:willCloseFrame:]):
116 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
117 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
118 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
119 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
120 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
121 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
122 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
123 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
124 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
126 2007-11-04 Mark Rowe <mrowe@apple.com>
128 Build fix. Don't use Carbon.h as the prefix header as it triggers
129 warnings that would otherwise be suppressed due to it being a system header.
131 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
133 2007-11-03 Maciej Stachowiak <mjs@apple.com>
135 Rubber stamped by Adam.
137 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
139 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
141 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
143 Sort files(...); sections of Xcode project files.
145 Rubber-stamped by Darin.
147 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
148 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
149 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
150 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
152 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
154 Script to sort "files(...);" sections in Xcode project.pbxproj files.
158 * Scripts/sort-Xcode-project-file: Added.
160 2007-11-02 Darin Adler <darin@apple.com>
162 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
164 2007-11-02 Darin Adler <darin@apple.com>
168 * Scripts/run-sunspider: Pass the "--base" option through.
170 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
171 the real script do that. Default configuration to Release to match run-sunspider
172 so we don't end up building Debug just to compare results.
174 2007-11-01 Adam Roben <aroben@apple.com>
176 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
180 * Scripts/commit-log-editor: Show all the directories beneath the
181 source root, instead of just the last one.
183 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
185 Reviewed by Adam Roben.
187 Print out an error message when the Windows build fails
188 and provide guidance on how to find out what went wrong.
190 * Scripts/build-webkit:
191 * Scripts/webkitdirs.pm:
193 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
195 Rubber-stamped by Adam Roben.
197 Rolled out r27326 - debug CRT seems to cause no problems after all.
199 * DumpRenderTree/win/DumpRenderTree.vcproj:
201 2007-10-31 Adam Roben <aroben@apple.com>
203 Switch the Debug configuration to using the non-debug CRT
209 * DumpRenderTree/win/DumpRenderTree.vcproj:
211 2007-10-31 Antti Koivisto <antti@apple.com>
215 Disable media tests when doing leak checking on Tiger.
216 They crash in QuickTime (rdar://problem/5537157).
218 * Scripts/run-webkit-tests:
220 2007-10-29 Antti Koivisto <antti@apple.com>
224 Build media support by default on OSX only.
226 * Scripts/build-webkit:
228 2007-10-30 Kevin McCullough <kmccullough@apple.com>
230 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
231 get caught by the pre-commit hooks.
233 2007-10-30 Kevin McCullough <kmccullough@apple.com>
237 - This is a collection of relatively unrelated changes and cleanups
238 to Drosera to prepare it for interacting with WebKit. A lot of these
239 changes are just correcting mistakes, for example removing included
240 headers that are no longer needed.
242 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
243 this will be needed by the DebuggerClient.
244 (DebuggerDocument::server):
245 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
246 * Drosera/win/DebuggerClient.cpp:
247 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
248 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
249 (DebuggerClient::createWebViewWithRequest): Added comment about its
251 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
253 (DebuggerClient::webViewLoaded): Moved.
254 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
255 file, since this was the only place it was used.
257 * Drosera/win/Drosera.h: Cleaned up the includes.
258 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
259 * Drosera/win/HelperFunctions.h: Removed.
261 2007-10-30 Kevin McCullough <kmccullough@apple.com>
265 - Small cleanup in the ServerConnection class.
267 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
268 and added an include.
269 (ServerConnection::currentFrame):
270 (ServerConnection::getCallerFrame):
271 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
272 made a pointer into a COMPtr, and cleaned up the includes.
274 2007-10-29 Timothy Hatcher <timothy@apple.com>
276 Reviewed by John Sullivan.
278 - Place the Localizable.strings file in mac or win directories
279 if that location exists.
280 - Also look for UI_STRING in .c files.
282 * Scripts/extract-localizable-strings:
284 2007-10-30 Kevin McCullough <kmccullough@apple.com>
288 - Set the eol-style to native and made all the line endings the same
289 so that I avoid messy diffs that show eol changes.
291 * Drosera/win/ServerConnection.cpp:
292 (ServerConnection::didParseSource):
293 (ServerConnection::didEnterCallFrame):
294 (ServerConnection::willExecuteStatement):
295 (ServerConnection::willLeaveCallFrame):
296 (ServerConnection::exceptionWasRaised):
298 2007-10-30 Kevin McCullough <kmccullough@apple.com>
302 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
303 functionality that could not have existed previously without the new
305 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
306 from a BSTR to a JSValueRef.
307 (DebuggerDocument::platformEvaluateScript): Implemented.
308 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
309 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
311 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
312 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
313 * Drosera/win/ServerConnection.cpp: Added a helper function.
314 (ServerConnection::getCallerFrame):
315 * Drosera/win/ServerConnection.h: Added a helper function.
317 2007-10-29 Kevin McCullough <kmccullough@apple.com>
319 updated reviewers for my previous changelog.
321 2007-10-29 Kevin McCullough <kmccullough@apple.com>
322 Reviewed by Maciej and Adam and Geoff.
324 - Minor mac-side improvements including moving a function to a more
325 appropriate location, fixing a warning, and correctly checking
328 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
329 (DebuggerDocument::willExecuteStatement):
330 (DebuggerDocument::didEnterCallFrame):
331 (DebuggerDocument::willLeaveCallFrame):
332 (DebuggerDocument::windowScriptObjectAvailable):
333 (DebuggerDocument::callFunctionOnObject):
334 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
335 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
336 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
337 because it doesn't require the ServerConnection at all.
338 (NSStringCreateWithJSStringRef): Made an argument const.
339 (JSValueRefCreateWithNSString): Made an argument const.
340 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
341 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
342 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
343 * Drosera/mac/ServerConnection.mm: Ditto.
344 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
346 2007-10-29 Sam Weinig <sam@webkit.org>
348 Reviewed by Adam Roben.
350 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
352 * DumpRenderTree/LayoutTestController.cpp:
353 (LayoutTestController::LayoutTestController):
354 (getGlobalFlagCallback):
355 (setGlobalFlagCallback):
356 (LayoutTestController::getJSClass):
357 (LayoutTestController::staticValues):
358 * DumpRenderTree/LayoutTestController.h:
359 (LayoutTestController::globalFlag):
360 (LayoutTestController::setGlobalFlag):
362 2007-10-29 Darin Adler <darin@apple.com>
366 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
367 resolution instead of its default.
369 2007-10-29 David Kilzer <ddkilzer@webkit.org>
371 Fixed showStatus() to print status for successfully resolved conflicts when using git.
373 Reviewed by Mark Rowe.
375 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
376 was successfully resolved, but this would not show any status because the change had
377 already been cached in the index using "git add". The solution is to add an optional
378 second argument to showStatus() which adds the "--cached" switch to the command.
380 * Scripts/resolve-ChangeLogs:
383 2007-10-28 Eric Seidel <eric@webkit.org>
385 Reviewed by Maciej and Geoff, in unison.
387 * Scripts/run-webkit-tests: remove broken --svg option
389 2007-10-28 Darin Adler <darin@apple.com>
393 * Scripts/run-sunspider: Default to "Release" configuration rather than
394 defaulting to the last configuration used as other scripts do. This can
395 still be overriden on the command line with "--debug" if there's some
396 reason to do so. Also fix a typo.
398 * Scripts/sunspider-compare-results: Fix a typo.
400 2007-10-26 Kevin McCullough <kmccullough@apple.com>
404 - Implemented the WebScriptDebugListener functions now that the
405 WebScriptDebugServer exists
407 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
409 (ServerConnection::currentFrame):
410 (ServerConnection::didLoadMainResourceForDataSource):
411 (ServerConnection::didParseSource):
412 (ServerConnection::failedToParseSource):
413 (ServerConnection::didEnterCallFrame):
414 (ServerConnection::willExecuteStatement):
415 (ServerConnection::willLeaveCallFrame):
416 (ServerConnection::exceptionWasRaised):
417 * Drosera/win/ServerConnection.h: Removed unused arguments from the
418 members arguments list.
420 2007-10-26 David Kilzer <ddkilzer@webkit.org>
422 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
423 <http://bugs.webkit.org/show_bug.cgi?id=15600>
427 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
428 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
429 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
430 file. Note that it may also be used as a stand-alone script.
432 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
433 * Scripts/resolve-ChangeLogs: Added.
434 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
436 2007-10-26 Mark Rowe <mrowe@apple.com>
438 Qt build fix. r27084 added a destructor implementation for LayoutTestController
439 to the Qt port on the assumption that it was an implementation of the cross-platform
440 LayoutTestController class. It is not, so it did not need to be changed.
442 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
444 2007-10-25 Mark Rowe <mrowe@apple.com>
448 Fix builds with code coverage enabled.
450 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
452 2007-10-25 Darin Adler <darin@apple.com>
454 Reviewed by Mark Rowe.
456 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
457 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
459 2007-10-25 Stephanie <slewis@apple.com>
463 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
465 2007-10-25 Stephanie <slewis@apple.com>
467 Reviewed by Mark Rowe, Adam Roben.
469 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
471 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
473 2007-10-25 Alice Liu <alice.liu@apple.com>
477 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
479 Moving destructor into platform-specific files
480 * DumpRenderTree/LayoutTestController.cpp:
481 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
482 (LayoutTestController::~LayoutTestController):
483 * DumpRenderTree/qt/jsobjects.cpp:
484 (LayoutTestController::~LayoutTestController):
486 LayoutTestController wasn't being destroyed
487 * DumpRenderTree/win/DumpRenderTree.cpp:
491 * DumpRenderTree/win/EditingDelegate.h:
493 Reset certain values on the webview (or related delegate) that might
494 have changed while running a test
495 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
496 (LayoutTestController::~LayoutTestController):
498 2007-10-25 Adam Roben <aroben@apple.com>
500 Make sunspider-compare-results work with relative paths
504 * Scripts/sunspider-compare-results: Convert arguments to absolute
505 paths before we chdir.
507 2007-10-25 Kevin McCullough <kmccullough@apple.com>
511 - Implemented server calls now the WebScriptDebugServer exists.
512 - Also removed no longer needed call to initialize CG.
514 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
517 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
518 (ServerConnection::ServerConnection):
519 (ServerConnection::~ServerConnection):
520 (ServerConnection::pause):
521 (ServerConnection::resume):
522 (ServerConnection::stepInto):
523 (ServerConnection::applicationTerminating):
524 (ServerConnection::serverConnectionDidDie):
525 * Drosera/win/ServerConnection.h: Now uses the COM class.
527 2007-10-24 George Staikos <staikos@kde.org>
531 * Scripts/build-webkit:
533 2007-10-24 Adam Roben <aroben@apple.com>
535 Remove now-unnecessary call to InitializeCoreGraphics
537 WebKit takes care of this now.
541 * DumpRenderTree/win/DumpRenderTree.cpp:
544 2007-10-24 Adam Roben <aroben@apple.com>
546 Use WebTextRenderer in DRT
550 * DumpRenderTree/win/DumpRenderTree.cpp:
551 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
553 2007-10-24 Sven Herzberg <sven@imendio.com>
555 Reviewed by Mark Rowe.
557 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
558 Bug 15614: [GTK] qmake based backends don't build on OS X
560 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
562 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
563 isDarwin() to make it reusable in other places (like the workaround-
564 for-prebuilt-qmake in build-webkit)
566 2007-10-24 David Kilzer <ddkilzer@webkit.org>
568 Refurbish update-webkit script.
572 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
573 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
574 multi-argument version of system() for flexibility and security. Check for existence
575 of Internal directory using -d test instead of -x.
577 2007-10-24 David Kilzer <ddkilzer@webkit.org>
579 Minor clean-up of prepare-ChangeLog script.
583 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
584 of a string. Use multi-argument versions of open() and system() for flexibility and
587 2007-10-24 Alice Liu <alice.liu@apple.com>
591 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
593 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
594 replay the saved events when we're still processing the mousedown that starts the drag
595 * DumpRenderTree/win/EventSender.cpp:
597 * DumpRenderTree/win/UIDelegate.cpp:
598 (UIDelegate::doDragDrop):
600 2007-10-24 Kevin McCullough <kmccullough@apple.com>
602 Reviewed by Sam, Steve and Darin.
604 - Stubbed out the WebScriptDebugListener functionality in the Server
605 Connection class to prepare it for receiving those callbacks.
606 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
607 and the ServerConnection to not need to be initialized with a server
608 name, since that is not the way we connect to the WebKit server.
610 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
611 no exception. Now it only loggs when there is an exception
612 (DebuggerDocument::willExecuteStatement):
613 (DebuggerDocument::didEnterCallFrame):
614 (DebuggerDocument::willLeaveCallFrame):
615 (DebuggerDocument::windowScriptObjectAvailable):
616 (DebuggerDocument::callFunctionOnObject):
617 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
618 to be instantiated with a server's name.
619 (DebuggerClient::DebuggerClient):
620 (DebuggerClient::didFinishLoadForFrame):
621 * Drosera/win/DebuggerClient.h: Removed unsued variable.
622 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
625 (Drosera::initServer):
626 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
627 instantiated with a server's name.
628 * Drosera/win/ServerConnection.cpp:
629 (ServerConnection::ServerConnection): No longer needs a server name
630 (ServerConnection::~ServerConnection): Only release the global context
632 (ServerConnection::serverConnectionDidDie): Stub for
633 IWebScriptDebugListener
634 (ServerConnection::QueryInterface): ditto
635 (ServerConnection::AddRef): ditto
636 (ServerConnection::Release): ditto
637 (ServerConnection::didLoadMainResourceForDataSource): ditto
638 (ServerConnection::didParseSource): ditto
639 (ServerConnection::failedToParseSource): ditto
640 (ServerConnection::didEnterCallFrame): ditto
641 (ServerConnection::willExecuteStatement): ditto
642 (ServerConnection::willLeaveCallFrame): ditto
643 (ServerConnection::exceptionWasRaised): ditto
644 * Drosera/win/ServerConnection.h: Stubbed out the
645 IWebScriptDebugListener functions, and this class no longer needs to be
646 instantiated with a server name.
648 2007-10-24 Lars Knoll <lars@trolltech.com>
652 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
654 * DumpRenderTree/qt/jsobjects.h:
656 2007-10-24 Lars Knoll <lars@trolltech.com>
662 * DumpRenderTree/qt/jsobjects.cpp:
663 (TextInputController::doCommand):
665 2007-10-24 Lars Knoll <lars@trolltech.com>
669 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
671 * DumpRenderTree/qt/jsobjects.cpp:
672 (EventSender::keyDown):
673 * DumpRenderTree/qt/jsobjects.h:
675 2007-10-24 Lars Knoll <lars@trolltech.com>
679 implement eventSender.keyDown().
681 * DumpRenderTree/qt/jsobjects.cpp:
682 (EventSender::keyDown):
684 2007-10-24 Lars Knoll <lars@trolltech.com>
688 some smaller fixes to the editing support in DRT. Makes another few tests pass.
690 * DumpRenderTree/qt/DumpRenderTree.cpp:
691 (WebCore::DumpRenderTree::DumpRenderTree):
692 (WebCore::DumpRenderTree::initJSObjects):
693 * DumpRenderTree/qt/jsobjects.cpp:
694 (TextInputController::doCommand):
696 2007-10-24 Lars Knoll <lars@trolltech.com>
700 first bit of implementation for the textinputcontroller.
702 * DumpRenderTree/qt/DumpRenderTree.cpp:
703 (WebCore::DumpRenderTree::DumpRenderTree):
704 * DumpRenderTree/qt/DumpRenderTree.h:
705 * DumpRenderTree/qt/jsobjects.cpp:
706 (TextInputController::TextInputController):
707 (TextInputController::doCommand):
708 * DumpRenderTree/qt/jsobjects.h:
710 2007-10-24 Lars Knoll <lars@trolltech.com>
714 make the man webpage believe it has focus, so the editing tests work correctly.
716 * DumpRenderTree/qt/DumpRenderTree.cpp:
717 (WebCore::DumpRenderTree::DumpRenderTree):
719 2007-10-24 Lars Knoll <lars@trolltech.com>
723 implement layoutTestController.dumpEditingCallbacks() correctly.
725 * DumpRenderTree/qt/DumpRenderTree.cpp:
726 (WebCore::DumpRenderTree::DumpRenderTree):
727 * DumpRenderTree/qt/jsobjects.cpp:
728 (LayoutTestController::reset):
729 (LayoutTestController::dumpEditingCallbacks):
731 2007-10-24 Lars Knoll <lars@trolltech.com>
735 Implement support for testing editing.
737 * DumpRenderTree/qt/DumpRenderTree.cpp:
738 (WebCore::DumpRenderTree::DumpRenderTree):
740 2007-10-23 Sam Weinig <sam@webkit.org>
742 Check for null BSTR that can be passed to the UIDelegate methods
743 from javascript null and undefined. Fixes a failing test case on
744 Windows (fast/dom/Window/alert-undefined.html)
746 Reviewed by Eric Seidel.
748 * DumpRenderTree/win/UIDelegate.cpp:
749 (UIDelegate::runJavaScriptAlertPanelWithMessage):
750 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
751 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
752 (UIDelegate::webViewAddMessageToConsole):
754 2007-10-23 Maciej Stachowiak <mjs@apple.com>
758 Don't print a massive pile of setenvs from tools that automatically build testkjs.
760 * Scripts/build-testkjs:
762 2007-10-23 Maciej Stachowiak <mjs@apple.com>
766 - add wrapper that finds the right copy of testkjs
768 * Scripts/sunspider-compare-results: Added.
770 2007-10-23 Kevin McCullough <kmccullough@apple.com>
774 - After talking with Steve I now see that the WebKit server must be
775 running for DCOM to create the distributed objects, which makes sense
776 and currently WebKit only allows one instance to be running at a time
777 which avoids accidentally connecting to the wrong server
778 - In light of this I have removed the code for the attach box and
779 NotificationServer and known server names, since they are all extranious
782 * Drosera/win/Drosera.cpp: Removed notification classes and known server
784 (_tWinMain): Uses init instead of initUI.
785 (droseraWndProc): No longer creats an attach dialog box.
786 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
787 it's not manditory to call init before doing COM stuff.
788 (Drosera::init): calls initUI and will call attach when the
789 functionality exists.
790 (Drosera::initUI): Has changed very little.
791 (Drosera::attach): Changed the signature to reflect that we no longer
792 need the dictionary of known server names.
793 * Drosera/win/Drosera.h: Removed notification classes and known server
794 names. Also renamed and moved some functions.
795 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
796 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
797 headers to the resources folder.
798 * Drosera/win/resource.h: Removed the Attach box.
800 2007-10-22 Adam Roben <aroben@apple.com>
804 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
806 2007-10-22 Kevin McCullough <kmccullough@apple.com>
808 - Removed a leak that was fixed.
810 * Scripts/run-webkit-tests:
812 2007-10-19 Kevin McCullough <kmccullough@apple.com>
816 - Changed the Client so that the DebuggerDocument now own the
817 ServerConnection. This simplifies ownership and cleanup.
819 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
821 (DebuggerClient::initWithServerName):
822 (DebuggerClient::didFinishLoadForFrame):
823 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
825 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
826 until after we have a server which we are attached to.
829 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
832 2007-10-22 Simon Hausmann <hausmann@kde.org>
836 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
838 * Scripts/run-javascriptcore-tests:
840 2007-10-22 Simon Hausmann <hausmann@kde.org>
844 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.
846 * Scripts/build-drosera:
847 * Scripts/build-dumprendertree:
848 * Scripts/build-testkjs:
849 * Scripts/build-webkit:
850 * Scripts/run-javascriptcore-tests:
851 * Scripts/run-sunspider:
852 * Scripts/run-webkit-tests:
853 * Scripts/webkitdirs.pm:
855 2007-10-22 Andrew Wellington <proton@wiretapped.net>
857 Reviewed by Mark Rowe.
859 Fix for local database support after r26879
860 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
862 * Scripts/build-webkit:
864 2007-10-22 Holger Freyther <zecke@selfish.org>
866 Reviewed by Simon Hausmann <hausmann@kde.org>.
868 - Do not build testkjs as an application bundle. This is
869 needed for run-javascriptcore-tests on OSX.
870 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
871 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
872 as we do not have -rpath on OSX.
874 * DumpRenderTree/qt/DumpRenderTree.pro:
875 * Scripts/run-webkit-tests:
877 2007-10-22 Simon Hausmann <hausmann@kde.org>
881 Fix support for Signed-off-by detection in prepare-ChangeLog
882 --git-commit. The Signed-off-by tag does not appear in the header
883 but usually at the end.
885 * Scripts/prepare-ChangeLog:
887 2007-10-21 Mark Rowe <mrowe@apple.com>
891 Fix run-javascriptcore-tests for Gtk.
893 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
895 2007-10-20 Eric Seidel <eric@webkit.org>
899 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
901 2007-10-20 Eric Seidel <eric@webkit.org>
905 Add improved argument handling to run-sunspider, including
906 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
907 Also re-factor code into subroutines
909 * Scripts/build-dumprendertree: removed bogus comments
910 * Scripts/build-testkjs: Added.
911 * Scripts/run-javascriptcore-tests: use build-testkjs
912 * Scripts/run-sunspider: improved argument handling, abstraction
913 * Scripts/run-webkit-tests: improved abstraction
915 2007-10-20 Matt Lilek <webkit@mattlilek.com>
917 Not reviewed, Windows build fix.
919 * DumpRenderTree/win/EventSender.cpp:
922 2007-10-20 Darin Adler <darin@apple.com>
924 Reviewed by Tim Hatcher.
926 - http://bugs.webkit.org/show_bug.cgi?id=15544
927 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
928 not rely on Apple-specific key codes
930 * DumpRenderTree/mac/EventSendingController.mm:
931 (-[EventSendingController keyDown:withModifiers:]):
932 Added named key "rightArrow". Later we could have a whole table of these.
933 Also tweaked modifiers code a little.
935 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
937 2007-10-19 Darin Adler <darin@apple.com>
941 - http://bugs.webkit.org/show_bug.cgi?id=15566
942 possible fix for leak seen in DumpRenderTree
944 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
945 Delete the item if it's not put on the queue, since the caller has
946 no way of knowing that. Would be better to have the parameter type
947 be auto_ptr to express the fact that we take ownership.
951 * Drosera/mac/main.m: Add missing include.
953 2007-10-19 Kevin McCullough <kmccullough@apple.com>
957 - This change should be identical but for some reason was not working
960 * Scripts/prepare-ChangeLog:
962 2007-10-19 Kevin McCullough <kmccullough@apple.com>
964 Reviewed by Oliver and Tim.
966 - Made use of RetainPtr to avoid retain and release issues and moved the
967 log function to DebuggerDocumentPlatform, which seems to be a more
968 logical place for it to live.
969 - Also moved knownServers from the ServerConnection to
970 DebuggerApplication to match the Windows code and because it makes sense
971 that a connection knows its own server but not all of them.
973 * Drosera/mac/DebuggerClient.h: Moved the log function to
974 DebuggerDocumentPlatform.
975 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
976 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
977 call for the server name up from the ServerConnection class.
978 (-[DebuggerClient dealloc]):
979 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
980 for the server name up from the ServerConnection.
981 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
982 (DebuggerDocument::platformPause):
983 (DebuggerDocument::platformResume):
984 (DebuggerDocument::platformStepInto):
985 (DebuggerDocument::platformEvaluateScript):
986 (DebuggerDocument::getPlatformCurrentFunctionStack):
987 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
988 (DebuggerDocument::platformValueForScopeVariableNamed):
989 (DebuggerDocument::platformLog): Log directly from here. No need to call
991 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
992 way I see it, a ServerConnection should only know about its connection
993 and the group of all possible servers should be kept by the
995 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
996 currentServerName, it makes sense that the connection should know that
998 (-[ServerConnection currentServerName]):
1000 2007-10-19 Kevin McCullough <kmccullough@apple.com>
1004 - Integrated changes from mac drosera. Recently I've encapsulated
1005 out the server connection object from the rest of Drosera because
1006 it is very platform dependent right now and RPC is not implemented on
1007 windows. This functionality, of communicating with the WebKit server
1008 is the next area I will be focusing on in Windows.
1010 - Other changes and cleanup were made to organize the code and add notes
1011 on which parts still need work. Also some mac code is added and
1012 commented out, to act as pseudocode for the logic of those parts.
1014 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
1016 * Drosera/config.h: Added whitespace.
1017 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
1018 these files got moved into Drosera.h/cpp
1019 * Drosera/win/DebuggerApplication.h: Removed.
1020 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
1021 happened here to better match the logic flow of the same code on the
1022 mac side and to use the new ServerConnection class.
1023 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
1024 (DebuggerClient::initWithServerName): Initializer that will set up the
1025 class to use a ServerConnection object. This was necessary so I could
1026 create a DebuggerClient without having to initilaize it at
1028 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
1029 will be the UIDelegate and FrameLoadDelegate.
1030 (DebuggerClient::AddRef): For IUnknown.
1031 (DebuggerClient::Release): For IUnknown.
1032 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
1033 this still needs to set the global context of the server, but
1034 IWebFrame does not have an accessor for the global context yet.
1035 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
1036 this is a pass through for the same function in the document.
1037 (DebuggerClient::didReceiveTitle): Unimplemented part of
1038 FrameLoadDelegate this would change the title of the window.
1039 (DebuggerClient::createWebViewWithRequest): Part of the
1040 FrameLoadDelegate. This is about new windows via Window.open() and
1041 how their delegates are set.
1042 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
1043 UIDelegate. Just a debug function for printing messages.
1044 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
1045 because the Client should be the UIDelegate and FrameLoadDelegate
1046 to match the delegates on mac.
1047 (DebuggerClient::webViewLoaded): Added accessor method.
1048 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
1049 forgotten to add this file before. This is where the platform
1050 dependent versions of the Documents functions live. Most of these are
1051 unimplemented because some piece of functionality does not exist on
1053 (DebuggerDocument::platformPause):
1054 (DebuggerDocument::platformResume):
1055 (DebuggerDocument::platformStepInto):
1056 (DebuggerDocument::platformEvaluateScript):
1057 (DebuggerDocument::getPlatformCurrentFunctionStack):
1058 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1059 (DebuggerDocument::platformValueForScopeVariableNamed):
1060 (DebuggerDocument::platformLog):
1061 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
1062 responsibilities becaue they belong in the Client. Also I laid the
1063 groundwork for attaching Drosera to a WebKit process
1064 (attachWndProc): Now if a server is selected the Client becomes it's
1066 (Drosera::Drosera): Added the construction of the Client and dictionary
1068 (Drosera::initUI): This is no longer the delegates, the Client is.
1069 (Drosera::webViewLoaded): Now asks the Client instead of holding local
1071 (Drosera::applicationDidFinishLaunching): Placeholder for needed
1072 notification registration when it's possible to implement.
1073 (Drosera::serverLoaded): Ditto
1074 (Drosera::serverUnloaded): Ditto
1075 (Drosera::attach): Attach Drosera to the WebKit server.
1076 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
1079 (Drosera::knownServers):
1080 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
1081 and added the ServerConnection.
1082 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
1083 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
1084 Most of the functions are completely unimlemented because they cannot
1085 connect with the WebKit server, because one does not exist on Windows
1087 (ServerConnection::initWithServerName):
1088 (ServerConnection::~ServerConnection):
1089 (ServerConnection::setGlobalContext):
1090 (ServerConnection::pause):
1091 (ServerConnection::resume):
1092 (ServerConnection::stepInto):
1093 (ServerConnection::switchToServerNamed):
1094 (ServerConnection::applicationTerminating):
1095 (ServerConnection::serverConnectionDidDie):
1096 (ServerConnection::currentFrame):
1097 * Drosera/win/ServerConnection.h: Added. Ditto.
1098 (ServerConnection::ServerConnection):
1100 2007-10-19 Alice Liu <alice.liu@apple.com>
1104 Fix for these broken layout tests on Windows:
1106 fast/forms/focus-selection-input.html
1107 fast/forms/focus-selection-textarea.html
1108 fast/forms/select-accesskey.html
1110 * DumpRenderTree/win/EventSender.cpp:
1112 correct the VK code for alt key.
1114 2007-10-19 Eric Seidel <eric@webkit.org>
1116 Reviewed by Mark Rowe.
1118 Make the GtkLauncher code slightly more readable.
1120 * GtkLauncher/main.cpp:
1121 (setupMainMenu): Added.
1122 (setupMainWindowUI): Added.
1125 2007-10-19 Maciej Stachowiak <mjs@apple.com>
1127 Rubber stamped by Adam.
1129 - don't delay-load WebKit in DumpRenderTree.
1131 * DumpRenderTree/win/DumpRenderTree.vcproj:
1133 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
1135 Reviewed by Adam Roben.
1137 - fix <rdar://problem/5313523>
1138 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1140 * DumpRenderTree/mac/DumpRenderTree.mm:
1141 (dump): Changed to use _responseMIMEType.
1143 2007-10-17 Adam Roben <aroben@apple.com>
1145 Make it possible to have Windows-specific tests and results
1147 When searching for tests to run and the Skipped file, we will only
1148 look in platform/win and the cross-platform directory. When looking
1149 for expected results, we will look in platform/win, then
1150 platform/mac-leopard, then platform/mac, then finally the
1151 cross-platform directory.
1155 * Scripts/run-webkit-tests:
1156 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
1157 searching in the cross-platform directory.
1158 (sub buildPlatformHierarchy): Removed some unneeded calls to
1161 2007-10-17 Adam Roben <aroben@apple.com>
1163 Add back the call to register WebKit that we had before WebKitInitializer existed
1165 This is needed to ensure that the right WebKit is used when
1166 instantiating COM objects.
1170 * DumpRenderTree/win/debug_internal.vsprops: Define
1171 DEBUG_WEBKIT_HAS_SUFFIX.
1172 * DumpRenderTree/win/DumpRenderTree.cpp:
1175 2007-10-17 Adam Roben <aroben@apple.com>
1177 Import File::Basename in webkitdirs since we use it
1179 * Scripts/webkitdirs.pm:
1181 2007-10-17 Kevin McCullough <kmccullough@apple.com>
1183 - Updated the tiger leaks list to make the internal bots green.
1185 * Scripts/run-webkit-tests:
1187 2007-10-17 Adam Roben <aroben@apple.com>
1189 Build fix for VC++ Express
1191 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1194 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1198 - Minor mac improvements based on observations I made while implementing the
1201 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1202 then hand it to the Client who will retain it, it should just be the client who
1203 creates and owns the server.
1204 (-[DebuggerApplication attach:]):
1205 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1206 * Drosera/mac/DebuggerClient.mm: Creates the server.
1207 (-[DebuggerClient initWithServerName:]):
1208 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1209 can instead forward declare what it needs.
1211 2007-10-16 Darin Adler <darin@apple.com>
1213 Reviewed by Geoff Garen.
1215 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1216 want to turn failing tests into platform-specific test results. Also did a
1217 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1218 would take the type of results into account only some of the time.
1220 2007-10-16 Adam Roben <aroben@apple.com>
1222 Add a new nightly launcher script for Windows
1224 This new script is for versions of Safari that don't delay-load
1225 WebKit. I had to make FindSafari be able to print out the nightly
1226 launcher script on stdout because Windows shell scripts can't capture
1227 the output from a command into an environment variable.
1231 * FindSafari/FindSafari.cpp:
1232 (_tmain): Added /printSafariLauncher option.
1233 * Scripts/run-webkit-nightly.cmd: Added.
1235 2007-10-16 Adam Roben <aroben@apple.com>
1237 Replace WebKitInitializer with FindSafari
1239 We now rely on setting the PATH environment variable to tell Windows
1240 where to find WebKit and its dependencies (similar to
1241 DYLD_FRAMEWORK_PATH on Mac).
1243 This change also make DumpRenderTree no longer delay-load WebKit.
1247 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1249 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1250 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1251 WebKitInitializer, don't delay-load WebKit.
1252 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1253 * Scripts/run-webkit-tests: Ditto.
1254 * Scripts/webkitdirs.pm:
1255 (sub setPathForRunningWebKitApp): Added.
1256 * WebKitInitializer/WebKitInitializer.cpp: Removed.
1257 * WebKitInitializer/WebKitInitializer.h: Removed.
1258 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1259 * WebKitInitializer/debug.vsprops: Removed.
1260 * WebKitInitializer/debug_internal.vsprops: Removed.
1261 * WebKitInitializer/release.vsprops: Removed.
1263 2007-10-16 Adam Roben <aroben@apple.com>
1265 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1267 http://bugs.webkit.org/show_bug.cgi?id=15532
1269 FindSafari simply prints the location of an installed Safari.exe on
1274 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1277 (getInstalledWebKitDirectory):
1279 * FindSafari/FindSafari.vcproj: Added.
1280 * Scripts/webkitdirs.pm:
1281 (sub installedSafariPath): Added. Calls FindSafari on Windows.
1283 2007-10-16 Adam Roben <aroben@apple.com>
1285 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1287 Reviewed by Kevin McCullough.
1289 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1290 when referring to WebKit.dll.
1291 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1292 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1293 * DumpRenderTree/win/release.vsprops: Ditto.
1294 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1295 never have a _debug suffix on WebKit.dll.
1296 * WebKitInitializer/WebKitInitializer.cpp:
1297 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1299 * WebKitInitializer/debug_internal.vsprops: Added
1300 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1302 2007-10-16 Darin Adler <darin@apple.com>
1306 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1307 Remove now-unneeded control/alt key hack; the tests have been updated.
1309 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1311 - Updated leaks list because our internal bot upgraded it's version of leopard and
1312 one of the leaks was fixed between that revision and the bot's previous version of
1315 * Scripts/run-webkit-tests:
1317 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1321 - I encapsulated out the server connecton functionality because it is a specific part
1322 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1323 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1324 Windows. So the majority of this patch is moving preexisting functionality.
1326 - Also I removed the prefix header and changed to use config.h because it is more
1327 standard on how we use config.h in windows and it didn't make much sense to keep
1328 the prefix header and the config.h
1330 * Drosera/DebuggerDocument.cpp:
1331 (DebuggerDocument::DebuggerDocument):
1332 * Drosera/DebuggerDocument.h:
1334 * Drosera/mac/DebuggerApplication.mm:
1335 (-[DebuggerApplication attach:]):
1336 * Drosera/mac/DebuggerClient.h:
1337 * Drosera/mac/DebuggerClient.mm:
1338 (-[DebuggerClient initWithServerConnection:]):
1339 (-[DebuggerClient dealloc]):
1340 (-[DebuggerClient windowDidLoad]):
1341 (-[DebuggerClient windowWillClose:]):
1342 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1343 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1344 * Drosera/mac/DebuggerDocumentPlatform.mm:
1345 (DebuggerDocument::platformPause):
1346 (DebuggerDocument::platformResume):
1347 (DebuggerDocument::platformStepInto):
1348 (DebuggerDocument::platformEvaluateScript):
1349 (DebuggerDocument::getPlatformCurrentFunctionStack):
1350 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1351 (DebuggerDocument::platformValueForScopeVariableNamed):
1352 (DebuggerDocument::platformLog):
1353 * Drosera/mac/Drosera.pch: Removed.
1354 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1355 * Drosera/mac/ServerConnection.h: Added.
1356 * Drosera/mac/ServerConnection.mm: Added.
1357 (-[ServerConnection initWithServerName:]):
1358 (-[ServerConnection dealloc]):
1359 (-[ServerConnection setGlobalContext:]):
1360 (-[ServerConnection pause]):
1361 (-[ServerConnection resume]):
1362 (-[ServerConnection stepInto]):
1363 (-[ServerConnection switchToServerNamed:]):
1364 (-[ServerConnection applicationTerminating:]):
1365 (-[ServerConnection serverConnectionDidDie:]):
1366 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1367 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1368 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1369 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1370 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1371 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1372 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1373 (-[ServerConnection currentFrame]):
1374 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1375 (-[ServerConnection knownServers]):
1377 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1381 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1382 Script to automatically search nightly builds for regressions (bisect-builds)
1384 * Scripts/bisect-builds: Added.
1386 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1390 - New JavaScript benchmark
1391 http://bugs.webkit.org/show_bug.cgi?id=15515
1393 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1394 current development or release build of JavaScriptCore.
1396 2007-10-15 Mark Rowe <mrowe@apple.com>
1400 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1402 * Scripts/webkitdirs.pm:
1403 - Change checkArgv to remove the options from @ARGV to prevent
1404 them from interfering with further option processing.
1405 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1406 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1407 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1408 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1410 2007-10-15 Darin Adler <darin@apple.com>
1414 - added logging of window.prompt and window.confirm
1416 * DumpRenderTree/mac/UIDelegate.mm:
1417 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1418 Implement the recommended delegate rather than the deprecated one.
1419 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1421 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1424 * DumpRenderTree/win/UIDelegate.h:
1425 * DumpRenderTree/win/UIDelegate.cpp:
1426 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1427 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1428 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1429 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1431 2007-10-15 Alice Liu <alice.liu@apple.com>
1433 Reviewed by Sam Weinig.
1435 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1437 * DumpRenderTree/win/DumpRenderTree.cpp:
1438 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1439 (main): allocate the global policy delegate for DRT's custom use
1440 * DumpRenderTree/win/DumpRenderTree.vcproj:
1441 Adding files to project
1442 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1443 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1444 (LayoutTestController::setCustomPolicyDelegate):
1445 set the webview's policy delegate to DRT's custom one if the test requests it.
1446 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1447 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1448 (PolicyDelegate::PolicyDelegate):
1449 (PolicyDelegate::QueryInterface):
1450 (PolicyDelegate::AddRef):
1451 (PolicyDelegate::Release):
1452 (PolicyDelegate::decidePolicyForNavigationAction):
1453 * DumpRenderTree/win/PolicyDelegate.h: Added.
1454 (PolicyDelegate::decidePolicyForNewWindowAction):
1455 (PolicyDelegate::decidePolicyForMIMEType):
1456 (PolicyDelegate::unableToImplementPolicyWithError):
1458 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1462 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1463 when querying for QMAKE_MKSPECS.
1465 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1467 Reviewed by Adam Roben.
1469 Fix run-webkit-tests is too greedy calculating platform hierarchy
1470 http://bugs.webkit.org/show_bug.cgi?id=15465
1472 Fix run-webkit-tests being too greedy in trying to split the platform name up
1473 causing it to try and find tests in every directory above the first "-" in the
1474 path to the LayoutTests
1476 * Scripts/run-webkit-tests:
1478 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1482 http://bugs.webkit.org/show_bug.cgi?id=15006
1483 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1484 to reduce code duplication.
1486 * Scripts/build-webkit:
1487 * Scripts/webkitdirs.pm:
1488 buildQMakeProject() renamed to buildQMakeQtProject().
1489 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1490 unused $colorize has been removed.
1492 === Start merge of feature-branch 2007-10-12 ===
1494 2007-10-08 Eric Seidel <eric@webkit.org>
1496 Reviewed by Mark Rowe.
1498 * Scripts/build-webkit: add --help, remove unused --color
1500 2007-10-07 Eric Seidel <eric@webkit.org>
1504 * Drosera/mac/DebuggerDocumentPlatform.mm:
1505 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1507 2007-10-03 Rob Buis <buis@kde.org>
1511 Adapt to changed location of Ahem font.
1513 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1515 2007-10-02 Eric Seidel <eric@webkit.org>
1517 Reviewed by Adam Roben.
1519 Make pixel tests more useful!
1520 Finally fix the image diff 0.00% mystery problem
1521 Highlight any image differences in the image diff.
1522 Add a link from image diffs back to original test file.
1524 * DumpRenderTree/mac/ImageDiff.m:
1525 (compareImages): highlight any differences
1526 (computePercentageDifferent): round to two decimal places
1527 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1529 2007-10-02 Eric Seidel <eric@webkit.org>
1531 Reviewed by Alexey Proskuryakov.
1533 * Scripts/run-webkit-tests: print the % image difference on main results page
1535 2007-10-02 Mark Rowe <mrowe@apple.com>
1539 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1541 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1542 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1544 2007-10-01 Mark Rowe <mrowe@apple.com>
1546 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1548 2007-09-25 Eric Seidel <eric@webkit.org>
1550 Reviewed by Mark Rowe.
1552 DerivedSources.make was finding "ENABLE_SVG" in the string
1553 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1556 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1558 2007-09-25 Mark Rowe <mrowe@apple.com>
1560 Rubber-stamped by Eric.
1562 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1563 This makes it possible to automate nightly builds for the feature-branch.
1565 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1567 Rubber stamped by Mark.
1569 Enable svg experimental features as default here in feature-branch.
1571 * Scripts/build-webkit:
1573 2007-06-29 Antti Koivisto <antti@apple.com>
1577 Add VIDEO flag for timed media features
1579 * Scripts/build-webkit
1581 === End merge of feature-branch 2007-10-12 ===
1583 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1587 - Updated rational for the leaks list to be more clear.
1589 * Scripts/run-webkit-tests:
1591 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1593 Rubber Stamp by Sam.
1595 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1596 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1598 * Scripts/run-webkit-tests:
1600 2007-10-10 Simon Hausmann <hausmann@kde.org>
1604 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1605 includes are needed for INT_MAX, std::auto_ptr and the like.
1607 * DumpRenderTree/qt/main.cpp:
1609 2007-10-09 Lars Knoll <lars@trolltech.com>
1613 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1615 * DumpRenderTree/qt/jsobjects.cpp:
1616 (LayoutTestController::encodeHostName):
1617 (LayoutTestController::decodeHostName):
1618 * DumpRenderTree/qt/jsobjects.h:
1620 2007-10-09 Lars Knoll <lars@trolltech.com>
1624 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.
1626 * DumpRenderTree/qt/DumpRenderTree.cpp:
1627 (WebCore::WebPage::createFrame):
1628 (WebCore::DumpRenderTree::DumpRenderTree):
1629 (WebCore::DumpRenderTree::titleChanged):
1630 * DumpRenderTree/qt/DumpRenderTree.h:
1631 * DumpRenderTree/qt/jsobjects.cpp:
1632 (LayoutTestController::reset):
1633 * DumpRenderTree/qt/jsobjects.h:
1635 2007-10-09 Lars Knoll <lars@trolltech.com>
1639 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1641 * DumpRenderTree/qt/DumpRenderTree.h:
1642 * DumpRenderTree/qt/jsobjects.cpp:
1643 (LayoutTestController::clearBackForwardList):
1644 * DumpRenderTree/qt/jsobjects.h:
1646 2007-10-09 Lars Knoll <lars@trolltech.com>
1650 make --git-reviewer work again.
1652 * Scripts/prepare-ChangeLog:
1654 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1656 Rubber stamped by Eric.
1658 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1659 show the current link inside the statusbar.
1660 This shows how to make use of this signal and allows to easily test
1661 http://bugs.webkit.org/show_bug.cgi?id=15299.
1663 * GtkLauncher/main.cpp:
1667 2007-10-05 Lars Knoll <lars@trolltech.com>
1669 add proper error messages to the FrameLoaderClient.
1670 Implement ChromeClientQt::closeWindowSoon and
1671 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1672 Some fixes in DRT to make it work correctly with multiple windows.
1676 * DumpRenderTree/qt/DumpRenderTree.cpp:
1677 (WebCore::DumpRenderTree::DumpRenderTree):
1678 (WebCore::DumpRenderTree::createWindow):
1679 (WebCore::DumpRenderTree::windowCount):
1680 * DumpRenderTree/qt/DumpRenderTree.h:
1681 * DumpRenderTree/qt/jsobjects.cpp:
1682 (LayoutTestController::maybeDump):
1683 (LayoutTestController::windowCount):
1684 * DumpRenderTree/qt/jsobjects.h:
1686 2007-10-05 Lars Knoll <lars@trolltech.com>
1688 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1689 Add support for layoutTextController.setCanOpenWindows() to DRT
1690 fixing another 2 test cases in fast/dom/Window.
1694 * DumpRenderTree/qt/DumpRenderTree.cpp:
1695 (WebCore::WebPage::WebPage):
1696 (WebCore::WebPage::createWindow):
1697 (WebCore::DumpRenderTree::resetJSObjects):
1698 (WebCore::DumpRenderTree::createWindow):
1699 * DumpRenderTree/qt/DumpRenderTree.h:
1700 * DumpRenderTree/qt/DumpRenderTree.pro:
1701 * DumpRenderTree/qt/jsobjects.cpp:
1702 (LayoutTestController::LayoutTestController):
1703 (LayoutTestController::reset):
1704 * DumpRenderTree/qt/jsobjects.h:
1705 * DumpRenderTree/qt/main.cpp:
1706 * DumpRenderTree/qt/testplugin.cpp: Added.
1707 * DumpRenderTree/qt/testplugin.h: Added.
1709 2007-10-04 Sam Weinig <sam@webkit.org>
1711 Rubber stamped by Adam.
1713 Remove empty directories.
1715 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1716 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1718 2007-10-03 Darin Adler <darin@apple.com>
1722 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1723 we find the internal libraries in the libraries directory. This
1724 is helpful for Safari team engineers at Apple.
1726 2007-10-03 Adam Roben <aroben@apple.com>
1728 Update the location of AHEM___.TTF after r25968
1732 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1734 2007-10-03 Alp Toker <alp@atoker.com>
1738 http://bugs.webkit.org/show_bug.cgi?id=14726
1739 [gtk] API design. Mapping the WebView delegates to signals.
1741 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1743 * GtkLauncher/main.cpp:
1747 (menuMainBackCallback):
1748 (menuMainForwardCallback):
1751 2007-10-03 Lars Knoll <lars@trolltech.com>
1755 This fixes --strict mode in run-webkit-tests again after
1756 the platform dependent test results have been moved.
1758 * Scripts/run-webkit-tests:
1760 2007-10-03 Lars Knoll <lars@trolltech.com>
1764 remove the hack in run-webkit-tests that forced text only test
1765 to be taken from the platform independent dir. It was only left
1766 there from early days.
1768 Remove platform dependent results for tests that are text only nowadays,
1769 and add one platform dependent result for a text only test that requires it.
1771 * Scripts/run-webkit-tests:
1773 2007-10-03 Lars Knoll <lars@trolltech.com>
1777 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1779 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1780 (WebCore::WebFrame::WebFrame):
1781 (WebCore::WebPage::WebPage):
1782 (WebCore::WebPage::createFrame):
1783 (WebCore::WebPage::javaScriptAlert):
1784 (WebCore::WebPage::javaScriptConsoleMessage):
1785 (WebCore::DumpRenderTree::DumpRenderTree):
1786 (WebCore::DumpRenderTree::~DumpRenderTree):
1787 (WebCore::DumpRenderTree::open):
1788 (WebCore::DumpRenderTree::readStdin):
1789 (WebCore::DumpRenderTree::resetJSObjects):
1790 (WebCore::DumpRenderTree::initJSObjects):
1791 (WebCore::DumpRenderTree::dumpFramesAsText):
1792 (WebCore::DumpRenderTree::dump):
1793 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1794 (WebCore::DumpRenderTree::layoutTestController):
1795 (WebCore::DumpRenderTree::eventSender):
1796 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1797 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1798 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1799 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1800 (HackWebFrame::mousePressEvent):
1801 (HackWebFrame::mouseReleaseEvent):
1802 (HackWebFrame::mouseMoveEvent):
1803 (HackWebFrame::HackWebFrame):
1804 (HackWebFrame::~HackWebFrame):
1805 (LayoutTestController::LayoutTestController):
1806 (LayoutTestController::reset):
1807 (LayoutTestController::maybeDump):
1808 (LayoutTestController::waitUntilDone):
1809 (LayoutTestController::notifyDone):
1810 (LayoutTestController::dumpEditingCallbacks):
1811 (LayoutTestController::queueReload):
1812 (LayoutTestController::provisionalLoad):
1813 (LayoutTestController::timerEvent):
1814 (EventSender::EventSender):
1815 (EventSender::mouseDown):
1816 (EventSender::mouseUp):
1817 (EventSender::mouseMoveTo):
1818 (EventSender::leapForward):
1819 (EventSender::keyDown):
1820 (EventSender::frameUnderMouse):
1821 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1822 (LayoutTestController::isLoading):
1823 (LayoutTestController::setLoading):
1824 (LayoutTestController::shouldDumpAsText):
1825 (LayoutTestController::shouldDumpChildrenAsText):
1826 (LayoutTestController::shouldWaitUntilDone):
1827 (LayoutTestController::dumpAsText):
1828 (LayoutTestController::dumpChildFramesAsText):
1829 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1833 * Scripts/run-webkit-tests:
1835 2007-10-03 Mark Rowe <mrowe@apple.com>
1837 Reviewed by Alp Toker.
1839 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1840 should take precedence over QTDIR when determining which port we are working with.
1842 * Scripts/webkitdirs.pm:
1844 2007-10-02 Adam Roben <aroben@apple.com>
1846 Add keychain to the list of default packages to install
1848 Rubberstamped by Sam.
1850 * CygwinDownloader/cygwin-downloader.py:
1851 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1853 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1857 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1858 Also makes WebCore regression test case logic work when using git.
1860 * Scripts/prepare-ChangeLog:
1861 (reviewerAndDescriptionForGitCommit): Added.
1863 2007-10-02 Lars Knoll <lars@trolltech.com>
1867 Add API to retrieve the frame name from QWebFrame.
1868 Implement support for DRT::dumpChildrenAsText.
1870 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1871 (WebCore::DumpRenderTree::dumpFramesAsText):
1872 (WebCore::DumpRenderTree::dump):
1873 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1874 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1875 (LayoutTestController::LayoutTestController):
1876 (LayoutTestController::reset):
1877 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1879 2007-10-02 Lars Knoll <lars@trolltech.com>
1883 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1885 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1886 (WebCore::DumpRenderTree::readStdin):
1888 2007-10-02 Mark Rowe <mrowe@apple.com>
1892 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1894 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1895 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1897 2007-10-02 Mark Rowe <mrowe@apple.com>
1899 Rubber-stamped by Maciej.
1901 Configuration changes from build.webkit.org. The major change is refactoring to work
1902 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1905 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1906 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1907 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1908 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1909 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1910 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1911 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1912 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1914 2007-10-02 Lars Knoll <lars@trolltech.com>
1918 Add support for eventSender.mouseMove to DRT.
1919 Fixes fast/css/hover-affects-child.html
1921 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1922 (EventSender::mouseMoveTo):
1924 2007-10-01 Mark Rowe <mrowe@apple.com>
1926 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1928 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1932 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1934 * Scripts/svn-apply:
1935 (gitdiff2svndiff): Ignore lines beginning with "new file".
1936 * Scripts/svn-unapply:
1937 (gitdiff2svndiff): Ditto.
1939 2007-09-30 George Staikos <staikos@kde.org>
1941 Qt build fix (Mac OS X specific)
1943 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1945 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1949 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1950 Remove Bakefiles from svn.
1952 * GtkLauncher/Bakefiles.bkgen: Removed.
1953 * GtkLauncher/ENV: Removed.
1954 * GtkLauncher/gdklauncher.bkl: Removed.
1955 * GtkLauncher/mk: Removed.
1956 * Scripts/regenerate-makefiles: Removed.
1958 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1962 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1964 * Scripts/run-webkit-tests:
1966 2007-09-26 Adam Roben <aroben@apple.com>
1968 Make not finding an installed WebKit non-fatal
1970 What really matters is that we are able to load WebKit and its
1971 dependencies, not whether we think we've found an installed WebKit.
1975 * WebKitInitializer/WebKitInitializer.cpp:
1976 (getWebViewCLSID): Use new LOG_WARNING macro.
1977 (getInstalledWebKitDirectory): Ditto.
1978 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1980 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1982 2007-09-26 Adam Roben <aroben@apple.com>
1984 Committed this file before saving it
1986 * WebKitInitializer/debug_internal.vsprops:
1988 2007-09-26 Adam Roben <aroben@apple.com>
1990 Load WebKit and its dependencies manually so they come from DllDirectory
1992 I had to change WebKitInitializer to use malloc/free instead of
1993 new/delete to avoid pulling in WebKit (and its dependencies) early
1994 through use of fastMalloc.
1998 * WebKitInitializer/WebKitInitializer.cpp:
1999 (getStringValue): Changed to use malloc/free.
2000 (getInstalledWebKitDirectory): Ditto.
2001 (initializeWebKit): Call SetDllDirectory first, then load all of
2002 WebKit's dependencies manually, finally followed by WebKit itself.
2003 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
2004 configuration to match our other projects.
2005 * WebKitInitializer/debug_internal.vsprops: Added.
2007 2007-09-25 Adam Roben <aroben@apple.com>
2009 Actually define DEBUG/NDEBUG so that we load WebKit correctly
2011 Rubberstamped by Sam.
2013 * WebKitInitializer/WebKitInitializer.vcproj:
2015 2007-09-25 Adam Roben <aroben@apple.com>
2017 Make DumpRenderTree delay-load its dependencies
2019 This lets WebKitInitializer re-route the dependencies to be loaded out
2020 of the Safari installation directory.
2022 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
2023 same thing), since we can't import the kCFAllocatorDefault symbol when
2024 delay-loading CoreFoundation.dll.
2026 Rubberstamped by Sam.
2028 * DumpRenderTree/win/DumpRenderTree.cpp:
2030 (javaScriptThreads):
2031 * DumpRenderTree/win/DumpRenderTree.vcproj:
2032 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2033 (LayoutTestController::setWaitToDump):
2035 2007-09-25 Adam Roben <aroben@apple.com>
2037 Pull ole32.lib into WebKitInitializer
2039 Rubberstamped by Sam.
2041 * WebKitInitializer/WebKitInitializer.vcproj:
2043 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2047 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2048 LGPL'ed files contain incorrect FSF address
2052 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2056 Make svn-apply and svn-unapply work with git-diff formatted patches.
2058 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
2059 (gitdiff2svndiff): Added.
2060 * Scripts/svn-unapply: Ditto.
2061 (gitdiff2svndiff): Added.
2063 2007-09-25 Adam Roben <aroben@apple.com>
2065 Pull advapi32.lib into WebKitInitializer
2067 This is needed to get the registry functions we use.
2069 Rubberstamped by Sam.
2071 * WebKitInitializer/WebKitInitializer.vcproj:
2073 2007-09-25 Adam Roben <aroben@apple.com>
2075 Add python and rsync to cygwin-downloader
2077 Our build slaves need this, and it can't hurt for everyone else to
2082 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
2083 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2085 2007-09-25 Adam Roben <aroben@apple.com>
2087 Add WebKitInitializer and use it in DumpRenderTree
2089 WebKitInitializer is a static library that has one function,
2090 initializeWebKit(). This registers WebKit and sets up the DLL search
2091 path so that WebKit's dependencies that are installed with Safari can
2096 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
2097 DumpRenderTree depend on it.
2098 * DumpRenderTree/win/DumpRenderTree.cpp:
2099 (initialize): Call initializeWebKit.
2100 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
2101 WebKitInitializer.lib.
2102 * WebKitInitializer/WebKitInitializer.cpp: Added.
2105 (getInstalledWebKitDirectory):
2107 * WebKitInitializer/WebKitInitializer.h: Added.
2108 * WebKitInitializer/WebKitInitializer.vcproj: Added.
2109 * WebKitInitializer/debug.vsprops: Added.
2110 * WebKitInitializer/release.vsprops: Added.
2112 2007-09-25 Adam Roben <aroben@apple.com>
2114 Make run-webkit-tests respect set-webkit-configuration
2118 * Scripts/run-webkit-tests: Initialize $configuration to whatever
2119 set-webkit-configuration was last set to.
2121 2007-09-25 Mark Rowe <mrowe@apple.com>
2123 Rubber-stamped by Eric.
2125 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2126 This makes it possible to automate nightly builds for the feature-branch.
2128 2007-09-25 Adam Roben <aroben@apple.com>
2130 A couple of fixes/enhancements to update-webkit-*-libs
2132 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
2133 to tell update-webkit-support-libraries where it should find the
2134 WebKitSupportLibrary.zip file you downloaded.
2136 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
2141 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
2142 to $auxiliaryLibsURL and removed an irrelevant comment.
2143 * Scripts/update-webkit-support-libs:
2145 2007-09-25 Adam Treat <treat@kde.org>
2147 Reviewed by Simon and Lars.
2149 Refactors and cleans up Qt DRT member variable names, member variable
2150 initialization, style fixes and general code cleanup.
2152 Adds queueReload slot to LayoutTestController that some tests require.
2154 Subclasses QWebFrame to make sure that all frames have an associated
2155 LayoutTestController JS window object.
2157 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
2158 aren't dumped twice.
2162 Together, this patch fixes some 20+ layout tests in QtWebKit.
2164 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2165 (WebCore::WebFrame::WebFrame):
2166 (WebCore::WebPage::WebPage):
2167 (WebCore::WebPage::createFrame):
2168 (WebCore::DumpRenderTree::DumpRenderTree):
2169 (WebCore::DumpRenderTree::open):
2170 (WebCore::DumpRenderTree::readStdin):
2171 (WebCore::DumpRenderTree::initJSObjects):
2172 (WebCore::DumpRenderTree::dump):
2173 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2174 (WebCore::DumpRenderTree::layoutTestController):
2175 (WebCore::DumpRenderTree::eventSender):
2176 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2177 (LayoutTestController::LayoutTestController):
2178 (LayoutTestController::reset):
2179 (LayoutTestController::maybeDump):
2180 (LayoutTestController::waitUntilDone):
2181 (LayoutTestController::notifyDone):
2182 (LayoutTestController::queueReload):
2183 (LayoutTestController::provisionalLoad):
2184 (EventSender::EventSender):
2185 (EventSender::mouseDown):
2186 (EventSender::mouseUp):
2187 (EventSender::mouseMoveTo):
2188 (EventSender::frameUnderMouse):
2189 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2190 (LayoutTestController::isLoading):
2191 (LayoutTestController::setLoading):
2192 (LayoutTestController::dumpAsText):
2193 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2196 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2199 - Reverted an accidentally checked in file.
2201 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2203 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2206 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2208 * DumpRenderTree/win/DumpRenderTree.vcproj:
2209 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2211 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
2213 Rubber stamped by Adam.
2215 * GdkLauncher: Removed.
2216 * GdkLauncher/Bakefiles.bkgen: Removed.
2217 * GdkLauncher/ENV: Removed.
2218 * GdkLauncher/GdkLauncher.pro: Removed.
2219 * GdkLauncher/gdklauncher.bkl: Removed.
2220 * GdkLauncher/main.cpp: Removed.
2221 * GdkLauncher/mk: Removed.
2222 * GdkLauncher/simple.svg: Removed.
2223 * GdkLauncher/text.html: Removed.
2224 * GtkLauncher: Added.
2225 * GtkLauncher/GdkLauncher.pro: Removed.
2226 * GtkLauncher/GtkLauncher.pro: Added.
2227 * GtkLauncher/main.cpp:
2228 (updateWindowTitle):
2230 * Scripts/build-webkit:
2231 * Scripts/regenerate-makefiles:
2232 * Scripts/run-javascriptcore-tests:
2233 * Scripts/run-launcher:
2234 * Scripts/run-webkit-tests:
2235 * Scripts/webkitdirs.pm:
2237 2007-09-21 Timothy Hatcher <timothy@apple.com>
2241 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2243 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2244 This is tested by plugins/root-object-premature-delete-crash.html.
2246 * DumpRenderTree/mac/ObjCController.m:
2247 (-[ObjCController accessStoredWebScriptObject]):
2249 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2253 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2255 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2256 (FrameLoadDelegate::FrameLoadDelegate):
2258 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
2262 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2263 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2265 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2266 Now isQt() and isGdk() use global variables that are only set once.
2268 An array of all the parameters is now given to build-dumprender which includes
2269 the platform on linux.
2271 * Scripts/build-dumprendertree:
2272 * Scripts/run-webkit-tests:
2273 * Scripts/webkitdirs.pm:
2275 2007-09-19 Adam Roben <aroben@apple.com>
2277 Rubberstamped by Hyatt.
2279 * Spinneret: Removed.
2281 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
2283 Reviewed by David Kilzer.
2285 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2287 2007-09-18 Sam Weinig <sam@webkit.org>
2289 Add JSRetainPtr.h #include to fix some builds.
2291 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2293 2007-09-18 Mike Hommey <glandium@debian.org>
2297 * Scripts/prepare-ChangeLog:
2298 - Properly parse GECOS field.
2299 - Use git configuration for user name and email when appropriate.
2301 2007-09-17 Sam Weinig <sam@webkit.org>
2305 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2307 2007-09-17 Sam Weinig <sam@webkit.org>
2309 Reviewed by Adam Roben.
2311 Share more code between mac and windows DRT.
2312 - GCController is now shared.
2313 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2315 * DumpRenderTree/GCController.cpp:
2316 * DumpRenderTree/win/DumpRenderTree.cpp:
2317 * DumpRenderTree/win/DumpRenderTree.vcproj:
2318 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2319 (FrameLoadDelegate::FrameLoadDelegate):
2320 (FrameLoadDelegate::~FrameLoadDelegate):
2321 (FrameLoadDelegate::windowScriptObjectAvailable):
2322 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2323 * DumpRenderTree/win/GCController.cpp: Removed.
2324 * DumpRenderTree/win/GCController.h: Removed.
2325 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2326 (GCController::collect):
2327 (GCController::collectOnAlternateThread):
2328 (GCController::getJSObjectCount):
2329 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2330 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2332 2007-09-17 Sam Weinig <sam@webkit.org>
2334 Reviewed by Adam Roben.
2336 Begin sharing code between mac and windows DRT.
2337 - both now share LayoutTestController.h/cpp and implement platform dependant
2338 operations in LayoutTestControllerMac/Win.
2339 - DumpRenderTree.h is now shared.
2340 - WorkQueue and WorkQueueItem are also shared.
2342 * DumpRenderTree/DumpRenderTree.h:
2343 * DumpRenderTree/LayoutTestController.cpp:
2344 * DumpRenderTree/win/DumpRenderTree.cpp:
2346 (dumpFrameScrollPosition):
2350 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2351 * DumpRenderTree/win/DumpRenderTree.vcproj:
2352 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2353 * DumpRenderTree/win/EditingDelegate.cpp:
2354 (EditingDelegate::shouldBeginEditingInDOMRange):
2355 (EditingDelegate::shouldEndEditingInDOMRange):
2356 (EditingDelegate::shouldInsertNode):
2357 (EditingDelegate::shouldInsertText):
2358 (EditingDelegate::shouldDeleteDOMRange):
2359 (EditingDelegate::shouldChangeSelectedDOMRange):
2360 (EditingDelegate::shouldApplyStyle):
2361 (EditingDelegate::shouldChangeTypingStyle):
2362 (EditingDelegate::doPlatformCommand):
2363 (EditingDelegate::webViewDidBeginEditing):
2364 (EditingDelegate::webViewDidChange):
2365 (EditingDelegate::webViewDidEndEditing):
2366 (EditingDelegate::webViewDidChangeTypingStyle):
2367 (EditingDelegate::webViewDidChangeSelection):
2368 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2369 * DumpRenderTree/win/LayoutTestController.h: Removed.
2370 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2371 (LayoutTestController::addDisallowedURL):
2372 (LayoutTestController::clearBackForwardList):
2373 (LayoutTestController::copyDecodedHostName):
2374 (LayoutTestController::copyEncodedHostName):
2375 (LayoutTestController::display):
2376 (LayoutTestController::keepWebHistory):
2377 (LayoutTestController::notifyDone):
2378 (LayoutTestController::queueBackNavigation):
2379 (LayoutTestController::queueForwardNavigation):
2380 (jsStringRefToWString):
2381 (LayoutTestController::queueLoad):
2382 (LayoutTestController::queueReload):
2383 (LayoutTestController::queueScript):
2384 (LayoutTestController::setAcceptsEditing):
2385 (LayoutTestController::setCustomPolicyDelegate):
2386 (LayoutTestController::setMainFrameIsFirstResponder):
2387 (LayoutTestController::setTabKeyCyclesThroughElements):
2388 (LayoutTestController::setUseDashboardCompatibilityMode):
2389 (LayoutTestController::setUserStyleSheetEnabled):
2390 (LayoutTestController::setUserStyleSheetLocation):
2391 (LayoutTestController::setWindowIsKey):
2392 (waitUntilDoneWatchdogFired):
2393 (LayoutTestController::setWaitToDump):
2394 (LayoutTestController::windowCount):
2395 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2396 (FrameLoadDelegate::didReceiveTitle):
2397 (FrameLoadDelegate::processWork):
2398 (FrameLoadDelegate::locationChangeDone):
2399 (FrameLoadDelegate::windowScriptObjectAvailable):
2400 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2401 * DumpRenderTree/win/WorkQueue.h: Removed.
2402 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2403 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2404 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2405 (jsStringRefToWString):
2407 (ScriptItem::invoke):
2409 2007-09-17 Sam Weinig <sam@webkit.org>
2411 Reviewed by Adam Roben.
2413 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2415 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2416 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2417 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2418 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2419 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2420 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2421 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2422 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2423 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2424 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2425 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2426 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2427 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2428 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2429 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2430 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2431 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2432 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2433 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2434 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2435 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2436 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2437 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2438 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2439 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2440 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2441 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2442 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2443 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2444 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2445 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2446 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2447 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2448 * DumpRenderTree/win: Added.
2449 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2450 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2451 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2452 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2453 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2454 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2455 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2456 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2457 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2458 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2459 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2460 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2461 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2462 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2463 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2464 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2465 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2466 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2467 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2468 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2469 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2470 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2471 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2472 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2473 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2474 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2476 2007-09-15 Mark Rowe <mrowe@apple.com>
2478 Build fix for DumpRenderTree.
2480 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2482 2007-09-14 Sam Weinig <sam@webkit.org>
2484 Rubber stamped by Adam Roben.
2486 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2487 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2488 kept in the WaitUntilDoneDelegate file for the time being.
2490 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2492 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2493 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2494 (UIDelegate::QueryInterface):
2495 (UIDelegate::AddRef):
2496 (UIDelegate::Release):
2497 (UIDelegate::hasCustomMenuImplementation):
2498 (UIDelegate::setFrame):
2499 (UIDelegate::webViewFrame):
2500 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2501 (UIDelegate::webViewAddMessageToConsole):
2502 (UIDelegate::doDragDrop):
2503 (UIDelegate::webViewGetDlgCode):
2504 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2505 (UIDelegate::UIDelegate):
2506 (UIDelegate::createWebViewWithRequest):
2507 (UIDelegate::webViewShow):
2508 (UIDelegate::webViewClose):
2509 (UIDelegate::webViewFocus):
2510 (UIDelegate::webViewUnfocus):
2511 (UIDelegate::webViewFirstResponder):
2512 (UIDelegate::makeFirstResponder):
2513 (UIDelegate::setStatusText):
2514 (UIDelegate::webViewStatusText):
2515 (UIDelegate::webViewAreToolbarsVisible):
2516 (UIDelegate::setToolbarsVisible):
2517 (UIDelegate::webViewIsStatusBarVisible):
2518 (UIDelegate::setStatusBarVisible):
2519 (UIDelegate::webViewIsResizable):
2520 (UIDelegate::setResizable):
2521 (UIDelegate::setContentRect):
2522 (UIDelegate::webViewContentRect):
2523 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2524 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2525 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2526 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2527 (UIDelegate::mouseDidMoveOverElement):
2528 (UIDelegate::contextMenuItemsForElement):
2529 (UIDelegate::validateUserInterfaceItem):
2530 (UIDelegate::shouldPerformAction):
2531 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2532 (UIDelegate::willPerformDragDestinationAction):
2533 (UIDelegate::dragSourceActionMaskForPoint):
2534 (UIDelegate::willPerformDragSourceAction):
2535 (UIDelegate::contextMenuItemSelected):
2536 (UIDelegate::trackCustomPopupMenu):
2537 (UIDelegate::measureCustomMenuItem):
2538 (UIDelegate::drawCustomMenuItem):
2539 (UIDelegate::addCustomMenuDrawingData):
2540 (UIDelegate::cleanUpCustomMenuDrawingData):
2541 (UIDelegate::canTakeFocus):
2542 (UIDelegate::takeFocus):
2543 (UIDelegate::registerUndoWithTarget):
2544 (UIDelegate::removeAllActionsWithTarget):
2545 (UIDelegate::setActionTitle):
2548 (UIDelegate::canUndo):
2549 (UIDelegate::canRedo):
2550 (UIDelegate::webViewResizerRect):
2551 (UIDelegate::webViewDrawResizer):
2552 (UIDelegate::webViewScrolled):
2553 (UIDelegate::webViewShouldInterruptJavaScript):
2554 (UIDelegate::webViewReceivedFocus):
2555 (UIDelegate::webViewLostFocus):
2556 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2557 (FrameLoadDelegate::QueryInterface):
2558 (FrameLoadDelegate::AddRef):
2559 (FrameLoadDelegate::Release):
2560 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2561 (FrameLoadDelegate::didCommitLoadForFrame):
2562 (FrameLoadDelegate::didReceiveTitle):
2563 (FrameLoadDelegate::processWork):
2565 (FrameLoadDelegate::locationChangeDone):
2566 (FrameLoadDelegate::didFinishLoadForFrame):
2567 (FrameLoadDelegate::didFailLoadWithError):
2568 (FrameLoadDelegate::windowScriptObjectAvailable):
2569 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2570 (FrameLoadDelegate::FrameLoadDelegate):
2572 2007-09-14 Sam Weinig <sam@webkit.org>
2574 Reviewed by Kevin McCullough.
2576 Move mac specific globals in to mac/DumpRenderTreeMac.h
2578 * DumpRenderTree/DumpRenderTree.h:
2579 * DumpRenderTree/DumpRenderTree.mm: Removed.
2580 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2581 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2582 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2584 2007-09-14 Brady Eidson <beidson@apple.com>
2586 Rubberstamped by Weinig
2588 You know, Sam, some of us use case-sensitve filesystems...
2590 * DumpRenderTree/DumpRenderTree.h:
2591 * DumpRenderTree/mac/UIDelegate.mm:
2593 2007-09-14 Sam Weinig <sam@webkit.org>
2595 Rubber stamped by Adam Roben.
2597 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2598 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2600 * DumpRenderTree/AppleScriptController.h: Removed.
2601 * DumpRenderTree/AppleScriptController.m: Removed.
2602 * DumpRenderTree/DumpRenderTree.h:
2603 * DumpRenderTree/DumpRenderTree.mm:
2604 (startJavaScriptThreads):
2605 (stopJavaScriptThreads):
2607 (setDefaultColorProfileToRGB):
2608 (makeLargeMallocFailSilently):
2609 (dumpFrameScrollPosition):
2613 (-[DumpRenderTreeWindow isKeyWindow]):
2614 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2615 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2616 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2617 * DumpRenderTree/EditingDelegate.h: Removed.
2618 * DumpRenderTree/EditingDelegate.m: Removed.
2619 * DumpRenderTree/EventSendingController.h: Removed.
2620 * DumpRenderTree/EventSendingController.m: Removed.
2621 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2622 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2623 * DumpRenderTree/GCController.mm: Removed.
2624 * DumpRenderTree/ImageDiff.m: Removed.
2625 * DumpRenderTree/LayoutTestController.cpp:
2626 (LayoutTestController::LayoutTestController):
2627 (dumpAsTextCallback):
2628 (dumpBackForwardListCallback):
2629 (dumpChildFramesAsTextCallback):
2630 (dumpChildFrameScrollPositionsCallback):
2631 (dumpDOMAsWebArchiveCallback):
2632 (dumpEditingCallbacksCallback):
2633 (dumpFrameLoadCallbacksCallback):
2634 (dumpResourceLoadCallbacksCallback):
2635 (dumpSelectionRectCallback):
2636 (dumpSourceAsWebArchiveCallback):
2637 (dumpTitleChangesCallback):
2638 (repaintSweepHorizontallyCallback):
2639 (setCallCloseOnWebViewsCallback):
2640 (setCanOpenWindowsCallback):
2641 (setCloseRemainingWindowsWhenCompleteCallback):
2642 (testRepaintCallback):
2643 (addFileToPasteboardOnDragCallback):
2644 (waitUntilDoneCallback):
2645 * DumpRenderTree/LayoutTestController.h:
2646 (LayoutTestController::dumpAsText):
2647 (LayoutTestController::setDumpAsText):
2648 (LayoutTestController::dumpBackForwardList):
2649 (LayoutTestController::setDumpBackForwardList):
2650 (LayoutTestController::dumpChildFrameScrollPositions):
2651 (LayoutTestController::setDumpChildFrameScrollPositions):
2652 (LayoutTestController::dumpChildFramesAsText):
2653 (LayoutTestController::setDumpChildFramesAsText):
2654 (LayoutTestController::dumpDOMAsWebArchive):
2655 (LayoutTestController::setDumpDOMAsWebArchive):
2656 (LayoutTestController::dumpSelectionRect):
2657 (LayoutTestController::setDumpSelectionRect):
2658 (LayoutTestController::dumpSourceAsWebArchive):
2659 (LayoutTestController::setDumpSourceAsWebArchive):
2660 (LayoutTestController::dumpTitleChanges):
2661 (LayoutTestController::setDumpTitleChanges):
2662 (LayoutTestController::dumpEditingCallbacks):
2663 (LayoutTestController::setDumpEditingCallbacks):
2664 (LayoutTestController::dumpResourceLoadCallbacks):
2665 (LayoutTestController::setDumpResourceLoadCallbacks):
2666 (LayoutTestController::dumpFrameLoadCallbacks):
2667 (LayoutTestController::setDumpFrameLoadCallbacks):
2668 (LayoutTestController::addFileToPasteboardOnDrag):
2669 (LayoutTestController::setAddFileToPasteboardOnDrag):
2670 (LayoutTestController::callCloseOnWebViews):
2671 (LayoutTestController::setCallCloseOnWebViews):
2672 (LayoutTestController::canOpenWindows):
2673 (LayoutTestController::setCanOpenWindows):
2674 (LayoutTestController::closeRemainingWindowsWhenComplete):
2675 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2676 (LayoutTestController::testRepaint):
2677 (LayoutTestController::setTestRepaint):
2678 (LayoutTestController::testRepaintSweepHorizontally):
2679 (LayoutTestController::setTestRepaintSweepHorizontally):
2680 (LayoutTestController::waitToDump):
2681 (LayoutTestController::windowIsKey):
2682 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2683 * DumpRenderTree/NavigationController.h: Removed.
2684 * DumpRenderTree/NavigationController.m: Removed.
2685 * DumpRenderTree/ObjCController.h: Removed.
2686 * DumpRenderTree/ObjCController.m: Removed.
2687 * DumpRenderTree/ObjCPlugin.h: Removed.
2688 * DumpRenderTree/ObjCPlugin.m: Removed.
2689 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2690 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2691 * DumpRenderTree/PolicyDelegate.h: Removed.
2692 * DumpRenderTree/PolicyDelegate.m: Removed.
2693 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2694 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2695 * DumpRenderTree/TextInputController.h: Removed.
2696 * DumpRenderTree/TextInputController.m: Removed.
2697 * DumpRenderTree/UIDelegate.h: Removed.
2698 * DumpRenderTree/UIDelegate.mm: Removed.
2699 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2700 * DumpRenderTree/mac: Added.
2701 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2702 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2703 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2704 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2705 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2706 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2707 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2708 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2709 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2710 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2711 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2712 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2713 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2714 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2715 (-[EditingDelegate webViewDidBeginEditing:]):
2716 (-[EditingDelegate webViewDidChange:]):
2717 (-[EditingDelegate webViewDidEndEditing:]):
2718 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2719 (-[EditingDelegate webViewDidChangeSelection:]):
2720 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2721 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2722 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2723 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2724 (-[FrameLoadDelegate init]):
2725 (-[FrameLoadDelegate dealloc]):
2726 (-[FrameLoadDelegate processWork:]):
2727 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2728 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2729 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2730 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2731 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2732 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2733 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2734 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2735 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2736 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2737 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2738 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2739 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2740 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2741 (-[FrameLoadDelegate webView:willCloseFrame:]):
2742 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2743 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2744 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2745 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2746 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2747 (LayoutTestController::notifyDone):
2748 (LayoutTestController::setWindowIsKey):
2749 (LayoutTestController::setWaitToDump):
2750 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2751 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2752 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2753 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2754 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2755 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2756 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2757 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2758 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2759 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2760 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2761 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2762 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2763 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2764 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2765 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2766 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2767 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2768 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2769 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2770 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2771 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2772 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2773 (-[UIDelegate webViewFocus:]):
2774 (-[UIDelegate webView:createWebViewWithRequest:]):
2775 (-[UIDelegate webViewClose:]):
2776 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2778 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2782 - Changing Win version of Drosera work with recent changes.
2784 * Drosera/DebuggerDocument.cpp:
2785 * Drosera/DebuggerDocument.h:
2786 * Drosera/mac/DebuggerDocumentPlatform.mm:
2787 (NSStringCreateWithJSStringRef):
2788 (JSValueRefCreateWithNSString):
2789 * Drosera/win/DebuggerClient.cpp:
2790 (DebuggerClient::stepInto):
2791 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2793 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2797 - Moved isPaused into the JS for efficiency and simplicity.
2799 * Drosera/DebuggerDocument.cpp:
2800 (DebuggerDocument::DebuggerDocument):
2801 (DebuggerDocument::pauseCallback):
2802 (DebuggerDocument::resumeCallback):
2803 (DebuggerDocument::isPaused):
2804 (DebuggerDocument::staticFunctions):
2805 * Drosera/DebuggerDocument.h:
2806 * Drosera/console.js:
2807 * Drosera/debugger.js:
2808 * Drosera/mac/DebuggerClient.mm:
2809 (-[DebuggerClient validateUserInterfaceItem:]):
2811 2007-09-13 Sam Weinig <sam@webkit.org>
2813 Rubber stamped by Darin.
2815 Make DumpRenderTree more cross platform ready.
2816 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2817 - Use CF types instead of NS objects.
2820 * DumpRenderTree/DumpRenderTree.h:
2821 * DumpRenderTree/DumpRenderTree.mm:
2825 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2826 * DumpRenderTree/EditingDelegate.m:
2827 * DumpRenderTree/FrameLoadDelegate.h:
2828 * DumpRenderTree/FrameLoadDelegate.mm:
2829 (-[FrameLoadDelegate init]):
2830 (-[FrameLoadDelegate dealloc]):
2831 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2832 * DumpRenderTree/GCController.cpp: Added.
2833 (GCController::GCController):
2834 (GCController::~GCController):
2836 (collectOnAlternateThreadCallback):
2837 (getJSObjectCountCallback):
2838 (GCController::makeWindowObject):
2839 (GCController::getJSClass):
2840 (GCController::staticFunctions):
2841 * DumpRenderTree/GCController.h:
2842 * DumpRenderTree/GCController.mm:
2843 (GCController::collect):
2844 (GCController::collectOnAlternateThread):
2845 (GCController::getJSObjectCount):
2846 * DumpRenderTree/LayoutTestController.cpp:
2847 (LayoutTestController::makeWindowObject):
2848 (LayoutTestController::getJSClass):
2849 * DumpRenderTree/LayoutTestController.h:
2850 * DumpRenderTree/LayoutTestControllerMac.mm:
2851 (LayoutTestController::addDisallowedURL):
2852 (waitUntilDoneWatchdogFired):
2853 (LayoutTestController::waitUntilDone):
2854 * DumpRenderTree/ResourceLoadDelegate.m:
2855 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2857 2007-09-12 Sam Weinig <sam@webkit.org>
2859 Reviewed by Stephanie.
2861 Fix leaks in mac DumpRenderTree.
2863 * DumpRenderTree/FrameLoadDelegate.mm:
2864 (-[FrameLoadDelegate init]): Initalize in the correct order.
2865 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2866 * DumpRenderTree/LayoutTestController.cpp:
2867 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2868 (encodeHostNameCallback): ditto.
2869 * DumpRenderTree/LayoutTestController.h:
2870 * DumpRenderTree/LayoutTestControllerMac.mm:
2871 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2872 (LayoutTestController::copyEncodedHostName): ditto
2873 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2875 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2879 - 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.
2881 * Scripts/run-webkit-tests:
2883 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2887 - Simplified code paths and extracted out functions to increase encapsulation.
2889 * Drosera/DebuggerDocument.cpp:
2890 (DebuggerDocument::breakpointEditorHTMLCallback):
2891 (DebuggerDocument::isPausedCallback):
2892 (DebuggerDocument::pauseCallback):
2893 (DebuggerDocument::resumeCallback):
2894 (DebuggerDocument::stepIntoCallback):
2895 (DebuggerDocument::evaluateScriptCallback):
2896 (DebuggerDocument::currentFunctionStackCallback):
2897 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2898 (DebuggerDocument::valueForScopeVariableNamedCallback):
2899 (DebuggerDocument::logCallback):
2900 * Drosera/DebuggerDocument.h:
2901 (DebuggerDocument::getPaused):
2902 * Drosera/mac/DebuggerClient.mm:
2903 (-[DebuggerClient pause:]):
2904 (-[DebuggerClient resume:]):
2905 (-[DebuggerClient stepInto:]):
2906 (-[DebuggerClient stepOver:]):
2907 (-[DebuggerClient stepOut:]):
2908 (-[DebuggerClient showConsole:]):
2909 (-[DebuggerClient closeCurrentFile:]):
2910 (-[DebuggerClient validateUserInterfaceItem:]):
2911 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2912 (+[NSString stringOrNilFromWebScriptResult:]):
2913 (DebuggerDocument::platformPause):
2914 (DebuggerDocument::platformResume):
2915 (DebuggerDocument::platformStepInto):
2916 (DebuggerDocument::platformEvaluateScript):
2917 (DebuggerDocument::getPlatformCurrentFunctionStack):
2918 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2919 (DebuggerDocument::platformValueForScopeVariableNamed):
2920 (DebuggerDocument::platformLog):
2921 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2923 2007-09-12 Sam Weinig <sam@webkit.org>
2925 Build fix for Buildbot.
2927 * DumpRenderTree/DumpRenderTree.mm:
2930 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2934 - Updated the leaks list for leopard to help identify regressions.
2936 * Scripts/run-webkit-tests:
2938 2007-09-12 Sam Weinig <sam@webkit.org>
2940 Rubber stamped by Darin.
2942 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2944 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2945 * DumpRenderTree/DumpRenderTree.m: Removed.
2946 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2947 (stopJavaScriptThreads): Fix initialization.
2948 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2949 (dumpRenderTree): Ditto.
2951 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2953 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2954 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2955 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2956 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2957 (-[FrameLoadDelegate init]):
2958 (-[FrameLoadDelegate dealloc]):
2959 (-[FrameLoadDelegate processWork:]):
2960 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2961 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2962 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2964 * DumpRenderTree/LayoutTestController.cpp: Added.
2965 (LayoutTestController::LayoutTestController):
2966 (LayoutTestController::~LayoutTestController):
2967 (dumpAsTextCallback):
2968 (dumpBackForwardListCallback):
2969 (dumpChildFramesAsTextCallback):
2970 (dumpChildFrameScrollPositionsCallback):
2971 (dumpDOMAsWebArchiveCallback):
2972 (dumpEditingCallbacksCallback):
2973 (dumpFrameLoadCallbacksCallback):
2974 (dumpResourceLoadCallbacksCallback):
2975 (dumpSelectionRectCallback):
2976 (dumpSourceAsWebArchiveCallback):
2977 (dumpTitleChangesCallback):
2978 (repaintSweepHorizontallyCallback):
2979 (setCallCloseOnWebViewsCallback):
2980 (setCanOpenWindowsCallback):
2981 (setCloseRemainingWindowsWhenCompleteCallback):
2982 (testRepaintCallback):
2983 (addFileToPasteboardOnDragCallback):
2984 (addDisallowedURLCallback):
2985 (clearBackForwardListCallback):
2986 (decodeHostNameCallback):
2988 (encodeHostNameCallback):
2989 (keepWebHistoryCallback):
2990 (notifyDoneCallback):
2991 (queueBackNavigationCallback):
2992 (queueForwardNavigationCallback):
2993 (queueLoadCallback):
2994 (queueReloadCallback):
2995 (queueScriptCallback):
2996 (setAcceptsEditingCallback):
2997 (setCustomPolicyDelegateCallback):
2998 (setMainFrameIsFirstResponderCallback):
2999 (setTabKeyCyclesThroughElementsCallback):
3000 (setUseDashboardCompatibilityModeCallback):
3001 (setUserStyleSheetEnabledCallback):
3002 (setUserStyleSheetLocationCallback):
3003 (setWindowIsKeyCallback):
3004 (waitUntilDoneCallback):
3005 (windowCountCallback):
3006 (LayoutTestController::makeWindowObject):
3007 (LayoutTestController::getLayoutTestControllerJSClass):
3008 (LayoutTestController::staticFunctions):
3009 * DumpRenderTree/LayoutTestController.h: Replaced.
3010 * DumpRenderTree/LayoutTestController.m: Removed.
3011 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
3012 (LayoutTestController::dumpAsText):
3013 (LayoutTestController::dumpBackForwardList):
3014 (LayoutTestController::dumpChildFramesAsText):
3015 (LayoutTestController::dumpChildFrameScrollPositions):
3016 (LayoutTestController::dumpDOMAsWebArchive):
3017 (LayoutTestController::dumpEditingCallbacks):
3018 (LayoutTestController::dumpFrameLoadCallbacks):
3019 (LayoutTestController::dumpResourceLoadCallbacks):
3020 (LayoutTestController::dumpSelectionRect):
3021 (LayoutTestController::dumpSourceAsWebArchive):
3022 (LayoutTestController::dumpTitleChanges):
3023 (LayoutTestController::repaintSweepHorizontally):
3024 (LayoutTestController::setCallCloseOnWebViews):
3025 (LayoutTestController::setCanOpenWindows):
3026 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3027 (LayoutTestController::testRepaint):
3028 (LayoutTestController::addFileToPasteboardOnDrag):
3029 (LayoutTestController::addDisallowedURL):
3030 (LayoutTestController::clearBackForwardList):
3031 (LayoutTestController::decodeHostName):
3032 (LayoutTestController::encodeHostName):
3033 (LayoutTestController::display):
3034 (LayoutTestController::keepWebHistory):
3035 (LayoutTestController::notifyDone):
3036 (LayoutTestController::queueBackNavigation):
3037 (LayoutTestController::queueForwardNavigation):
3038 (LayoutTestController::queueLoad):
3039 (LayoutTestController::queueReload):
3040 (LayoutTestController::queueScript):
3041 (LayoutTestController::setAcceptsEditing):
3042 (LayoutTestController::setCustomPolicyDelegate):
3043 (LayoutTestController::setMainFrameIsFirstResponder):
3044 (LayoutTestController::setTabKeyCyclesThroughElements):
3045 (LayoutTestController::setUseDashboardCompatibilityMode):
3046 (LayoutTestController::setUserStyleSheetEnabled):
3047 (LayoutTestController::setUserStyleSheetLocation):
3048 (LayoutTestController::setWindowIsKey):
3049 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
3050 (LayoutTestController::waitUntilDone):
3051 (LayoutTestController::windowCount):
3052 Use the JSCore API to implement the LayoutTestController.
3054 * DumpRenderTree/ObjCController.h:
3055 * DumpRenderTree/ObjCController.m:
3056 (+[ObjCController isSelectorExcludedFromWebScript:]):
3057 (+[ObjCController webScriptNameForSelector:]):
3058 (-[ObjCController accessStoredWebScriptObject]):
3059 (-[ObjCController storeWebScriptObject:]):
3060 (-[ObjCController dealloc]):
3061 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
3062 Move WebScriptObject tests to ObjCController.
3064 * DumpRenderTree/UIDelegate.m: Removed.
3065 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
3067 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
3068 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
3069 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
3070 (WorkQueueItem::~WorkQueueItem):
3071 (LoadItem::LoadItem):
3074 (ScriptItem::ScriptItem):
3075 (ScriptItem::script):
3076 * DumpRenderTree/WorkQueueItemMac.mm: Added.
3078 (ReloadItem::invoke):
3079 (ScriptItem::invoke):
3080 (BackForwardItem::invoke):
3081 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
3082 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
3085 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3089 - Updated Win side to take advantage of the platform separating changes.
3091 * Drosera/DebuggerDocument.cpp:
3092 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3093 * Drosera/DebuggerDocument.h:
3094 * Drosera/win/DebuggerClient.cpp:
3095 (DebuggerClient::pause):
3096 (DebuggerClient::resume):
3097 (DebuggerClient::stepInto):
3098 (DebuggerDocument::platformPause):
3099 (DebuggerDocument::platformResume):
3100 (DebuggerDocument::platformStepInto):
3101 (DebuggerDocument::platformEvaluateScript):
3102 (DebuggerDocument::getPlatformCurrentFunctionStack):
3103 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3104 (DebuggerDocument::platformValueForScopeVariableNamed):
3105 (DebuggerDocument::platformLog):
3106 * Drosera/win/DebuggerClient.h:
3107 * Drosera/win/Drosera.cpp:
3109 (Drosera::windowScriptObjectAvailable):
3110 (Drosera::initWithServerName):
3111 (Drosera::switchToServerNamed):
3112 * Drosera/win/Drosera.h:
3113 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3115 2007-09-11 Kevin McCullough <kmccullough@apple.com>
3119 - Just doing the moves in a separate patch so the changes are easier to see.
3121 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
3122 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
3123 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
3124 * Drosera/win/DebuggerDocumentWin.h: Removed.
3125 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3127 2007-09-11 Sven Herzberg <sven@imendio.com>
3129 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
3130 http://bugs.webkit.org/show_bug.cgi?id=15176
3132 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
3133 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
3134 other paths eg. from jhbuild)
3136 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3140 - Made an order-of-deletion mistake.
3142 * Drosera/DebuggerDocument.h:
3143 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3144 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3145 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3146 * Drosera/mac/DebuggerClient.mm:
3147 (DebuggerDocument::platformPause):
3148 (DebuggerDocument::platformResume):
3149 (DebuggerDocument::platformStepInto):
3150 (DebuggerDocument::platformEvaluateScript):
3151 (DebuggerDocument::getPlatformCurrentFunctionStack):
3152 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3153 (DebuggerDocument::platformValueForScopeVariableNamed):
3154 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3156 2007-09-10 Kevin McCullough <kmccullough@apple.com>
3160 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
3162 * Drosera/DebuggerDocument.cpp:
3163 (DebuggerDocument::DebuggerDocument):
3164 * Drosera/DebuggerDocument.h:
3165 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3166 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3167 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3168 * Drosera/mac/DebuggerApplication.mm:
3169 (-[DebuggerApplication attach:]):
3170 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
3171 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
3172 (DebuggerDocument::platformPause):
3173 (DebuggerDocument::platformResume):
3174 (DebuggerDocument::platformStepInto):
3175 (DebuggerDocument::platformEvaluateScript):
3176 (DebuggerDocument::getPlatformCurrentFunctionStack):
3177 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3178 (DebuggerDocument::platformValueForScopeVariableNamed):
3179 (DebuggerDocument::platformLog):
3180 * Drosera/mac/DebuggerDocumentMac.h: Removed.
3181 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3182 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3184 2007-09-09 Sam Weinig <sam@webkit.org>
3186 Reviewed by Mark Rowe.
3188 Remove 'objC' prefix from methods now in the ObjCController.
3190 * DumpRenderTree/ObjCController.m:
3191 (+[ObjCController isSelectorExcludedFromWebScript:]):
3192 (+[ObjCController webScriptNameForSelector:]):
3193 (-[ObjCController classNameOf:]):
3194 (-[ObjCController objectOfClass:]):
3195 (-[ObjCController identityIsEqual::]):
3196 (-[ObjCController longLongRoundTrip:]):
3197 (-[ObjCController unsignedLongLongRoundTrip:]):
3199 2007-09-09 Sam Weinig <sam@webkit.org>
3203 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
3204 - Move LayoutTestController into its own file.
3205 - Move Objective-C only functions on LayoutTestController into a new controller called the
3208 * DumpRenderTree/DumpRenderTree.h:
3209 * DumpRenderTree/DumpRenderTree.m:
3211 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3212 * DumpRenderTree/FrameLoadDelegate.m:
3213 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3214 * DumpRenderTree/LayoutTestController.h: Added.
3215 * DumpRenderTree/LayoutTestController.m: Added.
3216 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3217 (+[LayoutTestController webScriptNameForSelector:]):
3218 (-[LayoutTestController clearBackForwardList]):
3219 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3220 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3221 (-[LayoutTestController setCustomPolicyDelegate:]):
3222 (-[LayoutTestController keepWebHistory]):
3223 (-[LayoutTestController setCallCloseOnWebViews:]):
3224 (-[LayoutTestController setCanOpenWindows]):
3225 (-[LayoutTestController waitUntilDone]):
3226 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3227 (-[LayoutTestController notifyDone]):
3228 (-[LayoutTestController dumpAsText]):
3229 (-[LayoutTestController addFileToPasteboardOnDrag]):
3230 (-[LayoutTestController addDisallowedURL:]):
3231 (-[LayoutTestController setUserStyleSheetLocation:]):
3232 (-[LayoutTestController setUserStyleSheetEnabled:]):
3233 (-[LayoutTestController dumpDOMAsWebArchive]):
3234 (-[LayoutTestController dumpSourceAsWebArchive]):
3235 (-[LayoutTestController dumpSelectionRect]):
3236 (-[LayoutTestController dumpTitleChanges]):
3237 (-[LayoutTestController dumpBackForwardList]):
3238 (-[LayoutTestController windowCount]):
3239 (-[LayoutTestController dumpChildFrameScrollPositions]):
3240 (-[LayoutTestController dumpChildFramesAsText]):
3241 (-[LayoutTestController dumpEditingCallbacks]):
3242 (-[LayoutTestController dumpResourceLoadCallbacks]):
3243 (-[LayoutTestController dumpFrameLoadCallbacks]):
3244 (-[LayoutTestController setWindowIsKey:]):
3245 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3246 (-[LayoutTestController display]):
3247 (-[LayoutTestController testRepaint]):
3248 (-[LayoutTestController repaintSweepHorizontally]):
3249 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3250 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
3251 (-[LayoutTestController _doLoad:target:]):
3252 (-[LayoutTestController _doBackOrForwardNavigation:]):
3253 (-[LayoutTestController queueBackNavigation:]):
3254 (-[LayoutTestController queueForwardNavigation:]):
3255 (-[LayoutTestController queueReload]):
3256 (-[LayoutTestController queueScript:]):
3257 (-[LayoutTestController queueLoad:target:]):
3258 (-[LayoutTestController setAcceptsEditing:]):
3259 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3260 (-[LayoutTestController storeWebScriptObject:]):
3261 (-[LayoutTestController accessStoredWebScriptObject]):
3262 (-[LayoutTestController dealloc]):
3263 (-[LayoutTestController decodeHostName:]):
3264 (-[LayoutTestController encodeHostName:]):
3265 * DumpRenderTree/ObjCController.h: Added.
3266 * DumpRenderTree/ObjCController.m: Added.
3267 (+[ObjCController isSelectorExcludedFromWebScript:]):
3268 (+[ObjCController webScriptNameForSelector:]):
3269 (-[ObjCController objCClassNameOf:]):
3270 (-[ObjCController objCObjectOfClass:]):
3271 (-[ObjCController objCIdentityIsEqual::]):
3272 (-[ObjCController objCLongLongRoundTrip:]):
3273 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
3274 (-[ObjCController testWrapperRoundTripping:]):
3276 2007-09-07 Sam Weinig <sam@webkit.org>
3280 Strip trailing and leading space/newline characters from skiplist file names.
3282 * Scripts/run-webkit-tests:
3284 2007-09-06 Kevin McCullough <kmccullough@apple.com>
3288 - Changed Drosera to take advantage of the JSRetainPtr changes.
3290 * Drosera/DebuggerDocument.cpp:
3291 (DebuggerDocument::breakpointEditorHTML):
3292 (DebuggerDocument::evaluateScript):
3293 (DebuggerDocument::valueForScopeVariableNamed):
3294 (DebuggerDocument::log):
3295 (DebuggerDocument::windowScriptObjectAvailable):
3296 (DebuggerDocument::toJSArray):
3297 (DebuggerDocument::callFunctionOnObject):
3298 (DebuggerDocument::logException):
3299 * Drosera/mac/DebuggerDocumentMac.mm:
3300 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3301 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3302 (DebuggerDocument::platformEvaluateScript):
3303 (DebuggerDocument::getPlatformCurrentFunctionStack):
3304 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3305 (DebuggerDocument::platformValueForScopeVariableNamed):
3307 2007-09-05 Kevin McCullough <kmccullough@apple.com>
3309 Reviewed by Adam, Sam, Darin.
3311 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
3313 * Drosera/Debugger.h: Added.
3314 * Drosera/DebuggerDocument.cpp:
3315 (DebuggerDocument::breakpointEditorHTMLCallback):
3316 (DebuggerDocument::isPausedCallback):
3317 (DebuggerDocument::pauseCallback):
3318 (DebuggerDocument::resumeCallback):
3319 (DebuggerDocument::stepIntoCallback):
3320 (DebuggerDocument::evaluateScriptCallback):
3321 (DebuggerDocument::currentFunctionStackCallback):
3322 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3323 (DebuggerDocument::valueForScopeVariableNamedCallback):
3324 (DebuggerDocument::logCallback):
3325 (DebuggerDocument::breakpointEditorHTML):
3326 (DebuggerDocument::isPaused):
3327 (DebuggerDocument::pause):
3328 (DebuggerDocument::resume):
3329 (DebuggerDocument::stepInto):
3330 (DebuggerDocument::evaluateScript):
3331 (DebuggerDocument::currentFunctionStack):
3332 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3333 (DebuggerDocument::valueForScopeVariableNamed):
3334 (DebuggerDocument::log):
3335 (DebuggerDocument::toolbarPause):
3336 (DebuggerDocument::toolbarResume):
3337 (DebuggerDocument::toolbarStepInto):
3338 (DebuggerDocument::toolbarStepOver):
3339 (DebuggerDocument::toolbarStepOut):
3340 (DebuggerDocument::toolbarShowConsole):
3341 (DebuggerDocument::toolbarCloseCurrentFile):
3342 (DebuggerDocument::updateFileSource):
3343 (DebuggerDocument::didParseScript):
3344 (DebuggerDocument::willExecuteStatement):
3345 (DebuggerDocument::didEnterCallFrame):
3346 (DebuggerDocument::willLeaveCallFrame):
3347 (DebuggerDocument::exceptionWasRaised):
3348 (DebuggerDocument::windowScriptObjectAvailable):
3349 (DebuggerDocument::toJSArray):
3350 (DebuggerDocument::callGlobalFunction):
3351 (DebuggerDocument::callFunctionOnObject):
3352 (DebuggerDocument::getDroseraJSClass):
3353 (DebuggerDocument::staticFunctions):
3354 (DebuggerDocument::logException):
3355 * Drosera/DebuggerDocument.h:
3356 (DebuggerDocument::DebuggerDocument):
3357 * Drosera/ForwardingHeaders: Added.
3358 * Drosera/ForwardingHeaders/wtf: Added.
3359 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3361 * Drosera/console.html:
3362 * Drosera/console.js:
3363 * Drosera/debugger.js:
3364 * Drosera/mac/DebuggerApplication.mm:
3365 (-[DebuggerApplication attach:]):
3366 * Drosera/mac/DebuggerDocumentMac.h:
3367 * Drosera/mac/DebuggerDocumentMac.mm:
3368 (+[NSString stringOrNilFromWebScriptResult:]):
3369 (+[DebuggerClientMac log:]):
3370 (-[DebuggerClientMac initWithServerName:]):
3371 (-[DebuggerClientMac dealloc]):
3372 (-[DebuggerClientMac pause]):
3373 (-[DebuggerClientMac resume]):
3374 (-[DebuggerClientMac pause:]):
3375 (-[DebuggerClientMac resume:]):
3376 (-[DebuggerClientMac stepInto:]):
3377 (-[DebuggerClientMac stepOver:]):
3378 (-[DebuggerClientMac stepOut:]):
3379 (-[DebuggerClientMac showConsole:]):
3380 (-[DebuggerClientMac closeCurrentFile:]):
3381 (-[DebuggerClientMac validateUserInterfaceItem:]):
3382 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3383 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3384 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3385 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3386 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3387 (DebuggerDocument::platformPause):
3388 (DebuggerDocument::platformResume):
3389 (DebuggerDocument::platformStepInto):
3390 (DebuggerDocument::platformEvaluateScript):
3391 (DebuggerDocument::platformCurrentFunctionStack):
3392 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3393 (DebuggerDocument::platformValueForScopeVariableNamed):
3394 (DebuggerDocument::platformLog):
3395 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3397 2007-09-06 Sam Weinig <sam@webkit.org>
3399 Reviewed by Adam Roben.
3401 Register the WebKit DLL on initialization of the DumpRenderTree.
3403 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3406 2007-09-05 Sam Weinig <sam@webkit.org>
3410 Fix many layout test failures caused by r25364.
3411 Set text size to standand size at the begining of each test matching the mac.
3413 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3416 2007-09-04 Sam Weinig <sam@webkit.org>
3420 Fix for <rdar://problem/5382277>
3421 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3423 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3424 (textZoomInCallback):
3425 (textZoomOutCallback):
3427 2007-08-29 David Kilzer <ddkilzer@apple.com>
3431 Added case-insensitivity to checks for adding regression tests.
3433 * Scripts/prepare-ChangeLog:
3436 2007-08-28 David Kilzer <ddkilzer@apple.com>
3440 Ignore files in /resources/ subdirectories when creating a list of added tests.
3442 * Scripts/prepare-ChangeLog:
3445 2007-08-27 Kevin McCullough <kmccullough@apple.com>
3449 - Removed Leopard leaks list since all of those radars were fixed.
3451 * Scripts/run-webkit-tests:
3453 2007-08-27 Adam Roben <aroben@apple.com>
3455 Rubberstamped by Mark.
3457 * Scripts/pdevenv: Pass arguments along to devenv.com.
3459 2007-08-26 David Kilzer <ddkilzer@webkit.org>
3461 Reviewed by Mark Rowe.
3463 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3465 * Scripts/prepare-ChangeLog:
3466 (changeLogDate): Added.
3468 2007-08-24 Sam Weinig <sam@webkit.org>
3470 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3472 2007-08-24 Sam Weinig <sam@webkit.org>
3474 Rubber-stamped by Adam Roben.
3476 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3478 Rename COM DOM bindings to use Deprecated prefix.
3480 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3483 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
3486 (EditingDelegate::shouldBeginEditingInDOMRange):
3487 (EditingDelegate::shouldEndEditingInDOMRange):
3488 (EditingDelegate::shouldInsertNode):
3489 (EditingDelegate::shouldInsertText):
3490 (EditingDelegate::shouldDeleteDOMRange):
3491 (EditingDelegate::shouldChangeSelectedDOMRange):
3492 (EditingDelegate::shouldApplyStyle):
3493 (EditingDelegate::shouldChangeTypingStyle):
3494 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
3496 2007-08-24 Oliver Hunt <oliver@apple.com>
3500 WebDataSource::response can legitimately have a null response, so we
3501 must check that case.
3503 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3504 (queueLoadCallback):
3506 2007-08-23 Mitz Pettel <mitz@webkit.org>
3508 Reviewed by Darin and Adam.
3510 - DumpRenderTree changes to allow testing for
3511 http://bugs.webkit.org/show_bug.cgi?id=11756
3512 REGRESSION: link targeting a frame in another window does not work
3513 <rdar://problem/5286420>
3515 Use a frame group name for all WebViews created by DumpRenderTree to
3516 allow testing of cross-page frame lookup.
3518 * DumpRenderTree/DumpRenderTree.m:
3519 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
3520 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3521 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
3523 2007-08-23 David Kilzer <ddkilzer@webkit.org>
3527 Quote the $sslCertificate path in case it contains a space.
3529 * Scripts/run-webkit-httpd:
3530 * Scripts/run-webkit-tests:
3532 2007-08-22 Oliver Hunt <oliver@apple.com>
3534 Reviewed by John and Adam.
3536 WebDataSource::response can legitimately have a null response, so we
3537 must check that case.
3539 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: