1 2007-10-28 Eric Seidel <eric@webkit.org>
3 Reviewed by Maciej and Geoff, in unison.
5 * Scripts/run-webkit-tests: remove broken --svg option
7 2007-10-28 Darin Adler <darin@apple.com>
11 * Scripts/run-sunspider: Default to "Release" configuration rather than
12 defaulting to the last configuration used as other scripts do. This can
13 still be overriden on the command line with "--debug" if there's some
14 reason to do so. Also fix a typo.
16 * Scripts/sunspider-compare-results: Fix a typo.
18 2007-10-26 Kevin McCullough <kmccullough@apple.com>
22 - Implemented the WebScriptDebugListener functions now that the
23 WebScriptDebugServer exists
25 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
27 (ServerConnection::currentFrame):
28 (ServerConnection::didLoadMainResourceForDataSource):
29 (ServerConnection::didParseSource):
30 (ServerConnection::failedToParseSource):
31 (ServerConnection::didEnterCallFrame):
32 (ServerConnection::willExecuteStatement):
33 (ServerConnection::willLeaveCallFrame):
34 (ServerConnection::exceptionWasRaised):
35 * Drosera/win/ServerConnection.h: Removed unused arguments from the
36 members arguments list.
38 2007-10-26 David Kilzer <ddkilzer@webkit.org>
40 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
41 <http://bugs.webkit.org/show_bug.cgi?id=15600>
45 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
46 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
47 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
48 file. Note that it may also be used as a stand-alone script.
50 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
51 * Scripts/resolve-ChangeLogs: Added.
52 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
54 2007-10-26 Mark Rowe <mrowe@apple.com>
56 Qt build fix. r27084 added a destructor implementation for LayoutTestController
57 to the Qt port on the assumption that it was an implementation of the cross-platform
58 LayoutTestController class. It is not, so it did not need to be changed.
60 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
62 2007-10-25 Mark Rowe <mrowe@apple.com>
66 Fix builds with code coverage enabled.
68 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
70 2007-10-25 Darin Adler <darin@apple.com>
72 Reviewed by Mark Rowe.
74 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
75 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
77 2007-10-25 Stephanie <slewis@apple.com>
81 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
83 2007-10-25 Stephanie <slewis@apple.com>
85 Reviewed by Mark Rowe, Adam Roben.
87 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
89 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
91 2007-10-25 Alice Liu <alice.liu@apple.com>
95 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
97 Moving destructor into platform-specific files
98 * DumpRenderTree/LayoutTestController.cpp:
99 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
100 (LayoutTestController::~LayoutTestController):
101 * DumpRenderTree/qt/jsobjects.cpp:
102 (LayoutTestController::~LayoutTestController):
104 LayoutTestController wasn't being destroyed
105 * DumpRenderTree/win/DumpRenderTree.cpp:
109 * DumpRenderTree/win/EditingDelegate.h:
111 Reset certain values on the webview (or related delegate) that might
112 have changed while running a test
113 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
114 (LayoutTestController::~LayoutTestController):
116 2007-10-25 Adam Roben <aroben@apple.com>
118 Make sunspider-compare-results work with relative paths
122 * Scripts/sunspider-compare-results: Convert arguments to absolute
123 paths before we chdir.
125 2007-10-25 Kevin McCullough <kmccullough@apple.com>
129 - Implemented server calls now the WebScriptDebugServer exists.
130 - Also removed no longer needed call to initialize CG.
132 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
135 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
136 (ServerConnection::ServerConnection):
137 (ServerConnection::~ServerConnection):
138 (ServerConnection::pause):
139 (ServerConnection::resume):
140 (ServerConnection::stepInto):
141 (ServerConnection::applicationTerminating):
142 (ServerConnection::serverConnectionDidDie):
143 * Drosera/win/ServerConnection.h: Now uses the COM class.
145 2007-10-24 George Staikos <staikos@kde.org>
149 * Scripts/build-webkit:
151 2007-10-24 Adam Roben <aroben@apple.com>
153 Remove now-unnecessary call to InitializeCoreGraphics
155 WebKit takes care of this now.
159 * DumpRenderTree/win/DumpRenderTree.cpp:
162 2007-10-24 Adam Roben <aroben@apple.com>
164 Use WebTextRenderer in DRT
168 * DumpRenderTree/win/DumpRenderTree.cpp:
169 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
171 2007-10-24 Sven Herzberg <sven@imendio.com>
173 Reviewed by Mark Rowe.
175 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
176 Bug 15614: [GTK] qmake based backends don't build on OS X
178 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
180 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
181 isDarwin() to make it reusable in other places (like the workaround-
182 for-prebuilt-qmake in build-webkit)
184 2007-10-24 David Kilzer <ddkilzer@webkit.org>
186 Refurbish update-webkit script.
190 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
191 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
192 multi-argument version of system() for flexibility and security. Check for existence
193 of Internal directory using -d test instead of -x.
195 2007-10-24 David Kilzer <ddkilzer@webkit.org>
197 Minor clean-up of prepare-ChangeLog script.
201 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
202 of a string. Use multi-argument versions of open() and system() for flexibility and
205 2007-10-24 Alice Liu <alice.liu@apple.com>
209 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
211 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
212 replay the saved events when we're still processing the mousedown that starts the drag
213 * DumpRenderTree/win/EventSender.cpp:
215 * DumpRenderTree/win/UIDelegate.cpp:
216 (UIDelegate::doDragDrop):
218 2007-10-24 Kevin McCullough <kmccullough@apple.com>
220 Reviewed by Sam, Steve and Darin.
222 - Stubbed out the WebScriptDebugListener functionality in the Server
223 Connection class to prepare it for receiving those callbacks.
224 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
225 and the ServerConnection to not need to be initialized with a server
226 name, since that is not the way we connect to the WebKit server.
228 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
229 no exception. Now it only loggs when there is an exception
230 (DebuggerDocument::willExecuteStatement):
231 (DebuggerDocument::didEnterCallFrame):
232 (DebuggerDocument::willLeaveCallFrame):
233 (DebuggerDocument::windowScriptObjectAvailable):
234 (DebuggerDocument::callFunctionOnObject):
235 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
236 to be instantiated with a server's name.
237 (DebuggerClient::DebuggerClient):
238 (DebuggerClient::didFinishLoadForFrame):
239 * Drosera/win/DebuggerClient.h: Removed unsued variable.
240 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
243 (Drosera::initServer):
244 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
245 instantiated with a server's name.
246 * Drosera/win/ServerConnection.cpp:
247 (ServerConnection::ServerConnection): No longer needs a server name
248 (ServerConnection::~ServerConnection): Only release the global context
250 (ServerConnection::serverConnectionDidDie): Stub for
251 IWebScriptDebugListener
252 (ServerConnection::QueryInterface): ditto
253 (ServerConnection::AddRef): ditto
254 (ServerConnection::Release): ditto
255 (ServerConnection::didLoadMainResourceForDataSource): ditto
256 (ServerConnection::didParseSource): ditto
257 (ServerConnection::failedToParseSource): ditto
258 (ServerConnection::didEnterCallFrame): ditto
259 (ServerConnection::willExecuteStatement): ditto
260 (ServerConnection::willLeaveCallFrame): ditto
261 (ServerConnection::exceptionWasRaised): ditto
262 * Drosera/win/ServerConnection.h: Stubbed out the
263 IWebScriptDebugListener functions, and this class no longer needs to be
264 instantiated with a server name.
266 2007-10-24 Lars Knoll <lars@trolltech.com>
270 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
272 * DumpRenderTree/qt/jsobjects.h:
274 2007-10-24 Lars Knoll <lars@trolltech.com>
280 * DumpRenderTree/qt/jsobjects.cpp:
281 (TextInputController::doCommand):
283 2007-10-24 Lars Knoll <lars@trolltech.com>
287 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
289 * DumpRenderTree/qt/jsobjects.cpp:
290 (EventSender::keyDown):
291 * DumpRenderTree/qt/jsobjects.h:
293 2007-10-24 Lars Knoll <lars@trolltech.com>
297 implement eventSender.keyDown().
299 * DumpRenderTree/qt/jsobjects.cpp:
300 (EventSender::keyDown):
302 2007-10-24 Lars Knoll <lars@trolltech.com>
306 some smaller fixes to the editing support in DRT. Makes another few tests pass.
308 * DumpRenderTree/qt/DumpRenderTree.cpp:
309 (WebCore::DumpRenderTree::DumpRenderTree):
310 (WebCore::DumpRenderTree::initJSObjects):
311 * DumpRenderTree/qt/jsobjects.cpp:
312 (TextInputController::doCommand):
314 2007-10-24 Lars Knoll <lars@trolltech.com>
318 first bit of implementation for the textinputcontroller.
320 * DumpRenderTree/qt/DumpRenderTree.cpp:
321 (WebCore::DumpRenderTree::DumpRenderTree):
322 * DumpRenderTree/qt/DumpRenderTree.h:
323 * DumpRenderTree/qt/jsobjects.cpp:
324 (TextInputController::TextInputController):
325 (TextInputController::doCommand):
326 * DumpRenderTree/qt/jsobjects.h:
328 2007-10-24 Lars Knoll <lars@trolltech.com>
332 make the man webpage believe it has focus, so the editing tests work correctly.
334 * DumpRenderTree/qt/DumpRenderTree.cpp:
335 (WebCore::DumpRenderTree::DumpRenderTree):
337 2007-10-24 Lars Knoll <lars@trolltech.com>
341 implement layoutTestController.dumpEditingCallbacks() correctly.
343 * DumpRenderTree/qt/DumpRenderTree.cpp:
344 (WebCore::DumpRenderTree::DumpRenderTree):
345 * DumpRenderTree/qt/jsobjects.cpp:
346 (LayoutTestController::reset):
347 (LayoutTestController::dumpEditingCallbacks):
349 2007-10-24 Lars Knoll <lars@trolltech.com>
353 Implement support for testing editing.
355 * DumpRenderTree/qt/DumpRenderTree.cpp:
356 (WebCore::DumpRenderTree::DumpRenderTree):
358 2007-10-23 Sam Weinig <sam@webkit.org>
360 Check for null BSTR that can be passed to the UIDelegate methods
361 from javascript null and undefined. Fixes a failing test case on
362 Windows (fast/dom/Window/alert-undefined.html)
364 Reviewed by Eric Seidel.
366 * DumpRenderTree/win/UIDelegate.cpp:
367 (UIDelegate::runJavaScriptAlertPanelWithMessage):
368 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
369 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
370 (UIDelegate::webViewAddMessageToConsole):
372 2007-10-23 Maciej Stachowiak <mjs@apple.com>
376 Don't print a massive pile of setenvs from tools that automatically build testkjs.
378 * Scripts/build-testkjs:
380 2007-10-23 Maciej Stachowiak <mjs@apple.com>
384 - add wrapper that finds the right copy of testkjs
386 * Scripts/sunspider-compare-results: Added.
388 2007-10-23 Kevin McCullough <kmccullough@apple.com>
392 - After talking with Steve I now see that the WebKit server must be
393 running for DCOM to create the distributed objects, which makes sense
394 and currently WebKit only allows one instance to be running at a time
395 which avoids accidentally connecting to the wrong server
396 - In light of this I have removed the code for the attach box and
397 NotificationServer and known server names, since they are all extranious
400 * Drosera/win/Drosera.cpp: Removed notification classes and known server
402 (_tWinMain): Uses init instead of initUI.
403 (droseraWndProc): No longer creats an attach dialog box.
404 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
405 it's not manditory to call init before doing COM stuff.
406 (Drosera::init): calls initUI and will call attach when the
407 functionality exists.
408 (Drosera::initUI): Has changed very little.
409 (Drosera::attach): Changed the signature to reflect that we no longer
410 need the dictionary of known server names.
411 * Drosera/win/Drosera.h: Removed notification classes and known server
412 names. Also renamed and moved some functions.
413 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
414 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
415 headers to the resources folder.
416 * Drosera/win/resource.h: Removed the Attach box.
418 2007-10-22 Adam Roben <aroben@apple.com>
422 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
424 2007-10-22 Kevin McCullough <kmccullough@apple.com>
426 - Removed a leak that was fixed.
428 * Scripts/run-webkit-tests:
430 2007-10-19 Kevin McCullough <kmccullough@apple.com>
434 - Changed the Client so that the DebuggerDocument now own the
435 ServerConnection. This simplifies ownership and cleanup.
437 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
439 (DebuggerClient::initWithServerName):
440 (DebuggerClient::didFinishLoadForFrame):
441 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
443 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
444 until after we have a server which we are attached to.
447 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
450 2007-10-22 Simon Hausmann <hausmann@kde.org>
454 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
456 * Scripts/run-javascriptcore-tests:
458 2007-10-22 Simon Hausmann <hausmann@kde.org>
462 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.
464 * Scripts/build-drosera:
465 * Scripts/build-dumprendertree:
466 * Scripts/build-testkjs:
467 * Scripts/build-webkit:
468 * Scripts/run-javascriptcore-tests:
469 * Scripts/run-sunspider:
470 * Scripts/run-webkit-tests:
471 * Scripts/webkitdirs.pm:
473 2007-10-22 Andrew Wellington <proton@wiretapped.net>
475 Reviewed by Mark Rowe.
477 Fix for local database support after r26879
478 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
480 * Scripts/build-webkit:
482 2007-10-22 Holger Freyther <zecke@selfish.org>
484 Reviewed by Simon Hausmann <hausmann@kde.org>.
486 - Do not build testkjs as an application bundle. This is
487 needed for run-javascriptcore-tests on OSX.
488 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
489 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
490 as we do not have -rpath on OSX.
492 * DumpRenderTree/qt/DumpRenderTree.pro:
493 * Scripts/run-webkit-tests:
495 2007-10-22 Simon Hausmann <hausmann@kde.org>
499 Fix support for Signed-off-by detection in prepare-ChangeLog
500 --git-commit. The Signed-off-by tag does not appear in the header
501 but usually at the end.
503 * Scripts/prepare-ChangeLog:
505 2007-10-21 Mark Rowe <mrowe@apple.com>
509 Fix run-javascriptcore-tests for Gtk.
511 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
513 2007-10-20 Eric Seidel <eric@webkit.org>
517 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
519 2007-10-20 Eric Seidel <eric@webkit.org>
523 Add improved argument handling to run-sunspider, including
524 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
525 Also re-factor code into subroutines
527 * Scripts/build-dumprendertree: removed bogus comments
528 * Scripts/build-testkjs: Added.
529 * Scripts/run-javascriptcore-tests: use build-testkjs
530 * Scripts/run-sunspider: improved argument handling, abstraction
531 * Scripts/run-webkit-tests: improved abstraction
533 2007-10-20 Matt Lilek <webkit@mattlilek.com>
535 Not reviewed, Windows build fix.
537 * DumpRenderTree/win/EventSender.cpp:
540 2007-10-20 Darin Adler <darin@apple.com>
542 Reviewed by Tim Hatcher.
544 - http://bugs.webkit.org/show_bug.cgi?id=15544
545 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
546 not rely on Apple-specific key codes
548 * DumpRenderTree/mac/EventSendingController.mm:
549 (-[EventSendingController keyDown:withModifiers:]):
550 Added named key "rightArrow". Later we could have a whole table of these.
551 Also tweaked modifiers code a little.
553 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
555 2007-10-19 Darin Adler <darin@apple.com>
559 - http://bugs.webkit.org/show_bug.cgi?id=15566
560 possible fix for leak seen in DumpRenderTree
562 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
563 Delete the item if it's not put on the queue, since the caller has
564 no way of knowing that. Would be better to have the parameter type
565 be auto_ptr to express the fact that we take ownership.
569 * Drosera/mac/main.m: Add missing include.
571 2007-10-19 Kevin McCullough <kmccullough@apple.com>
575 - This change should be identical but for some reason was not working
578 * Scripts/prepare-ChangeLog:
580 2007-10-19 Kevin McCullough <kmccullough@apple.com>
582 Reviewed by Oliver and Tim.
584 - Made use of RetainPtr to avoid retain and release issues and moved the
585 log function to DebuggerDocumentPlatform, which seems to be a more
586 logical place for it to live.
587 - Also moved knownServers from the ServerConnection to
588 DebuggerApplication to match the Windows code and because it makes sense
589 that a connection knows its own server but not all of them.
591 * Drosera/mac/DebuggerClient.h: Moved the log function to
592 DebuggerDocumentPlatform.
593 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
594 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
595 call for the server name up from the ServerConnection class.
596 (-[DebuggerClient dealloc]):
597 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
598 for the server name up from the ServerConnection.
599 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
600 (DebuggerDocument::platformPause):
601 (DebuggerDocument::platformResume):
602 (DebuggerDocument::platformStepInto):
603 (DebuggerDocument::platformEvaluateScript):
604 (DebuggerDocument::getPlatformCurrentFunctionStack):
605 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
606 (DebuggerDocument::platformValueForScopeVariableNamed):
607 (DebuggerDocument::platformLog): Log directly from here. No need to call
609 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
610 way I see it, a ServerConnection should only know about its connection
611 and the group of all possible servers should be kept by the
613 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
614 currentServerName, it makes sense that the connection should know that
616 (-[ServerConnection currentServerName]):
618 2007-10-19 Kevin McCullough <kmccullough@apple.com>
622 - Integrated changes from mac drosera. Recently I've encapsulated
623 out the server connection object from the rest of Drosera because
624 it is very platform dependent right now and RPC is not implemented on
625 windows. This functionality, of communicating with the WebKit server
626 is the next area I will be focusing on in Windows.
628 - Other changes and cleanup were made to organize the code and add notes
629 on which parts still need work. Also some mac code is added and
630 commented out, to act as pseudocode for the logic of those parts.
632 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
634 * Drosera/config.h: Added whitespace.
635 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
636 these files got moved into Drosera.h/cpp
637 * Drosera/win/DebuggerApplication.h: Removed.
638 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
639 happened here to better match the logic flow of the same code on the
640 mac side and to use the new ServerConnection class.
641 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
642 (DebuggerClient::initWithServerName): Initializer that will set up the
643 class to use a ServerConnection object. This was necessary so I could
644 create a DebuggerClient without having to initilaize it at
646 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
647 will be the UIDelegate and FrameLoadDelegate.
648 (DebuggerClient::AddRef): For IUnknown.
649 (DebuggerClient::Release): For IUnknown.
650 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
651 this still needs to set the global context of the server, but
652 IWebFrame does not have an accessor for the global context yet.
653 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
654 this is a pass through for the same function in the document.
655 (DebuggerClient::didReceiveTitle): Unimplemented part of
656 FrameLoadDelegate this would change the title of the window.
657 (DebuggerClient::createWebViewWithRequest): Part of the
658 FrameLoadDelegate. This is about new windows via Window.open() and
659 how their delegates are set.
660 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
661 UIDelegate. Just a debug function for printing messages.
662 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
663 because the Client should be the UIDelegate and FrameLoadDelegate
664 to match the delegates on mac.
665 (DebuggerClient::webViewLoaded): Added accessor method.
666 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
667 forgotten to add this file before. This is where the platform
668 dependent versions of the Documents functions live. Most of these are
669 unimplemented because some piece of functionality does not exist on
671 (DebuggerDocument::platformPause):
672 (DebuggerDocument::platformResume):
673 (DebuggerDocument::platformStepInto):
674 (DebuggerDocument::platformEvaluateScript):
675 (DebuggerDocument::getPlatformCurrentFunctionStack):
676 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
677 (DebuggerDocument::platformValueForScopeVariableNamed):
678 (DebuggerDocument::platformLog):
679 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
680 responsibilities becaue they belong in the Client. Also I laid the
681 groundwork for attaching Drosera to a WebKit process
682 (attachWndProc): Now if a server is selected the Client becomes it's
684 (Drosera::Drosera): Added the construction of the Client and dictionary
686 (Drosera::initUI): This is no longer the delegates, the Client is.
687 (Drosera::webViewLoaded): Now asks the Client instead of holding local
689 (Drosera::applicationDidFinishLaunching): Placeholder for needed
690 notification registration when it's possible to implement.
691 (Drosera::serverLoaded): Ditto
692 (Drosera::serverUnloaded): Ditto
693 (Drosera::attach): Attach Drosera to the WebKit server.
694 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
697 (Drosera::knownServers):
698 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
699 and added the ServerConnection.
700 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
701 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
702 Most of the functions are completely unimlemented because they cannot
703 connect with the WebKit server, because one does not exist on Windows
705 (ServerConnection::initWithServerName):
706 (ServerConnection::~ServerConnection):
707 (ServerConnection::setGlobalContext):
708 (ServerConnection::pause):
709 (ServerConnection::resume):
710 (ServerConnection::stepInto):
711 (ServerConnection::switchToServerNamed):
712 (ServerConnection::applicationTerminating):
713 (ServerConnection::serverConnectionDidDie):
714 (ServerConnection::currentFrame):
715 * Drosera/win/ServerConnection.h: Added. Ditto.
716 (ServerConnection::ServerConnection):
718 2007-10-19 Alice Liu <alice.liu@apple.com>
722 Fix for these broken layout tests on Windows:
724 fast/forms/focus-selection-input.html
725 fast/forms/focus-selection-textarea.html
726 fast/forms/select-accesskey.html
728 * DumpRenderTree/win/EventSender.cpp:
730 correct the VK code for alt key.
732 2007-10-19 Eric Seidel <eric@webkit.org>
734 Reviewed by Mark Rowe.
736 Make the GtkLauncher code slightly more readable.
738 * GtkLauncher/main.cpp:
739 (setupMainMenu): Added.
740 (setupMainWindowUI): Added.
743 2007-10-19 Maciej Stachowiak <mjs@apple.com>
745 Rubber stamped by Adam.
747 - don't delay-load WebKit in DumpRenderTree.
749 * DumpRenderTree/win/DumpRenderTree.vcproj:
751 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
753 Reviewed by Adam Roben.
755 - fix <rdar://problem/5313523>
756 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
758 * DumpRenderTree/mac/DumpRenderTree.mm:
759 (dump): Changed to use _responseMIMEType.
761 2007-10-17 Adam Roben <aroben@apple.com>
763 Make it possible to have Windows-specific tests and results
765 When searching for tests to run and the Skipped file, we will only
766 look in platform/win and the cross-platform directory. When looking
767 for expected results, we will look in platform/win, then
768 platform/mac-leopard, then platform/mac, then finally the
769 cross-platform directory.
773 * Scripts/run-webkit-tests:
774 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
775 searching in the cross-platform directory.
776 (sub buildPlatformHierarchy): Removed some unneeded calls to
779 2007-10-17 Adam Roben <aroben@apple.com>
781 Add back the call to register WebKit that we had before WebKitInitializer existed
783 This is needed to ensure that the right WebKit is used when
784 instantiating COM objects.
788 * DumpRenderTree/win/debug_internal.vsprops: Define
789 DEBUG_WEBKIT_HAS_SUFFIX.
790 * DumpRenderTree/win/DumpRenderTree.cpp:
793 2007-10-17 Adam Roben <aroben@apple.com>
795 Import File::Basename in webkitdirs since we use it
797 * Scripts/webkitdirs.pm:
799 2007-10-17 Kevin McCullough <kmccullough@apple.com>
801 - Updated the tiger leaks list to make the internal bots green.
803 * Scripts/run-webkit-tests:
805 2007-10-17 Adam Roben <aroben@apple.com>
807 Build fix for VC++ Express
809 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
812 2007-10-16 Kevin McCullough <kmccullough@apple.com>
816 - Minor mac improvements based on observations I made while implementing the
819 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
820 then hand it to the Client who will retain it, it should just be the client who
821 creates and owns the server.
822 (-[DebuggerApplication attach:]):
823 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
824 * Drosera/mac/DebuggerClient.mm: Creates the server.
825 (-[DebuggerClient initWithServerName:]):
826 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
827 can instead forward declare what it needs.
829 2007-10-16 Darin Adler <darin@apple.com>
831 Reviewed by Geoff Garen.
833 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
834 want to turn failing tests into platform-specific test results. Also did a
835 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
836 would take the type of results into account only some of the time.
838 2007-10-16 Adam Roben <aroben@apple.com>
840 Add a new nightly launcher script for Windows
842 This new script is for versions of Safari that don't delay-load
843 WebKit. I had to make FindSafari be able to print out the nightly
844 launcher script on stdout because Windows shell scripts can't capture
845 the output from a command into an environment variable.
849 * FindSafari/FindSafari.cpp:
850 (_tmain): Added /printSafariLauncher option.
851 * Scripts/run-webkit-nightly.cmd: Added.
853 2007-10-16 Adam Roben <aroben@apple.com>
855 Replace WebKitInitializer with FindSafari
857 We now rely on setting the PATH environment variable to tell Windows
858 where to find WebKit and its dependencies (similar to
859 DYLD_FRAMEWORK_PATH on Mac).
861 This change also make DumpRenderTree no longer delay-load WebKit.
865 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
867 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
868 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
869 WebKitInitializer, don't delay-load WebKit.
870 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
871 * Scripts/run-webkit-tests: Ditto.
872 * Scripts/webkitdirs.pm:
873 (sub setPathForRunningWebKitApp): Added.
874 * WebKitInitializer/WebKitInitializer.cpp: Removed.
875 * WebKitInitializer/WebKitInitializer.h: Removed.
876 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
877 * WebKitInitializer/debug.vsprops: Removed.
878 * WebKitInitializer/debug_internal.vsprops: Removed.
879 * WebKitInitializer/release.vsprops: Removed.
881 2007-10-16 Adam Roben <aroben@apple.com>
883 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
885 http://bugs.webkit.org/show_bug.cgi?id=15532
887 FindSafari simply prints the location of an installed Safari.exe on
892 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
895 (getInstalledWebKitDirectory):
897 * FindSafari/FindSafari.vcproj: Added.
898 * Scripts/webkitdirs.pm:
899 (sub installedSafariPath): Added. Calls FindSafari on Windows.
901 2007-10-16 Adam Roben <aroben@apple.com>
903 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
905 Reviewed by Kevin McCullough.
907 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
908 when referring to WebKit.dll.
909 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
910 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
911 * DumpRenderTree/win/release.vsprops: Ditto.
912 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
913 never have a _debug suffix on WebKit.dll.
914 * WebKitInitializer/WebKitInitializer.cpp:
915 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
917 * WebKitInitializer/debug_internal.vsprops: Added
918 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
920 2007-10-16 Darin Adler <darin@apple.com>
924 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
925 Remove now-unneeded control/alt key hack; the tests have been updated.
927 2007-10-16 Kevin McCullough <kmccullough@apple.com>
929 - Updated leaks list because our internal bot upgraded it's version of leopard and
930 one of the leaks was fixed between that revision and the bot's previous version of
933 * Scripts/run-webkit-tests:
935 2007-10-15 Kevin McCullough <kmccullough@apple.com>
939 - I encapsulated out the server connecton functionality because it is a specific part
940 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
941 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
942 Windows. So the majority of this patch is moving preexisting functionality.
944 - Also I removed the prefix header and changed to use config.h because it is more
945 standard on how we use config.h in windows and it didn't make much sense to keep
946 the prefix header and the config.h
948 * Drosera/DebuggerDocument.cpp:
949 (DebuggerDocument::DebuggerDocument):
950 * Drosera/DebuggerDocument.h:
952 * Drosera/mac/DebuggerApplication.mm:
953 (-[DebuggerApplication attach:]):
954 * Drosera/mac/DebuggerClient.h:
955 * Drosera/mac/DebuggerClient.mm:
956 (-[DebuggerClient initWithServerConnection:]):
957 (-[DebuggerClient dealloc]):
958 (-[DebuggerClient windowDidLoad]):
959 (-[DebuggerClient windowWillClose:]):
960 (-[DebuggerClient webView:didFinishLoadForFrame:]):
961 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
962 * Drosera/mac/DebuggerDocumentPlatform.mm:
963 (DebuggerDocument::platformPause):
964 (DebuggerDocument::platformResume):
965 (DebuggerDocument::platformStepInto):
966 (DebuggerDocument::platformEvaluateScript):
967 (DebuggerDocument::getPlatformCurrentFunctionStack):
968 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
969 (DebuggerDocument::platformValueForScopeVariableNamed):
970 (DebuggerDocument::platformLog):
971 * Drosera/mac/Drosera.pch: Removed.
972 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
973 * Drosera/mac/ServerConnection.h: Added.
974 * Drosera/mac/ServerConnection.mm: Added.
975 (-[ServerConnection initWithServerName:]):
976 (-[ServerConnection dealloc]):
977 (-[ServerConnection setGlobalContext:]):
978 (-[ServerConnection pause]):
979 (-[ServerConnection resume]):
980 (-[ServerConnection stepInto]):
981 (-[ServerConnection switchToServerNamed:]):
982 (-[ServerConnection applicationTerminating:]):
983 (-[ServerConnection serverConnectionDidDie:]):
984 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
985 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
986 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
987 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
988 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
989 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
990 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
991 (-[ServerConnection currentFrame]):
992 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
993 (-[ServerConnection knownServers]):
995 2007-10-15 David Kilzer <ddkilzer@webkit.org>
999 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1000 Script to automatically search nightly builds for regressions (bisect-builds)
1002 * Scripts/bisect-builds: Added.
1004 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1008 - New JavaScript benchmark
1009 http://bugs.webkit.org/show_bug.cgi?id=15515
1011 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1012 current development or release build of JavaScriptCore.
1014 2007-10-15 Mark Rowe <mrowe@apple.com>
1018 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1020 * Scripts/webkitdirs.pm:
1021 - Change checkArgv to remove the options from @ARGV to prevent
1022 them from interfering with further option processing.
1023 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1024 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1025 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1026 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1028 2007-10-15 Darin Adler <darin@apple.com>
1032 - added logging of window.prompt and window.confirm
1034 * DumpRenderTree/mac/UIDelegate.mm:
1035 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1036 Implement the recommended delegate rather than the deprecated one.
1037 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1039 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1042 * DumpRenderTree/win/UIDelegate.h:
1043 * DumpRenderTree/win/UIDelegate.cpp:
1044 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1045 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1046 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1047 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1049 2007-10-15 Alice Liu <alice.liu@apple.com>
1051 Reviewed by Sam Weinig.
1053 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1055 * DumpRenderTree/win/DumpRenderTree.cpp:
1056 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1057 (main): allocate the global policy delegate for DRT's custom use
1058 * DumpRenderTree/win/DumpRenderTree.vcproj:
1059 Adding files to project
1060 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1061 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1062 (LayoutTestController::setCustomPolicyDelegate):
1063 set the webview's policy delegate to DRT's custom one if the test requests it.
1064 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1065 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1066 (PolicyDelegate::PolicyDelegate):
1067 (PolicyDelegate::QueryInterface):
1068 (PolicyDelegate::AddRef):
1069 (PolicyDelegate::Release):
1070 (PolicyDelegate::decidePolicyForNavigationAction):
1071 * DumpRenderTree/win/PolicyDelegate.h: Added.
1072 (PolicyDelegate::decidePolicyForNewWindowAction):
1073 (PolicyDelegate::decidePolicyForMIMEType):
1074 (PolicyDelegate::unableToImplementPolicyWithError):
1076 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1080 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1081 when querying for QMAKE_MKSPECS.
1083 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1085 Reviewed by Adam Roben.
1087 Fix run-webkit-tests is too greedy calculating platform hierarchy
1088 http://bugs.webkit.org/show_bug.cgi?id=15465
1090 Fix run-webkit-tests being too greedy in trying to split the platform name up
1091 causing it to try and find tests in every directory above the first "-" in the
1092 path to the LayoutTests
1094 * Scripts/run-webkit-tests:
1096 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1100 http://bugs.webkit.org/show_bug.cgi?id=15006
1101 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1102 to reduce code duplication.
1104 * Scripts/build-webkit:
1105 * Scripts/webkitdirs.pm:
1106 buildQMakeProject() renamed to buildQMakeQtProject().
1107 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1108 unused $colorize has been removed.
1110 === Start merge of feature-branch 2007-10-12 ===
1112 2007-10-08 Eric Seidel <eric@webkit.org>
1114 Reviewed by Mark Rowe.
1116 * Scripts/build-webkit: add --help, remove unused --color
1118 2007-10-07 Eric Seidel <eric@webkit.org>
1122 * Drosera/mac/DebuggerDocumentPlatform.mm:
1123 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1125 2007-10-03 Rob Buis <buis@kde.org>
1129 Adapt to changed location of Ahem font.
1131 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1133 2007-10-02 Eric Seidel <eric@webkit.org>
1135 Reviewed by Adam Roben.
1137 Make pixel tests more useful!
1138 Finally fix the image diff 0.00% mystery problem
1139 Highlight any image differences in the image diff.
1140 Add a link from image diffs back to original test file.
1142 * DumpRenderTree/mac/ImageDiff.m:
1143 (compareImages): highlight any differences
1144 (computePercentageDifferent): round to two decimal places
1145 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1147 2007-10-02 Eric Seidel <eric@webkit.org>
1149 Reviewed by Alexey Proskuryakov.
1151 * Scripts/run-webkit-tests: print the % image difference on main results page
1153 2007-10-02 Mark Rowe <mrowe@apple.com>
1157 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1159 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1160 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1162 2007-10-01 Mark Rowe <mrowe@apple.com>
1164 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1166 2007-09-25 Eric Seidel <eric@webkit.org>
1168 Reviewed by Mark Rowe.
1170 DerivedSources.make was finding "ENABLE_SVG" in the string
1171 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1174 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1176 2007-09-25 Mark Rowe <mrowe@apple.com>
1178 Rubber-stamped by Eric.
1180 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1181 This makes it possible to automate nightly builds for the feature-branch.
1183 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1185 Rubber stamped by Mark.
1187 Enable svg experimental features as default here in feature-branch.
1189 * Scripts/build-webkit:
1191 2007-06-29 Antti Koivisto <antti@apple.com>
1195 Add VIDEO flag for timed media features
1197 * Scripts/build-webkit
1199 === End merge of feature-branch 2007-10-12 ===
1201 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1205 - Updated rational for the leaks list to be more clear.
1207 * Scripts/run-webkit-tests:
1209 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1211 Rubber Stamp by Sam.
1213 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1214 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1216 * Scripts/run-webkit-tests:
1218 2007-10-10 Simon Hausmann <hausmann@kde.org>
1222 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1223 includes are needed for INT_MAX, std::auto_ptr and the like.
1225 * DumpRenderTree/qt/main.cpp:
1227 2007-10-09 Lars Knoll <lars@trolltech.com>
1231 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1233 * DumpRenderTree/qt/jsobjects.cpp:
1234 (LayoutTestController::encodeHostName):
1235 (LayoutTestController::decodeHostName):
1236 * DumpRenderTree/qt/jsobjects.h:
1238 2007-10-09 Lars Knoll <lars@trolltech.com>
1242 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.
1244 * DumpRenderTree/qt/DumpRenderTree.cpp:
1245 (WebCore::WebPage::createFrame):
1246 (WebCore::DumpRenderTree::DumpRenderTree):
1247 (WebCore::DumpRenderTree::titleChanged):
1248 * DumpRenderTree/qt/DumpRenderTree.h:
1249 * DumpRenderTree/qt/jsobjects.cpp:
1250 (LayoutTestController::reset):
1251 * DumpRenderTree/qt/jsobjects.h:
1253 2007-10-09 Lars Knoll <lars@trolltech.com>
1257 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1259 * DumpRenderTree/qt/DumpRenderTree.h:
1260 * DumpRenderTree/qt/jsobjects.cpp:
1261 (LayoutTestController::clearBackForwardList):
1262 * DumpRenderTree/qt/jsobjects.h:
1264 2007-10-09 Lars Knoll <lars@trolltech.com>
1268 make --git-reviewer work again.
1270 * Scripts/prepare-ChangeLog:
1272 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1274 Rubber stamped by Eric.
1276 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1277 show the current link inside the statusbar.
1278 This shows how to make use of this signal and allows to easily test
1279 http://bugs.webkit.org/show_bug.cgi?id=15299.
1281 * GtkLauncher/main.cpp:
1285 2007-10-05 Lars Knoll <lars@trolltech.com>
1287 add proper error messages to the FrameLoaderClient.
1288 Implement ChromeClientQt::closeWindowSoon and
1289 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1290 Some fixes in DRT to make it work correctly with multiple windows.
1294 * DumpRenderTree/qt/DumpRenderTree.cpp:
1295 (WebCore::DumpRenderTree::DumpRenderTree):
1296 (WebCore::DumpRenderTree::createWindow):
1297 (WebCore::DumpRenderTree::windowCount):
1298 * DumpRenderTree/qt/DumpRenderTree.h:
1299 * DumpRenderTree/qt/jsobjects.cpp:
1300 (LayoutTestController::maybeDump):
1301 (LayoutTestController::windowCount):
1302 * DumpRenderTree/qt/jsobjects.h:
1304 2007-10-05 Lars Knoll <lars@trolltech.com>
1306 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1307 Add support for layoutTextController.setCanOpenWindows() to DRT
1308 fixing another 2 test cases in fast/dom/Window.
1312 * DumpRenderTree/qt/DumpRenderTree.cpp:
1313 (WebCore::WebPage::WebPage):
1314 (WebCore::WebPage::createWindow):
1315 (WebCore::DumpRenderTree::resetJSObjects):
1316 (WebCore::DumpRenderTree::createWindow):
1317 * DumpRenderTree/qt/DumpRenderTree.h:
1318 * DumpRenderTree/qt/DumpRenderTree.pro:
1319 * DumpRenderTree/qt/jsobjects.cpp:
1320 (LayoutTestController::LayoutTestController):
1321 (LayoutTestController::reset):
1322 * DumpRenderTree/qt/jsobjects.h:
1323 * DumpRenderTree/qt/main.cpp:
1324 * DumpRenderTree/qt/testplugin.cpp: Added.
1325 * DumpRenderTree/qt/testplugin.h: Added.
1327 2007-10-04 Sam Weinig <sam@webkit.org>
1329 Rubber stamped by Adam.
1331 Remove empty directories.
1333 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1334 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1336 2007-10-03 Darin Adler <darin@apple.com>
1340 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1341 we find the internal libraries in the libraries directory. This
1342 is helpful for Safari team engineers at Apple.
1344 2007-10-03 Adam Roben <aroben@apple.com>
1346 Update the location of AHEM___.TTF after r25968
1350 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1352 2007-10-03 Alp Toker <alp@atoker.com>
1356 http://bugs.webkit.org/show_bug.cgi?id=14726
1357 [gtk] API design. Mapping the WebView delegates to signals.
1359 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1361 * GtkLauncher/main.cpp:
1365 (menuMainBackCallback):
1366 (menuMainForwardCallback):
1369 2007-10-03 Lars Knoll <lars@trolltech.com>
1373 This fixes --strict mode in run-webkit-tests again after
1374 the platform dependent test results have been moved.
1376 * Scripts/run-webkit-tests:
1378 2007-10-03 Lars Knoll <lars@trolltech.com>
1382 remove the hack in run-webkit-tests that forced text only test
1383 to be taken from the platform independent dir. It was only left
1384 there from early days.
1386 Remove platform dependent results for tests that are text only nowadays,
1387 and add one platform dependent result for a text only test that requires it.
1389 * Scripts/run-webkit-tests:
1391 2007-10-03 Lars Knoll <lars@trolltech.com>
1395 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1397 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1398 (WebCore::WebFrame::WebFrame):
1399 (WebCore::WebPage::WebPage):
1400 (WebCore::WebPage::createFrame):
1401 (WebCore::WebPage::javaScriptAlert):
1402 (WebCore::WebPage::javaScriptConsoleMessage):
1403 (WebCore::DumpRenderTree::DumpRenderTree):
1404 (WebCore::DumpRenderTree::~DumpRenderTree):
1405 (WebCore::DumpRenderTree::open):
1406 (WebCore::DumpRenderTree::readStdin):
1407 (WebCore::DumpRenderTree::resetJSObjects):
1408 (WebCore::DumpRenderTree::initJSObjects):
1409 (WebCore::DumpRenderTree::dumpFramesAsText):
1410 (WebCore::DumpRenderTree::dump):
1411 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1412 (WebCore::DumpRenderTree::layoutTestController):
1413 (WebCore::DumpRenderTree::eventSender):
1414 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1415 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1416 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1417 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1418 (HackWebFrame::mousePressEvent):
1419 (HackWebFrame::mouseReleaseEvent):
1420 (HackWebFrame::mouseMoveEvent):
1421 (HackWebFrame::HackWebFrame):
1422 (HackWebFrame::~HackWebFrame):
1423 (LayoutTestController::LayoutTestController):
1424 (LayoutTestController::reset):
1425 (LayoutTestController::maybeDump):
1426 (LayoutTestController::waitUntilDone):
1427 (LayoutTestController::notifyDone):
1428 (LayoutTestController::dumpEditingCallbacks):
1429 (LayoutTestController::queueReload):
1430 (LayoutTestController::provisionalLoad):
1431 (LayoutTestController::timerEvent):
1432 (EventSender::EventSender):
1433 (EventSender::mouseDown):
1434 (EventSender::mouseUp):
1435 (EventSender::mouseMoveTo):
1436 (EventSender::leapForward):
1437 (EventSender::keyDown):
1438 (EventSender::frameUnderMouse):
1439 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1440 (LayoutTestController::isLoading):
1441 (LayoutTestController::setLoading):
1442 (LayoutTestController::shouldDumpAsText):
1443 (LayoutTestController::shouldDumpChildrenAsText):
1444 (LayoutTestController::shouldWaitUntilDone):
1445 (LayoutTestController::dumpAsText):
1446 (LayoutTestController::dumpChildFramesAsText):
1447 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1451 * Scripts/run-webkit-tests:
1453 2007-10-03 Mark Rowe <mrowe@apple.com>
1455 Reviewed by Alp Toker.
1457 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1458 should take precedence over QTDIR when determining which port we are working with.
1460 * Scripts/webkitdirs.pm:
1462 2007-10-02 Adam Roben <aroben@apple.com>
1464 Add keychain to the list of default packages to install
1466 Rubberstamped by Sam.
1468 * CygwinDownloader/cygwin-downloader.py:
1469 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1471 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1475 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1476 Also makes WebCore regression test case logic work when using git.
1478 * Scripts/prepare-ChangeLog:
1479 (reviewerAndDescriptionForGitCommit): Added.
1481 2007-10-02 Lars Knoll <lars@trolltech.com>
1485 Add API to retrieve the frame name from QWebFrame.
1486 Implement support for DRT::dumpChildrenAsText.
1488 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1489 (WebCore::DumpRenderTree::dumpFramesAsText):
1490 (WebCore::DumpRenderTree::dump):
1491 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1492 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1493 (LayoutTestController::LayoutTestController):
1494 (LayoutTestController::reset):
1495 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1497 2007-10-02 Lars Knoll <lars@trolltech.com>
1501 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1503 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1504 (WebCore::DumpRenderTree::readStdin):
1506 2007-10-02 Mark Rowe <mrowe@apple.com>
1510 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1512 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1513 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1515 2007-10-02 Mark Rowe <mrowe@apple.com>
1517 Rubber-stamped by Maciej.
1519 Configuration changes from build.webkit.org. The major change is refactoring to work
1520 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1523 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1524 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1525 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1526 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1527 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1528 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1529 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1530 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1532 2007-10-02 Lars Knoll <lars@trolltech.com>
1536 Add support for eventSender.mouseMove to DRT.
1537 Fixes fast/css/hover-affects-child.html
1539 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1540 (EventSender::mouseMoveTo):
1542 2007-10-01 Mark Rowe <mrowe@apple.com>
1544 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1546 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1550 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1552 * Scripts/svn-apply:
1553 (gitdiff2svndiff): Ignore lines beginning with "new file".
1554 * Scripts/svn-unapply:
1555 (gitdiff2svndiff): Ditto.
1557 2007-09-30 George Staikos <staikos@kde.org>
1559 Qt build fix (Mac OS X specific)
1561 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1563 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1567 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1568 Remove Bakefiles from svn.
1570 * GtkLauncher/Bakefiles.bkgen: Removed.
1571 * GtkLauncher/ENV: Removed.
1572 * GtkLauncher/gdklauncher.bkl: Removed.
1573 * GtkLauncher/mk: Removed.
1574 * Scripts/regenerate-makefiles: Removed.
1576 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1580 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1582 * Scripts/run-webkit-tests:
1584 2007-09-26 Adam Roben <aroben@apple.com>
1586 Make not finding an installed WebKit non-fatal
1588 What really matters is that we are able to load WebKit and its
1589 dependencies, not whether we think we've found an installed WebKit.
1593 * WebKitInitializer/WebKitInitializer.cpp:
1594 (getWebViewCLSID): Use new LOG_WARNING macro.
1595 (getInstalledWebKitDirectory): Ditto.
1596 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1598 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1600 2007-09-26 Adam Roben <aroben@apple.com>
1602 Committed this file before saving it
1604 * WebKitInitializer/debug_internal.vsprops:
1606 2007-09-26 Adam Roben <aroben@apple.com>
1608 Load WebKit and its dependencies manually so they come from DllDirectory
1610 I had to change WebKitInitializer to use malloc/free instead of
1611 new/delete to avoid pulling in WebKit (and its dependencies) early
1612 through use of fastMalloc.
1616 * WebKitInitializer/WebKitInitializer.cpp:
1617 (getStringValue): Changed to use malloc/free.
1618 (getInstalledWebKitDirectory): Ditto.
1619 (initializeWebKit): Call SetDllDirectory first, then load all of
1620 WebKit's dependencies manually, finally followed by WebKit itself.
1621 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1622 configuration to match our other projects.
1623 * WebKitInitializer/debug_internal.vsprops: Added.
1625 2007-09-25 Adam Roben <aroben@apple.com>
1627 Actually define DEBUG/NDEBUG so that we load WebKit correctly
1629 Rubberstamped by Sam.
1631 * WebKitInitializer/WebKitInitializer.vcproj:
1633 2007-09-25 Adam Roben <aroben@apple.com>
1635 Make DumpRenderTree delay-load its dependencies
1637 This lets WebKitInitializer re-route the dependencies to be loaded out
1638 of the Safari installation directory.
1640 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1641 same thing), since we can't import the kCFAllocatorDefault symbol when
1642 delay-loading CoreFoundation.dll.
1644 Rubberstamped by Sam.
1646 * DumpRenderTree/win/DumpRenderTree.cpp:
1648 (javaScriptThreads):
1649 * DumpRenderTree/win/DumpRenderTree.vcproj:
1650 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1651 (LayoutTestController::setWaitToDump):
1653 2007-09-25 Adam Roben <aroben@apple.com>
1655 Pull ole32.lib into WebKitInitializer
1657 Rubberstamped by Sam.
1659 * WebKitInitializer/WebKitInitializer.vcproj:
1661 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1665 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1666 LGPL'ed files contain incorrect FSF address
1670 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1674 Make svn-apply and svn-unapply work with git-diff formatted patches.
1676 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1677 (gitdiff2svndiff): Added.
1678 * Scripts/svn-unapply: Ditto.
1679 (gitdiff2svndiff): Added.
1681 2007-09-25 Adam Roben <aroben@apple.com>
1683 Pull advapi32.lib into WebKitInitializer
1685 This is needed to get the registry functions we use.
1687 Rubberstamped by Sam.
1689 * WebKitInitializer/WebKitInitializer.vcproj:
1691 2007-09-25 Adam Roben <aroben@apple.com>
1693 Add python and rsync to cygwin-downloader
1695 Our build slaves need this, and it can't hurt for everyone else to
1700 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1701 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1703 2007-09-25 Adam Roben <aroben@apple.com>
1705 Add WebKitInitializer and use it in DumpRenderTree
1707 WebKitInitializer is a static library that has one function,
1708 initializeWebKit(). This registers WebKit and sets up the DLL search
1709 path so that WebKit's dependencies that are installed with Safari can
1714 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1715 DumpRenderTree depend on it.
1716 * DumpRenderTree/win/DumpRenderTree.cpp:
1717 (initialize): Call initializeWebKit.
1718 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1719 WebKitInitializer.lib.
1720 * WebKitInitializer/WebKitInitializer.cpp: Added.
1723 (getInstalledWebKitDirectory):
1725 * WebKitInitializer/WebKitInitializer.h: Added.
1726 * WebKitInitializer/WebKitInitializer.vcproj: Added.
1727 * WebKitInitializer/debug.vsprops: Added.
1728 * WebKitInitializer/release.vsprops: Added.
1730 2007-09-25 Adam Roben <aroben@apple.com>
1732 Make run-webkit-tests respect set-webkit-configuration
1736 * Scripts/run-webkit-tests: Initialize $configuration to whatever
1737 set-webkit-configuration was last set to.
1739 2007-09-25 Mark Rowe <mrowe@apple.com>
1741 Rubber-stamped by Eric.
1743 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1744 This makes it possible to automate nightly builds for the feature-branch.
1746 2007-09-25 Adam Roben <aroben@apple.com>
1748 A couple of fixes/enhancements to update-webkit-*-libs
1750 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1751 to tell update-webkit-support-libraries where it should find the
1752 WebKitSupportLibrary.zip file you downloaded.
1754 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1759 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1760 to $auxiliaryLibsURL and removed an irrelevant comment.
1761 * Scripts/update-webkit-support-libs:
1763 2007-09-25 Adam Treat <treat@kde.org>
1765 Reviewed by Simon and Lars.
1767 Refactors and cleans up Qt DRT member variable names, member variable
1768 initialization, style fixes and general code cleanup.
1770 Adds queueReload slot to LayoutTestController that some tests require.
1772 Subclasses QWebFrame to make sure that all frames have an associated
1773 LayoutTestController JS window object.
1775 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1776 aren't dumped twice.
1780 Together, this patch fixes some 20+ layout tests in QtWebKit.
1782 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1783 (WebCore::WebFrame::WebFrame):
1784 (WebCore::WebPage::WebPage):
1785 (WebCore::WebPage::createFrame):
1786 (WebCore::DumpRenderTree::DumpRenderTree):
1787 (WebCore::DumpRenderTree::open):
1788 (WebCore::DumpRenderTree::readStdin):
1789 (WebCore::DumpRenderTree::initJSObjects):
1790 (WebCore::DumpRenderTree::dump):
1791 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1792 (WebCore::DumpRenderTree::layoutTestController):
1793 (WebCore::DumpRenderTree::eventSender):
1794 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1795 (LayoutTestController::LayoutTestController):
1796 (LayoutTestController::reset):
1797 (LayoutTestController::maybeDump):
1798 (LayoutTestController::waitUntilDone):
1799 (LayoutTestController::notifyDone):
1800 (LayoutTestController::queueReload):
1801 (LayoutTestController::provisionalLoad):
1802 (EventSender::EventSender):
1803 (EventSender::mouseDown):
1804 (EventSender::mouseUp):
1805 (EventSender::mouseMoveTo):
1806 (EventSender::frameUnderMouse):
1807 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1808 (LayoutTestController::isLoading):
1809 (LayoutTestController::setLoading):
1810 (LayoutTestController::dumpAsText):
1811 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1814 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1817 - Reverted an accidentally checked in file.
1819 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1821 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1824 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1826 * DumpRenderTree/win/DumpRenderTree.vcproj:
1827 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1829 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
1831 Rubber stamped by Adam.
1833 * GdkLauncher: Removed.
1834 * GdkLauncher/Bakefiles.bkgen: Removed.
1835 * GdkLauncher/ENV: Removed.
1836 * GdkLauncher/GdkLauncher.pro: Removed.
1837 * GdkLauncher/gdklauncher.bkl: Removed.
1838 * GdkLauncher/main.cpp: Removed.
1839 * GdkLauncher/mk: Removed.
1840 * GdkLauncher/simple.svg: Removed.
1841 * GdkLauncher/text.html: Removed.
1842 * GtkLauncher: Added.
1843 * GtkLauncher/GdkLauncher.pro: Removed.
1844 * GtkLauncher/GtkLauncher.pro: Added.
1845 * GtkLauncher/main.cpp:
1846 (updateWindowTitle):
1848 * Scripts/build-webkit:
1849 * Scripts/regenerate-makefiles:
1850 * Scripts/run-javascriptcore-tests:
1851 * Scripts/run-launcher:
1852 * Scripts/run-webkit-tests:
1853 * Scripts/webkitdirs.pm:
1855 2007-09-21 Timothy Hatcher <timothy@apple.com>
1859 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1861 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1862 This is tested by plugins/root-object-premature-delete-crash.html.
1864 * DumpRenderTree/mac/ObjCController.m:
1865 (-[ObjCController accessStoredWebScriptObject]):
1867 2007-09-21 Kevin McCullough <kmccullough@apple.com>
1871 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1873 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1874 (FrameLoadDelegate::FrameLoadDelegate):
1876 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
1880 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1881 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1883 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1884 Now isQt() and isGdk() use global variables that are only set once.
1886 An array of all the parameters is now given to build-dumprender which includes
1887 the platform on linux.
1889 * Scripts/build-dumprendertree:
1890 * Scripts/run-webkit-tests:
1891 * Scripts/webkitdirs.pm:
1893 2007-09-19 Adam Roben <aroben@apple.com>
1895 Rubberstamped by Hyatt.
1897 * Spinneret: Removed.
1899 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
1901 Reviewed by David Kilzer.
1903 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1905 2007-09-18 Sam Weinig <sam@webkit.org>
1907 Add JSRetainPtr.h #include to fix some builds.
1909 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1911 2007-09-18 Mike Hommey <glandium@debian.org>
1915 * Scripts/prepare-ChangeLog:
1916 - Properly parse GECOS field.
1917 - Use git configuration for user name and email when appropriate.
1919 2007-09-17 Sam Weinig <sam@webkit.org>
1923 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1925 2007-09-17 Sam Weinig <sam@webkit.org>
1927 Reviewed by Adam Roben.
1929 Share more code between mac and windows DRT.
1930 - GCController is now shared.
1931 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
1933 * DumpRenderTree/GCController.cpp:
1934 * DumpRenderTree/win/DumpRenderTree.cpp:
1935 * DumpRenderTree/win/DumpRenderTree.vcproj:
1936 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
1937 (FrameLoadDelegate::FrameLoadDelegate):
1938 (FrameLoadDelegate::~FrameLoadDelegate):
1939 (FrameLoadDelegate::windowScriptObjectAvailable):
1940 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
1941 * DumpRenderTree/win/GCController.cpp: Removed.
1942 * DumpRenderTree/win/GCController.h: Removed.
1943 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
1944 (GCController::collect):
1945 (GCController::collectOnAlternateThread):
1946 (GCController::getJSObjectCount):
1947 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
1948 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
1950 2007-09-17 Sam Weinig <sam@webkit.org>
1952 Reviewed by Adam Roben.
1954 Begin sharing code between mac and windows DRT.
1955 - both now share LayoutTestController.h/cpp and implement platform dependant
1956 operations in LayoutTestControllerMac/Win.
1957 - DumpRenderTree.h is now shared.
1958 - WorkQueue and WorkQueueItem are also shared.
1960 * DumpRenderTree/DumpRenderTree.h:
1961 * DumpRenderTree/LayoutTestController.cpp:
1962 * DumpRenderTree/win/DumpRenderTree.cpp:
1964 (dumpFrameScrollPosition):
1968 * DumpRenderTree/win/DumpRenderTree.h: Removed.
1969 * DumpRenderTree/win/DumpRenderTree.vcproj:
1970 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
1971 * DumpRenderTree/win/EditingDelegate.cpp:
1972 (EditingDelegate::shouldBeginEditingInDOMRange):
1973 (EditingDelegate::shouldEndEditingInDOMRange):
1974 (EditingDelegate::shouldInsertNode):
1975 (EditingDelegate::shouldInsertText):
1976 (EditingDelegate::shouldDeleteDOMRange):
1977 (EditingDelegate::shouldChangeSelectedDOMRange):
1978 (EditingDelegate::shouldApplyStyle):
1979 (EditingDelegate::shouldChangeTypingStyle):
1980 (EditingDelegate::doPlatformCommand):
1981 (EditingDelegate::webViewDidBeginEditing):
1982 (EditingDelegate::webViewDidChange):
1983 (EditingDelegate::webViewDidEndEditing):
1984 (EditingDelegate::webViewDidChangeTypingStyle):
1985 (EditingDelegate::webViewDidChangeSelection):
1986 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
1987 * DumpRenderTree/win/LayoutTestController.h: Removed.
1988 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
1989 (LayoutTestController::addDisallowedURL):
1990 (LayoutTestController::clearBackForwardList):
1991 (LayoutTestController::copyDecodedHostName):
1992 (LayoutTestController::copyEncodedHostName):
1993 (LayoutTestController::display):
1994 (LayoutTestController::keepWebHistory):
1995 (LayoutTestController::notifyDone):
1996 (LayoutTestController::queueBackNavigation):
1997 (LayoutTestController::queueForwardNavigation):
1998 (jsStringRefToWString):
1999 (LayoutTestController::queueLoad):
2000 (LayoutTestController::queueReload):
2001 (LayoutTestController::queueScript):
2002 (LayoutTestController::setAcceptsEditing):
2003 (LayoutTestController::setCustomPolicyDelegate):
2004 (LayoutTestController::setMainFrameIsFirstResponder):
2005 (LayoutTestController::setTabKeyCyclesThroughElements):
2006 (LayoutTestController::setUseDashboardCompatibilityMode):
2007 (LayoutTestController::setUserStyleSheetEnabled):
2008 (LayoutTestController::setUserStyleSheetLocation):
2009 (LayoutTestController::setWindowIsKey):
2010 (waitUntilDoneWatchdogFired):
2011 (LayoutTestController::setWaitToDump):
2012 (LayoutTestController::windowCount):
2013 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2014 (FrameLoadDelegate::didReceiveTitle):
2015 (FrameLoadDelegate::processWork):
2016 (FrameLoadDelegate::locationChangeDone):
2017 (FrameLoadDelegate::windowScriptObjectAvailable):
2018 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2019 * DumpRenderTree/win/WorkQueue.h: Removed.
2020 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2021 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2022 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2023 (jsStringRefToWString):
2025 (ScriptItem::invoke):
2027 2007-09-17 Sam Weinig <sam@webkit.org>
2029 Reviewed by Adam Roben.
2031 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2033 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2034 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2035 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2036 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2037 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2038 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2039 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2040 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2041 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2042 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2043 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2044 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2045 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2046 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2047 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2048 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2049 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2050 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2051 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2052 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2053 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2054 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2055 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2056 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2057 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2058 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2059 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2060 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2061 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2062 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2063 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2064 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2065 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2066 * DumpRenderTree/win: Added.
2067 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2068 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2069 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2070 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2071 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2072 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2073 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2074 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2075 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2076 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2077 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2078 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2079 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2080 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2081 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2082 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2083 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2084 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2085 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2086 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2087 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2088 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2089 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2090 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2091 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2092 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2094 2007-09-15 Mark Rowe <mrowe@apple.com>
2096 Build fix for DumpRenderTree.
2098 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2100 2007-09-14 Sam Weinig <sam@webkit.org>
2102 Rubber stamped by Adam Roben.
2104 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2105 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2106 kept in the WaitUntilDoneDelegate file for the time being.
2108 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2110 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2111 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2112 (UIDelegate::QueryInterface):
2113 (UIDelegate::AddRef):
2114 (UIDelegate::Release):
2115 (UIDelegate::hasCustomMenuImplementation):
2116 (UIDelegate::setFrame):
2117 (UIDelegate::webViewFrame):
2118 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2119 (UIDelegate::webViewAddMessageToConsole):
2120 (UIDelegate::doDragDrop):
2121 (UIDelegate::webViewGetDlgCode):
2122 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2123 (UIDelegate::UIDelegate):
2124 (UIDelegate::createWebViewWithRequest):
2125 (UIDelegate::webViewShow):
2126 (UIDelegate::webViewClose):
2127 (UIDelegate::webViewFocus):
2128 (UIDelegate::webViewUnfocus):
2129 (UIDelegate::webViewFirstResponder):
2130 (UIDelegate::makeFirstResponder):
2131 (UIDelegate::setStatusText):
2132 (UIDelegate::webViewStatusText):
2133 (UIDelegate::webViewAreToolbarsVisible):
2134 (UIDelegate::setToolbarsVisible):
2135 (UIDelegate::webViewIsStatusBarVisible):
2136 (UIDelegate::setStatusBarVisible):
2137 (UIDelegate::webViewIsResizable):
2138 (UIDelegate::setResizable):
2139 (UIDelegate::setContentRect):
2140 (UIDelegate::webViewContentRect):
2141 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2142 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2143 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2144 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2145 (UIDelegate::mouseDidMoveOverElement):
2146 (UIDelegate::contextMenuItemsForElement):
2147 (UIDelegate::validateUserInterfaceItem):
2148 (UIDelegate::shouldPerformAction):
2149 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2150 (UIDelegate::willPerformDragDestinationAction):
2151 (UIDelegate::dragSourceActionMaskForPoint):
2152 (UIDelegate::willPerformDragSourceAction):
2153 (UIDelegate::contextMenuItemSelected):
2154 (UIDelegate::trackCustomPopupMenu):
2155 (UIDelegate::measureCustomMenuItem):
2156 (UIDelegate::drawCustomMenuItem):
2157 (UIDelegate::addCustomMenuDrawingData):
2158 (UIDelegate::cleanUpCustomMenuDrawingData):
2159 (UIDelegate::canTakeFocus):
2160 (UIDelegate::takeFocus):
2161 (UIDelegate::registerUndoWithTarget):
2162 (UIDelegate::removeAllActionsWithTarget):
2163 (UIDelegate::setActionTitle):
2166 (UIDelegate::canUndo):
2167 (UIDelegate::canRedo):
2168 (UIDelegate::webViewResizerRect):
2169 (UIDelegate::webViewDrawResizer):
2170 (UIDelegate::webViewScrolled):
2171 (UIDelegate::webViewShouldInterruptJavaScript):
2172 (UIDelegate::webViewReceivedFocus):
2173 (UIDelegate::webViewLostFocus):
2174 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2175 (FrameLoadDelegate::QueryInterface):
2176 (FrameLoadDelegate::AddRef):
2177 (FrameLoadDelegate::Release):
2178 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2179 (FrameLoadDelegate::didCommitLoadForFrame):
2180 (FrameLoadDelegate::didReceiveTitle):
2181 (FrameLoadDelegate::processWork):
2183 (FrameLoadDelegate::locationChangeDone):
2184 (FrameLoadDelegate::didFinishLoadForFrame):
2185 (FrameLoadDelegate::didFailLoadWithError):
2186 (FrameLoadDelegate::windowScriptObjectAvailable):
2187 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2188 (FrameLoadDelegate::FrameLoadDelegate):
2190 2007-09-14 Sam Weinig <sam@webkit.org>
2192 Reviewed by Kevin McCullough.
2194 Move mac specific globals in to mac/DumpRenderTreeMac.h
2196 * DumpRenderTree/DumpRenderTree.h:
2197 * DumpRenderTree/DumpRenderTree.mm: Removed.
2198 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2199 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2200 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2202 2007-09-14 Brady Eidson <beidson@apple.com>
2204 Rubberstamped by Weinig
2206 You know, Sam, some of us use case-sensitve filesystems...
2208 * DumpRenderTree/DumpRenderTree.h:
2209 * DumpRenderTree/mac/UIDelegate.mm:
2211 2007-09-14 Sam Weinig <sam@webkit.org>
2213 Rubber stamped by Adam Roben.
2215 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2216 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2218 * DumpRenderTree/AppleScriptController.h: Removed.
2219 * DumpRenderTree/AppleScriptController.m: Removed.
2220 * DumpRenderTree/DumpRenderTree.h:
2221 * DumpRenderTree/DumpRenderTree.mm:
2222 (startJavaScriptThreads):
2223 (stopJavaScriptThreads):
2225 (setDefaultColorProfileToRGB):
2226 (makeLargeMallocFailSilently):
2227 (dumpFrameScrollPosition):
2231 (-[DumpRenderTreeWindow isKeyWindow]):
2232 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2233 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2234 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2235 * DumpRenderTree/EditingDelegate.h: Removed.
2236 * DumpRenderTree/EditingDelegate.m: Removed.
2237 * DumpRenderTree/EventSendingController.h: Removed.
2238 * DumpRenderTree/EventSendingController.m: Removed.
2239 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2240 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2241 * DumpRenderTree/GCController.mm: Removed.
2242 * DumpRenderTree/ImageDiff.m: Removed.
2243 * DumpRenderTree/LayoutTestController.cpp:
2244 (LayoutTestController::LayoutTestController):
2245 (dumpAsTextCallback):
2246 (dumpBackForwardListCallback):
2247 (dumpChildFramesAsTextCallback):
2248 (dumpChildFrameScrollPositionsCallback):
2249 (dumpDOMAsWebArchiveCallback):
2250 (dumpEditingCallbacksCallback):
2251 (dumpFrameLoadCallbacksCallback):
2252 (dumpResourceLoadCallbacksCallback):
2253 (dumpSelectionRectCallback):
2254 (dumpSourceAsWebArchiveCallback):
2255 (dumpTitleChangesCallback):
2256 (repaintSweepHorizontallyCallback):
2257 (setCallCloseOnWebViewsCallback):
2258 (setCanOpenWindowsCallback):
2259 (setCloseRemainingWindowsWhenCompleteCallback):
2260 (testRepaintCallback):
2261 (addFileToPasteboardOnDragCallback):
2262 (waitUntilDoneCallback):
2263 * DumpRenderTree/LayoutTestController.h:
2264 (LayoutTestController::dumpAsText):
2265 (LayoutTestController::setDumpAsText):
2266 (LayoutTestController::dumpBackForwardList):
2267 (LayoutTestController::setDumpBackForwardList):
2268 (LayoutTestController::dumpChildFrameScrollPositions):
2269 (LayoutTestController::setDumpChildFrameScrollPositions):
2270 (LayoutTestController::dumpChildFramesAsText):
2271 (LayoutTestController::setDumpChildFramesAsText):
2272 (LayoutTestController::dumpDOMAsWebArchive):
2273 (LayoutTestController::setDumpDOMAsWebArchive):
2274 (LayoutTestController::dumpSelectionRect):
2275 (LayoutTestController::setDumpSelectionRect):
2276 (LayoutTestController::dumpSourceAsWebArchive):
2277 (LayoutTestController::setDumpSourceAsWebArchive):
2278 (LayoutTestController::dumpTitleChanges):
2279 (LayoutTestController::setDumpTitleChanges):
2280 (LayoutTestController::dumpEditingCallbacks):
2281 (LayoutTestController::setDumpEditingCallbacks):
2282 (LayoutTestController::dumpResourceLoadCallbacks):
2283 (LayoutTestController::setDumpResourceLoadCallbacks):
2284 (LayoutTestController::dumpFrameLoadCallbacks):
2285 (LayoutTestController::setDumpFrameLoadCallbacks):
2286 (LayoutTestController::addFileToPasteboardOnDrag):
2287 (LayoutTestController::setAddFileToPasteboardOnDrag):
2288 (LayoutTestController::callCloseOnWebViews):
2289 (LayoutTestController::setCallCloseOnWebViews):
2290 (LayoutTestController::canOpenWindows):
2291 (LayoutTestController::setCanOpenWindows):
2292 (LayoutTestController::closeRemainingWindowsWhenComplete):
2293 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2294 (LayoutTestController::testRepaint):
2295 (LayoutTestController::setTestRepaint):
2296 (LayoutTestController::testRepaintSweepHorizontally):
2297 (LayoutTestController::setTestRepaintSweepHorizontally):
2298 (LayoutTestController::waitToDump):
2299 (LayoutTestController::windowIsKey):
2300 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2301 * DumpRenderTree/NavigationController.h: Removed.
2302 * DumpRenderTree/NavigationController.m: Removed.
2303 * DumpRenderTree/ObjCController.h: Removed.
2304 * DumpRenderTree/ObjCController.m: Removed.
2305 * DumpRenderTree/ObjCPlugin.h: Removed.
2306 * DumpRenderTree/ObjCPlugin.m: Removed.
2307 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2308 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2309 * DumpRenderTree/PolicyDelegate.h: Removed.
2310 * DumpRenderTree/PolicyDelegate.m: Removed.
2311 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2312 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2313 * DumpRenderTree/TextInputController.h: Removed.
2314 * DumpRenderTree/TextInputController.m: Removed.
2315 * DumpRenderTree/UIDelegate.h: Removed.
2316 * DumpRenderTree/UIDelegate.mm: Removed.
2317 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2318 * DumpRenderTree/mac: Added.
2319 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2320 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2321 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2322 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2323 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2324 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2325 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2326 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2327 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2328 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2329 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2330 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2331 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2332 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2333 (-[EditingDelegate webViewDidBeginEditing:]):
2334 (-[EditingDelegate webViewDidChange:]):
2335 (-[EditingDelegate webViewDidEndEditing:]):
2336 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2337 (-[EditingDelegate webViewDidChangeSelection:]):
2338 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2339 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2340 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2341 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2342 (-[FrameLoadDelegate init]):
2343 (-[FrameLoadDelegate dealloc]):
2344 (-[FrameLoadDelegate processWork:]):
2345 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2346 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2347 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2348 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2349 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2350 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2351 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2352 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2353 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2354 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2355 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2356 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2357 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2358 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2359 (-[FrameLoadDelegate webView:willCloseFrame:]):
2360 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2361 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2362 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2363 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2364 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2365 (LayoutTestController::notifyDone):
2366 (LayoutTestController::setWindowIsKey):
2367 (LayoutTestController::setWaitToDump):
2368 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2369 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2370 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2371 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2372 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2373 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2374 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2375 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2376 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2377 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2378 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2379 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2380 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2381 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2382 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2383 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2384 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2385 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2386 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2387 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2388 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2389 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2390 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2391 (-[UIDelegate webViewFocus:]):
2392 (-[UIDelegate webView:createWebViewWithRequest:]):
2393 (-[UIDelegate webViewClose:]):
2394 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2396 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2400 - Changing Win version of Drosera work with recent changes.
2402 * Drosera/DebuggerDocument.cpp:
2403 * Drosera/DebuggerDocument.h:
2404 * Drosera/mac/DebuggerDocumentPlatform.mm:
2405 (NSStringCreateWithJSStringRef):
2406 (JSValueRefCreateWithNSString):
2407 * Drosera/win/DebuggerClient.cpp:
2408 (DebuggerClient::stepInto):
2409 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2411 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2415 - Moved isPaused into the JS for efficiency and simplicity.
2417 * Drosera/DebuggerDocument.cpp:
2418 (DebuggerDocument::DebuggerDocument):
2419 (DebuggerDocument::pauseCallback):
2420 (DebuggerDocument::resumeCallback):
2421 (DebuggerDocument::isPaused):
2422 (DebuggerDocument::staticFunctions):
2423 * Drosera/DebuggerDocument.h:
2424 * Drosera/console.js:
2425 * Drosera/debugger.js:
2426 * Drosera/mac/DebuggerClient.mm:
2427 (-[DebuggerClient validateUserInterfaceItem:]):
2429 2007-09-13 Sam Weinig <sam@webkit.org>
2431 Rubber stamped by Darin.
2433 Make DumpRenderTree more cross platform ready.
2434 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2435 - Use CF types instead of NS objects.
2438 * DumpRenderTree/DumpRenderTree.h:
2439 * DumpRenderTree/DumpRenderTree.mm:
2443 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2444 * DumpRenderTree/EditingDelegate.m:
2445 * DumpRenderTree/FrameLoadDelegate.h:
2446 * DumpRenderTree/FrameLoadDelegate.mm:
2447 (-[FrameLoadDelegate init]):
2448 (-[FrameLoadDelegate dealloc]):
2449 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2450 * DumpRenderTree/GCController.cpp: Added.
2451 (GCController::GCController):
2452 (GCController::~GCController):
2454 (collectOnAlternateThreadCallback):
2455 (getJSObjectCountCallback):
2456 (GCController::makeWindowObject):
2457 (GCController::getJSClass):
2458 (GCController::staticFunctions):
2459 * DumpRenderTree/GCController.h:
2460 * DumpRenderTree/GCController.mm:
2461 (GCController::collect):
2462 (GCController::collectOnAlternateThread):
2463 (GCController::getJSObjectCount):
2464 * DumpRenderTree/LayoutTestController.cpp:
2465 (LayoutTestController::makeWindowObject):
2466 (LayoutTestController::getJSClass):
2467 * DumpRenderTree/LayoutTestController.h:
2468 * DumpRenderTree/LayoutTestControllerMac.mm:
2469 (LayoutTestController::addDisallowedURL):
2470 (waitUntilDoneWatchdogFired):
2471 (LayoutTestController::waitUntilDone):
2472 * DumpRenderTree/ResourceLoadDelegate.m:
2473 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2475 2007-09-12 Sam Weinig <sam@webkit.org>
2477 Reviewed by Stephanie.
2479 Fix leaks in mac DumpRenderTree.
2481 * DumpRenderTree/FrameLoadDelegate.mm:
2482 (-[FrameLoadDelegate init]): Initalize in the correct order.
2483 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2484 * DumpRenderTree/LayoutTestController.cpp:
2485 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2486 (encodeHostNameCallback): ditto.
2487 * DumpRenderTree/LayoutTestController.h:
2488 * DumpRenderTree/LayoutTestControllerMac.mm:
2489 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2490 (LayoutTestController::copyEncodedHostName): ditto
2491 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2493 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2497 - 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.
2499 * Scripts/run-webkit-tests:
2501 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2505 - Simplified code paths and extracted out functions to increase encapsulation.
2507 * Drosera/DebuggerDocument.cpp:
2508 (DebuggerDocument::breakpointEditorHTMLCallback):
2509 (DebuggerDocument::isPausedCallback):
2510 (DebuggerDocument::pauseCallback):
2511 (DebuggerDocument::resumeCallback):
2512 (DebuggerDocument::stepIntoCallback):
2513 (DebuggerDocument::evaluateScriptCallback):
2514 (DebuggerDocument::currentFunctionStackCallback):
2515 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2516 (DebuggerDocument::valueForScopeVariableNamedCallback):
2517 (DebuggerDocument::logCallback):
2518 * Drosera/DebuggerDocument.h:
2519 (DebuggerDocument::getPaused):
2520 * Drosera/mac/DebuggerClient.mm:
2521 (-[DebuggerClient pause:]):
2522 (-[DebuggerClient resume:]):
2523 (-[DebuggerClient stepInto:]):
2524 (-[DebuggerClient stepOver:]):
2525 (-[DebuggerClient stepOut:]):
2526 (-[DebuggerClient showConsole:]):
2527 (-[DebuggerClient closeCurrentFile:]):
2528 (-[DebuggerClient validateUserInterfaceItem:]):
2529 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2530 (+[NSString stringOrNilFromWebScriptResult:]):
2531 (DebuggerDocument::platformPause):
2532 (DebuggerDocument::platformResume):
2533 (DebuggerDocument::platformStepInto):
2534 (DebuggerDocument::platformEvaluateScript):
2535 (DebuggerDocument::getPlatformCurrentFunctionStack):
2536 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2537 (DebuggerDocument::platformValueForScopeVariableNamed):
2538 (DebuggerDocument::platformLog):
2539 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2541 2007-09-12 Sam Weinig <sam@webkit.org>
2543 Build fix for Buildbot.
2545 * DumpRenderTree/DumpRenderTree.mm:
2548 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2552 - Updated the leaks list for leopard to help identify regressions.
2554 * Scripts/run-webkit-tests:
2556 2007-09-12 Sam Weinig <sam@webkit.org>
2558 Rubber stamped by Darin.
2560 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2562 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2563 * DumpRenderTree/DumpRenderTree.m: Removed.
2564 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2565 (stopJavaScriptThreads): Fix initialization.
2566 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2567 (dumpRenderTree): Ditto.
2569 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2571 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2572 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2573 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2574 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2575 (-[FrameLoadDelegate init]):
2576 (-[FrameLoadDelegate dealloc]):
2577 (-[FrameLoadDelegate processWork:]):
2578 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2579 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2580 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2582 * DumpRenderTree/LayoutTestController.cpp: Added.
2583 (LayoutTestController::LayoutTestController):
2584 (LayoutTestController::~LayoutTestController):
2585 (dumpAsTextCallback):
2586 (dumpBackForwardListCallback):
2587 (dumpChildFramesAsTextCallback):
2588 (dumpChildFrameScrollPositionsCallback):
2589 (dumpDOMAsWebArchiveCallback):
2590 (dumpEditingCallbacksCallback):
2591 (dumpFrameLoadCallbacksCallback):
2592 (dumpResourceLoadCallbacksCallback):
2593 (dumpSelectionRectCallback):
2594 (dumpSourceAsWebArchiveCallback):
2595 (dumpTitleChangesCallback):
2596 (repaintSweepHorizontallyCallback):
2597 (setCallCloseOnWebViewsCallback):
2598 (setCanOpenWindowsCallback):
2599 (setCloseRemainingWindowsWhenCompleteCallback):
2600 (testRepaintCallback):
2601 (addFileToPasteboardOnDragCallback):
2602 (addDisallowedURLCallback):
2603 (clearBackForwardListCallback):
2604 (decodeHostNameCallback):
2606 (encodeHostNameCallback):
2607 (keepWebHistoryCallback):
2608 (notifyDoneCallback):
2609 (queueBackNavigationCallback):
2610 (queueForwardNavigationCallback):
2611 (queueLoadCallback):
2612 (queueReloadCallback):
2613 (queueScriptCallback):
2614 (setAcceptsEditingCallback):
2615 (setCustomPolicyDelegateCallback):
2616 (setMainFrameIsFirstResponderCallback):
2617 (setTabKeyCyclesThroughElementsCallback):
2618 (setUseDashboardCompatibilityModeCallback):
2619 (setUserStyleSheetEnabledCallback):
2620 (setUserStyleSheetLocationCallback):
2621 (setWindowIsKeyCallback):
2622 (waitUntilDoneCallback):
2623 (windowCountCallback):
2624 (LayoutTestController::makeWindowObject):
2625 (LayoutTestController::getLayoutTestControllerJSClass):
2626 (LayoutTestController::staticFunctions):
2627 * DumpRenderTree/LayoutTestController.h: Replaced.
2628 * DumpRenderTree/LayoutTestController.m: Removed.
2629 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2630 (LayoutTestController::dumpAsText):
2631 (LayoutTestController::dumpBackForwardList):
2632 (LayoutTestController::dumpChildFramesAsText):
2633 (LayoutTestController::dumpChildFrameScrollPositions):
2634 (LayoutTestController::dumpDOMAsWebArchive):
2635 (LayoutTestController::dumpEditingCallbacks):
2636 (LayoutTestController::dumpFrameLoadCallbacks):
2637 (LayoutTestController::dumpResourceLoadCallbacks):
2638 (LayoutTestController::dumpSelectionRect):
2639 (LayoutTestController::dumpSourceAsWebArchive):
2640 (LayoutTestController::dumpTitleChanges):
2641 (LayoutTestController::repaintSweepHorizontally):
2642 (LayoutTestController::setCallCloseOnWebViews):
2643 (LayoutTestController::setCanOpenWindows):
2644 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2645 (LayoutTestController::testRepaint):
2646 (LayoutTestController::addFileToPasteboardOnDrag):
2647 (LayoutTestController::addDisallowedURL):
2648 (LayoutTestController::clearBackForwardList):
2649 (LayoutTestController::decodeHostName):
2650 (LayoutTestController::encodeHostName):
2651 (LayoutTestController::display):
2652 (LayoutTestController::keepWebHistory):
2653 (LayoutTestController::notifyDone):
2654 (LayoutTestController::queueBackNavigation):
2655 (LayoutTestController::queueForwardNavigation):
2656 (LayoutTestController::queueLoad):
2657 (LayoutTestController::queueReload):
2658 (LayoutTestController::queueScript):
2659 (LayoutTestController::setAcceptsEditing):
2660 (LayoutTestController::setCustomPolicyDelegate):
2661 (LayoutTestController::setMainFrameIsFirstResponder):
2662 (LayoutTestController::setTabKeyCyclesThroughElements):
2663 (LayoutTestController::setUseDashboardCompatibilityMode):
2664 (LayoutTestController::setUserStyleSheetEnabled):
2665 (LayoutTestController::setUserStyleSheetLocation):
2666 (LayoutTestController::setWindowIsKey):
2667 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2668 (LayoutTestController::waitUntilDone):
2669 (LayoutTestController::windowCount):
2670 Use the JSCore API to implement the LayoutTestController.
2672 * DumpRenderTree/ObjCController.h:
2673 * DumpRenderTree/ObjCController.m:
2674 (+[ObjCController isSelectorExcludedFromWebScript:]):
2675 (+[ObjCController webScriptNameForSelector:]):
2676 (-[ObjCController accessStoredWebScriptObject]):
2677 (-[ObjCController storeWebScriptObject:]):
2678 (-[ObjCController dealloc]):
2679 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2680 Move WebScriptObject tests to ObjCController.
2682 * DumpRenderTree/UIDelegate.m: Removed.
2683 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2685 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2686 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2687 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2688 (WorkQueueItem::~WorkQueueItem):
2689 (LoadItem::LoadItem):
2692 (ScriptItem::ScriptItem):
2693 (ScriptItem::script):
2694 * DumpRenderTree/WorkQueueItemMac.mm: Added.
2696 (ReloadItem::invoke):
2697 (ScriptItem::invoke):
2698 (BackForwardItem::invoke):
2699 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2700 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
2703 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2707 - Updated Win side to take advantage of the platform separating changes.
2709 * Drosera/DebuggerDocument.cpp:
2710 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2711 * Drosera/DebuggerDocument.h:
2712 * Drosera/win/DebuggerClient.cpp:
2713 (DebuggerClient::pause):
2714 (DebuggerClient::resume):
2715 (DebuggerClient::stepInto):
2716 (DebuggerDocument::platformPause):
2717 (DebuggerDocument::platformResume):
2718 (DebuggerDocument::platformStepInto):
2719 (DebuggerDocument::platformEvaluateScript):
2720 (DebuggerDocument::getPlatformCurrentFunctionStack):
2721 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2722 (DebuggerDocument::platformValueForScopeVariableNamed):
2723 (DebuggerDocument::platformLog):
2724 * Drosera/win/DebuggerClient.h:
2725 * Drosera/win/Drosera.cpp:
2727 (Drosera::windowScriptObjectAvailable):
2728 (Drosera::initWithServerName):
2729 (Drosera::switchToServerNamed):
2730 * Drosera/win/Drosera.h:
2731 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2733 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2737 - Just doing the moves in a separate patch so the changes are easier to see.
2739 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2740 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2741 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2742 * Drosera/win/DebuggerDocumentWin.h: Removed.
2743 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2745 2007-09-11 Sven Herzberg <sven@imendio.com>
2747 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2748 http://bugs.webkit.org/show_bug.cgi?id=15176
2750 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2751 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2752 other paths eg. from jhbuild)
2754 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2758 - Made an order-of-deletion mistake.
2760 * Drosera/DebuggerDocument.h:
2761 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2762 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2763 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2764 * Drosera/mac/DebuggerClient.mm:
2765 (DebuggerDocument::platformPause):
2766 (DebuggerDocument::platformResume):
2767 (DebuggerDocument::platformStepInto):
2768 (DebuggerDocument::platformEvaluateScript):
2769 (DebuggerDocument::getPlatformCurrentFunctionStack):
2770 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2771 (DebuggerDocument::platformValueForScopeVariableNamed):
2772 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2774 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2778 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2780 * Drosera/DebuggerDocument.cpp:
2781 (DebuggerDocument::DebuggerDocument):
2782 * Drosera/DebuggerDocument.h:
2783 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2784 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2785 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2786 * Drosera/mac/DebuggerApplication.mm:
2787 (-[DebuggerApplication attach:]):
2788 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2789 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2790 (DebuggerDocument::platformPause):
2791 (DebuggerDocument::platformResume):
2792 (DebuggerDocument::platformStepInto):
2793 (DebuggerDocument::platformEvaluateScript):
2794 (DebuggerDocument::getPlatformCurrentFunctionStack):
2795 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2796 (DebuggerDocument::platformValueForScopeVariableNamed):
2797 (DebuggerDocument::platformLog):
2798 * Drosera/mac/DebuggerDocumentMac.h: Removed.
2799 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2800 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2802 2007-09-09 Sam Weinig <sam@webkit.org>
2804 Reviewed by Mark Rowe.
2806 Remove 'objC' prefix from methods now in the ObjCController.
2808 * DumpRenderTree/ObjCController.m:
2809 (+[ObjCController isSelectorExcludedFromWebScript:]):
2810 (+[ObjCController webScriptNameForSelector:]):
2811 (-[ObjCController classNameOf:]):
2812 (-[ObjCController objectOfClass:]):
2813 (-[ObjCController identityIsEqual::]):
2814 (-[ObjCController longLongRoundTrip:]):
2815 (-[ObjCController unsignedLongLongRoundTrip:]):
2817 2007-09-09 Sam Weinig <sam@webkit.org>
2821 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
2822 - Move LayoutTestController into its own file.
2823 - Move Objective-C only functions on LayoutTestController into a new controller called the
2826 * DumpRenderTree/DumpRenderTree.h:
2827 * DumpRenderTree/DumpRenderTree.m:
2829 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2830 * DumpRenderTree/FrameLoadDelegate.m:
2831 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2832 * DumpRenderTree/LayoutTestController.h: Added.
2833 * DumpRenderTree/LayoutTestController.m: Added.
2834 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2835 (+[LayoutTestController webScriptNameForSelector:]):
2836 (-[LayoutTestController clearBackForwardList]):
2837 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2838 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2839 (-[LayoutTestController setCustomPolicyDelegate:]):
2840 (-[LayoutTestController keepWebHistory]):
2841 (-[LayoutTestController setCallCloseOnWebViews:]):
2842 (-[LayoutTestController setCanOpenWindows]):
2843 (-[LayoutTestController waitUntilDone]):
2844 (-[LayoutTestController waitUntilDoneWatchdogFired]):
2845 (-[LayoutTestController notifyDone]):
2846 (-[LayoutTestController dumpAsText]):
2847 (-[LayoutTestController addFileToPasteboardOnDrag]):
2848 (-[LayoutTestController addDisallowedURL:]):
2849 (-[LayoutTestController setUserStyleSheetLocation:]):
2850 (-[LayoutTestController setUserStyleSheetEnabled:]):
2851 (-[LayoutTestController dumpDOMAsWebArchive]):
2852 (-[LayoutTestController dumpSourceAsWebArchive]):
2853 (-[LayoutTestController dumpSelectionRect]):
2854 (-[LayoutTestController dumpTitleChanges]):
2855 (-[LayoutTestController dumpBackForwardList]):
2856 (-[LayoutTestController windowCount]):
2857 (-[LayoutTestController dumpChildFrameScrollPositions]):
2858 (-[LayoutTestController dumpChildFramesAsText]):
2859 (-[LayoutTestController dumpEditingCallbacks]):
2860 (-[LayoutTestController dumpResourceLoadCallbacks]):
2861 (-[LayoutTestController dumpFrameLoadCallbacks]):
2862 (-[LayoutTestController setWindowIsKey:]):
2863 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2864 (-[LayoutTestController display]):
2865 (-[LayoutTestController testRepaint]):
2866 (-[LayoutTestController repaintSweepHorizontally]):
2867 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2868 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2869 (-[LayoutTestController _doLoad:target:]):
2870 (-[LayoutTestController _doBackOrForwardNavigation:]):
2871 (-[LayoutTestController queueBackNavigation:]):
2872 (-[LayoutTestController queueForwardNavigation:]):
2873 (-[LayoutTestController queueReload]):
2874 (-[LayoutTestController queueScript:]):
2875 (-[LayoutTestController queueLoad:target:]):
2876 (-[LayoutTestController setAcceptsEditing:]):
2877 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2878 (-[LayoutTestController storeWebScriptObject:]):
2879 (-[LayoutTestController accessStoredWebScriptObject]):
2880 (-[LayoutTestController dealloc]):
2881 (-[LayoutTestController decodeHostName:]):
2882 (-[LayoutTestController encodeHostName:]):
2883 * DumpRenderTree/ObjCController.h: Added.
2884 * DumpRenderTree/ObjCController.m: Added.
2885 (+[ObjCController isSelectorExcludedFromWebScript:]):
2886 (+[ObjCController webScriptNameForSelector:]):
2887 (-[ObjCController objCClassNameOf:]):
2888 (-[ObjCController objCObjectOfClass:]):
2889 (-[ObjCController objCIdentityIsEqual::]):
2890 (-[ObjCController objCLongLongRoundTrip:]):
2891 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2892 (-[ObjCController testWrapperRoundTripping:]):
2894 2007-09-07 Sam Weinig <sam@webkit.org>
2898 Strip trailing and leading space/newline characters from skiplist file names.
2900 * Scripts/run-webkit-tests:
2902 2007-09-06 Kevin McCullough <kmccullough@apple.com>
2906 - Changed Drosera to take advantage of the JSRetainPtr changes.
2908 * Drosera/DebuggerDocument.cpp:
2909 (DebuggerDocument::breakpointEditorHTML):
2910 (DebuggerDocument::evaluateScript):
2911 (DebuggerDocument::valueForScopeVariableNamed):
2912 (DebuggerDocument::log):
2913 (DebuggerDocument::windowScriptObjectAvailable):
2914 (DebuggerDocument::toJSArray):
2915 (DebuggerDocument::callFunctionOnObject):
2916 (DebuggerDocument::logException):
2917 * Drosera/mac/DebuggerDocumentMac.mm:
2918 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
2919 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2920 (DebuggerDocument::platformEvaluateScript):
2921 (DebuggerDocument::getPlatformCurrentFunctionStack):
2922 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2923 (DebuggerDocument::platformValueForScopeVariableNamed):
2925 2007-09-05 Kevin McCullough <kmccullough@apple.com>
2927 Reviewed by Adam, Sam, Darin.
2929 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
2931 * Drosera/Debugger.h: Added.
2932 * Drosera/DebuggerDocument.cpp:
2933 (DebuggerDocument::breakpointEditorHTMLCallback):
2934 (DebuggerDocument::isPausedCallback):
2935 (DebuggerDocument::pauseCallback):
2936 (DebuggerDocument::resumeCallback):
2937 (DebuggerDocument::stepIntoCallback):
2938 (DebuggerDocument::evaluateScriptCallback):
2939 (DebuggerDocument::currentFunctionStackCallback):
2940 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2941 (DebuggerDocument::valueForScopeVariableNamedCallback):
2942 (DebuggerDocument::logCallback):
2943 (DebuggerDocument::breakpointEditorHTML):
2944 (DebuggerDocument::isPaused):
2945 (DebuggerDocument::pause):
2946 (DebuggerDocument::resume):
2947 (DebuggerDocument::stepInto):
2948 (DebuggerDocument::evaluateScript):
2949 (DebuggerDocument::currentFunctionStack):
2950 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2951 (DebuggerDocument::valueForScopeVariableNamed):
2952 (DebuggerDocument::log):
2953 (DebuggerDocument::toolbarPause):
2954 (DebuggerDocument::toolbarResume):
2955 (DebuggerDocument::toolbarStepInto):
2956 (DebuggerDocument::toolbarStepOver):
2957 (DebuggerDocument::toolbarStepOut):
2958 (DebuggerDocument::toolbarShowConsole):
2959 (DebuggerDocument::toolbarCloseCurrentFile):
2960 (DebuggerDocument::updateFileSource):
2961 (DebuggerDocument::didParseScript):
2962 (DebuggerDocument::willExecuteStatement):
2963 (DebuggerDocument::didEnterCallFrame):
2964 (DebuggerDocument::willLeaveCallFrame):
2965 (DebuggerDocument::exceptionWasRaised):
2966 (DebuggerDocument::windowScriptObjectAvailable):
2967 (DebuggerDocument::toJSArray):
2968 (DebuggerDocument::callGlobalFunction):
2969 (DebuggerDocument::callFunctionOnObject):
2970 (DebuggerDocument::getDroseraJSClass):
2971 (DebuggerDocument::staticFunctions):
2972 (DebuggerDocument::logException):
2973 * Drosera/DebuggerDocument.h:
2974 (DebuggerDocument::DebuggerDocument):
2975 * Drosera/ForwardingHeaders: Added.
2976 * Drosera/ForwardingHeaders/wtf: Added.
2977 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
2979 * Drosera/console.html:
2980 * Drosera/console.js:
2981 * Drosera/debugger.js:
2982 * Drosera/mac/DebuggerApplication.mm:
2983 (-[DebuggerApplication attach:]):
2984 * Drosera/mac/DebuggerDocumentMac.h:
2985 * Drosera/mac/DebuggerDocumentMac.mm:
2986 (+[NSString stringOrNilFromWebScriptResult:]):
2987 (+[DebuggerClientMac log:]):
2988 (-[DebuggerClientMac initWithServerName:]):
2989 (-[DebuggerClientMac dealloc]):
2990 (-[DebuggerClientMac pause]):
2991 (-[DebuggerClientMac resume]):
2992 (-[DebuggerClientMac pause:]):
2993 (-[DebuggerClientMac resume:]):
2994 (-[DebuggerClientMac stepInto:]):
2995 (-[DebuggerClientMac stepOver:]):
2996 (-[DebuggerClientMac stepOut:]):
2997 (-[DebuggerClientMac showConsole:]):
2998 (-[DebuggerClientMac closeCurrentFile:]):
2999 (-[DebuggerClientMac validateUserInterfaceItem:]):
3000 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3001 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3002 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3003 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3004 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3005 (DebuggerDocument::platformPause):
3006 (DebuggerDocument::platformResume):
3007 (DebuggerDocument::platformStepInto):
3008 (DebuggerDocument::platformEvaluateScript):
3009 (DebuggerDocument::platformCurrentFunctionStack):
3010 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3011 (DebuggerDocument::platformValueForScopeVariableNamed):
3012 (DebuggerDocument::platformLog):
3013 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3015 2007-09-06 Sam Weinig <sam@webkit.org>
3017 Reviewed by Adam Roben.
3019 Register the WebKit DLL on initialization of the DumpRenderTree.
3021 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3024 2007-09-05 Sam Weinig <sam@webkit.org>
3028 Fix many layout test failures caused by r25364.
3029 Set text size to standand size at the begining of each test matching the mac.
3031 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3034 2007-09-04 Sam Weinig <sam@webkit.org>
3038 Fix for <rdar://problem/5382277>
3039 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3041 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3042 (textZoomInCallback):
3043 (textZoomOutCallback):
3045 2007-08-29 David Kilzer <ddkilzer@apple.com>
3049 Added case-insensitivity to checks for adding regression tests.
3051 * Scripts/prepare-ChangeLog:
3054 2007-08-28 David Kilzer <ddkilzer@apple.com>
3058 Ignore files in /resources/ subdirectories when creating a list of added tests.
3060 * Scripts/prepare-ChangeLog:
3063 2007-08-27 Kevin McCullough <kmccullough@apple.com>
3067 - Removed Leopard leaks list since all of those radars were fixed.
3069 * Scripts/run-webkit-tests:
3071 2007-08-27 Adam Roben <aroben@apple.com>
3073 Rubberstamped by Mark.
3075 * Scripts/pdevenv: Pass arguments along to devenv.com.
3077 2007-08-26 David Kilzer <ddkilzer@webkit.org>
3079 Reviewed by Mark Rowe.
3081 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3083 * Scripts/prepare-ChangeLog:
3084 (changeLogDate): Added.
3086 2007-08-24 Sam Weinig <sam@webkit.org>
3088 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3090 2007-08-24 Sam Weinig <sam@webkit.org>
3092 Rubber-stamped by Adam Roben.
3094 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3096 Rename COM DOM bindings to use Deprecated prefix.
3098 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3101 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
3104 (EditingDelegate::shouldBeginEditingInDOMRange):
3105 (EditingDelegate::shouldEndEditingInDOMRange):
3106 (EditingDelegate::shouldInsertNode):
3107 (EditingDelegate::shouldInsertText):
3108 (EditingDelegate::shouldDeleteDOMRange):
3109 (EditingDelegate::shouldChangeSelectedDOMRange):
3110 (EditingDelegate::shouldApplyStyle):
3111 (EditingDelegate::shouldChangeTypingStyle):
3112 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
3114 2007-08-24 Oliver Hunt <oliver@apple.com>
3118 WebDataSource::response can legitimately have a null response, so we
3119 must check that case.
3121 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3122 (queueLoadCallback):
3124 2007-08-23 Mitz Pettel <mitz@webkit.org>
3126 Reviewed by Darin and Adam.
3128 - DumpRenderTree changes to allow testing for
3129 http://bugs.webkit.org/show_bug.cgi?id=11756
3130 REGRESSION: link targeting a frame in another window does not work
3131 <rdar://problem/5286420>
3133 Use a frame group name for all WebViews created by DumpRenderTree to
3134 allow testing of cross-page frame lookup.
3136 * DumpRenderTree/DumpRenderTree.m:
3137 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
3138 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3139 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
3141 2007-08-23 David Kilzer <ddkilzer@webkit.org>
3145 Quote the $sslCertificate path in case it contains a space.
3147 * Scripts/run-webkit-httpd:
3148 * Scripts/run-webkit-tests:
3150 2007-08-22 Oliver Hunt <oliver@apple.com>
3152 Reviewed by John and Adam.
3154 WebDataSource::response can legitimately have a null response, so we
3155 must check that case.
3157 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3160 2007-08-21 Kevin McCullough <kmccullough@apple.com>
3164 - Changing the usage to be more clear.
3166 * Scripts/run-testkjs:
3168 2007-08-20 John Sullivan <sullivan@apple.com>
3170 Reviewed by Adam Roben
3172 * DumpRenderTree/DumpRenderTree.m:
3174 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
3175 in layout tests on Tiger and Leopard
3177 2007-08-20 Adam Roben <aroben@apple.com>
3179 Put LayoutTests after all other ChangeLogs in commit logs
3181 We use "~" to sort LayoutTests after all the other ChangeLogs because
3182 "~" is the last ASCII character (other than "DEL").
3186 * Scripts/commit-log-editor:
3188 2007-08-20 Adam Roben <aroben@apple.com>
3190 Detect that DRT crashed even if a crash dialog is running
3192 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
3193 process is still running at this point, so run-webkit-tests wouldn't
3194 detect that DRT had crashed. We now record the crash in our SIGPIPE
3195 handler so that we know if DRT crashed even if the crash dialog is up.
3199 * Scripts/run-webkit-tests:
3200 (sub catch_pipe): Set the crashed bit.
3201 (sub openDumpTool): Reset the crashed bit.
3202 (sub dumpToolDidCrash): Check the crashed bit.
3204 2007-08-20 Adam Roben <aroben@apple.com>
3206 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
3208 http://bugs.webkit.org/show_bug.cgi?id=15026
3210 Reviewed by David Kilzer and Darin Adler.
3212 * Scripts/prepare-ChangeLog:
3213 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
3214 (sub isAddedStatus): Ditto.
3215 (sub testListForChangeLog): Added.
3217 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
3221 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
3223 * Scripts/webkitdirs.pm:
3224 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
3226 2007-08-17 Darin Adler <darin@apple.com>
3228 Reviewed by Oliver Hunt.
3230 - don't look for Apple-style localizable strings in the GTK version of WebKit
3232 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
3233 name of subdirectories to skip.
3234 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
3237 2007-08-17 Anders Carlsson <andersca@apple.com>
3241 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3244 2007-08-17 Anders Carlsson <andersca@apple.com>
3246 Reviewed by Dave Hyatt.
3248 <rdar://problem/5379040>
3249 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
3251 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
3253 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3255 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3256 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3260 2007-08-16 Alice Liu <alice.liu@apple.com>
3264 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
3266 * DumpRenderTree/DumpRenderTree.m:
3268 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
3270 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
3272 2007-08-16 Kevin McCullough <kmccullough@apple.com>
3276 - Added tests for regressions in other components. In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
3278 * Scripts/run-webkit-tests:
3280 2007-08-15 Timothy Hatcher <timothy@apple.com>
3282 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
3283 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
3285 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
3286 this prevents making "build" directories in each project folder.
3288 * Scripts/webkitdirs.pm:
3290 2007-08-14 Geoffrey Garen <ggaren@apple.com>
3292 Reviewed by Kevin Mccullough.
3294 Removed special case that didn't belong. (It would allow a global
3295 initializer to sneak into production builds, which would cause a
3296 system-wide performance regression on Mac OS X.)
3298 * Scripts/check-for-global-initializers:
3300 2007-08-14 Justin Garcia <justin.garcia@apple.com>
3304 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
3306 * DumpRenderTree/EditingDelegate.m:
3307 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
3308 only for elements with the class needsDeletionUI.
3310 2007-08-14 David Kilzer <ddkilzer@webkit.org>
3314 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
3315 svn-create-patch uses deprecated tail switch
3317 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
3319 2007-08-13 Sam Weinig <sam@webkit.org>
3321 Reviewed by Adam Roben.
3323 Use the cygwin specific Apache config file under cygwin.
3325 * Scripts/run-webkit-httpd:
3327 2007-08-12 Adam Roben <aroben@apple.com>
3329 Generate results for new tests in a more logical location
3331 New platform-specific tests always have their results generated right
3332 next to the test. New cross-platform tests will have their results
3333 generated a) in the cross-platform directory, if they are text-only,
3334 or b) in the least-specific platform directory, if they are render
3339 * Scripts/run-webkit-tests:
3341 2007-08-12 Adam Roben <aroben@apple.com>
3343 Print the actual directory where new results are generated.
3345 Before, we were printing an unpredictable, context-specific substring
3350 * Scripts/run-webkit-tests:
3352 2007-08-12 Adam Roben <aroben@apple.com>
3354 Factor some common code into a stripExtension() subroutine.
3358 * Scripts/run-webkit-tests: Also removed some debugging output.
3360 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
3362 Reviewed over and over and over by Adam Roben.
3364 Bug 14740: Hierarchical layout tests and platform organization
3365 http://bugs.webkit.org/show_bug.cgi?id=14740
3367 Add support for platform-specific layout tests and results.
3369 * Scripts/run-webkit-tests:
3371 2007-08-11 David Kilzer <ddkilzer@webkit.org>
3375 Refactored svn-create-path to use a hash-of-hashes data structure to keep
3376 track of changed files. In the top level hash, keys are paths to files and
3377 values are 'fileData' hashes with the following keys and values:
3379 - isBinary: boolean value (set to true for non-text files like images, etc.)
3380 - isTestFile: boolean value (set to true if file exists within a known test
3382 - modificationType: string equal to one of 'addition', 'additionWithHistory',
3383 'modification' or 'deletion'
3384 - path: string equal to the path to the file (this may seem redundant, but it
3385 is required to use the second-level 'fileData' hash independent of the
3387 - sourceFile: [optional] string equal to the path of the original file that was
3389 - sourceRevision: [optional] string equal to the revision of the original file
3390 that was copied or moved
3392 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3393 that saves the return value in $result, then checks it before printing help.
3394 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3395 and eliminated two for() loops.
3396 (binarycmp): Added. Used with sort() to order non-binary files before binary
3398 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
3399 (findMimeType): Added optional second argument that takes a revision number.
3400 (generateDiff): Updated to take one fileData argument instead of three ($file,
3401 $modificationType, $isBinary).
3402 (generateFileList): Updated to take one hash ref argument (%diffFiles)
3403 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
3404 %diffFiles using paths for keys and fileData hashes for values.
3405 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3407 (pathcmp): Updated to take two fileData arguments instead of two strings.
3408 (testfilecmp): Added. Used with sort() to order non-test files before test
3411 2007-08-11 Darin Adler <darin@apple.com>
3413 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3415 2007-08-06 Nigel Tao <nigeltao@gnome.org>
3417 Reviewed by David Kilzer.
3419 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3420 http://bugs.webkit.org/show_bug.cgi?id=14745
3422 * Scripts/run-launcher:
3423 Scrub the "--gdk" out of the command line args, if given, so that
3424 GdkLauncher doesn't try to interpret it as a URL.
3426 2007-08-03 Adam Roben <aroben@apple.com>
3428 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3432 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3434 2007-08-03 Sam Weinig <sam@webkit.org>
3438 Recursively dump all frames as text using new
3439 layoutTestController.dumpChildFramesAsText() function.
3441 * DumpRenderTree/DumpRenderTree.m:
3444 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3445 (-[LayoutTestController dumpChildFramesAsText]):
3447 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3451 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3452 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3453 (dumpChildFramesAsTextCallback):
3454 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3456 2007-08-02 Adam Roben <aroben@apple.com>
3458 Fix fast/dom/Window/alert-undefined.html
3462 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3463 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3464 Windows translate a null BSTR into "(null)"
3466 2007-08-02 Kevin McCullough <kmccullough@apple.com>
3470 - It would help if I actually called the right function.
3472 * Drosera/DebuggerDocument.cpp:
3473 (DebuggerDocument::showConsole):
3475 2007-08-02 Adam Roben <aroben@apple.com>
3477 Don't delete the stderr file right after creating it
3479 * Scripts/run-webkit-tests:
3481 2007-08-01 Adam Roben <aroben@apple.com>
3483 When DRT crashes, record stderr and restart DRT
3485 This prevents a DRT crash from causing the next few hundred tests to
3486 "fail" because DRT is no longer running.
3488 I also changed the terminology that run-webkit-tests uses in its
3489 output a bit, so that crashing tests are referred to as "crashes"
3490 instead of "failures".
3494 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3496 (sub openDumpTool): Use open3 so that we can access stderr.
3497 (sub dumpToolCrashed): Added.
3498 (sub printFailureMessageForTest): Added.
3499 (sub htmlForExpectedAndActualResults): Added.
3500 (sub deleteExpectedAndActualResults): Added.
3501 (sub recordActualResultsAndDiff): Added.
3503 2007-07-30 Darin Adler <darin@apple.com>
3505 Reviewed by Tim Hatcher.
3507 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3508 characters. This turned out not to be needed for the test case that motivated me to
3509 do it, but it's nice to have this for the future.
3511 2007-07-30 Simon Hausmann <hausmann@kde.org>
3515 Link QtLauncher into $$OUTPUT_DIR/bin
3517 * Scripts/run-launcher:
3519 2007-07-27 David Kilzer <ddkilzer@apple.com>
3521 Reviewed by Geoff and Darin.
3523 Use a subroutine for validating the --skipped switch.
3525 * Scripts/run-webkit-tests:
3527 2007-07-27 Darin Adler <darin@apple.com>
3531 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3533 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3537 Correct the path of GdkLauncher and make checkFrameworks work on OSX
3538 when building the Qt or Gtk+ port.
3540 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3541 * Scripts/run-launcher:
3542 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3544 2007-07-27 Simon Hausmann <hausmann@kde.org>
3546 Done with and reviewed by Lars and Zack.
3548 Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.