1 2007-10-29 David Kilzer <ddkilzer@webkit.org>
3 Fixed showStatus() to print status for successfully resolved conflicts when using git.
7 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
8 was successfully resolved, but this would not show any status because the change had
9 already been cached in the index using "git add". The solution is to add an optional
10 second argument to showStatus() which adds the "--cached" switch to the command.
12 * Scripts/resolve-ChangeLogs:
15 2007-10-28 Eric Seidel <eric@webkit.org>
17 Reviewed by Maciej and Geoff, in unison.
19 * Scripts/run-webkit-tests: remove broken --svg option
21 2007-10-28 Darin Adler <darin@apple.com>
25 * Scripts/run-sunspider: Default to "Release" configuration rather than
26 defaulting to the last configuration used as other scripts do. This can
27 still be overriden on the command line with "--debug" if there's some
28 reason to do so. Also fix a typo.
30 * Scripts/sunspider-compare-results: Fix a typo.
32 2007-10-26 Kevin McCullough <kmccullough@apple.com>
36 - Implemented the WebScriptDebugListener functions now that the
37 WebScriptDebugServer exists
39 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
41 (ServerConnection::currentFrame):
42 (ServerConnection::didLoadMainResourceForDataSource):
43 (ServerConnection::didParseSource):
44 (ServerConnection::failedToParseSource):
45 (ServerConnection::didEnterCallFrame):
46 (ServerConnection::willExecuteStatement):
47 (ServerConnection::willLeaveCallFrame):
48 (ServerConnection::exceptionWasRaised):
49 * Drosera/win/ServerConnection.h: Removed unused arguments from the
50 members arguments list.
52 2007-10-26 David Kilzer <ddkilzer@webkit.org>
54 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
55 <http://bugs.webkit.org/show_bug.cgi?id=15600>
59 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
60 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
61 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
62 file. Note that it may also be used as a stand-alone script.
64 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
65 * Scripts/resolve-ChangeLogs: Added.
66 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
68 2007-10-26 Mark Rowe <mrowe@apple.com>
70 Qt build fix. r27084 added a destructor implementation for LayoutTestController
71 to the Qt port on the assumption that it was an implementation of the cross-platform
72 LayoutTestController class. It is not, so it did not need to be changed.
74 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
76 2007-10-25 Mark Rowe <mrowe@apple.com>
80 Fix builds with code coverage enabled.
82 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
84 2007-10-25 Darin Adler <darin@apple.com>
86 Reviewed by Mark Rowe.
88 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
89 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
91 2007-10-25 Stephanie <slewis@apple.com>
95 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
97 2007-10-25 Stephanie <slewis@apple.com>
99 Reviewed by Mark Rowe, Adam Roben.
101 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
103 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
105 2007-10-25 Alice Liu <alice.liu@apple.com>
109 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
111 Moving destructor into platform-specific files
112 * DumpRenderTree/LayoutTestController.cpp:
113 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
114 (LayoutTestController::~LayoutTestController):
115 * DumpRenderTree/qt/jsobjects.cpp:
116 (LayoutTestController::~LayoutTestController):
118 LayoutTestController wasn't being destroyed
119 * DumpRenderTree/win/DumpRenderTree.cpp:
123 * DumpRenderTree/win/EditingDelegate.h:
125 Reset certain values on the webview (or related delegate) that might
126 have changed while running a test
127 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
128 (LayoutTestController::~LayoutTestController):
130 2007-10-25 Adam Roben <aroben@apple.com>
132 Make sunspider-compare-results work with relative paths
136 * Scripts/sunspider-compare-results: Convert arguments to absolute
137 paths before we chdir.
139 2007-10-25 Kevin McCullough <kmccullough@apple.com>
143 - Implemented server calls now the WebScriptDebugServer exists.
144 - Also removed no longer needed call to initialize CG.
146 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
149 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
150 (ServerConnection::ServerConnection):
151 (ServerConnection::~ServerConnection):
152 (ServerConnection::pause):
153 (ServerConnection::resume):
154 (ServerConnection::stepInto):
155 (ServerConnection::applicationTerminating):
156 (ServerConnection::serverConnectionDidDie):
157 * Drosera/win/ServerConnection.h: Now uses the COM class.
159 2007-10-24 George Staikos <staikos@kde.org>
163 * Scripts/build-webkit:
165 2007-10-24 Adam Roben <aroben@apple.com>
167 Remove now-unnecessary call to InitializeCoreGraphics
169 WebKit takes care of this now.
173 * DumpRenderTree/win/DumpRenderTree.cpp:
176 2007-10-24 Adam Roben <aroben@apple.com>
178 Use WebTextRenderer in DRT
182 * DumpRenderTree/win/DumpRenderTree.cpp:
183 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
185 2007-10-24 Sven Herzberg <sven@imendio.com>
187 Reviewed by Mark Rowe.
189 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
190 Bug 15614: [GTK] qmake based backends don't build on OS X
192 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
194 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
195 isDarwin() to make it reusable in other places (like the workaround-
196 for-prebuilt-qmake in build-webkit)
198 2007-10-24 David Kilzer <ddkilzer@webkit.org>
200 Refurbish update-webkit script.
204 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
205 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
206 multi-argument version of system() for flexibility and security. Check for existence
207 of Internal directory using -d test instead of -x.
209 2007-10-24 David Kilzer <ddkilzer@webkit.org>
211 Minor clean-up of prepare-ChangeLog script.
215 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
216 of a string. Use multi-argument versions of open() and system() for flexibility and
219 2007-10-24 Alice Liu <alice.liu@apple.com>
223 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
225 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
226 replay the saved events when we're still processing the mousedown that starts the drag
227 * DumpRenderTree/win/EventSender.cpp:
229 * DumpRenderTree/win/UIDelegate.cpp:
230 (UIDelegate::doDragDrop):
232 2007-10-24 Kevin McCullough <kmccullough@apple.com>
234 Reviewed by Sam, Steve and Darin.
236 - Stubbed out the WebScriptDebugListener functionality in the Server
237 Connection class to prepare it for receiving those callbacks.
238 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
239 and the ServerConnection to not need to be initialized with a server
240 name, since that is not the way we connect to the WebKit server.
242 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
243 no exception. Now it only loggs when there is an exception
244 (DebuggerDocument::willExecuteStatement):
245 (DebuggerDocument::didEnterCallFrame):
246 (DebuggerDocument::willLeaveCallFrame):
247 (DebuggerDocument::windowScriptObjectAvailable):
248 (DebuggerDocument::callFunctionOnObject):
249 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
250 to be instantiated with a server's name.
251 (DebuggerClient::DebuggerClient):
252 (DebuggerClient::didFinishLoadForFrame):
253 * Drosera/win/DebuggerClient.h: Removed unsued variable.
254 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
257 (Drosera::initServer):
258 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
259 instantiated with a server's name.
260 * Drosera/win/ServerConnection.cpp:
261 (ServerConnection::ServerConnection): No longer needs a server name
262 (ServerConnection::~ServerConnection): Only release the global context
264 (ServerConnection::serverConnectionDidDie): Stub for
265 IWebScriptDebugListener
266 (ServerConnection::QueryInterface): ditto
267 (ServerConnection::AddRef): ditto
268 (ServerConnection::Release): ditto
269 (ServerConnection::didLoadMainResourceForDataSource): ditto
270 (ServerConnection::didParseSource): ditto
271 (ServerConnection::failedToParseSource): ditto
272 (ServerConnection::didEnterCallFrame): ditto
273 (ServerConnection::willExecuteStatement): ditto
274 (ServerConnection::willLeaveCallFrame): ditto
275 (ServerConnection::exceptionWasRaised): ditto
276 * Drosera/win/ServerConnection.h: Stubbed out the
277 IWebScriptDebugListener functions, and this class no longer needs to be
278 instantiated with a server name.
280 2007-10-24 Lars Knoll <lars@trolltech.com>
284 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
286 * DumpRenderTree/qt/jsobjects.h:
288 2007-10-24 Lars Knoll <lars@trolltech.com>
294 * DumpRenderTree/qt/jsobjects.cpp:
295 (TextInputController::doCommand):
297 2007-10-24 Lars Knoll <lars@trolltech.com>
301 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
303 * DumpRenderTree/qt/jsobjects.cpp:
304 (EventSender::keyDown):
305 * DumpRenderTree/qt/jsobjects.h:
307 2007-10-24 Lars Knoll <lars@trolltech.com>
311 implement eventSender.keyDown().
313 * DumpRenderTree/qt/jsobjects.cpp:
314 (EventSender::keyDown):
316 2007-10-24 Lars Knoll <lars@trolltech.com>
320 some smaller fixes to the editing support in DRT. Makes another few tests pass.
322 * DumpRenderTree/qt/DumpRenderTree.cpp:
323 (WebCore::DumpRenderTree::DumpRenderTree):
324 (WebCore::DumpRenderTree::initJSObjects):
325 * DumpRenderTree/qt/jsobjects.cpp:
326 (TextInputController::doCommand):
328 2007-10-24 Lars Knoll <lars@trolltech.com>
332 first bit of implementation for the textinputcontroller.
334 * DumpRenderTree/qt/DumpRenderTree.cpp:
335 (WebCore::DumpRenderTree::DumpRenderTree):
336 * DumpRenderTree/qt/DumpRenderTree.h:
337 * DumpRenderTree/qt/jsobjects.cpp:
338 (TextInputController::TextInputController):
339 (TextInputController::doCommand):
340 * DumpRenderTree/qt/jsobjects.h:
342 2007-10-24 Lars Knoll <lars@trolltech.com>
346 make the man webpage believe it has focus, so the editing tests work correctly.
348 * DumpRenderTree/qt/DumpRenderTree.cpp:
349 (WebCore::DumpRenderTree::DumpRenderTree):
351 2007-10-24 Lars Knoll <lars@trolltech.com>
355 implement layoutTestController.dumpEditingCallbacks() correctly.
357 * DumpRenderTree/qt/DumpRenderTree.cpp:
358 (WebCore::DumpRenderTree::DumpRenderTree):
359 * DumpRenderTree/qt/jsobjects.cpp:
360 (LayoutTestController::reset):
361 (LayoutTestController::dumpEditingCallbacks):
363 2007-10-24 Lars Knoll <lars@trolltech.com>
367 Implement support for testing editing.
369 * DumpRenderTree/qt/DumpRenderTree.cpp:
370 (WebCore::DumpRenderTree::DumpRenderTree):
372 2007-10-23 Sam Weinig <sam@webkit.org>
374 Check for null BSTR that can be passed to the UIDelegate methods
375 from javascript null and undefined. Fixes a failing test case on
376 Windows (fast/dom/Window/alert-undefined.html)
378 Reviewed by Eric Seidel.
380 * DumpRenderTree/win/UIDelegate.cpp:
381 (UIDelegate::runJavaScriptAlertPanelWithMessage):
382 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
383 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
384 (UIDelegate::webViewAddMessageToConsole):
386 2007-10-23 Maciej Stachowiak <mjs@apple.com>
390 Don't print a massive pile of setenvs from tools that automatically build testkjs.
392 * Scripts/build-testkjs:
394 2007-10-23 Maciej Stachowiak <mjs@apple.com>
398 - add wrapper that finds the right copy of testkjs
400 * Scripts/sunspider-compare-results: Added.
402 2007-10-23 Kevin McCullough <kmccullough@apple.com>
406 - After talking with Steve I now see that the WebKit server must be
407 running for DCOM to create the distributed objects, which makes sense
408 and currently WebKit only allows one instance to be running at a time
409 which avoids accidentally connecting to the wrong server
410 - In light of this I have removed the code for the attach box and
411 NotificationServer and known server names, since they are all extranious
414 * Drosera/win/Drosera.cpp: Removed notification classes and known server
416 (_tWinMain): Uses init instead of initUI.
417 (droseraWndProc): No longer creats an attach dialog box.
418 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
419 it's not manditory to call init before doing COM stuff.
420 (Drosera::init): calls initUI and will call attach when the
421 functionality exists.
422 (Drosera::initUI): Has changed very little.
423 (Drosera::attach): Changed the signature to reflect that we no longer
424 need the dictionary of known server names.
425 * Drosera/win/Drosera.h: Removed notification classes and known server
426 names. Also renamed and moved some functions.
427 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
428 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
429 headers to the resources folder.
430 * Drosera/win/resource.h: Removed the Attach box.
432 2007-10-22 Adam Roben <aroben@apple.com>
436 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
438 2007-10-22 Kevin McCullough <kmccullough@apple.com>
440 - Removed a leak that was fixed.
442 * Scripts/run-webkit-tests:
444 2007-10-19 Kevin McCullough <kmccullough@apple.com>
448 - Changed the Client so that the DebuggerDocument now own the
449 ServerConnection. This simplifies ownership and cleanup.
451 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
453 (DebuggerClient::initWithServerName):
454 (DebuggerClient::didFinishLoadForFrame):
455 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
457 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
458 until after we have a server which we are attached to.
461 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
464 2007-10-22 Simon Hausmann <hausmann@kde.org>
468 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
470 * Scripts/run-javascriptcore-tests:
472 2007-10-22 Simon Hausmann <hausmann@kde.org>
476 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.
478 * Scripts/build-drosera:
479 * Scripts/build-dumprendertree:
480 * Scripts/build-testkjs:
481 * Scripts/build-webkit:
482 * Scripts/run-javascriptcore-tests:
483 * Scripts/run-sunspider:
484 * Scripts/run-webkit-tests:
485 * Scripts/webkitdirs.pm:
487 2007-10-22 Andrew Wellington <proton@wiretapped.net>
489 Reviewed by Mark Rowe.
491 Fix for local database support after r26879
492 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
494 * Scripts/build-webkit:
496 2007-10-22 Holger Freyther <zecke@selfish.org>
498 Reviewed by Simon Hausmann <hausmann@kde.org>.
500 - Do not build testkjs as an application bundle. This is
501 needed for run-javascriptcore-tests on OSX.
502 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
503 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
504 as we do not have -rpath on OSX.
506 * DumpRenderTree/qt/DumpRenderTree.pro:
507 * Scripts/run-webkit-tests:
509 2007-10-22 Simon Hausmann <hausmann@kde.org>
513 Fix support for Signed-off-by detection in prepare-ChangeLog
514 --git-commit. The Signed-off-by tag does not appear in the header
515 but usually at the end.
517 * Scripts/prepare-ChangeLog:
519 2007-10-21 Mark Rowe <mrowe@apple.com>
523 Fix run-javascriptcore-tests for Gtk.
525 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
527 2007-10-20 Eric Seidel <eric@webkit.org>
531 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
533 2007-10-20 Eric Seidel <eric@webkit.org>
537 Add improved argument handling to run-sunspider, including
538 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
539 Also re-factor code into subroutines
541 * Scripts/build-dumprendertree: removed bogus comments
542 * Scripts/build-testkjs: Added.
543 * Scripts/run-javascriptcore-tests: use build-testkjs
544 * Scripts/run-sunspider: improved argument handling, abstraction
545 * Scripts/run-webkit-tests: improved abstraction
547 2007-10-20 Matt Lilek <webkit@mattlilek.com>
549 Not reviewed, Windows build fix.
551 * DumpRenderTree/win/EventSender.cpp:
554 2007-10-20 Darin Adler <darin@apple.com>
556 Reviewed by Tim Hatcher.
558 - http://bugs.webkit.org/show_bug.cgi?id=15544
559 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
560 not rely on Apple-specific key codes
562 * DumpRenderTree/mac/EventSendingController.mm:
563 (-[EventSendingController keyDown:withModifiers:]):
564 Added named key "rightArrow". Later we could have a whole table of these.
565 Also tweaked modifiers code a little.
567 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
569 2007-10-19 Darin Adler <darin@apple.com>
573 - http://bugs.webkit.org/show_bug.cgi?id=15566
574 possible fix for leak seen in DumpRenderTree
576 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
577 Delete the item if it's not put on the queue, since the caller has
578 no way of knowing that. Would be better to have the parameter type
579 be auto_ptr to express the fact that we take ownership.
583 * Drosera/mac/main.m: Add missing include.
585 2007-10-19 Kevin McCullough <kmccullough@apple.com>
589 - This change should be identical but for some reason was not working
592 * Scripts/prepare-ChangeLog:
594 2007-10-19 Kevin McCullough <kmccullough@apple.com>
596 Reviewed by Oliver and Tim.
598 - Made use of RetainPtr to avoid retain and release issues and moved the
599 log function to DebuggerDocumentPlatform, which seems to be a more
600 logical place for it to live.
601 - Also moved knownServers from the ServerConnection to
602 DebuggerApplication to match the Windows code and because it makes sense
603 that a connection knows its own server but not all of them.
605 * Drosera/mac/DebuggerClient.h: Moved the log function to
606 DebuggerDocumentPlatform.
607 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
608 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
609 call for the server name up from the ServerConnection class.
610 (-[DebuggerClient dealloc]):
611 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
612 for the server name up from the ServerConnection.
613 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
614 (DebuggerDocument::platformPause):
615 (DebuggerDocument::platformResume):
616 (DebuggerDocument::platformStepInto):
617 (DebuggerDocument::platformEvaluateScript):
618 (DebuggerDocument::getPlatformCurrentFunctionStack):
619 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
620 (DebuggerDocument::platformValueForScopeVariableNamed):
621 (DebuggerDocument::platformLog): Log directly from here. No need to call
623 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
624 way I see it, a ServerConnection should only know about its connection
625 and the group of all possible servers should be kept by the
627 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
628 currentServerName, it makes sense that the connection should know that
630 (-[ServerConnection currentServerName]):
632 2007-10-19 Kevin McCullough <kmccullough@apple.com>
636 - Integrated changes from mac drosera. Recently I've encapsulated
637 out the server connection object from the rest of Drosera because
638 it is very platform dependent right now and RPC is not implemented on
639 windows. This functionality, of communicating with the WebKit server
640 is the next area I will be focusing on in Windows.
642 - Other changes and cleanup were made to organize the code and add notes
643 on which parts still need work. Also some mac code is added and
644 commented out, to act as pseudocode for the logic of those parts.
646 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
648 * Drosera/config.h: Added whitespace.
649 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
650 these files got moved into Drosera.h/cpp
651 * Drosera/win/DebuggerApplication.h: Removed.
652 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
653 happened here to better match the logic flow of the same code on the
654 mac side and to use the new ServerConnection class.
655 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
656 (DebuggerClient::initWithServerName): Initializer that will set up the
657 class to use a ServerConnection object. This was necessary so I could
658 create a DebuggerClient without having to initilaize it at
660 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
661 will be the UIDelegate and FrameLoadDelegate.
662 (DebuggerClient::AddRef): For IUnknown.
663 (DebuggerClient::Release): For IUnknown.
664 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
665 this still needs to set the global context of the server, but
666 IWebFrame does not have an accessor for the global context yet.
667 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
668 this is a pass through for the same function in the document.
669 (DebuggerClient::didReceiveTitle): Unimplemented part of
670 FrameLoadDelegate this would change the title of the window.
671 (DebuggerClient::createWebViewWithRequest): Part of the
672 FrameLoadDelegate. This is about new windows via Window.open() and
673 how their delegates are set.
674 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
675 UIDelegate. Just a debug function for printing messages.
676 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
677 because the Client should be the UIDelegate and FrameLoadDelegate
678 to match the delegates on mac.
679 (DebuggerClient::webViewLoaded): Added accessor method.
680 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
681 forgotten to add this file before. This is where the platform
682 dependent versions of the Documents functions live. Most of these are
683 unimplemented because some piece of functionality does not exist on
685 (DebuggerDocument::platformPause):
686 (DebuggerDocument::platformResume):
687 (DebuggerDocument::platformStepInto):
688 (DebuggerDocument::platformEvaluateScript):
689 (DebuggerDocument::getPlatformCurrentFunctionStack):
690 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
691 (DebuggerDocument::platformValueForScopeVariableNamed):
692 (DebuggerDocument::platformLog):
693 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
694 responsibilities becaue they belong in the Client. Also I laid the
695 groundwork for attaching Drosera to a WebKit process
696 (attachWndProc): Now if a server is selected the Client becomes it's
698 (Drosera::Drosera): Added the construction of the Client and dictionary
700 (Drosera::initUI): This is no longer the delegates, the Client is.
701 (Drosera::webViewLoaded): Now asks the Client instead of holding local
703 (Drosera::applicationDidFinishLaunching): Placeholder for needed
704 notification registration when it's possible to implement.
705 (Drosera::serverLoaded): Ditto
706 (Drosera::serverUnloaded): Ditto
707 (Drosera::attach): Attach Drosera to the WebKit server.
708 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
711 (Drosera::knownServers):
712 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
713 and added the ServerConnection.
714 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
715 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
716 Most of the functions are completely unimlemented because they cannot
717 connect with the WebKit server, because one does not exist on Windows
719 (ServerConnection::initWithServerName):
720 (ServerConnection::~ServerConnection):
721 (ServerConnection::setGlobalContext):
722 (ServerConnection::pause):
723 (ServerConnection::resume):
724 (ServerConnection::stepInto):
725 (ServerConnection::switchToServerNamed):
726 (ServerConnection::applicationTerminating):
727 (ServerConnection::serverConnectionDidDie):
728 (ServerConnection::currentFrame):
729 * Drosera/win/ServerConnection.h: Added. Ditto.
730 (ServerConnection::ServerConnection):
732 2007-10-19 Alice Liu <alice.liu@apple.com>
736 Fix for these broken layout tests on Windows:
738 fast/forms/focus-selection-input.html
739 fast/forms/focus-selection-textarea.html
740 fast/forms/select-accesskey.html
742 * DumpRenderTree/win/EventSender.cpp:
744 correct the VK code for alt key.
746 2007-10-19 Eric Seidel <eric@webkit.org>
748 Reviewed by Mark Rowe.
750 Make the GtkLauncher code slightly more readable.
752 * GtkLauncher/main.cpp:
753 (setupMainMenu): Added.
754 (setupMainWindowUI): Added.
757 2007-10-19 Maciej Stachowiak <mjs@apple.com>
759 Rubber stamped by Adam.
761 - don't delay-load WebKit in DumpRenderTree.
763 * DumpRenderTree/win/DumpRenderTree.vcproj:
765 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
767 Reviewed by Adam Roben.
769 - fix <rdar://problem/5313523>
770 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
772 * DumpRenderTree/mac/DumpRenderTree.mm:
773 (dump): Changed to use _responseMIMEType.
775 2007-10-17 Adam Roben <aroben@apple.com>
777 Make it possible to have Windows-specific tests and results
779 When searching for tests to run and the Skipped file, we will only
780 look in platform/win and the cross-platform directory. When looking
781 for expected results, we will look in platform/win, then
782 platform/mac-leopard, then platform/mac, then finally the
783 cross-platform directory.
787 * Scripts/run-webkit-tests:
788 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
789 searching in the cross-platform directory.
790 (sub buildPlatformHierarchy): Removed some unneeded calls to
793 2007-10-17 Adam Roben <aroben@apple.com>
795 Add back the call to register WebKit that we had before WebKitInitializer existed
797 This is needed to ensure that the right WebKit is used when
798 instantiating COM objects.
802 * DumpRenderTree/win/debug_internal.vsprops: Define
803 DEBUG_WEBKIT_HAS_SUFFIX.
804 * DumpRenderTree/win/DumpRenderTree.cpp:
807 2007-10-17 Adam Roben <aroben@apple.com>
809 Import File::Basename in webkitdirs since we use it
811 * Scripts/webkitdirs.pm:
813 2007-10-17 Kevin McCullough <kmccullough@apple.com>
815 - Updated the tiger leaks list to make the internal bots green.
817 * Scripts/run-webkit-tests:
819 2007-10-17 Adam Roben <aroben@apple.com>
821 Build fix for VC++ Express
823 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
826 2007-10-16 Kevin McCullough <kmccullough@apple.com>
830 - Minor mac improvements based on observations I made while implementing the
833 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
834 then hand it to the Client who will retain it, it should just be the client who
835 creates and owns the server.
836 (-[DebuggerApplication attach:]):
837 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
838 * Drosera/mac/DebuggerClient.mm: Creates the server.
839 (-[DebuggerClient initWithServerName:]):
840 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
841 can instead forward declare what it needs.
843 2007-10-16 Darin Adler <darin@apple.com>
845 Reviewed by Geoff Garen.
847 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
848 want to turn failing tests into platform-specific test results. Also did a
849 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
850 would take the type of results into account only some of the time.
852 2007-10-16 Adam Roben <aroben@apple.com>
854 Add a new nightly launcher script for Windows
856 This new script is for versions of Safari that don't delay-load
857 WebKit. I had to make FindSafari be able to print out the nightly
858 launcher script on stdout because Windows shell scripts can't capture
859 the output from a command into an environment variable.
863 * FindSafari/FindSafari.cpp:
864 (_tmain): Added /printSafariLauncher option.
865 * Scripts/run-webkit-nightly.cmd: Added.
867 2007-10-16 Adam Roben <aroben@apple.com>
869 Replace WebKitInitializer with FindSafari
871 We now rely on setting the PATH environment variable to tell Windows
872 where to find WebKit and its dependencies (similar to
873 DYLD_FRAMEWORK_PATH on Mac).
875 This change also make DumpRenderTree no longer delay-load WebKit.
879 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
881 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
882 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
883 WebKitInitializer, don't delay-load WebKit.
884 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
885 * Scripts/run-webkit-tests: Ditto.
886 * Scripts/webkitdirs.pm:
887 (sub setPathForRunningWebKitApp): Added.
888 * WebKitInitializer/WebKitInitializer.cpp: Removed.
889 * WebKitInitializer/WebKitInitializer.h: Removed.
890 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
891 * WebKitInitializer/debug.vsprops: Removed.
892 * WebKitInitializer/debug_internal.vsprops: Removed.
893 * WebKitInitializer/release.vsprops: Removed.
895 2007-10-16 Adam Roben <aroben@apple.com>
897 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
899 http://bugs.webkit.org/show_bug.cgi?id=15532
901 FindSafari simply prints the location of an installed Safari.exe on
906 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
909 (getInstalledWebKitDirectory):
911 * FindSafari/FindSafari.vcproj: Added.
912 * Scripts/webkitdirs.pm:
913 (sub installedSafariPath): Added. Calls FindSafari on Windows.
915 2007-10-16 Adam Roben <aroben@apple.com>
917 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
919 Reviewed by Kevin McCullough.
921 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
922 when referring to WebKit.dll.
923 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
924 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
925 * DumpRenderTree/win/release.vsprops: Ditto.
926 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
927 never have a _debug suffix on WebKit.dll.
928 * WebKitInitializer/WebKitInitializer.cpp:
929 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
931 * WebKitInitializer/debug_internal.vsprops: Added
932 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
934 2007-10-16 Darin Adler <darin@apple.com>
938 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
939 Remove now-unneeded control/alt key hack; the tests have been updated.
941 2007-10-16 Kevin McCullough <kmccullough@apple.com>
943 - Updated leaks list because our internal bot upgraded it's version of leopard and
944 one of the leaks was fixed between that revision and the bot's previous version of
947 * Scripts/run-webkit-tests:
949 2007-10-15 Kevin McCullough <kmccullough@apple.com>
953 - I encapsulated out the server connecton functionality because it is a specific part
954 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
955 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
956 Windows. So the majority of this patch is moving preexisting functionality.
958 - Also I removed the prefix header and changed to use config.h because it is more
959 standard on how we use config.h in windows and it didn't make much sense to keep
960 the prefix header and the config.h
962 * Drosera/DebuggerDocument.cpp:
963 (DebuggerDocument::DebuggerDocument):
964 * Drosera/DebuggerDocument.h:
966 * Drosera/mac/DebuggerApplication.mm:
967 (-[DebuggerApplication attach:]):
968 * Drosera/mac/DebuggerClient.h:
969 * Drosera/mac/DebuggerClient.mm:
970 (-[DebuggerClient initWithServerConnection:]):
971 (-[DebuggerClient dealloc]):
972 (-[DebuggerClient windowDidLoad]):
973 (-[DebuggerClient windowWillClose:]):
974 (-[DebuggerClient webView:didFinishLoadForFrame:]):
975 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
976 * Drosera/mac/DebuggerDocumentPlatform.mm:
977 (DebuggerDocument::platformPause):
978 (DebuggerDocument::platformResume):
979 (DebuggerDocument::platformStepInto):
980 (DebuggerDocument::platformEvaluateScript):
981 (DebuggerDocument::getPlatformCurrentFunctionStack):
982 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
983 (DebuggerDocument::platformValueForScopeVariableNamed):
984 (DebuggerDocument::platformLog):
985 * Drosera/mac/Drosera.pch: Removed.
986 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
987 * Drosera/mac/ServerConnection.h: Added.
988 * Drosera/mac/ServerConnection.mm: Added.
989 (-[ServerConnection initWithServerName:]):
990 (-[ServerConnection dealloc]):
991 (-[ServerConnection setGlobalContext:]):
992 (-[ServerConnection pause]):
993 (-[ServerConnection resume]):
994 (-[ServerConnection stepInto]):
995 (-[ServerConnection switchToServerNamed:]):
996 (-[ServerConnection applicationTerminating:]):
997 (-[ServerConnection serverConnectionDidDie:]):
998 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
999 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1000 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1001 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1002 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1003 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1004 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1005 (-[ServerConnection currentFrame]):
1006 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1007 (-[ServerConnection knownServers]):
1009 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1013 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1014 Script to automatically search nightly builds for regressions (bisect-builds)
1016 * Scripts/bisect-builds: Added.
1018 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1022 - New JavaScript benchmark
1023 http://bugs.webkit.org/show_bug.cgi?id=15515
1025 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1026 current development or release build of JavaScriptCore.
1028 2007-10-15 Mark Rowe <mrowe@apple.com>
1032 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1034 * Scripts/webkitdirs.pm:
1035 - Change checkArgv to remove the options from @ARGV to prevent
1036 them from interfering with further option processing.
1037 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1038 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1039 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1040 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1042 2007-10-15 Darin Adler <darin@apple.com>
1046 - added logging of window.prompt and window.confirm
1048 * DumpRenderTree/mac/UIDelegate.mm:
1049 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1050 Implement the recommended delegate rather than the deprecated one.
1051 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1053 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1056 * DumpRenderTree/win/UIDelegate.h:
1057 * DumpRenderTree/win/UIDelegate.cpp:
1058 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1059 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1060 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1061 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1063 2007-10-15 Alice Liu <alice.liu@apple.com>
1065 Reviewed by Sam Weinig.
1067 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1069 * DumpRenderTree/win/DumpRenderTree.cpp:
1070 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1071 (main): allocate the global policy delegate for DRT's custom use
1072 * DumpRenderTree/win/DumpRenderTree.vcproj:
1073 Adding files to project
1074 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1075 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1076 (LayoutTestController::setCustomPolicyDelegate):
1077 set the webview's policy delegate to DRT's custom one if the test requests it.
1078 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1079 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1080 (PolicyDelegate::PolicyDelegate):
1081 (PolicyDelegate::QueryInterface):
1082 (PolicyDelegate::AddRef):
1083 (PolicyDelegate::Release):
1084 (PolicyDelegate::decidePolicyForNavigationAction):
1085 * DumpRenderTree/win/PolicyDelegate.h: Added.
1086 (PolicyDelegate::decidePolicyForNewWindowAction):
1087 (PolicyDelegate::decidePolicyForMIMEType):
1088 (PolicyDelegate::unableToImplementPolicyWithError):
1090 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1094 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1095 when querying for QMAKE_MKSPECS.
1097 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1099 Reviewed by Adam Roben.
1101 Fix run-webkit-tests is too greedy calculating platform hierarchy
1102 http://bugs.webkit.org/show_bug.cgi?id=15465
1104 Fix run-webkit-tests being too greedy in trying to split the platform name up
1105 causing it to try and find tests in every directory above the first "-" in the
1106 path to the LayoutTests
1108 * Scripts/run-webkit-tests:
1110 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1114 http://bugs.webkit.org/show_bug.cgi?id=15006
1115 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1116 to reduce code duplication.
1118 * Scripts/build-webkit:
1119 * Scripts/webkitdirs.pm:
1120 buildQMakeProject() renamed to buildQMakeQtProject().
1121 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1122 unused $colorize has been removed.
1124 === Start merge of feature-branch 2007-10-12 ===
1126 2007-10-08 Eric Seidel <eric@webkit.org>
1128 Reviewed by Mark Rowe.
1130 * Scripts/build-webkit: add --help, remove unused --color
1132 2007-10-07 Eric Seidel <eric@webkit.org>
1136 * Drosera/mac/DebuggerDocumentPlatform.mm:
1137 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1139 2007-10-03 Rob Buis <buis@kde.org>
1143 Adapt to changed location of Ahem font.
1145 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1147 2007-10-02 Eric Seidel <eric@webkit.org>
1149 Reviewed by Adam Roben.
1151 Make pixel tests more useful!
1152 Finally fix the image diff 0.00% mystery problem
1153 Highlight any image differences in the image diff.
1154 Add a link from image diffs back to original test file.
1156 * DumpRenderTree/mac/ImageDiff.m:
1157 (compareImages): highlight any differences
1158 (computePercentageDifferent): round to two decimal places
1159 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1161 2007-10-02 Eric Seidel <eric@webkit.org>
1163 Reviewed by Alexey Proskuryakov.
1165 * Scripts/run-webkit-tests: print the % image difference on main results page
1167 2007-10-02 Mark Rowe <mrowe@apple.com>
1171 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1173 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1174 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1176 2007-10-01 Mark Rowe <mrowe@apple.com>
1178 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1180 2007-09-25 Eric Seidel <eric@webkit.org>
1182 Reviewed by Mark Rowe.
1184 DerivedSources.make was finding "ENABLE_SVG" in the string
1185 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1188 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1190 2007-09-25 Mark Rowe <mrowe@apple.com>
1192 Rubber-stamped by Eric.
1194 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1195 This makes it possible to automate nightly builds for the feature-branch.
1197 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1199 Rubber stamped by Mark.
1201 Enable svg experimental features as default here in feature-branch.
1203 * Scripts/build-webkit:
1205 2007-06-29 Antti Koivisto <antti@apple.com>
1209 Add VIDEO flag for timed media features
1211 * Scripts/build-webkit
1213 === End merge of feature-branch 2007-10-12 ===
1215 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1219 - Updated rational for the leaks list to be more clear.
1221 * Scripts/run-webkit-tests:
1223 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1225 Rubber Stamp by Sam.
1227 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1228 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1230 * Scripts/run-webkit-tests:
1232 2007-10-10 Simon Hausmann <hausmann@kde.org>
1236 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1237 includes are needed for INT_MAX, std::auto_ptr and the like.
1239 * DumpRenderTree/qt/main.cpp:
1241 2007-10-09 Lars Knoll <lars@trolltech.com>
1245 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1247 * DumpRenderTree/qt/jsobjects.cpp:
1248 (LayoutTestController::encodeHostName):
1249 (LayoutTestController::decodeHostName):
1250 * DumpRenderTree/qt/jsobjects.h:
1252 2007-10-09 Lars Knoll <lars@trolltech.com>
1256 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.
1258 * DumpRenderTree/qt/DumpRenderTree.cpp:
1259 (WebCore::WebPage::createFrame):
1260 (WebCore::DumpRenderTree::DumpRenderTree):
1261 (WebCore::DumpRenderTree::titleChanged):
1262 * DumpRenderTree/qt/DumpRenderTree.h:
1263 * DumpRenderTree/qt/jsobjects.cpp:
1264 (LayoutTestController::reset):
1265 * DumpRenderTree/qt/jsobjects.h:
1267 2007-10-09 Lars Knoll <lars@trolltech.com>
1271 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1273 * DumpRenderTree/qt/DumpRenderTree.h:
1274 * DumpRenderTree/qt/jsobjects.cpp:
1275 (LayoutTestController::clearBackForwardList):
1276 * DumpRenderTree/qt/jsobjects.h:
1278 2007-10-09 Lars Knoll <lars@trolltech.com>
1282 make --git-reviewer work again.
1284 * Scripts/prepare-ChangeLog:
1286 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1288 Rubber stamped by Eric.
1290 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1291 show the current link inside the statusbar.
1292 This shows how to make use of this signal and allows to easily test
1293 http://bugs.webkit.org/show_bug.cgi?id=15299.
1295 * GtkLauncher/main.cpp:
1299 2007-10-05 Lars Knoll <lars@trolltech.com>
1301 add proper error messages to the FrameLoaderClient.
1302 Implement ChromeClientQt::closeWindowSoon and
1303 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1304 Some fixes in DRT to make it work correctly with multiple windows.
1308 * DumpRenderTree/qt/DumpRenderTree.cpp:
1309 (WebCore::DumpRenderTree::DumpRenderTree):
1310 (WebCore::DumpRenderTree::createWindow):
1311 (WebCore::DumpRenderTree::windowCount):
1312 * DumpRenderTree/qt/DumpRenderTree.h:
1313 * DumpRenderTree/qt/jsobjects.cpp:
1314 (LayoutTestController::maybeDump):
1315 (LayoutTestController::windowCount):
1316 * DumpRenderTree/qt/jsobjects.h:
1318 2007-10-05 Lars Knoll <lars@trolltech.com>
1320 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1321 Add support for layoutTextController.setCanOpenWindows() to DRT
1322 fixing another 2 test cases in fast/dom/Window.
1326 * DumpRenderTree/qt/DumpRenderTree.cpp:
1327 (WebCore::WebPage::WebPage):
1328 (WebCore::WebPage::createWindow):
1329 (WebCore::DumpRenderTree::resetJSObjects):
1330 (WebCore::DumpRenderTree::createWindow):
1331 * DumpRenderTree/qt/DumpRenderTree.h:
1332 * DumpRenderTree/qt/DumpRenderTree.pro:
1333 * DumpRenderTree/qt/jsobjects.cpp:
1334 (LayoutTestController::LayoutTestController):
1335 (LayoutTestController::reset):
1336 * DumpRenderTree/qt/jsobjects.h:
1337 * DumpRenderTree/qt/main.cpp:
1338 * DumpRenderTree/qt/testplugin.cpp: Added.
1339 * DumpRenderTree/qt/testplugin.h: Added.
1341 2007-10-04 Sam Weinig <sam@webkit.org>
1343 Rubber stamped by Adam.
1345 Remove empty directories.
1347 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1348 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1350 2007-10-03 Darin Adler <darin@apple.com>
1354 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1355 we find the internal libraries in the libraries directory. This
1356 is helpful for Safari team engineers at Apple.
1358 2007-10-03 Adam Roben <aroben@apple.com>
1360 Update the location of AHEM___.TTF after r25968
1364 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1366 2007-10-03 Alp Toker <alp@atoker.com>
1370 http://bugs.webkit.org/show_bug.cgi?id=14726
1371 [gtk] API design. Mapping the WebView delegates to signals.
1373 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1375 * GtkLauncher/main.cpp:
1379 (menuMainBackCallback):
1380 (menuMainForwardCallback):
1383 2007-10-03 Lars Knoll <lars@trolltech.com>
1387 This fixes --strict mode in run-webkit-tests again after
1388 the platform dependent test results have been moved.
1390 * Scripts/run-webkit-tests:
1392 2007-10-03 Lars Knoll <lars@trolltech.com>
1396 remove the hack in run-webkit-tests that forced text only test
1397 to be taken from the platform independent dir. It was only left
1398 there from early days.
1400 Remove platform dependent results for tests that are text only nowadays,
1401 and add one platform dependent result for a text only test that requires it.
1403 * Scripts/run-webkit-tests:
1405 2007-10-03 Lars Knoll <lars@trolltech.com>
1409 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1411 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1412 (WebCore::WebFrame::WebFrame):
1413 (WebCore::WebPage::WebPage):
1414 (WebCore::WebPage::createFrame):
1415 (WebCore::WebPage::javaScriptAlert):
1416 (WebCore::WebPage::javaScriptConsoleMessage):
1417 (WebCore::DumpRenderTree::DumpRenderTree):
1418 (WebCore::DumpRenderTree::~DumpRenderTree):
1419 (WebCore::DumpRenderTree::open):
1420 (WebCore::DumpRenderTree::readStdin):
1421 (WebCore::DumpRenderTree::resetJSObjects):
1422 (WebCore::DumpRenderTree::initJSObjects):
1423 (WebCore::DumpRenderTree::dumpFramesAsText):
1424 (WebCore::DumpRenderTree::dump):
1425 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1426 (WebCore::DumpRenderTree::layoutTestController):
1427 (WebCore::DumpRenderTree::eventSender):
1428 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1429 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1430 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1431 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1432 (HackWebFrame::mousePressEvent):
1433 (HackWebFrame::mouseReleaseEvent):
1434 (HackWebFrame::mouseMoveEvent):
1435 (HackWebFrame::HackWebFrame):
1436 (HackWebFrame::~HackWebFrame):
1437 (LayoutTestController::LayoutTestController):
1438 (LayoutTestController::reset):
1439 (LayoutTestController::maybeDump):
1440 (LayoutTestController::waitUntilDone):
1441 (LayoutTestController::notifyDone):
1442 (LayoutTestController::dumpEditingCallbacks):
1443 (LayoutTestController::queueReload):
1444 (LayoutTestController::provisionalLoad):
1445 (LayoutTestController::timerEvent):
1446 (EventSender::EventSender):
1447 (EventSender::mouseDown):
1448 (EventSender::mouseUp):
1449 (EventSender::mouseMoveTo):
1450 (EventSender::leapForward):
1451 (EventSender::keyDown):
1452 (EventSender::frameUnderMouse):
1453 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1454 (LayoutTestController::isLoading):
1455 (LayoutTestController::setLoading):
1456 (LayoutTestController::shouldDumpAsText):
1457 (LayoutTestController::shouldDumpChildrenAsText):
1458 (LayoutTestController::shouldWaitUntilDone):
1459 (LayoutTestController::dumpAsText):
1460 (LayoutTestController::dumpChildFramesAsText):
1461 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1465 * Scripts/run-webkit-tests:
1467 2007-10-03 Mark Rowe <mrowe@apple.com>
1469 Reviewed by Alp Toker.
1471 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1472 should take precedence over QTDIR when determining which port we are working with.
1474 * Scripts/webkitdirs.pm:
1476 2007-10-02 Adam Roben <aroben@apple.com>
1478 Add keychain to the list of default packages to install
1480 Rubberstamped by Sam.
1482 * CygwinDownloader/cygwin-downloader.py:
1483 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1485 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1489 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1490 Also makes WebCore regression test case logic work when using git.
1492 * Scripts/prepare-ChangeLog:
1493 (reviewerAndDescriptionForGitCommit): Added.
1495 2007-10-02 Lars Knoll <lars@trolltech.com>
1499 Add API to retrieve the frame name from QWebFrame.
1500 Implement support for DRT::dumpChildrenAsText.
1502 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1503 (WebCore::DumpRenderTree::dumpFramesAsText):
1504 (WebCore::DumpRenderTree::dump):
1505 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1506 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1507 (LayoutTestController::LayoutTestController):
1508 (LayoutTestController::reset):
1509 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1511 2007-10-02 Lars Knoll <lars@trolltech.com>
1515 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1517 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1518 (WebCore::DumpRenderTree::readStdin):
1520 2007-10-02 Mark Rowe <mrowe@apple.com>
1524 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1526 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1527 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1529 2007-10-02 Mark Rowe <mrowe@apple.com>
1531 Rubber-stamped by Maciej.
1533 Configuration changes from build.webkit.org. The major change is refactoring to work
1534 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1537 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1538 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1539 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1540 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1541 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1542 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1543 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1544 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1546 2007-10-02 Lars Knoll <lars@trolltech.com>
1550 Add support for eventSender.mouseMove to DRT.
1551 Fixes fast/css/hover-affects-child.html
1553 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1554 (EventSender::mouseMoveTo):
1556 2007-10-01 Mark Rowe <mrowe@apple.com>
1558 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1560 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1564 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1566 * Scripts/svn-apply:
1567 (gitdiff2svndiff): Ignore lines beginning with "new file".
1568 * Scripts/svn-unapply:
1569 (gitdiff2svndiff): Ditto.
1571 2007-09-30 George Staikos <staikos@kde.org>
1573 Qt build fix (Mac OS X specific)
1575 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1577 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1581 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1582 Remove Bakefiles from svn.
1584 * GtkLauncher/Bakefiles.bkgen: Removed.
1585 * GtkLauncher/ENV: Removed.
1586 * GtkLauncher/gdklauncher.bkl: Removed.
1587 * GtkLauncher/mk: Removed.
1588 * Scripts/regenerate-makefiles: Removed.
1590 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1594 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1596 * Scripts/run-webkit-tests:
1598 2007-09-26 Adam Roben <aroben@apple.com>
1600 Make not finding an installed WebKit non-fatal
1602 What really matters is that we are able to load WebKit and its
1603 dependencies, not whether we think we've found an installed WebKit.
1607 * WebKitInitializer/WebKitInitializer.cpp:
1608 (getWebViewCLSID): Use new LOG_WARNING macro.
1609 (getInstalledWebKitDirectory): Ditto.
1610 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1612 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1614 2007-09-26 Adam Roben <aroben@apple.com>
1616 Committed this file before saving it
1618 * WebKitInitializer/debug_internal.vsprops:
1620 2007-09-26 Adam Roben <aroben@apple.com>
1622 Load WebKit and its dependencies manually so they come from DllDirectory
1624 I had to change WebKitInitializer to use malloc/free instead of
1625 new/delete to avoid pulling in WebKit (and its dependencies) early
1626 through use of fastMalloc.
1630 * WebKitInitializer/WebKitInitializer.cpp:
1631 (getStringValue): Changed to use malloc/free.
1632 (getInstalledWebKitDirectory): Ditto.
1633 (initializeWebKit): Call SetDllDirectory first, then load all of
1634 WebKit's dependencies manually, finally followed by WebKit itself.
1635 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1636 configuration to match our other projects.
1637 * WebKitInitializer/debug_internal.vsprops: Added.
1639 2007-09-25 Adam Roben <aroben@apple.com>
1641 Actually define DEBUG/NDEBUG so that we load WebKit correctly
1643 Rubberstamped by Sam.
1645 * WebKitInitializer/WebKitInitializer.vcproj:
1647 2007-09-25 Adam Roben <aroben@apple.com>
1649 Make DumpRenderTree delay-load its dependencies
1651 This lets WebKitInitializer re-route the dependencies to be loaded out
1652 of the Safari installation directory.
1654 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1655 same thing), since we can't import the kCFAllocatorDefault symbol when
1656 delay-loading CoreFoundation.dll.
1658 Rubberstamped by Sam.
1660 * DumpRenderTree/win/DumpRenderTree.cpp:
1662 (javaScriptThreads):
1663 * DumpRenderTree/win/DumpRenderTree.vcproj:
1664 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1665 (LayoutTestController::setWaitToDump):
1667 2007-09-25 Adam Roben <aroben@apple.com>
1669 Pull ole32.lib into WebKitInitializer
1671 Rubberstamped by Sam.
1673 * WebKitInitializer/WebKitInitializer.vcproj:
1675 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1679 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1680 LGPL'ed files contain incorrect FSF address
1684 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1688 Make svn-apply and svn-unapply work with git-diff formatted patches.
1690 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1691 (gitdiff2svndiff): Added.
1692 * Scripts/svn-unapply: Ditto.
1693 (gitdiff2svndiff): Added.
1695 2007-09-25 Adam Roben <aroben@apple.com>
1697 Pull advapi32.lib into WebKitInitializer
1699 This is needed to get the registry functions we use.
1701 Rubberstamped by Sam.
1703 * WebKitInitializer/WebKitInitializer.vcproj:
1705 2007-09-25 Adam Roben <aroben@apple.com>
1707 Add python and rsync to cygwin-downloader
1709 Our build slaves need this, and it can't hurt for everyone else to
1714 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1715 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1717 2007-09-25 Adam Roben <aroben@apple.com>
1719 Add WebKitInitializer and use it in DumpRenderTree
1721 WebKitInitializer is a static library that has one function,
1722 initializeWebKit(). This registers WebKit and sets up the DLL search
1723 path so that WebKit's dependencies that are installed with Safari can
1728 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1729 DumpRenderTree depend on it.
1730 * DumpRenderTree/win/DumpRenderTree.cpp:
1731 (initialize): Call initializeWebKit.
1732 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1733 WebKitInitializer.lib.
1734 * WebKitInitializer/WebKitInitializer.cpp: Added.
1737 (getInstalledWebKitDirectory):
1739 * WebKitInitializer/WebKitInitializer.h: Added.
1740 * WebKitInitializer/WebKitInitializer.vcproj: Added.
1741 * WebKitInitializer/debug.vsprops: Added.
1742 * WebKitInitializer/release.vsprops: Added.
1744 2007-09-25 Adam Roben <aroben@apple.com>
1746 Make run-webkit-tests respect set-webkit-configuration
1750 * Scripts/run-webkit-tests: Initialize $configuration to whatever
1751 set-webkit-configuration was last set to.
1753 2007-09-25 Mark Rowe <mrowe@apple.com>
1755 Rubber-stamped by Eric.
1757 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1758 This makes it possible to automate nightly builds for the feature-branch.
1760 2007-09-25 Adam Roben <aroben@apple.com>
1762 A couple of fixes/enhancements to update-webkit-*-libs
1764 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1765 to tell update-webkit-support-libraries where it should find the
1766 WebKitSupportLibrary.zip file you downloaded.
1768 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1773 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1774 to $auxiliaryLibsURL and removed an irrelevant comment.
1775 * Scripts/update-webkit-support-libs:
1777 2007-09-25 Adam Treat <treat@kde.org>
1779 Reviewed by Simon and Lars.
1781 Refactors and cleans up Qt DRT member variable names, member variable
1782 initialization, style fixes and general code cleanup.
1784 Adds queueReload slot to LayoutTestController that some tests require.
1786 Subclasses QWebFrame to make sure that all frames have an associated
1787 LayoutTestController JS window object.
1789 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1790 aren't dumped twice.
1794 Together, this patch fixes some 20+ layout tests in QtWebKit.
1796 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1797 (WebCore::WebFrame::WebFrame):
1798 (WebCore::WebPage::WebPage):
1799 (WebCore::WebPage::createFrame):
1800 (WebCore::DumpRenderTree::DumpRenderTree):
1801 (WebCore::DumpRenderTree::open):
1802 (WebCore::DumpRenderTree::readStdin):
1803 (WebCore::DumpRenderTree::initJSObjects):
1804 (WebCore::DumpRenderTree::dump):
1805 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1806 (WebCore::DumpRenderTree::layoutTestController):
1807 (WebCore::DumpRenderTree::eventSender):
1808 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1809 (LayoutTestController::LayoutTestController):
1810 (LayoutTestController::reset):
1811 (LayoutTestController::maybeDump):
1812 (LayoutTestController::waitUntilDone):
1813 (LayoutTestController::notifyDone):
1814 (LayoutTestController::queueReload):
1815 (LayoutTestController::provisionalLoad):
1816 (EventSender::EventSender):
1817 (EventSender::mouseDown):
1818 (EventSender::mouseUp):
1819 (EventSender::mouseMoveTo):
1820 (EventSender::frameUnderMouse):
1821 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1822 (LayoutTestController::isLoading):
1823 (LayoutTestController::setLoading):
1824 (LayoutTestController::dumpAsText):
1825 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1828 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1831 - Reverted an accidentally checked in file.
1833 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1835 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1838 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1840 * DumpRenderTree/win/DumpRenderTree.vcproj:
1841 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1843 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
1845 Rubber stamped by Adam.
1847 * GdkLauncher: Removed.
1848 * GdkLauncher/Bakefiles.bkgen: Removed.
1849 * GdkLauncher/ENV: Removed.
1850 * GdkLauncher/GdkLauncher.pro: Removed.
1851 * GdkLauncher/gdklauncher.bkl: Removed.
1852 * GdkLauncher/main.cpp: Removed.
1853 * GdkLauncher/mk: Removed.
1854 * GdkLauncher/simple.svg: Removed.
1855 * GdkLauncher/text.html: Removed.
1856 * GtkLauncher: Added.
1857 * GtkLauncher/GdkLauncher.pro: Removed.
1858 * GtkLauncher/GtkLauncher.pro: Added.
1859 * GtkLauncher/main.cpp:
1860 (updateWindowTitle):
1862 * Scripts/build-webkit:
1863 * Scripts/regenerate-makefiles:
1864 * Scripts/run-javascriptcore-tests:
1865 * Scripts/run-launcher:
1866 * Scripts/run-webkit-tests:
1867 * Scripts/webkitdirs.pm:
1869 2007-09-21 Timothy Hatcher <timothy@apple.com>
1873 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1875 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1876 This is tested by plugins/root-object-premature-delete-crash.html.
1878 * DumpRenderTree/mac/ObjCController.m:
1879 (-[ObjCController accessStoredWebScriptObject]):
1881 2007-09-21 Kevin McCullough <kmccullough@apple.com>
1885 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1887 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1888 (FrameLoadDelegate::FrameLoadDelegate):
1890 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
1894 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1895 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1897 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1898 Now isQt() and isGdk() use global variables that are only set once.
1900 An array of all the parameters is now given to build-dumprender which includes
1901 the platform on linux.
1903 * Scripts/build-dumprendertree:
1904 * Scripts/run-webkit-tests:
1905 * Scripts/webkitdirs.pm:
1907 2007-09-19 Adam Roben <aroben@apple.com>
1909 Rubberstamped by Hyatt.
1911 * Spinneret: Removed.
1913 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
1915 Reviewed by David Kilzer.
1917 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1919 2007-09-18 Sam Weinig <sam@webkit.org>
1921 Add JSRetainPtr.h #include to fix some builds.
1923 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1925 2007-09-18 Mike Hommey <glandium@debian.org>
1929 * Scripts/prepare-ChangeLog:
1930 - Properly parse GECOS field.
1931 - Use git configuration for user name and email when appropriate.
1933 2007-09-17 Sam Weinig <sam@webkit.org>
1937 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1939 2007-09-17 Sam Weinig <sam@webkit.org>
1941 Reviewed by Adam Roben.
1943 Share more code between mac and windows DRT.
1944 - GCController is now shared.
1945 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
1947 * DumpRenderTree/GCController.cpp:
1948 * DumpRenderTree/win/DumpRenderTree.cpp:
1949 * DumpRenderTree/win/DumpRenderTree.vcproj:
1950 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
1951 (FrameLoadDelegate::FrameLoadDelegate):
1952 (FrameLoadDelegate::~FrameLoadDelegate):
1953 (FrameLoadDelegate::windowScriptObjectAvailable):
1954 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
1955 * DumpRenderTree/win/GCController.cpp: Removed.
1956 * DumpRenderTree/win/GCController.h: Removed.
1957 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
1958 (GCController::collect):
1959 (GCController::collectOnAlternateThread):
1960 (GCController::getJSObjectCount):
1961 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
1962 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
1964 2007-09-17 Sam Weinig <sam@webkit.org>
1966 Reviewed by Adam Roben.
1968 Begin sharing code between mac and windows DRT.
1969 - both now share LayoutTestController.h/cpp and implement platform dependant
1970 operations in LayoutTestControllerMac/Win.
1971 - DumpRenderTree.h is now shared.
1972 - WorkQueue and WorkQueueItem are also shared.
1974 * DumpRenderTree/DumpRenderTree.h:
1975 * DumpRenderTree/LayoutTestController.cpp:
1976 * DumpRenderTree/win/DumpRenderTree.cpp:
1978 (dumpFrameScrollPosition):
1982 * DumpRenderTree/win/DumpRenderTree.h: Removed.
1983 * DumpRenderTree/win/DumpRenderTree.vcproj:
1984 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
1985 * DumpRenderTree/win/EditingDelegate.cpp:
1986 (EditingDelegate::shouldBeginEditingInDOMRange):
1987 (EditingDelegate::shouldEndEditingInDOMRange):
1988 (EditingDelegate::shouldInsertNode):
1989 (EditingDelegate::shouldInsertText):
1990 (EditingDelegate::shouldDeleteDOMRange):
1991 (EditingDelegate::shouldChangeSelectedDOMRange):
1992 (EditingDelegate::shouldApplyStyle):
1993 (EditingDelegate::shouldChangeTypingStyle):
1994 (EditingDelegate::doPlatformCommand):
1995 (EditingDelegate::webViewDidBeginEditing):
1996 (EditingDelegate::webViewDidChange):
1997 (EditingDelegate::webViewDidEndEditing):
1998 (EditingDelegate::webViewDidChangeTypingStyle):
1999 (EditingDelegate::webViewDidChangeSelection):
2000 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2001 * DumpRenderTree/win/LayoutTestController.h: Removed.
2002 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2003 (LayoutTestController::addDisallowedURL):
2004 (LayoutTestController::clearBackForwardList):
2005 (LayoutTestController::copyDecodedHostName):
2006 (LayoutTestController::copyEncodedHostName):
2007 (LayoutTestController::display):
2008 (LayoutTestController::keepWebHistory):
2009 (LayoutTestController::notifyDone):
2010 (LayoutTestController::queueBackNavigation):
2011 (LayoutTestController::queueForwardNavigation):
2012 (jsStringRefToWString):
2013 (LayoutTestController::queueLoad):
2014 (LayoutTestController::queueReload):
2015 (LayoutTestController::queueScript):
2016 (LayoutTestController::setAcceptsEditing):
2017 (LayoutTestController::setCustomPolicyDelegate):
2018 (LayoutTestController::setMainFrameIsFirstResponder):
2019 (LayoutTestController::setTabKeyCyclesThroughElements):
2020 (LayoutTestController::setUseDashboardCompatibilityMode):
2021 (LayoutTestController::setUserStyleSheetEnabled):
2022 (LayoutTestController::setUserStyleSheetLocation):
2023 (LayoutTestController::setWindowIsKey):
2024 (waitUntilDoneWatchdogFired):
2025 (LayoutTestController::setWaitToDump):
2026 (LayoutTestController::windowCount):
2027 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2028 (FrameLoadDelegate::didReceiveTitle):
2029 (FrameLoadDelegate::processWork):
2030 (FrameLoadDelegate::locationChangeDone):
2031 (FrameLoadDelegate::windowScriptObjectAvailable):
2032 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2033 * DumpRenderTree/win/WorkQueue.h: Removed.
2034 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2035 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2036 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2037 (jsStringRefToWString):
2039 (ScriptItem::invoke):
2041 2007-09-17 Sam Weinig <sam@webkit.org>
2043 Reviewed by Adam Roben.
2045 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2047 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2048 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2049 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2050 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2051 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2052 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2053 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2054 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2055 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2056 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2057 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2058 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2059 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2060 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2061 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2062 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2063 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2064 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2065 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2066 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2067 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2068 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2069 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2070 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2071 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2072 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2073 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2074 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2075 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2076 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2077 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2078 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2079 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2080 * DumpRenderTree/win: Added.
2081 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2082 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2083 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2084 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2085 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2086 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2087 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2088 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2089 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2090 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2091 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2092 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2093 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2094 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2095 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2096 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2097 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2098 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2099 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2100 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2101 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2102 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2103 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2104 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2105 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2106 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2108 2007-09-15 Mark Rowe <mrowe@apple.com>
2110 Build fix for DumpRenderTree.
2112 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2114 2007-09-14 Sam Weinig <sam@webkit.org>
2116 Rubber stamped by Adam Roben.
2118 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2119 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2120 kept in the WaitUntilDoneDelegate file for the time being.
2122 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2124 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2125 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2126 (UIDelegate::QueryInterface):
2127 (UIDelegate::AddRef):
2128 (UIDelegate::Release):
2129 (UIDelegate::hasCustomMenuImplementation):
2130 (UIDelegate::setFrame):
2131 (UIDelegate::webViewFrame):
2132 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2133 (UIDelegate::webViewAddMessageToConsole):
2134 (UIDelegate::doDragDrop):
2135 (UIDelegate::webViewGetDlgCode):
2136 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2137 (UIDelegate::UIDelegate):
2138 (UIDelegate::createWebViewWithRequest):
2139 (UIDelegate::webViewShow):
2140 (UIDelegate::webViewClose):
2141 (UIDelegate::webViewFocus):
2142 (UIDelegate::webViewUnfocus):
2143 (UIDelegate::webViewFirstResponder):
2144 (UIDelegate::makeFirstResponder):
2145 (UIDelegate::setStatusText):
2146 (UIDelegate::webViewStatusText):
2147 (UIDelegate::webViewAreToolbarsVisible):
2148 (UIDelegate::setToolbarsVisible):
2149 (UIDelegate::webViewIsStatusBarVisible):
2150 (UIDelegate::setStatusBarVisible):
2151 (UIDelegate::webViewIsResizable):
2152 (UIDelegate::setResizable):
2153 (UIDelegate::setContentRect):
2154 (UIDelegate::webViewContentRect):
2155 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2156 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2157 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2158 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2159 (UIDelegate::mouseDidMoveOverElement):
2160 (UIDelegate::contextMenuItemsForElement):
2161 (UIDelegate::validateUserInterfaceItem):
2162 (UIDelegate::shouldPerformAction):
2163 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2164 (UIDelegate::willPerformDragDestinationAction):
2165 (UIDelegate::dragSourceActionMaskForPoint):
2166 (UIDelegate::willPerformDragSourceAction):
2167 (UIDelegate::contextMenuItemSelected):
2168 (UIDelegate::trackCustomPopupMenu):
2169 (UIDelegate::measureCustomMenuItem):
2170 (UIDelegate::drawCustomMenuItem):
2171 (UIDelegate::addCustomMenuDrawingData):
2172 (UIDelegate::cleanUpCustomMenuDrawingData):
2173 (UIDelegate::canTakeFocus):
2174 (UIDelegate::takeFocus):
2175 (UIDelegate::registerUndoWithTarget):
2176 (UIDelegate::removeAllActionsWithTarget):
2177 (UIDelegate::setActionTitle):
2180 (UIDelegate::canUndo):
2181 (UIDelegate::canRedo):
2182 (UIDelegate::webViewResizerRect):
2183 (UIDelegate::webViewDrawResizer):
2184 (UIDelegate::webViewScrolled):
2185 (UIDelegate::webViewShouldInterruptJavaScript):
2186 (UIDelegate::webViewReceivedFocus):
2187 (UIDelegate::webViewLostFocus):
2188 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2189 (FrameLoadDelegate::QueryInterface):
2190 (FrameLoadDelegate::AddRef):
2191 (FrameLoadDelegate::Release):
2192 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2193 (FrameLoadDelegate::didCommitLoadForFrame):
2194 (FrameLoadDelegate::didReceiveTitle):
2195 (FrameLoadDelegate::processWork):
2197 (FrameLoadDelegate::locationChangeDone):
2198 (FrameLoadDelegate::didFinishLoadForFrame):
2199 (FrameLoadDelegate::didFailLoadWithError):
2200 (FrameLoadDelegate::windowScriptObjectAvailable):
2201 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2202 (FrameLoadDelegate::FrameLoadDelegate):
2204 2007-09-14 Sam Weinig <sam@webkit.org>
2206 Reviewed by Kevin McCullough.
2208 Move mac specific globals in to mac/DumpRenderTreeMac.h
2210 * DumpRenderTree/DumpRenderTree.h:
2211 * DumpRenderTree/DumpRenderTree.mm: Removed.
2212 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2213 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2214 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2216 2007-09-14 Brady Eidson <beidson@apple.com>
2218 Rubberstamped by Weinig
2220 You know, Sam, some of us use case-sensitve filesystems...
2222 * DumpRenderTree/DumpRenderTree.h:
2223 * DumpRenderTree/mac/UIDelegate.mm:
2225 2007-09-14 Sam Weinig <sam@webkit.org>
2227 Rubber stamped by Adam Roben.
2229 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2230 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2232 * DumpRenderTree/AppleScriptController.h: Removed.
2233 * DumpRenderTree/AppleScriptController.m: Removed.
2234 * DumpRenderTree/DumpRenderTree.h:
2235 * DumpRenderTree/DumpRenderTree.mm:
2236 (startJavaScriptThreads):
2237 (stopJavaScriptThreads):
2239 (setDefaultColorProfileToRGB):
2240 (makeLargeMallocFailSilently):
2241 (dumpFrameScrollPosition):
2245 (-[DumpRenderTreeWindow isKeyWindow]):
2246 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2247 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2248 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2249 * DumpRenderTree/EditingDelegate.h: Removed.
2250 * DumpRenderTree/EditingDelegate.m: Removed.
2251 * DumpRenderTree/EventSendingController.h: Removed.
2252 * DumpRenderTree/EventSendingController.m: Removed.
2253 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2254 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2255 * DumpRenderTree/GCController.mm: Removed.
2256 * DumpRenderTree/ImageDiff.m: Removed.
2257 * DumpRenderTree/LayoutTestController.cpp:
2258 (LayoutTestController::LayoutTestController):
2259 (dumpAsTextCallback):
2260 (dumpBackForwardListCallback):
2261 (dumpChildFramesAsTextCallback):
2262 (dumpChildFrameScrollPositionsCallback):
2263 (dumpDOMAsWebArchiveCallback):
2264 (dumpEditingCallbacksCallback):
2265 (dumpFrameLoadCallbacksCallback):
2266 (dumpResourceLoadCallbacksCallback):
2267 (dumpSelectionRectCallback):
2268 (dumpSourceAsWebArchiveCallback):
2269 (dumpTitleChangesCallback):
2270 (repaintSweepHorizontallyCallback):
2271 (setCallCloseOnWebViewsCallback):
2272 (setCanOpenWindowsCallback):
2273 (setCloseRemainingWindowsWhenCompleteCallback):
2274 (testRepaintCallback):
2275 (addFileToPasteboardOnDragCallback):
2276 (waitUntilDoneCallback):
2277 * DumpRenderTree/LayoutTestController.h:
2278 (LayoutTestController::dumpAsText):
2279 (LayoutTestController::setDumpAsText):
2280 (LayoutTestController::dumpBackForwardList):
2281 (LayoutTestController::setDumpBackForwardList):
2282 (LayoutTestController::dumpChildFrameScrollPositions):
2283 (LayoutTestController::setDumpChildFrameScrollPositions):
2284 (LayoutTestController::dumpChildFramesAsText):
2285 (LayoutTestController::setDumpChildFramesAsText):
2286 (LayoutTestController::dumpDOMAsWebArchive):
2287 (LayoutTestController::setDumpDOMAsWebArchive):
2288 (LayoutTestController::dumpSelectionRect):
2289 (LayoutTestController::setDumpSelectionRect):
2290 (LayoutTestController::dumpSourceAsWebArchive):
2291 (LayoutTestController::setDumpSourceAsWebArchive):
2292 (LayoutTestController::dumpTitleChanges):
2293 (LayoutTestController::setDumpTitleChanges):
2294 (LayoutTestController::dumpEditingCallbacks):
2295 (LayoutTestController::setDumpEditingCallbacks):
2296 (LayoutTestController::dumpResourceLoadCallbacks):
2297 (LayoutTestController::setDumpResourceLoadCallbacks):
2298 (LayoutTestController::dumpFrameLoadCallbacks):
2299 (LayoutTestController::setDumpFrameLoadCallbacks):
2300 (LayoutTestController::addFileToPasteboardOnDrag):
2301 (LayoutTestController::setAddFileToPasteboardOnDrag):
2302 (LayoutTestController::callCloseOnWebViews):
2303 (LayoutTestController::setCallCloseOnWebViews):
2304 (LayoutTestController::canOpenWindows):
2305 (LayoutTestController::setCanOpenWindows):
2306 (LayoutTestController::closeRemainingWindowsWhenComplete):
2307 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2308 (LayoutTestController::testRepaint):
2309 (LayoutTestController::setTestRepaint):
2310 (LayoutTestController::testRepaintSweepHorizontally):
2311 (LayoutTestController::setTestRepaintSweepHorizontally):
2312 (LayoutTestController::waitToDump):
2313 (LayoutTestController::windowIsKey):
2314 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2315 * DumpRenderTree/NavigationController.h: Removed.
2316 * DumpRenderTree/NavigationController.m: Removed.
2317 * DumpRenderTree/ObjCController.h: Removed.
2318 * DumpRenderTree/ObjCController.m: Removed.
2319 * DumpRenderTree/ObjCPlugin.h: Removed.
2320 * DumpRenderTree/ObjCPlugin.m: Removed.
2321 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2322 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2323 * DumpRenderTree/PolicyDelegate.h: Removed.
2324 * DumpRenderTree/PolicyDelegate.m: Removed.
2325 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2326 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2327 * DumpRenderTree/TextInputController.h: Removed.
2328 * DumpRenderTree/TextInputController.m: Removed.
2329 * DumpRenderTree/UIDelegate.h: Removed.
2330 * DumpRenderTree/UIDelegate.mm: Removed.
2331 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2332 * DumpRenderTree/mac: Added.
2333 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2334 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2335 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2336 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2337 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2338 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2339 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2340 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2341 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2342 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2343 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2344 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2345 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2346 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2347 (-[EditingDelegate webViewDidBeginEditing:]):
2348 (-[EditingDelegate webViewDidChange:]):
2349 (-[EditingDelegate webViewDidEndEditing:]):
2350 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2351 (-[EditingDelegate webViewDidChangeSelection:]):
2352 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2353 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2354 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2355 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2356 (-[FrameLoadDelegate init]):
2357 (-[FrameLoadDelegate dealloc]):
2358 (-[FrameLoadDelegate processWork:]):
2359 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2360 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2361 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2362 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2363 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2364 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2365 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2366 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2367 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2368 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2369 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2370 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2371 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2372 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2373 (-[FrameLoadDelegate webView:willCloseFrame:]):
2374 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2375 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2376 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2377 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2378 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2379 (LayoutTestController::notifyDone):
2380 (LayoutTestController::setWindowIsKey):
2381 (LayoutTestController::setWaitToDump):
2382 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2383 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2384 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2385 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2386 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2387 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2388 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2389 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2390 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2391 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2392 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2393 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2394 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2395 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2396 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2397 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2398 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2399 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2400 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2401 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2402 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2403 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2404 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2405 (-[UIDelegate webViewFocus:]):
2406 (-[UIDelegate webView:createWebViewWithRequest:]):
2407 (-[UIDelegate webViewClose:]):
2408 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2410 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2414 - Changing Win version of Drosera work with recent changes.
2416 * Drosera/DebuggerDocument.cpp:
2417 * Drosera/DebuggerDocument.h:
2418 * Drosera/mac/DebuggerDocumentPlatform.mm:
2419 (NSStringCreateWithJSStringRef):
2420 (JSValueRefCreateWithNSString):
2421 * Drosera/win/DebuggerClient.cpp:
2422 (DebuggerClient::stepInto):
2423 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2425 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2429 - Moved isPaused into the JS for efficiency and simplicity.
2431 * Drosera/DebuggerDocument.cpp:
2432 (DebuggerDocument::DebuggerDocument):
2433 (DebuggerDocument::pauseCallback):
2434 (DebuggerDocument::resumeCallback):
2435 (DebuggerDocument::isPaused):
2436 (DebuggerDocument::staticFunctions):
2437 * Drosera/DebuggerDocument.h:
2438 * Drosera/console.js:
2439 * Drosera/debugger.js:
2440 * Drosera/mac/DebuggerClient.mm:
2441 (-[DebuggerClient validateUserInterfaceItem:]):
2443 2007-09-13 Sam Weinig <sam@webkit.org>
2445 Rubber stamped by Darin.
2447 Make DumpRenderTree more cross platform ready.
2448 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2449 - Use CF types instead of NS objects.
2452 * DumpRenderTree/DumpRenderTree.h:
2453 * DumpRenderTree/DumpRenderTree.mm:
2457 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2458 * DumpRenderTree/EditingDelegate.m:
2459 * DumpRenderTree/FrameLoadDelegate.h:
2460 * DumpRenderTree/FrameLoadDelegate.mm:
2461 (-[FrameLoadDelegate init]):
2462 (-[FrameLoadDelegate dealloc]):
2463 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2464 * DumpRenderTree/GCController.cpp: Added.
2465 (GCController::GCController):
2466 (GCController::~GCController):
2468 (collectOnAlternateThreadCallback):
2469 (getJSObjectCountCallback):
2470 (GCController::makeWindowObject):
2471 (GCController::getJSClass):
2472 (GCController::staticFunctions):
2473 * DumpRenderTree/GCController.h:
2474 * DumpRenderTree/GCController.mm:
2475 (GCController::collect):
2476 (GCController::collectOnAlternateThread):
2477 (GCController::getJSObjectCount):
2478 * DumpRenderTree/LayoutTestController.cpp:
2479 (LayoutTestController::makeWindowObject):
2480 (LayoutTestController::getJSClass):
2481 * DumpRenderTree/LayoutTestController.h:
2482 * DumpRenderTree/LayoutTestControllerMac.mm:
2483 (LayoutTestController::addDisallowedURL):
2484 (waitUntilDoneWatchdogFired):
2485 (LayoutTestController::waitUntilDone):
2486 * DumpRenderTree/ResourceLoadDelegate.m:
2487 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2489 2007-09-12 Sam Weinig <sam@webkit.org>
2491 Reviewed by Stephanie.
2493 Fix leaks in mac DumpRenderTree.
2495 * DumpRenderTree/FrameLoadDelegate.mm:
2496 (-[FrameLoadDelegate init]): Initalize in the correct order.
2497 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2498 * DumpRenderTree/LayoutTestController.cpp:
2499 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2500 (encodeHostNameCallback): ditto.
2501 * DumpRenderTree/LayoutTestController.h:
2502 * DumpRenderTree/LayoutTestControllerMac.mm:
2503 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2504 (LayoutTestController::copyEncodedHostName): ditto
2505 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2507 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2511 - 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.
2513 * Scripts/run-webkit-tests:
2515 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2519 - Simplified code paths and extracted out functions to increase encapsulation.
2521 * Drosera/DebuggerDocument.cpp:
2522 (DebuggerDocument::breakpointEditorHTMLCallback):
2523 (DebuggerDocument::isPausedCallback):
2524 (DebuggerDocument::pauseCallback):
2525 (DebuggerDocument::resumeCallback):
2526 (DebuggerDocument::stepIntoCallback):
2527 (DebuggerDocument::evaluateScriptCallback):
2528 (DebuggerDocument::currentFunctionStackCallback):
2529 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2530 (DebuggerDocument::valueForScopeVariableNamedCallback):
2531 (DebuggerDocument::logCallback):
2532 * Drosera/DebuggerDocument.h:
2533 (DebuggerDocument::getPaused):
2534 * Drosera/mac/DebuggerClient.mm:
2535 (-[DebuggerClient pause:]):
2536 (-[DebuggerClient resume:]):
2537 (-[DebuggerClient stepInto:]):
2538 (-[DebuggerClient stepOver:]):
2539 (-[DebuggerClient stepOut:]):
2540 (-[DebuggerClient showConsole:]):
2541 (-[DebuggerClient closeCurrentFile:]):
2542 (-[DebuggerClient validateUserInterfaceItem:]):
2543 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2544 (+[NSString stringOrNilFromWebScriptResult:]):
2545 (DebuggerDocument::platformPause):
2546 (DebuggerDocument::platformResume):
2547 (DebuggerDocument::platformStepInto):
2548 (DebuggerDocument::platformEvaluateScript):
2549 (DebuggerDocument::getPlatformCurrentFunctionStack):
2550 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2551 (DebuggerDocument::platformValueForScopeVariableNamed):
2552 (DebuggerDocument::platformLog):
2553 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2555 2007-09-12 Sam Weinig <sam@webkit.org>
2557 Build fix for Buildbot.
2559 * DumpRenderTree/DumpRenderTree.mm:
2562 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2566 - Updated the leaks list for leopard to help identify regressions.
2568 * Scripts/run-webkit-tests:
2570 2007-09-12 Sam Weinig <sam@webkit.org>
2572 Rubber stamped by Darin.
2574 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2576 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2577 * DumpRenderTree/DumpRenderTree.m: Removed.
2578 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2579 (stopJavaScriptThreads): Fix initialization.
2580 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2581 (dumpRenderTree): Ditto.
2583 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2585 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2586 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2587 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2588 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2589 (-[FrameLoadDelegate init]):
2590 (-[FrameLoadDelegate dealloc]):
2591 (-[FrameLoadDelegate processWork:]):
2592 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2593 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2594 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2596 * DumpRenderTree/LayoutTestController.cpp: Added.
2597 (LayoutTestController::LayoutTestController):
2598 (LayoutTestController::~LayoutTestController):
2599 (dumpAsTextCallback):
2600 (dumpBackForwardListCallback):
2601 (dumpChildFramesAsTextCallback):
2602 (dumpChildFrameScrollPositionsCallback):
2603 (dumpDOMAsWebArchiveCallback):
2604 (dumpEditingCallbacksCallback):
2605 (dumpFrameLoadCallbacksCallback):
2606 (dumpResourceLoadCallbacksCallback):
2607 (dumpSelectionRectCallback):
2608 (dumpSourceAsWebArchiveCallback):
2609 (dumpTitleChangesCallback):
2610 (repaintSweepHorizontallyCallback):
2611 (setCallCloseOnWebViewsCallback):
2612 (setCanOpenWindowsCallback):
2613 (setCloseRemainingWindowsWhenCompleteCallback):
2614 (testRepaintCallback):
2615 (addFileToPasteboardOnDragCallback):
2616 (addDisallowedURLCallback):
2617 (clearBackForwardListCallback):
2618 (decodeHostNameCallback):
2620 (encodeHostNameCallback):
2621 (keepWebHistoryCallback):
2622 (notifyDoneCallback):
2623 (queueBackNavigationCallback):
2624 (queueForwardNavigationCallback):
2625 (queueLoadCallback):
2626 (queueReloadCallback):
2627 (queueScriptCallback):
2628 (setAcceptsEditingCallback):
2629 (setCustomPolicyDelegateCallback):
2630 (setMainFrameIsFirstResponderCallback):
2631 (setTabKeyCyclesThroughElementsCallback):
2632 (setUseDashboardCompatibilityModeCallback):
2633 (setUserStyleSheetEnabledCallback):
2634 (setUserStyleSheetLocationCallback):
2635 (setWindowIsKeyCallback):
2636 (waitUntilDoneCallback):
2637 (windowCountCallback):
2638 (LayoutTestController::makeWindowObject):
2639 (LayoutTestController::getLayoutTestControllerJSClass):
2640 (LayoutTestController::staticFunctions):
2641 * DumpRenderTree/LayoutTestController.h: Replaced.
2642 * DumpRenderTree/LayoutTestController.m: Removed.
2643 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2644 (LayoutTestController::dumpAsText):
2645 (LayoutTestController::dumpBackForwardList):
2646 (LayoutTestController::dumpChildFramesAsText):
2647 (LayoutTestController::dumpChildFrameScrollPositions):
2648 (LayoutTestController::dumpDOMAsWebArchive):
2649 (LayoutTestController::dumpEditingCallbacks):
2650 (LayoutTestController::dumpFrameLoadCallbacks):
2651 (LayoutTestController::dumpResourceLoadCallbacks):
2652 (LayoutTestController::dumpSelectionRect):
2653 (LayoutTestController::dumpSourceAsWebArchive):
2654 (LayoutTestController::dumpTitleChanges):
2655 (LayoutTestController::repaintSweepHorizontally):
2656 (LayoutTestController::setCallCloseOnWebViews):
2657 (LayoutTestController::setCanOpenWindows):
2658 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2659 (LayoutTestController::testRepaint):
2660 (LayoutTestController::addFileToPasteboardOnDrag):
2661 (LayoutTestController::addDisallowedURL):
2662 (LayoutTestController::clearBackForwardList):
2663 (LayoutTestController::decodeHostName):
2664 (LayoutTestController::encodeHostName):
2665 (LayoutTestController::display):
2666 (LayoutTestController::keepWebHistory):
2667 (LayoutTestController::notifyDone):
2668 (LayoutTestController::queueBackNavigation):
2669 (LayoutTestController::queueForwardNavigation):
2670 (LayoutTestController::queueLoad):
2671 (LayoutTestController::queueReload):
2672 (LayoutTestController::queueScript):
2673 (LayoutTestController::setAcceptsEditing):
2674 (LayoutTestController::setCustomPolicyDelegate):
2675 (LayoutTestController::setMainFrameIsFirstResponder):
2676 (LayoutTestController::setTabKeyCyclesThroughElements):
2677 (LayoutTestController::setUseDashboardCompatibilityMode):
2678 (LayoutTestController::setUserStyleSheetEnabled):
2679 (LayoutTestController::setUserStyleSheetLocation):
2680 (LayoutTestController::setWindowIsKey):
2681 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2682 (LayoutTestController::waitUntilDone):
2683 (LayoutTestController::windowCount):
2684 Use the JSCore API to implement the LayoutTestController.
2686 * DumpRenderTree/ObjCController.h:
2687 * DumpRenderTree/ObjCController.m:
2688 (+[ObjCController isSelectorExcludedFromWebScript:]):
2689 (+[ObjCController webScriptNameForSelector:]):
2690 (-[ObjCController accessStoredWebScriptObject]):
2691 (-[ObjCController storeWebScriptObject:]):
2692 (-[ObjCController dealloc]):
2693 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2694 Move WebScriptObject tests to ObjCController.
2696 * DumpRenderTree/UIDelegate.m: Removed.
2697 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2699 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2700 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2701 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2702 (WorkQueueItem::~WorkQueueItem):
2703 (LoadItem::LoadItem):
2706 (ScriptItem::ScriptItem):
2707 (ScriptItem::script):
2708 * DumpRenderTree/WorkQueueItemMac.mm: Added.
2710 (ReloadItem::invoke):
2711 (ScriptItem::invoke):
2712 (BackForwardItem::invoke):
2713 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2714 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
2717 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2721 - Updated Win side to take advantage of the platform separating changes.
2723 * Drosera/DebuggerDocument.cpp:
2724 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2725 * Drosera/DebuggerDocument.h:
2726 * Drosera/win/DebuggerClient.cpp:
2727 (DebuggerClient::pause):
2728 (DebuggerClient::resume):
2729 (DebuggerClient::stepInto):
2730 (DebuggerDocument::platformPause):
2731 (DebuggerDocument::platformResume):
2732 (DebuggerDocument::platformStepInto):
2733 (DebuggerDocument::platformEvaluateScript):
2734 (DebuggerDocument::getPlatformCurrentFunctionStack):
2735 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2736 (DebuggerDocument::platformValueForScopeVariableNamed):
2737 (DebuggerDocument::platformLog):
2738 * Drosera/win/DebuggerClient.h:
2739 * Drosera/win/Drosera.cpp:
2741 (Drosera::windowScriptObjectAvailable):
2742 (Drosera::initWithServerName):
2743 (Drosera::switchToServerNamed):
2744 * Drosera/win/Drosera.h:
2745 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2747 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2751 - Just doing the moves in a separate patch so the changes are easier to see.
2753 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2754 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2755 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2756 * Drosera/win/DebuggerDocumentWin.h: Removed.
2757 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2759 2007-09-11 Sven Herzberg <sven@imendio.com>
2761 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2762 http://bugs.webkit.org/show_bug.cgi?id=15176
2764 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2765 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2766 other paths eg. from jhbuild)
2768 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2772 - Made an order-of-deletion mistake.
2774 * Drosera/DebuggerDocument.h:
2775 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2776 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2777 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2778 * Drosera/mac/DebuggerClient.mm:
2779 (DebuggerDocument::platformPause):
2780 (DebuggerDocument::platformResume):
2781 (DebuggerDocument::platformStepInto):
2782 (DebuggerDocument::platformEvaluateScript):
2783 (DebuggerDocument::getPlatformCurrentFunctionStack):
2784 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2785 (DebuggerDocument::platformValueForScopeVariableNamed):
2786 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2788 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2792 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2794 * Drosera/DebuggerDocument.cpp:
2795 (DebuggerDocument::DebuggerDocument):
2796 * Drosera/DebuggerDocument.h:
2797 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2798 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2799 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2800 * Drosera/mac/DebuggerApplication.mm:
2801 (-[DebuggerApplication attach:]):
2802 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2803 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2804 (DebuggerDocument::platformPause):
2805 (DebuggerDocument::platformResume):
2806 (DebuggerDocument::platformStepInto):
2807 (DebuggerDocument::platformEvaluateScript):
2808 (DebuggerDocument::getPlatformCurrentFunctionStack):
2809 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2810 (DebuggerDocument::platformValueForScopeVariableNamed):
2811 (DebuggerDocument::platformLog):
2812 * Drosera/mac/DebuggerDocumentMac.h: Removed.
2813 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2814 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2816 2007-09-09 Sam Weinig <sam@webkit.org>
2818 Reviewed by Mark Rowe.
2820 Remove 'objC' prefix from methods now in the ObjCController.
2822 * DumpRenderTree/ObjCController.m:
2823 (+[ObjCController isSelectorExcludedFromWebScript:]):
2824 (+[ObjCController webScriptNameForSelector:]):
2825 (-[ObjCController classNameOf:]):
2826 (-[ObjCController objectOfClass:]):
2827 (-[ObjCController identityIsEqual::]):
2828 (-[ObjCController longLongRoundTrip:]):
2829 (-[ObjCController unsignedLongLongRoundTrip:]):
2831 2007-09-09 Sam Weinig <sam@webkit.org>
2835 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
2836 - Move LayoutTestController into its own file.
2837 - Move Objective-C only functions on LayoutTestController into a new controller called the
2840 * DumpRenderTree/DumpRenderTree.h:
2841 * DumpRenderTree/DumpRenderTree.m:
2843 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2844 * DumpRenderTree/FrameLoadDelegate.m:
2845 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2846 * DumpRenderTree/LayoutTestController.h: Added.
2847 * DumpRenderTree/LayoutTestController.m: Added.
2848 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2849 (+[LayoutTestController webScriptNameForSelector:]):
2850 (-[LayoutTestController clearBackForwardList]):
2851 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2852 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2853 (-[LayoutTestController setCustomPolicyDelegate:]):
2854 (-[LayoutTestController keepWebHistory]):
2855 (-[LayoutTestController setCallCloseOnWebViews:]):
2856 (-[LayoutTestController setCanOpenWindows]):
2857 (-[LayoutTestController waitUntilDone]):
2858 (-[LayoutTestController waitUntilDoneWatchdogFired]):
2859 (-[LayoutTestController notifyDone]):
2860 (-[LayoutTestController dumpAsText]):
2861 (-[LayoutTestController addFileToPasteboardOnDrag]):
2862 (-[LayoutTestController addDisallowedURL:]):
2863 (-[LayoutTestController setUserStyleSheetLocation:]):
2864 (-[LayoutTestController setUserStyleSheetEnabled:]):
2865 (-[LayoutTestController dumpDOMAsWebArchive]):
2866 (-[LayoutTestController dumpSourceAsWebArchive]):
2867 (-[LayoutTestController dumpSelectionRect]):
2868 (-[LayoutTestController dumpTitleChanges]):
2869 (-[LayoutTestController dumpBackForwardList]):
2870 (-[LayoutTestController windowCount]):
2871 (-[LayoutTestController dumpChildFrameScrollPositions]):
2872 (-[LayoutTestController dumpChildFramesAsText]):
2873 (-[LayoutTestController dumpEditingCallbacks]):
2874 (-[LayoutTestController dumpResourceLoadCallbacks]):
2875 (-[LayoutTestController dumpFrameLoadCallbacks]):
2876 (-[LayoutTestController setWindowIsKey:]):
2877 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2878 (-[LayoutTestController display]):
2879 (-[LayoutTestController testRepaint]):
2880 (-[LayoutTestController repaintSweepHorizontally]):
2881 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2882 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2883 (-[LayoutTestController _doLoad:target:]):
2884 (-[LayoutTestController _doBackOrForwardNavigation:]):
2885 (-[LayoutTestController queueBackNavigation:]):
2886 (-[LayoutTestController queueForwardNavigation:]):
2887 (-[LayoutTestController queueReload]):
2888 (-[LayoutTestController queueScript:]):
2889 (-[LayoutTestController queueLoad:target:]):
2890 (-[LayoutTestController setAcceptsEditing:]):
2891 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2892 (-[LayoutTestController storeWebScriptObject:]):
2893 (-[LayoutTestController accessStoredWebScriptObject]):
2894 (-[LayoutTestController dealloc]):
2895 (-[LayoutTestController decodeHostName:]):
2896 (-[LayoutTestController encodeHostName:]):
2897 * DumpRenderTree/ObjCController.h: Added.
2898 * DumpRenderTree/ObjCController.m: Added.
2899 (+[ObjCController isSelectorExcludedFromWebScript:]):
2900 (+[ObjCController webScriptNameForSelector:]):
2901 (-[ObjCController objCClassNameOf:]):
2902 (-[ObjCController objCObjectOfClass:]):
2903 (-[ObjCController objCIdentityIsEqual::]):
2904 (-[ObjCController objCLongLongRoundTrip:]):
2905 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2906 (-[ObjCController testWrapperRoundTripping:]):
2908 2007-09-07 Sam Weinig <sam@webkit.org>
2912 Strip trailing and leading space/newline characters from skiplist file names.
2914 * Scripts/run-webkit-tests:
2916 2007-09-06 Kevin McCullough <kmccullough@apple.com>
2920 - Changed Drosera to take advantage of the JSRetainPtr changes.
2922 * Drosera/DebuggerDocument.cpp:
2923 (DebuggerDocument::breakpointEditorHTML):
2924 (DebuggerDocument::evaluateScript):
2925 (DebuggerDocument::valueForScopeVariableNamed):
2926 (DebuggerDocument::log):
2927 (DebuggerDocument::windowScriptObjectAvailable):
2928 (DebuggerDocument::toJSArray):
2929 (DebuggerDocument::callFunctionOnObject):
2930 (DebuggerDocument::logException):
2931 * Drosera/mac/DebuggerDocumentMac.mm:
2932 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
2933 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2934 (DebuggerDocument::platformEvaluateScript):
2935 (DebuggerDocument::getPlatformCurrentFunctionStack):
2936 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2937 (DebuggerDocument::platformValueForScopeVariableNamed):
2939 2007-09-05 Kevin McCullough <kmccullough@apple.com>
2941 Reviewed by Adam, Sam, Darin.
2943 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
2945 * Drosera/Debugger.h: Added.
2946 * Drosera/DebuggerDocument.cpp:
2947 (DebuggerDocument::breakpointEditorHTMLCallback):
2948 (DebuggerDocument::isPausedCallback):
2949 (DebuggerDocument::pauseCallback):
2950 (DebuggerDocument::resumeCallback):
2951 (DebuggerDocument::stepIntoCallback):
2952 (DebuggerDocument::evaluateScriptCallback):
2953 (DebuggerDocument::currentFunctionStackCallback):
2954 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2955 (DebuggerDocument::valueForScopeVariableNamedCallback):
2956 (DebuggerDocument::logCallback):
2957 (DebuggerDocument::breakpointEditorHTML):
2958 (DebuggerDocument::isPaused):
2959 (DebuggerDocument::pause):
2960 (DebuggerDocument::resume):
2961 (DebuggerDocument::stepInto):
2962 (DebuggerDocument::evaluateScript):
2963 (DebuggerDocument::currentFunctionStack):
2964 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2965 (DebuggerDocument::valueForScopeVariableNamed):
2966 (DebuggerDocument::log):
2967 (DebuggerDocument::toolbarPause):
2968 (DebuggerDocument::toolbarResume):
2969 (DebuggerDocument::toolbarStepInto):
2970 (DebuggerDocument::toolbarStepOver):
2971 (DebuggerDocument::toolbarStepOut):
2972 (DebuggerDocument::toolbarShowConsole):
2973 (DebuggerDocument::toolbarCloseCurrentFile):
2974 (DebuggerDocument::updateFileSource):
2975 (DebuggerDocument::didParseScript):
2976 (DebuggerDocument::willExecuteStatement):
2977 (DebuggerDocument::didEnterCallFrame):
2978 (DebuggerDocument::willLeaveCallFrame):
2979 (DebuggerDocument::exceptionWasRaised):
2980 (DebuggerDocument::windowScriptObjectAvailable):
2981 (DebuggerDocument::toJSArray):
2982 (DebuggerDocument::callGlobalFunction):
2983 (DebuggerDocument::callFunctionOnObject):
2984 (DebuggerDocument::getDroseraJSClass):
2985 (DebuggerDocument::staticFunctions):
2986 (DebuggerDocument::logException):
2987 * Drosera/DebuggerDocument.h:
2988 (DebuggerDocument::DebuggerDocument):
2989 * Drosera/ForwardingHeaders: Added.
2990 * Drosera/ForwardingHeaders/wtf: Added.
2991 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
2993 * Drosera/console.html:
2994 * Drosera/console.js:
2995 * Drosera/debugger.js:
2996 * Drosera/mac/DebuggerApplication.mm:
2997 (-[DebuggerApplication attach:]):
2998 * Drosera/mac/DebuggerDocumentMac.h:
2999 * Drosera/mac/DebuggerDocumentMac.mm:
3000 (+[NSString stringOrNilFromWebScriptResult:]):
3001 (+[DebuggerClientMac log:]):
3002 (-[DebuggerClientMac initWithServerName:]):
3003 (-[DebuggerClientMac dealloc]):
3004 (-[DebuggerClientMac pause]):
3005 (-[DebuggerClientMac resume]):
3006 (-[DebuggerClientMac pause:]):
3007 (-[DebuggerClientMac resume:]):
3008 (-[DebuggerClientMac stepInto:]):
3009 (-[DebuggerClientMac stepOver:]):
3010 (-[DebuggerClientMac stepOut:]):
3011 (-[DebuggerClientMac showConsole:]):
3012 (-[DebuggerClientMac closeCurrentFile:]):
3013 (-[DebuggerClientMac validateUserInterfaceItem:]):
3014 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3015 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3016 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3017 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3018 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3019 (DebuggerDocument::platformPause):
3020 (DebuggerDocument::platformResume):
3021 (DebuggerDocument::platformStepInto):
3022 (DebuggerDocument::platformEvaluateScript):
3023 (DebuggerDocument::platformCurrentFunctionStack):
3024 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3025 (DebuggerDocument::platformValueForScopeVariableNamed):
3026 (DebuggerDocument::platformLog):
3027 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3029 2007-09-06 Sam Weinig <sam@webkit.org>
3031 Reviewed by Adam Roben.
3033 Register the WebKit DLL on initialization of the DumpRenderTree.
3035 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3038 2007-09-05 Sam Weinig <sam@webkit.org>
3042 Fix many layout test failures caused by r25364.
3043 Set text size to standand size at the begining of each test matching the mac.
3045 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3048 2007-09-04 Sam Weinig <sam@webkit.org>
3052 Fix for <rdar://problem/5382277>
3053 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3055 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3056 (textZoomInCallback):
3057 (textZoomOutCallback):
3059 2007-08-29 David Kilzer <ddkilzer@apple.com>
3063 Added case-insensitivity to checks for adding regression tests.
3065 * Scripts/prepare-ChangeLog:
3068 2007-08-28 David Kilzer <ddkilzer@apple.com>
3072 Ignore files in /resources/ subdirectories when creating a list of added tests.
3074 * Scripts/prepare-ChangeLog:
3077 2007-08-27 Kevin McCullough <kmccullough@apple.com>
3081 - Removed Leopard leaks list since all of those radars were fixed.
3083 * Scripts/run-webkit-tests:
3085 2007-08-27 Adam Roben <aroben@apple.com>
3087 Rubberstamped by Mark.
3089 * Scripts/pdevenv: Pass arguments along to devenv.com.
3091 2007-08-26 David Kilzer <ddkilzer@webkit.org>
3093 Reviewed by Mark Rowe.
3095 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3097 * Scripts/prepare-ChangeLog:
3098 (changeLogDate): Added.
3100 2007-08-24 Sam Weinig <sam@webkit.org>
3102 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3104 2007-08-24 Sam Weinig <sam@webkit.org>
3106 Rubber-stamped by Adam Roben.
3108 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3110 Rename COM DOM bindings to use Deprecated prefix.
3112 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3115 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
3118 (EditingDelegate::shouldBeginEditingInDOMRange):
3119 (EditingDelegate::shouldEndEditingInDOMRange):
3120 (EditingDelegate::shouldInsertNode):
3121 (EditingDelegate::shouldInsertText):
3122 (EditingDelegate::shouldDeleteDOMRange):
3123 (EditingDelegate::shouldChangeSelectedDOMRange):
3124 (EditingDelegate::shouldApplyStyle):
3125 (EditingDelegate::shouldChangeTypingStyle):
3126 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
3128 2007-08-24 Oliver Hunt <oliver@apple.com>
3132 WebDataSource::response can legitimately have a null response, so we
3133 must check that case.
3135 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3136 (queueLoadCallback):
3138 2007-08-23 Mitz Pettel <mitz@webkit.org>
3140 Reviewed by Darin and Adam.
3142 - DumpRenderTree changes to allow testing for
3143 http://bugs.webkit.org/show_bug.cgi?id=11756
3144 REGRESSION: link targeting a frame in another window does not work
3145 <rdar://problem/5286420>
3147 Use a frame group name for all WebViews created by DumpRenderTree to
3148 allow testing of cross-page frame lookup.
3150 * DumpRenderTree/DumpRenderTree.m:
3151 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
3152 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3153 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
3155 2007-08-23 David Kilzer <ddkilzer@webkit.org>
3159 Quote the $sslCertificate path in case it contains a space.
3161 * Scripts/run-webkit-httpd:
3162 * Scripts/run-webkit-tests:
3164 2007-08-22 Oliver Hunt <oliver@apple.com>
3166 Reviewed by John and Adam.
3168 WebDataSource::response can legitimately have a null response, so we
3169 must check that case.
3171 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3174 2007-08-21 Kevin McCullough <kmccullough@apple.com>
3178 - Changing the usage to be more clear.
3180 * Scripts/run-testkjs:
3182 2007-08-20 John Sullivan <sullivan@apple.com>
3184 Reviewed by Adam Roben
3186 * DumpRenderTree/DumpRenderTree.m:
3188 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
3189 in layout tests on Tiger and Leopard
3191 2007-08-20 Adam Roben <aroben@apple.com>
3193 Put LayoutTests after all other ChangeLogs in commit logs
3195 We use "~" to sort LayoutTests after all the other ChangeLogs because
3196 "~" is the last ASCII character (other than "DEL").
3200 * Scripts/commit-log-editor:
3202 2007-08-20 Adam Roben <aroben@apple.com>
3204 Detect that DRT crashed even if a crash dialog is running
3206 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
3207 process is still running at this point, so run-webkit-tests wouldn't
3208 detect that DRT had crashed. We now record the crash in our SIGPIPE
3209 handler so that we know if DRT crashed even if the crash dialog is up.
3213 * Scripts/run-webkit-tests:
3214 (sub catch_pipe): Set the crashed bit.
3215 (sub openDumpTool): Reset the crashed bit.
3216 (sub dumpToolDidCrash): Check the crashed bit.
3218 2007-08-20 Adam Roben <aroben@apple.com>
3220 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
3222 http://bugs.webkit.org/show_bug.cgi?id=15026
3224 Reviewed by David Kilzer and Darin Adler.
3226 * Scripts/prepare-ChangeLog:
3227 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
3228 (sub isAddedStatus): Ditto.
3229 (sub testListForChangeLog): Added.
3231 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
3235 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
3237 * Scripts/webkitdirs.pm:
3238 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
3240 2007-08-17 Darin Adler <darin@apple.com>
3242 Reviewed by Oliver Hunt.
3244 - don't look for Apple-style localizable strings in the GTK version of WebKit
3246 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
3247 name of subdirectories to skip.
3248 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
3251 2007-08-17 Anders Carlsson <andersca@apple.com>
3255 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3258 2007-08-17 Anders Carlsson <andersca@apple.com>
3260 Reviewed by Dave Hyatt.
3262 <rdar://problem/5379040>
3263 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
3265 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
3267 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3269 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3270 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3274 2007-08-16 Alice Liu <alice.liu@apple.com>
3278 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
3280 * DumpRenderTree/DumpRenderTree.m:
3282 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
3284 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
3286 2007-08-16 Kevin McCullough <kmccullough@apple.com>
3290 - 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.
3292 * Scripts/run-webkit-tests:
3294 2007-08-15 Timothy Hatcher <timothy@apple.com>
3296 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
3297 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
3299 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
3300 this prevents making "build" directories in each project folder.
3302 * Scripts/webkitdirs.pm:
3304 2007-08-14 Geoffrey Garen <ggaren@apple.com>
3306 Reviewed by Kevin Mccullough.
3308 Removed special case that didn't belong. (It would allow a global
3309 initializer to sneak into production builds, which would cause a
3310 system-wide performance regression on Mac OS X.)
3312 * Scripts/check-for-global-initializers:
3314 2007-08-14 Justin Garcia <justin.garcia@apple.com>
3318 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
3320 * DumpRenderTree/EditingDelegate.m:
3321 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
3322 only for elements with the class needsDeletionUI.
3324 2007-08-14 David Kilzer <ddkilzer@webkit.org>
3328 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
3329 svn-create-patch uses deprecated tail switch
3331 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
3333 2007-08-13 Sam Weinig <sam@webkit.org>
3335 Reviewed by Adam Roben.
3337 Use the cygwin specific Apache config file under cygwin.
3339 * Scripts/run-webkit-httpd:
3341 2007-08-12 Adam Roben <aroben@apple.com>
3343 Generate results for new tests in a more logical location
3345 New platform-specific tests always have their results generated right
3346 next to the test. New cross-platform tests will have their results
3347 generated a) in the cross-platform directory, if they are text-only,
3348 or b) in the least-specific platform directory, if they are render
3353 * Scripts/run-webkit-tests:
3355 2007-08-12 Adam Roben <aroben@apple.com>
3357 Print the actual directory where new results are generated.
3359 Before, we were printing an unpredictable, context-specific substring
3364 * Scripts/run-webkit-tests:
3366 2007-08-12 Adam Roben <aroben@apple.com>
3368 Factor some common code into a stripExtension() subroutine.
3372 * Scripts/run-webkit-tests: Also removed some debugging output.
3374 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
3376 Reviewed over and over and over by Adam Roben.
3378 Bug 14740: Hierarchical layout tests and platform organization
3379 http://bugs.webkit.org/show_bug.cgi?id=14740
3381 Add support for platform-specific layout tests and results.
3383 * Scripts/run-webkit-tests:
3385 2007-08-11 David Kilzer <ddkilzer@webkit.org>
3389 Refactored svn-create-path to use a hash-of-hashes data structure to keep
3390 track of changed files. In the top level hash, keys are paths to files and
3391 values are 'fileData' hashes with the following keys and values:
3393 - isBinary: boolean value (set to true for non-text files like images, etc.)
3394 - isTestFile: boolean value (set to true if file exists within a known test
3396 - modificationType: string equal to one of 'addition', 'additionWithHistory',
3397 'modification' or 'deletion'
3398 - path: string equal to the path to the file (this may seem redundant, but it
3399 is required to use the second-level 'fileData' hash independent of the
3401 - sourceFile: [optional] string equal to the path of the original file that was
3403 - sourceRevision: [optional] string equal to the revision of the original file
3404 that was copied or moved
3406 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3407 that saves the return value in $result, then checks it before printing help.
3408 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3409 and eliminated two for() loops.
3410 (binarycmp): Added. Used with sort() to order non-binary files before binary
3412 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
3413 (findMimeType): Added optional second argument that takes a revision number.
3414 (generateDiff): Updated to take one fileData argument instead of three ($file,
3415 $modificationType, $isBinary).
3416 (generateFileList): Updated to take one hash ref argument (%diffFiles)
3417 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
3418 %diffFiles using paths for keys and fileData hashes for values.
3419 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3421 (pathcmp): Updated to take two fileData arguments instead of two strings.
3422 (testfilecmp): Added. Used with sort() to order non-test files before test
3425 2007-08-11 Darin Adler <darin@apple.com>
3427 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3429 2007-08-06 Nigel Tao <nigeltao@gnome.org>
3431 Reviewed by David Kilzer.
3433 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3434 http://bugs.webkit.org/show_bug.cgi?id=14745
3436 * Scripts/run-launcher:
3437 Scrub the "--gdk" out of the command line args, if given, so that
3438 GdkLauncher doesn't try to interpret it as a URL.
3440 2007-08-03 Adam Roben <aroben@apple.com>
3442 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3446 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3448 2007-08-03 Sam Weinig <sam@webkit.org>
3452 Recursively dump all frames as text using new
3453 layoutTestController.dumpChildFramesAsText() function.
3455 * DumpRenderTree/DumpRenderTree.m:
3458 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3459 (-[LayoutTestController dumpChildFramesAsText]):
3461 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3465 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3466 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3467 (dumpChildFramesAsTextCallback):
3468 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3470 2007-08-02 Adam Roben <aroben@apple.com>
3472 Fix fast/dom/Window/alert-undefined.html
3476 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3477 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3478 Windows translate a null BSTR into "(null)"
3480 2007-08-02 Kevin McCullough <kmccullough@apple.com>
3484 - It would help if I actually called the right function.
3486 * Drosera/DebuggerDocument.cpp:
3487 (DebuggerDocument::showConsole):
3489 2007-08-02 Adam Roben <aroben@apple.com>
3491 Don't delete the stderr file right after creating it
3493 * Scripts/run-webkit-tests:
3495 2007-08-01 Adam Roben <aroben@apple.com>
3497 When DRT crashes, record stderr and restart DRT
3499 This prevents a DRT crash from causing the next few hundred tests to
3500 "fail" because DRT is no longer running.
3502 I also changed the terminology that run-webkit-tests uses in its
3503 output a bit, so that crashing tests are referred to as "crashes"
3504 instead of "failures".
3508 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3510 (sub openDumpTool): Use open3 so that we can access stderr.
3511 (sub dumpToolCrashed): Added.
3512 (sub printFailureMessageForTest): Added.
3513 (sub htmlForExpectedAndActualResults): Added.
3514 (sub deleteExpectedAndActualResults): Added.
3515 (sub recordActualResultsAndDiff): Added.
3517 2007-07-30 Darin Adler <darin@apple.com>
3519 Reviewed by Tim Hatcher.
3521 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3522 characters. This turned out not to be needed for the test case that motivated me to
3523 do it, but it's nice to have this for the future.
3525 2007-07-30 Simon Hausmann <hausmann@kde.org>
3529 Link QtLauncher into $$OUTPUT_DIR/bin
3531 * Scripts/run-launcher:
3533 2007-07-27 David Kilzer <ddkilzer@apple.com>
3535 Reviewed by Geoff and Darin.
3537 Use a subroutine for validating the --skipped switch.
3539 * Scripts/run-webkit-tests:
3541 2007-07-27 Darin Adler <darin@apple.com>
3545 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3547 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3551 Correct the path of GdkLauncher and make checkFrameworks work on OSX
3552 when building the Qt or Gtk+ port.
3554 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3555 * Scripts/run-launcher:
3556 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3558 2007-07-27 Simon Hausmann <hausmann@kde.org>
3560 Done with and reviewed by Lars and Zack.
3562 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.
3564 * Scripts/webkitdirs.pm:
3566 2007-07-27 Simon Hausmann <hausmann@kde.org>
3568 Done with and reviewed by Lars and Zack.
3570 For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
3572 * Scripts/webkitdirs.pm:
3574 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3576 Reviewed by Darin, Geoff, Sam.
3578 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
3580 - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
3582 * DumpRenderTree/UIDelegate.h:
3583 * DumpRenderTree/UIDelegate.m:
3584 (-[UIDelegate webView:setFrame:]):
3585 (-[UIDelegate webViewFrame:]):
3587 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3591 - Lars wanted this check for Qt but it breaks platform specific layout tests.
3593 * Scripts/run-webkit-tests:
3595 2007-07-25 Kevin McCullough <kmccullough@apple.com>
3597 Reviewed by Tim, Darin, Oliver.
3599 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
3600 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
3603 * DumpRenderTree/DumpRenderTree.m:
3606 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3607 (+[LayoutTestController webScriptNameForSelector:]):
3608 (-[LayoutTestController setCustomPolicyDelegate:]):
3609 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3610 * DumpRenderTree/FrameLoadDelegate.h:
3611 * DumpRenderTree/PolicyDelegate.h: Added.
3612 * DumpRenderTree/PolicyDelegate.m: Added.
3613 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3614 * DumpRenderTree/ResourceLoadDelegate.h:
3616 2007-07-25 Adam Treat <treat@kde.org>
3620 Fix build for some reported systems.
3622 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3624 2007-07-23 Adam Treat <treat@kde.org>
3626 Reviewed by Nikolas.
3628 Fix qt DRT to suppress js popup alerts and log instead.
3630 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3631 (WebCore::WebPage::javaScriptAlert):
3633 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
3637 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
3638 honor --qmakearg for the Gdk/Gtk build as well.
3640 * GdkLauncher/main.cpp: Switch to the new API
3641 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
3643 2007-07-22 Darin Adler <darin@apple.com>
3645 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
3646 Fix a leak by releasing the array used here.
3648 2007-07-22 David Kilzer <ddkilzer@webkit.org>
3652 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
3653 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
3655 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
3656 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
3658 * Scripts/update-iexploder-cssproperties: Added.
3659 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
3660 Added new CSS3 property section and Moved box-sizing property to it.
3662 2007-07-22 Oliver Hunt <oliver@apple.com>
3666 http://bugs.webkit.org/show_bug.cgi?id=14710
3668 Add preliminary support for testing Input Method/WebKit behaviour and interaction
3669 in DRT. This provides the NSTextInput API which is most of what should be necessary
3670 to mimic the event sequences Input Methods trigger.
3672 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3673 * DumpRenderTree/TextInputController.h:
3674 * DumpRenderTree/TextInputController.m:
3675 (-[WebHTMLView interpretKeyEvents:]):
3676 (+[TextInputController isSelectorExcludedFromWebScript:]):
3677 (+[TextInputController webScriptNameForSelector:]):
3678 (-[TextInputController initWithWebView:]):
3679 (-[TextInputController dealloc]):
3680 (-[TextInputController textInput]):
3681 (-[TextInputController setInputMethodHandler:]):
3682 (-[TextInputController interpretKeyEvents:withSender:]):
3684 2007-07-20 Adam Roben <aroben@apple.com>
3686 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
3687 message not count as an existing log.
3689 2007-07-19 Geoffrey Garen <ggaren@apple.com>
3691 Reviewed by Darin Adler.
3693 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
3694 value behavior of stringByEvaluatingJavaScriptFromString
3696 * DumpRenderTree/DumpRenderTree.m:
3697 (testStringByEvaluatingJavaScriptFromString):
3698 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3700 2007-07-19 Adam Roben <aroben@apple.com>
3702 Make commit-log-editor work with git
3706 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
3707 commit message template. Also removed the unused $breakPoint variable.
3709 2007-07-19 Adam Roben <aroben@apple.com>
3711 Move generally-useful VCS code into a new VCSUtils.pm module
3713 This is in preparation for making commit-log-editor git-friendly.
3717 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
3718 * Scripts/prepare-ChangeLog: Use VCSUtils.
3720 2007-07-19 Lars Knoll <lars@trolltech.com>
3722 Fix a crash on exit when running DRT against a current
3727 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3730 2007-07-18 Adam Roben <aroben@apple.com>
3732 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
3736 * Scripts/run-webkit-httpd:
3737 * Scripts/run-webkit-tests:
3739 2007-07-18 Adam Roben <aroben@apple.com>
3741 More git friendliness for prepare-ChangeLog
3743 The overall change is to remove the use of git-status and replace it
3744 with git-diff --name-status (which we were already using in the
3747 This lets us respect directories specified on the command line when
3748 using git, just as we do for Subversion. It also speeds things up a
3749 bit, especially in the subdirectory case, as git-status is pretty slow.
3751 I also fixed some issues where we wouldn't detect copied files and
3752 would reverse the new filename and the original filename for renamed files.
3756 * Scripts/prepare-ChangeLog:
3757 (sub diffFromToString): Added.
3758 (sub diffCommand): Don't append the paths in the --git-commit case, as
3759 we should be operating on the entire commit.
3760 (sub statusCommand): Always use git-diff --name-status, and added an
3761 extra -C option to git-diff to make it find a few more copied files.
3762 (sub createPatchCommand): Collapsed the two git cases a bit, and added
3763 the extra -C option as above.
3764 (sub generateFileList): Remove the git-status codepath, and recognize
3765 file copies in the --name-status output.
3766 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3768 (sub isConflictStatus): Updated the git dictionary.
3769 (sub statusDescription): Updated the git dictionary.
3771 2007-07-18 Timothy Hatcher <timothy@apple.com>
3773 * Scripts/build-drosera: Update where we look for the Xcode project.
3775 2007-07-18 Adam Treat <treat@kde.org>
3779 Use the old wording for Safari.
3781 * Scripts/build-webkit:
3782 * Scripts/webkitdirs.pm:
3784 2007-07-18 Adam Treat <treat@kde.org>
3788 Add convenience script for launching test apps for Qt and Gdk ports.
3789 Change the build-webkit script accordingly.
3791 * Scripts/build-webkit:
3792 * Scripts/run-launcher: Added.
3793 * Scripts/webkitdirs.pm:
3795 2007-07-18 Timothy Hatcher <timothy@apple.com>
3799 Make the Page with the now required InspectorClient.
3801 * GdkLauncher/main.cpp:
3804 2007-07-18 Timothy Hatcher <timothy@apple.com>
3806 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
3807 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
3809 * Drosera/Makefile: Added.
3810 * Drosera/mac/Makefile:
3811 * DumpRenderTree/Makefile:
3813 * Makefile.Drosera: Removed.
3814 * Makefile.shared: Removed.
3816 2007-07-18 Timothy Hatcher <timothy@apple.com>
3818 The console log was 20px down from the top for no reason, move it up.
3820 * Drosera/console.css:
3822 2007-07-18 Timothy Hatcher <timothy@apple.com>
3824 Use contentDocument to get the source view's iframe document.
3825 Also adds a null/undefined check for localVariableNames.
3827 * Drosera/debugger.js:
3829 2007-07-18 Lars Knoll <lars@trolltech.com>
3831 We really don't want to compare non text only tests to the
3832 Mac results if we don't have a result for Qt, as this would
3833 give a failure and not a notification that the test is new.
3837 * Scripts/run-webkit-tests:
3839 2007-07-18 Lars Knoll <lars@trolltech.com>
3841 Reviewed by Zack & Simon
3843 Adjust to changed API in QWebFrame
3845 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3846 (WebCore::DumpRenderTree::DumpRenderTree):
3848 2007-07-18 Mark Rowe <mrowe@apple.com>
3850 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
3852 * BuildSlaveSupport/build-launcher-app:
3854 2007-07-17 Geoffrey Garen <ggaren@apple.com>
3856 Reviewed by Antti Koivisto.
3858 Added watchdog timer to waitUntilDone to prevent a run-away test from
3859 hanging the test harness.
3861 * DumpRenderTree/DumpRenderTree.m:
3863 (-[LayoutTestController waitUntilDone]):
3864 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3865 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3867 2007-07-17 Kevin McCullough <kmccullough@apple.com>
3871 - Implemented cross-platform code for functions calling into the JavaScript.
3873 * Drosera/DebuggerDocument.cpp:
3874 (DebuggerDocument::callAsFunction):
3875 (DebuggerDocument::pauseJS):
3876 (DebuggerDocument::resumeJS):
3877 (DebuggerDocument::stepIntoJS):
3878 (DebuggerDocument::stepOverJS):
3879 (DebuggerDocument::stepOutJS):
3880 (DebuggerDocument::showConsoleJS):
3881 (DebuggerDocument::closeCurrentFileJS):
3882 (DebuggerDocument::updateFileSource):
3883 (DebuggerDocument::didParseScript):
3884 (DebuggerDocument::willExecuteStatement):
3885 (DebuggerDocument::didEnterCallFrame):
3886 (DebuggerDocument::willLeaveCallFrame):
3887 (DebuggerDocument::exceptionWasRaised):
3888 * Drosera/DebuggerDocument.h:
3889 * Drosera/mac/DebuggerDocumentMac.mm:
3890 (-[DebuggerDocumentMac pause:]):
3891 (-[DebuggerDocumentMac resume:]):
3892 (-[DebuggerDocumentMac stepInto:]):
3893 (-[DebuggerDocumentMac stepOver:]):
3894 (-[DebuggerDocumentMac stepOut:]):
3895 (-[DebuggerDocumentMac showConsole:]):
3896 (-[DebuggerDocumentMac closeCurrentFile:]):
3897 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
3898 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3899 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3900 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3901 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3902 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3904 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3908 - Continued x-platform modifications.
3910 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
3911 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
3912 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
3913 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
3914 * Drosera/win/Drosera.cpp:
3915 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3916 * Drosera/win/stdafx.cpp: Removed.
3917 * Drosera/win/stdafx.h: Removed.
3919 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3923 - Modified files to use cross-platform code.
3925 * Drosera/DebuggerDocument.cpp: Added.
3926 (DebuggerDocument::breakpointEditorHTML):
3927 (DebuggerDocument::isPaused):
3928 (DebuggerDocument::pause):
3929 (DebuggerDocument::resume):
3930 (DebuggerDocument::stepInto):
3931 (DebuggerDocument::evaluateScript):
3932 (DebuggerDocument::currentFunctionStack):
3933 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3934 (DebuggerDocument::valueForScopeVariableNamed):
3935 * Drosera/DebuggerDocument.h: Added.
3936 (DebuggerDocument::DebuggerDocument):
3937 * Drosera/config.h: Added.
3938 * Drosera/mac/DebuggerApplication.mm:
3939 (-[DebuggerApplication attach:]):
3940 * Drosera/mac/DebuggerDocument.h: Removed.
3941 * Drosera/mac/DebuggerDocument.mm: Removed.
3942 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
3943 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
3944 (-[DebuggerDocumentMac initWithServerName:]):
3945 (-[DebuggerDocumentMac dealloc]):
3946 (-[DebuggerDocumentMac breakpointEditorHTML]):
3947 (-[DebuggerDocumentMac isPaused]):
3948 (-[DebuggerDocumentMac pause]):
3949 (-[DebuggerDocumentMac resume]):
3950 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3951 * Drosera/win/DebuggerApplication.cpp:
3952 * Drosera/win/DebuggerObjectCallbacks.cpp:
3953 (breakpointEditorHTMLCallback):
3954 (currentFunctionStackCallback):
3955 (evaluateScript_inCallFrame_Callback):
3957 (localScopeVariableNamesForCallFrame_Callback):
3961 (valueForScopeVariableNamed_inCallFrame_Callback):
3963 * Drosera/win/Drosera.cpp:
3964 * Drosera/win/DroseraPrefix.cpp: Added.
3965 * Drosera/win/DroseraPrefix.h: Added.
3967 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3969 Reviewed by Adam, Sam and Tim.
3971 - Moving files to prepare for cross-platform architecture.
3973 * Drosera/DebuggerApplication.h: Removed.
3974 * Drosera/DebuggerApplication.m: Removed.
3975 * Drosera/DebuggerDocument.h: Removed.
3976 * Drosera/DebuggerDocument.m: Removed.
3977 * Drosera/Drosera.pch: Removed.
3978 * Drosera/Drosera.xcodeproj: Removed.
3979 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
3980 * Drosera/Info.plist: Removed.
3981 * Drosera/LauncherInfo.plist: Removed.
3982 * Drosera/Makefile: Removed.
3983 * Drosera/launcher.m: Removed.
3984 * Drosera/mac: Added.
3985 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
3986 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
3987 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
3988 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
3989 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
3990 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
3991 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3992 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
3993 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
3994 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
3995 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
3996 * Drosera/mac/main.m: Copied from Drosera/main.m.
3997 * Drosera/main.m: Removed.
3999 * Makefile.Drosera: Added.
4001 2007-07-15 Mark Rowe <mrowe@apple.com>
4003 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
4005 2007-07-13 Sam Weinig <sam@webkit.org>
4007 Reviewed by Geoff Garen.
4009 Add support for running SSL tests over HTTPS.
4011 * DumpRenderTree/DumpRenderTree.m:
4013 * DumpRenderTree/FrameLoadDelegate.m:
4014 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
4015 * Scripts/run-webkit-httpd:
4016 * Scripts/run-webkit-tests:
4018 2007-07-13 David Kilzer <ddkilzer@apple.com>
4022 Added support for -h|--help argument and verify that all command line arguments parse
4025 * Scripts/run-webkit-httpd:
4027 2007-07-12 Mark Rowe <mrowe@apple.com>
4031 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
4033 * Scripts/run-webkit-tests:
4035 2007-07-12 Geoffrey Garen <ggaren@apple.com>
4037 Reviewed by Oliver Hunt.
4039 Made the leaks tests pass on Leopard.
4041 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
4042 * Scripts/run-leaks: Updated parser for slight change in text output.
4044 2007-07-11 David Kilzer <ddkilzer@apple.com>
4048 Update the iExploder list of CSS properties after box-sizing was renamed to
4049 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
4051 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
4052 -moz-box-sizing remain.
4054 2007-07-10 Darin Adler <darin@apple.com>
4056 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
4057 Foundation's multipart/mixed-replace support -- I already verified that
4058 the bug has been fixed.
4060 2007-07-10 Alice Liu <alice.liu@apple.com>
4062 rubber stamped by Maciej.
4064 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
4066 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
4067 (initializePreferences):
4068 set editable link behavior to match Mac DRT.
4070 2007-07-10 Geoffrey Garen <ggaren@apple.com>
4072 Reviewed by Tim Hatcher.
4074 Ignore Page.o in debug builds because it now has a static PageCounter
4077 * Scripts/check-for-global-initializers:
4079 2007-07-09 Darin Adler <darin@apple.com>
4081 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
4083 2007-07-09 Alice Liu <alice.liu@apple.com>
4085 Reviewed by Adam Roben.
4087 setting DOM Paste Allowed Pref
4089 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
4090 (initializePreferences):
4092 2007-07-05 Kevin McCullough <kmccullough@apple.com>
4094 Reviewed by Adam, Sam, and Ada.
4096 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
4098 * Drosera/Images/Drosera.ico: Added.
4099 * Drosera/Images/small.ico: Added.
4100 * Drosera/win: Added.
4101 * Drosera/win/BaseDelegate.h: Added.
4102 (BaseDelegate::QueryInterface):
4103 (BaseDelegate::didFinishLoadForFrame):
4104 (BaseDelegate::windowScriptObjectAvailable):
4105 (BaseDelegate::didStartProvisionalLoadForFrame):
4106 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
4107 (BaseDelegate::didFailProvisionalLoadWithError):
4108 (BaseDelegate::didCommitLoadForFrame):
4109 (BaseDelegate::didReceiveTitle):
4110 (BaseDelegate::didReceiveIcon):
4111 (BaseDelegate::didFailLoadWithError):
4112 (BaseDelegate::didChangeLocationWithinPageForFrame):
4113 (BaseDelegate::willPerformClientRedirectToURL):
4114 (BaseDelegate::didCancelClientRedirectForFrame):
4115 (BaseDelegate::willCloseFrame):
4116 (BaseDelegate::createWebViewWithRequest):
4117 (BaseDelegate::webViewShow):
4118 (BaseDelegate::webViewClose):
4119 (BaseDelegate::webViewFocus):
4120 (BaseDelegate::webViewUnfocus):
4121 (BaseDelegate::webViewFirstResponder):
4122 (BaseDelegate::makeFirstResponder):
4123 (BaseDelegate::setStatusText):
4124 (BaseDelegate::webViewStatusText):
4125 (BaseDelegate::webViewAreToolbarsVisible):
4126 (BaseDelegate::setToolbarsVisible):
4127 (BaseDelegate::webViewIsStatusBarVisible):
4128 (BaseDelegate::setStatusBarVisible):
4129 (BaseDelegate::webViewIsResizable):
4130 (BaseDelegate::setResizable):
4131 (BaseDelegate::setFrame):
4132 (BaseDelegate::webViewFrame):
4133 (BaseDelegate::setContentRect):
4134 (BaseDelegate::webViewContentRect):
4135 (BaseDelegate::runJavaScriptAlertPanelWithMessage):
4136 (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
4137 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
4138 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
4139 (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
4140 (BaseDelegate::mouseDidMoveOverElement):
4141 (BaseDelegate::contextMenuItemsForElement):
4142 (BaseDelegate::validateUserInterfaceItem):
4143 (BaseDelegate::shouldPerformAction):
4144 (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
4145 (BaseDelegate::willPerformDragDestinationAction):
4146 (BaseDelegate::dragSourceActionMaskForPoint):
4147 (BaseDelegate::willPerformDragSourceAction):
4148 (BaseDelegate::contextMenuItemSelected):
4149 (BaseDelegate::hasCustomMenuImplementation):
4150 (BaseDelegate::trackCustomPopupMenu):
4151 (BaseDelegate::measureCustomMenuItem):
4152 (BaseDelegate::drawCustomMenuItem):
4153 (BaseDelegate::addCustomMenuDrawingData):
4154 (BaseDelegate::cleanUpCustomMenuDrawingData):
4155 (BaseDelegate::canTakeFocus):
4156 (BaseDelegate::takeFocus):
4157 (BaseDelegate::registerUndoWithTarget):
4158 (BaseDelegate::removeAllActionsWithTarget):
4159 (BaseDelegate::setActionTitle):
4160 (BaseDelegate::undo):
4161 (BaseDelegate::redo):
4162 (BaseDelegate::canUndo):
4163 (BaseDelegate::canRedo):
4164 * Drosera/win/DebuggerApplication.cpp: Added.
4165 (DebuggerApplication::serverLoaded):
4166 (DebuggerApplication::serverUnloaded):
4167 (DebuggerApplication::attach):
4168 (DebuggerApplication::numberOfRowsInTableView):
4169 (DebuggerApplication::tableView):
4170 * Drosera/win/DebuggerApplication.h: Added.
4171 (DebuggerApplication::DebuggerApplication):
4172 (DebuggerApplication::knownServers):
4173 * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
4174 (breakpointEditorHTMLCallback):
4175 (currentFunctionStackCallback):
4176 (doubleClickMillisecondsCallback):
4177 (evaluateScript_inCallFrame_Callback):
4179 (localScopeVariableNamesForCallFrame_Callback):
4183 (valueForScopeVariableNamed_inCallFrame_Callback):
4185 * Drosera/win/DebuggerObjectCallbacks.h: Added.
4186 * Drosera/win/Drosera.cpp: Added.
4188 (RegisterDroseraClass):