1 2007-10-30 Kevin McCullough <kmccullough@apple.com>
5 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
6 functionality that could not have existed previously without the new
8 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
9 from a BSTR to a JSValueRef.
10 (DebuggerDocument::platformEvaluateScript): Implemented.
11 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
12 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
14 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
15 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
16 * Drosera/win/ServerConnection.cpp: Added a helper function.
17 (ServerConnection::getCallerFrame):
18 * Drosera/win/ServerConnection.h: Added a helper function.
21 2007-10-29 Kevin McCullough <kmccullough@apple.com>
23 updated reviewers for my previous changelog.
25 2007-10-29 Kevin McCullough <kmccullough@apple.com>
26 Reviewed by Maciej and Adam and Geoff.
28 - Minor mac-side improvements including moving a function to a more
29 appropriate location, fixing a warning, and correctly checking
32 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
33 (DebuggerDocument::willExecuteStatement):
34 (DebuggerDocument::didEnterCallFrame):
35 (DebuggerDocument::willLeaveCallFrame):
36 (DebuggerDocument::windowScriptObjectAvailable):
37 (DebuggerDocument::callFunctionOnObject):
38 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
39 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
40 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
41 because it doesn't require the ServerConnection at all.
42 (NSStringCreateWithJSStringRef): Made an argument const.
43 (JSValueRefCreateWithNSString): Made an argument const.
44 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
45 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
46 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
47 * Drosera/mac/ServerConnection.mm: Ditto.
48 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
50 2007-10-29 Sam Weinig <sam@webkit.org>
52 Reviewed by Adam Roben.
54 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
56 * DumpRenderTree/LayoutTestController.cpp:
57 (LayoutTestController::LayoutTestController):
58 (getGlobalFlagCallback):
59 (setGlobalFlagCallback):
60 (LayoutTestController::getJSClass):
61 (LayoutTestController::staticValues):
62 * DumpRenderTree/LayoutTestController.h:
63 (LayoutTestController::globalFlag):
64 (LayoutTestController::setGlobalFlag):
66 2007-10-29 Darin Adler <darin@apple.com>
70 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
71 resolution instead of its default.
73 2007-10-29 David Kilzer <ddkilzer@webkit.org>
75 Fixed showStatus() to print status for successfully resolved conflicts when using git.
77 Reviewed by Mark Rowe.
79 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
80 was successfully resolved, but this would not show any status because the change had
81 already been cached in the index using "git add". The solution is to add an optional
82 second argument to showStatus() which adds the "--cached" switch to the command.
84 * Scripts/resolve-ChangeLogs:
87 2007-10-28 Eric Seidel <eric@webkit.org>
89 Reviewed by Maciej and Geoff, in unison.
91 * Scripts/run-webkit-tests: remove broken --svg option
93 2007-10-28 Darin Adler <darin@apple.com>
97 * Scripts/run-sunspider: Default to "Release" configuration rather than
98 defaulting to the last configuration used as other scripts do. This can
99 still be overriden on the command line with "--debug" if there's some
100 reason to do so. Also fix a typo.
102 * Scripts/sunspider-compare-results: Fix a typo.
104 2007-10-26 Kevin McCullough <kmccullough@apple.com>
108 - Implemented the WebScriptDebugListener functions now that the
109 WebScriptDebugServer exists
111 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
113 (ServerConnection::currentFrame):
114 (ServerConnection::didLoadMainResourceForDataSource):
115 (ServerConnection::didParseSource):
116 (ServerConnection::failedToParseSource):
117 (ServerConnection::didEnterCallFrame):
118 (ServerConnection::willExecuteStatement):
119 (ServerConnection::willLeaveCallFrame):
120 (ServerConnection::exceptionWasRaised):
121 * Drosera/win/ServerConnection.h: Removed unused arguments from the
122 members arguments list.
124 2007-10-26 David Kilzer <ddkilzer@webkit.org>
126 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
127 <http://bugs.webkit.org/show_bug.cgi?id=15600>
131 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
132 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
133 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
134 file. Note that it may also be used as a stand-alone script.
136 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
137 * Scripts/resolve-ChangeLogs: Added.
138 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
140 2007-10-26 Mark Rowe <mrowe@apple.com>
142 Qt build fix. r27084 added a destructor implementation for LayoutTestController
143 to the Qt port on the assumption that it was an implementation of the cross-platform
144 LayoutTestController class. It is not, so it did not need to be changed.
146 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
148 2007-10-25 Mark Rowe <mrowe@apple.com>
152 Fix builds with code coverage enabled.
154 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
156 2007-10-25 Darin Adler <darin@apple.com>
158 Reviewed by Mark Rowe.
160 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
161 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
163 2007-10-25 Stephanie <slewis@apple.com>
167 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
169 2007-10-25 Stephanie <slewis@apple.com>
171 Reviewed by Mark Rowe, Adam Roben.
173 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
175 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
177 2007-10-25 Alice Liu <alice.liu@apple.com>
181 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
183 Moving destructor into platform-specific files
184 * DumpRenderTree/LayoutTestController.cpp:
185 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
186 (LayoutTestController::~LayoutTestController):
187 * DumpRenderTree/qt/jsobjects.cpp:
188 (LayoutTestController::~LayoutTestController):
190 LayoutTestController wasn't being destroyed
191 * DumpRenderTree/win/DumpRenderTree.cpp:
195 * DumpRenderTree/win/EditingDelegate.h:
197 Reset certain values on the webview (or related delegate) that might
198 have changed while running a test
199 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
200 (LayoutTestController::~LayoutTestController):
202 2007-10-25 Adam Roben <aroben@apple.com>
204 Make sunspider-compare-results work with relative paths
208 * Scripts/sunspider-compare-results: Convert arguments to absolute
209 paths before we chdir.
211 2007-10-25 Kevin McCullough <kmccullough@apple.com>
215 - Implemented server calls now the WebScriptDebugServer exists.
216 - Also removed no longer needed call to initialize CG.
218 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
221 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
222 (ServerConnection::ServerConnection):
223 (ServerConnection::~ServerConnection):
224 (ServerConnection::pause):
225 (ServerConnection::resume):
226 (ServerConnection::stepInto):
227 (ServerConnection::applicationTerminating):
228 (ServerConnection::serverConnectionDidDie):
229 * Drosera/win/ServerConnection.h: Now uses the COM class.
231 2007-10-24 George Staikos <staikos@kde.org>
235 * Scripts/build-webkit:
237 2007-10-24 Adam Roben <aroben@apple.com>
239 Remove now-unnecessary call to InitializeCoreGraphics
241 WebKit takes care of this now.
245 * DumpRenderTree/win/DumpRenderTree.cpp:
248 2007-10-24 Adam Roben <aroben@apple.com>
250 Use WebTextRenderer in DRT
254 * DumpRenderTree/win/DumpRenderTree.cpp:
255 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
257 2007-10-24 Sven Herzberg <sven@imendio.com>
259 Reviewed by Mark Rowe.
261 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
262 Bug 15614: [GTK] qmake based backends don't build on OS X
264 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
266 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
267 isDarwin() to make it reusable in other places (like the workaround-
268 for-prebuilt-qmake in build-webkit)
270 2007-10-24 David Kilzer <ddkilzer@webkit.org>
272 Refurbish update-webkit script.
276 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
277 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
278 multi-argument version of system() for flexibility and security. Check for existence
279 of Internal directory using -d test instead of -x.
281 2007-10-24 David Kilzer <ddkilzer@webkit.org>
283 Minor clean-up of prepare-ChangeLog script.
287 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
288 of a string. Use multi-argument versions of open() and system() for flexibility and
291 2007-10-24 Alice Liu <alice.liu@apple.com>
295 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
297 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
298 replay the saved events when we're still processing the mousedown that starts the drag
299 * DumpRenderTree/win/EventSender.cpp:
301 * DumpRenderTree/win/UIDelegate.cpp:
302 (UIDelegate::doDragDrop):
304 2007-10-24 Kevin McCullough <kmccullough@apple.com>
306 Reviewed by Sam, Steve and Darin.
308 - Stubbed out the WebScriptDebugListener functionality in the Server
309 Connection class to prepare it for receiving those callbacks.
310 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
311 and the ServerConnection to not need to be initialized with a server
312 name, since that is not the way we connect to the WebKit server.
314 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
315 no exception. Now it only loggs when there is an exception
316 (DebuggerDocument::willExecuteStatement):
317 (DebuggerDocument::didEnterCallFrame):
318 (DebuggerDocument::willLeaveCallFrame):
319 (DebuggerDocument::windowScriptObjectAvailable):
320 (DebuggerDocument::callFunctionOnObject):
321 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
322 to be instantiated with a server's name.
323 (DebuggerClient::DebuggerClient):
324 (DebuggerClient::didFinishLoadForFrame):
325 * Drosera/win/DebuggerClient.h: Removed unsued variable.
326 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
329 (Drosera::initServer):
330 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
331 instantiated with a server's name.
332 * Drosera/win/ServerConnection.cpp:
333 (ServerConnection::ServerConnection): No longer needs a server name
334 (ServerConnection::~ServerConnection): Only release the global context
336 (ServerConnection::serverConnectionDidDie): Stub for
337 IWebScriptDebugListener
338 (ServerConnection::QueryInterface): ditto
339 (ServerConnection::AddRef): ditto
340 (ServerConnection::Release): ditto
341 (ServerConnection::didLoadMainResourceForDataSource): ditto
342 (ServerConnection::didParseSource): ditto
343 (ServerConnection::failedToParseSource): ditto
344 (ServerConnection::didEnterCallFrame): ditto
345 (ServerConnection::willExecuteStatement): ditto
346 (ServerConnection::willLeaveCallFrame): ditto
347 (ServerConnection::exceptionWasRaised): ditto
348 * Drosera/win/ServerConnection.h: Stubbed out the
349 IWebScriptDebugListener functions, and this class no longer needs to be
350 instantiated with a server name.
352 2007-10-24 Lars Knoll <lars@trolltech.com>
356 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
358 * DumpRenderTree/qt/jsobjects.h:
360 2007-10-24 Lars Knoll <lars@trolltech.com>
366 * DumpRenderTree/qt/jsobjects.cpp:
367 (TextInputController::doCommand):
369 2007-10-24 Lars Knoll <lars@trolltech.com>
373 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
375 * DumpRenderTree/qt/jsobjects.cpp:
376 (EventSender::keyDown):
377 * DumpRenderTree/qt/jsobjects.h:
379 2007-10-24 Lars Knoll <lars@trolltech.com>
383 implement eventSender.keyDown().
385 * DumpRenderTree/qt/jsobjects.cpp:
386 (EventSender::keyDown):
388 2007-10-24 Lars Knoll <lars@trolltech.com>
392 some smaller fixes to the editing support in DRT. Makes another few tests pass.
394 * DumpRenderTree/qt/DumpRenderTree.cpp:
395 (WebCore::DumpRenderTree::DumpRenderTree):
396 (WebCore::DumpRenderTree::initJSObjects):
397 * DumpRenderTree/qt/jsobjects.cpp:
398 (TextInputController::doCommand):
400 2007-10-24 Lars Knoll <lars@trolltech.com>
404 first bit of implementation for the textinputcontroller.
406 * DumpRenderTree/qt/DumpRenderTree.cpp:
407 (WebCore::DumpRenderTree::DumpRenderTree):
408 * DumpRenderTree/qt/DumpRenderTree.h:
409 * DumpRenderTree/qt/jsobjects.cpp:
410 (TextInputController::TextInputController):
411 (TextInputController::doCommand):
412 * DumpRenderTree/qt/jsobjects.h:
414 2007-10-24 Lars Knoll <lars@trolltech.com>
418 make the man webpage believe it has focus, so the editing tests work correctly.
420 * DumpRenderTree/qt/DumpRenderTree.cpp:
421 (WebCore::DumpRenderTree::DumpRenderTree):
423 2007-10-24 Lars Knoll <lars@trolltech.com>
427 implement layoutTestController.dumpEditingCallbacks() correctly.
429 * DumpRenderTree/qt/DumpRenderTree.cpp:
430 (WebCore::DumpRenderTree::DumpRenderTree):
431 * DumpRenderTree/qt/jsobjects.cpp:
432 (LayoutTestController::reset):
433 (LayoutTestController::dumpEditingCallbacks):
435 2007-10-24 Lars Knoll <lars@trolltech.com>
439 Implement support for testing editing.
441 * DumpRenderTree/qt/DumpRenderTree.cpp:
442 (WebCore::DumpRenderTree::DumpRenderTree):
444 2007-10-23 Sam Weinig <sam@webkit.org>
446 Check for null BSTR that can be passed to the UIDelegate methods
447 from javascript null and undefined. Fixes a failing test case on
448 Windows (fast/dom/Window/alert-undefined.html)
450 Reviewed by Eric Seidel.
452 * DumpRenderTree/win/UIDelegate.cpp:
453 (UIDelegate::runJavaScriptAlertPanelWithMessage):
454 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
455 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
456 (UIDelegate::webViewAddMessageToConsole):
458 2007-10-23 Maciej Stachowiak <mjs@apple.com>
462 Don't print a massive pile of setenvs from tools that automatically build testkjs.
464 * Scripts/build-testkjs:
466 2007-10-23 Maciej Stachowiak <mjs@apple.com>
470 - add wrapper that finds the right copy of testkjs
472 * Scripts/sunspider-compare-results: Added.
474 2007-10-23 Kevin McCullough <kmccullough@apple.com>
478 - After talking with Steve I now see that the WebKit server must be
479 running for DCOM to create the distributed objects, which makes sense
480 and currently WebKit only allows one instance to be running at a time
481 which avoids accidentally connecting to the wrong server
482 - In light of this I have removed the code for the attach box and
483 NotificationServer and known server names, since they are all extranious
486 * Drosera/win/Drosera.cpp: Removed notification classes and known server
488 (_tWinMain): Uses init instead of initUI.
489 (droseraWndProc): No longer creats an attach dialog box.
490 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
491 it's not manditory to call init before doing COM stuff.
492 (Drosera::init): calls initUI and will call attach when the
493 functionality exists.
494 (Drosera::initUI): Has changed very little.
495 (Drosera::attach): Changed the signature to reflect that we no longer
496 need the dictionary of known server names.
497 * Drosera/win/Drosera.h: Removed notification classes and known server
498 names. Also renamed and moved some functions.
499 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
500 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
501 headers to the resources folder.
502 * Drosera/win/resource.h: Removed the Attach box.
504 2007-10-22 Adam Roben <aroben@apple.com>
508 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
510 2007-10-22 Kevin McCullough <kmccullough@apple.com>
512 - Removed a leak that was fixed.
514 * Scripts/run-webkit-tests:
516 2007-10-19 Kevin McCullough <kmccullough@apple.com>
520 - Changed the Client so that the DebuggerDocument now own the
521 ServerConnection. This simplifies ownership and cleanup.
523 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
525 (DebuggerClient::initWithServerName):
526 (DebuggerClient::didFinishLoadForFrame):
527 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
529 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
530 until after we have a server which we are attached to.
533 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
536 2007-10-22 Simon Hausmann <hausmann@kde.org>
540 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
542 * Scripts/run-javascriptcore-tests:
544 2007-10-22 Simon Hausmann <hausmann@kde.org>
548 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.
550 * Scripts/build-drosera:
551 * Scripts/build-dumprendertree:
552 * Scripts/build-testkjs:
553 * Scripts/build-webkit:
554 * Scripts/run-javascriptcore-tests:
555 * Scripts/run-sunspider:
556 * Scripts/run-webkit-tests:
557 * Scripts/webkitdirs.pm:
559 2007-10-22 Andrew Wellington <proton@wiretapped.net>
561 Reviewed by Mark Rowe.
563 Fix for local database support after r26879
564 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
566 * Scripts/build-webkit:
568 2007-10-22 Holger Freyther <zecke@selfish.org>
570 Reviewed by Simon Hausmann <hausmann@kde.org>.
572 - Do not build testkjs as an application bundle. This is
573 needed for run-javascriptcore-tests on OSX.
574 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
575 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
576 as we do not have -rpath on OSX.
578 * DumpRenderTree/qt/DumpRenderTree.pro:
579 * Scripts/run-webkit-tests:
581 2007-10-22 Simon Hausmann <hausmann@kde.org>
585 Fix support for Signed-off-by detection in prepare-ChangeLog
586 --git-commit. The Signed-off-by tag does not appear in the header
587 but usually at the end.
589 * Scripts/prepare-ChangeLog:
591 2007-10-21 Mark Rowe <mrowe@apple.com>
595 Fix run-javascriptcore-tests for Gtk.
597 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
599 2007-10-20 Eric Seidel <eric@webkit.org>
603 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
605 2007-10-20 Eric Seidel <eric@webkit.org>
609 Add improved argument handling to run-sunspider, including
610 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
611 Also re-factor code into subroutines
613 * Scripts/build-dumprendertree: removed bogus comments
614 * Scripts/build-testkjs: Added.
615 * Scripts/run-javascriptcore-tests: use build-testkjs
616 * Scripts/run-sunspider: improved argument handling, abstraction
617 * Scripts/run-webkit-tests: improved abstraction
619 2007-10-20 Matt Lilek <webkit@mattlilek.com>
621 Not reviewed, Windows build fix.
623 * DumpRenderTree/win/EventSender.cpp:
626 2007-10-20 Darin Adler <darin@apple.com>
628 Reviewed by Tim Hatcher.
630 - http://bugs.webkit.org/show_bug.cgi?id=15544
631 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
632 not rely on Apple-specific key codes
634 * DumpRenderTree/mac/EventSendingController.mm:
635 (-[EventSendingController keyDown:withModifiers:]):
636 Added named key "rightArrow". Later we could have a whole table of these.
637 Also tweaked modifiers code a little.
639 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
641 2007-10-19 Darin Adler <darin@apple.com>
645 - http://bugs.webkit.org/show_bug.cgi?id=15566
646 possible fix for leak seen in DumpRenderTree
648 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
649 Delete the item if it's not put on the queue, since the caller has
650 no way of knowing that. Would be better to have the parameter type
651 be auto_ptr to express the fact that we take ownership.
655 * Drosera/mac/main.m: Add missing include.
657 2007-10-19 Kevin McCullough <kmccullough@apple.com>
661 - This change should be identical but for some reason was not working
664 * Scripts/prepare-ChangeLog:
666 2007-10-19 Kevin McCullough <kmccullough@apple.com>
668 Reviewed by Oliver and Tim.
670 - Made use of RetainPtr to avoid retain and release issues and moved the
671 log function to DebuggerDocumentPlatform, which seems to be a more
672 logical place for it to live.
673 - Also moved knownServers from the ServerConnection to
674 DebuggerApplication to match the Windows code and because it makes sense
675 that a connection knows its own server but not all of them.
677 * Drosera/mac/DebuggerClient.h: Moved the log function to
678 DebuggerDocumentPlatform.
679 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
680 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
681 call for the server name up from the ServerConnection class.
682 (-[DebuggerClient dealloc]):
683 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
684 for the server name up from the ServerConnection.
685 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
686 (DebuggerDocument::platformPause):
687 (DebuggerDocument::platformResume):
688 (DebuggerDocument::platformStepInto):
689 (DebuggerDocument::platformEvaluateScript):
690 (DebuggerDocument::getPlatformCurrentFunctionStack):
691 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
692 (DebuggerDocument::platformValueForScopeVariableNamed):
693 (DebuggerDocument::platformLog): Log directly from here. No need to call
695 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
696 way I see it, a ServerConnection should only know about its connection
697 and the group of all possible servers should be kept by the
699 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
700 currentServerName, it makes sense that the connection should know that
702 (-[ServerConnection currentServerName]):
704 2007-10-19 Kevin McCullough <kmccullough@apple.com>
708 - Integrated changes from mac drosera. Recently I've encapsulated
709 out the server connection object from the rest of Drosera because
710 it is very platform dependent right now and RPC is not implemented on
711 windows. This functionality, of communicating with the WebKit server
712 is the next area I will be focusing on in Windows.
714 - Other changes and cleanup were made to organize the code and add notes
715 on which parts still need work. Also some mac code is added and
716 commented out, to act as pseudocode for the logic of those parts.
718 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
720 * Drosera/config.h: Added whitespace.
721 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
722 these files got moved into Drosera.h/cpp
723 * Drosera/win/DebuggerApplication.h: Removed.
724 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
725 happened here to better match the logic flow of the same code on the
726 mac side and to use the new ServerConnection class.
727 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
728 (DebuggerClient::initWithServerName): Initializer that will set up the
729 class to use a ServerConnection object. This was necessary so I could
730 create a DebuggerClient without having to initilaize it at
732 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
733 will be the UIDelegate and FrameLoadDelegate.
734 (DebuggerClient::AddRef): For IUnknown.
735 (DebuggerClient::Release): For IUnknown.
736 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
737 this still needs to set the global context of the server, but
738 IWebFrame does not have an accessor for the global context yet.
739 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
740 this is a pass through for the same function in the document.
741 (DebuggerClient::didReceiveTitle): Unimplemented part of
742 FrameLoadDelegate this would change the title of the window.
743 (DebuggerClient::createWebViewWithRequest): Part of the
744 FrameLoadDelegate. This is about new windows via Window.open() and
745 how their delegates are set.
746 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
747 UIDelegate. Just a debug function for printing messages.
748 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
749 because the Client should be the UIDelegate and FrameLoadDelegate
750 to match the delegates on mac.
751 (DebuggerClient::webViewLoaded): Added accessor method.
752 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
753 forgotten to add this file before. This is where the platform
754 dependent versions of the Documents functions live. Most of these are
755 unimplemented because some piece of functionality does not exist on
757 (DebuggerDocument::platformPause):
758 (DebuggerDocument::platformResume):
759 (DebuggerDocument::platformStepInto):
760 (DebuggerDocument::platformEvaluateScript):
761 (DebuggerDocument::getPlatformCurrentFunctionStack):
762 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
763 (DebuggerDocument::platformValueForScopeVariableNamed):
764 (DebuggerDocument::platformLog):
765 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
766 responsibilities becaue they belong in the Client. Also I laid the
767 groundwork for attaching Drosera to a WebKit process
768 (attachWndProc): Now if a server is selected the Client becomes it's
770 (Drosera::Drosera): Added the construction of the Client and dictionary
772 (Drosera::initUI): This is no longer the delegates, the Client is.
773 (Drosera::webViewLoaded): Now asks the Client instead of holding local
775 (Drosera::applicationDidFinishLaunching): Placeholder for needed
776 notification registration when it's possible to implement.
777 (Drosera::serverLoaded): Ditto
778 (Drosera::serverUnloaded): Ditto
779 (Drosera::attach): Attach Drosera to the WebKit server.
780 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
783 (Drosera::knownServers):
784 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
785 and added the ServerConnection.
786 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
787 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
788 Most of the functions are completely unimlemented because they cannot
789 connect with the WebKit server, because one does not exist on Windows
791 (ServerConnection::initWithServerName):
792 (ServerConnection::~ServerConnection):
793 (ServerConnection::setGlobalContext):
794 (ServerConnection::pause):
795 (ServerConnection::resume):
796 (ServerConnection::stepInto):
797 (ServerConnection::switchToServerNamed):
798 (ServerConnection::applicationTerminating):
799 (ServerConnection::serverConnectionDidDie):
800 (ServerConnection::currentFrame):
801 * Drosera/win/ServerConnection.h: Added. Ditto.
802 (ServerConnection::ServerConnection):
804 2007-10-19 Alice Liu <alice.liu@apple.com>
808 Fix for these broken layout tests on Windows:
810 fast/forms/focus-selection-input.html
811 fast/forms/focus-selection-textarea.html
812 fast/forms/select-accesskey.html
814 * DumpRenderTree/win/EventSender.cpp:
816 correct the VK code for alt key.
818 2007-10-19 Eric Seidel <eric@webkit.org>
820 Reviewed by Mark Rowe.
822 Make the GtkLauncher code slightly more readable.
824 * GtkLauncher/main.cpp:
825 (setupMainMenu): Added.
826 (setupMainWindowUI): Added.
829 2007-10-19 Maciej Stachowiak <mjs@apple.com>
831 Rubber stamped by Adam.
833 - don't delay-load WebKit in DumpRenderTree.
835 * DumpRenderTree/win/DumpRenderTree.vcproj:
837 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
839 Reviewed by Adam Roben.
841 - fix <rdar://problem/5313523>
842 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
844 * DumpRenderTree/mac/DumpRenderTree.mm:
845 (dump): Changed to use _responseMIMEType.
847 2007-10-17 Adam Roben <aroben@apple.com>
849 Make it possible to have Windows-specific tests and results
851 When searching for tests to run and the Skipped file, we will only
852 look in platform/win and the cross-platform directory. When looking
853 for expected results, we will look in platform/win, then
854 platform/mac-leopard, then platform/mac, then finally the
855 cross-platform directory.
859 * Scripts/run-webkit-tests:
860 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
861 searching in the cross-platform directory.
862 (sub buildPlatformHierarchy): Removed some unneeded calls to
865 2007-10-17 Adam Roben <aroben@apple.com>
867 Add back the call to register WebKit that we had before WebKitInitializer existed
869 This is needed to ensure that the right WebKit is used when
870 instantiating COM objects.
874 * DumpRenderTree/win/debug_internal.vsprops: Define
875 DEBUG_WEBKIT_HAS_SUFFIX.
876 * DumpRenderTree/win/DumpRenderTree.cpp:
879 2007-10-17 Adam Roben <aroben@apple.com>
881 Import File::Basename in webkitdirs since we use it
883 * Scripts/webkitdirs.pm:
885 2007-10-17 Kevin McCullough <kmccullough@apple.com>
887 - Updated the tiger leaks list to make the internal bots green.
889 * Scripts/run-webkit-tests:
891 2007-10-17 Adam Roben <aroben@apple.com>
893 Build fix for VC++ Express
895 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
898 2007-10-16 Kevin McCullough <kmccullough@apple.com>
902 - Minor mac improvements based on observations I made while implementing the
905 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
906 then hand it to the Client who will retain it, it should just be the client who
907 creates and owns the server.
908 (-[DebuggerApplication attach:]):
909 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
910 * Drosera/mac/DebuggerClient.mm: Creates the server.
911 (-[DebuggerClient initWithServerName:]):
912 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
913 can instead forward declare what it needs.
915 2007-10-16 Darin Adler <darin@apple.com>
917 Reviewed by Geoff Garen.
919 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
920 want to turn failing tests into platform-specific test results. Also did a
921 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
922 would take the type of results into account only some of the time.
924 2007-10-16 Adam Roben <aroben@apple.com>
926 Add a new nightly launcher script for Windows
928 This new script is for versions of Safari that don't delay-load
929 WebKit. I had to make FindSafari be able to print out the nightly
930 launcher script on stdout because Windows shell scripts can't capture
931 the output from a command into an environment variable.
935 * FindSafari/FindSafari.cpp:
936 (_tmain): Added /printSafariLauncher option.
937 * Scripts/run-webkit-nightly.cmd: Added.
939 2007-10-16 Adam Roben <aroben@apple.com>
941 Replace WebKitInitializer with FindSafari
943 We now rely on setting the PATH environment variable to tell Windows
944 where to find WebKit and its dependencies (similar to
945 DYLD_FRAMEWORK_PATH on Mac).
947 This change also make DumpRenderTree no longer delay-load WebKit.
951 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
953 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
954 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
955 WebKitInitializer, don't delay-load WebKit.
956 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
957 * Scripts/run-webkit-tests: Ditto.
958 * Scripts/webkitdirs.pm:
959 (sub setPathForRunningWebKitApp): Added.
960 * WebKitInitializer/WebKitInitializer.cpp: Removed.
961 * WebKitInitializer/WebKitInitializer.h: Removed.
962 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
963 * WebKitInitializer/debug.vsprops: Removed.
964 * WebKitInitializer/debug_internal.vsprops: Removed.
965 * WebKitInitializer/release.vsprops: Removed.
967 2007-10-16 Adam Roben <aroben@apple.com>
969 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
971 http://bugs.webkit.org/show_bug.cgi?id=15532
973 FindSafari simply prints the location of an installed Safari.exe on
978 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
981 (getInstalledWebKitDirectory):
983 * FindSafari/FindSafari.vcproj: Added.
984 * Scripts/webkitdirs.pm:
985 (sub installedSafariPath): Added. Calls FindSafari on Windows.
987 2007-10-16 Adam Roben <aroben@apple.com>
989 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
991 Reviewed by Kevin McCullough.
993 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
994 when referring to WebKit.dll.
995 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
996 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
997 * DumpRenderTree/win/release.vsprops: Ditto.
998 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
999 never have a _debug suffix on WebKit.dll.
1000 * WebKitInitializer/WebKitInitializer.cpp:
1001 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1003 * WebKitInitializer/debug_internal.vsprops: Added
1004 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1006 2007-10-16 Darin Adler <darin@apple.com>
1010 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1011 Remove now-unneeded control/alt key hack; the tests have been updated.
1013 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1015 - Updated leaks list because our internal bot upgraded it's version of leopard and
1016 one of the leaks was fixed between that revision and the bot's previous version of
1019 * Scripts/run-webkit-tests:
1021 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1025 - I encapsulated out the server connecton functionality because it is a specific part
1026 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1027 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1028 Windows. So the majority of this patch is moving preexisting functionality.
1030 - Also I removed the prefix header and changed to use config.h because it is more
1031 standard on how we use config.h in windows and it didn't make much sense to keep
1032 the prefix header and the config.h
1034 * Drosera/DebuggerDocument.cpp:
1035 (DebuggerDocument::DebuggerDocument):
1036 * Drosera/DebuggerDocument.h:
1038 * Drosera/mac/DebuggerApplication.mm:
1039 (-[DebuggerApplication attach:]):
1040 * Drosera/mac/DebuggerClient.h:
1041 * Drosera/mac/DebuggerClient.mm:
1042 (-[DebuggerClient initWithServerConnection:]):
1043 (-[DebuggerClient dealloc]):
1044 (-[DebuggerClient windowDidLoad]):
1045 (-[DebuggerClient windowWillClose:]):
1046 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1047 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1048 * Drosera/mac/DebuggerDocumentPlatform.mm:
1049 (DebuggerDocument::platformPause):
1050 (DebuggerDocument::platformResume):
1051 (DebuggerDocument::platformStepInto):
1052 (DebuggerDocument::platformEvaluateScript):
1053 (DebuggerDocument::getPlatformCurrentFunctionStack):
1054 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1055 (DebuggerDocument::platformValueForScopeVariableNamed):
1056 (DebuggerDocument::platformLog):
1057 * Drosera/mac/Drosera.pch: Removed.
1058 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1059 * Drosera/mac/ServerConnection.h: Added.
1060 * Drosera/mac/ServerConnection.mm: Added.
1061 (-[ServerConnection initWithServerName:]):
1062 (-[ServerConnection dealloc]):
1063 (-[ServerConnection setGlobalContext:]):
1064 (-[ServerConnection pause]):
1065 (-[ServerConnection resume]):
1066 (-[ServerConnection stepInto]):
1067 (-[ServerConnection switchToServerNamed:]):
1068 (-[ServerConnection applicationTerminating:]):
1069 (-[ServerConnection serverConnectionDidDie:]):
1070 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1071 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1072 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1073 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1074 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1075 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1076 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1077 (-[ServerConnection currentFrame]):
1078 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1079 (-[ServerConnection knownServers]):
1081 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1085 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1086 Script to automatically search nightly builds for regressions (bisect-builds)
1088 * Scripts/bisect-builds: Added.
1090 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1094 - New JavaScript benchmark
1095 http://bugs.webkit.org/show_bug.cgi?id=15515
1097 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1098 current development or release build of JavaScriptCore.
1100 2007-10-15 Mark Rowe <mrowe@apple.com>
1104 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1106 * Scripts/webkitdirs.pm:
1107 - Change checkArgv to remove the options from @ARGV to prevent
1108 them from interfering with further option processing.
1109 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1110 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1111 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1112 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1114 2007-10-15 Darin Adler <darin@apple.com>
1118 - added logging of window.prompt and window.confirm
1120 * DumpRenderTree/mac/UIDelegate.mm:
1121 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1122 Implement the recommended delegate rather than the deprecated one.
1123 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1125 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1128 * DumpRenderTree/win/UIDelegate.h:
1129 * DumpRenderTree/win/UIDelegate.cpp:
1130 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1131 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1132 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1133 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1135 2007-10-15 Alice Liu <alice.liu@apple.com>
1137 Reviewed by Sam Weinig.
1139 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1141 * DumpRenderTree/win/DumpRenderTree.cpp:
1142 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1143 (main): allocate the global policy delegate for DRT's custom use
1144 * DumpRenderTree/win/DumpRenderTree.vcproj:
1145 Adding files to project
1146 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1147 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1148 (LayoutTestController::setCustomPolicyDelegate):
1149 set the webview's policy delegate to DRT's custom one if the test requests it.
1150 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1151 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1152 (PolicyDelegate::PolicyDelegate):
1153 (PolicyDelegate::QueryInterface):
1154 (PolicyDelegate::AddRef):
1155 (PolicyDelegate::Release):
1156 (PolicyDelegate::decidePolicyForNavigationAction):
1157 * DumpRenderTree/win/PolicyDelegate.h: Added.
1158 (PolicyDelegate::decidePolicyForNewWindowAction):
1159 (PolicyDelegate::decidePolicyForMIMEType):
1160 (PolicyDelegate::unableToImplementPolicyWithError):
1162 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1166 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1167 when querying for QMAKE_MKSPECS.
1169 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1171 Reviewed by Adam Roben.
1173 Fix run-webkit-tests is too greedy calculating platform hierarchy
1174 http://bugs.webkit.org/show_bug.cgi?id=15465
1176 Fix run-webkit-tests being too greedy in trying to split the platform name up
1177 causing it to try and find tests in every directory above the first "-" in the
1178 path to the LayoutTests
1180 * Scripts/run-webkit-tests:
1182 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1186 http://bugs.webkit.org/show_bug.cgi?id=15006
1187 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1188 to reduce code duplication.
1190 * Scripts/build-webkit:
1191 * Scripts/webkitdirs.pm:
1192 buildQMakeProject() renamed to buildQMakeQtProject().
1193 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1194 unused $colorize has been removed.
1196 === Start merge of feature-branch 2007-10-12 ===
1198 2007-10-08 Eric Seidel <eric@webkit.org>
1200 Reviewed by Mark Rowe.
1202 * Scripts/build-webkit: add --help, remove unused --color
1204 2007-10-07 Eric Seidel <eric@webkit.org>
1208 * Drosera/mac/DebuggerDocumentPlatform.mm:
1209 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1211 2007-10-03 Rob Buis <buis@kde.org>
1215 Adapt to changed location of Ahem font.
1217 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1219 2007-10-02 Eric Seidel <eric@webkit.org>
1221 Reviewed by Adam Roben.
1223 Make pixel tests more useful!
1224 Finally fix the image diff 0.00% mystery problem
1225 Highlight any image differences in the image diff.
1226 Add a link from image diffs back to original test file.
1228 * DumpRenderTree/mac/ImageDiff.m:
1229 (compareImages): highlight any differences
1230 (computePercentageDifferent): round to two decimal places
1231 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1233 2007-10-02 Eric Seidel <eric@webkit.org>
1235 Reviewed by Alexey Proskuryakov.
1237 * Scripts/run-webkit-tests: print the % image difference on main results page
1239 2007-10-02 Mark Rowe <mrowe@apple.com>
1243 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1245 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1246 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1248 2007-10-01 Mark Rowe <mrowe@apple.com>
1250 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1252 2007-09-25 Eric Seidel <eric@webkit.org>
1254 Reviewed by Mark Rowe.
1256 DerivedSources.make was finding "ENABLE_SVG" in the string
1257 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1260 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1262 2007-09-25 Mark Rowe <mrowe@apple.com>
1264 Rubber-stamped by Eric.
1266 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1267 This makes it possible to automate nightly builds for the feature-branch.
1269 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1271 Rubber stamped by Mark.
1273 Enable svg experimental features as default here in feature-branch.
1275 * Scripts/build-webkit:
1277 2007-06-29 Antti Koivisto <antti@apple.com>
1281 Add VIDEO flag for timed media features
1283 * Scripts/build-webkit
1285 === End merge of feature-branch 2007-10-12 ===
1287 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1291 - Updated rational for the leaks list to be more clear.
1293 * Scripts/run-webkit-tests:
1295 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1297 Rubber Stamp by Sam.
1299 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1300 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1302 * Scripts/run-webkit-tests:
1304 2007-10-10 Simon Hausmann <hausmann@kde.org>
1308 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1309 includes are needed for INT_MAX, std::auto_ptr and the like.
1311 * DumpRenderTree/qt/main.cpp:
1313 2007-10-09 Lars Knoll <lars@trolltech.com>
1317 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1319 * DumpRenderTree/qt/jsobjects.cpp:
1320 (LayoutTestController::encodeHostName):
1321 (LayoutTestController::decodeHostName):
1322 * DumpRenderTree/qt/jsobjects.h:
1324 2007-10-09 Lars Knoll <lars@trolltech.com>
1328 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.
1330 * DumpRenderTree/qt/DumpRenderTree.cpp:
1331 (WebCore::WebPage::createFrame):
1332 (WebCore::DumpRenderTree::DumpRenderTree):
1333 (WebCore::DumpRenderTree::titleChanged):
1334 * DumpRenderTree/qt/DumpRenderTree.h:
1335 * DumpRenderTree/qt/jsobjects.cpp:
1336 (LayoutTestController::reset):
1337 * DumpRenderTree/qt/jsobjects.h:
1339 2007-10-09 Lars Knoll <lars@trolltech.com>
1343 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1345 * DumpRenderTree/qt/DumpRenderTree.h:
1346 * DumpRenderTree/qt/jsobjects.cpp:
1347 (LayoutTestController::clearBackForwardList):
1348 * DumpRenderTree/qt/jsobjects.h:
1350 2007-10-09 Lars Knoll <lars@trolltech.com>
1354 make --git-reviewer work again.
1356 * Scripts/prepare-ChangeLog:
1358 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1360 Rubber stamped by Eric.
1362 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1363 show the current link inside the statusbar.
1364 This shows how to make use of this signal and allows to easily test
1365 http://bugs.webkit.org/show_bug.cgi?id=15299.
1367 * GtkLauncher/main.cpp:
1371 2007-10-05 Lars Knoll <lars@trolltech.com>
1373 add proper error messages to the FrameLoaderClient.
1374 Implement ChromeClientQt::closeWindowSoon and
1375 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1376 Some fixes in DRT to make it work correctly with multiple windows.
1380 * DumpRenderTree/qt/DumpRenderTree.cpp:
1381 (WebCore::DumpRenderTree::DumpRenderTree):
1382 (WebCore::DumpRenderTree::createWindow):
1383 (WebCore::DumpRenderTree::windowCount):
1384 * DumpRenderTree/qt/DumpRenderTree.h:
1385 * DumpRenderTree/qt/jsobjects.cpp:
1386 (LayoutTestController::maybeDump):
1387 (LayoutTestController::windowCount):
1388 * DumpRenderTree/qt/jsobjects.h:
1390 2007-10-05 Lars Knoll <lars@trolltech.com>
1392 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1393 Add support for layoutTextController.setCanOpenWindows() to DRT
1394 fixing another 2 test cases in fast/dom/Window.
1398 * DumpRenderTree/qt/DumpRenderTree.cpp:
1399 (WebCore::WebPage::WebPage):
1400 (WebCore::WebPage::createWindow):
1401 (WebCore::DumpRenderTree::resetJSObjects):
1402 (WebCore::DumpRenderTree::createWindow):
1403 * DumpRenderTree/qt/DumpRenderTree.h:
1404 * DumpRenderTree/qt/DumpRenderTree.pro:
1405 * DumpRenderTree/qt/jsobjects.cpp:
1406 (LayoutTestController::LayoutTestController):
1407 (LayoutTestController::reset):
1408 * DumpRenderTree/qt/jsobjects.h:
1409 * DumpRenderTree/qt/main.cpp:
1410 * DumpRenderTree/qt/testplugin.cpp: Added.
1411 * DumpRenderTree/qt/testplugin.h: Added.
1413 2007-10-04 Sam Weinig <sam@webkit.org>
1415 Rubber stamped by Adam.
1417 Remove empty directories.
1419 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1420 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1422 2007-10-03 Darin Adler <darin@apple.com>
1426 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1427 we find the internal libraries in the libraries directory. This
1428 is helpful for Safari team engineers at Apple.
1430 2007-10-03 Adam Roben <aroben@apple.com>
1432 Update the location of AHEM___.TTF after r25968
1436 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1438 2007-10-03 Alp Toker <alp@atoker.com>
1442 http://bugs.webkit.org/show_bug.cgi?id=14726
1443 [gtk] API design. Mapping the WebView delegates to signals.
1445 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1447 * GtkLauncher/main.cpp:
1451 (menuMainBackCallback):
1452 (menuMainForwardCallback):
1455 2007-10-03 Lars Knoll <lars@trolltech.com>
1459 This fixes --strict mode in run-webkit-tests again after
1460 the platform dependent test results have been moved.
1462 * Scripts/run-webkit-tests:
1464 2007-10-03 Lars Knoll <lars@trolltech.com>
1468 remove the hack in run-webkit-tests that forced text only test
1469 to be taken from the platform independent dir. It was only left
1470 there from early days.
1472 Remove platform dependent results for tests that are text only nowadays,
1473 and add one platform dependent result for a text only test that requires it.
1475 * Scripts/run-webkit-tests:
1477 2007-10-03 Lars Knoll <lars@trolltech.com>
1481 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1483 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1484 (WebCore::WebFrame::WebFrame):
1485 (WebCore::WebPage::WebPage):
1486 (WebCore::WebPage::createFrame):
1487 (WebCore::WebPage::javaScriptAlert):
1488 (WebCore::WebPage::javaScriptConsoleMessage):
1489 (WebCore::DumpRenderTree::DumpRenderTree):
1490 (WebCore::DumpRenderTree::~DumpRenderTree):
1491 (WebCore::DumpRenderTree::open):
1492 (WebCore::DumpRenderTree::readStdin):
1493 (WebCore::DumpRenderTree::resetJSObjects):
1494 (WebCore::DumpRenderTree::initJSObjects):
1495 (WebCore::DumpRenderTree::dumpFramesAsText):
1496 (WebCore::DumpRenderTree::dump):
1497 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1498 (WebCore::DumpRenderTree::layoutTestController):
1499 (WebCore::DumpRenderTree::eventSender):
1500 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1501 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1502 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1503 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1504 (HackWebFrame::mousePressEvent):
1505 (HackWebFrame::mouseReleaseEvent):
1506 (HackWebFrame::mouseMoveEvent):
1507 (HackWebFrame::HackWebFrame):
1508 (HackWebFrame::~HackWebFrame):
1509 (LayoutTestController::LayoutTestController):
1510 (LayoutTestController::reset):
1511 (LayoutTestController::maybeDump):
1512 (LayoutTestController::waitUntilDone):
1513 (LayoutTestController::notifyDone):
1514 (LayoutTestController::dumpEditingCallbacks):
1515 (LayoutTestController::queueReload):
1516 (LayoutTestController::provisionalLoad):
1517 (LayoutTestController::timerEvent):
1518 (EventSender::EventSender):
1519 (EventSender::mouseDown):
1520 (EventSender::mouseUp):
1521 (EventSender::mouseMoveTo):
1522 (EventSender::leapForward):
1523 (EventSender::keyDown):
1524 (EventSender::frameUnderMouse):
1525 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1526 (LayoutTestController::isLoading):
1527 (LayoutTestController::setLoading):
1528 (LayoutTestController::shouldDumpAsText):
1529 (LayoutTestController::shouldDumpChildrenAsText):
1530 (LayoutTestController::shouldWaitUntilDone):
1531 (LayoutTestController::dumpAsText):
1532 (LayoutTestController::dumpChildFramesAsText):
1533 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1537 * Scripts/run-webkit-tests:
1539 2007-10-03 Mark Rowe <mrowe@apple.com>
1541 Reviewed by Alp Toker.
1543 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1544 should take precedence over QTDIR when determining which port we are working with.
1546 * Scripts/webkitdirs.pm:
1548 2007-10-02 Adam Roben <aroben@apple.com>
1550 Add keychain to the list of default packages to install
1552 Rubberstamped by Sam.
1554 * CygwinDownloader/cygwin-downloader.py:
1555 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1557 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1561 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1562 Also makes WebCore regression test case logic work when using git.
1564 * Scripts/prepare-ChangeLog:
1565 (reviewerAndDescriptionForGitCommit): Added.
1567 2007-10-02 Lars Knoll <lars@trolltech.com>
1571 Add API to retrieve the frame name from QWebFrame.
1572 Implement support for DRT::dumpChildrenAsText.
1574 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1575 (WebCore::DumpRenderTree::dumpFramesAsText):
1576 (WebCore::DumpRenderTree::dump):
1577 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1578 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1579 (LayoutTestController::LayoutTestController):
1580 (LayoutTestController::reset):
1581 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1583 2007-10-02 Lars Knoll <lars@trolltech.com>
1587 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1589 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1590 (WebCore::DumpRenderTree::readStdin):
1592 2007-10-02 Mark Rowe <mrowe@apple.com>
1596 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1598 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1599 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1601 2007-10-02 Mark Rowe <mrowe@apple.com>
1603 Rubber-stamped by Maciej.
1605 Configuration changes from build.webkit.org. The major change is refactoring to work
1606 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1609 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1610 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1611 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1612 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1613 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1614 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1615 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1616 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1618 2007-10-02 Lars Knoll <lars@trolltech.com>
1622 Add support for eventSender.mouseMove to DRT.
1623 Fixes fast/css/hover-affects-child.html
1625 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1626 (EventSender::mouseMoveTo):
1628 2007-10-01 Mark Rowe <mrowe@apple.com>
1630 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1632 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1636 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1638 * Scripts/svn-apply:
1639 (gitdiff2svndiff): Ignore lines beginning with "new file".
1640 * Scripts/svn-unapply:
1641 (gitdiff2svndiff): Ditto.
1643 2007-09-30 George Staikos <staikos@kde.org>
1645 Qt build fix (Mac OS X specific)
1647 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1649 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1653 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1654 Remove Bakefiles from svn.
1656 * GtkLauncher/Bakefiles.bkgen: Removed.
1657 * GtkLauncher/ENV: Removed.
1658 * GtkLauncher/gdklauncher.bkl: Removed.
1659 * GtkLauncher/mk: Removed.
1660 * Scripts/regenerate-makefiles: Removed.
1662 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1666 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1668 * Scripts/run-webkit-tests:
1670 2007-09-26 Adam Roben <aroben@apple.com>
1672 Make not finding an installed WebKit non-fatal
1674 What really matters is that we are able to load WebKit and its
1675 dependencies, not whether we think we've found an installed WebKit.
1679 * WebKitInitializer/WebKitInitializer.cpp:
1680 (getWebViewCLSID): Use new LOG_WARNING macro.
1681 (getInstalledWebKitDirectory): Ditto.
1682 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1684 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1686 2007-09-26 Adam Roben <aroben@apple.com>
1688 Committed this file before saving it
1690 * WebKitInitializer/debug_internal.vsprops:
1692 2007-09-26 Adam Roben <aroben@apple.com>
1694 Load WebKit and its dependencies manually so they come from DllDirectory
1696 I had to change WebKitInitializer to use malloc/free instead of
1697 new/delete to avoid pulling in WebKit (and its dependencies) early
1698 through use of fastMalloc.
1702 * WebKitInitializer/WebKitInitializer.cpp:
1703 (getStringValue): Changed to use malloc/free.
1704 (getInstalledWebKitDirectory): Ditto.
1705 (initializeWebKit): Call SetDllDirectory first, then load all of
1706 WebKit's dependencies manually, finally followed by WebKit itself.
1707 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1708 configuration to match our other projects.
1709 * WebKitInitializer/debug_internal.vsprops: Added.
1711 2007-09-25 Adam Roben <aroben@apple.com>
1713 Actually define DEBUG/NDEBUG so that we load WebKit correctly
1715 Rubberstamped by Sam.
1717 * WebKitInitializer/WebKitInitializer.vcproj:
1719 2007-09-25 Adam Roben <aroben@apple.com>
1721 Make DumpRenderTree delay-load its dependencies
1723 This lets WebKitInitializer re-route the dependencies to be loaded out
1724 of the Safari installation directory.
1726 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1727 same thing), since we can't import the kCFAllocatorDefault symbol when
1728 delay-loading CoreFoundation.dll.
1730 Rubberstamped by Sam.
1732 * DumpRenderTree/win/DumpRenderTree.cpp:
1734 (javaScriptThreads):
1735 * DumpRenderTree/win/DumpRenderTree.vcproj:
1736 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1737 (LayoutTestController::setWaitToDump):
1739 2007-09-25 Adam Roben <aroben@apple.com>
1741 Pull ole32.lib into WebKitInitializer
1743 Rubberstamped by Sam.
1745 * WebKitInitializer/WebKitInitializer.vcproj:
1747 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1751 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1752 LGPL'ed files contain incorrect FSF address
1756 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1760 Make svn-apply and svn-unapply work with git-diff formatted patches.
1762 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1763 (gitdiff2svndiff): Added.
1764 * Scripts/svn-unapply: Ditto.
1765 (gitdiff2svndiff): Added.
1767 2007-09-25 Adam Roben <aroben@apple.com>
1769 Pull advapi32.lib into WebKitInitializer
1771 This is needed to get the registry functions we use.
1773 Rubberstamped by Sam.
1775 * WebKitInitializer/WebKitInitializer.vcproj:
1777 2007-09-25 Adam Roben <aroben@apple.com>
1779 Add python and rsync to cygwin-downloader
1781 Our build slaves need this, and it can't hurt for everyone else to
1786 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1787 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1789 2007-09-25 Adam Roben <aroben@apple.com>
1791 Add WebKitInitializer and use it in DumpRenderTree
1793 WebKitInitializer is a static library that has one function,
1794 initializeWebKit(). This registers WebKit and sets up the DLL search
1795 path so that WebKit's dependencies that are installed with Safari can
1800 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1801 DumpRenderTree depend on it.
1802 * DumpRenderTree/win/DumpRenderTree.cpp:
1803 (initialize): Call initializeWebKit.
1804 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1805 WebKitInitializer.lib.
1806 * WebKitInitializer/WebKitInitializer.cpp: Added.
1809 (getInstalledWebKitDirectory):
1811 * WebKitInitializer/WebKitInitializer.h: Added.
1812 * WebKitInitializer/WebKitInitializer.vcproj: Added.
1813 * WebKitInitializer/debug.vsprops: Added.
1814 * WebKitInitializer/release.vsprops: Added.
1816 2007-09-25 Adam Roben <aroben@apple.com>
1818 Make run-webkit-tests respect set-webkit-configuration
1822 * Scripts/run-webkit-tests: Initialize $configuration to whatever
1823 set-webkit-configuration was last set to.
1825 2007-09-25 Mark Rowe <mrowe@apple.com>
1827 Rubber-stamped by Eric.
1829 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1830 This makes it possible to automate nightly builds for the feature-branch.
1832 2007-09-25 Adam Roben <aroben@apple.com>
1834 A couple of fixes/enhancements to update-webkit-*-libs
1836 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1837 to tell update-webkit-support-libraries where it should find the
1838 WebKitSupportLibrary.zip file you downloaded.
1840 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1845 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1846 to $auxiliaryLibsURL and removed an irrelevant comment.
1847 * Scripts/update-webkit-support-libs:
1849 2007-09-25 Adam Treat <treat@kde.org>
1851 Reviewed by Simon and Lars.
1853 Refactors and cleans up Qt DRT member variable names, member variable
1854 initialization, style fixes and general code cleanup.
1856 Adds queueReload slot to LayoutTestController that some tests require.
1858 Subclasses QWebFrame to make sure that all frames have an associated
1859 LayoutTestController JS window object.
1861 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1862 aren't dumped twice.
1866 Together, this patch fixes some 20+ layout tests in QtWebKit.
1868 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1869 (WebCore::WebFrame::WebFrame):
1870 (WebCore::WebPage::WebPage):
1871 (WebCore::WebPage::createFrame):
1872 (WebCore::DumpRenderTree::DumpRenderTree):
1873 (WebCore::DumpRenderTree::open):
1874 (WebCore::DumpRenderTree::readStdin):
1875 (WebCore::DumpRenderTree::initJSObjects):
1876 (WebCore::DumpRenderTree::dump):
1877 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1878 (WebCore::DumpRenderTree::layoutTestController):
1879 (WebCore::DumpRenderTree::eventSender):
1880 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1881 (LayoutTestController::LayoutTestController):
1882 (LayoutTestController::reset):
1883 (LayoutTestController::maybeDump):
1884 (LayoutTestController::waitUntilDone):
1885 (LayoutTestController::notifyDone):
1886 (LayoutTestController::queueReload):
1887 (LayoutTestController::provisionalLoad):
1888 (EventSender::EventSender):
1889 (EventSender::mouseDown):
1890 (EventSender::mouseUp):
1891 (EventSender::mouseMoveTo):
1892 (EventSender::frameUnderMouse):
1893 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1894 (LayoutTestController::isLoading):
1895 (LayoutTestController::setLoading):
1896 (LayoutTestController::dumpAsText):
1897 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1900 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1903 - Reverted an accidentally checked in file.
1905 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1907 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1910 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1912 * DumpRenderTree/win/DumpRenderTree.vcproj:
1913 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1915 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
1917 Rubber stamped by Adam.
1919 * GdkLauncher: Removed.
1920 * GdkLauncher/Bakefiles.bkgen: Removed.
1921 * GdkLauncher/ENV: Removed.
1922 * GdkLauncher/GdkLauncher.pro: Removed.
1923 * GdkLauncher/gdklauncher.bkl: Removed.
1924 * GdkLauncher/main.cpp: Removed.
1925 * GdkLauncher/mk: Removed.
1926 * GdkLauncher/simple.svg: Removed.
1927 * GdkLauncher/text.html: Removed.
1928 * GtkLauncher: Added.
1929 * GtkLauncher/GdkLauncher.pro: Removed.
1930 * GtkLauncher/GtkLauncher.pro: Added.
1931 * GtkLauncher/main.cpp:
1932 (updateWindowTitle):
1934 * Scripts/build-webkit:
1935 * Scripts/regenerate-makefiles:
1936 * Scripts/run-javascriptcore-tests:
1937 * Scripts/run-launcher:
1938 * Scripts/run-webkit-tests:
1939 * Scripts/webkitdirs.pm:
1941 2007-09-21 Timothy Hatcher <timothy@apple.com>
1945 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1947 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1948 This is tested by plugins/root-object-premature-delete-crash.html.
1950 * DumpRenderTree/mac/ObjCController.m:
1951 (-[ObjCController accessStoredWebScriptObject]):
1953 2007-09-21 Kevin McCullough <kmccullough@apple.com>
1957 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1959 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1960 (FrameLoadDelegate::FrameLoadDelegate):
1962 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
1966 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1967 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1969 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1970 Now isQt() and isGdk() use global variables that are only set once.
1972 An array of all the parameters is now given to build-dumprender which includes
1973 the platform on linux.
1975 * Scripts/build-dumprendertree:
1976 * Scripts/run-webkit-tests:
1977 * Scripts/webkitdirs.pm:
1979 2007-09-19 Adam Roben <aroben@apple.com>
1981 Rubberstamped by Hyatt.
1983 * Spinneret: Removed.
1985 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
1987 Reviewed by David Kilzer.
1989 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1991 2007-09-18 Sam Weinig <sam@webkit.org>
1993 Add JSRetainPtr.h #include to fix some builds.
1995 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1997 2007-09-18 Mike Hommey <glandium@debian.org>
2001 * Scripts/prepare-ChangeLog:
2002 - Properly parse GECOS field.
2003 - Use git configuration for user name and email when appropriate.
2005 2007-09-17 Sam Weinig <sam@webkit.org>
2009 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2011 2007-09-17 Sam Weinig <sam@webkit.org>
2013 Reviewed by Adam Roben.
2015 Share more code between mac and windows DRT.
2016 - GCController is now shared.
2017 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2019 * DumpRenderTree/GCController.cpp:
2020 * DumpRenderTree/win/DumpRenderTree.cpp:
2021 * DumpRenderTree/win/DumpRenderTree.vcproj:
2022 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2023 (FrameLoadDelegate::FrameLoadDelegate):
2024 (FrameLoadDelegate::~FrameLoadDelegate):
2025 (FrameLoadDelegate::windowScriptObjectAvailable):
2026 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2027 * DumpRenderTree/win/GCController.cpp: Removed.
2028 * DumpRenderTree/win/GCController.h: Removed.
2029 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2030 (GCController::collect):
2031 (GCController::collectOnAlternateThread):
2032 (GCController::getJSObjectCount):
2033 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2034 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2036 2007-09-17 Sam Weinig <sam@webkit.org>
2038 Reviewed by Adam Roben.
2040 Begin sharing code between mac and windows DRT.
2041 - both now share LayoutTestController.h/cpp and implement platform dependant
2042 operations in LayoutTestControllerMac/Win.
2043 - DumpRenderTree.h is now shared.
2044 - WorkQueue and WorkQueueItem are also shared.
2046 * DumpRenderTree/DumpRenderTree.h:
2047 * DumpRenderTree/LayoutTestController.cpp:
2048 * DumpRenderTree/win/DumpRenderTree.cpp:
2050 (dumpFrameScrollPosition):
2054 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2055 * DumpRenderTree/win/DumpRenderTree.vcproj:
2056 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2057 * DumpRenderTree/win/EditingDelegate.cpp:
2058 (EditingDelegate::shouldBeginEditingInDOMRange):
2059 (EditingDelegate::shouldEndEditingInDOMRange):
2060 (EditingDelegate::shouldInsertNode):
2061 (EditingDelegate::shouldInsertText):
2062 (EditingDelegate::shouldDeleteDOMRange):
2063 (EditingDelegate::shouldChangeSelectedDOMRange):
2064 (EditingDelegate::shouldApplyStyle):
2065 (EditingDelegate::shouldChangeTypingStyle):
2066 (EditingDelegate::doPlatformCommand):
2067 (EditingDelegate::webViewDidBeginEditing):
2068 (EditingDelegate::webViewDidChange):
2069 (EditingDelegate::webViewDidEndEditing):
2070 (EditingDelegate::webViewDidChangeTypingStyle):
2071 (EditingDelegate::webViewDidChangeSelection):
2072 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2073 * DumpRenderTree/win/LayoutTestController.h: Removed.
2074 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2075 (LayoutTestController::addDisallowedURL):
2076 (LayoutTestController::clearBackForwardList):
2077 (LayoutTestController::copyDecodedHostName):
2078 (LayoutTestController::copyEncodedHostName):
2079 (LayoutTestController::display):
2080 (LayoutTestController::keepWebHistory):
2081 (LayoutTestController::notifyDone):
2082 (LayoutTestController::queueBackNavigation):
2083 (LayoutTestController::queueForwardNavigation):
2084 (jsStringRefToWString):
2085 (LayoutTestController::queueLoad):
2086 (LayoutTestController::queueReload):
2087 (LayoutTestController::queueScript):
2088 (LayoutTestController::setAcceptsEditing):
2089 (LayoutTestController::setCustomPolicyDelegate):
2090 (LayoutTestController::setMainFrameIsFirstResponder):
2091 (LayoutTestController::setTabKeyCyclesThroughElements):
2092 (LayoutTestController::setUseDashboardCompatibilityMode):
2093 (LayoutTestController::setUserStyleSheetEnabled):
2094 (LayoutTestController::setUserStyleSheetLocation):
2095 (LayoutTestController::setWindowIsKey):
2096 (waitUntilDoneWatchdogFired):
2097 (LayoutTestController::setWaitToDump):
2098 (LayoutTestController::windowCount):
2099 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2100 (FrameLoadDelegate::didReceiveTitle):
2101 (FrameLoadDelegate::processWork):
2102 (FrameLoadDelegate::locationChangeDone):
2103 (FrameLoadDelegate::windowScriptObjectAvailable):
2104 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2105 * DumpRenderTree/win/WorkQueue.h: Removed.
2106 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2107 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2108 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2109 (jsStringRefToWString):
2111 (ScriptItem::invoke):
2113 2007-09-17 Sam Weinig <sam@webkit.org>
2115 Reviewed by Adam Roben.
2117 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2119 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2120 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2121 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2122 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2123 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2124 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2125 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2126 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2127 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2128 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2129 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2130 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2131 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2132 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2133 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2134 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2135 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2136 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2137 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2138 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2139 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2140 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2141 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2142 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2143 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2144 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2145 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2146 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2147 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2148 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2149 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2150 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2151 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2152 * DumpRenderTree/win: Added.
2153 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2154 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2155 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2156 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2157 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2158 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2159 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2160 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2161 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2162 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2163 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2164 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2165 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2166 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2167 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2168 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2169 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2170 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2171 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2172 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2173 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2174 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2175 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2176 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2177 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2178 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2180 2007-09-15 Mark Rowe <mrowe@apple.com>
2182 Build fix for DumpRenderTree.
2184 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2186 2007-09-14 Sam Weinig <sam@webkit.org>
2188 Rubber stamped by Adam Roben.
2190 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2191 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2192 kept in the WaitUntilDoneDelegate file for the time being.
2194 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2196 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2197 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2198 (UIDelegate::QueryInterface):
2199 (UIDelegate::AddRef):
2200 (UIDelegate::Release):
2201 (UIDelegate::hasCustomMenuImplementation):
2202 (UIDelegate::setFrame):
2203 (UIDelegate::webViewFrame):
2204 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2205 (UIDelegate::webViewAddMessageToConsole):
2206 (UIDelegate::doDragDrop):
2207 (UIDelegate::webViewGetDlgCode):
2208 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2209 (UIDelegate::UIDelegate):
2210 (UIDelegate::createWebViewWithRequest):
2211 (UIDelegate::webViewShow):
2212 (UIDelegate::webViewClose):
2213 (UIDelegate::webViewFocus):
2214 (UIDelegate::webViewUnfocus):
2215 (UIDelegate::webViewFirstResponder):
2216 (UIDelegate::makeFirstResponder):
2217 (UIDelegate::setStatusText):
2218 (UIDelegate::webViewStatusText):
2219 (UIDelegate::webViewAreToolbarsVisible):
2220 (UIDelegate::setToolbarsVisible):
2221 (UIDelegate::webViewIsStatusBarVisible):
2222 (UIDelegate::setStatusBarVisible):
2223 (UIDelegate::webViewIsResizable):
2224 (UIDelegate::setResizable):
2225 (UIDelegate::setContentRect):
2226 (UIDelegate::webViewContentRect):
2227 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2228 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2229 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2230 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2231 (UIDelegate::mouseDidMoveOverElement):
2232 (UIDelegate::contextMenuItemsForElement):
2233 (UIDelegate::validateUserInterfaceItem):
2234 (UIDelegate::shouldPerformAction):
2235 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2236 (UIDelegate::willPerformDragDestinationAction):
2237 (UIDelegate::dragSourceActionMaskForPoint):
2238 (UIDelegate::willPerformDragSourceAction):
2239 (UIDelegate::contextMenuItemSelected):
2240 (UIDelegate::trackCustomPopupMenu):
2241 (UIDelegate::measureCustomMenuItem):
2242 (UIDelegate::drawCustomMenuItem):
2243 (UIDelegate::addCustomMenuDrawingData):
2244 (UIDelegate::cleanUpCustomMenuDrawingData):
2245 (UIDelegate::canTakeFocus):
2246 (UIDelegate::takeFocus):
2247 (UIDelegate::registerUndoWithTarget):
2248 (UIDelegate::removeAllActionsWithTarget):
2249 (UIDelegate::setActionTitle):
2252 (UIDelegate::canUndo):
2253 (UIDelegate::canRedo):
2254 (UIDelegate::webViewResizerRect):
2255 (UIDelegate::webViewDrawResizer):
2256 (UIDelegate::webViewScrolled):
2257 (UIDelegate::webViewShouldInterruptJavaScript):
2258 (UIDelegate::webViewReceivedFocus):
2259 (UIDelegate::webViewLostFocus):
2260 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2261 (FrameLoadDelegate::QueryInterface):
2262 (FrameLoadDelegate::AddRef):
2263 (FrameLoadDelegate::Release):
2264 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2265 (FrameLoadDelegate::didCommitLoadForFrame):
2266 (FrameLoadDelegate::didReceiveTitle):
2267 (FrameLoadDelegate::processWork):
2269 (FrameLoadDelegate::locationChangeDone):
2270 (FrameLoadDelegate::didFinishLoadForFrame):
2271 (FrameLoadDelegate::didFailLoadWithError):
2272 (FrameLoadDelegate::windowScriptObjectAvailable):
2273 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2274 (FrameLoadDelegate::FrameLoadDelegate):
2276 2007-09-14 Sam Weinig <sam@webkit.org>
2278 Reviewed by Kevin McCullough.
2280 Move mac specific globals in to mac/DumpRenderTreeMac.h
2282 * DumpRenderTree/DumpRenderTree.h:
2283 * DumpRenderTree/DumpRenderTree.mm: Removed.
2284 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2285 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2286 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2288 2007-09-14 Brady Eidson <beidson@apple.com>
2290 Rubberstamped by Weinig
2292 You know, Sam, some of us use case-sensitve filesystems...
2294 * DumpRenderTree/DumpRenderTree.h:
2295 * DumpRenderTree/mac/UIDelegate.mm:
2297 2007-09-14 Sam Weinig <sam@webkit.org>
2299 Rubber stamped by Adam Roben.
2301 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2302 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2304 * DumpRenderTree/AppleScriptController.h: Removed.
2305 * DumpRenderTree/AppleScriptController.m: Removed.
2306 * DumpRenderTree/DumpRenderTree.h:
2307 * DumpRenderTree/DumpRenderTree.mm:
2308 (startJavaScriptThreads):
2309 (stopJavaScriptThreads):
2311 (setDefaultColorProfileToRGB):
2312 (makeLargeMallocFailSilently):
2313 (dumpFrameScrollPosition):
2317 (-[DumpRenderTreeWindow isKeyWindow]):
2318 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2319 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2320 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2321 * DumpRenderTree/EditingDelegate.h: Removed.
2322 * DumpRenderTree/EditingDelegate.m: Removed.
2323 * DumpRenderTree/EventSendingController.h: Removed.
2324 * DumpRenderTree/EventSendingController.m: Removed.
2325 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2326 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2327 * DumpRenderTree/GCController.mm: Removed.
2328 * DumpRenderTree/ImageDiff.m: Removed.
2329 * DumpRenderTree/LayoutTestController.cpp:
2330 (LayoutTestController::LayoutTestController):
2331 (dumpAsTextCallback):
2332 (dumpBackForwardListCallback):
2333 (dumpChildFramesAsTextCallback):
2334 (dumpChildFrameScrollPositionsCallback):
2335 (dumpDOMAsWebArchiveCallback):
2336 (dumpEditingCallbacksCallback):
2337 (dumpFrameLoadCallbacksCallback):
2338 (dumpResourceLoadCallbacksCallback):
2339 (dumpSelectionRectCallback):
2340 (dumpSourceAsWebArchiveCallback):
2341 (dumpTitleChangesCallback):
2342 (repaintSweepHorizontallyCallback):
2343 (setCallCloseOnWebViewsCallback):
2344 (setCanOpenWindowsCallback):
2345 (setCloseRemainingWindowsWhenCompleteCallback):
2346 (testRepaintCallback):
2347 (addFileToPasteboardOnDragCallback):
2348 (waitUntilDoneCallback):
2349 * DumpRenderTree/LayoutTestController.h:
2350 (LayoutTestController::dumpAsText):
2351 (LayoutTestController::setDumpAsText):
2352 (LayoutTestController::dumpBackForwardList):
2353 (LayoutTestController::setDumpBackForwardList):
2354 (LayoutTestController::dumpChildFrameScrollPositions):
2355 (LayoutTestController::setDumpChildFrameScrollPositions):
2356 (LayoutTestController::dumpChildFramesAsText):
2357 (LayoutTestController::setDumpChildFramesAsText):
2358 (LayoutTestController::dumpDOMAsWebArchive):
2359 (LayoutTestController::setDumpDOMAsWebArchive):
2360 (LayoutTestController::dumpSelectionRect):
2361 (LayoutTestController::setDumpSelectionRect):
2362 (LayoutTestController::dumpSourceAsWebArchive):
2363 (LayoutTestController::setDumpSourceAsWebArchive):
2364 (LayoutTestController::dumpTitleChanges):
2365 (LayoutTestController::setDumpTitleChanges):
2366 (LayoutTestController::dumpEditingCallbacks):
2367 (LayoutTestController::setDumpEditingCallbacks):
2368 (LayoutTestController::dumpResourceLoadCallbacks):
2369 (LayoutTestController::setDumpResourceLoadCallbacks):
2370 (LayoutTestController::dumpFrameLoadCallbacks):
2371 (LayoutTestController::setDumpFrameLoadCallbacks):
2372 (LayoutTestController::addFileToPasteboardOnDrag):
2373 (LayoutTestController::setAddFileToPasteboardOnDrag):
2374 (LayoutTestController::callCloseOnWebViews):
2375 (LayoutTestController::setCallCloseOnWebViews):
2376 (LayoutTestController::canOpenWindows):
2377 (LayoutTestController::setCanOpenWindows):
2378 (LayoutTestController::closeRemainingWindowsWhenComplete):
2379 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2380 (LayoutTestController::testRepaint):
2381 (LayoutTestController::setTestRepaint):
2382 (LayoutTestController::testRepaintSweepHorizontally):
2383 (LayoutTestController::setTestRepaintSweepHorizontally):
2384 (LayoutTestController::waitToDump):
2385 (LayoutTestController::windowIsKey):
2386 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2387 * DumpRenderTree/NavigationController.h: Removed.
2388 * DumpRenderTree/NavigationController.m: Removed.
2389 * DumpRenderTree/ObjCController.h: Removed.
2390 * DumpRenderTree/ObjCController.m: Removed.
2391 * DumpRenderTree/ObjCPlugin.h: Removed.
2392 * DumpRenderTree/ObjCPlugin.m: Removed.
2393 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2394 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2395 * DumpRenderTree/PolicyDelegate.h: Removed.
2396 * DumpRenderTree/PolicyDelegate.m: Removed.
2397 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2398 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2399 * DumpRenderTree/TextInputController.h: Removed.
2400 * DumpRenderTree/TextInputController.m: Removed.
2401 * DumpRenderTree/UIDelegate.h: Removed.
2402 * DumpRenderTree/UIDelegate.mm: Removed.
2403 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2404 * DumpRenderTree/mac: Added.
2405 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2406 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2407 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2408 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2409 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2410 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2411 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2412 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2413 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2414 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2415 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2416 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2417 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2418 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2419 (-[EditingDelegate webViewDidBeginEditing:]):
2420 (-[EditingDelegate webViewDidChange:]):
2421 (-[EditingDelegate webViewDidEndEditing:]):
2422 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2423 (-[EditingDelegate webViewDidChangeSelection:]):
2424 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2425 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2426 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2427 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2428 (-[FrameLoadDelegate init]):
2429 (-[FrameLoadDelegate dealloc]):
2430 (-[FrameLoadDelegate processWork:]):
2431 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2432 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2433 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2434 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2435 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2436 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2437 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2438 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2439 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2440 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2441 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2442 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2443 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2444 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2445 (-[FrameLoadDelegate webView:willCloseFrame:]):
2446 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2447 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2448 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2449 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2450 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2451 (LayoutTestController::notifyDone):
2452 (LayoutTestController::setWindowIsKey):
2453 (LayoutTestController::setWaitToDump):
2454 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2455 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2456 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2457 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2458 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2459 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2460 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2461 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2462 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2463 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2464 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2465 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2466 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2467 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2468 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2469 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2470 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2471 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2472 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2473 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2474 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2475 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2476 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2477 (-[UIDelegate webViewFocus:]):
2478 (-[UIDelegate webView:createWebViewWithRequest:]):
2479 (-[UIDelegate webViewClose:]):
2480 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2482 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2486 - Changing Win version of Drosera work with recent changes.
2488 * Drosera/DebuggerDocument.cpp:
2489 * Drosera/DebuggerDocument.h:
2490 * Drosera/mac/DebuggerDocumentPlatform.mm:
2491 (NSStringCreateWithJSStringRef):
2492 (JSValueRefCreateWithNSString):
2493 * Drosera/win/DebuggerClient.cpp:
2494 (DebuggerClient::stepInto):
2495 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2497 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2501 - Moved isPaused into the JS for efficiency and simplicity.
2503 * Drosera/DebuggerDocument.cpp:
2504 (DebuggerDocument::DebuggerDocument):
2505 (DebuggerDocument::pauseCallback):
2506 (DebuggerDocument::resumeCallback):
2507 (DebuggerDocument::isPaused):
2508 (DebuggerDocument::staticFunctions):
2509 * Drosera/DebuggerDocument.h:
2510 * Drosera/console.js:
2511 * Drosera/debugger.js:
2512 * Drosera/mac/DebuggerClient.mm:
2513 (-[DebuggerClient validateUserInterfaceItem:]):
2515 2007-09-13 Sam Weinig <sam@webkit.org>
2517 Rubber stamped by Darin.
2519 Make DumpRenderTree more cross platform ready.
2520 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2521 - Use CF types instead of NS objects.
2524 * DumpRenderTree/DumpRenderTree.h:
2525 * DumpRenderTree/DumpRenderTree.mm:
2529 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2530 * DumpRenderTree/EditingDelegate.m:
2531 * DumpRenderTree/FrameLoadDelegate.h:
2532 * DumpRenderTree/FrameLoadDelegate.mm:
2533 (-[FrameLoadDelegate init]):
2534 (-[FrameLoadDelegate dealloc]):
2535 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2536 * DumpRenderTree/GCController.cpp: Added.
2537 (GCController::GCController):
2538 (GCController::~GCController):
2540 (collectOnAlternateThreadCallback):
2541 (getJSObjectCountCallback):
2542 (GCController::makeWindowObject):
2543 (GCController::getJSClass):
2544 (GCController::staticFunctions):
2545 * DumpRenderTree/GCController.h:
2546 * DumpRenderTree/GCController.mm:
2547 (GCController::collect):
2548 (GCController::collectOnAlternateThread):
2549 (GCController::getJSObjectCount):
2550 * DumpRenderTree/LayoutTestController.cpp:
2551 (LayoutTestController::makeWindowObject):
2552 (LayoutTestController::getJSClass):
2553 * DumpRenderTree/LayoutTestController.h:
2554 * DumpRenderTree/LayoutTestControllerMac.mm:
2555 (LayoutTestController::addDisallowedURL):
2556 (waitUntilDoneWatchdogFired):
2557 (LayoutTestController::waitUntilDone):
2558 * DumpRenderTree/ResourceLoadDelegate.m:
2559 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2561 2007-09-12 Sam Weinig <sam@webkit.org>
2563 Reviewed by Stephanie.
2565 Fix leaks in mac DumpRenderTree.
2567 * DumpRenderTree/FrameLoadDelegate.mm:
2568 (-[FrameLoadDelegate init]): Initalize in the correct order.
2569 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2570 * DumpRenderTree/LayoutTestController.cpp:
2571 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2572 (encodeHostNameCallback): ditto.
2573 * DumpRenderTree/LayoutTestController.h:
2574 * DumpRenderTree/LayoutTestControllerMac.mm:
2575 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2576 (LayoutTestController::copyEncodedHostName): ditto
2577 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2579 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2583 - 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.
2585 * Scripts/run-webkit-tests:
2587 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2591 - Simplified code paths and extracted out functions to increase encapsulation.
2593 * Drosera/DebuggerDocument.cpp:
2594 (DebuggerDocument::breakpointEditorHTMLCallback):
2595 (DebuggerDocument::isPausedCallback):
2596 (DebuggerDocument::pauseCallback):
2597 (DebuggerDocument::resumeCallback):
2598 (DebuggerDocument::stepIntoCallback):
2599 (DebuggerDocument::evaluateScriptCallback):
2600 (DebuggerDocument::currentFunctionStackCallback):
2601 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2602 (DebuggerDocument::valueForScopeVariableNamedCallback):
2603 (DebuggerDocument::logCallback):
2604 * Drosera/DebuggerDocument.h:
2605 (DebuggerDocument::getPaused):
2606 * Drosera/mac/DebuggerClient.mm:
2607 (-[DebuggerClient pause:]):
2608 (-[DebuggerClient resume:]):
2609 (-[DebuggerClient stepInto:]):
2610 (-[DebuggerClient stepOver:]):
2611 (-[DebuggerClient stepOut:]):
2612 (-[DebuggerClient showConsole:]):
2613 (-[DebuggerClient closeCurrentFile:]):
2614 (-[DebuggerClient validateUserInterfaceItem:]):
2615 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2616 (+[NSString stringOrNilFromWebScriptResult:]):
2617 (DebuggerDocument::platformPause):
2618 (DebuggerDocument::platformResume):
2619 (DebuggerDocument::platformStepInto):
2620 (DebuggerDocument::platformEvaluateScript):
2621 (DebuggerDocument::getPlatformCurrentFunctionStack):
2622 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2623 (DebuggerDocument::platformValueForScopeVariableNamed):
2624 (DebuggerDocument::platformLog):
2625 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2627 2007-09-12 Sam Weinig <sam@webkit.org>
2629 Build fix for Buildbot.
2631 * DumpRenderTree/DumpRenderTree.mm:
2634 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2638 - Updated the leaks list for leopard to help identify regressions.
2640 * Scripts/run-webkit-tests:
2642 2007-09-12 Sam Weinig <sam@webkit.org>
2644 Rubber stamped by Darin.
2646 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2648 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2649 * DumpRenderTree/DumpRenderTree.m: Removed.
2650 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2651 (stopJavaScriptThreads): Fix initialization.
2652 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2653 (dumpRenderTree): Ditto.
2655 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2657 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2658 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2659 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2660 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2661 (-[FrameLoadDelegate init]):
2662 (-[FrameLoadDelegate dealloc]):
2663 (-[FrameLoadDelegate processWork:]):
2664 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2665 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2666 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2668 * DumpRenderTree/LayoutTestController.cpp: Added.
2669 (LayoutTestController::LayoutTestController):
2670 (LayoutTestController::~LayoutTestController):
2671 (dumpAsTextCallback):
2672 (dumpBackForwardListCallback):
2673 (dumpChildFramesAsTextCallback):
2674 (dumpChildFrameScrollPositionsCallback):
2675 (dumpDOMAsWebArchiveCallback):
2676 (dumpEditingCallbacksCallback):
2677 (dumpFrameLoadCallbacksCallback):
2678 (dumpResourceLoadCallbacksCallback):
2679 (dumpSelectionRectCallback):
2680 (dumpSourceAsWebArchiveCallback):
2681 (dumpTitleChangesCallback):
2682 (repaintSweepHorizontallyCallback):
2683 (setCallCloseOnWebViewsCallback):
2684 (setCanOpenWindowsCallback):
2685 (setCloseRemainingWindowsWhenCompleteCallback):
2686 (testRepaintCallback):
2687 (addFileToPasteboardOnDragCallback):
2688 (addDisallowedURLCallback):
2689 (clearBackForwardListCallback):
2690 (decodeHostNameCallback):
2692 (encodeHostNameCallback):
2693 (keepWebHistoryCallback):
2694 (notifyDoneCallback):
2695 (queueBackNavigationCallback):
2696 (queueForwardNavigationCallback):
2697 (queueLoadCallback):
2698 (queueReloadCallback):
2699 (queueScriptCallback):
2700 (setAcceptsEditingCallback):
2701 (setCustomPolicyDelegateCallback):
2702 (setMainFrameIsFirstResponderCallback):
2703 (setTabKeyCyclesThroughElementsCallback):
2704 (setUseDashboardCompatibilityModeCallback):
2705 (setUserStyleSheetEnabledCallback):
2706 (setUserStyleSheetLocationCallback):
2707 (setWindowIsKeyCallback):
2708 (waitUntilDoneCallback):
2709 (windowCountCallback):
2710 (LayoutTestController::makeWindowObject):
2711 (LayoutTestController::getLayoutTestControllerJSClass):
2712 (LayoutTestController::staticFunctions):
2713 * DumpRenderTree/LayoutTestController.h: Replaced.
2714 * DumpRenderTree/LayoutTestController.m: Removed.
2715 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2716 (LayoutTestController::dumpAsText):
2717 (LayoutTestController::dumpBackForwardList):
2718 (LayoutTestController::dumpChildFramesAsText):
2719 (LayoutTestController::dumpChildFrameScrollPositions):
2720 (LayoutTestController::dumpDOMAsWebArchive):
2721 (LayoutTestController::dumpEditingCallbacks):
2722 (LayoutTestController::dumpFrameLoadCallbacks):
2723 (LayoutTestController::dumpResourceLoadCallbacks):
2724 (LayoutTestController::dumpSelectionRect):
2725 (LayoutTestController::dumpSourceAsWebArchive):
2726 (LayoutTestController::dumpTitleChanges):
2727 (LayoutTestController::repaintSweepHorizontally):
2728 (LayoutTestController::setCallCloseOnWebViews):
2729 (LayoutTestController::setCanOpenWindows):
2730 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2731 (LayoutTestController::testRepaint):
2732 (LayoutTestController::addFileToPasteboardOnDrag):
2733 (LayoutTestController::addDisallowedURL):
2734 (LayoutTestController::clearBackForwardList):
2735 (LayoutTestController::decodeHostName):
2736 (LayoutTestController::encodeHostName):
2737 (LayoutTestController::display):
2738 (LayoutTestController::keepWebHistory):
2739 (LayoutTestController::notifyDone):
2740 (LayoutTestController::queueBackNavigation):
2741 (LayoutTestController::queueForwardNavigation):
2742 (LayoutTestController::queueLoad):
2743 (LayoutTestController::queueReload):
2744 (LayoutTestController::queueScript):
2745 (LayoutTestController::setAcceptsEditing):
2746 (LayoutTestController::setCustomPolicyDelegate):
2747 (LayoutTestController::setMainFrameIsFirstResponder):
2748 (LayoutTestController::setTabKeyCyclesThroughElements):
2749 (LayoutTestController::setUseDashboardCompatibilityMode):
2750 (LayoutTestController::setUserStyleSheetEnabled):
2751 (LayoutTestController::setUserStyleSheetLocation):
2752 (LayoutTestController::setWindowIsKey):
2753 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2754 (LayoutTestController::waitUntilDone):
2755 (LayoutTestController::windowCount):
2756 Use the JSCore API to implement the LayoutTestController.
2758 * DumpRenderTree/ObjCController.h:
2759 * DumpRenderTree/ObjCController.m:
2760 (+[ObjCController isSelectorExcludedFromWebScript:]):
2761 (+[ObjCController webScriptNameForSelector:]):
2762 (-[ObjCController accessStoredWebScriptObject]):
2763 (-[ObjCController storeWebScriptObject:]):
2764 (-[ObjCController dealloc]):
2765 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2766 Move WebScriptObject tests to ObjCController.
2768 * DumpRenderTree/UIDelegate.m: Removed.
2769 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2771 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2772 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2773 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2774 (WorkQueueItem::~WorkQueueItem):
2775 (LoadItem::LoadItem):
2778 (ScriptItem::ScriptItem):
2779 (ScriptItem::script):
2780 * DumpRenderTree/WorkQueueItemMac.mm: Added.
2782 (ReloadItem::invoke):
2783 (ScriptItem::invoke):
2784 (BackForwardItem::invoke):
2785 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2786 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
2789 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2793 - Updated Win side to take advantage of the platform separating changes.
2795 * Drosera/DebuggerDocument.cpp:
2796 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2797 * Drosera/DebuggerDocument.h:
2798 * Drosera/win/DebuggerClient.cpp:
2799 (DebuggerClient::pause):
2800 (DebuggerClient::resume):
2801 (DebuggerClient::stepInto):
2802 (DebuggerDocument::platformPause):
2803 (DebuggerDocument::platformResume):
2804 (DebuggerDocument::platformStepInto):
2805 (DebuggerDocument::platformEvaluateScript):
2806 (DebuggerDocument::getPlatformCurrentFunctionStack):
2807 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2808 (DebuggerDocument::platformValueForScopeVariableNamed):
2809 (DebuggerDocument::platformLog):
2810 * Drosera/win/DebuggerClient.h:
2811 * Drosera/win/Drosera.cpp:
2813 (Drosera::windowScriptObjectAvailable):
2814 (Drosera::initWithServerName):
2815 (Drosera::switchToServerNamed):
2816 * Drosera/win/Drosera.h:
2817 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2819 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2823 - Just doing the moves in a separate patch so the changes are easier to see.
2825 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2826 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2827 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2828 * Drosera/win/DebuggerDocumentWin.h: Removed.
2829 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2831 2007-09-11 Sven Herzberg <sven@imendio.com>
2833 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2834 http://bugs.webkit.org/show_bug.cgi?id=15176
2836 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2837 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2838 other paths eg. from jhbuild)
2840 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2844 - Made an order-of-deletion mistake.
2846 * Drosera/DebuggerDocument.h:
2847 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2848 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2849 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2850 * Drosera/mac/DebuggerClient.mm:
2851 (DebuggerDocument::platformPause):
2852 (DebuggerDocument::platformResume):
2853 (DebuggerDocument::platformStepInto):
2854 (DebuggerDocument::platformEvaluateScript):
2855 (DebuggerDocument::getPlatformCurrentFunctionStack):
2856 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2857 (DebuggerDocument::platformValueForScopeVariableNamed):
2858 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2860 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2864 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2866 * Drosera/DebuggerDocument.cpp:
2867 (DebuggerDocument::DebuggerDocument):
2868 * Drosera/DebuggerDocument.h:
2869 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2870 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2871 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2872 * Drosera/mac/DebuggerApplication.mm:
2873 (-[DebuggerApplication attach:]):
2874 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2875 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2876 (DebuggerDocument::platformPause):
2877 (DebuggerDocument::platformResume):
2878 (DebuggerDocument::platformStepInto):
2879 (DebuggerDocument::platformEvaluateScript):
2880 (DebuggerDocument::getPlatformCurrentFunctionStack):
2881 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2882 (DebuggerDocument::platformValueForScopeVariableNamed):
2883 (DebuggerDocument::platformLog):
2884 * Drosera/mac/DebuggerDocumentMac.h: Removed.
2885 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2886 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2888 2007-09-09 Sam Weinig <sam@webkit.org>
2890 Reviewed by Mark Rowe.
2892 Remove 'objC' prefix from methods now in the ObjCController.
2894 * DumpRenderTree/ObjCController.m:
2895 (+[ObjCController isSelectorExcludedFromWebScript:]):
2896 (+[ObjCController webScriptNameForSelector:]):
2897 (-[ObjCController classNameOf:]):
2898 (-[ObjCController objectOfClass:]):
2899 (-[ObjCController identityIsEqual::]):
2900 (-[ObjCController longLongRoundTrip:]):
2901 (-[ObjCController unsignedLongLongRoundTrip:]):
2903 2007-09-09 Sam Weinig <sam@webkit.org>
2907 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
2908 - Move LayoutTestController into its own file.
2909 - Move Objective-C only functions on LayoutTestController into a new controller called the
2912 * DumpRenderTree/DumpRenderTree.h:
2913 * DumpRenderTree/DumpRenderTree.m:
2915 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2916 * DumpRenderTree/FrameLoadDelegate.m:
2917 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2918 * DumpRenderTree/LayoutTestController.h: Added.
2919 * DumpRenderTree/LayoutTestController.m: Added.
2920 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2921 (+[LayoutTestController webScriptNameForSelector:]):
2922 (-[LayoutTestController clearBackForwardList]):
2923 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2924 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2925 (-[LayoutTestController setCustomPolicyDelegate:]):
2926 (-[LayoutTestController keepWebHistory]):
2927 (-[LayoutTestController setCallCloseOnWebViews:]):
2928 (-[LayoutTestController setCanOpenWindows]):
2929 (-[LayoutTestController waitUntilDone]):
2930 (-[LayoutTestController waitUntilDoneWatchdogFired]):
2931 (-[LayoutTestController notifyDone]):
2932 (-[LayoutTestController dumpAsText]):
2933 (-[LayoutTestController addFileToPasteboardOnDrag]):
2934 (-[LayoutTestController addDisallowedURL:]):
2935 (-[LayoutTestController setUserStyleSheetLocation:]):
2936 (-[LayoutTestController setUserStyleSheetEnabled:]):
2937 (-[LayoutTestController dumpDOMAsWebArchive]):
2938 (-[LayoutTestController dumpSourceAsWebArchive]):
2939 (-[LayoutTestController dumpSelectionRect]):
2940 (-[LayoutTestController dumpTitleChanges]):
2941 (-[LayoutTestController dumpBackForwardList]):
2942 (-[LayoutTestController windowCount]):
2943 (-[LayoutTestController dumpChildFrameScrollPositions]):
2944 (-[LayoutTestController dumpChildFramesAsText]):
2945 (-[LayoutTestController dumpEditingCallbacks]):
2946 (-[LayoutTestController dumpResourceLoadCallbacks]):
2947 (-[LayoutTestController dumpFrameLoadCallbacks]):
2948 (-[LayoutTestController setWindowIsKey:]):
2949 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2950 (-[LayoutTestController display]):
2951 (-[LayoutTestController testRepaint]):
2952 (-[LayoutTestController repaintSweepHorizontally]):
2953 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2954 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2955 (-[LayoutTestController _doLoad:target:]):
2956 (-[LayoutTestController _doBackOrForwardNavigation:]):
2957 (-[LayoutTestController queueBackNavigation:]):
2958 (-[LayoutTestController queueForwardNavigation:]):
2959 (-[LayoutTestController queueReload]):
2960 (-[LayoutTestController queueScript:]):
2961 (-[LayoutTestController queueLoad:target:]):
2962 (-[LayoutTestController setAcceptsEditing:]):
2963 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2964 (-[LayoutTestController storeWebScriptObject:]):
2965 (-[LayoutTestController accessStoredWebScriptObject]):
2966 (-[LayoutTestController dealloc]):
2967 (-[LayoutTestController decodeHostName:]):
2968 (-[LayoutTestController encodeHostName:]):
2969 * DumpRenderTree/ObjCController.h: Added.
2970 * DumpRenderTree/ObjCController.m: Added.
2971 (+[ObjCController isSelectorExcludedFromWebScript:]):
2972 (+[ObjCController webScriptNameForSelector:]):
2973 (-[ObjCController objCClassNameOf:]):
2974 (-[ObjCController objCObjectOfClass:]):
2975 (-[ObjCController objCIdentityIsEqual::]):
2976 (-[ObjCController objCLongLongRoundTrip:]):
2977 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2978 (-[ObjCController testWrapperRoundTripping:]):
2980 2007-09-07 Sam Weinig <sam@webkit.org>
2984 Strip trailing and leading space/newline characters from skiplist file names.
2986 * Scripts/run-webkit-tests:
2988 2007-09-06 Kevin McCullough <kmccullough@apple.com>
2992 - Changed Drosera to take advantage of the JSRetainPtr changes.
2994 * Drosera/DebuggerDocument.cpp:
2995 (DebuggerDocument::breakpointEditorHTML):
2996 (DebuggerDocument::evaluateScript):
2997 (DebuggerDocument::valueForScopeVariableNamed):
2998 (DebuggerDocument::log):
2999 (DebuggerDocument::windowScriptObjectAvailable):
3000 (DebuggerDocument::toJSArray):
3001 (DebuggerDocument::callFunctionOnObject):
3002 (DebuggerDocument::logException):
3003 * Drosera/mac/DebuggerDocumentMac.mm:
3004 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3005 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3006 (DebuggerDocument::platformEvaluateScript):
3007 (DebuggerDocument::getPlatformCurrentFunctionStack):
3008 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3009 (DebuggerDocument::platformValueForScopeVariableNamed):
3011 2007-09-05 Kevin McCullough <kmccullough@apple.com>
3013 Reviewed by Adam, Sam, Darin.
3015 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
3017 * Drosera/Debugger.h: Added.
3018 * Drosera/DebuggerDocument.cpp:
3019 (DebuggerDocument::breakpointEditorHTMLCallback):
3020 (DebuggerDocument::isPausedCallback):
3021 (DebuggerDocument::pauseCallback):
3022 (DebuggerDocument::resumeCallback):
3023 (DebuggerDocument::stepIntoCallback):
3024 (DebuggerDocument::evaluateScriptCallback):
3025 (DebuggerDocument::currentFunctionStackCallback):
3026 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3027 (DebuggerDocument::valueForScopeVariableNamedCallback):
3028 (DebuggerDocument::logCallback):
3029 (DebuggerDocument::breakpointEditorHTML):
3030 (DebuggerDocument::isPaused):
3031 (DebuggerDocument::pause):
3032 (DebuggerDocument::resume):
3033 (DebuggerDocument::stepInto):
3034 (DebuggerDocument::evaluateScript):
3035 (DebuggerDocument::currentFunctionStack):
3036 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3037 (DebuggerDocument::valueForScopeVariableNamed):
3038 (DebuggerDocument::log):
3039 (DebuggerDocument::toolbarPause):
3040 (DebuggerDocument::toolbarResume):
3041 (DebuggerDocument::toolbarStepInto):
3042 (DebuggerDocument::toolbarStepOver):
3043 (DebuggerDocument::toolbarStepOut):
3044 (DebuggerDocument::toolbarShowConsole):
3045 (DebuggerDocument::toolbarCloseCurrentFile):
3046 (DebuggerDocument::updateFileSource):
3047 (DebuggerDocument::didParseScript):
3048 (DebuggerDocument::willExecuteStatement):
3049 (DebuggerDocument::didEnterCallFrame):
3050 (DebuggerDocument::willLeaveCallFrame):
3051 (DebuggerDocument::exceptionWasRaised):
3052 (DebuggerDocument::windowScriptObjectAvailable):
3053 (DebuggerDocument::toJSArray):
3054 (DebuggerDocument::callGlobalFunction):
3055 (DebuggerDocument::callFunctionOnObject):
3056 (DebuggerDocument::getDroseraJSClass):
3057 (DebuggerDocument::staticFunctions):
3058 (DebuggerDocument::logException):
3059 * Drosera/DebuggerDocument.h:
3060 (DebuggerDocument::DebuggerDocument):
3061 * Drosera/ForwardingHeaders: Added.
3062 * Drosera/ForwardingHeaders/wtf: Added.
3063 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3065 * Drosera/console.html:
3066 * Drosera/console.js:
3067 * Drosera/debugger.js:
3068 * Drosera/mac/DebuggerApplication.mm:
3069 (-[DebuggerApplication attach:]):
3070 * Drosera/mac/DebuggerDocumentMac.h:
3071 * Drosera/mac/DebuggerDocumentMac.mm:
3072 (+[NSString stringOrNilFromWebScriptResult:]):
3073 (+[DebuggerClientMac log:]):
3074 (-[DebuggerClientMac initWithServerName:]):
3075 (-[DebuggerClientMac dealloc]):
3076 (-[DebuggerClientMac pause]):
3077 (-[DebuggerClientMac resume]):
3078 (-[DebuggerClientMac pause:]):
3079 (-[DebuggerClientMac resume:]):
3080 (-[DebuggerClientMac stepInto:]):
3081 (-[DebuggerClientMac stepOver:]):
3082 (-[DebuggerClientMac stepOut:]):
3083 (-[DebuggerClientMac showConsole:]):
3084 (-[DebuggerClientMac closeCurrentFile:]):
3085 (-[DebuggerClientMac validateUserInterfaceItem:]):
3086 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3087 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3088 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3089 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3090 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3091 (DebuggerDocument::platformPause):
3092 (DebuggerDocument::platformResume):
3093 (DebuggerDocument::platformStepInto):
3094 (DebuggerDocument::platformEvaluateScript):
3095 (DebuggerDocument::platformCurrentFunctionStack):
3096 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3097 (DebuggerDocument::platformValueForScopeVariableNamed):
3098 (DebuggerDocument::platformLog):
3099 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3101 2007-09-06 Sam Weinig <sam@webkit.org>
3103 Reviewed by Adam Roben.
3105 Register the WebKit DLL on initialization of the DumpRenderTree.
3107 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3110 2007-09-05 Sam Weinig <sam@webkit.org>
3114 Fix many layout test failures caused by r25364.
3115 Set text size to standand size at the begining of each test matching the mac.
3117 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3120 2007-09-04 Sam Weinig <sam@webkit.org>
3124 Fix for <rdar://problem/5382277>
3125 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3127 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3128 (textZoomInCallback):
3129 (textZoomOutCallback):
3131 2007-08-29 David Kilzer <ddkilzer@apple.com>
3135 Added case-insensitivity to checks for adding regression tests.
3137 * Scripts/prepare-ChangeLog:
3140 2007-08-28 David Kilzer <ddkilzer@apple.com>
3144 Ignore files in /resources/ subdirectories when creating a list of added tests.
3146 * Scripts/prepare-ChangeLog:
3149 2007-08-27 Kevin McCullough <kmccullough@apple.com>
3153 - Removed Leopard leaks list since all of those radars were fixed.
3155 * Scripts/run-webkit-tests:
3157 2007-08-27 Adam Roben <aroben@apple.com>
3159 Rubberstamped by Mark.
3161 * Scripts/pdevenv: Pass arguments along to devenv.com.
3163 2007-08-26 David Kilzer <ddkilzer@webkit.org>
3165 Reviewed by Mark Rowe.
3167 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3169 * Scripts/prepare-ChangeLog:
3170 (changeLogDate): Added.
3172 2007-08-24 Sam Weinig <sam@webkit.org>
3174 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3176 2007-08-24 Sam Weinig <sam@webkit.org>
3178 Rubber-stamped by Adam Roben.
3180 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3182 Rename COM DOM bindings to use Deprecated prefix.
3184 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3187 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
3190 (EditingDelegate::shouldBeginEditingInDOMRange):
3191 (EditingDelegate::shouldEndEditingInDOMRange):
3192 (EditingDelegate::shouldInsertNode):
3193 (EditingDelegate::shouldInsertText):
3194 (EditingDelegate::shouldDeleteDOMRange):
3195 (EditingDelegate::shouldChangeSelectedDOMRange):
3196 (EditingDelegate::shouldApplyStyle):
3197 (EditingDelegate::shouldChangeTypingStyle):
3198 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
3200 2007-08-24 Oliver Hunt <oliver@apple.com>
3204 WebDataSource::response can legitimately have a null response, so we
3205 must check that case.
3207 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3208 (queueLoadCallback):
3210 2007-08-23 Mitz Pettel <mitz@webkit.org>
3212 Reviewed by Darin and Adam.
3214 - DumpRenderTree changes to allow testing for
3215 http://bugs.webkit.org/show_bug.cgi?id=11756
3216 REGRESSION: link targeting a frame in another window does not work
3217 <rdar://problem/5286420>
3219 Use a frame group name for all WebViews created by DumpRenderTree to
3220 allow testing of cross-page frame lookup.
3222 * DumpRenderTree/DumpRenderTree.m:
3223 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
3224 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3225 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
3227 2007-08-23 David Kilzer <ddkilzer@webkit.org>
3231 Quote the $sslCertificate path in case it contains a space.
3233 * Scripts/run-webkit-httpd:
3234 * Scripts/run-webkit-tests:
3236 2007-08-22 Oliver Hunt <oliver@apple.com>
3238 Reviewed by John and Adam.
3240 WebDataSource::response can legitimately have a null response, so we
3241 must check that case.
3243 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3246 2007-08-21 Kevin McCullough <kmccullough@apple.com>
3250 - Changing the usage to be more clear.
3252 * Scripts/run-testkjs:
3254 2007-08-20 John Sullivan <sullivan@apple.com>
3256 Reviewed by Adam Roben
3258 * DumpRenderTree/DumpRenderTree.m:
3260 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
3261 in layout tests on Tiger and Leopard
3263 2007-08-20 Adam Roben <aroben@apple.com>
3265 Put LayoutTests after all other ChangeLogs in commit logs
3267 We use "~" to sort LayoutTests after all the other ChangeLogs because
3268 "~" is the last ASCII character (other than "DEL").
3272 * Scripts/commit-log-editor:
3274 2007-08-20 Adam Roben <aroben@apple.com>
3276 Detect that DRT crashed even if a crash dialog is running
3278 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
3279 process is still running at this point, so run-webkit-tests wouldn't
3280 detect that DRT had crashed. We now record the crash in our SIGPIPE
3281 handler so that we know if DRT crashed even if the crash dialog is up.
3285 * Scripts/run-webkit-tests:
3286 (sub catch_pipe): Set the crashed bit.
3287 (sub openDumpTool): Reset the crashed bit.
3288 (sub dumpToolDidCrash): Check the crashed bit.
3290 2007-08-20 Adam Roben <aroben@apple.com>
3292 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
3294 http://bugs.webkit.org/show_bug.cgi?id=15026
3296 Reviewed by David Kilzer and Darin Adler.
3298 * Scripts/prepare-ChangeLog:
3299 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
3300 (sub isAddedStatus): Ditto.
3301 (sub testListForChangeLog): Added.
3303 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
3307 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
3309 * Scripts/webkitdirs.pm:
3310 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
3312 2007-08-17 Darin Adler <darin@apple.com>
3314 Reviewed by Oliver Hunt.
3316 - don't look for Apple-style localizable strings in the GTK version of WebKit
3318 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
3319 name of subdirectories to skip.
3320 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
3323 2007-08-17 Anders Carlsson <andersca@apple.com>
3327 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3330 2007-08-17 Anders Carlsson <andersca@apple.com>
3332 Reviewed by Dave Hyatt.
3334 <rdar://problem/5379040>
3335 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
3337 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
3339 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3341 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3342 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3346 2007-08-16 Alice Liu <alice.liu@apple.com>
3350 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
3352 * DumpRenderTree/DumpRenderTree.m:
3354 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
3356 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
3358 2007-08-16 Kevin McCullough <kmccullough@apple.com>
3362 - 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.
3364 * Scripts/run-webkit-tests:
3366 2007-08-15 Timothy Hatcher <timothy@apple.com>
3368 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
3369 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
3371 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
3372 this prevents making "build" directories in each project folder.
3374 * Scripts/webkitdirs.pm:
3376 2007-08-14 Geoffrey Garen <ggaren@apple.com>
3378 Reviewed by Kevin Mccullough.
3380 Removed special case that didn't belong. (It would allow a global
3381 initializer to sneak into production builds, which would cause a
3382 system-wide performance regression on Mac OS X.)
3384 * Scripts/check-for-global-initializers:
3386 2007-08-14 Justin Garcia <justin.garcia@apple.com>
3390 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
3392 * DumpRenderTree/EditingDelegate.m:
3393 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
3394 only for elements with the class needsDeletionUI.
3396 2007-08-14 David Kilzer <ddkilzer@webkit.org>
3400 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
3401 svn-create-patch uses deprecated tail switch
3403 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
3405 2007-08-13 Sam Weinig <sam@webkit.org>
3407 Reviewed by Adam Roben.
3409 Use the cygwin specific Apache config file under cygwin.
3411 * Scripts/run-webkit-httpd:
3413 2007-08-12 Adam Roben <aroben@apple.com>
3415 Generate results for new tests in a more logical location
3417 New platform-specific tests always have their results generated right
3418 next to the test. New cross-platform tests will have their results
3419 generated a) in the cross-platform directory, if they are text-only,
3420 or b) in the least-specific platform directory, if they are render
3425 * Scripts/run-webkit-tests:
3427 2007-08-12 Adam Roben <aroben@apple.com>
3429 Print the actual directory where new results are generated.
3431 Before, we were printing an unpredictable, context-specific substring
3436 * Scripts/run-webkit-tests:
3438 2007-08-12 Adam Roben <aroben@apple.com>
3440 Factor some common code into a stripExtension() subroutine.
3444 * Scripts/run-webkit-tests: Also removed some debugging output.
3446 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
3448 Reviewed over and over and over by Adam Roben.
3450 Bug 14740: Hierarchical layout tests and platform organization
3451 http://bugs.webkit.org/show_bug.cgi?id=14740
3453 Add support for platform-specific layout tests and results.
3455 * Scripts/run-webkit-tests:
3457 2007-08-11 David Kilzer <ddkilzer@webkit.org>
3461 Refactored svn-create-path to use a hash-of-hashes data structure to keep
3462 track of changed files. In the top level hash, keys are paths to files and
3463 values are 'fileData' hashes with the following keys and values:
3465 - isBinary: boolean value (set to true for non-text files like images, etc.)
3466 - isTestFile: boolean value (set to true if file exists within a known test
3468 - modificationType: string equal to one of 'addition', 'additionWithHistory',
3469 'modification' or 'deletion'
3470 - path: string equal to the path to the file (this may seem redundant, but it
3471 is required to use the second-level 'fileData' hash independent of the
3473 - sourceFile: [optional] string equal to the path of the original file that was
3475 - sourceRevision: [optional] string equal to the revision of the original file
3476 that was copied or moved
3478 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3479 that saves the return value in $result, then checks it before printing help.
3480 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3481 and eliminated two for() loops.
3482 (binarycmp): Added. Used with sort() to order non-binary files before binary
3484 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
3485 (findMimeType): Added optional second argument that takes a revision number.
3486 (generateDiff): Updated to take one fileData argument instead of three ($file,
3487 $modificationType, $isBinary).
3488 (generateFileList): Updated to take one hash ref argument (%diffFiles)
3489 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
3490 %diffFiles using paths for keys and fileData hashes for values.
3491 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3493 (pathcmp): Updated to take two fileData arguments instead of two strings.
3494 (testfilecmp): Added. Used with sort() to order non-test files before test
3497 2007-08-11 Darin Adler <darin@apple.com>
3499 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3501 2007-08-06 Nigel Tao <nigeltao@gnome.org>
3503 Reviewed by David Kilzer.
3505 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3506 http://bugs.webkit.org/show_bug.cgi?id=14745
3508 * Scripts/run-launcher:
3509 Scrub the "--gdk" out of the command line args, if given, so that
3510 GdkLauncher doesn't try to interpret it as a URL.
3512 2007-08-03 Adam Roben <aroben@apple.com>
3514 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3518 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3520 2007-08-03 Sam Weinig <sam@webkit.org>
3524 Recursively dump all frames as text using new
3525 layoutTestController.dumpChildFramesAsText() function.
3527 * DumpRenderTree/DumpRenderTree.m:
3530 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3531 (-[LayoutTestController dumpChildFramesAsText]):
3533 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3537 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3538 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3539 (dumpChildFramesAsTextCallback):
3540 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3542 2007-08-02 Adam Roben <aroben@apple.com>
3544 Fix fast/dom/Window/alert-undefined.html