1 2007-11-01 Adam Roben <aroben@apple.com>
3 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
7 * Scripts/commit-log-editor: Show all the directories beneath the
8 source root, instead of just the last one.
10 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
12 Reviewed by Adam Roben.
14 Print out an error message when the Windows build fails
15 and provide guidance on how to find out what went wrong.
17 * Scripts/build-webkit:
18 * Scripts/webkitdirs.pm:
20 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
22 Rubber-stamped by Adam Roben.
24 Rolled out r27326 - debug CRT seems to cause no problems after all.
26 * DumpRenderTree/win/DumpRenderTree.vcproj:
28 2007-10-31 Adam Roben <aroben@apple.com>
30 Switch the Debug configuration to using the non-debug CRT
36 * DumpRenderTree/win/DumpRenderTree.vcproj:
38 2007-10-31 Antti Koivisto <antti@apple.com>
42 Disable media tests when doing leak checking on Tiger.
43 They crash in QuickTime (rdar://problem/5537157).
45 * Scripts/run-webkit-tests:
47 2007-10-29 Antti Koivisto <antti@apple.com>
51 Build media support by default on OSX only.
53 * Scripts/build-webkit:
55 2007-10-30 Kevin McCullough <kmccullough@apple.com>
57 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
58 get caught by the pre-commit hooks.
60 2007-10-30 Kevin McCullough <kmccullough@apple.com>
64 - This is a collection of relatively unrelated changes and cleanups
65 to Drosera to prepare it for interacting with WebKit. A lot of these
66 changes are just correcting mistakes, for example removing included
67 headers that are no longer needed.
69 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
70 this will be needed by the DebuggerClient.
71 (DebuggerDocument::server):
72 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
73 * Drosera/win/DebuggerClient.cpp:
74 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
75 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
76 (DebuggerClient::createWebViewWithRequest): Added comment about its
78 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
80 (DebuggerClient::webViewLoaded): Moved.
81 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
82 file, since this was the only place it was used.
84 * Drosera/win/Drosera.h: Cleaned up the includes.
85 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
86 * Drosera/win/HelperFunctions.h: Removed.
88 2007-10-30 Kevin McCullough <kmccullough@apple.com>
92 - Small cleanup in the ServerConnection class.
94 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
96 (ServerConnection::currentFrame):
97 (ServerConnection::getCallerFrame):
98 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
99 made a pointer into a COMPtr, and cleaned up the includes.
101 2007-10-29 Timothy Hatcher <timothy@apple.com>
103 Reviewed by John Sullivan.
105 - Place the Localizable.strings file in mac or win directories
106 if that location exists.
107 - Also look for UI_STRING in .c files.
109 * Scripts/extract-localizable-strings:
111 2007-10-30 Kevin McCullough <kmccullough@apple.com>
115 - Set the eol-style to native and made all the line endings the same
116 so that I avoid messy diffs that show eol changes.
118 * Drosera/win/ServerConnection.cpp:
119 (ServerConnection::didParseSource):
120 (ServerConnection::didEnterCallFrame):
121 (ServerConnection::willExecuteStatement):
122 (ServerConnection::willLeaveCallFrame):
123 (ServerConnection::exceptionWasRaised):
125 2007-10-30 Kevin McCullough <kmccullough@apple.com>
129 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
130 functionality that could not have existed previously without the new
132 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
133 from a BSTR to a JSValueRef.
134 (DebuggerDocument::platformEvaluateScript): Implemented.
135 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
136 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
138 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
139 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
140 * Drosera/win/ServerConnection.cpp: Added a helper function.
141 (ServerConnection::getCallerFrame):
142 * Drosera/win/ServerConnection.h: Added a helper function.
144 2007-10-29 Kevin McCullough <kmccullough@apple.com>
146 updated reviewers for my previous changelog.
148 2007-10-29 Kevin McCullough <kmccullough@apple.com>
149 Reviewed by Maciej and Adam and Geoff.
151 - Minor mac-side improvements including moving a function to a more
152 appropriate location, fixing a warning, and correctly checking
155 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
156 (DebuggerDocument::willExecuteStatement):
157 (DebuggerDocument::didEnterCallFrame):
158 (DebuggerDocument::willLeaveCallFrame):
159 (DebuggerDocument::windowScriptObjectAvailable):
160 (DebuggerDocument::callFunctionOnObject):
161 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
162 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
163 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
164 because it doesn't require the ServerConnection at all.
165 (NSStringCreateWithJSStringRef): Made an argument const.
166 (JSValueRefCreateWithNSString): Made an argument const.
167 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
168 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
169 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
170 * Drosera/mac/ServerConnection.mm: Ditto.
171 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
173 2007-10-29 Sam Weinig <sam@webkit.org>
175 Reviewed by Adam Roben.
177 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
179 * DumpRenderTree/LayoutTestController.cpp:
180 (LayoutTestController::LayoutTestController):
181 (getGlobalFlagCallback):
182 (setGlobalFlagCallback):
183 (LayoutTestController::getJSClass):
184 (LayoutTestController::staticValues):
185 * DumpRenderTree/LayoutTestController.h:
186 (LayoutTestController::globalFlag):
187 (LayoutTestController::setGlobalFlag):
189 2007-10-29 Darin Adler <darin@apple.com>
193 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
194 resolution instead of its default.
196 2007-10-29 David Kilzer <ddkilzer@webkit.org>
198 Fixed showStatus() to print status for successfully resolved conflicts when using git.
200 Reviewed by Mark Rowe.
202 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
203 was successfully resolved, but this would not show any status because the change had
204 already been cached in the index using "git add". The solution is to add an optional
205 second argument to showStatus() which adds the "--cached" switch to the command.
207 * Scripts/resolve-ChangeLogs:
210 2007-10-28 Eric Seidel <eric@webkit.org>
212 Reviewed by Maciej and Geoff, in unison.
214 * Scripts/run-webkit-tests: remove broken --svg option
216 2007-10-28 Darin Adler <darin@apple.com>
220 * Scripts/run-sunspider: Default to "Release" configuration rather than
221 defaulting to the last configuration used as other scripts do. This can
222 still be overriden on the command line with "--debug" if there's some
223 reason to do so. Also fix a typo.
225 * Scripts/sunspider-compare-results: Fix a typo.
227 2007-10-26 Kevin McCullough <kmccullough@apple.com>
231 - Implemented the WebScriptDebugListener functions now that the
232 WebScriptDebugServer exists
234 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
236 (ServerConnection::currentFrame):
237 (ServerConnection::didLoadMainResourceForDataSource):
238 (ServerConnection::didParseSource):
239 (ServerConnection::failedToParseSource):
240 (ServerConnection::didEnterCallFrame):
241 (ServerConnection::willExecuteStatement):
242 (ServerConnection::willLeaveCallFrame):
243 (ServerConnection::exceptionWasRaised):
244 * Drosera/win/ServerConnection.h: Removed unused arguments from the
245 members arguments list.
247 2007-10-26 David Kilzer <ddkilzer@webkit.org>
249 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
250 <http://bugs.webkit.org/show_bug.cgi?id=15600>
254 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
255 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
256 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
257 file. Note that it may also be used as a stand-alone script.
259 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
260 * Scripts/resolve-ChangeLogs: Added.
261 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
263 2007-10-26 Mark Rowe <mrowe@apple.com>
265 Qt build fix. r27084 added a destructor implementation for LayoutTestController
266 to the Qt port on the assumption that it was an implementation of the cross-platform
267 LayoutTestController class. It is not, so it did not need to be changed.
269 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
271 2007-10-25 Mark Rowe <mrowe@apple.com>
275 Fix builds with code coverage enabled.
277 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
279 2007-10-25 Darin Adler <darin@apple.com>
281 Reviewed by Mark Rowe.
283 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
284 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
286 2007-10-25 Stephanie <slewis@apple.com>
290 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
292 2007-10-25 Stephanie <slewis@apple.com>
294 Reviewed by Mark Rowe, Adam Roben.
296 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
298 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
300 2007-10-25 Alice Liu <alice.liu@apple.com>
304 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
306 Moving destructor into platform-specific files
307 * DumpRenderTree/LayoutTestController.cpp:
308 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
309 (LayoutTestController::~LayoutTestController):
310 * DumpRenderTree/qt/jsobjects.cpp:
311 (LayoutTestController::~LayoutTestController):
313 LayoutTestController wasn't being destroyed
314 * DumpRenderTree/win/DumpRenderTree.cpp:
318 * DumpRenderTree/win/EditingDelegate.h:
320 Reset certain values on the webview (or related delegate) that might
321 have changed while running a test
322 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
323 (LayoutTestController::~LayoutTestController):
325 2007-10-25 Adam Roben <aroben@apple.com>
327 Make sunspider-compare-results work with relative paths
331 * Scripts/sunspider-compare-results: Convert arguments to absolute
332 paths before we chdir.
334 2007-10-25 Kevin McCullough <kmccullough@apple.com>
338 - Implemented server calls now the WebScriptDebugServer exists.
339 - Also removed no longer needed call to initialize CG.
341 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
344 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
345 (ServerConnection::ServerConnection):
346 (ServerConnection::~ServerConnection):
347 (ServerConnection::pause):
348 (ServerConnection::resume):
349 (ServerConnection::stepInto):
350 (ServerConnection::applicationTerminating):
351 (ServerConnection::serverConnectionDidDie):
352 * Drosera/win/ServerConnection.h: Now uses the COM class.
354 2007-10-24 George Staikos <staikos@kde.org>
358 * Scripts/build-webkit:
360 2007-10-24 Adam Roben <aroben@apple.com>
362 Remove now-unnecessary call to InitializeCoreGraphics
364 WebKit takes care of this now.
368 * DumpRenderTree/win/DumpRenderTree.cpp:
371 2007-10-24 Adam Roben <aroben@apple.com>
373 Use WebTextRenderer in DRT
377 * DumpRenderTree/win/DumpRenderTree.cpp:
378 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
380 2007-10-24 Sven Herzberg <sven@imendio.com>
382 Reviewed by Mark Rowe.
384 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
385 Bug 15614: [GTK] qmake based backends don't build on OS X
387 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
389 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
390 isDarwin() to make it reusable in other places (like the workaround-
391 for-prebuilt-qmake in build-webkit)
393 2007-10-24 David Kilzer <ddkilzer@webkit.org>
395 Refurbish update-webkit script.
399 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
400 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
401 multi-argument version of system() for flexibility and security. Check for existence
402 of Internal directory using -d test instead of -x.
404 2007-10-24 David Kilzer <ddkilzer@webkit.org>
406 Minor clean-up of prepare-ChangeLog script.
410 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
411 of a string. Use multi-argument versions of open() and system() for flexibility and
414 2007-10-24 Alice Liu <alice.liu@apple.com>
418 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
420 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
421 replay the saved events when we're still processing the mousedown that starts the drag
422 * DumpRenderTree/win/EventSender.cpp:
424 * DumpRenderTree/win/UIDelegate.cpp:
425 (UIDelegate::doDragDrop):
427 2007-10-24 Kevin McCullough <kmccullough@apple.com>
429 Reviewed by Sam, Steve and Darin.
431 - Stubbed out the WebScriptDebugListener functionality in the Server
432 Connection class to prepare it for receiving those callbacks.
433 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
434 and the ServerConnection to not need to be initialized with a server
435 name, since that is not the way we connect to the WebKit server.
437 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
438 no exception. Now it only loggs when there is an exception
439 (DebuggerDocument::willExecuteStatement):
440 (DebuggerDocument::didEnterCallFrame):
441 (DebuggerDocument::willLeaveCallFrame):
442 (DebuggerDocument::windowScriptObjectAvailable):
443 (DebuggerDocument::callFunctionOnObject):
444 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
445 to be instantiated with a server's name.
446 (DebuggerClient::DebuggerClient):
447 (DebuggerClient::didFinishLoadForFrame):
448 * Drosera/win/DebuggerClient.h: Removed unsued variable.
449 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
452 (Drosera::initServer):
453 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
454 instantiated with a server's name.
455 * Drosera/win/ServerConnection.cpp:
456 (ServerConnection::ServerConnection): No longer needs a server name
457 (ServerConnection::~ServerConnection): Only release the global context
459 (ServerConnection::serverConnectionDidDie): Stub for
460 IWebScriptDebugListener
461 (ServerConnection::QueryInterface): ditto
462 (ServerConnection::AddRef): ditto
463 (ServerConnection::Release): ditto
464 (ServerConnection::didLoadMainResourceForDataSource): ditto
465 (ServerConnection::didParseSource): ditto
466 (ServerConnection::failedToParseSource): ditto
467 (ServerConnection::didEnterCallFrame): ditto
468 (ServerConnection::willExecuteStatement): ditto
469 (ServerConnection::willLeaveCallFrame): ditto
470 (ServerConnection::exceptionWasRaised): ditto
471 * Drosera/win/ServerConnection.h: Stubbed out the
472 IWebScriptDebugListener functions, and this class no longer needs to be
473 instantiated with a server name.
475 2007-10-24 Lars Knoll <lars@trolltech.com>
479 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
481 * DumpRenderTree/qt/jsobjects.h:
483 2007-10-24 Lars Knoll <lars@trolltech.com>
489 * DumpRenderTree/qt/jsobjects.cpp:
490 (TextInputController::doCommand):
492 2007-10-24 Lars Knoll <lars@trolltech.com>
496 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
498 * DumpRenderTree/qt/jsobjects.cpp:
499 (EventSender::keyDown):
500 * DumpRenderTree/qt/jsobjects.h:
502 2007-10-24 Lars Knoll <lars@trolltech.com>
506 implement eventSender.keyDown().
508 * DumpRenderTree/qt/jsobjects.cpp:
509 (EventSender::keyDown):
511 2007-10-24 Lars Knoll <lars@trolltech.com>
515 some smaller fixes to the editing support in DRT. Makes another few tests pass.
517 * DumpRenderTree/qt/DumpRenderTree.cpp:
518 (WebCore::DumpRenderTree::DumpRenderTree):
519 (WebCore::DumpRenderTree::initJSObjects):
520 * DumpRenderTree/qt/jsobjects.cpp:
521 (TextInputController::doCommand):
523 2007-10-24 Lars Knoll <lars@trolltech.com>
527 first bit of implementation for the textinputcontroller.
529 * DumpRenderTree/qt/DumpRenderTree.cpp:
530 (WebCore::DumpRenderTree::DumpRenderTree):
531 * DumpRenderTree/qt/DumpRenderTree.h:
532 * DumpRenderTree/qt/jsobjects.cpp:
533 (TextInputController::TextInputController):
534 (TextInputController::doCommand):
535 * DumpRenderTree/qt/jsobjects.h:
537 2007-10-24 Lars Knoll <lars@trolltech.com>
541 make the man webpage believe it has focus, so the editing tests work correctly.
543 * DumpRenderTree/qt/DumpRenderTree.cpp:
544 (WebCore::DumpRenderTree::DumpRenderTree):
546 2007-10-24 Lars Knoll <lars@trolltech.com>
550 implement layoutTestController.dumpEditingCallbacks() correctly.
552 * DumpRenderTree/qt/DumpRenderTree.cpp:
553 (WebCore::DumpRenderTree::DumpRenderTree):
554 * DumpRenderTree/qt/jsobjects.cpp:
555 (LayoutTestController::reset):
556 (LayoutTestController::dumpEditingCallbacks):
558 2007-10-24 Lars Knoll <lars@trolltech.com>
562 Implement support for testing editing.
564 * DumpRenderTree/qt/DumpRenderTree.cpp:
565 (WebCore::DumpRenderTree::DumpRenderTree):
567 2007-10-23 Sam Weinig <sam@webkit.org>
569 Check for null BSTR that can be passed to the UIDelegate methods
570 from javascript null and undefined. Fixes a failing test case on
571 Windows (fast/dom/Window/alert-undefined.html)
573 Reviewed by Eric Seidel.
575 * DumpRenderTree/win/UIDelegate.cpp:
576 (UIDelegate::runJavaScriptAlertPanelWithMessage):
577 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
578 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
579 (UIDelegate::webViewAddMessageToConsole):
581 2007-10-23 Maciej Stachowiak <mjs@apple.com>
585 Don't print a massive pile of setenvs from tools that automatically build testkjs.
587 * Scripts/build-testkjs:
589 2007-10-23 Maciej Stachowiak <mjs@apple.com>
593 - add wrapper that finds the right copy of testkjs
595 * Scripts/sunspider-compare-results: Added.
597 2007-10-23 Kevin McCullough <kmccullough@apple.com>
601 - After talking with Steve I now see that the WebKit server must be
602 running for DCOM to create the distributed objects, which makes sense
603 and currently WebKit only allows one instance to be running at a time
604 which avoids accidentally connecting to the wrong server
605 - In light of this I have removed the code for the attach box and
606 NotificationServer and known server names, since they are all extranious
609 * Drosera/win/Drosera.cpp: Removed notification classes and known server
611 (_tWinMain): Uses init instead of initUI.
612 (droseraWndProc): No longer creats an attach dialog box.
613 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
614 it's not manditory to call init before doing COM stuff.
615 (Drosera::init): calls initUI and will call attach when the
616 functionality exists.
617 (Drosera::initUI): Has changed very little.
618 (Drosera::attach): Changed the signature to reflect that we no longer
619 need the dictionary of known server names.
620 * Drosera/win/Drosera.h: Removed notification classes and known server
621 names. Also renamed and moved some functions.
622 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
623 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
624 headers to the resources folder.
625 * Drosera/win/resource.h: Removed the Attach box.
627 2007-10-22 Adam Roben <aroben@apple.com>
631 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
633 2007-10-22 Kevin McCullough <kmccullough@apple.com>
635 - Removed a leak that was fixed.
637 * Scripts/run-webkit-tests:
639 2007-10-19 Kevin McCullough <kmccullough@apple.com>
643 - Changed the Client so that the DebuggerDocument now own the
644 ServerConnection. This simplifies ownership and cleanup.
646 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
648 (DebuggerClient::initWithServerName):
649 (DebuggerClient::didFinishLoadForFrame):
650 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
652 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
653 until after we have a server which we are attached to.
656 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
659 2007-10-22 Simon Hausmann <hausmann@kde.org>
663 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
665 * Scripts/run-javascriptcore-tests:
667 2007-10-22 Simon Hausmann <hausmann@kde.org>
671 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.
673 * Scripts/build-drosera:
674 * Scripts/build-dumprendertree:
675 * Scripts/build-testkjs:
676 * Scripts/build-webkit:
677 * Scripts/run-javascriptcore-tests:
678 * Scripts/run-sunspider:
679 * Scripts/run-webkit-tests:
680 * Scripts/webkitdirs.pm:
682 2007-10-22 Andrew Wellington <proton@wiretapped.net>
684 Reviewed by Mark Rowe.
686 Fix for local database support after r26879
687 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
689 * Scripts/build-webkit:
691 2007-10-22 Holger Freyther <zecke@selfish.org>
693 Reviewed by Simon Hausmann <hausmann@kde.org>.
695 - Do not build testkjs as an application bundle. This is
696 needed for run-javascriptcore-tests on OSX.
697 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
698 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
699 as we do not have -rpath on OSX.
701 * DumpRenderTree/qt/DumpRenderTree.pro:
702 * Scripts/run-webkit-tests:
704 2007-10-22 Simon Hausmann <hausmann@kde.org>
708 Fix support for Signed-off-by detection in prepare-ChangeLog
709 --git-commit. The Signed-off-by tag does not appear in the header
710 but usually at the end.
712 * Scripts/prepare-ChangeLog:
714 2007-10-21 Mark Rowe <mrowe@apple.com>
718 Fix run-javascriptcore-tests for Gtk.
720 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
722 2007-10-20 Eric Seidel <eric@webkit.org>
726 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
728 2007-10-20 Eric Seidel <eric@webkit.org>
732 Add improved argument handling to run-sunspider, including
733 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
734 Also re-factor code into subroutines
736 * Scripts/build-dumprendertree: removed bogus comments
737 * Scripts/build-testkjs: Added.
738 * Scripts/run-javascriptcore-tests: use build-testkjs
739 * Scripts/run-sunspider: improved argument handling, abstraction
740 * Scripts/run-webkit-tests: improved abstraction
742 2007-10-20 Matt Lilek <webkit@mattlilek.com>
744 Not reviewed, Windows build fix.
746 * DumpRenderTree/win/EventSender.cpp:
749 2007-10-20 Darin Adler <darin@apple.com>
751 Reviewed by Tim Hatcher.
753 - http://bugs.webkit.org/show_bug.cgi?id=15544
754 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
755 not rely on Apple-specific key codes
757 * DumpRenderTree/mac/EventSendingController.mm:
758 (-[EventSendingController keyDown:withModifiers:]):
759 Added named key "rightArrow". Later we could have a whole table of these.
760 Also tweaked modifiers code a little.
762 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
764 2007-10-19 Darin Adler <darin@apple.com>
768 - http://bugs.webkit.org/show_bug.cgi?id=15566
769 possible fix for leak seen in DumpRenderTree
771 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
772 Delete the item if it's not put on the queue, since the caller has
773 no way of knowing that. Would be better to have the parameter type
774 be auto_ptr to express the fact that we take ownership.
778 * Drosera/mac/main.m: Add missing include.
780 2007-10-19 Kevin McCullough <kmccullough@apple.com>
784 - This change should be identical but for some reason was not working
787 * Scripts/prepare-ChangeLog:
789 2007-10-19 Kevin McCullough <kmccullough@apple.com>
791 Reviewed by Oliver and Tim.
793 - Made use of RetainPtr to avoid retain and release issues and moved the
794 log function to DebuggerDocumentPlatform, which seems to be a more
795 logical place for it to live.
796 - Also moved knownServers from the ServerConnection to
797 DebuggerApplication to match the Windows code and because it makes sense
798 that a connection knows its own server but not all of them.
800 * Drosera/mac/DebuggerClient.h: Moved the log function to
801 DebuggerDocumentPlatform.
802 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
803 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
804 call for the server name up from the ServerConnection class.
805 (-[DebuggerClient dealloc]):
806 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
807 for the server name up from the ServerConnection.
808 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
809 (DebuggerDocument::platformPause):
810 (DebuggerDocument::platformResume):
811 (DebuggerDocument::platformStepInto):
812 (DebuggerDocument::platformEvaluateScript):
813 (DebuggerDocument::getPlatformCurrentFunctionStack):
814 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
815 (DebuggerDocument::platformValueForScopeVariableNamed):
816 (DebuggerDocument::platformLog): Log directly from here. No need to call
818 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
819 way I see it, a ServerConnection should only know about its connection
820 and the group of all possible servers should be kept by the
822 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
823 currentServerName, it makes sense that the connection should know that
825 (-[ServerConnection currentServerName]):
827 2007-10-19 Kevin McCullough <kmccullough@apple.com>
831 - Integrated changes from mac drosera. Recently I've encapsulated
832 out the server connection object from the rest of Drosera because
833 it is very platform dependent right now and RPC is not implemented on
834 windows. This functionality, of communicating with the WebKit server
835 is the next area I will be focusing on in Windows.
837 - Other changes and cleanup were made to organize the code and add notes
838 on which parts still need work. Also some mac code is added and
839 commented out, to act as pseudocode for the logic of those parts.
841 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
843 * Drosera/config.h: Added whitespace.
844 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
845 these files got moved into Drosera.h/cpp
846 * Drosera/win/DebuggerApplication.h: Removed.
847 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
848 happened here to better match the logic flow of the same code on the
849 mac side and to use the new ServerConnection class.
850 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
851 (DebuggerClient::initWithServerName): Initializer that will set up the
852 class to use a ServerConnection object. This was necessary so I could
853 create a DebuggerClient without having to initilaize it at
855 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
856 will be the UIDelegate and FrameLoadDelegate.
857 (DebuggerClient::AddRef): For IUnknown.
858 (DebuggerClient::Release): For IUnknown.
859 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
860 this still needs to set the global context of the server, but
861 IWebFrame does not have an accessor for the global context yet.
862 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
863 this is a pass through for the same function in the document.
864 (DebuggerClient::didReceiveTitle): Unimplemented part of
865 FrameLoadDelegate this would change the title of the window.
866 (DebuggerClient::createWebViewWithRequest): Part of the
867 FrameLoadDelegate. This is about new windows via Window.open() and
868 how their delegates are set.
869 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
870 UIDelegate. Just a debug function for printing messages.
871 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
872 because the Client should be the UIDelegate and FrameLoadDelegate
873 to match the delegates on mac.
874 (DebuggerClient::webViewLoaded): Added accessor method.
875 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
876 forgotten to add this file before. This is where the platform
877 dependent versions of the Documents functions live. Most of these are
878 unimplemented because some piece of functionality does not exist on
880 (DebuggerDocument::platformPause):
881 (DebuggerDocument::platformResume):
882 (DebuggerDocument::platformStepInto):
883 (DebuggerDocument::platformEvaluateScript):
884 (DebuggerDocument::getPlatformCurrentFunctionStack):
885 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
886 (DebuggerDocument::platformValueForScopeVariableNamed):
887 (DebuggerDocument::platformLog):
888 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
889 responsibilities becaue they belong in the Client. Also I laid the
890 groundwork for attaching Drosera to a WebKit process
891 (attachWndProc): Now if a server is selected the Client becomes it's
893 (Drosera::Drosera): Added the construction of the Client and dictionary
895 (Drosera::initUI): This is no longer the delegates, the Client is.
896 (Drosera::webViewLoaded): Now asks the Client instead of holding local
898 (Drosera::applicationDidFinishLaunching): Placeholder for needed
899 notification registration when it's possible to implement.
900 (Drosera::serverLoaded): Ditto
901 (Drosera::serverUnloaded): Ditto
902 (Drosera::attach): Attach Drosera to the WebKit server.
903 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
906 (Drosera::knownServers):
907 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
908 and added the ServerConnection.
909 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
910 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
911 Most of the functions are completely unimlemented because they cannot
912 connect with the WebKit server, because one does not exist on Windows
914 (ServerConnection::initWithServerName):
915 (ServerConnection::~ServerConnection):
916 (ServerConnection::setGlobalContext):
917 (ServerConnection::pause):
918 (ServerConnection::resume):
919 (ServerConnection::stepInto):
920 (ServerConnection::switchToServerNamed):
921 (ServerConnection::applicationTerminating):
922 (ServerConnection::serverConnectionDidDie):
923 (ServerConnection::currentFrame):
924 * Drosera/win/ServerConnection.h: Added. Ditto.
925 (ServerConnection::ServerConnection):
927 2007-10-19 Alice Liu <alice.liu@apple.com>
931 Fix for these broken layout tests on Windows:
933 fast/forms/focus-selection-input.html
934 fast/forms/focus-selection-textarea.html
935 fast/forms/select-accesskey.html
937 * DumpRenderTree/win/EventSender.cpp:
939 correct the VK code for alt key.
941 2007-10-19 Eric Seidel <eric@webkit.org>
943 Reviewed by Mark Rowe.
945 Make the GtkLauncher code slightly more readable.
947 * GtkLauncher/main.cpp:
948 (setupMainMenu): Added.
949 (setupMainWindowUI): Added.
952 2007-10-19 Maciej Stachowiak <mjs@apple.com>
954 Rubber stamped by Adam.
956 - don't delay-load WebKit in DumpRenderTree.
958 * DumpRenderTree/win/DumpRenderTree.vcproj:
960 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
962 Reviewed by Adam Roben.
964 - fix <rdar://problem/5313523>
965 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
967 * DumpRenderTree/mac/DumpRenderTree.mm:
968 (dump): Changed to use _responseMIMEType.
970 2007-10-17 Adam Roben <aroben@apple.com>
972 Make it possible to have Windows-specific tests and results
974 When searching for tests to run and the Skipped file, we will only
975 look in platform/win and the cross-platform directory. When looking
976 for expected results, we will look in platform/win, then
977 platform/mac-leopard, then platform/mac, then finally the
978 cross-platform directory.
982 * Scripts/run-webkit-tests:
983 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
984 searching in the cross-platform directory.
985 (sub buildPlatformHierarchy): Removed some unneeded calls to
988 2007-10-17 Adam Roben <aroben@apple.com>
990 Add back the call to register WebKit that we had before WebKitInitializer existed
992 This is needed to ensure that the right WebKit is used when
993 instantiating COM objects.
997 * DumpRenderTree/win/debug_internal.vsprops: Define
998 DEBUG_WEBKIT_HAS_SUFFIX.
999 * DumpRenderTree/win/DumpRenderTree.cpp:
1002 2007-10-17 Adam Roben <aroben@apple.com>
1004 Import File::Basename in webkitdirs since we use it
1006 * Scripts/webkitdirs.pm:
1008 2007-10-17 Kevin McCullough <kmccullough@apple.com>
1010 - Updated the tiger leaks list to make the internal bots green.
1012 * Scripts/run-webkit-tests:
1014 2007-10-17 Adam Roben <aroben@apple.com>
1016 Build fix for VC++ Express
1018 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1021 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1025 - Minor mac improvements based on observations I made while implementing the
1028 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1029 then hand it to the Client who will retain it, it should just be the client who
1030 creates and owns the server.
1031 (-[DebuggerApplication attach:]):
1032 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1033 * Drosera/mac/DebuggerClient.mm: Creates the server.
1034 (-[DebuggerClient initWithServerName:]):
1035 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1036 can instead forward declare what it needs.
1038 2007-10-16 Darin Adler <darin@apple.com>
1040 Reviewed by Geoff Garen.
1042 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1043 want to turn failing tests into platform-specific test results. Also did a
1044 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1045 would take the type of results into account only some of the time.
1047 2007-10-16 Adam Roben <aroben@apple.com>
1049 Add a new nightly launcher script for Windows
1051 This new script is for versions of Safari that don't delay-load
1052 WebKit. I had to make FindSafari be able to print out the nightly
1053 launcher script on stdout because Windows shell scripts can't capture
1054 the output from a command into an environment variable.
1058 * FindSafari/FindSafari.cpp:
1059 (_tmain): Added /printSafariLauncher option.
1060 * Scripts/run-webkit-nightly.cmd: Added.
1062 2007-10-16 Adam Roben <aroben@apple.com>
1064 Replace WebKitInitializer with FindSafari
1066 We now rely on setting the PATH environment variable to tell Windows
1067 where to find WebKit and its dependencies (similar to
1068 DYLD_FRAMEWORK_PATH on Mac).
1070 This change also make DumpRenderTree no longer delay-load WebKit.
1074 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1076 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1077 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1078 WebKitInitializer, don't delay-load WebKit.
1079 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1080 * Scripts/run-webkit-tests: Ditto.
1081 * Scripts/webkitdirs.pm:
1082 (sub setPathForRunningWebKitApp): Added.
1083 * WebKitInitializer/WebKitInitializer.cpp: Removed.
1084 * WebKitInitializer/WebKitInitializer.h: Removed.
1085 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1086 * WebKitInitializer/debug.vsprops: Removed.
1087 * WebKitInitializer/debug_internal.vsprops: Removed.
1088 * WebKitInitializer/release.vsprops: Removed.
1090 2007-10-16 Adam Roben <aroben@apple.com>
1092 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1094 http://bugs.webkit.org/show_bug.cgi?id=15532
1096 FindSafari simply prints the location of an installed Safari.exe on
1101 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1104 (getInstalledWebKitDirectory):
1106 * FindSafari/FindSafari.vcproj: Added.
1107 * Scripts/webkitdirs.pm:
1108 (sub installedSafariPath): Added. Calls FindSafari on Windows.
1110 2007-10-16 Adam Roben <aroben@apple.com>
1112 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1114 Reviewed by Kevin McCullough.
1116 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1117 when referring to WebKit.dll.
1118 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1119 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1120 * DumpRenderTree/win/release.vsprops: Ditto.
1121 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1122 never have a _debug suffix on WebKit.dll.
1123 * WebKitInitializer/WebKitInitializer.cpp:
1124 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1126 * WebKitInitializer/debug_internal.vsprops: Added
1127 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1129 2007-10-16 Darin Adler <darin@apple.com>
1133 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1134 Remove now-unneeded control/alt key hack; the tests have been updated.
1136 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1138 - Updated leaks list because our internal bot upgraded it's version of leopard and
1139 one of the leaks was fixed between that revision and the bot's previous version of
1142 * Scripts/run-webkit-tests:
1144 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1148 - I encapsulated out the server connecton functionality because it is a specific part
1149 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1150 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1151 Windows. So the majority of this patch is moving preexisting functionality.
1153 - Also I removed the prefix header and changed to use config.h because it is more
1154 standard on how we use config.h in windows and it didn't make much sense to keep
1155 the prefix header and the config.h
1157 * Drosera/DebuggerDocument.cpp:
1158 (DebuggerDocument::DebuggerDocument):
1159 * Drosera/DebuggerDocument.h:
1161 * Drosera/mac/DebuggerApplication.mm:
1162 (-[DebuggerApplication attach:]):
1163 * Drosera/mac/DebuggerClient.h:
1164 * Drosera/mac/DebuggerClient.mm:
1165 (-[DebuggerClient initWithServerConnection:]):
1166 (-[DebuggerClient dealloc]):
1167 (-[DebuggerClient windowDidLoad]):
1168 (-[DebuggerClient windowWillClose:]):
1169 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1170 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1171 * Drosera/mac/DebuggerDocumentPlatform.mm:
1172 (DebuggerDocument::platformPause):
1173 (DebuggerDocument::platformResume):
1174 (DebuggerDocument::platformStepInto):
1175 (DebuggerDocument::platformEvaluateScript):
1176 (DebuggerDocument::getPlatformCurrentFunctionStack):
1177 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1178 (DebuggerDocument::platformValueForScopeVariableNamed):
1179 (DebuggerDocument::platformLog):
1180 * Drosera/mac/Drosera.pch: Removed.
1181 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1182 * Drosera/mac/ServerConnection.h: Added.
1183 * Drosera/mac/ServerConnection.mm: Added.
1184 (-[ServerConnection initWithServerName:]):
1185 (-[ServerConnection dealloc]):
1186 (-[ServerConnection setGlobalContext:]):
1187 (-[ServerConnection pause]):
1188 (-[ServerConnection resume]):
1189 (-[ServerConnection stepInto]):
1190 (-[ServerConnection switchToServerNamed:]):
1191 (-[ServerConnection applicationTerminating:]):
1192 (-[ServerConnection serverConnectionDidDie:]):
1193 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1194 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1195 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1196 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1197 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1198 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1199 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1200 (-[ServerConnection currentFrame]):
1201 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1202 (-[ServerConnection knownServers]):
1204 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1208 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1209 Script to automatically search nightly builds for regressions (bisect-builds)
1211 * Scripts/bisect-builds: Added.
1213 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1217 - New JavaScript benchmark
1218 http://bugs.webkit.org/show_bug.cgi?id=15515
1220 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1221 current development or release build of JavaScriptCore.
1223 2007-10-15 Mark Rowe <mrowe@apple.com>
1227 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1229 * Scripts/webkitdirs.pm:
1230 - Change checkArgv to remove the options from @ARGV to prevent
1231 them from interfering with further option processing.
1232 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1233 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1234 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1235 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1237 2007-10-15 Darin Adler <darin@apple.com>
1241 - added logging of window.prompt and window.confirm
1243 * DumpRenderTree/mac/UIDelegate.mm:
1244 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1245 Implement the recommended delegate rather than the deprecated one.
1246 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1248 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1251 * DumpRenderTree/win/UIDelegate.h:
1252 * DumpRenderTree/win/UIDelegate.cpp:
1253 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1254 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1255 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1256 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1258 2007-10-15 Alice Liu <alice.liu@apple.com>
1260 Reviewed by Sam Weinig.
1262 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1264 * DumpRenderTree/win/DumpRenderTree.cpp:
1265 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1266 (main): allocate the global policy delegate for DRT's custom use
1267 * DumpRenderTree/win/DumpRenderTree.vcproj:
1268 Adding files to project
1269 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1270 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1271 (LayoutTestController::setCustomPolicyDelegate):
1272 set the webview's policy delegate to DRT's custom one if the test requests it.
1273 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1274 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1275 (PolicyDelegate::PolicyDelegate):
1276 (PolicyDelegate::QueryInterface):
1277 (PolicyDelegate::AddRef):
1278 (PolicyDelegate::Release):
1279 (PolicyDelegate::decidePolicyForNavigationAction):
1280 * DumpRenderTree/win/PolicyDelegate.h: Added.
1281 (PolicyDelegate::decidePolicyForNewWindowAction):
1282 (PolicyDelegate::decidePolicyForMIMEType):
1283 (PolicyDelegate::unableToImplementPolicyWithError):
1285 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1289 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1290 when querying for QMAKE_MKSPECS.
1292 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1294 Reviewed by Adam Roben.
1296 Fix run-webkit-tests is too greedy calculating platform hierarchy
1297 http://bugs.webkit.org/show_bug.cgi?id=15465
1299 Fix run-webkit-tests being too greedy in trying to split the platform name up
1300 causing it to try and find tests in every directory above the first "-" in the
1301 path to the LayoutTests
1303 * Scripts/run-webkit-tests:
1305 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1309 http://bugs.webkit.org/show_bug.cgi?id=15006
1310 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1311 to reduce code duplication.
1313 * Scripts/build-webkit:
1314 * Scripts/webkitdirs.pm:
1315 buildQMakeProject() renamed to buildQMakeQtProject().
1316 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1317 unused $colorize has been removed.
1319 === Start merge of feature-branch 2007-10-12 ===
1321 2007-10-08 Eric Seidel <eric@webkit.org>
1323 Reviewed by Mark Rowe.
1325 * Scripts/build-webkit: add --help, remove unused --color
1327 2007-10-07 Eric Seidel <eric@webkit.org>
1331 * Drosera/mac/DebuggerDocumentPlatform.mm:
1332 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1334 2007-10-03 Rob Buis <buis@kde.org>
1338 Adapt to changed location of Ahem font.
1340 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1342 2007-10-02 Eric Seidel <eric@webkit.org>
1344 Reviewed by Adam Roben.
1346 Make pixel tests more useful!
1347 Finally fix the image diff 0.00% mystery problem
1348 Highlight any image differences in the image diff.
1349 Add a link from image diffs back to original test file.
1351 * DumpRenderTree/mac/ImageDiff.m:
1352 (compareImages): highlight any differences
1353 (computePercentageDifferent): round to two decimal places
1354 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1356 2007-10-02 Eric Seidel <eric@webkit.org>
1358 Reviewed by Alexey Proskuryakov.
1360 * Scripts/run-webkit-tests: print the % image difference on main results page
1362 2007-10-02 Mark Rowe <mrowe@apple.com>
1366 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1368 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1369 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1371 2007-10-01 Mark Rowe <mrowe@apple.com>
1373 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1375 2007-09-25 Eric Seidel <eric@webkit.org>
1377 Reviewed by Mark Rowe.
1379 DerivedSources.make was finding "ENABLE_SVG" in the string
1380 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1383 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1385 2007-09-25 Mark Rowe <mrowe@apple.com>
1387 Rubber-stamped by Eric.
1389 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1390 This makes it possible to automate nightly builds for the feature-branch.
1392 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1394 Rubber stamped by Mark.
1396 Enable svg experimental features as default here in feature-branch.
1398 * Scripts/build-webkit:
1400 2007-06-29 Antti Koivisto <antti@apple.com>
1404 Add VIDEO flag for timed media features
1406 * Scripts/build-webkit
1408 === End merge of feature-branch 2007-10-12 ===
1410 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1414 - Updated rational for the leaks list to be more clear.
1416 * Scripts/run-webkit-tests:
1418 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1420 Rubber Stamp by Sam.
1422 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1423 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1425 * Scripts/run-webkit-tests:
1427 2007-10-10 Simon Hausmann <hausmann@kde.org>
1431 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1432 includes are needed for INT_MAX, std::auto_ptr and the like.
1434 * DumpRenderTree/qt/main.cpp:
1436 2007-10-09 Lars Knoll <lars@trolltech.com>
1440 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1442 * DumpRenderTree/qt/jsobjects.cpp:
1443 (LayoutTestController::encodeHostName):
1444 (LayoutTestController::decodeHostName):
1445 * DumpRenderTree/qt/jsobjects.h:
1447 2007-10-09 Lars Knoll <lars@trolltech.com>
1451 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.
1453 * DumpRenderTree/qt/DumpRenderTree.cpp:
1454 (WebCore::WebPage::createFrame):
1455 (WebCore::DumpRenderTree::DumpRenderTree):
1456 (WebCore::DumpRenderTree::titleChanged):
1457 * DumpRenderTree/qt/DumpRenderTree.h:
1458 * DumpRenderTree/qt/jsobjects.cpp:
1459 (LayoutTestController::reset):
1460 * DumpRenderTree/qt/jsobjects.h:
1462 2007-10-09 Lars Knoll <lars@trolltech.com>
1466 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1468 * DumpRenderTree/qt/DumpRenderTree.h:
1469 * DumpRenderTree/qt/jsobjects.cpp:
1470 (LayoutTestController::clearBackForwardList):
1471 * DumpRenderTree/qt/jsobjects.h:
1473 2007-10-09 Lars Knoll <lars@trolltech.com>
1477 make --git-reviewer work again.
1479 * Scripts/prepare-ChangeLog:
1481 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1483 Rubber stamped by Eric.
1485 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1486 show the current link inside the statusbar.
1487 This shows how to make use of this signal and allows to easily test
1488 http://bugs.webkit.org/show_bug.cgi?id=15299.
1490 * GtkLauncher/main.cpp:
1494 2007-10-05 Lars Knoll <lars@trolltech.com>
1496 add proper error messages to the FrameLoaderClient.
1497 Implement ChromeClientQt::closeWindowSoon and
1498 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1499 Some fixes in DRT to make it work correctly with multiple windows.
1503 * DumpRenderTree/qt/DumpRenderTree.cpp:
1504 (WebCore::DumpRenderTree::DumpRenderTree):
1505 (WebCore::DumpRenderTree::createWindow):
1506 (WebCore::DumpRenderTree::windowCount):
1507 * DumpRenderTree/qt/DumpRenderTree.h:
1508 * DumpRenderTree/qt/jsobjects.cpp:
1509 (LayoutTestController::maybeDump):
1510 (LayoutTestController::windowCount):
1511 * DumpRenderTree/qt/jsobjects.h:
1513 2007-10-05 Lars Knoll <lars@trolltech.com>
1515 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1516 Add support for layoutTextController.setCanOpenWindows() to DRT
1517 fixing another 2 test cases in fast/dom/Window.
1521 * DumpRenderTree/qt/DumpRenderTree.cpp:
1522 (WebCore::WebPage::WebPage):
1523 (WebCore::WebPage::createWindow):
1524 (WebCore::DumpRenderTree::resetJSObjects):
1525 (WebCore::DumpRenderTree::createWindow):
1526 * DumpRenderTree/qt/DumpRenderTree.h:
1527 * DumpRenderTree/qt/DumpRenderTree.pro:
1528 * DumpRenderTree/qt/jsobjects.cpp:
1529 (LayoutTestController::LayoutTestController):
1530 (LayoutTestController::reset):
1531 * DumpRenderTree/qt/jsobjects.h:
1532 * DumpRenderTree/qt/main.cpp:
1533 * DumpRenderTree/qt/testplugin.cpp: Added.
1534 * DumpRenderTree/qt/testplugin.h: Added.
1536 2007-10-04 Sam Weinig <sam@webkit.org>
1538 Rubber stamped by Adam.
1540 Remove empty directories.
1542 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1543 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1545 2007-10-03 Darin Adler <darin@apple.com>
1549 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1550 we find the internal libraries in the libraries directory. This
1551 is helpful for Safari team engineers at Apple.
1553 2007-10-03 Adam Roben <aroben@apple.com>
1555 Update the location of AHEM___.TTF after r25968
1559 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1561 2007-10-03 Alp Toker <alp@atoker.com>
1565 http://bugs.webkit.org/show_bug.cgi?id=14726
1566 [gtk] API design. Mapping the WebView delegates to signals.
1568 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1570 * GtkLauncher/main.cpp:
1574 (menuMainBackCallback):
1575 (menuMainForwardCallback):
1578 2007-10-03 Lars Knoll <lars@trolltech.com>
1582 This fixes --strict mode in run-webkit-tests again after
1583 the platform dependent test results have been moved.
1585 * Scripts/run-webkit-tests:
1587 2007-10-03 Lars Knoll <lars@trolltech.com>
1591 remove the hack in run-webkit-tests that forced text only test
1592 to be taken from the platform independent dir. It was only left
1593 there from early days.
1595 Remove platform dependent results for tests that are text only nowadays,
1596 and add one platform dependent result for a text only test that requires it.
1598 * Scripts/run-webkit-tests:
1600 2007-10-03 Lars Knoll <lars@trolltech.com>
1604 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1606 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1607 (WebCore::WebFrame::WebFrame):
1608 (WebCore::WebPage::WebPage):
1609 (WebCore::WebPage::createFrame):
1610 (WebCore::WebPage::javaScriptAlert):
1611 (WebCore::WebPage::javaScriptConsoleMessage):
1612 (WebCore::DumpRenderTree::DumpRenderTree):
1613 (WebCore::DumpRenderTree::~DumpRenderTree):
1614 (WebCore::DumpRenderTree::open):
1615 (WebCore::DumpRenderTree::readStdin):
1616 (WebCore::DumpRenderTree::resetJSObjects):
1617 (WebCore::DumpRenderTree::initJSObjects):
1618 (WebCore::DumpRenderTree::dumpFramesAsText):
1619 (WebCore::DumpRenderTree::dump):
1620 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1621 (WebCore::DumpRenderTree::layoutTestController):
1622 (WebCore::DumpRenderTree::eventSender):
1623 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1624 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1625 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1626 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1627 (HackWebFrame::mousePressEvent):
1628 (HackWebFrame::mouseReleaseEvent):
1629 (HackWebFrame::mouseMoveEvent):
1630 (HackWebFrame::HackWebFrame):
1631 (HackWebFrame::~HackWebFrame):
1632 (LayoutTestController::LayoutTestController):
1633 (LayoutTestController::reset):
1634 (LayoutTestController::maybeDump):
1635 (LayoutTestController::waitUntilDone):
1636 (LayoutTestController::notifyDone):
1637 (LayoutTestController::dumpEditingCallbacks):
1638 (LayoutTestController::queueReload):
1639 (LayoutTestController::provisionalLoad):
1640 (LayoutTestController::timerEvent):
1641 (EventSender::EventSender):
1642 (EventSender::mouseDown):
1643 (EventSender::mouseUp):
1644 (EventSender::mouseMoveTo):
1645 (EventSender::leapForward):
1646 (EventSender::keyDown):
1647 (EventSender::frameUnderMouse):
1648 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1649 (LayoutTestController::isLoading):
1650 (LayoutTestController::setLoading):
1651 (LayoutTestController::shouldDumpAsText):
1652 (LayoutTestController::shouldDumpChildrenAsText):
1653 (LayoutTestController::shouldWaitUntilDone):
1654 (LayoutTestController::dumpAsText):
1655 (LayoutTestController::dumpChildFramesAsText):
1656 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1660 * Scripts/run-webkit-tests:
1662 2007-10-03 Mark Rowe <mrowe@apple.com>
1664 Reviewed by Alp Toker.
1666 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1667 should take precedence over QTDIR when determining which port we are working with.
1669 * Scripts/webkitdirs.pm:
1671 2007-10-02 Adam Roben <aroben@apple.com>
1673 Add keychain to the list of default packages to install
1675 Rubberstamped by Sam.
1677 * CygwinDownloader/cygwin-downloader.py:
1678 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1680 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1684 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1685 Also makes WebCore regression test case logic work when using git.
1687 * Scripts/prepare-ChangeLog:
1688 (reviewerAndDescriptionForGitCommit): Added.
1690 2007-10-02 Lars Knoll <lars@trolltech.com>
1694 Add API to retrieve the frame name from QWebFrame.
1695 Implement support for DRT::dumpChildrenAsText.
1697 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1698 (WebCore::DumpRenderTree::dumpFramesAsText):
1699 (WebCore::DumpRenderTree::dump):
1700 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1701 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1702 (LayoutTestController::LayoutTestController):
1703 (LayoutTestController::reset):
1704 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1706 2007-10-02 Lars Knoll <lars@trolltech.com>
1710 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1712 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1713 (WebCore::DumpRenderTree::readStdin):
1715 2007-10-02 Mark Rowe <mrowe@apple.com>
1719 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1721 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1722 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1724 2007-10-02 Mark Rowe <mrowe@apple.com>
1726 Rubber-stamped by Maciej.
1728 Configuration changes from build.webkit.org. The major change is refactoring to work
1729 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1732 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1733 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1734 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1735 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1736 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1737 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1738 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1739 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1741 2007-10-02 Lars Knoll <lars@trolltech.com>
1745 Add support for eventSender.mouseMove to DRT.
1746 Fixes fast/css/hover-affects-child.html
1748 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1749 (EventSender::mouseMoveTo):
1751 2007-10-01 Mark Rowe <mrowe@apple.com>
1753 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1755 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1759 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1761 * Scripts/svn-apply:
1762 (gitdiff2svndiff): Ignore lines beginning with "new file".
1763 * Scripts/svn-unapply:
1764 (gitdiff2svndiff): Ditto.
1766 2007-09-30 George Staikos <staikos@kde.org>
1768 Qt build fix (Mac OS X specific)
1770 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1772 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1776 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1777 Remove Bakefiles from svn.
1779 * GtkLauncher/Bakefiles.bkgen: Removed.
1780 * GtkLauncher/ENV: Removed.
1781 * GtkLauncher/gdklauncher.bkl: Removed.
1782 * GtkLauncher/mk: Removed.
1783 * Scripts/regenerate-makefiles: Removed.
1785 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1789 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1791 * Scripts/run-webkit-tests:
1793 2007-09-26 Adam Roben <aroben@apple.com>
1795 Make not finding an installed WebKit non-fatal
1797 What really matters is that we are able to load WebKit and its
1798 dependencies, not whether we think we've found an installed WebKit.
1802 * WebKitInitializer/WebKitInitializer.cpp:
1803 (getWebViewCLSID): Use new LOG_WARNING macro.
1804 (getInstalledWebKitDirectory): Ditto.
1805 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1807 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1809 2007-09-26 Adam Roben <aroben@apple.com>
1811 Committed this file before saving it
1813 * WebKitInitializer/debug_internal.vsprops:
1815 2007-09-26 Adam Roben <aroben@apple.com>
1817 Load WebKit and its dependencies manually so they come from DllDirectory
1819 I had to change WebKitInitializer to use malloc/free instead of
1820 new/delete to avoid pulling in WebKit (and its dependencies) early
1821 through use of fastMalloc.
1825 * WebKitInitializer/WebKitInitializer.cpp:
1826 (getStringValue): Changed to use malloc/free.
1827 (getInstalledWebKitDirectory): Ditto.
1828 (initializeWebKit): Call SetDllDirectory first, then load all of
1829 WebKit's dependencies manually, finally followed by WebKit itself.
1830 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1831 configuration to match our other projects.
1832 * WebKitInitializer/debug_internal.vsprops: Added.
1834 2007-09-25 Adam Roben <aroben@apple.com>
1836 Actually define DEBUG/NDEBUG so that we load WebKit correctly
1838 Rubberstamped by Sam.
1840 * WebKitInitializer/WebKitInitializer.vcproj:
1842 2007-09-25 Adam Roben <aroben@apple.com>
1844 Make DumpRenderTree delay-load its dependencies
1846 This lets WebKitInitializer re-route the dependencies to be loaded out
1847 of the Safari installation directory.
1849 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1850 same thing), since we can't import the kCFAllocatorDefault symbol when
1851 delay-loading CoreFoundation.dll.
1853 Rubberstamped by Sam.
1855 * DumpRenderTree/win/DumpRenderTree.cpp:
1857 (javaScriptThreads):
1858 * DumpRenderTree/win/DumpRenderTree.vcproj:
1859 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1860 (LayoutTestController::setWaitToDump):
1862 2007-09-25 Adam Roben <aroben@apple.com>
1864 Pull ole32.lib into WebKitInitializer
1866 Rubberstamped by Sam.
1868 * WebKitInitializer/WebKitInitializer.vcproj:
1870 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1874 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1875 LGPL'ed files contain incorrect FSF address
1879 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1883 Make svn-apply and svn-unapply work with git-diff formatted patches.
1885 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1886 (gitdiff2svndiff): Added.
1887 * Scripts/svn-unapply: Ditto.
1888 (gitdiff2svndiff): Added.
1890 2007-09-25 Adam Roben <aroben@apple.com>
1892 Pull advapi32.lib into WebKitInitializer
1894 This is needed to get the registry functions we use.
1896 Rubberstamped by Sam.
1898 * WebKitInitializer/WebKitInitializer.vcproj:
1900 2007-09-25 Adam Roben <aroben@apple.com>
1902 Add python and rsync to cygwin-downloader
1904 Our build slaves need this, and it can't hurt for everyone else to
1909 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1910 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1912 2007-09-25 Adam Roben <aroben@apple.com>
1914 Add WebKitInitializer and use it in DumpRenderTree
1916 WebKitInitializer is a static library that has one function,
1917 initializeWebKit(). This registers WebKit and sets up the DLL search
1918 path so that WebKit's dependencies that are installed with Safari can
1923 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1924 DumpRenderTree depend on it.
1925 * DumpRenderTree/win/DumpRenderTree.cpp:
1926 (initialize): Call initializeWebKit.
1927 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1928 WebKitInitializer.lib.
1929 * WebKitInitializer/WebKitInitializer.cpp: Added.
1932 (getInstalledWebKitDirectory):
1934 * WebKitInitializer/WebKitInitializer.h: Added.
1935 * WebKitInitializer/WebKitInitializer.vcproj: Added.
1936 * WebKitInitializer/debug.vsprops: Added.
1937 * WebKitInitializer/release.vsprops: Added.
1939 2007-09-25 Adam Roben <aroben@apple.com>
1941 Make run-webkit-tests respect set-webkit-configuration
1945 * Scripts/run-webkit-tests: Initialize $configuration to whatever
1946 set-webkit-configuration was last set to.
1948 2007-09-25 Mark Rowe <mrowe@apple.com>
1950 Rubber-stamped by Eric.
1952 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1953 This makes it possible to automate nightly builds for the feature-branch.
1955 2007-09-25 Adam Roben <aroben@apple.com>
1957 A couple of fixes/enhancements to update-webkit-*-libs
1959 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1960 to tell update-webkit-support-libraries where it should find the
1961 WebKitSupportLibrary.zip file you downloaded.
1963 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1968 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1969 to $auxiliaryLibsURL and removed an irrelevant comment.
1970 * Scripts/update-webkit-support-libs:
1972 2007-09-25 Adam Treat <treat@kde.org>
1974 Reviewed by Simon and Lars.
1976 Refactors and cleans up Qt DRT member variable names, member variable
1977 initialization, style fixes and general code cleanup.
1979 Adds queueReload slot to LayoutTestController that some tests require.
1981 Subclasses QWebFrame to make sure that all frames have an associated
1982 LayoutTestController JS window object.
1984 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1985 aren't dumped twice.
1989 Together, this patch fixes some 20+ layout tests in QtWebKit.
1991 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1992 (WebCore::WebFrame::WebFrame):
1993 (WebCore::WebPage::WebPage):
1994 (WebCore::WebPage::createFrame):
1995 (WebCore::DumpRenderTree::DumpRenderTree):
1996 (WebCore::DumpRenderTree::open):
1997 (WebCore::DumpRenderTree::readStdin):
1998 (WebCore::DumpRenderTree::initJSObjects):
1999 (WebCore::DumpRenderTree::dump):
2000 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2001 (WebCore::DumpRenderTree::layoutTestController):
2002 (WebCore::DumpRenderTree::eventSender):
2003 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2004 (LayoutTestController::LayoutTestController):
2005 (LayoutTestController::reset):
2006 (LayoutTestController::maybeDump):
2007 (LayoutTestController::waitUntilDone):
2008 (LayoutTestController::notifyDone):
2009 (LayoutTestController::queueReload):
2010 (LayoutTestController::provisionalLoad):
2011 (EventSender::EventSender):
2012 (EventSender::mouseDown):
2013 (EventSender::mouseUp):
2014 (EventSender::mouseMoveTo):
2015 (EventSender::frameUnderMouse):
2016 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2017 (LayoutTestController::isLoading):
2018 (LayoutTestController::setLoading):
2019 (LayoutTestController::dumpAsText):
2020 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2023 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2026 - Reverted an accidentally checked in file.
2028 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2030 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2033 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2035 * DumpRenderTree/win/DumpRenderTree.vcproj:
2036 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2038 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
2040 Rubber stamped by Adam.
2042 * GdkLauncher: Removed.
2043 * GdkLauncher/Bakefiles.bkgen: Removed.
2044 * GdkLauncher/ENV: Removed.
2045 * GdkLauncher/GdkLauncher.pro: Removed.
2046 * GdkLauncher/gdklauncher.bkl: Removed.
2047 * GdkLauncher/main.cpp: Removed.
2048 * GdkLauncher/mk: Removed.
2049 * GdkLauncher/simple.svg: Removed.
2050 * GdkLauncher/text.html: Removed.
2051 * GtkLauncher: Added.
2052 * GtkLauncher/GdkLauncher.pro: Removed.
2053 * GtkLauncher/GtkLauncher.pro: Added.
2054 * GtkLauncher/main.cpp:
2055 (updateWindowTitle):
2057 * Scripts/build-webkit:
2058 * Scripts/regenerate-makefiles:
2059 * Scripts/run-javascriptcore-tests:
2060 * Scripts/run-launcher:
2061 * Scripts/run-webkit-tests:
2062 * Scripts/webkitdirs.pm:
2064 2007-09-21 Timothy Hatcher <timothy@apple.com>
2068 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2070 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2071 This is tested by plugins/root-object-premature-delete-crash.html.
2073 * DumpRenderTree/mac/ObjCController.m:
2074 (-[ObjCController accessStoredWebScriptObject]):
2076 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2080 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2082 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2083 (FrameLoadDelegate::FrameLoadDelegate):
2085 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
2089 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2090 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2092 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2093 Now isQt() and isGdk() use global variables that are only set once.
2095 An array of all the parameters is now given to build-dumprender which includes
2096 the platform on linux.
2098 * Scripts/build-dumprendertree:
2099 * Scripts/run-webkit-tests:
2100 * Scripts/webkitdirs.pm:
2102 2007-09-19 Adam Roben <aroben@apple.com>
2104 Rubberstamped by Hyatt.
2106 * Spinneret: Removed.
2108 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
2110 Reviewed by David Kilzer.
2112 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2114 2007-09-18 Sam Weinig <sam@webkit.org>
2116 Add JSRetainPtr.h #include to fix some builds.
2118 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2120 2007-09-18 Mike Hommey <glandium@debian.org>
2124 * Scripts/prepare-ChangeLog:
2125 - Properly parse GECOS field.
2126 - Use git configuration for user name and email when appropriate.
2128 2007-09-17 Sam Weinig <sam@webkit.org>
2132 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2134 2007-09-17 Sam Weinig <sam@webkit.org>
2136 Reviewed by Adam Roben.
2138 Share more code between mac and windows DRT.
2139 - GCController is now shared.
2140 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2142 * DumpRenderTree/GCController.cpp:
2143 * DumpRenderTree/win/DumpRenderTree.cpp:
2144 * DumpRenderTree/win/DumpRenderTree.vcproj:
2145 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2146 (FrameLoadDelegate::FrameLoadDelegate):
2147 (FrameLoadDelegate::~FrameLoadDelegate):
2148 (FrameLoadDelegate::windowScriptObjectAvailable):
2149 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2150 * DumpRenderTree/win/GCController.cpp: Removed.
2151 * DumpRenderTree/win/GCController.h: Removed.
2152 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2153 (GCController::collect):
2154 (GCController::collectOnAlternateThread):
2155 (GCController::getJSObjectCount):
2156 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2157 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2159 2007-09-17 Sam Weinig <sam@webkit.org>
2161 Reviewed by Adam Roben.
2163 Begin sharing code between mac and windows DRT.
2164 - both now share LayoutTestController.h/cpp and implement platform dependant
2165 operations in LayoutTestControllerMac/Win.
2166 - DumpRenderTree.h is now shared.
2167 - WorkQueue and WorkQueueItem are also shared.
2169 * DumpRenderTree/DumpRenderTree.h:
2170 * DumpRenderTree/LayoutTestController.cpp:
2171 * DumpRenderTree/win/DumpRenderTree.cpp:
2173 (dumpFrameScrollPosition):
2177 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2178 * DumpRenderTree/win/DumpRenderTree.vcproj:
2179 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2180 * DumpRenderTree/win/EditingDelegate.cpp:
2181 (EditingDelegate::shouldBeginEditingInDOMRange):
2182 (EditingDelegate::shouldEndEditingInDOMRange):
2183 (EditingDelegate::shouldInsertNode):
2184 (EditingDelegate::shouldInsertText):
2185 (EditingDelegate::shouldDeleteDOMRange):
2186 (EditingDelegate::shouldChangeSelectedDOMRange):
2187 (EditingDelegate::shouldApplyStyle):
2188 (EditingDelegate::shouldChangeTypingStyle):
2189 (EditingDelegate::doPlatformCommand):
2190 (EditingDelegate::webViewDidBeginEditing):
2191 (EditingDelegate::webViewDidChange):
2192 (EditingDelegate::webViewDidEndEditing):
2193 (EditingDelegate::webViewDidChangeTypingStyle):
2194 (EditingDelegate::webViewDidChangeSelection):
2195 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2196 * DumpRenderTree/win/LayoutTestController.h: Removed.
2197 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2198 (LayoutTestController::addDisallowedURL):
2199 (LayoutTestController::clearBackForwardList):
2200 (LayoutTestController::copyDecodedHostName):
2201 (LayoutTestController::copyEncodedHostName):
2202 (LayoutTestController::display):
2203 (LayoutTestController::keepWebHistory):
2204 (LayoutTestController::notifyDone):
2205 (LayoutTestController::queueBackNavigation):
2206 (LayoutTestController::queueForwardNavigation):
2207 (jsStringRefToWString):
2208 (LayoutTestController::queueLoad):
2209 (LayoutTestController::queueReload):
2210 (LayoutTestController::queueScript):
2211 (LayoutTestController::setAcceptsEditing):
2212 (LayoutTestController::setCustomPolicyDelegate):
2213 (LayoutTestController::setMainFrameIsFirstResponder):
2214 (LayoutTestController::setTabKeyCyclesThroughElements):
2215 (LayoutTestController::setUseDashboardCompatibilityMode):
2216 (LayoutTestController::setUserStyleSheetEnabled):
2217 (LayoutTestController::setUserStyleSheetLocation):
2218 (LayoutTestController::setWindowIsKey):
2219 (waitUntilDoneWatchdogFired):
2220 (LayoutTestController::setWaitToDump):
2221 (LayoutTestController::windowCount):
2222 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2223 (FrameLoadDelegate::didReceiveTitle):
2224 (FrameLoadDelegate::processWork):
2225 (FrameLoadDelegate::locationChangeDone):
2226 (FrameLoadDelegate::windowScriptObjectAvailable):
2227 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2228 * DumpRenderTree/win/WorkQueue.h: Removed.
2229 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2230 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2231 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2232 (jsStringRefToWString):
2234 (ScriptItem::invoke):
2236 2007-09-17 Sam Weinig <sam@webkit.org>
2238 Reviewed by Adam Roben.
2240 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2242 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2243 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2244 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2245 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2246 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2247 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2248 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2249 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2250 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2251 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2252 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2253 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2254 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2255 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2256 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2257 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2258 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2259 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2260 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2261 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2262 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2263 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2264 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2265 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2266 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2267 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2268 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2269 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2270 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2271 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2272 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2273 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2274 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2275 * DumpRenderTree/win: Added.
2276 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2277 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2278 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2279 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2280 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2281 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2282 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2283 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2284 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2285 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2286 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2287 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2288 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2289 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2290 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2291 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2292 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2293 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2294 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2295 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2296 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2297 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2298 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2299 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2300 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2301 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2303 2007-09-15 Mark Rowe <mrowe@apple.com>
2305 Build fix for DumpRenderTree.
2307 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2309 2007-09-14 Sam Weinig <sam@webkit.org>
2311 Rubber stamped by Adam Roben.
2313 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2314 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2315 kept in the WaitUntilDoneDelegate file for the time being.
2317 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2319 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2320 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2321 (UIDelegate::QueryInterface):
2322 (UIDelegate::AddRef):
2323 (UIDelegate::Release):
2324 (UIDelegate::hasCustomMenuImplementation):
2325 (UIDelegate::setFrame):
2326 (UIDelegate::webViewFrame):
2327 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2328 (UIDelegate::webViewAddMessageToConsole):
2329 (UIDelegate::doDragDrop):
2330 (UIDelegate::webViewGetDlgCode):
2331 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2332 (UIDelegate::UIDelegate):
2333 (UIDelegate::createWebViewWithRequest):
2334 (UIDelegate::webViewShow):
2335 (UIDelegate::webViewClose):
2336 (UIDelegate::webViewFocus):
2337 (UIDelegate::webViewUnfocus):
2338 (UIDelegate::webViewFirstResponder):
2339 (UIDelegate::makeFirstResponder):
2340 (UIDelegate::setStatusText):
2341 (UIDelegate::webViewStatusText):
2342 (UIDelegate::webViewAreToolbarsVisible):
2343 (UIDelegate::setToolbarsVisible):
2344 (UIDelegate::webViewIsStatusBarVisible):
2345 (UIDelegate::setStatusBarVisible):
2346 (UIDelegate::webViewIsResizable):
2347 (UIDelegate::setResizable):
2348 (UIDelegate::setContentRect):
2349 (UIDelegate::webViewContentRect):
2350 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2351 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2352 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2353 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2354 (UIDelegate::mouseDidMoveOverElement):
2355 (UIDelegate::contextMenuItemsForElement):
2356 (UIDelegate::validateUserInterfaceItem):
2357 (UIDelegate::shouldPerformAction):
2358 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2359 (UIDelegate::willPerformDragDestinationAction):
2360 (UIDelegate::dragSourceActionMaskForPoint):
2361 (UIDelegate::willPerformDragSourceAction):
2362 (UIDelegate::contextMenuItemSelected):
2363 (UIDelegate::trackCustomPopupMenu):
2364 (UIDelegate::measureCustomMenuItem):
2365 (UIDelegate::drawCustomMenuItem):
2366 (UIDelegate::addCustomMenuDrawingData):
2367 (UIDelegate::cleanUpCustomMenuDrawingData):
2368 (UIDelegate::canTakeFocus):
2369 (UIDelegate::takeFocus):
2370 (UIDelegate::registerUndoWithTarget):
2371 (UIDelegate::removeAllActionsWithTarget):
2372 (UIDelegate::setActionTitle):
2375 (UIDelegate::canUndo):
2376 (UIDelegate::canRedo):
2377 (UIDelegate::webViewResizerRect):
2378 (UIDelegate::webViewDrawResizer):
2379 (UIDelegate::webViewScrolled):
2380 (UIDelegate::webViewShouldInterruptJavaScript):
2381 (UIDelegate::webViewReceivedFocus):
2382 (UIDelegate::webViewLostFocus):
2383 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2384 (FrameLoadDelegate::QueryInterface):
2385 (FrameLoadDelegate::AddRef):
2386 (FrameLoadDelegate::Release):
2387 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2388 (FrameLoadDelegate::didCommitLoadForFrame):
2389 (FrameLoadDelegate::didReceiveTitle):
2390 (FrameLoadDelegate::processWork):
2392 (FrameLoadDelegate::locationChangeDone):
2393 (FrameLoadDelegate::didFinishLoadForFrame):
2394 (FrameLoadDelegate::didFailLoadWithError):
2395 (FrameLoadDelegate::windowScriptObjectAvailable):
2396 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2397 (FrameLoadDelegate::FrameLoadDelegate):
2399 2007-09-14 Sam Weinig <sam@webkit.org>
2401 Reviewed by Kevin McCullough.
2403 Move mac specific globals in to mac/DumpRenderTreeMac.h
2405 * DumpRenderTree/DumpRenderTree.h:
2406 * DumpRenderTree/DumpRenderTree.mm: Removed.
2407 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2408 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2409 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2411 2007-09-14 Brady Eidson <beidson@apple.com>
2413 Rubberstamped by Weinig
2415 You know, Sam, some of us use case-sensitve filesystems...
2417 * DumpRenderTree/DumpRenderTree.h:
2418 * DumpRenderTree/mac/UIDelegate.mm:
2420 2007-09-14 Sam Weinig <sam@webkit.org>
2422 Rubber stamped by Adam Roben.
2424 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2425 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2427 * DumpRenderTree/AppleScriptController.h: Removed.
2428 * DumpRenderTree/AppleScriptController.m: Removed.
2429 * DumpRenderTree/DumpRenderTree.h:
2430 * DumpRenderTree/DumpRenderTree.mm:
2431 (startJavaScriptThreads):
2432 (stopJavaScriptThreads):
2434 (setDefaultColorProfileToRGB):
2435 (makeLargeMallocFailSilently):
2436 (dumpFrameScrollPosition):
2440 (-[DumpRenderTreeWindow isKeyWindow]):
2441 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2442 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2443 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2444 * DumpRenderTree/EditingDelegate.h: Removed.
2445 * DumpRenderTree/EditingDelegate.m: Removed.
2446 * DumpRenderTree/EventSendingController.h: Removed.
2447 * DumpRenderTree/EventSendingController.m: Removed.
2448 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2449 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2450 * DumpRenderTree/GCController.mm: Removed.
2451 * DumpRenderTree/ImageDiff.m: Removed.
2452 * DumpRenderTree/LayoutTestController.cpp:
2453 (LayoutTestController::LayoutTestController):
2454 (dumpAsTextCallback):
2455 (dumpBackForwardListCallback):
2456 (dumpChildFramesAsTextCallback):
2457 (dumpChildFrameScrollPositionsCallback):
2458 (dumpDOMAsWebArchiveCallback):
2459 (dumpEditingCallbacksCallback):
2460 (dumpFrameLoadCallbacksCallback):
2461 (dumpResourceLoadCallbacksCallback):
2462 (dumpSelectionRectCallback):
2463 (dumpSourceAsWebArchiveCallback):
2464 (dumpTitleChangesCallback):
2465 (repaintSweepHorizontallyCallback):
2466 (setCallCloseOnWebViewsCallback):
2467 (setCanOpenWindowsCallback):
2468 (setCloseRemainingWindowsWhenCompleteCallback):
2469 (testRepaintCallback):
2470 (addFileToPasteboardOnDragCallback):
2471 (waitUntilDoneCallback):
2472 * DumpRenderTree/LayoutTestController.h:
2473 (LayoutTestController::dumpAsText):
2474 (LayoutTestController::setDumpAsText):
2475 (LayoutTestController::dumpBackForwardList):
2476 (LayoutTestController::setDumpBackForwardList):
2477 (LayoutTestController::dumpChildFrameScrollPositions):
2478 (LayoutTestController::setDumpChildFrameScrollPositions):
2479 (LayoutTestController::dumpChildFramesAsText):
2480 (LayoutTestController::setDumpChildFramesAsText):
2481 (LayoutTestController::dumpDOMAsWebArchive):
2482 (LayoutTestController::setDumpDOMAsWebArchive):
2483 (LayoutTestController::dumpSelectionRect):
2484 (LayoutTestController::setDumpSelectionRect):
2485 (LayoutTestController::dumpSourceAsWebArchive):
2486 (LayoutTestController::setDumpSourceAsWebArchive):
2487 (LayoutTestController::dumpTitleChanges):
2488 (LayoutTestController::setDumpTitleChanges):
2489 (LayoutTestController::dumpEditingCallbacks):
2490 (LayoutTestController::setDumpEditingCallbacks):
2491 (LayoutTestController::dumpResourceLoadCallbacks):
2492 (LayoutTestController::setDumpResourceLoadCallbacks):
2493 (LayoutTestController::dumpFrameLoadCallbacks):
2494 (LayoutTestController::setDumpFrameLoadCallbacks):
2495 (LayoutTestController::addFileToPasteboardOnDrag):
2496 (LayoutTestController::setAddFileToPasteboardOnDrag):
2497 (LayoutTestController::callCloseOnWebViews):
2498 (LayoutTestController::setCallCloseOnWebViews):
2499 (LayoutTestController::canOpenWindows):
2500 (LayoutTestController::setCanOpenWindows):
2501 (LayoutTestController::closeRemainingWindowsWhenComplete):
2502 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2503 (LayoutTestController::testRepaint):
2504 (LayoutTestController::setTestRepaint):
2505 (LayoutTestController::testRepaintSweepHorizontally):
2506 (LayoutTestController::setTestRepaintSweepHorizontally):
2507 (LayoutTestController::waitToDump):
2508 (LayoutTestController::windowIsKey):
2509 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2510 * DumpRenderTree/NavigationController.h: Removed.
2511 * DumpRenderTree/NavigationController.m: Removed.
2512 * DumpRenderTree/ObjCController.h: Removed.
2513 * DumpRenderTree/ObjCController.m: Removed.
2514 * DumpRenderTree/ObjCPlugin.h: Removed.
2515 * DumpRenderTree/ObjCPlugin.m: Removed.
2516 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2517 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2518 * DumpRenderTree/PolicyDelegate.h: Removed.
2519 * DumpRenderTree/PolicyDelegate.m: Removed.
2520 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2521 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2522 * DumpRenderTree/TextInputController.h: Removed.
2523 * DumpRenderTree/TextInputController.m: Removed.
2524 * DumpRenderTree/UIDelegate.h: Removed.
2525 * DumpRenderTree/UIDelegate.mm: Removed.
2526 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2527 * DumpRenderTree/mac: Added.
2528 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2529 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2530 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2531 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2532 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2533 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2534 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2535 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2536 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2537 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2538 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2539 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2540 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2541 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2542 (-[EditingDelegate webViewDidBeginEditing:]):
2543 (-[EditingDelegate webViewDidChange:]):
2544 (-[EditingDelegate webViewDidEndEditing:]):
2545 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2546 (-[EditingDelegate webViewDidChangeSelection:]):
2547 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2548 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2549 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2550 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2551 (-[FrameLoadDelegate init]):
2552 (-[FrameLoadDelegate dealloc]):
2553 (-[FrameLoadDelegate processWork:]):
2554 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2555 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2556 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2557 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2558 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2559 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2560 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2561 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2562 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2563 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2564 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2565 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2566 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2567 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2568 (-[FrameLoadDelegate webView:willCloseFrame:]):
2569 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2570 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2571 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2572 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2573 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2574 (LayoutTestController::notifyDone):
2575 (LayoutTestController::setWindowIsKey):
2576 (LayoutTestController::setWaitToDump):
2577 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2578 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2579 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2580 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2581 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2582 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2583 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2584 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2585 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2586 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2587 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2588 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2589 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2590 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2591 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2592 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2593 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2594 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2595 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2596 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2597 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2598 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2599 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2600 (-[UIDelegate webViewFocus:]):
2601 (-[UIDelegate webView:createWebViewWithRequest:]):
2602 (-[UIDelegate webViewClose:]):
2603 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2605 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2609 - Changing Win version of Drosera work with recent changes.
2611 * Drosera/DebuggerDocument.cpp:
2612 * Drosera/DebuggerDocument.h:
2613 * Drosera/mac/DebuggerDocumentPlatform.mm:
2614 (NSStringCreateWithJSStringRef):
2615 (JSValueRefCreateWithNSString):
2616 * Drosera/win/DebuggerClient.cpp:
2617 (DebuggerClient::stepInto):
2618 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2620 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2624 - Moved isPaused into the JS for efficiency and simplicity.
2626 * Drosera/DebuggerDocument.cpp:
2627 (DebuggerDocument::DebuggerDocument):
2628 (DebuggerDocument::pauseCallback):
2629 (DebuggerDocument::resumeCallback):
2630 (DebuggerDocument::isPaused):
2631 (DebuggerDocument::staticFunctions):
2632 * Drosera/DebuggerDocument.h:
2633 * Drosera/console.js:
2634 * Drosera/debugger.js:
2635 * Drosera/mac/DebuggerClient.mm:
2636 (-[DebuggerClient validateUserInterfaceItem:]):
2638 2007-09-13 Sam Weinig <sam@webkit.org>
2640 Rubber stamped by Darin.
2642 Make DumpRenderTree more cross platform ready.
2643 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2644 - Use CF types instead of NS objects.
2647 * DumpRenderTree/DumpRenderTree.h:
2648 * DumpRenderTree/DumpRenderTree.mm:
2652 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2653 * DumpRenderTree/EditingDelegate.m:
2654 * DumpRenderTree/FrameLoadDelegate.h:
2655 * DumpRenderTree/FrameLoadDelegate.mm:
2656 (-[FrameLoadDelegate init]):
2657 (-[FrameLoadDelegate dealloc]):
2658 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2659 * DumpRenderTree/GCController.cpp: Added.
2660 (GCController::GCController):
2661 (GCController::~GCController):
2663 (collectOnAlternateThreadCallback):
2664 (getJSObjectCountCallback):
2665 (GCController::makeWindowObject):
2666 (GCController::getJSClass):
2667 (GCController::staticFunctions):
2668 * DumpRenderTree/GCController.h:
2669 * DumpRenderTree/GCController.mm:
2670 (GCController::collect):
2671 (GCController::collectOnAlternateThread):
2672 (GCController::getJSObjectCount):
2673 * DumpRenderTree/LayoutTestController.cpp:
2674 (LayoutTestController::makeWindowObject):
2675 (LayoutTestController::getJSClass):
2676 * DumpRenderTree/LayoutTestController.h:
2677 * DumpRenderTree/LayoutTestControllerMac.mm:
2678 (LayoutTestController::addDisallowedURL):
2679 (waitUntilDoneWatchdogFired):
2680 (LayoutTestController::waitUntilDone):
2681 * DumpRenderTree/ResourceLoadDelegate.m:
2682 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2684 2007-09-12 Sam Weinig <sam@webkit.org>
2686 Reviewed by Stephanie.
2688 Fix leaks in mac DumpRenderTree.
2690 * DumpRenderTree/FrameLoadDelegate.mm:
2691 (-[FrameLoadDelegate init]): Initalize in the correct order.
2692 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2693 * DumpRenderTree/LayoutTestController.cpp:
2694 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2695 (encodeHostNameCallback): ditto.
2696 * DumpRenderTree/LayoutTestController.h:
2697 * DumpRenderTree/LayoutTestControllerMac.mm:
2698 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2699 (LayoutTestController::copyEncodedHostName): ditto
2700 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2702 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2706 - 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.
2708 * Scripts/run-webkit-tests:
2710 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2714 - Simplified code paths and extracted out functions to increase encapsulation.
2716 * Drosera/DebuggerDocument.cpp:
2717 (DebuggerDocument::breakpointEditorHTMLCallback):
2718 (DebuggerDocument::isPausedCallback):
2719 (DebuggerDocument::pauseCallback):
2720 (DebuggerDocument::resumeCallback):
2721 (DebuggerDocument::stepIntoCallback):
2722 (DebuggerDocument::evaluateScriptCallback):
2723 (DebuggerDocument::currentFunctionStackCallback):
2724 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2725 (DebuggerDocument::valueForScopeVariableNamedCallback):
2726 (DebuggerDocument::logCallback):
2727 * Drosera/DebuggerDocument.h:
2728 (DebuggerDocument::getPaused):
2729 * Drosera/mac/DebuggerClient.mm:
2730 (-[DebuggerClient pause:]):
2731 (-[DebuggerClient resume:]):
2732 (-[DebuggerClient stepInto:]):
2733 (-[DebuggerClient stepOver:]):
2734 (-[DebuggerClient stepOut:]):
2735 (-[DebuggerClient showConsole:]):
2736 (-[DebuggerClient closeCurrentFile:]):
2737 (-[DebuggerClient validateUserInterfaceItem:]):
2738 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2739 (+[NSString stringOrNilFromWebScriptResult:]):
2740 (DebuggerDocument::platformPause):
2741 (DebuggerDocument::platformResume):
2742 (DebuggerDocument::platformStepInto):
2743 (DebuggerDocument::platformEvaluateScript):
2744 (DebuggerDocument::getPlatformCurrentFunctionStack):
2745 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2746 (DebuggerDocument::platformValueForScopeVariableNamed):
2747 (DebuggerDocument::platformLog):
2748 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2750 2007-09-12 Sam Weinig <sam@webkit.org>
2752 Build fix for Buildbot.
2754 * DumpRenderTree/DumpRenderTree.mm:
2757 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2761 - Updated the leaks list for leopard to help identify regressions.
2763 * Scripts/run-webkit-tests:
2765 2007-09-12 Sam Weinig <sam@webkit.org>
2767 Rubber stamped by Darin.
2769 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2771 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2772 * DumpRenderTree/DumpRenderTree.m: Removed.
2773 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2774 (stopJavaScriptThreads): Fix initialization.
2775 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2776 (dumpRenderTree): Ditto.
2778 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2780 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2781 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2782 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2783 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2784 (-[FrameLoadDelegate init]):
2785 (-[FrameLoadDelegate dealloc]):
2786 (-[FrameLoadDelegate processWork:]):
2787 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2788 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2789 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2791 * DumpRenderTree/LayoutTestController.cpp: Added.
2792 (LayoutTestController::LayoutTestController):
2793 (LayoutTestController::~LayoutTestController):
2794 (dumpAsTextCallback):
2795 (dumpBackForwardListCallback):
2796 (dumpChildFramesAsTextCallback):
2797 (dumpChildFrameScrollPositionsCallback):
2798 (dumpDOMAsWebArchiveCallback):
2799 (dumpEditingCallbacksCallback):
2800 (dumpFrameLoadCallbacksCallback):
2801 (dumpResourceLoadCallbacksCallback):
2802 (dumpSelectionRectCallback):
2803 (dumpSourceAsWebArchiveCallback):
2804 (dumpTitleChangesCallback):
2805 (repaintSweepHorizontallyCallback):
2806 (setCallCloseOnWebViewsCallback):
2807 (setCanOpenWindowsCallback):
2808 (setCloseRemainingWindowsWhenCompleteCallback):
2809 (testRepaintCallback):
2810 (addFileToPasteboardOnDragCallback):
2811 (addDisallowedURLCallback):
2812 (clearBackForwardListCallback):
2813 (decodeHostNameCallback):
2815 (encodeHostNameCallback):
2816 (keepWebHistoryCallback):
2817 (notifyDoneCallback):
2818 (queueBackNavigationCallback):
2819 (queueForwardNavigationCallback):
2820 (queueLoadCallback):
2821 (queueReloadCallback):
2822 (queueScriptCallback):
2823 (setAcceptsEditingCallback):
2824 (setCustomPolicyDelegateCallback):
2825 (setMainFrameIsFirstResponderCallback):
2826 (setTabKeyCyclesThroughElementsCallback):
2827 (setUseDashboardCompatibilityModeCallback):
2828 (setUserStyleSheetEnabledCallback):
2829 (setUserStyleSheetLocationCallback):
2830 (setWindowIsKeyCallback):
2831 (waitUntilDoneCallback):
2832 (windowCountCallback):
2833 (LayoutTestController::makeWindowObject):
2834 (LayoutTestController::getLayoutTestControllerJSClass):
2835 (LayoutTestController::staticFunctions):
2836 * DumpRenderTree/LayoutTestController.h: Replaced.
2837 * DumpRenderTree/LayoutTestController.m: Removed.
2838 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2839 (LayoutTestController::dumpAsText):
2840 (LayoutTestController::dumpBackForwardList):
2841 (LayoutTestController::dumpChildFramesAsText):
2842 (LayoutTestController::dumpChildFrameScrollPositions):
2843 (LayoutTestController::dumpDOMAsWebArchive):
2844 (LayoutTestController::dumpEditingCallbacks):
2845 (LayoutTestController::dumpFrameLoadCallbacks):
2846 (LayoutTestController::dumpResourceLoadCallbacks):
2847 (LayoutTestController::dumpSelectionRect):
2848 (LayoutTestController::dumpSourceAsWebArchive):
2849 (LayoutTestController::dumpTitleChanges):
2850 (LayoutTestController::repaintSweepHorizontally):
2851 (LayoutTestController::setCallCloseOnWebViews):
2852 (LayoutTestController::setCanOpenWindows):
2853 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2854 (LayoutTestController::testRepaint):
2855 (LayoutTestController::addFileToPasteboardOnDrag):
2856 (LayoutTestController::addDisallowedURL):
2857 (LayoutTestController::clearBackForwardList):
2858 (LayoutTestController::decodeHostName):
2859 (LayoutTestController::encodeHostName):
2860 (LayoutTestController::display):
2861 (LayoutTestController::keepWebHistory):
2862 (LayoutTestController::notifyDone):
2863 (LayoutTestController::queueBackNavigation):
2864 (LayoutTestController::queueForwardNavigation):
2865 (LayoutTestController::queueLoad):
2866 (LayoutTestController::queueReload):
2867 (LayoutTestController::queueScript):
2868 (LayoutTestController::setAcceptsEditing):
2869 (LayoutTestController::setCustomPolicyDelegate):
2870 (LayoutTestController::setMainFrameIsFirstResponder):
2871 (LayoutTestController::setTabKeyCyclesThroughElements):
2872 (LayoutTestController::setUseDashboardCompatibilityMode):
2873 (LayoutTestController::setUserStyleSheetEnabled):
2874 (LayoutTestController::setUserStyleSheetLocation):
2875 (LayoutTestController::setWindowIsKey):
2876 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2877 (LayoutTestController::waitUntilDone):
2878 (LayoutTestController::windowCount):
2879 Use the JSCore API to implement the LayoutTestController.
2881 * DumpRenderTree/ObjCController.h:
2882 * DumpRenderTree/ObjCController.m:
2883 (+[ObjCController isSelectorExcludedFromWebScript:]):
2884 (+[ObjCController webScriptNameForSelector:]):
2885 (-[ObjCController accessStoredWebScriptObject]):
2886 (-[ObjCController storeWebScriptObject:]):
2887 (-[ObjCController dealloc]):
2888 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2889 Move WebScriptObject tests to ObjCController.
2891 * DumpRenderTree/UIDelegate.m: Removed.
2892 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2894 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2895 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2896 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2897 (WorkQueueItem::~WorkQueueItem):
2898 (LoadItem::LoadItem):
2901 (ScriptItem::ScriptItem):
2902 (ScriptItem::script):
2903 * DumpRenderTree/WorkQueueItemMac.mm: Added.
2905 (ReloadItem::invoke):
2906 (ScriptItem::invoke):
2907 (BackForwardItem::invoke):
2908 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2909 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
2912 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2916 - Updated Win side to take advantage of the platform separating changes.
2918 * Drosera/DebuggerDocument.cpp:
2919 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2920 * Drosera/DebuggerDocument.h:
2921 * Drosera/win/DebuggerClient.cpp:
2922 (DebuggerClient::pause):
2923 (DebuggerClient::resume):
2924 (DebuggerClient::stepInto):
2925 (DebuggerDocument::platformPause):
2926 (DebuggerDocument::platformResume):
2927 (DebuggerDocument::platformStepInto):
2928 (DebuggerDocument::platformEvaluateScript):
2929 (DebuggerDocument::getPlatformCurrentFunctionStack):
2930 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2931 (DebuggerDocument::platformValueForScopeVariableNamed):
2932 (DebuggerDocument::platformLog):
2933 * Drosera/win/DebuggerClient.h:
2934 * Drosera/win/Drosera.cpp:
2936 (Drosera::windowScriptObjectAvailable):
2937 (Drosera::initWithServerName):
2938 (Drosera::switchToServerNamed):
2939 * Drosera/win/Drosera.h:
2940 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2942 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2946 - Just doing the moves in a separate patch so the changes are easier to see.
2948 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2949 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2950 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2951 * Drosera/win/DebuggerDocumentWin.h: Removed.
2952 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2954 2007-09-11 Sven Herzberg <sven@imendio.com>
2956 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2957 http://bugs.webkit.org/show_bug.cgi?id=15176
2959 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2960 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2961 other paths eg. from jhbuild)
2963 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2967 - Made an order-of-deletion mistake.
2969 * Drosera/DebuggerDocument.h:
2970 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2971 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2972 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2973 * Drosera/mac/DebuggerClient.mm:
2974 (DebuggerDocument::platformPause):
2975 (DebuggerDocument::platformResume):
2976 (DebuggerDocument::platformStepInto):
2977 (DebuggerDocument::platformEvaluateScript):
2978 (DebuggerDocument::getPlatformCurrentFunctionStack):
2979 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2980 (DebuggerDocument::platformValueForScopeVariableNamed):
2981 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2983 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2987 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2989 * Drosera/DebuggerDocument.cpp:
2990 (DebuggerDocument::DebuggerDocument):
2991 * Drosera/DebuggerDocument.h:
2992 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2993 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2994 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2995 * Drosera/mac/DebuggerApplication.mm:
2996 (-[DebuggerApplication attach:]):
2997 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2998 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2999 (DebuggerDocument::platformPause):
3000 (DebuggerDocument::platformResume):
3001 (DebuggerDocument::platformStepInto):
3002 (DebuggerDocument::platformEvaluateScript):
3003 (DebuggerDocument::getPlatformCurrentFunctionStack):
3004 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3005 (DebuggerDocument::platformValueForScopeVariableNamed):
3006 (DebuggerDocument::platformLog):
3007 * Drosera/mac/DebuggerDocumentMac.h: Removed.
3008 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3009 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3011 2007-09-09 Sam Weinig <sam@webkit.org>
3013 Reviewed by Mark Rowe.
3015 Remove 'objC' prefix from methods now in the ObjCController.
3017 * DumpRenderTree/ObjCController.m:
3018 (+[ObjCController isSelectorExcludedFromWebScript:]):
3019 (+[ObjCController webScriptNameForSelector:]):
3020 (-[ObjCController classNameOf:]):
3021 (-[ObjCController objectOfClass:]):
3022 (-[ObjCController identityIsEqual::]):
3023 (-[ObjCController longLongRoundTrip:]):
3024 (-[ObjCController unsignedLongLongRoundTrip:]):
3026 2007-09-09 Sam Weinig <sam@webkit.org>
3030 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
3031 - Move LayoutTestController into its own file.
3032 - Move Objective-C only functions on LayoutTestController into a new controller called the
3035 * DumpRenderTree/DumpRenderTree.h:
3036 * DumpRenderTree/DumpRenderTree.m:
3038 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3039 * DumpRenderTree/FrameLoadDelegate.m:
3040 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3041 * DumpRenderTree/LayoutTestController.h: Added.
3042 * DumpRenderTree/LayoutTestController.m: Added.
3043 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3044 (+[LayoutTestController webScriptNameForSelector:]):
3045 (-[LayoutTestController clearBackForwardList]):
3046 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3047 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3048 (-[LayoutTestController setCustomPolicyDelegate:]):
3049 (-[LayoutTestController keepWebHistory]):
3050 (-[LayoutTestController setCallCloseOnWebViews:]):
3051 (-[LayoutTestController setCanOpenWindows]):
3052 (-[LayoutTestController waitUntilDone]):
3053 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3054 (-[LayoutTestController notifyDone]):
3055 (-[LayoutTestController dumpAsText]):
3056 (-[LayoutTestController addFileToPasteboardOnDrag]):
3057 (-[LayoutTestController addDisallowedURL:]):
3058 (-[LayoutTestController setUserStyleSheetLocation:]):
3059 (-[LayoutTestController setUserStyleSheetEnabled:]):
3060 (-[LayoutTestController dumpDOMAsWebArchive]):
3061 (-[LayoutTestController dumpSourceAsWebArchive]):
3062 (-[LayoutTestController dumpSelectionRect]):
3063 (-[LayoutTestController dumpTitleChanges]):
3064 (-[LayoutTestController dumpBackForwardList]):
3065 (-[LayoutTestController windowCount]):
3066 (-[LayoutTestController dumpChildFrameScrollPositions]):
3067 (-[LayoutTestController dumpChildFramesAsText]):
3068 (-[LayoutTestController dumpEditingCallbacks]):
3069 (-[LayoutTestController dumpResourceLoadCallbacks]):
3070 (-[LayoutTestController dumpFrameLoadCallbacks]):
3071 (-[LayoutTestController setWindowIsKey:]):
3072 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3073 (-[LayoutTestController display]):
3074 (-[LayoutTestController testRepaint]):
3075 (-[LayoutTestController repaintSweepHorizontally]):
3076 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3077 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
3078 (-[LayoutTestController _doLoad:target:]):
3079 (-[LayoutTestController _doBackOrForwardNavigation:]):
3080 (-[LayoutTestController queueBackNavigation:]):
3081 (-[LayoutTestController queueForwardNavigation:]):
3082 (-[LayoutTestController queueReload]):
3083 (-[LayoutTestController queueScript:]):
3084 (-[LayoutTestController queueLoad:target:]):
3085 (-[LayoutTestController setAcceptsEditing:]):
3086 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3087 (-[LayoutTestController storeWebScriptObject:]):
3088 (-[LayoutTestController accessStoredWebScriptObject]):
3089 (-[LayoutTestController dealloc]):
3090 (-[LayoutTestController decodeHostName:]):
3091 (-[LayoutTestController encodeHostName:]):
3092 * DumpRenderTree/ObjCController.h: Added.
3093 * DumpRenderTree/ObjCController.m: Added.
3094 (+[ObjCController isSelectorExcludedFromWebScript:]):
3095 (+[ObjCController webScriptNameForSelector:]):
3096 (-[ObjCController objCClassNameOf:]):
3097 (-[ObjCController objCObjectOfClass:]):
3098 (-[ObjCController objCIdentityIsEqual::]):
3099 (-[ObjCController objCLongLongRoundTrip:]):
3100 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
3101 (-[ObjCController testWrapperRoundTripping:]):
3103 2007-09-07 Sam Weinig <sam@webkit.org>
3107 Strip trailing and leading space/newline characters from skiplist file names.
3109 * Scripts/run-webkit-tests:
3111 2007-09-06 Kevin McCullough <kmccullough@apple.com>
3115 - Changed Drosera to take advantage of the JSRetainPtr changes.
3117 * Drosera/DebuggerDocument.cpp:
3118 (DebuggerDocument::breakpointEditorHTML):
3119 (DebuggerDocument::evaluateScript):
3120 (DebuggerDocument::valueForScopeVariableNamed):
3121 (DebuggerDocument::log):
3122 (DebuggerDocument::windowScriptObjectAvailable):
3123 (DebuggerDocument::toJSArray):
3124 (DebuggerDocument::callFunctionOnObject):
3125 (DebuggerDocument::logException):
3126 * Drosera/mac/DebuggerDocumentMac.mm:
3127 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3128 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3129 (DebuggerDocument::platformEvaluateScript):
3130 (DebuggerDocument::getPlatformCurrentFunctionStack):
3131 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3132 (DebuggerDocument::platformValueForScopeVariableNamed):
3134 2007-09-05 Kevin McCullough <kmccullough@apple.com>
3136 Reviewed by Adam, Sam, Darin.
3138 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
3140 * Drosera/Debugger.h: Added.
3141 * Drosera/DebuggerDocument.cpp:
3142 (DebuggerDocument::breakpointEditorHTMLCallback):
3143 (DebuggerDocument::isPausedCallback):
3144 (DebuggerDocument::pauseCallback):
3145 (DebuggerDocument::resumeCallback):
3146 (DebuggerDocument::stepIntoCallback):
3147 (DebuggerDocument::evaluateScriptCallback):
3148 (DebuggerDocument::currentFunctionStackCallback):
3149 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3150 (DebuggerDocument::valueForScopeVariableNamedCallback):
3151 (DebuggerDocument::logCallback):
3152 (DebuggerDocument::breakpointEditorHTML):
3153 (DebuggerDocument::isPaused):
3154 (DebuggerDocument::pause):
3155 (DebuggerDocument::resume):
3156 (DebuggerDocument::stepInto):
3157 (DebuggerDocument::evaluateScript):
3158 (DebuggerDocument::currentFunctionStack):
3159 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3160 (DebuggerDocument::valueForScopeVariableNamed):
3161 (DebuggerDocument::log):
3162 (DebuggerDocument::toolbarPause):
3163 (DebuggerDocument::toolbarResume):
3164 (DebuggerDocument::toolbarStepInto):
3165 (DebuggerDocument::toolbarStepOver):
3166 (DebuggerDocument::toolbarStepOut):
3167 (DebuggerDocument::toolbarShowConsole):
3168 (DebuggerDocument::toolbarCloseCurrentFile):
3169 (DebuggerDocument::updateFileSource):
3170 (DebuggerDocument::didParseScript):
3171 (DebuggerDocument::willExecuteStatement):
3172 (DebuggerDocument::didEnterCallFrame):
3173 (DebuggerDocument::willLeaveCallFrame):
3174 (DebuggerDocument::exceptionWasRaised):
3175 (DebuggerDocument::windowScriptObjectAvailable):
3176 (DebuggerDocument::toJSArray):
3177 (DebuggerDocument::callGlobalFunction):
3178 (DebuggerDocument::callFunctionOnObject):
3179 (DebuggerDocument::getDroseraJSClass):
3180 (DebuggerDocument::staticFunctions):
3181 (DebuggerDocument::logException):
3182 * Drosera/DebuggerDocument.h:
3183 (DebuggerDocument::DebuggerDocument):
3184 * Drosera/ForwardingHeaders: Added.
3185 * Drosera/ForwardingHeaders/wtf: Added.
3186 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3188 * Drosera/console.html:
3189 * Drosera/console.js:
3190 * Drosera/debugger.js:
3191 * Drosera/mac/DebuggerApplication.mm:
3192 (-[DebuggerApplication attach:]):
3193 * Drosera/mac/DebuggerDocumentMac.h:
3194 * Drosera/mac/DebuggerDocumentMac.mm:
3195 (+[NSString stringOrNilFromWebScriptResult:]):
3196 (+[DebuggerClientMac log:]):
3197 (-[DebuggerClientMac initWithServerName:]):
3198 (-[DebuggerClientMac dealloc]):
3199 (-[DebuggerClientMac pause]):
3200 (-[DebuggerClientMac resume]):
3201 (-[DebuggerClientMac pause:]):
3202 (-[DebuggerClientMac resume:]):
3203 (-[DebuggerClientMac stepInto:]):
3204 (-[DebuggerClientMac stepOver:]):
3205 (-[DebuggerClientMac stepOut:]):
3206 (-[DebuggerClientMac showConsole:]):
3207 (-[DebuggerClientMac closeCurrentFile:]):
3208 (-[DebuggerClientMac validateUserInterfaceItem:]):
3209 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3210 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3211 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3212 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3213 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3214 (DebuggerDocument::platformPause):
3215 (DebuggerDocument::platformResume):
3216 (DebuggerDocument::platformStepInto):
3217 (DebuggerDocument::platformEvaluateScript):
3218 (DebuggerDocument::platformCurrentFunctionStack):
3219 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3220 (DebuggerDocument::platformValueForScopeVariableNamed):
3221 (DebuggerDocument::platformLog):
3222 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3224 2007-09-06 Sam Weinig <sam@webkit.org>
3226 Reviewed by Adam Roben.
3228 Register the WebKit DLL on initialization of the DumpRenderTree.
3230 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3233 2007-09-05 Sam Weinig <sam@webkit.org>
3237 Fix many layout test failures caused by r25364.
3238 Set text size to standand size at the begining of each test matching the mac.
3240 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3243 2007-09-04 Sam Weinig <sam@webkit.org>
3247 Fix for <rdar://problem/5382277>
3248 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3250 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3251 (textZoomInCallback):
3252 (textZoomOutCallback):
3254 2007-08-29 David Kilzer <ddkilzer@apple.com>
3258 Added case-insensitivity to checks for adding regression tests.
3260 * Scripts/prepare-ChangeLog:
3263 2007-08-28 David Kilzer <ddkilzer@apple.com>
3267 Ignore files in /resources/ subdirectories when creating a list of added tests.
3269 * Scripts/prepare-ChangeLog:
3272 2007-08-27 Kevin McCullough <kmccullough@apple.com>
3276 - Removed Leopard leaks list since all of those radars were fixed.
3278 * Scripts/run-webkit-tests:
3280 2007-08-27 Adam Roben <aroben@apple.com>
3282 Rubberstamped by Mark.
3284 * Scripts/pdevenv: Pass arguments along to devenv.com.
3286 2007-08-26 David Kilzer <ddkilzer@webkit.org>
3288 Reviewed by Mark Rowe.
3290 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3292 * Scripts/prepare-ChangeLog:
3293 (changeLogDate): Added.
3295 2007-08-24 Sam Weinig <sam@webkit.org>
3297 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3299 2007-08-24 Sam Weinig <sam@webkit.org>
3301 Rubber-stamped by Adam Roben.
3303 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3305 Rename COM DOM bindings to use Deprecated prefix.
3307 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3310 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
3313 (EditingDelegate::shouldBeginEditingInDOMRange):
3314 (EditingDelegate::shouldEndEditingInDOMRange):
3315 (EditingDelegate::shouldInsertNode):
3316 (EditingDelegate::shouldInsertText):
3317 (EditingDelegate::shouldDeleteDOMRange):
3318 (EditingDelegate::shouldChangeSelectedDOMRange):
3319 (EditingDelegate::shouldApplyStyle):
3320 (EditingDelegate::shouldChangeTypingStyle):
3321 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
3323 2007-08-24 Oliver Hunt <oliver@apple.com>
3327 WebDataSource::response can legitimately have a null response, so we
3328 must check that case.
3330 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3331 (queueLoadCallback):
3333 2007-08-23 Mitz Pettel <mitz@webkit.org>
3335 Reviewed by Darin and Adam.
3337 - DumpRenderTree changes to allow testing for
3338 http://bugs.webkit.org/show_bug.cgi?id=11756
3339 REGRESSION: link targeting a frame in another window does not work
3340 <rdar://problem/5286420>
3342 Use a frame group name for all WebViews created by DumpRenderTree to
3343 allow testing of cross-page frame lookup.
3345 * DumpRenderTree/DumpRenderTree.m:
3346 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
3347 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3348 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
3350 2007-08-23 David Kilzer <ddkilzer@webkit.org>
3354 Quote the $sslCertificate path in case it contains a space.
3356 * Scripts/run-webkit-httpd:
3357 * Scripts/run-webkit-tests:
3359 2007-08-22 Oliver Hunt <oliver@apple.com>
3361 Reviewed by John and Adam.
3363 WebDataSource::response can legitimately have a null response, so we
3364 must check that case.
3366 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3369 2007-08-21 Kevin McCullough <kmccullough@apple.com>
3373 - Changing the usage to be more clear.
3375 * Scripts/run-testkjs:
3377 2007-08-20 John Sullivan <sullivan@apple.com>
3379 Reviewed by Adam Roben
3381 * DumpRenderTree/DumpRenderTree.m:
3383 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
3384 in layout tests on Tiger and Leopard
3386 2007-08-20 Adam Roben <aroben@apple.com>
3388 Put LayoutTests after all other ChangeLogs in commit logs
3390 We use "~" to sort LayoutTests after all the other ChangeLogs because
3391 "~" is the last ASCII character (other than "DEL").
3395 * Scripts/commit-log-editor:
3397 2007-08-20 Adam Roben <aroben@apple.com>
3399 Detect that DRT crashed even if a crash dialog is running
3401 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
3402 process is still running at this point, so run-webkit-tests wouldn't
3403 detect that DRT had crashed. We now record the crash in our SIGPIPE
3404 handler so that we know if DRT crashed even if the crash dialog is up.
3408 * Scripts/run-webkit-tests:
3409 (sub catch_pipe): Set the crashed bit.
3410 (sub openDumpTool): Reset the crashed bit.
3411 (sub dumpToolDidCrash): Check the crashed bit.
3413 2007-08-20 Adam Roben <aroben@apple.com>
3415 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
3417 http://bugs.webkit.org/show_bug.cgi?id=15026
3419 Reviewed by David Kilzer and Darin Adler.
3421 * Scripts/prepare-ChangeLog:
3422 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
3423 (sub isAddedStatus): Ditto.
3424 (sub testListForChangeLog): Added.
3426 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
3430 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
3432 * Scripts/webkitdirs.pm:
3433 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
3435 2007-08-17 Darin Adler <darin@apple.com>
3437 Reviewed by Oliver Hunt.
3439 - don't look for Apple-style localizable strings in the GTK version of WebKit
3441 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
3442 name of subdirectories to skip.
3443 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
3446 2007-08-17 Anders Carlsson <andersca@apple.com>
3450 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3453 2007-08-17 Anders Carlsson <andersca@apple.com>
3455 Reviewed by Dave Hyatt.
3457 <rdar://problem/5379040>
3458 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
3460 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
3462 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3464 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3465 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3469 2007-08-16 Alice Liu <alice.liu@apple.com>
3473 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
3475 * DumpRenderTree/DumpRenderTree.m:
3477 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
3479 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
3481 2007-08-16 Kevin McCullough <kmccullough@apple.com>
3485 - 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.
3487 * Scripts/run-webkit-tests:
3489 2007-08-15 Timothy Hatcher <timothy@apple.com>
3491 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
3492 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
3494 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
3495 this prevents making "build" directories in each project folder.
3497 * Scripts/webkitdirs.pm:
3499 2007-08-14 Geoffrey Garen <ggaren@apple.com>
3501 Reviewed by Kevin Mccullough.
3503 Removed special case that didn't belong. (It would allow a global
3504 initializer to sneak into production builds, which would cause a
3505 system-wide performance regression on Mac OS X.)
3507 * Scripts/check-for-global-initializers:
3509 2007-08-14 Justin Garcia <justin.garcia@apple.com>
3513 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
3515 * DumpRenderTree/EditingDelegate.m:
3516 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
3517 only for elements with the class needsDeletionUI.
3519 2007-08-14 David Kilzer <ddkilzer@webkit.org>
3523 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
3524 svn-create-patch uses deprecated tail switch
3526 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
3528 2007-08-13 Sam Weinig <sam@webkit.org>
3530 Reviewed by Adam Roben.
3532 Use the cygwin specific Apache config file under cygwin.
3534 * Scripts/run-webkit-httpd:
3536 2007-08-12 Adam Roben <aroben@apple.com>
3538 Generate results for new tests in a more logical location
3540 New platform-specific tests always have their results generated right
3541 next to the test. New cross-platform tests will have their results
3542 generated a) in the cross-platform directory, if they are text-only,
3543 or b) in the least-specific platform directory, if they are render
3548 * Scripts/run-webkit-tests:
3550 2007-08-12 Adam Roben <aroben@apple.com>
3552 Print the actual directory where new results are generated.
3554 Before, we were printing an unpredictable, context-specific substring
3559 * Scripts/run-webkit-tests:
3561 2007-08-12 Adam Roben <aroben@apple.com>
3563 Factor some common code into a stripExtension() subroutine.
3567 * Scripts/run-webkit-tests: Also removed some debugging output.
3569 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
3571 Reviewed over and over and over by Adam Roben.
3573 Bug 14740: Hierarchical layout tests and platform organization
3574 http://bugs.webkit.org/show_bug.cgi?id=14740
3576 Add support for platform-specific layout tests and results.
3578 * Scripts/run-webkit-tests:
3580 2007-08-11 David Kilzer <ddkilzer@webkit.org>
3584 Refactored svn-create-path to use a hash-of-hashes data structure to keep
3585 track of changed files. In the top level hash, keys are paths to files and
3586 values are 'fileData' hashes with the following keys and values:
3588 - isBinary: boolean value (set to true for non-text files like images, etc.)
3589 - isTestFile: boolean value (set to true if file exists within a known test
3591 - modificationType: string equal to one of 'addition', 'additionWithHistory',
3592 'modification' or 'deletion'
3593 - path: string equal to the path to the file (this may seem redundant, but it
3594 is required to use the second-level 'fileData' hash independent of the
3596 - sourceFile: [optional] string equal to the path of the original file that was
3598 - sourceRevision: [optional] string equal to the revision of the original file
3599 that was copied or moved
3601 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3602 that saves the return value in $result, then checks it before printing help.
3603 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3604 and eliminated two for() loops.
3605 (binarycmp): Added. Used with sort() to order non-binary files before binary
3607 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
3608 (findMimeType): Added optional second argument that takes a revision number.
3609 (generateDiff): Updated to take one fileData argument instead of three ($file,
3610 $modificationType, $isBinary).
3611 (generateFileList): Updated to take one hash ref argument (%diffFiles)
3612 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
3613 %diffFiles using paths for keys and fileData hashes for values.
3614 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3616 (pathcmp): Updated to take two fileData arguments instead of two strings.
3617 (testfilecmp): Added. Used with sort() to order non-test files before test
3620 2007-08-11 Darin Adler <darin@apple.com>
3622 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3624 2007-08-06 Nigel Tao <nigeltao@gnome.org>
3626 Reviewed by David Kilzer.
3628 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3629 http://bugs.webkit.org/show_bug.cgi?id=14745
3631 * Scripts/run-launcher:
3632 Scrub the "--gdk" out of the command line args, if given, so that
3633 GdkLauncher doesn't try to interpret it as a URL.
3635 2007-08-03 Adam Roben <aroben@apple.com>
3637 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3641 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3643 2007-08-03 Sam Weinig <sam@webkit.org>
3647 Recursively dump all frames as text using new
3648 layoutTestController.dumpChildFramesAsText() function.
3650 * DumpRenderTree/DumpRenderTree.m:
3653 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3654 (-[LayoutTestController dumpChildFramesAsText]):
3656 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3660 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3661 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3662 (dumpChildFramesAsTextCallback):
3663 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3665 2007-08-02 Adam Roben <aroben@apple.com>
3667 Fix fast/dom/Window/alert-undefined.html
3671 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3672 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3673 Windows translate a null BSTR into "(null)"
3675 2007-08-02 Kevin McCullough <kmccullough@apple.com>
3679 - It would help if I actually called the right function.
3681 * Drosera/DebuggerDocument.cpp:
3682 (DebuggerDocument::showConsole):
3684 2007-08-02 Adam Roben <aroben@apple.com>
3686 Don't delete the stderr file right after creating it
3688 * Scripts/run-webkit-tests:
3690 2007-08-01 Adam Roben <aroben@apple.com>
3692 When DRT crashes, record stderr and restart DRT
3694 This prevents a DRT crash from causing the next few hundred tests to
3695 "fail" because DRT is no longer running.
3697 I also changed the terminology that run-webkit-tests uses in its
3698 output a bit, so that crashing tests are referred to as "crashes"
3699 instead of "failures".
3703 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3705 (sub openDumpTool): Use open3 so that we can access stderr.
3706 (sub dumpToolCrashed): Added.
3707 (sub printFailureMessageForTest): Added.
3708 (sub htmlForExpectedAndActualResults): Added.
3709 (sub deleteExpectedAndActualResults): Added.
3710 (sub recordActualResultsAndDiff): Added.
3712 2007-07-30 Darin Adler <darin@apple.com>
3714 Reviewed by Tim Hatcher.
3716 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3717 characters. This turned out not to be needed for the test case that motivated me to
3718 do it, but it's nice to have this for the future.
3720 2007-07-30 Simon Hausmann <hausmann@kde.org>
3724 Link QtLauncher into $$OUTPUT_DIR/bin
3726 * Scripts/run-launcher:
3728 2007-07-27 David Kilzer <ddkilzer@apple.com>
3730 Reviewed by Geoff and Darin.
3732 Use a subroutine for validating the --skipped switch.
3734 * Scripts/run-webkit-tests:
3736 2007-07-27 Darin Adler <darin@apple.com>
3740 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3742 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3746 Correct the path of GdkLauncher and make checkFrameworks work on OSX
3747 when building the Qt or Gtk+ port.
3749 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3750 * Scripts/run-launcher:
3751 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3753 2007-07-27 Simon Hausmann <hausmann@kde.org>
3755 Done with and reviewed by Lars and Zack.
3757 Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
3759 * Scripts/webkitdirs.pm:
3761 2007-07-27 Simon Hausmann <hausmann@kde.org>
3763 Done with and reviewed by Lars and Zack.
3765 For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
3767 * Scripts/webkitdirs.pm:
3769 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3771 Reviewed by Darin, Geoff, Sam.
3773 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
3775 - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
3777 * DumpRenderTree/UIDelegate.h:
3778 * DumpRenderTree/UIDelegate.m:
3779 (-[UIDelegate webView:setFrame:]):
3780 (-[UIDelegate webViewFrame:]):
3782 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3786 - Lars wanted this check for Qt but it breaks platform specific layout tests.
3788 * Scripts/run-webkit-tests:
3790 2007-07-25 Kevin McCullough <kmccullough@apple.com>
3792 Reviewed by Tim, Darin, Oliver.
3794 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
3795 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
3798 * DumpRenderTree/DumpRenderTree.m:
3801 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3802 (+[LayoutTestController webScriptNameForSelector:]):
3803 (-[LayoutTestController setCustomPolicyDelegate:]):
3804 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3805 * DumpRenderTree/FrameLoadDelegate.h:
3806 * DumpRenderTree/PolicyDelegate.h: Added.
3807 * DumpRenderTree/PolicyDelegate.m: Added.
3808 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3809 * DumpRenderTree/ResourceLoadDelegate.h:
3811 2007-07-25 Adam Treat <treat@kde.org>
3815 Fix build for some reported systems.
3817 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3819 2007-07-23 Adam Treat <treat@kde.org>
3821 Reviewed by Nikolas.
3823 Fix qt DRT to suppress js popup alerts and log instead.
3825 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3826 (WebCore::WebPage::javaScriptAlert):
3828 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
3832 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
3833 honor --qmakearg for the Gdk/Gtk build as well.
3835 * GdkLauncher/main.cpp: Switch to the new API
3836 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
3838 2007-07-22 Darin Adler <darin@apple.com>
3840 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
3841 Fix a leak by releasing the array used here.
3843 2007-07-22 David Kilzer <ddkilzer@webkit.org>
3847 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
3848 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
3850 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
3851 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
3853 * Scripts/update-iexploder-cssproperties: Added.
3854 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
3855 Added new CSS3 property section and Moved box-sizing property to it.
3857 2007-07-22 Oliver Hunt <oliver@apple.com>
3861 http://bugs.webkit.org/show_bug.cgi?id=14710
3863 Add preliminary support for testing Input Method/WebKit behaviour and interaction
3864 in DRT. This provides the NSTextInput API which is most of what should be necessary
3865 to mimic the event sequences Input Methods trigger.
3867 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3868 * DumpRenderTree/TextInputController.h:
3869 * DumpRenderTree/TextInputController.m:
3870 (-[WebHTMLView interpretKeyEvents:]):
3871 (+[TextInputController isSelectorExcludedFromWebScript:]):
3872 (+[TextInputController webScriptNameForSelector:]):
3873 (-[TextInputController initWithWebView:]):
3874 (-[TextInputController dealloc]):
3875 (-[TextInputController textInput]):
3876 (-[TextInputController setInputMethodHandler:]):
3877 (-[TextInputController interpretKeyEvents:withSender:]):
3879 2007-07-20 Adam Roben <aroben@apple.com>
3881 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
3882 message not count as an existing log.
3884 2007-07-19 Geoffrey Garen <ggaren@apple.com>
3886 Reviewed by Darin Adler.
3888 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
3889 value behavior of stringByEvaluatingJavaScriptFromString
3891 * DumpRenderTree/DumpRenderTree.m:
3892 (testStringByEvaluatingJavaScriptFromString):
3893 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3895 2007-07-19 Adam Roben <aroben@apple.com>
3897 Make commit-log-editor work with git
3901 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
3902 commit message template. Also removed the unused $breakPoint variable.
3904 2007-07-19 Adam Roben <aroben@apple.com>
3906 Move generally-useful VCS code into a new VCSUtils.pm module
3908 This is in preparation for making commit-log-editor git-friendly.
3912 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
3913 * Scripts/prepare-ChangeLog: Use VCSUtils.
3915 2007-07-19 Lars Knoll <lars@trolltech.com>
3917 Fix a crash on exit when running DRT against a current
3922 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3925 2007-07-18 Adam Roben <aroben@apple.com>
3927 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
3931 * Scripts/run-webkit-httpd:
3932 * Scripts/run-webkit-tests:
3934 2007-07-18 Adam Roben <aroben@apple.com>
3936 More git friendliness for prepare-ChangeLog
3938 The overall change is to remove the use of git-status and replace it
3939 with git-diff --name-status (which we were already using in the
3942 This lets us respect directories specified on the command line when
3943 using git, just as we do for Subversion. It also speeds things up a
3944 bit, especially in the subdirectory case, as git-status is pretty slow.
3946 I also fixed some issues where we wouldn't detect copied files and
3947 would reverse the new filename and the original filename for renamed files.
3951 * Scripts/prepare-ChangeLog:
3952 (sub diffFromToString): Added.
3953 (sub diffCommand): Don't append the paths in the --git-commit case, as
3954 we should be operating on the entire commit.
3955 (sub statusCommand): Always use git-diff --name-status, and added an
3956 extra -C option to git-diff to make it find a few more copied files.
3957 (sub createPatchCommand): Collapsed the two git cases a bit, and added
3958 the extra -C option as above.
3959 (sub generateFileList): Remove the git-status codepath, and recognize
3960 file copies in the --name-status output.
3961 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3963 (sub isConflictStatus): Updated the git dictionary.
3964 (sub statusDescription): Updated the git dictionary.
3966 2007-07-18 Timothy Hatcher <timothy@apple.com>
3968 * Scripts/build-drosera: Update where we look for the Xcode project.
3970 2007-07-18 Adam Treat <treat@kde.org>
3974 Use the old wording for Safari.
3976 * Scripts/build-webkit:
3977 * Scripts/webkitdirs.pm:
3979 2007-07-18 Adam Treat <treat@kde.org>
3983 Add convenience script for launching test apps for Qt and Gdk ports.
3984 Change the build-webkit script accordingly.
3986 * Scripts/build-webkit:
3987 * Scripts/run-launcher: Added.
3988 * Scripts/webkitdirs.pm:
3990 2007-07-18 Timothy Hatcher <timothy@apple.com>
3994 Make the Page with the now required InspectorClient.
3996 * GdkLauncher/main.cpp:
3999 2007-07-18 Timothy Hatcher <timothy@apple.com>
4001 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
4002 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
4004 * Drosera/Makefile: Added.
4005 * Drosera/mac/Makefile:
4006 * DumpRenderTree/Makefile:
4008 * Makefile.Drosera: Removed.
4009 * Makefile.shared: Removed.
4011 2007-07-18 Timothy Hatcher <timothy@apple.com>
4013 The console log was 20px down from the top for no reason, move it up.
4015 * Drosera/console.css:
4017 2007-07-18 Timothy Hatcher <timothy@apple.com>
4019 Use contentDocument to get the source view's iframe document.
4020 Also adds a null/undefined check for localVariableNames.
4022 * Drosera/debugger.js:
4024 2007-07-18 Lars Knoll <lars@trolltech.com>
4026 We really don't want to compare non text only tests to the
4027 Mac results if we don't have a result for Qt, as this would
4028 give a failure and not a notification that the test is new.
4032 * Scripts/run-webkit-tests:
4034 2007-07-18 Lars Knoll <lars@trolltech.com>
4036 Reviewed by Zack & Simon
4038 Adjust to changed API in QWebFrame
4040 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4041 (WebCore::DumpRenderTree::DumpRenderTree):
4043 2007-07-18 Mark Rowe <mrowe@apple.com>
4045 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
4047 * BuildSlaveSupport/build-launcher-app:
4049 2007-07-17 Geoffrey Garen <ggaren@apple.com>
4051 Reviewed by Antti Koivisto.
4053 Added watchdog timer to waitUntilDone to prevent a run-away test from
4054 hanging the test harness.
4056 * DumpRenderTree/DumpRenderTree.m:
4058 (-[LayoutTestController waitUntilDone]):
4059 (-[LayoutTestController waitUntilDoneWatchdogFired]):
4060 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4062 2007-07-17 Kevin McCullough <kmccullough@apple.com>
4066 - Implemented cross-platform code for functions calling into the JavaScript.
4068 * Drosera/DebuggerDocument.cpp:
4069 (DebuggerDocument::callAsFunction):
4070 (DebuggerDocument::pauseJS):
4071 (DebuggerDocument::resumeJS):
4072 (DebuggerDocument::stepIntoJS):
4073 (DebuggerDocument::stepOverJS):
4074 (DebuggerDocument::stepOutJS):
4075 (DebuggerDocument::showConsoleJS):
4076 (DebuggerDocument::closeCurrentFileJS):
4077 (DebuggerDocument::updateFileSource):
4078 (DebuggerDocument::didParseScript):
4079 (DebuggerDocument::willExecuteStatement):
4080 (DebuggerDocument::didEnterCallFrame):
4081 (DebuggerDocument::willLeaveCallFrame):
4082 (DebuggerDocument::exceptionWasRaised):
4083 * Drosera/DebuggerDocument.h:
4084 * Drosera/mac/DebuggerDocumentMac.mm:
4085 (-[DebuggerDocumentMac pause:]):
4086 (-[DebuggerDocumentMac resume:]):
4087 (-[DebuggerDocumentMac stepInto:]):
4088 (-[DebuggerDocumentMac stepOver:]):
4089 (-[DebuggerDocumentMac stepOut:]):
4090 (-[DebuggerDocumentMac showConsole:]):
4091 (-[DebuggerDocumentMac closeCurrentFile:]):
4092 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
4093 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
4094 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
4095 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
4096 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
4097 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
4099 2007-07-16 Kevin McCullough <kmccullough@apple.com>
4103 - Continued x-platform modifications.
4105 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
4106 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
4107 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
4108 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
4109 * Drosera/win/Drosera.cpp:
4110 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4111 * Drosera/win/stdafx.cpp: Removed.
4112 * Drosera/win/stdafx.h: Removed.
4114 2007-07-16 Kevin McCullough <kmccullough@apple.com>
4118 - Modified files to use cross-platform code.
4120 * Drosera/DebuggerDocument.cpp: Added.
4121 (DebuggerDocument::breakpointEditorHTML):
4122 (DebuggerDocument::isPaused):
4123 (DebuggerDocument::pause):
4124 (DebuggerDocument::resume):
4125 (DebuggerDocument::stepInto):
4126 (DebuggerDocument::evaluateScript):
4127 (DebuggerDocument::currentFunctionStack):
4128 (DebuggerDocument::localScopeVariableNamesForCallFrame):
4129 (DebuggerDocument::valueForScopeVariableNamed):
4130 * Drosera/DebuggerDocument.h: Added.
4131 (DebuggerDocument::DebuggerDocument):
4132 * Drosera/config.h: Added.
4133 * Drosera/mac/DebuggerApplication.mm:
4134 (-[DebuggerApplication attach:]):
4135 * Drosera/mac/DebuggerDocument.h: Removed.
4136 * Drosera/mac/DebuggerDocument.mm: Removed.
4137 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
4138 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
4139 (-[DebuggerDocumentMac initWithServerName:]):
4140 (-[DebuggerDocumentMac dealloc]):
4141 (-[DebuggerDocumentMac breakpointEditorHTML]):
4142 (-[DebuggerDocumentMac isPaused]):
4143 (-[DebuggerDocumentMac pause]):
4144 (-[DebuggerDocumentMac resume]):
4145 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
4146 * Drosera/win/DebuggerApplication.cpp:
4147 * Drosera/win/DebuggerObjectCallbacks.cpp:
4148 (breakpointEditorHTMLCallback):
4149 (currentFunctionStackCallback):
4150 (evaluateScript_inCallFrame_Callback):
4152 (localScopeVariableNamesForCallFrame_Callback):
4156 (valueForScopeVariableNamed_inCallFrame_Callback):
4158 * Drosera/win/Drosera.cpp:
4159 * Drosera/win/DroseraPrefix.cpp: Added.
4160 * Drosera/win/DroseraPrefix.h: Added.
4162 2007-07-16 Kevin McCullough <kmccullough@apple.com>
4164 Reviewed by Adam, Sam and Tim.
4166 - Moving files to prepare for cross-platform architecture.
4168 * Drosera/DebuggerApplication.h: Removed.
4169 * Drosera/DebuggerApplication.m: Removed.
4170 * Drosera/DebuggerDocument.h: Removed.
4171 * Drosera/DebuggerDocument.m: Removed.
4172 * Drosera/Drosera.pch: Removed.
4173 * Drosera/Drosera.xcodeproj: Removed.
4174 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
4175 * Drosera/Info.plist: Removed.
4176 * Drosera/LauncherInfo.plist: Removed.
4177 * Drosera/Makefile: Removed.
4178 * Drosera/launcher.m: Removed.
4179 * Drosera/mac: Added.
4180 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
4181 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
4182 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
4183 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
4184 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
4185 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
4186 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
4187 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist