1 2007-10-31 Adam Roben <aroben@apple.com>
3 Switch the Debug configuration to using the non-debug CRT
9 * DumpRenderTree/win/DumpRenderTree.vcproj:
11 2007-10-31 Antti Koivisto <antti@apple.com>
15 Disable media tests when doing leak checking on Tiger.
16 They crash in QuickTime (rdar://problem/5537157).
18 * Scripts/run-webkit-tests:
20 2007-10-29 Antti Koivisto <antti@apple.com>
24 Build media support by default on OSX only.
26 * Scripts/build-webkit:
28 2007-10-30 Kevin McCullough <kmccullough@apple.com>
30 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
31 get caught by the pre-commit hooks.
33 2007-10-30 Kevin McCullough <kmccullough@apple.com>
37 - This is a collection of relatively unrelated changes and cleanups
38 to Drosera to prepare it for interacting with WebKit. A lot of these
39 changes are just correcting mistakes, for example removing included
40 headers that are no longer needed.
42 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
43 this will be needed by the DebuggerClient.
44 (DebuggerDocument::server):
45 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
46 * Drosera/win/DebuggerClient.cpp:
47 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
48 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
49 (DebuggerClient::createWebViewWithRequest): Added comment about its
51 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
53 (DebuggerClient::webViewLoaded): Moved.
54 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
55 file, since this was the only place it was used.
57 * Drosera/win/Drosera.h: Cleaned up the includes.
58 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
59 * Drosera/win/HelperFunctions.h: Removed.
61 2007-10-30 Kevin McCullough <kmccullough@apple.com>
65 - Small cleanup in the ServerConnection class.
67 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
69 (ServerConnection::currentFrame):
70 (ServerConnection::getCallerFrame):
71 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
72 made a pointer into a COMPtr, and cleaned up the includes.
74 2007-10-29 Timothy Hatcher <timothy@apple.com>
76 Reviewed by John Sullivan.
78 - Place the Localizable.strings file in mac or win directories
79 if that location exists.
80 - Also look for UI_STRING in .c files.
82 * Scripts/extract-localizable-strings:
84 2007-10-30 Kevin McCullough <kmccullough@apple.com>
88 - Set the eol-style to native and made all the line endings the same
89 so that I avoid messy diffs that show eol changes.
91 * Drosera/win/ServerConnection.cpp:
92 (ServerConnection::didParseSource):
93 (ServerConnection::didEnterCallFrame):
94 (ServerConnection::willExecuteStatement):
95 (ServerConnection::willLeaveCallFrame):
96 (ServerConnection::exceptionWasRaised):
98 2007-10-30 Kevin McCullough <kmccullough@apple.com>
102 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
103 functionality that could not have existed previously without the new
105 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
106 from a BSTR to a JSValueRef.
107 (DebuggerDocument::platformEvaluateScript): Implemented.
108 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
109 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
111 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
112 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
113 * Drosera/win/ServerConnection.cpp: Added a helper function.
114 (ServerConnection::getCallerFrame):
115 * Drosera/win/ServerConnection.h: Added a helper function.
117 2007-10-29 Kevin McCullough <kmccullough@apple.com>
119 updated reviewers for my previous changelog.
121 2007-10-29 Kevin McCullough <kmccullough@apple.com>
122 Reviewed by Maciej and Adam and Geoff.
124 - Minor mac-side improvements including moving a function to a more
125 appropriate location, fixing a warning, and correctly checking
128 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
129 (DebuggerDocument::willExecuteStatement):
130 (DebuggerDocument::didEnterCallFrame):
131 (DebuggerDocument::willLeaveCallFrame):
132 (DebuggerDocument::windowScriptObjectAvailable):
133 (DebuggerDocument::callFunctionOnObject):
134 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
135 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
136 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
137 because it doesn't require the ServerConnection at all.
138 (NSStringCreateWithJSStringRef): Made an argument const.
139 (JSValueRefCreateWithNSString): Made an argument const.
140 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
141 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
142 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
143 * Drosera/mac/ServerConnection.mm: Ditto.
144 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
146 2007-10-29 Sam Weinig <sam@webkit.org>
148 Reviewed by Adam Roben.
150 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
152 * DumpRenderTree/LayoutTestController.cpp:
153 (LayoutTestController::LayoutTestController):
154 (getGlobalFlagCallback):
155 (setGlobalFlagCallback):
156 (LayoutTestController::getJSClass):
157 (LayoutTestController::staticValues):
158 * DumpRenderTree/LayoutTestController.h:
159 (LayoutTestController::globalFlag):
160 (LayoutTestController::setGlobalFlag):
162 2007-10-29 Darin Adler <darin@apple.com>
166 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
167 resolution instead of its default.
169 2007-10-29 David Kilzer <ddkilzer@webkit.org>
171 Fixed showStatus() to print status for successfully resolved conflicts when using git.
173 Reviewed by Mark Rowe.
175 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
176 was successfully resolved, but this would not show any status because the change had
177 already been cached in the index using "git add". The solution is to add an optional
178 second argument to showStatus() which adds the "--cached" switch to the command.
180 * Scripts/resolve-ChangeLogs:
183 2007-10-28 Eric Seidel <eric@webkit.org>
185 Reviewed by Maciej and Geoff, in unison.
187 * Scripts/run-webkit-tests: remove broken --svg option
189 2007-10-28 Darin Adler <darin@apple.com>
193 * Scripts/run-sunspider: Default to "Release" configuration rather than
194 defaulting to the last configuration used as other scripts do. This can
195 still be overriden on the command line with "--debug" if there's some
196 reason to do so. Also fix a typo.
198 * Scripts/sunspider-compare-results: Fix a typo.
200 2007-10-26 Kevin McCullough <kmccullough@apple.com>
204 - Implemented the WebScriptDebugListener functions now that the
205 WebScriptDebugServer exists
207 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
209 (ServerConnection::currentFrame):
210 (ServerConnection::didLoadMainResourceForDataSource):
211 (ServerConnection::didParseSource):
212 (ServerConnection::failedToParseSource):
213 (ServerConnection::didEnterCallFrame):
214 (ServerConnection::willExecuteStatement):
215 (ServerConnection::willLeaveCallFrame):
216 (ServerConnection::exceptionWasRaised):
217 * Drosera/win/ServerConnection.h: Removed unused arguments from the
218 members arguments list.
220 2007-10-26 David Kilzer <ddkilzer@webkit.org>
222 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
223 <http://bugs.webkit.org/show_bug.cgi?id=15600>
227 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
228 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
229 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
230 file. Note that it may also be used as a stand-alone script.
232 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
233 * Scripts/resolve-ChangeLogs: Added.
234 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
236 2007-10-26 Mark Rowe <mrowe@apple.com>
238 Qt build fix. r27084 added a destructor implementation for LayoutTestController
239 to the Qt port on the assumption that it was an implementation of the cross-platform
240 LayoutTestController class. It is not, so it did not need to be changed.
242 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
244 2007-10-25 Mark Rowe <mrowe@apple.com>
248 Fix builds with code coverage enabled.
250 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
252 2007-10-25 Darin Adler <darin@apple.com>
254 Reviewed by Mark Rowe.
256 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
257 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
259 2007-10-25 Stephanie <slewis@apple.com>
263 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
265 2007-10-25 Stephanie <slewis@apple.com>
267 Reviewed by Mark Rowe, Adam Roben.
269 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
271 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
273 2007-10-25 Alice Liu <alice.liu@apple.com>
277 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
279 Moving destructor into platform-specific files
280 * DumpRenderTree/LayoutTestController.cpp:
281 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
282 (LayoutTestController::~LayoutTestController):
283 * DumpRenderTree/qt/jsobjects.cpp:
284 (LayoutTestController::~LayoutTestController):
286 LayoutTestController wasn't being destroyed
287 * DumpRenderTree/win/DumpRenderTree.cpp:
291 * DumpRenderTree/win/EditingDelegate.h:
293 Reset certain values on the webview (or related delegate) that might
294 have changed while running a test
295 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
296 (LayoutTestController::~LayoutTestController):
298 2007-10-25 Adam Roben <aroben@apple.com>
300 Make sunspider-compare-results work with relative paths
304 * Scripts/sunspider-compare-results: Convert arguments to absolute
305 paths before we chdir.
307 2007-10-25 Kevin McCullough <kmccullough@apple.com>
311 - Implemented server calls now the WebScriptDebugServer exists.
312 - Also removed no longer needed call to initialize CG.
314 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
317 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
318 (ServerConnection::ServerConnection):
319 (ServerConnection::~ServerConnection):
320 (ServerConnection::pause):
321 (ServerConnection::resume):
322 (ServerConnection::stepInto):
323 (ServerConnection::applicationTerminating):
324 (ServerConnection::serverConnectionDidDie):
325 * Drosera/win/ServerConnection.h: Now uses the COM class.
327 2007-10-24 George Staikos <staikos@kde.org>
331 * Scripts/build-webkit:
333 2007-10-24 Adam Roben <aroben@apple.com>
335 Remove now-unnecessary call to InitializeCoreGraphics
337 WebKit takes care of this now.
341 * DumpRenderTree/win/DumpRenderTree.cpp:
344 2007-10-24 Adam Roben <aroben@apple.com>
346 Use WebTextRenderer in DRT
350 * DumpRenderTree/win/DumpRenderTree.cpp:
351 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
353 2007-10-24 Sven Herzberg <sven@imendio.com>
355 Reviewed by Mark Rowe.
357 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
358 Bug 15614: [GTK] qmake based backends don't build on OS X
360 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
362 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
363 isDarwin() to make it reusable in other places (like the workaround-
364 for-prebuilt-qmake in build-webkit)
366 2007-10-24 David Kilzer <ddkilzer@webkit.org>
368 Refurbish update-webkit script.
372 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
373 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
374 multi-argument version of system() for flexibility and security. Check for existence
375 of Internal directory using -d test instead of -x.
377 2007-10-24 David Kilzer <ddkilzer@webkit.org>
379 Minor clean-up of prepare-ChangeLog script.
383 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
384 of a string. Use multi-argument versions of open() and system() for flexibility and
387 2007-10-24 Alice Liu <alice.liu@apple.com>
391 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
393 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
394 replay the saved events when we're still processing the mousedown that starts the drag
395 * DumpRenderTree/win/EventSender.cpp:
397 * DumpRenderTree/win/UIDelegate.cpp:
398 (UIDelegate::doDragDrop):
400 2007-10-24 Kevin McCullough <kmccullough@apple.com>
402 Reviewed by Sam, Steve and Darin.
404 - Stubbed out the WebScriptDebugListener functionality in the Server
405 Connection class to prepare it for receiving those callbacks.
406 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
407 and the ServerConnection to not need to be initialized with a server
408 name, since that is not the way we connect to the WebKit server.
410 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
411 no exception. Now it only loggs when there is an exception
412 (DebuggerDocument::willExecuteStatement):
413 (DebuggerDocument::didEnterCallFrame):
414 (DebuggerDocument::willLeaveCallFrame):
415 (DebuggerDocument::windowScriptObjectAvailable):
416 (DebuggerDocument::callFunctionOnObject):
417 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
418 to be instantiated with a server's name.
419 (DebuggerClient::DebuggerClient):
420 (DebuggerClient::didFinishLoadForFrame):
421 * Drosera/win/DebuggerClient.h: Removed unsued variable.
422 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
425 (Drosera::initServer):
426 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
427 instantiated with a server's name.
428 * Drosera/win/ServerConnection.cpp:
429 (ServerConnection::ServerConnection): No longer needs a server name
430 (ServerConnection::~ServerConnection): Only release the global context
432 (ServerConnection::serverConnectionDidDie): Stub for
433 IWebScriptDebugListener
434 (ServerConnection::QueryInterface): ditto
435 (ServerConnection::AddRef): ditto
436 (ServerConnection::Release): ditto
437 (ServerConnection::didLoadMainResourceForDataSource): ditto
438 (ServerConnection::didParseSource): ditto
439 (ServerConnection::failedToParseSource): ditto
440 (ServerConnection::didEnterCallFrame): ditto
441 (ServerConnection::willExecuteStatement): ditto
442 (ServerConnection::willLeaveCallFrame): ditto
443 (ServerConnection::exceptionWasRaised): ditto
444 * Drosera/win/ServerConnection.h: Stubbed out the
445 IWebScriptDebugListener functions, and this class no longer needs to be
446 instantiated with a server name.
448 2007-10-24 Lars Knoll <lars@trolltech.com>
452 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
454 * DumpRenderTree/qt/jsobjects.h:
456 2007-10-24 Lars Knoll <lars@trolltech.com>
462 * DumpRenderTree/qt/jsobjects.cpp:
463 (TextInputController::doCommand):
465 2007-10-24 Lars Knoll <lars@trolltech.com>
469 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
471 * DumpRenderTree/qt/jsobjects.cpp:
472 (EventSender::keyDown):
473 * DumpRenderTree/qt/jsobjects.h:
475 2007-10-24 Lars Knoll <lars@trolltech.com>
479 implement eventSender.keyDown().
481 * DumpRenderTree/qt/jsobjects.cpp:
482 (EventSender::keyDown):
484 2007-10-24 Lars Knoll <lars@trolltech.com>
488 some smaller fixes to the editing support in DRT. Makes another few tests pass.
490 * DumpRenderTree/qt/DumpRenderTree.cpp:
491 (WebCore::DumpRenderTree::DumpRenderTree):
492 (WebCore::DumpRenderTree::initJSObjects):
493 * DumpRenderTree/qt/jsobjects.cpp:
494 (TextInputController::doCommand):
496 2007-10-24 Lars Knoll <lars@trolltech.com>
500 first bit of implementation for the textinputcontroller.
502 * DumpRenderTree/qt/DumpRenderTree.cpp:
503 (WebCore::DumpRenderTree::DumpRenderTree):
504 * DumpRenderTree/qt/DumpRenderTree.h:
505 * DumpRenderTree/qt/jsobjects.cpp:
506 (TextInputController::TextInputController):
507 (TextInputController::doCommand):
508 * DumpRenderTree/qt/jsobjects.h:
510 2007-10-24 Lars Knoll <lars@trolltech.com>
514 make the man webpage believe it has focus, so the editing tests work correctly.
516 * DumpRenderTree/qt/DumpRenderTree.cpp:
517 (WebCore::DumpRenderTree::DumpRenderTree):
519 2007-10-24 Lars Knoll <lars@trolltech.com>
523 implement layoutTestController.dumpEditingCallbacks() correctly.
525 * DumpRenderTree/qt/DumpRenderTree.cpp:
526 (WebCore::DumpRenderTree::DumpRenderTree):
527 * DumpRenderTree/qt/jsobjects.cpp:
528 (LayoutTestController::reset):
529 (LayoutTestController::dumpEditingCallbacks):
531 2007-10-24 Lars Knoll <lars@trolltech.com>
535 Implement support for testing editing.
537 * DumpRenderTree/qt/DumpRenderTree.cpp:
538 (WebCore::DumpRenderTree::DumpRenderTree):
540 2007-10-23 Sam Weinig <sam@webkit.org>
542 Check for null BSTR that can be passed to the UIDelegate methods
543 from javascript null and undefined. Fixes a failing test case on
544 Windows (fast/dom/Window/alert-undefined.html)
546 Reviewed by Eric Seidel.
548 * DumpRenderTree/win/UIDelegate.cpp:
549 (UIDelegate::runJavaScriptAlertPanelWithMessage):
550 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
551 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
552 (UIDelegate::webViewAddMessageToConsole):
554 2007-10-23 Maciej Stachowiak <mjs@apple.com>
558 Don't print a massive pile of setenvs from tools that automatically build testkjs.
560 * Scripts/build-testkjs:
562 2007-10-23 Maciej Stachowiak <mjs@apple.com>
566 - add wrapper that finds the right copy of testkjs
568 * Scripts/sunspider-compare-results: Added.
570 2007-10-23 Kevin McCullough <kmccullough@apple.com>
574 - After talking with Steve I now see that the WebKit server must be
575 running for DCOM to create the distributed objects, which makes sense
576 and currently WebKit only allows one instance to be running at a time
577 which avoids accidentally connecting to the wrong server
578 - In light of this I have removed the code for the attach box and
579 NotificationServer and known server names, since they are all extranious
582 * Drosera/win/Drosera.cpp: Removed notification classes and known server
584 (_tWinMain): Uses init instead of initUI.
585 (droseraWndProc): No longer creats an attach dialog box.
586 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
587 it's not manditory to call init before doing COM stuff.
588 (Drosera::init): calls initUI and will call attach when the
589 functionality exists.
590 (Drosera::initUI): Has changed very little.
591 (Drosera::attach): Changed the signature to reflect that we no longer
592 need the dictionary of known server names.
593 * Drosera/win/Drosera.h: Removed notification classes and known server
594 names. Also renamed and moved some functions.
595 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
596 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
597 headers to the resources folder.
598 * Drosera/win/resource.h: Removed the Attach box.
600 2007-10-22 Adam Roben <aroben@apple.com>
604 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
606 2007-10-22 Kevin McCullough <kmccullough@apple.com>
608 - Removed a leak that was fixed.
610 * Scripts/run-webkit-tests:
612 2007-10-19 Kevin McCullough <kmccullough@apple.com>
616 - Changed the Client so that the DebuggerDocument now own the
617 ServerConnection. This simplifies ownership and cleanup.
619 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
621 (DebuggerClient::initWithServerName):
622 (DebuggerClient::didFinishLoadForFrame):
623 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
625 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
626 until after we have a server which we are attached to.
629 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
632 2007-10-22 Simon Hausmann <hausmann@kde.org>
636 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
638 * Scripts/run-javascriptcore-tests:
640 2007-10-22 Simon Hausmann <hausmann@kde.org>
644 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.
646 * Scripts/build-drosera:
647 * Scripts/build-dumprendertree:
648 * Scripts/build-testkjs:
649 * Scripts/build-webkit:
650 * Scripts/run-javascriptcore-tests:
651 * Scripts/run-sunspider:
652 * Scripts/run-webkit-tests:
653 * Scripts/webkitdirs.pm:
655 2007-10-22 Andrew Wellington <proton@wiretapped.net>
657 Reviewed by Mark Rowe.
659 Fix for local database support after r26879
660 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
662 * Scripts/build-webkit:
664 2007-10-22 Holger Freyther <zecke@selfish.org>
666 Reviewed by Simon Hausmann <hausmann@kde.org>.
668 - Do not build testkjs as an application bundle. This is
669 needed for run-javascriptcore-tests on OSX.
670 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
671 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
672 as we do not have -rpath on OSX.
674 * DumpRenderTree/qt/DumpRenderTree.pro:
675 * Scripts/run-webkit-tests:
677 2007-10-22 Simon Hausmann <hausmann@kde.org>
681 Fix support for Signed-off-by detection in prepare-ChangeLog
682 --git-commit. The Signed-off-by tag does not appear in the header
683 but usually at the end.
685 * Scripts/prepare-ChangeLog:
687 2007-10-21 Mark Rowe <mrowe@apple.com>
691 Fix run-javascriptcore-tests for Gtk.
693 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
695 2007-10-20 Eric Seidel <eric@webkit.org>
699 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
701 2007-10-20 Eric Seidel <eric@webkit.org>
705 Add improved argument handling to run-sunspider, including
706 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
707 Also re-factor code into subroutines
709 * Scripts/build-dumprendertree: removed bogus comments
710 * Scripts/build-testkjs: Added.
711 * Scripts/run-javascriptcore-tests: use build-testkjs
712 * Scripts/run-sunspider: improved argument handling, abstraction
713 * Scripts/run-webkit-tests: improved abstraction
715 2007-10-20 Matt Lilek <webkit@mattlilek.com>
717 Not reviewed, Windows build fix.
719 * DumpRenderTree/win/EventSender.cpp:
722 2007-10-20 Darin Adler <darin@apple.com>
724 Reviewed by Tim Hatcher.
726 - http://bugs.webkit.org/show_bug.cgi?id=15544
727 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
728 not rely on Apple-specific key codes
730 * DumpRenderTree/mac/EventSendingController.mm:
731 (-[EventSendingController keyDown:withModifiers:]):
732 Added named key "rightArrow". Later we could have a whole table of these.
733 Also tweaked modifiers code a little.
735 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
737 2007-10-19 Darin Adler <darin@apple.com>
741 - http://bugs.webkit.org/show_bug.cgi?id=15566
742 possible fix for leak seen in DumpRenderTree
744 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
745 Delete the item if it's not put on the queue, since the caller has
746 no way of knowing that. Would be better to have the parameter type
747 be auto_ptr to express the fact that we take ownership.
751 * Drosera/mac/main.m: Add missing include.
753 2007-10-19 Kevin McCullough <kmccullough@apple.com>
757 - This change should be identical but for some reason was not working
760 * Scripts/prepare-ChangeLog:
762 2007-10-19 Kevin McCullough <kmccullough@apple.com>
764 Reviewed by Oliver and Tim.
766 - Made use of RetainPtr to avoid retain and release issues and moved the
767 log function to DebuggerDocumentPlatform, which seems to be a more
768 logical place for it to live.
769 - Also moved knownServers from the ServerConnection to
770 DebuggerApplication to match the Windows code and because it makes sense
771 that a connection knows its own server but not all of them.
773 * Drosera/mac/DebuggerClient.h: Moved the log function to
774 DebuggerDocumentPlatform.
775 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
776 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
777 call for the server name up from the ServerConnection class.
778 (-[DebuggerClient dealloc]):
779 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
780 for the server name up from the ServerConnection.
781 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
782 (DebuggerDocument::platformPause):
783 (DebuggerDocument::platformResume):
784 (DebuggerDocument::platformStepInto):
785 (DebuggerDocument::platformEvaluateScript):
786 (DebuggerDocument::getPlatformCurrentFunctionStack):
787 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
788 (DebuggerDocument::platformValueForScopeVariableNamed):
789 (DebuggerDocument::platformLog): Log directly from here. No need to call
791 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
792 way I see it, a ServerConnection should only know about its connection
793 and the group of all possible servers should be kept by the
795 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
796 currentServerName, it makes sense that the connection should know that
798 (-[ServerConnection currentServerName]):
800 2007-10-19 Kevin McCullough <kmccullough@apple.com>
804 - Integrated changes from mac drosera. Recently I've encapsulated
805 out the server connection object from the rest of Drosera because
806 it is very platform dependent right now and RPC is not implemented on
807 windows. This functionality, of communicating with the WebKit server
808 is the next area I will be focusing on in Windows.
810 - Other changes and cleanup were made to organize the code and add notes
811 on which parts still need work. Also some mac code is added and
812 commented out, to act as pseudocode for the logic of those parts.
814 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
816 * Drosera/config.h: Added whitespace.
817 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
818 these files got moved into Drosera.h/cpp
819 * Drosera/win/DebuggerApplication.h: Removed.
820 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
821 happened here to better match the logic flow of the same code on the
822 mac side and to use the new ServerConnection class.
823 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
824 (DebuggerClient::initWithServerName): Initializer that will set up the
825 class to use a ServerConnection object. This was necessary so I could
826 create a DebuggerClient without having to initilaize it at
828 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
829 will be the UIDelegate and FrameLoadDelegate.
830 (DebuggerClient::AddRef): For IUnknown.
831 (DebuggerClient::Release): For IUnknown.
832 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
833 this still needs to set the global context of the server, but
834 IWebFrame does not have an accessor for the global context yet.
835 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
836 this is a pass through for the same function in the document.
837 (DebuggerClient::didReceiveTitle): Unimplemented part of
838 FrameLoadDelegate this would change the title of the window.
839 (DebuggerClient::createWebViewWithRequest): Part of the
840 FrameLoadDelegate. This is about new windows via Window.open() and
841 how their delegates are set.
842 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
843 UIDelegate. Just a debug function for printing messages.
844 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
845 because the Client should be the UIDelegate and FrameLoadDelegate
846 to match the delegates on mac.
847 (DebuggerClient::webViewLoaded): Added accessor method.
848 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
849 forgotten to add this file before. This is where the platform
850 dependent versions of the Documents functions live. Most of these are
851 unimplemented because some piece of functionality does not exist on
853 (DebuggerDocument::platformPause):
854 (DebuggerDocument::platformResume):
855 (DebuggerDocument::platformStepInto):
856 (DebuggerDocument::platformEvaluateScript):
857 (DebuggerDocument::getPlatformCurrentFunctionStack):
858 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
859 (DebuggerDocument::platformValueForScopeVariableNamed):
860 (DebuggerDocument::platformLog):
861 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
862 responsibilities becaue they belong in the Client. Also I laid the
863 groundwork for attaching Drosera to a WebKit process
864 (attachWndProc): Now if a server is selected the Client becomes it's
866 (Drosera::Drosera): Added the construction of the Client and dictionary
868 (Drosera::initUI): This is no longer the delegates, the Client is.
869 (Drosera::webViewLoaded): Now asks the Client instead of holding local
871 (Drosera::applicationDidFinishLaunching): Placeholder for needed
872 notification registration when it's possible to implement.
873 (Drosera::serverLoaded): Ditto
874 (Drosera::serverUnloaded): Ditto
875 (Drosera::attach): Attach Drosera to the WebKit server.
876 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
879 (Drosera::knownServers):
880 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
881 and added the ServerConnection.
882 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
883 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
884 Most of the functions are completely unimlemented because they cannot
885 connect with the WebKit server, because one does not exist on Windows
887 (ServerConnection::initWithServerName):
888 (ServerConnection::~ServerConnection):
889 (ServerConnection::setGlobalContext):
890 (ServerConnection::pause):
891 (ServerConnection::resume):
892 (ServerConnection::stepInto):
893 (ServerConnection::switchToServerNamed):
894 (ServerConnection::applicationTerminating):
895 (ServerConnection::serverConnectionDidDie):
896 (ServerConnection::currentFrame):
897 * Drosera/win/ServerConnection.h: Added. Ditto.
898 (ServerConnection::ServerConnection):
900 2007-10-19 Alice Liu <alice.liu@apple.com>
904 Fix for these broken layout tests on Windows:
906 fast/forms/focus-selection-input.html
907 fast/forms/focus-selection-textarea.html
908 fast/forms/select-accesskey.html
910 * DumpRenderTree/win/EventSender.cpp:
912 correct the VK code for alt key.
914 2007-10-19 Eric Seidel <eric@webkit.org>
916 Reviewed by Mark Rowe.
918 Make the GtkLauncher code slightly more readable.
920 * GtkLauncher/main.cpp:
921 (setupMainMenu): Added.
922 (setupMainWindowUI): Added.
925 2007-10-19 Maciej Stachowiak <mjs@apple.com>
927 Rubber stamped by Adam.
929 - don't delay-load WebKit in DumpRenderTree.
931 * DumpRenderTree/win/DumpRenderTree.vcproj:
933 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
935 Reviewed by Adam Roben.
937 - fix <rdar://problem/5313523>
938 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
940 * DumpRenderTree/mac/DumpRenderTree.mm:
941 (dump): Changed to use _responseMIMEType.
943 2007-10-17 Adam Roben <aroben@apple.com>
945 Make it possible to have Windows-specific tests and results
947 When searching for tests to run and the Skipped file, we will only
948 look in platform/win and the cross-platform directory. When looking
949 for expected results, we will look in platform/win, then
950 platform/mac-leopard, then platform/mac, then finally the
951 cross-platform directory.
955 * Scripts/run-webkit-tests:
956 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
957 searching in the cross-platform directory.
958 (sub buildPlatformHierarchy): Removed some unneeded calls to
961 2007-10-17 Adam Roben <aroben@apple.com>
963 Add back the call to register WebKit that we had before WebKitInitializer existed
965 This is needed to ensure that the right WebKit is used when
966 instantiating COM objects.
970 * DumpRenderTree/win/debug_internal.vsprops: Define
971 DEBUG_WEBKIT_HAS_SUFFIX.
972 * DumpRenderTree/win/DumpRenderTree.cpp:
975 2007-10-17 Adam Roben <aroben@apple.com>
977 Import File::Basename in webkitdirs since we use it
979 * Scripts/webkitdirs.pm:
981 2007-10-17 Kevin McCullough <kmccullough@apple.com>
983 - Updated the tiger leaks list to make the internal bots green.
985 * Scripts/run-webkit-tests:
987 2007-10-17 Adam Roben <aroben@apple.com>
989 Build fix for VC++ Express
991 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
994 2007-10-16 Kevin McCullough <kmccullough@apple.com>
998 - Minor mac improvements based on observations I made while implementing the
1001 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1002 then hand it to the Client who will retain it, it should just be the client who
1003 creates and owns the server.
1004 (-[DebuggerApplication attach:]):
1005 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1006 * Drosera/mac/DebuggerClient.mm: Creates the server.
1007 (-[DebuggerClient initWithServerName:]):
1008 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1009 can instead forward declare what it needs.
1011 2007-10-16 Darin Adler <darin@apple.com>
1013 Reviewed by Geoff Garen.
1015 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1016 want to turn failing tests into platform-specific test results. Also did a
1017 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1018 would take the type of results into account only some of the time.
1020 2007-10-16 Adam Roben <aroben@apple.com>
1022 Add a new nightly launcher script for Windows
1024 This new script is for versions of Safari that don't delay-load
1025 WebKit. I had to make FindSafari be able to print out the nightly
1026 launcher script on stdout because Windows shell scripts can't capture
1027 the output from a command into an environment variable.
1031 * FindSafari/FindSafari.cpp:
1032 (_tmain): Added /printSafariLauncher option.
1033 * Scripts/run-webkit-nightly.cmd: Added.
1035 2007-10-16 Adam Roben <aroben@apple.com>
1037 Replace WebKitInitializer with FindSafari
1039 We now rely on setting the PATH environment variable to tell Windows
1040 where to find WebKit and its dependencies (similar to
1041 DYLD_FRAMEWORK_PATH on Mac).
1043 This change also make DumpRenderTree no longer delay-load WebKit.
1047 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1049 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1050 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1051 WebKitInitializer, don't delay-load WebKit.
1052 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1053 * Scripts/run-webkit-tests: Ditto.
1054 * Scripts/webkitdirs.pm:
1055 (sub setPathForRunningWebKitApp): Added.
1056 * WebKitInitializer/WebKitInitializer.cpp: Removed.
1057 * WebKitInitializer/WebKitInitializer.h: Removed.
1058 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1059 * WebKitInitializer/debug.vsprops: Removed.
1060 * WebKitInitializer/debug_internal.vsprops: Removed.
1061 * WebKitInitializer/release.vsprops: Removed.
1063 2007-10-16 Adam Roben <aroben@apple.com>
1065 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1067 http://bugs.webkit.org/show_bug.cgi?id=15532
1069 FindSafari simply prints the location of an installed Safari.exe on
1074 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1077 (getInstalledWebKitDirectory):
1079 * FindSafari/FindSafari.vcproj: Added.
1080 * Scripts/webkitdirs.pm:
1081 (sub installedSafariPath): Added. Calls FindSafari on Windows.
1083 2007-10-16 Adam Roben <aroben@apple.com>
1085 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1087 Reviewed by Kevin McCullough.
1089 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1090 when referring to WebKit.dll.
1091 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1092 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1093 * DumpRenderTree/win/release.vsprops: Ditto.
1094 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1095 never have a _debug suffix on WebKit.dll.
1096 * WebKitInitializer/WebKitInitializer.cpp:
1097 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1099 * WebKitInitializer/debug_internal.vsprops: Added
1100 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1102 2007-10-16 Darin Adler <darin@apple.com>
1106 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1107 Remove now-unneeded control/alt key hack; the tests have been updated.
1109 2007-10-16 Kevin McCullough <kmccullough@apple.com>
1111 - Updated leaks list because our internal bot upgraded it's version of leopard and
1112 one of the leaks was fixed between that revision and the bot's previous version of
1115 * Scripts/run-webkit-tests:
1117 2007-10-15 Kevin McCullough <kmccullough@apple.com>
1121 - I encapsulated out the server connecton functionality because it is a specific part
1122 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1123 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
1124 Windows. So the majority of this patch is moving preexisting functionality.
1126 - Also I removed the prefix header and changed to use config.h because it is more
1127 standard on how we use config.h in windows and it didn't make much sense to keep
1128 the prefix header and the config.h
1130 * Drosera/DebuggerDocument.cpp:
1131 (DebuggerDocument::DebuggerDocument):
1132 * Drosera/DebuggerDocument.h:
1134 * Drosera/mac/DebuggerApplication.mm:
1135 (-[DebuggerApplication attach:]):
1136 * Drosera/mac/DebuggerClient.h:
1137 * Drosera/mac/DebuggerClient.mm:
1138 (-[DebuggerClient initWithServerConnection:]):
1139 (-[DebuggerClient dealloc]):
1140 (-[DebuggerClient windowDidLoad]):
1141 (-[DebuggerClient windowWillClose:]):
1142 (-[DebuggerClient webView:didFinishLoadForFrame:]):
1143 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1144 * Drosera/mac/DebuggerDocumentPlatform.mm:
1145 (DebuggerDocument::platformPause):
1146 (DebuggerDocument::platformResume):
1147 (DebuggerDocument::platformStepInto):
1148 (DebuggerDocument::platformEvaluateScript):
1149 (DebuggerDocument::getPlatformCurrentFunctionStack):
1150 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1151 (DebuggerDocument::platformValueForScopeVariableNamed):
1152 (DebuggerDocument::platformLog):
1153 * Drosera/mac/Drosera.pch: Removed.
1154 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1155 * Drosera/mac/ServerConnection.h: Added.
1156 * Drosera/mac/ServerConnection.mm: Added.
1157 (-[ServerConnection initWithServerName:]):
1158 (-[ServerConnection dealloc]):
1159 (-[ServerConnection setGlobalContext:]):
1160 (-[ServerConnection pause]):
1161 (-[ServerConnection resume]):
1162 (-[ServerConnection stepInto]):
1163 (-[ServerConnection switchToServerNamed:]):
1164 (-[ServerConnection applicationTerminating:]):
1165 (-[ServerConnection serverConnectionDidDie:]):
1166 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1167 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1168 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1169 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1170 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1171 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1172 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1173 (-[ServerConnection currentFrame]):
1174 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1175 (-[ServerConnection knownServers]):
1177 2007-10-15 David Kilzer <ddkilzer@webkit.org>
1181 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1182 Script to automatically search nightly builds for regressions (bisect-builds)
1184 * Scripts/bisect-builds: Added.
1186 2007-10-14 Maciej Stachowiak <mjs@apple.com>
1190 - New JavaScript benchmark
1191 http://bugs.webkit.org/show_bug.cgi?id=15515
1193 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1194 current development or release build of JavaScriptCore.
1196 2007-10-15 Mark Rowe <mrowe@apple.com>
1200 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1202 * Scripts/webkitdirs.pm:
1203 - Change checkArgv to remove the options from @ARGV to prevent
1204 them from interfering with further option processing.
1205 - Fix logic error in determineIsQt that would prevent it from bailing out early.
1206 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
1207 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1208 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1210 2007-10-15 Darin Adler <darin@apple.com>
1214 - added logging of window.prompt and window.confirm
1216 * DumpRenderTree/mac/UIDelegate.mm:
1217 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1218 Implement the recommended delegate rather than the deprecated one.
1219 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1221 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1224 * DumpRenderTree/win/UIDelegate.h:
1225 * DumpRenderTree/win/UIDelegate.cpp:
1226 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1227 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1228 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1229 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1231 2007-10-15 Alice Liu <alice.liu@apple.com>
1233 Reviewed by Sam Weinig.
1235 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1237 * DumpRenderTree/win/DumpRenderTree.cpp:
1238 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1239 (main): allocate the global policy delegate for DRT's custom use
1240 * DumpRenderTree/win/DumpRenderTree.vcproj:
1241 Adding files to project
1242 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1243 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1244 (LayoutTestController::setCustomPolicyDelegate):
1245 set the webview's policy delegate to DRT's custom one if the test requests it.
1246 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1247 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1248 (PolicyDelegate::PolicyDelegate):
1249 (PolicyDelegate::QueryInterface):
1250 (PolicyDelegate::AddRef):
1251 (PolicyDelegate::Release):
1252 (PolicyDelegate::decidePolicyForNavigationAction):
1253 * DumpRenderTree/win/PolicyDelegate.h: Added.
1254 (PolicyDelegate::decidePolicyForNewWindowAction):
1255 (PolicyDelegate::decidePolicyForMIMEType):
1256 (PolicyDelegate::unableToImplementPolicyWithError):
1258 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
1262 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1263 when querying for QMAKE_MKSPECS.
1265 2007-10-14 Andrew Wellington <proton@wiretapped.net>
1267 Reviewed by Adam Roben.
1269 Fix run-webkit-tests is too greedy calculating platform hierarchy
1270 http://bugs.webkit.org/show_bug.cgi?id=15465
1272 Fix run-webkit-tests being too greedy in trying to split the platform name up
1273 causing it to try and find tests in every directory above the first "-" in the
1274 path to the LayoutTests
1276 * Scripts/run-webkit-tests:
1278 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
1282 http://bugs.webkit.org/show_bug.cgi?id=15006
1283 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1284 to reduce code duplication.
1286 * Scripts/build-webkit:
1287 * Scripts/webkitdirs.pm:
1288 buildQMakeProject() renamed to buildQMakeQtProject().
1289 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1290 unused $colorize has been removed.
1292 === Start merge of feature-branch 2007-10-12 ===
1294 2007-10-08 Eric Seidel <eric@webkit.org>
1296 Reviewed by Mark Rowe.
1298 * Scripts/build-webkit: add --help, remove unused --color
1300 2007-10-07 Eric Seidel <eric@webkit.org>
1304 * Drosera/mac/DebuggerDocumentPlatform.mm:
1305 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1307 2007-10-03 Rob Buis <buis@kde.org>
1311 Adapt to changed location of Ahem font.
1313 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1315 2007-10-02 Eric Seidel <eric@webkit.org>
1317 Reviewed by Adam Roben.
1319 Make pixel tests more useful!
1320 Finally fix the image diff 0.00% mystery problem
1321 Highlight any image differences in the image diff.
1322 Add a link from image diffs back to original test file.
1324 * DumpRenderTree/mac/ImageDiff.m:
1325 (compareImages): highlight any differences
1326 (computePercentageDifferent): round to two decimal places
1327 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1329 2007-10-02 Eric Seidel <eric@webkit.org>
1331 Reviewed by Alexey Proskuryakov.
1333 * Scripts/run-webkit-tests: print the % image difference on main results page
1335 2007-10-02 Mark Rowe <mrowe@apple.com>
1339 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1341 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1342 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1344 2007-10-01 Mark Rowe <mrowe@apple.com>
1346 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1348 2007-09-25 Eric Seidel <eric@webkit.org>
1350 Reviewed by Mark Rowe.
1352 DerivedSources.make was finding "ENABLE_SVG" in the string
1353 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1356 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1358 2007-09-25 Mark Rowe <mrowe@apple.com>
1360 Rubber-stamped by Eric.
1362 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1363 This makes it possible to automate nightly builds for the feature-branch.
1365 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
1367 Rubber stamped by Mark.
1369 Enable svg experimental features as default here in feature-branch.
1371 * Scripts/build-webkit:
1373 2007-06-29 Antti Koivisto <antti@apple.com>
1377 Add VIDEO flag for timed media features
1379 * Scripts/build-webkit
1381 === End merge of feature-branch 2007-10-12 ===
1383 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1387 - Updated rational for the leaks list to be more clear.
1389 * Scripts/run-webkit-tests:
1391 2007-10-11 Kevin McCullough <kmccullough@apple.com>
1393 Rubber Stamp by Sam.
1395 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1396 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1398 * Scripts/run-webkit-tests:
1400 2007-10-10 Simon Hausmann <hausmann@kde.org>
1404 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1405 includes are needed for INT_MAX, std::auto_ptr and the like.
1407 * DumpRenderTree/qt/main.cpp:
1409 2007-10-09 Lars Knoll <lars@trolltech.com>
1413 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1415 * DumpRenderTree/qt/jsobjects.cpp:
1416 (LayoutTestController::encodeHostName):
1417 (LayoutTestController::decodeHostName):
1418 * DumpRenderTree/qt/jsobjects.h:
1420 2007-10-09 Lars Knoll <lars@trolltech.com>
1424 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.
1426 * DumpRenderTree/qt/DumpRenderTree.cpp:
1427 (WebCore::WebPage::createFrame):
1428 (WebCore::DumpRenderTree::DumpRenderTree):
1429 (WebCore::DumpRenderTree::titleChanged):
1430 * DumpRenderTree/qt/DumpRenderTree.h:
1431 * DumpRenderTree/qt/jsobjects.cpp:
1432 (LayoutTestController::reset):
1433 * DumpRenderTree/qt/jsobjects.h:
1435 2007-10-09 Lars Knoll <lars@trolltech.com>
1439 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1441 * DumpRenderTree/qt/DumpRenderTree.h:
1442 * DumpRenderTree/qt/jsobjects.cpp:
1443 (LayoutTestController::clearBackForwardList):
1444 * DumpRenderTree/qt/jsobjects.h:
1446 2007-10-09 Lars Knoll <lars@trolltech.com>
1450 make --git-reviewer work again.
1452 * Scripts/prepare-ChangeLog:
1454 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1456 Rubber stamped by Eric.
1458 Connect to the "hovering-over-link" signal emitted by WebKitPage and
1459 show the current link inside the statusbar.
1460 This shows how to make use of this signal and allows to easily test
1461 http://bugs.webkit.org/show_bug.cgi?id=15299.
1463 * GtkLauncher/main.cpp:
1467 2007-10-05 Lars Knoll <lars@trolltech.com>
1469 add proper error messages to the FrameLoaderClient.
1470 Implement ChromeClientQt::closeWindowSoon and
1471 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1472 Some fixes in DRT to make it work correctly with multiple windows.
1476 * DumpRenderTree/qt/DumpRenderTree.cpp:
1477 (WebCore::DumpRenderTree::DumpRenderTree):
1478 (WebCore::DumpRenderTree::createWindow):
1479 (WebCore::DumpRenderTree::windowCount):
1480 * DumpRenderTree/qt/DumpRenderTree.h:
1481 * DumpRenderTree/qt/jsobjects.cpp:
1482 (LayoutTestController::maybeDump):
1483 (LayoutTestController::windowCount):
1484 * DumpRenderTree/qt/jsobjects.h:
1486 2007-10-05 Lars Knoll <lars@trolltech.com>
1488 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
1489 Add support for layoutTextController.setCanOpenWindows() to DRT
1490 fixing another 2 test cases in fast/dom/Window.
1494 * DumpRenderTree/qt/DumpRenderTree.cpp:
1495 (WebCore::WebPage::WebPage):
1496 (WebCore::WebPage::createWindow):
1497 (WebCore::DumpRenderTree::resetJSObjects):
1498 (WebCore::DumpRenderTree::createWindow):
1499 * DumpRenderTree/qt/DumpRenderTree.h:
1500 * DumpRenderTree/qt/DumpRenderTree.pro:
1501 * DumpRenderTree/qt/jsobjects.cpp:
1502 (LayoutTestController::LayoutTestController):
1503 (LayoutTestController::reset):
1504 * DumpRenderTree/qt/jsobjects.h:
1505 * DumpRenderTree/qt/main.cpp:
1506 * DumpRenderTree/qt/testplugin.cpp: Added.
1507 * DumpRenderTree/qt/testplugin.h: Added.
1509 2007-10-04 Sam Weinig <sam@webkit.org>
1511 Rubber stamped by Adam.
1513 Remove empty directories.
1515 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1516 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1518 2007-10-03 Darin Adler <darin@apple.com>
1522 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1523 we find the internal libraries in the libraries directory. This
1524 is helpful for Safari team engineers at Apple.
1526 2007-10-03 Adam Roben <aroben@apple.com>
1528 Update the location of AHEM___.TTF after r25968
1532 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1534 2007-10-03 Alp Toker <alp@atoker.com>
1538 http://bugs.webkit.org/show_bug.cgi?id=14726
1539 [gtk] API design. Mapping the WebView delegates to signals.
1541 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1543 * GtkLauncher/main.cpp:
1547 (menuMainBackCallback):
1548 (menuMainForwardCallback):
1551 2007-10-03 Lars Knoll <lars@trolltech.com>
1555 This fixes --strict mode in run-webkit-tests again after
1556 the platform dependent test results have been moved.
1558 * Scripts/run-webkit-tests:
1560 2007-10-03 Lars Knoll <lars@trolltech.com>
1564 remove the hack in run-webkit-tests that forced text only test
1565 to be taken from the platform independent dir. It was only left
1566 there from early days.
1568 Remove platform dependent results for tests that are text only nowadays,
1569 and add one platform dependent result for a text only test that requires it.
1571 * Scripts/run-webkit-tests:
1573 2007-10-03 Lars Knoll <lars@trolltech.com>
1577 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1579 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1580 (WebCore::WebFrame::WebFrame):
1581 (WebCore::WebPage::WebPage):
1582 (WebCore::WebPage::createFrame):
1583 (WebCore::WebPage::javaScriptAlert):
1584 (WebCore::WebPage::javaScriptConsoleMessage):
1585 (WebCore::DumpRenderTree::DumpRenderTree):
1586 (WebCore::DumpRenderTree::~DumpRenderTree):
1587 (WebCore::DumpRenderTree::open):
1588 (WebCore::DumpRenderTree::readStdin):
1589 (WebCore::DumpRenderTree::resetJSObjects):
1590 (WebCore::DumpRenderTree::initJSObjects):
1591 (WebCore::DumpRenderTree::dumpFramesAsText):
1592 (WebCore::DumpRenderTree::dump):
1593 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1594 (WebCore::DumpRenderTree::layoutTestController):
1595 (WebCore::DumpRenderTree::eventSender):
1596 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1597 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1598 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1599 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1600 (HackWebFrame::mousePressEvent):
1601 (HackWebFrame::mouseReleaseEvent):
1602 (HackWebFrame::mouseMoveEvent):
1603 (HackWebFrame::HackWebFrame):
1604 (HackWebFrame::~HackWebFrame):
1605 (LayoutTestController::LayoutTestController):
1606 (LayoutTestController::reset):
1607 (LayoutTestController::maybeDump):
1608 (LayoutTestController::waitUntilDone):
1609 (LayoutTestController::notifyDone):
1610 (LayoutTestController::dumpEditingCallbacks):
1611 (LayoutTestController::queueReload):
1612 (LayoutTestController::provisionalLoad):
1613 (LayoutTestController::timerEvent):
1614 (EventSender::EventSender):
1615 (EventSender::mouseDown):
1616 (EventSender::mouseUp):
1617 (EventSender::mouseMoveTo):
1618 (EventSender::leapForward):
1619 (EventSender::keyDown):
1620 (EventSender::frameUnderMouse):
1621 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1622 (LayoutTestController::isLoading):
1623 (LayoutTestController::setLoading):
1624 (LayoutTestController::shouldDumpAsText):
1625 (LayoutTestController::shouldDumpChildrenAsText):
1626 (LayoutTestController::shouldWaitUntilDone):
1627 (LayoutTestController::dumpAsText):
1628 (LayoutTestController::dumpChildFramesAsText):
1629 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1633 * Scripts/run-webkit-tests:
1635 2007-10-03 Mark Rowe <mrowe@apple.com>
1637 Reviewed by Alp Toker.
1639 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
1640 should take precedence over QTDIR when determining which port we are working with.
1642 * Scripts/webkitdirs.pm:
1644 2007-10-02 Adam Roben <aroben@apple.com>
1646 Add keychain to the list of default packages to install
1648 Rubberstamped by Sam.
1650 * CygwinDownloader/cygwin-downloader.py:
1651 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1653 2007-10-02 David Kilzer <ddkilzer@webkit.org>
1657 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1658 Also makes WebCore regression test case logic work when using git.
1660 * Scripts/prepare-ChangeLog:
1661 (reviewerAndDescriptionForGitCommit): Added.
1663 2007-10-02 Lars Knoll <lars@trolltech.com>
1667 Add API to retrieve the frame name from QWebFrame.
1668 Implement support for DRT::dumpChildrenAsText.
1670 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1671 (WebCore::DumpRenderTree::dumpFramesAsText):
1672 (WebCore::DumpRenderTree::dump):
1673 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1674 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1675 (LayoutTestController::LayoutTestController):
1676 (LayoutTestController::reset):
1677 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1679 2007-10-02 Lars Knoll <lars@trolltech.com>
1683 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1685 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1686 (WebCore::DumpRenderTree::readStdin):
1688 2007-10-02 Mark Rowe <mrowe@apple.com>
1692 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1694 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1695 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1697 2007-10-02 Mark Rowe <mrowe@apple.com>
1699 Rubber-stamped by Maciej.
1701 Configuration changes from build.webkit.org. The major change is refactoring to work
1702 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1705 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1706 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1707 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1708 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1709 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1710 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1711 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1712 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1714 2007-10-02 Lars Knoll <lars@trolltech.com>
1718 Add support for eventSender.mouseMove to DRT.
1719 Fixes fast/css/hover-affects-child.html
1721 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1722 (EventSender::mouseMoveTo):
1724 2007-10-01 Mark Rowe <mrowe@apple.com>
1726 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1728 2007-10-01 David Kilzer <ddkilzer@webkit.org>
1732 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1734 * Scripts/svn-apply:
1735 (gitdiff2svndiff): Ignore lines beginning with "new file".
1736 * Scripts/svn-unapply:
1737 (gitdiff2svndiff): Ditto.
1739 2007-09-30 George Staikos <staikos@kde.org>
1741 Qt build fix (Mac OS X specific)
1743 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1745 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
1749 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1750 Remove Bakefiles from svn.
1752 * GtkLauncher/Bakefiles.bkgen: Removed.
1753 * GtkLauncher/ENV: Removed.
1754 * GtkLauncher/gdklauncher.bkl: Removed.
1755 * GtkLauncher/mk: Removed.
1756 * Scripts/regenerate-makefiles: Removed.
1758 2007-09-25 Kevin McCullough <kmccullough@apple.com>
1762 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1764 * Scripts/run-webkit-tests:
1766 2007-09-26 Adam Roben <aroben@apple.com>
1768 Make not finding an installed WebKit non-fatal
1770 What really matters is that we are able to load WebKit and its
1771 dependencies, not whether we think we've found an installed WebKit.
1775 * WebKitInitializer/WebKitInitializer.cpp:
1776 (getWebViewCLSID): Use new LOG_WARNING macro.
1777 (getInstalledWebKitDirectory): Ditto.
1778 (initializeWebKit): Don't die if we didn't find an installed WebKit,
1780 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1782 2007-09-26 Adam Roben <aroben@apple.com>
1784 Committed this file before saving it
1786 * WebKitInitializer/debug_internal.vsprops:
1788 2007-09-26 Adam Roben <aroben@apple.com>
1790 Load WebKit and its dependencies manually so they come from DllDirectory
1792 I had to change WebKitInitializer to use malloc/free instead of
1793 new/delete to avoid pulling in WebKit (and its dependencies) early
1794 through use of fastMalloc.
1798 * WebKitInitializer/WebKitInitializer.cpp:
1799 (getStringValue): Changed to use malloc/free.
1800 (getInstalledWebKitDirectory): Ditto.
1801 (initializeWebKit): Call SetDllDirectory first, then load all of
1802 WebKit's dependencies manually, finally followed by WebKit itself.
1803 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1804 configuration to match our other projects.
1805 * WebKitInitializer/debug_internal.vsprops: Added.
1807 2007-09-25 Adam Roben <aroben@apple.com>
1809 Actually define DEBUG/NDEBUG so that we load WebKit correctly
1811 Rubberstamped by Sam.
1813 * WebKitInitializer/WebKitInitializer.vcproj:
1815 2007-09-25 Adam Roben <aroben@apple.com>
1817 Make DumpRenderTree delay-load its dependencies
1819 This lets WebKitInitializer re-route the dependencies to be loaded out
1820 of the Safari installation directory.
1822 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
1823 same thing), since we can't import the kCFAllocatorDefault symbol when
1824 delay-loading CoreFoundation.dll.
1826 Rubberstamped by Sam.
1828 * DumpRenderTree/win/DumpRenderTree.cpp:
1830 (javaScriptThreads):
1831 * DumpRenderTree/win/DumpRenderTree.vcproj:
1832 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1833 (LayoutTestController::setWaitToDump):
1835 2007-09-25 Adam Roben <aroben@apple.com>
1837 Pull ole32.lib into WebKitInitializer
1839 Rubberstamped by Sam.
1841 * WebKitInitializer/WebKitInitializer.vcproj:
1843 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1847 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1848 LGPL'ed files contain incorrect FSF address
1852 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1856 Make svn-apply and svn-unapply work with git-diff formatted patches.
1858 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
1859 (gitdiff2svndiff): Added.
1860 * Scripts/svn-unapply: Ditto.
1861 (gitdiff2svndiff): Added.
1863 2007-09-25 Adam Roben <aroben@apple.com>
1865 Pull advapi32.lib into WebKitInitializer
1867 This is needed to get the registry functions we use.
1869 Rubberstamped by Sam.
1871 * WebKitInitializer/WebKitInitializer.vcproj:
1873 2007-09-25 Adam Roben <aroben@apple.com>
1875 Add python and rsync to cygwin-downloader
1877 Our build slaves need this, and it can't hurt for everyone else to
1882 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
1883 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1885 2007-09-25 Adam Roben <aroben@apple.com>
1887 Add WebKitInitializer and use it in DumpRenderTree
1889 WebKitInitializer is a static library that has one function,
1890 initializeWebKit(). This registers WebKit and sets up the DLL search
1891 path so that WebKit's dependencies that are installed with Safari can
1896 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
1897 DumpRenderTree depend on it.
1898 * DumpRenderTree/win/DumpRenderTree.cpp:
1899 (initialize): Call initializeWebKit.
1900 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
1901 WebKitInitializer.lib.
1902 * WebKitInitializer/WebKitInitializer.cpp: Added.
1905 (getInstalledWebKitDirectory):
1907 * WebKitInitializer/WebKitInitializer.h: Added.
1908 * WebKitInitializer/WebKitInitializer.vcproj: Added.
1909 * WebKitInitializer/debug.vsprops: Added.
1910 * WebKitInitializer/release.vsprops: Added.
1912 2007-09-25 Adam Roben <aroben@apple.com>
1914 Make run-webkit-tests respect set-webkit-configuration
1918 * Scripts/run-webkit-tests: Initialize $configuration to whatever
1919 set-webkit-configuration was last set to.
1921 2007-09-25 Mark Rowe <mrowe@apple.com>
1923 Rubber-stamped by Eric.
1925 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1926 This makes it possible to automate nightly builds for the feature-branch.
1928 2007-09-25 Adam Roben <aroben@apple.com>
1930 A couple of fixes/enhancements to update-webkit-*-libs
1932 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1933 to tell update-webkit-support-libraries where it should find the
1934 WebKitSupportLibrary.zip file you downloaded.
1936 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1941 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1942 to $auxiliaryLibsURL and removed an irrelevant comment.
1943 * Scripts/update-webkit-support-libs:
1945 2007-09-25 Adam Treat <treat@kde.org>
1947 Reviewed by Simon and Lars.
1949 Refactors and cleans up Qt DRT member variable names, member variable
1950 initialization, style fixes and general code cleanup.
1952 Adds queueReload slot to LayoutTestController that some tests require.
1954 Subclasses QWebFrame to make sure that all frames have an associated
1955 LayoutTestController JS window object.
1957 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1958 aren't dumped twice.
1962 Together, this patch fixes some 20+ layout tests in QtWebKit.
1964 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1965 (WebCore::WebFrame::WebFrame):
1966 (WebCore::WebPage::WebPage):
1967 (WebCore::WebPage::createFrame):
1968 (WebCore::DumpRenderTree::DumpRenderTree):
1969 (WebCore::DumpRenderTree::open):
1970 (WebCore::DumpRenderTree::readStdin):
1971 (WebCore::DumpRenderTree::initJSObjects):
1972 (WebCore::DumpRenderTree::dump):
1973 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1974 (WebCore::DumpRenderTree::layoutTestController):
1975 (WebCore::DumpRenderTree::eventSender):
1976 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1977 (LayoutTestController::LayoutTestController):
1978 (LayoutTestController::reset):
1979 (LayoutTestController::maybeDump):
1980 (LayoutTestController::waitUntilDone):
1981 (LayoutTestController::notifyDone):
1982 (LayoutTestController::queueReload):
1983 (LayoutTestController::provisionalLoad):
1984 (EventSender::EventSender):
1985 (EventSender::mouseDown):
1986 (EventSender::mouseUp):
1987 (EventSender::mouseMoveTo):
1988 (EventSender::frameUnderMouse):
1989 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1990 (LayoutTestController::isLoading):
1991 (LayoutTestController::setLoading):
1992 (LayoutTestController::dumpAsText):
1993 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1996 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1999 - Reverted an accidentally checked in file.
2001 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2003 2007-09-24 Kevin McCullough <kmccullough@apple.com>
2006 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2008 * DumpRenderTree/win/DumpRenderTree.vcproj:
2009 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2011 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
2013 Rubber stamped by Adam.
2015 * GdkLauncher: Removed.
2016 * GdkLauncher/Bakefiles.bkgen: Removed.
2017 * GdkLauncher/ENV: Removed.
2018 * GdkLauncher/GdkLauncher.pro: Removed.
2019 * GdkLauncher/gdklauncher.bkl: Removed.
2020 * GdkLauncher/main.cpp: Removed.
2021 * GdkLauncher/mk: Removed.
2022 * GdkLauncher/simple.svg: Removed.
2023 * GdkLauncher/text.html: Removed.
2024 * GtkLauncher: Added.
2025 * GtkLauncher/GdkLauncher.pro: Removed.
2026 * GtkLauncher/GtkLauncher.pro: Added.
2027 * GtkLauncher/main.cpp:
2028 (updateWindowTitle):
2030 * Scripts/build-webkit:
2031 * Scripts/regenerate-makefiles:
2032 * Scripts/run-javascriptcore-tests:
2033 * Scripts/run-launcher:
2034 * Scripts/run-webkit-tests:
2035 * Scripts/webkitdirs.pm:
2037 2007-09-21 Timothy Hatcher <timothy@apple.com>
2041 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2043 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2044 This is tested by plugins/root-object-premature-delete-crash.html.
2046 * DumpRenderTree/mac/ObjCController.m:
2047 (-[ObjCController accessStoredWebScriptObject]):
2049 2007-09-21 Kevin McCullough <kmccullough@apple.com>
2053 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2055 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2056 (FrameLoadDelegate::FrameLoadDelegate):
2058 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
2062 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2063 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2065 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2066 Now isQt() and isGdk() use global variables that are only set once.
2068 An array of all the parameters is now given to build-dumprender which includes
2069 the platform on linux.
2071 * Scripts/build-dumprendertree:
2072 * Scripts/run-webkit-tests:
2073 * Scripts/webkitdirs.pm:
2075 2007-09-19 Adam Roben <aroben@apple.com>
2077 Rubberstamped by Hyatt.
2079 * Spinneret: Removed.
2081 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
2083 Reviewed by David Kilzer.
2085 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2087 2007-09-18 Sam Weinig <sam@webkit.org>
2089 Add JSRetainPtr.h #include to fix some builds.
2091 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2093 2007-09-18 Mike Hommey <glandium@debian.org>
2097 * Scripts/prepare-ChangeLog:
2098 - Properly parse GECOS field.
2099 - Use git configuration for user name and email when appropriate.
2101 2007-09-17 Sam Weinig <sam@webkit.org>
2105 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2107 2007-09-17 Sam Weinig <sam@webkit.org>
2109 Reviewed by Adam Roben.
2111 Share more code between mac and windows DRT.
2112 - GCController is now shared.
2113 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2115 * DumpRenderTree/GCController.cpp:
2116 * DumpRenderTree/win/DumpRenderTree.cpp:
2117 * DumpRenderTree/win/DumpRenderTree.vcproj:
2118 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2119 (FrameLoadDelegate::FrameLoadDelegate):
2120 (FrameLoadDelegate::~FrameLoadDelegate):
2121 (FrameLoadDelegate::windowScriptObjectAvailable):
2122 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2123 * DumpRenderTree/win/GCController.cpp: Removed.
2124 * DumpRenderTree/win/GCController.h: Removed.
2125 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2126 (GCController::collect):
2127 (GCController::collectOnAlternateThread):
2128 (GCController::getJSObjectCount):
2129 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2130 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2132 2007-09-17 Sam Weinig <sam@webkit.org>
2134 Reviewed by Adam Roben.
2136 Begin sharing code between mac and windows DRT.
2137 - both now share LayoutTestController.h/cpp and implement platform dependant
2138 operations in LayoutTestControllerMac/Win.
2139 - DumpRenderTree.h is now shared.
2140 - WorkQueue and WorkQueueItem are also shared.
2142 * DumpRenderTree/DumpRenderTree.h:
2143 * DumpRenderTree/LayoutTestController.cpp:
2144 * DumpRenderTree/win/DumpRenderTree.cpp:
2146 (dumpFrameScrollPosition):
2150 * DumpRenderTree/win/DumpRenderTree.h: Removed.
2151 * DumpRenderTree/win/DumpRenderTree.vcproj:
2152 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2153 * DumpRenderTree/win/EditingDelegate.cpp:
2154 (EditingDelegate::shouldBeginEditingInDOMRange):
2155 (EditingDelegate::shouldEndEditingInDOMRange):
2156 (EditingDelegate::shouldInsertNode):
2157 (EditingDelegate::shouldInsertText):
2158 (EditingDelegate::shouldDeleteDOMRange):
2159 (EditingDelegate::shouldChangeSelectedDOMRange):
2160 (EditingDelegate::shouldApplyStyle):
2161 (EditingDelegate::shouldChangeTypingStyle):
2162 (EditingDelegate::doPlatformCommand):
2163 (EditingDelegate::webViewDidBeginEditing):
2164 (EditingDelegate::webViewDidChange):
2165 (EditingDelegate::webViewDidEndEditing):
2166 (EditingDelegate::webViewDidChangeTypingStyle):
2167 (EditingDelegate::webViewDidChangeSelection):
2168 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2169 * DumpRenderTree/win/LayoutTestController.h: Removed.
2170 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2171 (LayoutTestController::addDisallowedURL):
2172 (LayoutTestController::clearBackForwardList):
2173 (LayoutTestController::copyDecodedHostName):
2174 (LayoutTestController::copyEncodedHostName):
2175 (LayoutTestController::display):
2176 (LayoutTestController::keepWebHistory):
2177 (LayoutTestController::notifyDone):
2178 (LayoutTestController::queueBackNavigation):
2179 (LayoutTestController::queueForwardNavigation):
2180 (jsStringRefToWString):
2181 (LayoutTestController::queueLoad):
2182 (LayoutTestController::queueReload):
2183 (LayoutTestController::queueScript):
2184 (LayoutTestController::setAcceptsEditing):
2185 (LayoutTestController::setCustomPolicyDelegate):
2186 (LayoutTestController::setMainFrameIsFirstResponder):
2187 (LayoutTestController::setTabKeyCyclesThroughElements):
2188 (LayoutTestController::setUseDashboardCompatibilityMode):
2189 (LayoutTestController::setUserStyleSheetEnabled):
2190 (LayoutTestController::setUserStyleSheetLocation):
2191 (LayoutTestController::setWindowIsKey):
2192 (waitUntilDoneWatchdogFired):
2193 (LayoutTestController::setWaitToDump):
2194 (LayoutTestController::windowCount):
2195 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2196 (FrameLoadDelegate::didReceiveTitle):
2197 (FrameLoadDelegate::processWork):
2198 (FrameLoadDelegate::locationChangeDone):
2199 (FrameLoadDelegate::windowScriptObjectAvailable):
2200 * DumpRenderTree/win/WorkQueue.cpp: Removed.
2201 * DumpRenderTree/win/WorkQueue.h: Removed.
2202 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2203 * DumpRenderTree/win/WorkQueueItem.h: Removed.
2204 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2205 (jsStringRefToWString):
2207 (ScriptItem::invoke):
2209 2007-09-17 Sam Weinig <sam@webkit.org>
2211 Reviewed by Adam Roben.
2213 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2215 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2216 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2217 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2218 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2219 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2220 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2221 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2222 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2223 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2224 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2225 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2226 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2227 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2228 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2229 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2230 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2231 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2232 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2233 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2234 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2235 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2236 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2237 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2238 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2239 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2240 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2241 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2242 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2243 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2244 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2245 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2246 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2247 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2248 * DumpRenderTree/win: Added.
2249 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2250 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2251 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2252 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2253 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2254 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2255 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2256 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2257 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2258 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2259 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2260 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2261 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2262 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2263 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2264 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2265 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2266 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2267 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2268 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2269 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2270 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2271 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2272 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2273 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2274 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2276 2007-09-15 Mark Rowe <mrowe@apple.com>
2278 Build fix for DumpRenderTree.
2280 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2282 2007-09-14 Sam Weinig <sam@webkit.org>
2284 Rubber stamped by Adam Roben.
2286 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2287 - The UIDelegate was put into a new file while the FrameLoadDelegate was
2288 kept in the WaitUntilDoneDelegate file for the time being.
2290 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2292 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2293 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2294 (UIDelegate::QueryInterface):
2295 (UIDelegate::AddRef):
2296 (UIDelegate::Release):
2297 (UIDelegate::hasCustomMenuImplementation):
2298 (UIDelegate::setFrame):
2299 (UIDelegate::webViewFrame):
2300 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2301 (UIDelegate::webViewAddMessageToConsole):
2302 (UIDelegate::doDragDrop):
2303 (UIDelegate::webViewGetDlgCode):
2304 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2305 (UIDelegate::UIDelegate):
2306 (UIDelegate::createWebViewWithRequest):
2307 (UIDelegate::webViewShow):
2308 (UIDelegate::webViewClose):
2309 (UIDelegate::webViewFocus):
2310 (UIDelegate::webViewUnfocus):
2311 (UIDelegate::webViewFirstResponder):
2312 (UIDelegate::makeFirstResponder):
2313 (UIDelegate::setStatusText):
2314 (UIDelegate::webViewStatusText):
2315 (UIDelegate::webViewAreToolbarsVisible):
2316 (UIDelegate::setToolbarsVisible):
2317 (UIDelegate::webViewIsStatusBarVisible):
2318 (UIDelegate::setStatusBarVisible):
2319 (UIDelegate::webViewIsResizable):
2320 (UIDelegate::setResizable):
2321 (UIDelegate::setContentRect):
2322 (UIDelegate::webViewContentRect):
2323 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2324 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2325 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2326 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2327 (UIDelegate::mouseDidMoveOverElement):
2328 (UIDelegate::contextMenuItemsForElement):
2329 (UIDelegate::validateUserInterfaceItem):
2330 (UIDelegate::shouldPerformAction):
2331 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2332 (UIDelegate::willPerformDragDestinationAction):
2333 (UIDelegate::dragSourceActionMaskForPoint):
2334 (UIDelegate::willPerformDragSourceAction):
2335 (UIDelegate::contextMenuItemSelected):
2336 (UIDelegate::trackCustomPopupMenu):
2337 (UIDelegate::measureCustomMenuItem):
2338 (UIDelegate::drawCustomMenuItem):
2339 (UIDelegate::addCustomMenuDrawingData):
2340 (UIDelegate::cleanUpCustomMenuDrawingData):
2341 (UIDelegate::canTakeFocus):
2342 (UIDelegate::takeFocus):
2343 (UIDelegate::registerUndoWithTarget):
2344 (UIDelegate::removeAllActionsWithTarget):
2345 (UIDelegate::setActionTitle):
2348 (UIDelegate::canUndo):
2349 (UIDelegate::canRedo):
2350 (UIDelegate::webViewResizerRect):
2351 (UIDelegate::webViewDrawResizer):
2352 (UIDelegate::webViewScrolled):
2353 (UIDelegate::webViewShouldInterruptJavaScript):
2354 (UIDelegate::webViewReceivedFocus):
2355 (UIDelegate::webViewLostFocus):
2356 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2357 (FrameLoadDelegate::QueryInterface):
2358 (FrameLoadDelegate::AddRef):
2359 (FrameLoadDelegate::Release):
2360 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2361 (FrameLoadDelegate::didCommitLoadForFrame):
2362 (FrameLoadDelegate::didReceiveTitle):
2363 (FrameLoadDelegate::processWork):
2365 (FrameLoadDelegate::locationChangeDone):
2366 (FrameLoadDelegate::didFinishLoadForFrame):
2367 (FrameLoadDelegate::didFailLoadWithError):
2368 (FrameLoadDelegate::windowScriptObjectAvailable):
2369 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2370 (FrameLoadDelegate::FrameLoadDelegate):
2372 2007-09-14 Sam Weinig <sam@webkit.org>
2374 Reviewed by Kevin McCullough.
2376 Move mac specific globals in to mac/DumpRenderTreeMac.h
2378 * DumpRenderTree/DumpRenderTree.h:
2379 * DumpRenderTree/DumpRenderTree.mm: Removed.
2380 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2381 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2382 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2384 2007-09-14 Brady Eidson <beidson@apple.com>
2386 Rubberstamped by Weinig
2388 You know, Sam, some of us use case-sensitve filesystems...
2390 * DumpRenderTree/DumpRenderTree.h:
2391 * DumpRenderTree/mac/UIDelegate.mm:
2393 2007-09-14 Sam Weinig <sam@webkit.org>
2395 Rubber stamped by Adam Roben.
2397 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2398 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2400 * DumpRenderTree/AppleScriptController.h: Removed.
2401 * DumpRenderTree/AppleScriptController.m: Removed.
2402 * DumpRenderTree/DumpRenderTree.h:
2403 * DumpRenderTree/DumpRenderTree.mm:
2404 (startJavaScriptThreads):
2405 (stopJavaScriptThreads):
2407 (setDefaultColorProfileToRGB):
2408 (makeLargeMallocFailSilently):
2409 (dumpFrameScrollPosition):
2413 (-[DumpRenderTreeWindow isKeyWindow]):
2414 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2415 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2416 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2417 * DumpRenderTree/EditingDelegate.h: Removed.
2418 * DumpRenderTree/EditingDelegate.m: Removed.
2419 * DumpRenderTree/EventSendingController.h: Removed.
2420 * DumpRenderTree/EventSendingController.m: Removed.
2421 * DumpRenderTree/FrameLoadDelegate.h: Removed.
2422 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2423 * DumpRenderTree/GCController.mm: Removed.
2424 * DumpRenderTree/ImageDiff.m: Removed.
2425 * DumpRenderTree/LayoutTestController.cpp:
2426 (LayoutTestController::LayoutTestController):
2427 (dumpAsTextCallback):
2428 (dumpBackForwardListCallback):
2429 (dumpChildFramesAsTextCallback):
2430 (dumpChildFrameScrollPositionsCallback):
2431 (dumpDOMAsWebArchiveCallback):
2432 (dumpEditingCallbacksCallback):
2433 (dumpFrameLoadCallbacksCallback):
2434 (dumpResourceLoadCallbacksCallback):
2435 (dumpSelectionRectCallback):
2436 (dumpSourceAsWebArchiveCallback):
2437 (dumpTitleChangesCallback):
2438 (repaintSweepHorizontallyCallback):
2439 (setCallCloseOnWebViewsCallback):
2440 (setCanOpenWindowsCallback):
2441 (setCloseRemainingWindowsWhenCompleteCallback):
2442 (testRepaintCallback):
2443 (addFileToPasteboardOnDragCallback):
2444 (waitUntilDoneCallback):
2445 * DumpRenderTree/LayoutTestController.h:
2446 (LayoutTestController::dumpAsText):
2447 (LayoutTestController::setDumpAsText):
2448 (LayoutTestController::dumpBackForwardList):
2449 (LayoutTestController::setDumpBackForwardList):
2450 (LayoutTestController::dumpChildFrameScrollPositions):
2451 (LayoutTestController::setDumpChildFrameScrollPositions):
2452 (LayoutTestController::dumpChildFramesAsText):
2453 (LayoutTestController::setDumpChildFramesAsText):
2454 (LayoutTestController::dumpDOMAsWebArchive):
2455 (LayoutTestController::setDumpDOMAsWebArchive):
2456 (LayoutTestController::dumpSelectionRect):
2457 (LayoutTestController::setDumpSelectionRect):
2458 (LayoutTestController::dumpSourceAsWebArchive):
2459 (LayoutTestController::setDumpSourceAsWebArchive):
2460 (LayoutTestController::dumpTitleChanges):
2461 (LayoutTestController::setDumpTitleChanges):
2462 (LayoutTestController::dumpEditingCallbacks):
2463 (LayoutTestController::setDumpEditingCallbacks):
2464 (LayoutTestController::dumpResourceLoadCallbacks):
2465 (LayoutTestController::setDumpResourceLoadCallbacks):
2466 (LayoutTestController::dumpFrameLoadCallbacks):
2467 (LayoutTestController::setDumpFrameLoadCallbacks):
2468 (LayoutTestController::addFileToPasteboardOnDrag):
2469 (LayoutTestController::setAddFileToPasteboardOnDrag):
2470 (LayoutTestController::callCloseOnWebViews):
2471 (LayoutTestController::setCallCloseOnWebViews):
2472 (LayoutTestController::canOpenWindows):
2473 (LayoutTestController::setCanOpenWindows):
2474 (LayoutTestController::closeRemainingWindowsWhenComplete):
2475 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2476 (LayoutTestController::testRepaint):
2477 (LayoutTestController::setTestRepaint):
2478 (LayoutTestController::testRepaintSweepHorizontally):
2479 (LayoutTestController::setTestRepaintSweepHorizontally):
2480 (LayoutTestController::waitToDump):
2481 (LayoutTestController::windowIsKey):
2482 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2483 * DumpRenderTree/NavigationController.h: Removed.
2484 * DumpRenderTree/NavigationController.m: Removed.
2485 * DumpRenderTree/ObjCController.h: Removed.
2486 * DumpRenderTree/ObjCController.m: Removed.
2487 * DumpRenderTree/ObjCPlugin.h: Removed.
2488 * DumpRenderTree/ObjCPlugin.m: Removed.
2489 * DumpRenderTree/ObjCPluginFunction.h: Removed.
2490 * DumpRenderTree/ObjCPluginFunction.m: Removed.
2491 * DumpRenderTree/PolicyDelegate.h: Removed.
2492 * DumpRenderTree/PolicyDelegate.m: Removed.
2493 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2494 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2495 * DumpRenderTree/TextInputController.h: Removed.
2496 * DumpRenderTree/TextInputController.m: Removed.
2497 * DumpRenderTree/UIDelegate.h: Removed.
2498 * DumpRenderTree/UIDelegate.mm: Removed.
2499 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2500 * DumpRenderTree/mac: Added.
2501 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2502 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2503 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2504 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2505 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2506 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2507 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2508 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2509 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2510 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2511 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2512 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2513 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2514 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2515 (-[EditingDelegate webViewDidBeginEditing:]):
2516 (-[EditingDelegate webViewDidChange:]):
2517 (-[EditingDelegate webViewDidEndEditing:]):
2518 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2519 (-[EditingDelegate webViewDidChangeSelection:]):
2520 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2521 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2522 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2523 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2524 (-[FrameLoadDelegate init]):
2525 (-[FrameLoadDelegate dealloc]):
2526 (-[FrameLoadDelegate processWork:]):
2527 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2528 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2529 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2530 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2531 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2532 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2533 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2534 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2535 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2536 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2537 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2538 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2539 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2540 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2541 (-[FrameLoadDelegate webView:willCloseFrame:]):
2542 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2543 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2544 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2545 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2546 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2547 (LayoutTestController::notifyDone):
2548 (LayoutTestController::setWindowIsKey):
2549 (LayoutTestController::setWaitToDump):
2550 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2551 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2552 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2553 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2554 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2555 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2556 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2557 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2558 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2559 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2560 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2561 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2562 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2563 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2564 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2565 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2566 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2567 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2568 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2569 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2570 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2571 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2572 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2573 (-[UIDelegate webViewFocus:]):
2574 (-[UIDelegate webView:createWebViewWithRequest:]):
2575 (-[UIDelegate webViewClose:]):
2576 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2578 2007-09-14 Kevin McCullough <kmccullough@apple.com>
2582 - Changing Win version of Drosera work with recent changes.
2584 * Drosera/DebuggerDocument.cpp:
2585 * Drosera/DebuggerDocument.h:
2586 * Drosera/mac/DebuggerDocumentPlatform.mm:
2587 (NSStringCreateWithJSStringRef):
2588 (JSValueRefCreateWithNSString):
2589 * Drosera/win/DebuggerClient.cpp:
2590 (DebuggerClient::stepInto):
2591 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2593 2007-09-13 Kevin McCullough <kmccullough@apple.com>
2597 - Moved isPaused into the JS for efficiency and simplicity.
2599 * Drosera/DebuggerDocument.cpp:
2600 (DebuggerDocument::DebuggerDocument):
2601 (DebuggerDocument::pauseCallback):
2602 (DebuggerDocument::resumeCallback):
2603 (DebuggerDocument::isPaused):
2604 (DebuggerDocument::staticFunctions):
2605 * Drosera/DebuggerDocument.h:
2606 * Drosera/console.js:
2607 * Drosera/debugger.js:
2608 * Drosera/mac/DebuggerClient.mm:
2609 (-[DebuggerClient validateUserInterfaceItem:]):
2611 2007-09-13 Sam Weinig <sam@webkit.org>
2613 Rubber stamped by Darin.
2615 Make DumpRenderTree more cross platform ready.
2616 - Convert GCController to use the JSCore API instead of the WebScriptObject.
2617 - Use CF types instead of NS objects.
2620 * DumpRenderTree/DumpRenderTree.h:
2621 * DumpRenderTree/DumpRenderTree.mm:
2625 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2626 * DumpRenderTree/EditingDelegate.m:
2627 * DumpRenderTree/FrameLoadDelegate.h:
2628 * DumpRenderTree/FrameLoadDelegate.mm:
2629 (-[FrameLoadDelegate init]):
2630 (-[FrameLoadDelegate dealloc]):
2631 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2632 * DumpRenderTree/GCController.cpp: Added.
2633 (GCController::GCController):
2634 (GCController::~GCController):
2636 (collectOnAlternateThreadCallback):
2637 (getJSObjectCountCallback):
2638 (GCController::makeWindowObject):
2639 (GCController::getJSClass):
2640 (GCController::staticFunctions):
2641 * DumpRenderTree/GCController.h:
2642 * DumpRenderTree/GCController.mm:
2643 (GCController::collect):
2644 (GCController::collectOnAlternateThread):
2645 (GCController::getJSObjectCount):
2646 * DumpRenderTree/LayoutTestController.cpp:
2647 (LayoutTestController::makeWindowObject):
2648 (LayoutTestController::getJSClass):
2649 * DumpRenderTree/LayoutTestController.h:
2650 * DumpRenderTree/LayoutTestControllerMac.mm:
2651 (LayoutTestController::addDisallowedURL):
2652 (waitUntilDoneWatchdogFired):
2653 (LayoutTestController::waitUntilDone):
2654 * DumpRenderTree/ResourceLoadDelegate.m:
2655 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2657 2007-09-12 Sam Weinig <sam@webkit.org>
2659 Reviewed by Stephanie.
2661 Fix leaks in mac DumpRenderTree.
2663 * DumpRenderTree/FrameLoadDelegate.mm:
2664 (-[FrameLoadDelegate init]): Initalize in the correct order.
2665 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2666 * DumpRenderTree/LayoutTestController.cpp:
2667 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2668 (encodeHostNameCallback): ditto.
2669 * DumpRenderTree/LayoutTestController.h:
2670 * DumpRenderTree/LayoutTestControllerMac.mm:
2671 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2672 (LayoutTestController::copyEncodedHostName): ditto
2673 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2675 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2679 - 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.
2681 * Scripts/run-webkit-tests:
2683 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2687 - Simplified code paths and extracted out functions to increase encapsulation.
2689 * Drosera/DebuggerDocument.cpp:
2690 (DebuggerDocument::breakpointEditorHTMLCallback):
2691 (DebuggerDocument::isPausedCallback):
2692 (DebuggerDocument::pauseCallback):
2693 (DebuggerDocument::resumeCallback):
2694 (DebuggerDocument::stepIntoCallback):
2695 (DebuggerDocument::evaluateScriptCallback):
2696 (DebuggerDocument::currentFunctionStackCallback):
2697 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2698 (DebuggerDocument::valueForScopeVariableNamedCallback):
2699 (DebuggerDocument::logCallback):
2700 * Drosera/DebuggerDocument.h:
2701 (DebuggerDocument::getPaused):
2702 * Drosera/mac/DebuggerClient.mm:
2703 (-[DebuggerClient pause:]):
2704 (-[DebuggerClient resume:]):
2705 (-[DebuggerClient stepInto:]):
2706 (-[DebuggerClient stepOver:]):
2707 (-[DebuggerClient stepOut:]):
2708 (-[DebuggerClient showConsole:]):
2709 (-[DebuggerClient closeCurrentFile:]):
2710 (-[DebuggerClient validateUserInterfaceItem:]):
2711 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2712 (+[NSString stringOrNilFromWebScriptResult:]):
2713 (DebuggerDocument::platformPause):
2714 (DebuggerDocument::platformResume):
2715 (DebuggerDocument::platformStepInto):
2716 (DebuggerDocument::platformEvaluateScript):
2717 (DebuggerDocument::getPlatformCurrentFunctionStack):
2718 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2719 (DebuggerDocument::platformValueForScopeVariableNamed):
2720 (DebuggerDocument::platformLog):
2721 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2723 2007-09-12 Sam Weinig <sam@webkit.org>
2725 Build fix for Buildbot.
2727 * DumpRenderTree/DumpRenderTree.mm:
2730 2007-09-12 Kevin McCullough <kmccullough@apple.com>
2734 - Updated the leaks list for leopard to help identify regressions.
2736 * Scripts/run-webkit-tests:
2738 2007-09-12 Sam Weinig <sam@webkit.org>
2740 Rubber stamped by Darin.
2742 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2744 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
2745 * DumpRenderTree/DumpRenderTree.m: Removed.
2746 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2747 (stopJavaScriptThreads): Fix initialization.
2748 (setDefaultColorProfileToRGB): Add explicit cast from void*.
2749 (dumpRenderTree): Ditto.
2751 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2753 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2754 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2755 * DumpRenderTree/FrameLoadDelegate.m: Removed.
2756 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2757 (-[FrameLoadDelegate init]):
2758 (-[FrameLoadDelegate dealloc]):
2759 (-[FrameLoadDelegate processWork:]):
2760 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2761 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2762 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2764 * DumpRenderTree/LayoutTestController.cpp: Added.
2765 (LayoutTestController::LayoutTestController):
2766 (LayoutTestController::~LayoutTestController):
2767 (dumpAsTextCallback):
2768 (dumpBackForwardListCallback):
2769 (dumpChildFramesAsTextCallback):
2770 (dumpChildFrameScrollPositionsCallback):
2771 (dumpDOMAsWebArchiveCallback):
2772 (dumpEditingCallbacksCallback):
2773 (dumpFrameLoadCallbacksCallback):
2774 (dumpResourceLoadCallbacksCallback):
2775 (dumpSelectionRectCallback):
2776 (dumpSourceAsWebArchiveCallback):
2777 (dumpTitleChangesCallback):
2778 (repaintSweepHorizontallyCallback):
2779 (setCallCloseOnWebViewsCallback):
2780 (setCanOpenWindowsCallback):
2781 (setCloseRemainingWindowsWhenCompleteCallback):
2782 (testRepaintCallback):
2783 (addFileToPasteboardOnDragCallback):
2784 (addDisallowedURLCallback):
2785 (clearBackForwardListCallback):
2786 (decodeHostNameCallback):
2788 (encodeHostNameCallback):
2789 (keepWebHistoryCallback):
2790 (notifyDoneCallback):
2791 (queueBackNavigationCallback):
2792 (queueForwardNavigationCallback):
2793 (queueLoadCallback):
2794 (queueReloadCallback):
2795 (queueScriptCallback):
2796 (setAcceptsEditingCallback):
2797 (setCustomPolicyDelegateCallback):
2798 (setMainFrameIsFirstResponderCallback):
2799 (setTabKeyCyclesThroughElementsCallback):
2800 (setUseDashboardCompatibilityModeCallback):
2801 (setUserStyleSheetEnabledCallback):
2802 (setUserStyleSheetLocationCallback):
2803 (setWindowIsKeyCallback):
2804 (waitUntilDoneCallback):
2805 (windowCountCallback):
2806 (LayoutTestController::makeWindowObject):
2807 (LayoutTestController::getLayoutTestControllerJSClass):
2808 (LayoutTestController::staticFunctions):
2809 * DumpRenderTree/LayoutTestController.h: Replaced.
2810 * DumpRenderTree/LayoutTestController.m: Removed.
2811 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
2812 (LayoutTestController::dumpAsText):
2813 (LayoutTestController::dumpBackForwardList):
2814 (LayoutTestController::dumpChildFramesAsText):
2815 (LayoutTestController::dumpChildFrameScrollPositions):
2816 (LayoutTestController::dumpDOMAsWebArchive):
2817 (LayoutTestController::dumpEditingCallbacks):
2818 (LayoutTestController::dumpFrameLoadCallbacks):
2819 (LayoutTestController::dumpResourceLoadCallbacks):
2820 (LayoutTestController::dumpSelectionRect):
2821 (LayoutTestController::dumpSourceAsWebArchive):
2822 (LayoutTestController::dumpTitleChanges):
2823 (LayoutTestController::repaintSweepHorizontally):
2824 (LayoutTestController::setCallCloseOnWebViews):
2825 (LayoutTestController::setCanOpenWindows):
2826 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2827 (LayoutTestController::testRepaint):
2828 (LayoutTestController::addFileToPasteboardOnDrag):
2829 (LayoutTestController::addDisallowedURL):
2830 (LayoutTestController::clearBackForwardList):
2831 (LayoutTestController::decodeHostName):
2832 (LayoutTestController::encodeHostName):
2833 (LayoutTestController::display):
2834 (LayoutTestController::keepWebHistory):
2835 (LayoutTestController::notifyDone):
2836 (LayoutTestController::queueBackNavigation):
2837 (LayoutTestController::queueForwardNavigation):
2838 (LayoutTestController::queueLoad):
2839 (LayoutTestController::queueReload):
2840 (LayoutTestController::queueScript):
2841 (LayoutTestController::setAcceptsEditing):
2842 (LayoutTestController::setCustomPolicyDelegate):
2843 (LayoutTestController::setMainFrameIsFirstResponder):
2844 (LayoutTestController::setTabKeyCyclesThroughElements):
2845 (LayoutTestController::setUseDashboardCompatibilityMode):
2846 (LayoutTestController::setUserStyleSheetEnabled):
2847 (LayoutTestController::setUserStyleSheetLocation):
2848 (LayoutTestController::setWindowIsKey):
2849 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
2850 (LayoutTestController::waitUntilDone):
2851 (LayoutTestController::windowCount):
2852 Use the JSCore API to implement the LayoutTestController.
2854 * DumpRenderTree/ObjCController.h:
2855 * DumpRenderTree/ObjCController.m:
2856 (+[ObjCController isSelectorExcludedFromWebScript:]):
2857 (+[ObjCController webScriptNameForSelector:]):
2858 (-[ObjCController accessStoredWebScriptObject]):
2859 (-[ObjCController storeWebScriptObject:]):
2860 (-[ObjCController dealloc]):
2861 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
2862 Move WebScriptObject tests to ObjCController.
2864 * DumpRenderTree/UIDelegate.m: Removed.
2865 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
2867 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2868 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2869 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2870 (WorkQueueItem::~WorkQueueItem):
2871 (LoadItem::LoadItem):
2874 (ScriptItem::ScriptItem):
2875 (ScriptItem::script):
2876 * DumpRenderTree/WorkQueueItemMac.mm: Added.
2878 (ReloadItem::invoke):
2879 (ScriptItem::invoke):
2880 (BackForwardItem::invoke):
2881 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
2882 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
2885 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2889 - Updated Win side to take advantage of the platform separating changes.
2891 * Drosera/DebuggerDocument.cpp:
2892 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2893 * Drosera/DebuggerDocument.h:
2894 * Drosera/win/DebuggerClient.cpp:
2895 (DebuggerClient::pause):
2896 (DebuggerClient::resume):
2897 (DebuggerClient::stepInto):
2898 (DebuggerDocument::platformPause):
2899 (DebuggerDocument::platformResume):
2900 (DebuggerDocument::platformStepInto):
2901 (DebuggerDocument::platformEvaluateScript):
2902 (DebuggerDocument::getPlatformCurrentFunctionStack):
2903 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2904 (DebuggerDocument::platformValueForScopeVariableNamed):
2905 (DebuggerDocument::platformLog):
2906 * Drosera/win/DebuggerClient.h:
2907 * Drosera/win/Drosera.cpp:
2909 (Drosera::windowScriptObjectAvailable):
2910 (Drosera::initWithServerName):
2911 (Drosera::switchToServerNamed):
2912 * Drosera/win/Drosera.h:
2913 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2915 2007-09-11 Kevin McCullough <kmccullough@apple.com>
2919 - Just doing the moves in a separate patch so the changes are easier to see.
2921 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2922 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2923 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2924 * Drosera/win/DebuggerDocumentWin.h: Removed.
2925 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2927 2007-09-11 Sven Herzberg <sven@imendio.com>
2929 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2930 http://bugs.webkit.org/show_bug.cgi?id=15176
2932 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2933 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2934 other paths eg. from jhbuild)
2936 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2940 - Made an order-of-deletion mistake.
2942 * Drosera/DebuggerDocument.h:
2943 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2944 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2945 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2946 * Drosera/mac/DebuggerClient.mm:
2947 (DebuggerDocument::platformPause):
2948 (DebuggerDocument::platformResume):
2949 (DebuggerDocument::platformStepInto):
2950 (DebuggerDocument::platformEvaluateScript):
2951 (DebuggerDocument::getPlatformCurrentFunctionStack):
2952 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2953 (DebuggerDocument::platformValueForScopeVariableNamed):
2954 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2956 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2960 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2962 * Drosera/DebuggerDocument.cpp:
2963 (DebuggerDocument::DebuggerDocument):
2964 * Drosera/DebuggerDocument.h:
2965 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2966 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2967 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2968 * Drosera/mac/DebuggerApplication.mm:
2969 (-[DebuggerApplication attach:]):
2970 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2971 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2972 (DebuggerDocument::platformPause):
2973 (DebuggerDocument::platformResume):
2974 (DebuggerDocument::platformStepInto):
2975 (DebuggerDocument::platformEvaluateScript):
2976 (DebuggerDocument::getPlatformCurrentFunctionStack):
2977 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2978 (DebuggerDocument::platformValueForScopeVariableNamed):
2979 (DebuggerDocument::platformLog):
2980 * Drosera/mac/DebuggerDocumentMac.h: Removed.
2981 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2982 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2984 2007-09-09 Sam Weinig <sam@webkit.org>
2986 Reviewed by Mark Rowe.
2988 Remove 'objC' prefix from methods now in the ObjCController.
2990 * DumpRenderTree/ObjCController.m:
2991 (+[ObjCController isSelectorExcludedFromWebScript:]):
2992 (+[ObjCController webScriptNameForSelector:]):
2993 (-[ObjCController classNameOf:]):
2994 (-[ObjCController objectOfClass:]):
2995 (-[ObjCController identityIsEqual::]):
2996 (-[ObjCController longLongRoundTrip:]):
2997 (-[ObjCController unsignedLongLongRoundTrip:]):
2999 2007-09-09 Sam Weinig <sam@webkit.org>
3003 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
3004 - Move LayoutTestController into its own file.
3005 - Move Objective-C only functions on LayoutTestController into a new controller called the
3008 * DumpRenderTree/DumpRenderTree.h:
3009 * DumpRenderTree/DumpRenderTree.m:
3011 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3012 * DumpRenderTree/FrameLoadDelegate.m:
3013 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3014 * DumpRenderTree/LayoutTestController.h: Added.
3015 * DumpRenderTree/LayoutTestController.m: Added.
3016 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3017 (+[LayoutTestController webScriptNameForSelector:]):
3018 (-[LayoutTestController clearBackForwardList]):
3019 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3020 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3021 (-[LayoutTestController setCustomPolicyDelegate:]):
3022 (-[LayoutTestController keepWebHistory]):
3023 (-[LayoutTestController setCallCloseOnWebViews:]):
3024 (-[LayoutTestController setCanOpenWindows]):
3025 (-[LayoutTestController waitUntilDone]):
3026 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3027 (-[LayoutTestController notifyDone]):
3028 (-[LayoutTestController dumpAsText]):
3029 (-[LayoutTestController addFileToPasteboardOnDrag]):
3030 (-[LayoutTestController addDisallowedURL:]):
3031 (-[LayoutTestController setUserStyleSheetLocation:]):
3032 (-[LayoutTestController setUserStyleSheetEnabled:]):
3033 (-[LayoutTestController dumpDOMAsWebArchive]):
3034 (-[LayoutTestController dumpSourceAsWebArchive]):
3035 (-[LayoutTestController dumpSelectionRect]):
3036 (-[LayoutTestController dumpTitleChanges]):
3037 (-[LayoutTestController dumpBackForwardList]):
3038 (-[LayoutTestController windowCount]):
3039 (-[LayoutTestController dumpChildFrameScrollPositions]):
3040 (-[LayoutTestController dumpChildFramesAsText]):
3041 (-[LayoutTestController dumpEditingCallbacks]):
3042 (-[LayoutTestController dumpResourceLoadCallbacks]):
3043 (-[LayoutTestController dumpFrameLoadCallbacks]):
3044 (-[LayoutTestController setWindowIsKey:]):
3045 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3046 (-[LayoutTestController display]):
3047 (-[LayoutTestController testRepaint]):
3048 (-[LayoutTestController repaintSweepHorizontally]):
3049 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3050 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
3051 (-[LayoutTestController _doLoad:target:]):
3052 (-[LayoutTestController _doBackOrForwardNavigation:]):
3053 (-[LayoutTestController queueBackNavigation:]):
3054 (-[LayoutTestController queueForwardNavigation:]):
3055 (-[LayoutTestController queueReload]):
3056 (-[LayoutTestController queueScript:]):
3057 (-[LayoutTestController queueLoad:target:]):
3058 (-[LayoutTestController setAcceptsEditing:]):
3059 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3060 (-[LayoutTestController storeWebScriptObject:]):
3061 (-[LayoutTestController accessStoredWebScriptObject]):
3062 (-[LayoutTestController dealloc]):
3063 (-[LayoutTestController decodeHostName:]):
3064 (-[LayoutTestController encodeHostName:]):
3065 * DumpRenderTree/ObjCController.h: Added.
3066 * DumpRenderTree/ObjCController.m: Added.
3067 (+[ObjCController isSelectorExcludedFromWebScript:]):
3068 (+[ObjCController webScriptNameForSelector:]):
3069 (-[ObjCController objCClassNameOf:]):
3070 (-[ObjCController objCObjectOfClass:]):
3071 (-[ObjCController objCIdentityIsEqual::]):
3072 (-[ObjCController objCLongLongRoundTrip:]):
3073 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
3074 (-[ObjCController testWrapperRoundTripping:]):
3076 2007-09-07 Sam Weinig <sam@webkit.org>
3080 Strip trailing and leading space/newline characters from skiplist file names.
3082 * Scripts/run-webkit-tests:
3084 2007-09-06 Kevin McCullough <kmccullough@apple.com>
3088 - Changed Drosera to take advantage of the JSRetainPtr changes.
3090 * Drosera/DebuggerDocument.cpp:
3091 (DebuggerDocument::breakpointEditorHTML):
3092 (DebuggerDocument::evaluateScript):
3093 (DebuggerDocument::valueForScopeVariableNamed):
3094 (DebuggerDocument::log):
3095 (DebuggerDocument::windowScriptObjectAvailable):
3096 (DebuggerDocument::toJSArray):
3097 (DebuggerDocument::callFunctionOnObject):
3098 (DebuggerDocument::logException):
3099 * Drosera/mac/DebuggerDocumentMac.mm:
3100 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3101 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3102 (DebuggerDocument::platformEvaluateScript):
3103 (DebuggerDocument::getPlatformCurrentFunctionStack):
3104 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3105 (DebuggerDocument::platformValueForScopeVariableNamed):
3107 2007-09-05 Kevin McCullough <kmccullough@apple.com>
3109 Reviewed by Adam, Sam, Darin.
3111 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
3113 * Drosera/Debugger.h: Added.
3114 * Drosera/DebuggerDocument.cpp:
3115 (DebuggerDocument::breakpointEditorHTMLCallback):
3116 (DebuggerDocument::isPausedCallback):
3117 (DebuggerDocument::pauseCallback):
3118 (DebuggerDocument::resumeCallback):
3119 (DebuggerDocument::stepIntoCallback):
3120 (DebuggerDocument::evaluateScriptCallback):
3121 (DebuggerDocument::currentFunctionStackCallback):
3122 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3123 (DebuggerDocument::valueForScopeVariableNamedCallback):
3124 (DebuggerDocument::logCallback):
3125 (DebuggerDocument::breakpointEditorHTML):
3126 (DebuggerDocument::isPaused):
3127 (DebuggerDocument::pause):
3128 (DebuggerDocument::resume):
3129 (DebuggerDocument::stepInto):
3130 (DebuggerDocument::evaluateScript):
3131 (DebuggerDocument::currentFunctionStack):
3132 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3133 (DebuggerDocument::valueForScopeVariableNamed):
3134 (DebuggerDocument::log):
3135 (DebuggerDocument::toolbarPause):
3136 (DebuggerDocument::toolbarResume):
3137 (DebuggerDocument::toolbarStepInto):
3138 (DebuggerDocument::toolbarStepOver):
3139 (DebuggerDocument::toolbarStepOut):
3140 (DebuggerDocument::toolbarShowConsole):
3141 (DebuggerDocument::toolbarCloseCurrentFile):
3142 (DebuggerDocument::updateFileSource):
3143 (DebuggerDocument::didParseScript):
3144 (DebuggerDocument::willExecuteStatement):
3145 (DebuggerDocument::didEnterCallFrame):
3146 (DebuggerDocument::willLeaveCallFrame):
3147 (DebuggerDocument::exceptionWasRaised):
3148 (DebuggerDocument::windowScriptObjectAvailable):
3149 (DebuggerDocument::toJSArray):
3150 (DebuggerDocument::callGlobalFunction):
3151 (DebuggerDocument::callFunctionOnObject):
3152 (DebuggerDocument::getDroseraJSClass):
3153 (DebuggerDocument::staticFunctions):
3154 (DebuggerDocument::logException):
3155 * Drosera/DebuggerDocument.h:
3156 (DebuggerDocument::DebuggerDocument):
3157 * Drosera/ForwardingHeaders: Added.
3158 * Drosera/ForwardingHeaders/wtf: Added.
3159 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3161 * Drosera/console.html:
3162 * Drosera/console.js:
3163 * Drosera/debugger.js:
3164 * Drosera/mac/DebuggerApplication.mm:
3165 (-[DebuggerApplication attach:]):
3166 * Drosera/mac/DebuggerDocumentMac.h:
3167 * Drosera/mac/DebuggerDocumentMac.mm:
3168 (+[NSString stringOrNilFromWebScriptResult:]):
3169 (+[DebuggerClientMac log:]):
3170 (-[DebuggerClientMac initWithServerName:]):
3171 (-[DebuggerClientMac dealloc]):
3172 (-[DebuggerClientMac pause]):
3173 (-[DebuggerClientMac resume]):
3174 (-[DebuggerClientMac pause:]):
3175 (-[DebuggerClientMac resume:]):
3176 (-[DebuggerClientMac stepInto:]):
3177 (-[DebuggerClientMac stepOver:]):
3178 (-[DebuggerClientMac stepOut:]):
3179 (-[DebuggerClientMac showConsole:]):
3180 (-[DebuggerClientMac closeCurrentFile:]):
3181 (-[DebuggerClientMac validateUserInterfaceItem:]):
3182 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3183 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3184 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3185 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3186 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3187 (DebuggerDocument::platformPause):
3188 (DebuggerDocument::platformResume):
3189 (DebuggerDocument::platformStepInto):
3190 (DebuggerDocument::platformEvaluateScript):
3191 (DebuggerDocument::platformCurrentFunctionStack):
3192 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3193 (DebuggerDocument::platformValueForScopeVariableNamed):
3194 (DebuggerDocument::platformLog):
3195 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3197 2007-09-06 Sam Weinig <sam@webkit.org>
3199 Reviewed by Adam Roben.
3201 Register the WebKit DLL on initialization of the DumpRenderTree.
3203 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3206 2007-09-05 Sam Weinig <sam@webkit.org>
3210 Fix many layout test failures caused by r25364.
3211 Set text size to standand size at the begining of each test matching the mac.
3213 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3216 2007-09-04 Sam Weinig <sam@webkit.org>
3220 Fix for <rdar://problem/5382277>
3221 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3223 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3224 (textZoomInCallback):
3225 (textZoomOutCallback):
3227 2007-08-29 David Kilzer <ddkilzer@apple.com>
3231 Added case-insensitivity to checks for adding regression tests.
3233 * Scripts/prepare-ChangeLog:
3236 2007-08-28 David Kilzer <ddkilzer@apple.com>
3240 Ignore files in /resources/ subdirectories when creating a list of added tests.
3242 * Scripts/prepare-ChangeLog:
3245 2007-08-27 Kevin McCullough <kmccullough@apple.com>
3249 - Removed Leopard leaks list since all of those radars were fixed.
3251 * Scripts/run-webkit-tests:
3253 2007-08-27 Adam Roben <aroben@apple.com>
3255 Rubberstamped by Mark.
3257 * Scripts/pdevenv: Pass arguments along to devenv.com.
3259 2007-08-26 David Kilzer <ddkilzer@webkit.org>
3261 Reviewed by Mark Rowe.
3263 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3265 * Scripts/prepare-ChangeLog:
3266 (changeLogDate): Added.
3268 2007-08-24 Sam Weinig <sam@webkit.org>
3270 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3272 2007-08-24 Sam Weinig <sam@webkit.org>
3274 Rubber-stamped by Adam Roben.
3276 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3278 Rename COM DOM bindings to use Deprecated prefix.
3280 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3283 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
3286 (EditingDelegate::shouldBeginEditingInDOMRange):
3287 (EditingDelegate::shouldEndEditingInDOMRange):
3288 (EditingDelegate::shouldInsertNode):
3289 (EditingDelegate::shouldInsertText):
3290 (EditingDelegate::shouldDeleteDOMRange):
3291 (EditingDelegate::shouldChangeSelectedDOMRange):
3292 (EditingDelegate::shouldApplyStyle):
3293 (EditingDelegate::shouldChangeTypingStyle):
3294 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
3296 2007-08-24 Oliver Hunt <oliver@apple.com>
3300 WebDataSource::response can legitimately have a null response, so we
3301 must check that case.
3303 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3304 (queueLoadCallback):
3306 2007-08-23 Mitz Pettel <mitz@webkit.org>
3308 Reviewed by Darin and Adam.
3310 - DumpRenderTree changes to allow testing for
3311 http://bugs.webkit.org/show_bug.cgi?id=11756
3312 REGRESSION: link targeting a frame in another window does not work
3313 <rdar://problem/5286420>
3315 Use a frame group name for all WebViews created by DumpRenderTree to
3316 allow testing of cross-page frame lookup.
3318 * DumpRenderTree/DumpRenderTree.m:
3319 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
3320 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3321 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
3323 2007-08-23 David Kilzer <ddkilzer@webkit.org>
3327 Quote the $sslCertificate path in case it contains a space.
3329 * Scripts/run-webkit-httpd:
3330 * Scripts/run-webkit-tests:
3332 2007-08-22 Oliver Hunt <oliver@apple.com>
3334 Reviewed by John and Adam.
3336 WebDataSource::response can legitimately have a null response, so we
3337 must check that case.
3339 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3342 2007-08-21 Kevin McCullough <kmccullough@apple.com>
3346 - Changing the usage to be more clear.
3348 * Scripts/run-testkjs:
3350 2007-08-20 John Sullivan <sullivan@apple.com>
3352 Reviewed by Adam Roben
3354 * DumpRenderTree/DumpRenderTree.m:
3356 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
3357 in layout tests on Tiger and Leopard
3359 2007-08-20 Adam Roben <aroben@apple.com>
3361 Put LayoutTests after all other ChangeLogs in commit logs
3363 We use "~" to sort LayoutTests after all the other ChangeLogs because
3364 "~" is the last ASCII character (other than "DEL").
3368 * Scripts/commit-log-editor:
3370 2007-08-20 Adam Roben <aroben@apple.com>
3372 Detect that DRT crashed even if a crash dialog is running
3374 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
3375 process is still running at this point, so run-webkit-tests wouldn't
3376 detect that DRT had crashed. We now record the crash in our SIGPIPE
3377 handler so that we know if DRT crashed even if the crash dialog is up.
3381 * Scripts/run-webkit-tests:
3382 (sub catch_pipe): Set the crashed bit.
3383 (sub openDumpTool): Reset the crashed bit.
3384 (sub dumpToolDidCrash): Check the crashed bit.
3386 2007-08-20 Adam Roben <aroben@apple.com>
3388 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
3390 http://bugs.webkit.org/show_bug.cgi?id=15026
3392 Reviewed by David Kilzer and Darin Adler.
3394 * Scripts/prepare-ChangeLog:
3395 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
3396 (sub isAddedStatus): Ditto.
3397 (sub testListForChangeLog): Added.
3399 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
3403 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
3405 * Scripts/webkitdirs.pm:
3406 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
3408 2007-08-17 Darin Adler <darin@apple.com>
3410 Reviewed by Oliver Hunt.
3412 - don't look for Apple-style localizable strings in the GTK version of WebKit
3414 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
3415 name of subdirectories to skip.
3416 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
3419 2007-08-17 Anders Carlsson <andersca@apple.com>
3423 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3426 2007-08-17 Anders Carlsson <andersca@apple.com>
3428 Reviewed by Dave Hyatt.
3430 <rdar://problem/5379040>
3431 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
3433 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
3435 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3437 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3438 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3442 2007-08-16 Alice Liu <alice.liu@apple.com>
3446 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
3448 * DumpRenderTree/DumpRenderTree.m:
3450 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
3452 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
3454 2007-08-16 Kevin McCullough <kmccullough@apple.com>
3458 - 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.
3460 * Scripts/run-webkit-tests:
3462 2007-08-15 Timothy Hatcher <timothy@apple.com>
3464 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
3465 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
3467 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
3468 this prevents making "build" directories in each project folder.
3470 * Scripts/webkitdirs.pm:
3472 2007-08-14 Geoffrey Garen <ggaren@apple.com>
3474 Reviewed by Kevin Mccullough.
3476 Removed special case that didn't belong. (It would allow a global
3477 initializer to sneak into production builds, which would cause a
3478 system-wide performance regression on Mac OS X.)
3480 * Scripts/check-for-global-initializers:
3482 2007-08-14 Justin Garcia <justin.garcia@apple.com>
3486 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
3488 * DumpRenderTree/EditingDelegate.m:
3489 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
3490 only for elements with the class needsDeletionUI.
3492 2007-08-14 David Kilzer <ddkilzer@webkit.org>
3496 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
3497 svn-create-patch uses deprecated tail switch
3499 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
3501 2007-08-13 Sam Weinig <sam@webkit.org>
3503 Reviewed by Adam Roben.
3505 Use the cygwin specific Apache config file under cygwin.
3507 * Scripts/run-webkit-httpd:
3509 2007-08-12 Adam Roben <aroben@apple.com>
3511 Generate results for new tests in a more logical location
3513 New platform-specific tests always have their results generated right
3514 next to the test. New cross-platform tests will have their results
3515 generated a) in the cross-platform directory, if they are text-only,
3516 or b) in the least-specific platform directory, if they are render
3521 * Scripts/run-webkit-tests:
3523 2007-08-12 Adam Roben <aroben@apple.com>
3525 Print the actual directory where new results are generated.
3527 Before, we were printing an unpredictable, context-specific substring
3532 * Scripts/run-webkit-tests:
3534 2007-08-12 Adam Roben <aroben@apple.com>
3536 Factor some common code into a stripExtension() subroutine.
3540 * Scripts/run-webkit-tests: Also removed some debugging output.
3542 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
3544 Reviewed over and over and over by Adam Roben.
3546 Bug 14740: Hierarchical layout tests and platform organization
3547 http://bugs.webkit.org/show_bug.cgi?id=14740
3549 Add support for platform-specific layout tests and results.
3551 * Scripts/run-webkit-tests:
3553 2007-08-11 David Kilzer <ddkilzer@webkit.org>
3557 Refactored svn-create-path to use a hash-of-hashes data structure to keep
3558 track of changed files. In the top level hash, keys are paths to files and
3559 values are 'fileData' hashes with the following keys and values:
3561 - isBinary: boolean value (set to true for non-text files like images, etc.)
3562 - isTestFile: boolean value (set to true if file exists within a known test
3564 - modificationType: string equal to one of 'addition', 'additionWithHistory',
3565 'modification' or 'deletion'
3566 - path: string equal to the path to the file (this may seem redundant, but it
3567 is required to use the second-level 'fileData' hash independent of the
3569 - sourceFile: [optional] string equal to the path of the original file that was
3571 - sourceRevision: [optional] string equal to the revision of the original file
3572 that was copied or moved
3574 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3575 that saves the return value in $result, then checks it before printing help.
3576 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3577 and eliminated two for() loops.
3578 (binarycmp): Added. Used with sort() to order non-binary files before binary
3580 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
3581 (findMimeType): Added optional second argument that takes a revision number.
3582 (generateDiff): Updated to take one fileData argument instead of three ($file,
3583 $modificationType, $isBinary).
3584 (generateFileList): Updated to take one hash ref argument (%diffFiles)
3585 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
3586 %diffFiles using paths for keys and fileData hashes for values.
3587 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3589 (pathcmp): Updated to take two fileData arguments instead of two strings.
3590 (testfilecmp): Added. Used with sort() to order non-test files before test
3593 2007-08-11 Darin Adler <darin@apple.com>
3595 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3597 2007-08-06 Nigel Tao <nigeltao@gnome.org>
3599 Reviewed by David Kilzer.
3601 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3602 http://bugs.webkit.org/show_bug.cgi?id=14745
3604 * Scripts/run-launcher:
3605 Scrub the "--gdk" out of the command line args, if given, so that
3606 GdkLauncher doesn't try to interpret it as a URL.
3608 2007-08-03 Adam Roben <aroben@apple.com>
3610 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3614 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3616 2007-08-03 Sam Weinig <sam@webkit.org>
3620 Recursively dump all frames as text using new
3621 layoutTestController.dumpChildFramesAsText() function.
3623 * DumpRenderTree/DumpRenderTree.m:
3626 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3627 (-[LayoutTestController dumpChildFramesAsText]):
3629 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3633 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3634 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3635 (dumpChildFramesAsTextCallback):
3636 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3638 2007-08-02 Adam Roben <aroben@apple.com>
3640 Fix fast/dom/Window/alert-undefined.html
3644 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3645 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3646 Windows translate a null BSTR into "(null)"
3648 2007-08-02 Kevin McCullough <kmccullough@apple.com>
3652 - It would help if I actually called the right function.
3654 * Drosera/DebuggerDocument.cpp:
3655 (DebuggerDocument::showConsole):
3657 2007-08-02 Adam Roben <aroben@apple.com>
3659 Don't delete the stderr file right after creating it
3661 * Scripts/run-webkit-tests:
3663 2007-08-01 Adam Roben <aroben@apple.com>
3665 When DRT crashes, record stderr and restart DRT
3667 This prevents a DRT crash from causing the next few hundred tests to
3668 "fail" because DRT is no longer running.
3670 I also changed the terminology that run-webkit-tests uses in its
3671 output a bit, so that crashing tests are referred to as "crashes"
3672 instead of "failures".
3676 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3678 (sub openDumpTool): Use open3 so that we can access stderr.
3679 (sub dumpToolCrashed): Added.
3680 (sub printFailureMessageForTest): Added.
3681 (sub htmlForExpectedAndActualResults): Added.
3682 (sub deleteExpectedAndActualResults): Added.
3683 (sub recordActualResultsAndDiff): Added.
3685 2007-07-30 Darin Adler <darin@apple.com>
3687 Reviewed by Tim Hatcher.
3689 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3690 characters. This turned out not to be needed for the test case that motivated me to
3691 do it, but it's nice to have this for the future.
3693 2007-07-30 Simon Hausmann <hausmann@kde.org>
3697 Link QtLauncher into $$OUTPUT_DIR/bin
3699 * Scripts/run-launcher:
3701 2007-07-27 David Kilzer <ddkilzer@apple.com>
3703 Reviewed by Geoff and Darin.
3705 Use a subroutine for validating the --skipped switch.
3707 * Scripts/run-webkit-tests:
3709 2007-07-27 Darin Adler <darin@apple.com>
3713 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3715 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3719 Correct the path of GdkLauncher and make checkFrameworks work on OSX
3720 when building the Qt or Gtk+ port.
3722 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3723 * Scripts/run-launcher:
3724 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3726 2007-07-27 Simon Hausmann <hausmann@kde.org>
3728 Done with and reviewed by Lars and Zack.
3730 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.
3732 * Scripts/webkitdirs.pm:
3734 2007-07-27 Simon Hausmann <hausmann@kde.org>
3736 Done with and reviewed by Lars and Zack.
3738 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.
3740 * Scripts/webkitdirs.pm:
3742 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3744 Reviewed by Darin, Geoff, Sam.
3746 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
3748 - 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.
3750 * DumpRenderTree/UIDelegate.h:
3751 * DumpRenderTree/UIDelegate.m:
3752 (-[UIDelegate webView:setFrame:]):
3753 (-[UIDelegate webViewFrame:]):
3755 2007-07-26 Kevin McCullough <kmccullough@apple.com>
3759 - Lars wanted this check for Qt but it breaks platform specific layout tests.
3761 * Scripts/run-webkit-tests:
3763 2007-07-25 Kevin McCullough <kmccullough@apple.com>
3765 Reviewed by Tim, Darin, Oliver.
3767 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
3768 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
3771 * DumpRenderTree/DumpRenderTree.m:
3774 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3775 (+[LayoutTestController webScriptNameForSelector:]):
3776 (-[LayoutTestController setCustomPolicyDelegate:]):
3777 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3778 * DumpRenderTree/FrameLoadDelegate.h:
3779 * DumpRenderTree/PolicyDelegate.h: Added.
3780 * DumpRenderTree/PolicyDelegate.m: Added.
3781 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3782 * DumpRenderTree/ResourceLoadDelegate.h:
3784 2007-07-25 Adam Treat <treat@kde.org>
3788 Fix build for some reported systems.
3790 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3792 2007-07-23 Adam Treat <treat@kde.org>
3794 Reviewed by Nikolas.
3796 Fix qt DRT to suppress js popup alerts and log instead.
3798 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3799 (WebCore::WebPage::javaScriptAlert):
3801 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
3805 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
3806 honor --qmakearg for the Gdk/Gtk build as well.
3808 * GdkLauncher/main.cpp: Switch to the new API
3809 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
3811 2007-07-22 Darin Adler <darin@apple.com>
3813 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
3814 Fix a leak by releasing the array used here.
3816 2007-07-22 David Kilzer <ddkilzer@webkit.org>
3820 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
3821 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
3823 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
3824 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
3826 * Scripts/update-iexploder-cssproperties: Added.
3827 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
3828 Added new CSS3 property section and Moved box-sizing property to it.
3830 2007-07-22 Oliver Hunt <oliver@apple.com>
3834 http://bugs.webkit.org/show_bug.cgi?id=14710
3836 Add preliminary support for testing Input Method/WebKit behaviour and interaction
3837 in DRT. This provides the NSTextInput API which is most of what should be necessary
3838 to mimic the event sequences Input Methods trigger.
3840 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3841 * DumpRenderTree/TextInputController.h:
3842 * DumpRenderTree/TextInputController.m:
3843 (-[WebHTMLView interpretKeyEvents:]):
3844 (+[TextInputController isSelectorExcludedFromWebScript:]):
3845 (+[TextInputController webScriptNameForSelector:]):
3846 (-[TextInputController initWithWebView:]):
3847 (-[TextInputController dealloc]):
3848 (-[TextInputController textInput]):
3849 (-[TextInputController setInputMethodHandler:]):
3850 (-[TextInputController interpretKeyEvents:withSender:]):
3852 2007-07-20 Adam Roben <aroben@apple.com>
3854 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
3855 message not count as an existing log.
3857 2007-07-19 Geoffrey Garen <ggaren@apple.com>
3859 Reviewed by Darin Adler.
3861 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
3862 value behavior of stringByEvaluatingJavaScriptFromString
3864 * DumpRenderTree/DumpRenderTree.m:
3865 (testStringByEvaluatingJavaScriptFromString):
3866 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3868 2007-07-19 Adam Roben <aroben@apple.com>
3870 Make commit-log-editor work with git
3874 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
3875 commit message template. Also removed the unused $breakPoint variable.
3877 2007-07-19 Adam Roben <aroben@apple.com>
3879 Move generally-useful VCS code into a new VCSUtils.pm module
3881 This is in preparation for making commit-log-editor git-friendly.
3885 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
3886 * Scripts/prepare-ChangeLog: Use VCSUtils.
3888 2007-07-19 Lars Knoll <lars@trolltech.com>
3890 Fix a crash on exit when running DRT against a current
3895 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3898 2007-07-18 Adam Roben <aroben@apple.com>
3900 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
3904 * Scripts/run-webkit-httpd:
3905 * Scripts/run-webkit-tests:
3907 2007-07-18 Adam Roben <aroben@apple.com>
3909 More git friendliness for prepare-ChangeLog
3911 The overall change is to remove the use of git-status and replace it
3912 with git-diff --name-status (which we were already using in the
3915 This lets us respect directories specified on the command line when
3916 using git, just as we do for Subversion. It also speeds things up a
3917 bit, especially in the subdirectory case, as git-status is pretty slow.
3919 I also fixed some issues where we wouldn't detect copied files and
3920 would reverse the new filename and the original filename for renamed files.
3924 * Scripts/prepare-ChangeLog:
3925 (sub diffFromToString): Added.
3926 (sub diffCommand): Don't append the paths in the --git-commit case, as
3927 we should be operating on the entire commit.
3928 (sub statusCommand): Always use git-diff --name-status, and added an
3929 extra -C option to git-diff to make it find a few more copied files.
3930 (sub createPatchCommand): Collapsed the two git cases a bit, and added
3931 the extra -C option as above.
3932 (sub generateFileList): Remove the git-status codepath, and recognize
3933 file copies in the --name-status output.
3934 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3936 (sub isConflictStatus): Updated the git dictionary.
3937 (sub statusDescription): Updated the git dictionary.
3939 2007-07-18 Timothy Hatcher <timothy@apple.com>
3941 * Scripts/build-drosera: Update where we look for the Xcode project.
3943 2007-07-18 Adam Treat <treat@kde.org>
3947 Use the old wording for Safari.
3949 * Scripts/build-webkit:
3950 * Scripts/webkitdirs.pm:
3952 2007-07-18 Adam Treat <treat@kde.org>
3956 Add convenience script for launching test apps for Qt and Gdk ports.
3957 Change the build-webkit script accordingly.
3959 * Scripts/build-webkit:
3960 * Scripts/run-launcher: Added.
3961 * Scripts/webkitdirs.pm:
3963 2007-07-18 Timothy Hatcher <timothy@apple.com>
3967 Make the Page with the now required InspectorClient.
3969 * GdkLauncher/main.cpp:
3972 2007-07-18 Timothy Hatcher <timothy@apple.com>
3974 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
3975 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
3977 * Drosera/Makefile: Added.
3978 * Drosera/mac/Makefile:
3979 * DumpRenderTree/Makefile:
3981 * Makefile.Drosera: Removed.
3982 * Makefile.shared: Removed.
3984 2007-07-18 Timothy Hatcher <timothy@apple.com>
3986 The console log was 20px down from the top for no reason, move it up.
3988 * Drosera/console.css:
3990 2007-07-18 Timothy Hatcher <timothy@apple.com>
3992 Use contentDocument to get the source view's iframe document.
3993 Also adds a null/undefined check for localVariableNames.
3995 * Drosera/debugger.js:
3997 2007-07-18 Lars Knoll <lars@trolltech.com>
3999 We really don't want to compare non text only tests to the
4000 Mac results if we don't have a result for Qt, as this would
4001 give a failure and not a notification that the test is new.
4005 * Scripts/run-webkit-tests:
4007 2007-07-18 Lars Knoll <lars@trolltech.com>
4009 Reviewed by Zack & Simon
4011 Adjust to changed API in QWebFrame
4013 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4014 (WebCore::DumpRenderTree::DumpRenderTree):
4016 2007-07-18 Mark Rowe <mrowe@apple.com>
4018 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
4020 * BuildSlaveSupport/build-launcher-app:
4022 2007-07-17 Geoffrey Garen <ggaren@apple.com>
4024 Reviewed by Antti Koivisto.
4026 Added watchdog timer to waitUntilDone to prevent a run-away test from
4027 hanging the test harness.
4029 * DumpRenderTree/DumpRenderTree.m:
4031 (-[LayoutTestController waitUntilDone]):
4032 (-[LayoutTestController waitUntilDoneWatchdogFired]):
4033 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4035 2007-07-17 Kevin McCullough <kmccullough@apple.com>
4039 - Implemented cross-platform code for functions calling into the JavaScript.
4041 * Drosera/DebuggerDocument.cpp:
4042 (DebuggerDocument::callAsFunction):
4043 (DebuggerDocument::pauseJS):
4044 (DebuggerDocument::resumeJS):
4045 (DebuggerDocument::stepIntoJS):
4046 (DebuggerDocument::stepOverJS):
4047 (DebuggerDocument::stepOutJS):
4048 (DebuggerDocument::showConsoleJS):
4049 (DebuggerDocument::closeCurrentFileJS):
4050 (DebuggerDocument::updateFileSource):
4051 (DebuggerDocument::didParseScript):
4052 (DebuggerDocument::willExecuteStatement):
4053 (DebuggerDocument::didEnterCallFrame):
4054 (DebuggerDocument::willLeaveCallFrame):
4055 (DebuggerDocument::exceptionWasRaised):
4056 * Drosera/DebuggerDocument.h:
4057 * Drosera/mac/DebuggerDocumentMac.mm:
4058 (-[DebuggerDocumentMac pause:]):
4059 (-[DebuggerDocumentMac resume:]):
4060 (-[DebuggerDocumentMac stepInto:]):
4061 (-[DebuggerDocumentMac stepOver:]):
4062 (-[DebuggerDocumentMac stepOut:]):
4063 (-[DebuggerDocumentMac showConsole:]):
4064 (-[DebuggerDocumentMac closeCurrentFile:]):
4065 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
4066 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
4067 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
4068 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
4069 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
4070 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
4072 2007-07-16 Kevin McCullough <kmccullough@apple.com>
4076 - Continued x-platform modifications.
4078 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
4079 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
4080 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
4081 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
4082 * Drosera/win/Drosera.cpp:
4083 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4084 * Drosera/win/stdafx.cpp: Removed.
4085 * Drosera/win/stdafx.h: Removed.
4087 2007-07-16 Kevin McCullough <kmccullough@apple.com>
4091 - Modified files to use cross-platform code.
4093 * Drosera/DebuggerDocument.cpp: Added.
4094 (DebuggerDocument::breakpointEditorHTML):
4095 (DebuggerDocument::isPaused):
4096 (DebuggerDocument::pause):
4097 (DebuggerDocument::resume):
4098 (DebuggerDocument::stepInto):
4099 (DebuggerDocument::evaluateScript):
4100 (DebuggerDocument::currentFunctionStack):
4101 (DebuggerDocument::localScopeVariableNamesForCallFrame):
4102 (DebuggerDocument::valueForScopeVariableNamed):
4103 * Drosera/DebuggerDocument.h: Added.
4104 (DebuggerDocument::DebuggerDocument):
4105 * Drosera/config.h: Added.
4106 * Drosera/mac/DebuggerApplication.mm:
4107 (-[DebuggerApplication attach:]):
4108 * Drosera/mac/DebuggerDocument.h: Removed.
4109 * Drosera/mac/DebuggerDocument.mm: Removed.
4110 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
4111 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
4112 (-[DebuggerDocumentMac initWithServerName:]):
4113 (-[DebuggerDocumentMac dealloc]):
4114 (-[DebuggerDocumentMac breakpointEditorHTML]):
4115 (-[DebuggerDocumentMac isPaused]):
4116 (-[DebuggerDocumentMac pause]):
4117 (-[DebuggerDocumentMac resume]):
4118 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
4119 * Drosera/win/DebuggerApplication.cpp:
4120 * Drosera/win/DebuggerObjectCallbacks.cpp:
4121 (breakpointEditorHTMLCallback):
4122 (currentFunctionStackCallback):
4123 (evaluateScript_inCallFrame_Callback):
4125 (localScopeVariableNamesForCallFrame_Callback):
4129 (valueForScopeVariableNamed_inCallFrame_Callback):
4131 * Drosera/win/Drosera.cpp:
4132 * Drosera/win/DroseraPrefix.cpp: Added.
4133 * Drosera/win/DroseraPrefix.h: Added.
4135 2007-07-16 Kevin McCullough <kmccullough@apple.com>
4137 Reviewed by Adam, Sam and Tim.
4139 - Moving files to prepare for cross-platform architecture.
4141 * Drosera/DebuggerApplication.h: Removed.
4142 * Drosera/DebuggerApplication.m: Removed.
4143 * Drosera/DebuggerDocument.h: Removed.
4144 * Drosera/DebuggerDocument.m: Removed.
4145 * Drosera/Drosera.pch: Removed.
4146 * Drosera/Drosera.xcodeproj: Removed.
4147 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
4148 * Drosera/Info.plist: Removed.
4149 * Drosera/LauncherInfo.plist: Removed.
4150 * Drosera/Makefile: Removed.
4151 * Drosera/launcher.m: Removed.
4152 * Drosera/mac: Added.
4153 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
4154 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
4155 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
4156 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
4157 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
4158 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
4159 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
4160 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
4161 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
4162 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
4163 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
4164 * Drosera/mac/main.m: Copied from Drosera/main.m.
4165 * Drosera/main.m: Removed.
4167 * Makefile.Drosera: Added.
4169 2007-07-15 Mark Rowe <mrowe@apple.com>
4171 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
4173 2007-07-13 Sam Weinig <sam@webkit.org>
4175 Reviewed by Geoff Garen.
4177 Add support for running SSL tests over HTTPS.
4179 * DumpRenderTree/DumpRenderTree.m:
4181 * DumpRenderTree/FrameLoadDelegate.m:
4182 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
4183 * Scripts/run-webkit-httpd:
4184 * Scripts/run-webkit-tests:
4186 2007-07-13 David Kilzer <ddkilzer@apple.com>