1 2007-10-19 Maciej Stachowiak <mjs@apple.com>
3 Rubber stamped by Adam.
5 - don't delay-load WebKit in DumpRenderTree.
7 * DumpRenderTree/win/DumpRenderTree.vcproj:
9 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
11 Reviewed by Adam Roben.
13 - fix <rdar://problem/5313523>
14 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
16 * DumpRenderTree/mac/DumpRenderTree.mm:
17 (dump): Changed to use _responseMIMEType.
19 2007-10-17 Adam Roben <aroben@apple.com>
21 Make it possible to have Windows-specific tests and results
23 When searching for tests to run and the Skipped file, we will only
24 look in platform/win and the cross-platform directory. When looking
25 for expected results, we will look in platform/win, then
26 platform/mac-leopard, then platform/mac, then finally the
27 cross-platform directory.
31 * Scripts/run-webkit-tests:
32 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
33 searching in the cross-platform directory.
34 (sub buildPlatformHierarchy): Removed some unneeded calls to
37 2007-10-17 Adam Roben <aroben@apple.com>
39 Add back the call to register WebKit that we had before WebKitInitializer existed
41 This is needed to ensure that the right WebKit is used when
42 instantiating COM objects.
46 * DumpRenderTree/win/debug_internal.vsprops: Define
47 DEBUG_WEBKIT_HAS_SUFFIX.
48 * DumpRenderTree/win/DumpRenderTree.cpp:
51 2007-10-17 Adam Roben <aroben@apple.com>
53 Import File::Basename in webkitdirs since we use it
57 * Scripts/webkitdirs.pm:
59 2007-10-17 Kevin McCullough <kmccullough@apple.com>
61 - Updated the tiger leaks list to make the internal bots green.
63 * Scripts/run-webkit-tests:
65 2007-10-17 Adam Roben <aroben@apple.com>
67 Build fix for VC++ Express
71 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
74 2007-10-16 Kevin McCullough <kmccullough@apple.com>
78 - Minor mac improvements based on observations I made while implementing the
81 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
82 then hand it to the Client who will retain it, it should just be the client who
83 creates and owns the server.
84 (-[DebuggerApplication attach:]):
85 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
86 * Drosera/mac/DebuggerClient.mm: Creates the server.
87 (-[DebuggerClient initWithServerName:]):
88 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
89 can instead forward declare what it needs.
91 2007-10-16 Darin Adler <darin@apple.com>
93 Reviewed by Geoff Garen.
95 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
96 want to turn failing tests into platform-specific test results. Also did a
97 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
98 would take the type of results into account only some of the time.
100 2007-10-16 Adam Roben <aroben@apple.com>
102 Add a new nightly launcher script for Windows
104 This new script is for versions of Safari that don't delay-load
105 WebKit. I had to make FindSafari be able to print out the nightly
106 launcher script on stdout because Windows shell scripts can't capture
107 the output from a command into an environment variable.
111 * FindSafari/FindSafari.cpp:
112 (_tmain): Added /printSafariLauncher option.
113 * Scripts/run-webkit-nightly.cmd: Added.
115 2007-10-16 Adam Roben <aroben@apple.com>
117 Replace WebKitInitializer with FindSafari
119 We now rely on setting the PATH environment variable to tell Windows
120 where to find WebKit and its dependencies (similar to
121 DYLD_FRAMEWORK_PATH on Mac).
123 This change also make DumpRenderTree no longer delay-load WebKit.
127 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
129 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
130 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
131 WebKitInitializer, don't delay-load WebKit.
132 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
133 * Scripts/run-webkit-tests: Ditto.
134 * Scripts/webkitdirs.pm:
135 (sub setPathForRunningWebKitApp): Added.
136 * WebKitInitializer/WebKitInitializer.cpp: Removed.
137 * WebKitInitializer/WebKitInitializer.h: Removed.
138 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
139 * WebKitInitializer/debug.vsprops: Removed.
140 * WebKitInitializer/debug_internal.vsprops: Removed.
141 * WebKitInitializer/release.vsprops: Removed.
143 2007-10-16 Adam Roben <aroben@apple.com>
145 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
147 http://bugs.webkit.org/show_bug.cgi?id=15532
149 FindSafari simply prints the location of an installed Safari.exe on
154 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
157 (getInstalledWebKitDirectory):
159 * FindSafari/FindSafari.vcproj: Added.
160 * Scripts/webkitdirs.pm:
161 (sub installedSafariPath): Added. Calls FindSafari on Windows.
163 2007-10-16 Adam Roben <aroben@apple.com>
165 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
167 Reviewed by Kevin McCullough.
169 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
170 when referring to WebKit.dll.
171 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
172 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
173 * DumpRenderTree/win/release.vsprops: Ditto.
174 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
175 never have a _debug suffix on WebKit.dll.
176 * WebKitInitializer/WebKitInitializer.cpp:
177 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
179 * WebKitInitializer/debug_internal.vsprops: Added
180 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
182 2007-10-16 Darin Adler <darin@apple.com>
186 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
187 Remove now-unneeded control/alt key hack; the tests have been updated.
189 2007-10-16 Kevin McCullough <kmccullough@apple.com>
191 - Updated leaks list because our internal bot upgraded it's version of leopard and
192 one of the leaks was fixed between that revision and the bot's previous version of
195 * Scripts/run-webkit-tests:
197 2007-10-15 Kevin McCullough <kmccullough@apple.com>
201 - I encapsulated out the server connecton functionality because it is a specific part
202 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
203 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
204 Windows. So the majority of this patch is moving preexisting functionality.
206 - Also I removed the prefix header and changed to use config.h because it is more
207 standard on how we use config.h in windows and it didn't make much sense to keep
208 the prefix header and the config.h
210 * Drosera/DebuggerDocument.cpp:
211 (DebuggerDocument::DebuggerDocument):
212 * Drosera/DebuggerDocument.h:
214 * Drosera/mac/DebuggerApplication.mm:
215 (-[DebuggerApplication attach:]):
216 * Drosera/mac/DebuggerClient.h:
217 * Drosera/mac/DebuggerClient.mm:
218 (-[DebuggerClient initWithServerConnection:]):
219 (-[DebuggerClient dealloc]):
220 (-[DebuggerClient windowDidLoad]):
221 (-[DebuggerClient windowWillClose:]):
222 (-[DebuggerClient webView:didFinishLoadForFrame:]):
223 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
224 * Drosera/mac/DebuggerDocumentPlatform.mm:
225 (DebuggerDocument::platformPause):
226 (DebuggerDocument::platformResume):
227 (DebuggerDocument::platformStepInto):
228 (DebuggerDocument::platformEvaluateScript):
229 (DebuggerDocument::getPlatformCurrentFunctionStack):
230 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
231 (DebuggerDocument::platformValueForScopeVariableNamed):
232 (DebuggerDocument::platformLog):
233 * Drosera/mac/Drosera.pch: Removed.
234 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
235 * Drosera/mac/ServerConnection.h: Added.
236 * Drosera/mac/ServerConnection.mm: Added.
237 (-[ServerConnection initWithServerName:]):
238 (-[ServerConnection dealloc]):
239 (-[ServerConnection setGlobalContext:]):
240 (-[ServerConnection pause]):
241 (-[ServerConnection resume]):
242 (-[ServerConnection stepInto]):
243 (-[ServerConnection switchToServerNamed:]):
244 (-[ServerConnection applicationTerminating:]):
245 (-[ServerConnection serverConnectionDidDie:]):
246 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
247 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
248 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
249 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
250 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
251 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
252 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
253 (-[ServerConnection currentFrame]):
254 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
255 (-[ServerConnection knownServers]):
257 2007-10-15 David Kilzer <ddkilzer@webkit.org>
261 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
262 Script to automatically search nightly builds for regressions (bisect-builds)
264 * Scripts/bisect-builds: Added.
266 2007-10-14 Maciej Stachowiak <mjs@apple.com>
270 - New JavaScript benchmark
271 http://bugs.webkit.org/show_bug.cgi?id=15515
273 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
274 current development or release build of JavaScriptCore.
276 2007-10-15 Mark Rowe <mrowe@apple.com>
280 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
282 * Scripts/webkitdirs.pm:
283 - Change checkArgv to remove the options from @ARGV to prevent
284 them from interfering with further option processing.
285 - Fix logic error in determineIsQt that would prevent it from bailing out early.
286 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
287 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
288 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
290 2007-10-15 Darin Adler <darin@apple.com>
294 - added logging of window.prompt and window.confirm
296 * DumpRenderTree/mac/UIDelegate.mm:
297 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
298 Implement the recommended delegate rather than the deprecated one.
299 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
301 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
304 * DumpRenderTree/win/UIDelegate.h:
305 * DumpRenderTree/win/UIDelegate.cpp:
306 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
307 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
308 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
309 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
311 2007-10-15 Alice Liu <alice.liu@apple.com>
313 Reviewed by Sam Weinig.
315 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
317 * DumpRenderTree/win/DumpRenderTree.cpp:
318 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
319 (main): allocate the global policy delegate for DRT's custom use
320 * DumpRenderTree/win/DumpRenderTree.vcproj:
321 Adding files to project
322 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
323 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
324 (LayoutTestController::setCustomPolicyDelegate):
325 set the webview's policy delegate to DRT's custom one if the test requests it.
326 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
327 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
328 (PolicyDelegate::PolicyDelegate):
329 (PolicyDelegate::QueryInterface):
330 (PolicyDelegate::AddRef):
331 (PolicyDelegate::Release):
332 (PolicyDelegate::decidePolicyForNavigationAction):
333 * DumpRenderTree/win/PolicyDelegate.h: Added.
334 (PolicyDelegate::decidePolicyForNewWindowAction):
335 (PolicyDelegate::decidePolicyForMIMEType):
336 (PolicyDelegate::unableToImplementPolicyWithError):
338 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
342 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
343 when querying for QMAKE_MKSPECS.
345 2007-10-14 Andrew Wellington <proton@wiretapped.net>
347 Reviewed by Adam Roben.
349 Fix run-webkit-tests is too greedy calculating platform hierarchy
350 http://bugs.webkit.org/show_bug.cgi?id=15465
352 Fix run-webkit-tests being too greedy in trying to split the platform name up
353 causing it to try and find tests in every directory above the first "-" in the
354 path to the LayoutTests
356 * Scripts/run-webkit-tests:
358 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
362 http://bugs.webkit.org/show_bug.cgi?id=15006
363 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
364 to reduce code duplication.
366 * Scripts/build-webkit:
367 * Scripts/webkitdirs.pm:
368 buildQMakeProject() renamed to buildQMakeQtProject().
369 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
370 unused $colorize has been removed.
372 === Start merge of feature-branch 2007-10-12 ===
374 2007-10-08 Eric Seidel <eric@webkit.org>
376 Reviewed by Mark Rowe.
378 * Scripts/build-webkit: add --help, remove unused --color
380 2007-10-07 Eric Seidel <eric@webkit.org>
384 * Drosera/mac/DebuggerDocumentPlatform.mm:
385 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
387 2007-10-03 Rob Buis <buis@kde.org>
391 Adapt to changed location of Ahem font.
393 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
395 2007-10-02 Eric Seidel <eric@webkit.org>
397 Reviewed by Adam Roben.
399 Make pixel tests more useful!
400 Finally fix the image diff 0.00% mystery problem
401 Highlight any image differences in the image diff.
402 Add a link from image diffs back to original test file.
404 * DumpRenderTree/mac/ImageDiff.m:
405 (compareImages): highlight any differences
406 (computePercentageDifferent): round to two decimal places
407 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
409 2007-10-02 Eric Seidel <eric@webkit.org>
411 Reviewed by Alexey Proskuryakov.
413 * Scripts/run-webkit-tests: print the % image difference on main results page
415 2007-10-02 Mark Rowe <mrowe@apple.com>
419 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
421 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
422 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
424 2007-10-01 Mark Rowe <mrowe@apple.com>
426 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
428 2007-09-25 Eric Seidel <eric@webkit.org>
430 Reviewed by Mark Rowe.
432 DerivedSources.make was finding "ENABLE_SVG" in the string
433 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
436 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
438 2007-09-25 Mark Rowe <mrowe@apple.com>
440 Rubber-stamped by Eric.
442 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
443 This makes it possible to automate nightly builds for the feature-branch.
445 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
447 Rubber stamped by Mark.
449 Enable svg experimental features as default here in feature-branch.
451 * Scripts/build-webkit:
453 2007-06-29 Antti Koivisto <antti@apple.com>
457 Add VIDEO flag for timed media features
459 * Scripts/build-webkit
461 === End merge of feature-branch 2007-10-12 ===
463 2007-10-11 Kevin McCullough <kmccullough@apple.com>
467 - Updated rational for the leaks list to be more clear.
469 * Scripts/run-webkit-tests:
471 2007-10-11 Kevin McCullough <kmccullough@apple.com>
475 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
476 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
478 * Scripts/run-webkit-tests:
480 2007-10-10 Simon Hausmann <hausmann@kde.org>
484 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
485 includes are needed for INT_MAX, std::auto_ptr and the like.
487 * DumpRenderTree/qt/main.cpp:
489 2007-10-09 Lars Knoll <lars@trolltech.com>
493 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
495 * DumpRenderTree/qt/jsobjects.cpp:
496 (LayoutTestController::encodeHostName):
497 (LayoutTestController::decodeHostName):
498 * DumpRenderTree/qt/jsobjects.h:
500 2007-10-09 Lars Knoll <lars@trolltech.com>
504 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.
506 * DumpRenderTree/qt/DumpRenderTree.cpp:
507 (WebCore::WebPage::createFrame):
508 (WebCore::DumpRenderTree::DumpRenderTree):
509 (WebCore::DumpRenderTree::titleChanged):
510 * DumpRenderTree/qt/DumpRenderTree.h:
511 * DumpRenderTree/qt/jsobjects.cpp:
512 (LayoutTestController::reset):
513 * DumpRenderTree/qt/jsobjects.h:
515 2007-10-09 Lars Knoll <lars@trolltech.com>
519 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
521 * DumpRenderTree/qt/DumpRenderTree.h:
522 * DumpRenderTree/qt/jsobjects.cpp:
523 (LayoutTestController::clearBackForwardList):
524 * DumpRenderTree/qt/jsobjects.h:
526 2007-10-09 Lars Knoll <lars@trolltech.com>
530 make --git-reviewer work again.
532 * Scripts/prepare-ChangeLog:
534 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
536 Rubber stamped by Eric.
538 Connect to the "hovering-over-link" signal emitted by WebKitPage and
539 show the current link inside the statusbar.
540 This shows how to make use of this signal and allows to easily test
541 http://bugs.webkit.org/show_bug.cgi?id=15299.
543 * GtkLauncher/main.cpp:
547 2007-10-05 Lars Knoll <lars@trolltech.com>
549 add proper error messages to the FrameLoaderClient.
550 Implement ChromeClientQt::closeWindowSoon and
551 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
552 Some fixes in DRT to make it work correctly with multiple windows.
556 * DumpRenderTree/qt/DumpRenderTree.cpp:
557 (WebCore::DumpRenderTree::DumpRenderTree):
558 (WebCore::DumpRenderTree::createWindow):
559 (WebCore::DumpRenderTree::windowCount):
560 * DumpRenderTree/qt/DumpRenderTree.h:
561 * DumpRenderTree/qt/jsobjects.cpp:
562 (LayoutTestController::maybeDump):
563 (LayoutTestController::windowCount):
564 * DumpRenderTree/qt/jsobjects.h:
566 2007-10-05 Lars Knoll <lars@trolltech.com>
568 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
569 Add support for layoutTextController.setCanOpenWindows() to DRT
570 fixing another 2 test cases in fast/dom/Window.
574 * DumpRenderTree/qt/DumpRenderTree.cpp:
575 (WebCore::WebPage::WebPage):
576 (WebCore::WebPage::createWindow):
577 (WebCore::DumpRenderTree::resetJSObjects):
578 (WebCore::DumpRenderTree::createWindow):
579 * DumpRenderTree/qt/DumpRenderTree.h:
580 * DumpRenderTree/qt/DumpRenderTree.pro:
581 * DumpRenderTree/qt/jsobjects.cpp:
582 (LayoutTestController::LayoutTestController):
583 (LayoutTestController::reset):
584 * DumpRenderTree/qt/jsobjects.h:
585 * DumpRenderTree/qt/main.cpp:
586 * DumpRenderTree/qt/testplugin.cpp: Added.
587 * DumpRenderTree/qt/testplugin.h: Added.
589 2007-10-04 Sam Weinig <sam@webkit.org>
591 Rubber stamped by Adam.
593 Remove empty directories.
595 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
596 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
598 2007-10-03 Darin Adler <darin@apple.com>
602 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
603 we find the internal libraries in the libraries directory. This
604 is helpful for Safari team engineers at Apple.
606 2007-10-03 Adam Roben <aroben@apple.com>
608 Update the location of AHEM___.TTF after r25968
612 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
614 2007-10-03 Alp Toker <alp@atoker.com>
618 http://bugs.webkit.org/show_bug.cgi?id=14726
619 [gtk] API design. Mapping the WebView delegates to signals.
621 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
623 * GtkLauncher/main.cpp:
627 (menuMainBackCallback):
628 (menuMainForwardCallback):
631 2007-10-03 Lars Knoll <lars@trolltech.com>
635 This fixes --strict mode in run-webkit-tests again after
636 the platform dependent test results have been moved.
638 * Scripts/run-webkit-tests:
640 2007-10-03 Lars Knoll <lars@trolltech.com>
644 remove the hack in run-webkit-tests that forced text only test
645 to be taken from the platform independent dir. It was only left
646 there from early days.
648 Remove platform dependent results for tests that are text only nowadays,
649 and add one platform dependent result for a text only test that requires it.
651 * Scripts/run-webkit-tests:
653 2007-10-03 Lars Knoll <lars@trolltech.com>
657 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
659 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
660 (WebCore::WebFrame::WebFrame):
661 (WebCore::WebPage::WebPage):
662 (WebCore::WebPage::createFrame):
663 (WebCore::WebPage::javaScriptAlert):
664 (WebCore::WebPage::javaScriptConsoleMessage):
665 (WebCore::DumpRenderTree::DumpRenderTree):
666 (WebCore::DumpRenderTree::~DumpRenderTree):
667 (WebCore::DumpRenderTree::open):
668 (WebCore::DumpRenderTree::readStdin):
669 (WebCore::DumpRenderTree::resetJSObjects):
670 (WebCore::DumpRenderTree::initJSObjects):
671 (WebCore::DumpRenderTree::dumpFramesAsText):
672 (WebCore::DumpRenderTree::dump):
673 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
674 (WebCore::DumpRenderTree::layoutTestController):
675 (WebCore::DumpRenderTree::eventSender):
676 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
677 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
678 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
679 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
680 (HackWebFrame::mousePressEvent):
681 (HackWebFrame::mouseReleaseEvent):
682 (HackWebFrame::mouseMoveEvent):
683 (HackWebFrame::HackWebFrame):
684 (HackWebFrame::~HackWebFrame):
685 (LayoutTestController::LayoutTestController):
686 (LayoutTestController::reset):
687 (LayoutTestController::maybeDump):
688 (LayoutTestController::waitUntilDone):
689 (LayoutTestController::notifyDone):
690 (LayoutTestController::dumpEditingCallbacks):
691 (LayoutTestController::queueReload):
692 (LayoutTestController::provisionalLoad):
693 (LayoutTestController::timerEvent):
694 (EventSender::EventSender):
695 (EventSender::mouseDown):
696 (EventSender::mouseUp):
697 (EventSender::mouseMoveTo):
698 (EventSender::leapForward):
699 (EventSender::keyDown):
700 (EventSender::frameUnderMouse):
701 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
702 (LayoutTestController::isLoading):
703 (LayoutTestController::setLoading):
704 (LayoutTestController::shouldDumpAsText):
705 (LayoutTestController::shouldDumpChildrenAsText):
706 (LayoutTestController::shouldWaitUntilDone):
707 (LayoutTestController::dumpAsText):
708 (LayoutTestController::dumpChildFramesAsText):
709 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
713 * Scripts/run-webkit-tests:
715 2007-10-03 Mark Rowe <mrowe@apple.com>
717 Reviewed by Alp Toker.
719 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
720 should take precedence over QTDIR when determining which port we are working with.
722 * Scripts/webkitdirs.pm:
724 2007-10-02 Adam Roben <aroben@apple.com>
726 Add keychain to the list of default packages to install
728 Rubberstamped by Sam.
730 * CygwinDownloader/cygwin-downloader.py:
731 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
733 2007-10-02 David Kilzer <ddkilzer@webkit.org>
737 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
738 Also makes WebCore regression test case logic work when using git.
740 * Scripts/prepare-ChangeLog:
741 (reviewerAndDescriptionForGitCommit): Added.
743 2007-10-02 Lars Knoll <lars@trolltech.com>
747 Add API to retrieve the frame name from QWebFrame.
748 Implement support for DRT::dumpChildrenAsText.
750 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
751 (WebCore::DumpRenderTree::dumpFramesAsText):
752 (WebCore::DumpRenderTree::dump):
753 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
754 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
755 (LayoutTestController::LayoutTestController):
756 (LayoutTestController::reset):
757 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
759 2007-10-02 Lars Knoll <lars@trolltech.com>
763 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
765 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
766 (WebCore::DumpRenderTree::readStdin):
768 2007-10-02 Mark Rowe <mrowe@apple.com>
772 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
774 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
775 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
777 2007-10-02 Mark Rowe <mrowe@apple.com>
779 Rubber-stamped by Maciej.
781 Configuration changes from build.webkit.org. The major change is refactoring to work
782 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
785 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
786 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
787 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
788 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
789 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
790 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
791 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
792 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
794 2007-10-02 Lars Knoll <lars@trolltech.com>
798 Add support for eventSender.mouseMove to DRT.
799 Fixes fast/css/hover-affects-child.html
801 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
802 (EventSender::mouseMoveTo):
804 2007-10-01 Mark Rowe <mrowe@apple.com>
806 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
808 2007-10-01 David Kilzer <ddkilzer@webkit.org>
812 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
815 (gitdiff2svndiff): Ignore lines beginning with "new file".
816 * Scripts/svn-unapply:
817 (gitdiff2svndiff): Ditto.
819 2007-09-30 George Staikos <staikos@kde.org>
821 Qt build fix (Mac OS X specific)
823 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
825 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
829 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
830 Remove Bakefiles from svn.
832 * GtkLauncher/Bakefiles.bkgen: Removed.
833 * GtkLauncher/ENV: Removed.
834 * GtkLauncher/gdklauncher.bkl: Removed.
835 * GtkLauncher/mk: Removed.
836 * Scripts/regenerate-makefiles: Removed.
838 2007-09-25 Kevin McCullough <kmccullough@apple.com>
842 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
844 * Scripts/run-webkit-tests:
846 2007-09-26 Adam Roben <aroben@apple.com>
848 Make not finding an installed WebKit non-fatal
850 What really matters is that we are able to load WebKit and its
851 dependencies, not whether we think we've found an installed WebKit.
855 * WebKitInitializer/WebKitInitializer.cpp:
856 (getWebViewCLSID): Use new LOG_WARNING macro.
857 (getInstalledWebKitDirectory): Ditto.
858 (initializeWebKit): Don't die if we didn't find an installed WebKit,
860 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
862 2007-09-26 Adam Roben <aroben@apple.com>
864 Committed this file before saving it
866 * WebKitInitializer/debug_internal.vsprops:
868 2007-09-26 Adam Roben <aroben@apple.com>
870 Load WebKit and its dependencies manually so they come from DllDirectory
872 I had to change WebKitInitializer to use malloc/free instead of
873 new/delete to avoid pulling in WebKit (and its dependencies) early
874 through use of fastMalloc.
878 * WebKitInitializer/WebKitInitializer.cpp:
879 (getStringValue): Changed to use malloc/free.
880 (getInstalledWebKitDirectory): Ditto.
881 (initializeWebKit): Call SetDllDirectory first, then load all of
882 WebKit's dependencies manually, finally followed by WebKit itself.
883 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
884 configuration to match our other projects.
885 * WebKitInitializer/debug_internal.vsprops: Added.
887 2007-09-25 Adam Roben <aroben@apple.com>
889 Actually define DEBUG/NDEBUG so that we load WebKit correctly
891 Rubberstamped by Sam.
893 * WebKitInitializer/WebKitInitializer.vcproj:
895 2007-09-25 Adam Roben <aroben@apple.com>
897 Make DumpRenderTree delay-load its dependencies
899 This lets WebKitInitializer re-route the dependencies to be loaded out
900 of the Safari installation directory.
902 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
903 same thing), since we can't import the kCFAllocatorDefault symbol when
904 delay-loading CoreFoundation.dll.
906 Rubberstamped by Sam.
908 * DumpRenderTree/win/DumpRenderTree.cpp:
911 * DumpRenderTree/win/DumpRenderTree.vcproj:
912 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
913 (LayoutTestController::setWaitToDump):
915 2007-09-25 Adam Roben <aroben@apple.com>
917 Pull ole32.lib into WebKitInitializer
919 Rubberstamped by Sam.
921 * WebKitInitializer/WebKitInitializer.vcproj:
923 2007-09-25 David Kilzer <ddkilzer@webkit.org>
927 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
928 LGPL'ed files contain incorrect FSF address
932 2007-09-25 David Kilzer <ddkilzer@webkit.org>
936 Make svn-apply and svn-unapply work with git-diff formatted patches.
938 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
939 (gitdiff2svndiff): Added.
940 * Scripts/svn-unapply: Ditto.
941 (gitdiff2svndiff): Added.
943 2007-09-25 Adam Roben <aroben@apple.com>
945 Pull advapi32.lib into WebKitInitializer
947 This is needed to get the registry functions we use.
949 Rubberstamped by Sam.
951 * WebKitInitializer/WebKitInitializer.vcproj:
953 2007-09-25 Adam Roben <aroben@apple.com>
955 Add python and rsync to cygwin-downloader
957 Our build slaves need this, and it can't hurt for everyone else to
962 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
963 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
965 2007-09-25 Adam Roben <aroben@apple.com>
967 Add WebKitInitializer and use it in DumpRenderTree
969 WebKitInitializer is a static library that has one function,
970 initializeWebKit(). This registers WebKit and sets up the DLL search
971 path so that WebKit's dependencies that are installed with Safari can
976 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
977 DumpRenderTree depend on it.
978 * DumpRenderTree/win/DumpRenderTree.cpp:
979 (initialize): Call initializeWebKit.
980 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
981 WebKitInitializer.lib.
982 * WebKitInitializer/WebKitInitializer.cpp: Added.
985 (getInstalledWebKitDirectory):
987 * WebKitInitializer/WebKitInitializer.h: Added.
988 * WebKitInitializer/WebKitInitializer.vcproj: Added.
989 * WebKitInitializer/debug.vsprops: Added.
990 * WebKitInitializer/release.vsprops: Added.
992 2007-09-25 Adam Roben <aroben@apple.com>
994 Make run-webkit-tests respect set-webkit-configuration
998 * Scripts/run-webkit-tests: Initialize $configuration to whatever
999 set-webkit-configuration was last set to.
1001 2007-09-25 Mark Rowe <mrowe@apple.com>
1003 Rubber-stamped by Eric.
1005 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1006 This makes it possible to automate nightly builds for the feature-branch.
1008 2007-09-25 Adam Roben <aroben@apple.com>
1010 A couple of fixes/enhancements to update-webkit-*-libs
1012 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1013 to tell update-webkit-support-libraries where it should find the
1014 WebKitSupportLibrary.zip file you downloaded.
1016 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1021 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1022 to $auxiliaryLibsURL and removed an irrelevant comment.
1023 * Scripts/update-webkit-support-libs:
1025 2007-09-25 Adam Treat <treat@kde.org>
1027 Reviewed by Simon and Lars.
1029 Refactors and cleans up Qt DRT member variable names, member variable
1030 initialization, style fixes and general code cleanup.
1032 Adds queueReload slot to LayoutTestController that some tests require.
1034 Subclasses QWebFrame to make sure that all frames have an associated
1035 LayoutTestController JS window object.
1037 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1038 aren't dumped twice.
1042 Together, this patch fixes some 20+ layout tests in QtWebKit.
1044 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1045 (WebCore::WebFrame::WebFrame):
1046 (WebCore::WebPage::WebPage):
1047 (WebCore::WebPage::createFrame):
1048 (WebCore::DumpRenderTree::DumpRenderTree):
1049 (WebCore::DumpRenderTree::open):
1050 (WebCore::DumpRenderTree::readStdin):
1051 (WebCore::DumpRenderTree::initJSObjects):
1052 (WebCore::DumpRenderTree::dump):
1053 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1054 (WebCore::DumpRenderTree::layoutTestController):
1055 (WebCore::DumpRenderTree::eventSender):
1056 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1057 (LayoutTestController::LayoutTestController):
1058 (LayoutTestController::reset):
1059 (LayoutTestController::maybeDump):
1060 (LayoutTestController::waitUntilDone):
1061 (LayoutTestController::notifyDone):
1062 (LayoutTestController::queueReload):
1063 (LayoutTestController::provisionalLoad):
1064 (EventSender::EventSender):
1065 (EventSender::mouseDown):
1066 (EventSender::mouseUp):
1067 (EventSender::mouseMoveTo):
1068 (EventSender::frameUnderMouse):
1069 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1070 (LayoutTestController::isLoading):
1071 (LayoutTestController::setLoading):
1072 (LayoutTestController::dumpAsText):
1073 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1076 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1079 - Reverted an accidentally checked in file.
1081 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1083 2007-09-24 Kevin McCullough <kmccullough@apple.com>
1086 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1088 * DumpRenderTree/win/DumpRenderTree.vcproj:
1089 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1091 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
1093 Rubber stamped by Adam.
1095 * GdkLauncher: Removed.
1096 * GdkLauncher/Bakefiles.bkgen: Removed.
1097 * GdkLauncher/ENV: Removed.
1098 * GdkLauncher/GdkLauncher.pro: Removed.
1099 * GdkLauncher/gdklauncher.bkl: Removed.
1100 * GdkLauncher/main.cpp: Removed.
1101 * GdkLauncher/mk: Removed.
1102 * GdkLauncher/simple.svg: Removed.
1103 * GdkLauncher/text.html: Removed.
1104 * GtkLauncher: Added.
1105 * GtkLauncher/GdkLauncher.pro: Removed.
1106 * GtkLauncher/GtkLauncher.pro: Added.
1107 * GtkLauncher/main.cpp:
1108 (updateWindowTitle):
1110 * Scripts/build-webkit:
1111 * Scripts/regenerate-makefiles:
1112 * Scripts/run-javascriptcore-tests:
1113 * Scripts/run-launcher:
1114 * Scripts/run-webkit-tests:
1115 * Scripts/webkitdirs.pm:
1117 2007-09-21 Timothy Hatcher <timothy@apple.com>
1121 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1123 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1124 This is tested by plugins/root-object-premature-delete-crash.html.
1126 * DumpRenderTree/mac/ObjCController.m:
1127 (-[ObjCController accessStoredWebScriptObject]):
1129 2007-09-21 Kevin McCullough <kmccullough@apple.com>
1133 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1135 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1136 (FrameLoadDelegate::FrameLoadDelegate):
1138 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
1142 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1143 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1145 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1146 Now isQt() and isGdk() use global variables that are only set once.
1148 An array of all the parameters is now given to build-dumprender which includes
1149 the platform on linux.
1151 * Scripts/build-dumprendertree:
1152 * Scripts/run-webkit-tests:
1153 * Scripts/webkitdirs.pm:
1155 2007-09-19 Adam Roben <aroben@apple.com>
1157 Rubberstamped by Hyatt.
1159 * Spinneret: Removed.
1161 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
1163 Reviewed by David Kilzer.
1165 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1167 2007-09-18 Sam Weinig <sam@webkit.org>
1169 Add JSRetainPtr.h #include to fix some builds.
1171 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1173 2007-09-18 Mike Hommey <glandium@debian.org>
1177 * Scripts/prepare-ChangeLog:
1178 - Properly parse GECOS field.
1179 - Use git configuration for user name and email when appropriate.
1181 2007-09-17 Sam Weinig <sam@webkit.org>
1185 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1187 2007-09-17 Sam Weinig <sam@webkit.org>
1189 Reviewed by Adam Roben.
1191 Share more code between mac and windows DRT.
1192 - GCController is now shared.
1193 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
1195 * DumpRenderTree/GCController.cpp:
1196 * DumpRenderTree/win/DumpRenderTree.cpp:
1197 * DumpRenderTree/win/DumpRenderTree.vcproj:
1198 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
1199 (FrameLoadDelegate::FrameLoadDelegate):
1200 (FrameLoadDelegate::~FrameLoadDelegate):
1201 (FrameLoadDelegate::windowScriptObjectAvailable):
1202 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
1203 * DumpRenderTree/win/GCController.cpp: Removed.
1204 * DumpRenderTree/win/GCController.h: Removed.
1205 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
1206 (GCController::collect):
1207 (GCController::collectOnAlternateThread):
1208 (GCController::getJSObjectCount):
1209 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
1210 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
1212 2007-09-17 Sam Weinig <sam@webkit.org>
1214 Reviewed by Adam Roben.
1216 Begin sharing code between mac and windows DRT.
1217 - both now share LayoutTestController.h/cpp and implement platform dependant
1218 operations in LayoutTestControllerMac/Win.
1219 - DumpRenderTree.h is now shared.
1220 - WorkQueue and WorkQueueItem are also shared.
1222 * DumpRenderTree/DumpRenderTree.h:
1223 * DumpRenderTree/LayoutTestController.cpp:
1224 * DumpRenderTree/win/DumpRenderTree.cpp:
1226 (dumpFrameScrollPosition):
1230 * DumpRenderTree/win/DumpRenderTree.h: Removed.
1231 * DumpRenderTree/win/DumpRenderTree.vcproj:
1232 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
1233 * DumpRenderTree/win/EditingDelegate.cpp:
1234 (EditingDelegate::shouldBeginEditingInDOMRange):
1235 (EditingDelegate::shouldEndEditingInDOMRange):
1236 (EditingDelegate::shouldInsertNode):
1237 (EditingDelegate::shouldInsertText):
1238 (EditingDelegate::shouldDeleteDOMRange):
1239 (EditingDelegate::shouldChangeSelectedDOMRange):
1240 (EditingDelegate::shouldApplyStyle):
1241 (EditingDelegate::shouldChangeTypingStyle):
1242 (EditingDelegate::doPlatformCommand):
1243 (EditingDelegate::webViewDidBeginEditing):
1244 (EditingDelegate::webViewDidChange):
1245 (EditingDelegate::webViewDidEndEditing):
1246 (EditingDelegate::webViewDidChangeTypingStyle):
1247 (EditingDelegate::webViewDidChangeSelection):
1248 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
1249 * DumpRenderTree/win/LayoutTestController.h: Removed.
1250 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
1251 (LayoutTestController::addDisallowedURL):
1252 (LayoutTestController::clearBackForwardList):
1253 (LayoutTestController::copyDecodedHostName):
1254 (LayoutTestController::copyEncodedHostName):
1255 (LayoutTestController::display):
1256 (LayoutTestController::keepWebHistory):
1257 (LayoutTestController::notifyDone):
1258 (LayoutTestController::queueBackNavigation):
1259 (LayoutTestController::queueForwardNavigation):
1260 (jsStringRefToWString):
1261 (LayoutTestController::queueLoad):
1262 (LayoutTestController::queueReload):
1263 (LayoutTestController::queueScript):
1264 (LayoutTestController::setAcceptsEditing):
1265 (LayoutTestController::setCustomPolicyDelegate):
1266 (LayoutTestController::setMainFrameIsFirstResponder):
1267 (LayoutTestController::setTabKeyCyclesThroughElements):
1268 (LayoutTestController::setUseDashboardCompatibilityMode):
1269 (LayoutTestController::setUserStyleSheetEnabled):
1270 (LayoutTestController::setUserStyleSheetLocation):
1271 (LayoutTestController::setWindowIsKey):
1272 (waitUntilDoneWatchdogFired):
1273 (LayoutTestController::setWaitToDump):
1274 (LayoutTestController::windowCount):
1275 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
1276 (FrameLoadDelegate::didReceiveTitle):
1277 (FrameLoadDelegate::processWork):
1278 (FrameLoadDelegate::locationChangeDone):
1279 (FrameLoadDelegate::windowScriptObjectAvailable):
1280 * DumpRenderTree/win/WorkQueue.cpp: Removed.
1281 * DumpRenderTree/win/WorkQueue.h: Removed.
1282 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
1283 * DumpRenderTree/win/WorkQueueItem.h: Removed.
1284 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
1285 (jsStringRefToWString):
1287 (ScriptItem::invoke):
1289 2007-09-17 Sam Weinig <sam@webkit.org>
1291 Reviewed by Adam Roben.
1293 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
1295 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
1296 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
1297 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
1298 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
1299 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
1300 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
1301 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
1302 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
1303 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
1304 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
1305 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
1306 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
1307 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
1308 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
1309 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
1310 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
1311 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
1312 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
1313 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
1314 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
1315 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
1316 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
1317 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
1318 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
1319 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
1320 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
1321 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
1322 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
1323 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
1324 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
1325 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
1326 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
1327 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
1328 * DumpRenderTree/win: Added.
1329 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
1330 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
1331 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
1332 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
1333 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
1334 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
1335 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
1336 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
1337 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
1338 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
1339 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
1340 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
1341 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
1342 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1343 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
1344 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
1345 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
1346 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
1347 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1348 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1349 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
1350 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1351 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
1352 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
1353 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
1354 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
1356 2007-09-15 Mark Rowe <mrowe@apple.com>
1358 Build fix for DumpRenderTree.
1360 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
1362 2007-09-14 Sam Weinig <sam@webkit.org>
1364 Rubber stamped by Adam Roben.
1366 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
1367 - The UIDelegate was put into a new file while the FrameLoadDelegate was
1368 kept in the WaitUntilDoneDelegate file for the time being.
1370 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1372 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1373 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
1374 (UIDelegate::QueryInterface):
1375 (UIDelegate::AddRef):
1376 (UIDelegate::Release):
1377 (UIDelegate::hasCustomMenuImplementation):
1378 (UIDelegate::setFrame):
1379 (UIDelegate::webViewFrame):
1380 (UIDelegate::runJavaScriptAlertPanelWithMessage):
1381 (UIDelegate::webViewAddMessageToConsole):
1382 (UIDelegate::doDragDrop):
1383 (UIDelegate::webViewGetDlgCode):
1384 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
1385 (UIDelegate::UIDelegate):
1386 (UIDelegate::createWebViewWithRequest):
1387 (UIDelegate::webViewShow):
1388 (UIDelegate::webViewClose):
1389 (UIDelegate::webViewFocus):
1390 (UIDelegate::webViewUnfocus):
1391 (UIDelegate::webViewFirstResponder):
1392 (UIDelegate::makeFirstResponder):
1393 (UIDelegate::setStatusText):
1394 (UIDelegate::webViewStatusText):
1395 (UIDelegate::webViewAreToolbarsVisible):
1396 (UIDelegate::setToolbarsVisible):
1397 (UIDelegate::webViewIsStatusBarVisible):
1398 (UIDelegate::setStatusBarVisible):
1399 (UIDelegate::webViewIsResizable):
1400 (UIDelegate::setResizable):
1401 (UIDelegate::setContentRect):
1402 (UIDelegate::webViewContentRect):
1403 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1404 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1405 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
1406 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
1407 (UIDelegate::mouseDidMoveOverElement):
1408 (UIDelegate::contextMenuItemsForElement):
1409 (UIDelegate::validateUserInterfaceItem):
1410 (UIDelegate::shouldPerformAction):
1411 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
1412 (UIDelegate::willPerformDragDestinationAction):
1413 (UIDelegate::dragSourceActionMaskForPoint):
1414 (UIDelegate::willPerformDragSourceAction):
1415 (UIDelegate::contextMenuItemSelected):
1416 (UIDelegate::trackCustomPopupMenu):
1417 (UIDelegate::measureCustomMenuItem):
1418 (UIDelegate::drawCustomMenuItem):
1419 (UIDelegate::addCustomMenuDrawingData):
1420 (UIDelegate::cleanUpCustomMenuDrawingData):
1421 (UIDelegate::canTakeFocus):
1422 (UIDelegate::takeFocus):
1423 (UIDelegate::registerUndoWithTarget):
1424 (UIDelegate::removeAllActionsWithTarget):
1425 (UIDelegate::setActionTitle):
1428 (UIDelegate::canUndo):
1429 (UIDelegate::canRedo):
1430 (UIDelegate::webViewResizerRect):
1431 (UIDelegate::webViewDrawResizer):
1432 (UIDelegate::webViewScrolled):
1433 (UIDelegate::webViewShouldInterruptJavaScript):
1434 (UIDelegate::webViewReceivedFocus):
1435 (UIDelegate::webViewLostFocus):
1436 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
1437 (FrameLoadDelegate::QueryInterface):
1438 (FrameLoadDelegate::AddRef):
1439 (FrameLoadDelegate::Release):
1440 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1441 (FrameLoadDelegate::didCommitLoadForFrame):
1442 (FrameLoadDelegate::didReceiveTitle):
1443 (FrameLoadDelegate::processWork):
1445 (FrameLoadDelegate::locationChangeDone):
1446 (FrameLoadDelegate::didFinishLoadForFrame):
1447 (FrameLoadDelegate::didFailLoadWithError):
1448 (FrameLoadDelegate::windowScriptObjectAvailable):
1449 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
1450 (FrameLoadDelegate::FrameLoadDelegate):
1452 2007-09-14 Sam Weinig <sam@webkit.org>
1454 Reviewed by Kevin McCullough.
1456 Move mac specific globals in to mac/DumpRenderTreeMac.h
1458 * DumpRenderTree/DumpRenderTree.h:
1459 * DumpRenderTree/DumpRenderTree.mm: Removed.
1460 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1461 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
1462 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
1464 2007-09-14 Brady Eidson <beidson@apple.com>
1466 Rubberstamped by Weinig
1468 You know, Sam, some of us use case-sensitve filesystems...
1470 * DumpRenderTree/DumpRenderTree.h:
1471 * DumpRenderTree/mac/UIDelegate.mm:
1473 2007-09-14 Sam Weinig <sam@webkit.org>
1475 Rubber stamped by Adam Roben.
1477 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
1478 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
1480 * DumpRenderTree/AppleScriptController.h: Removed.
1481 * DumpRenderTree/AppleScriptController.m: Removed.
1482 * DumpRenderTree/DumpRenderTree.h:
1483 * DumpRenderTree/DumpRenderTree.mm:
1484 (startJavaScriptThreads):
1485 (stopJavaScriptThreads):
1487 (setDefaultColorProfileToRGB):
1488 (makeLargeMallocFailSilently):
1489 (dumpFrameScrollPosition):
1493 (-[DumpRenderTreeWindow isKeyWindow]):
1494 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1495 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
1496 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
1497 * DumpRenderTree/EditingDelegate.h: Removed.
1498 * DumpRenderTree/EditingDelegate.m: Removed.
1499 * DumpRenderTree/EventSendingController.h: Removed.
1500 * DumpRenderTree/EventSendingController.m: Removed.
1501 * DumpRenderTree/FrameLoadDelegate.h: Removed.
1502 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
1503 * DumpRenderTree/GCController.mm: Removed.
1504 * DumpRenderTree/ImageDiff.m: Removed.
1505 * DumpRenderTree/LayoutTestController.cpp:
1506 (LayoutTestController::LayoutTestController):
1507 (dumpAsTextCallback):
1508 (dumpBackForwardListCallback):
1509 (dumpChildFramesAsTextCallback):
1510 (dumpChildFrameScrollPositionsCallback):
1511 (dumpDOMAsWebArchiveCallback):
1512 (dumpEditingCallbacksCallback):
1513 (dumpFrameLoadCallbacksCallback):
1514 (dumpResourceLoadCallbacksCallback):
1515 (dumpSelectionRectCallback):
1516 (dumpSourceAsWebArchiveCallback):
1517 (dumpTitleChangesCallback):
1518 (repaintSweepHorizontallyCallback):
1519 (setCallCloseOnWebViewsCallback):
1520 (setCanOpenWindowsCallback):
1521 (setCloseRemainingWindowsWhenCompleteCallback):
1522 (testRepaintCallback):
1523 (addFileToPasteboardOnDragCallback):
1524 (waitUntilDoneCallback):
1525 * DumpRenderTree/LayoutTestController.h:
1526 (LayoutTestController::dumpAsText):
1527 (LayoutTestController::setDumpAsText):
1528 (LayoutTestController::dumpBackForwardList):
1529 (LayoutTestController::setDumpBackForwardList):
1530 (LayoutTestController::dumpChildFrameScrollPositions):
1531 (LayoutTestController::setDumpChildFrameScrollPositions):
1532 (LayoutTestController::dumpChildFramesAsText):
1533 (LayoutTestController::setDumpChildFramesAsText):
1534 (LayoutTestController::dumpDOMAsWebArchive):
1535 (LayoutTestController::setDumpDOMAsWebArchive):
1536 (LayoutTestController::dumpSelectionRect):
1537 (LayoutTestController::setDumpSelectionRect):
1538 (LayoutTestController::dumpSourceAsWebArchive):
1539 (LayoutTestController::setDumpSourceAsWebArchive):
1540 (LayoutTestController::dumpTitleChanges):
1541 (LayoutTestController::setDumpTitleChanges):
1542 (LayoutTestController::dumpEditingCallbacks):
1543 (LayoutTestController::setDumpEditingCallbacks):
1544 (LayoutTestController::dumpResourceLoadCallbacks):
1545 (LayoutTestController::setDumpResourceLoadCallbacks):
1546 (LayoutTestController::dumpFrameLoadCallbacks):
1547 (LayoutTestController::setDumpFrameLoadCallbacks):
1548 (LayoutTestController::addFileToPasteboardOnDrag):
1549 (LayoutTestController::setAddFileToPasteboardOnDrag):
1550 (LayoutTestController::callCloseOnWebViews):
1551 (LayoutTestController::setCallCloseOnWebViews):
1552 (LayoutTestController::canOpenWindows):
1553 (LayoutTestController::setCanOpenWindows):
1554 (LayoutTestController::closeRemainingWindowsWhenComplete):
1555 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1556 (LayoutTestController::testRepaint):
1557 (LayoutTestController::setTestRepaint):
1558 (LayoutTestController::testRepaintSweepHorizontally):
1559 (LayoutTestController::setTestRepaintSweepHorizontally):
1560 (LayoutTestController::waitToDump):
1561 (LayoutTestController::windowIsKey):
1562 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
1563 * DumpRenderTree/NavigationController.h: Removed.
1564 * DumpRenderTree/NavigationController.m: Removed.
1565 * DumpRenderTree/ObjCController.h: Removed.
1566 * DumpRenderTree/ObjCController.m: Removed.
1567 * DumpRenderTree/ObjCPlugin.h: Removed.
1568 * DumpRenderTree/ObjCPlugin.m: Removed.
1569 * DumpRenderTree/ObjCPluginFunction.h: Removed.
1570 * DumpRenderTree/ObjCPluginFunction.m: Removed.
1571 * DumpRenderTree/PolicyDelegate.h: Removed.
1572 * DumpRenderTree/PolicyDelegate.m: Removed.
1573 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
1574 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
1575 * DumpRenderTree/TextInputController.h: Removed.
1576 * DumpRenderTree/TextInputController.m: Removed.
1577 * DumpRenderTree/UIDelegate.h: Removed.
1578 * DumpRenderTree/UIDelegate.mm: Removed.
1579 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
1580 * DumpRenderTree/mac: Added.
1581 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
1582 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
1583 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
1584 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
1585 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
1586 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
1587 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1588 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1589 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1590 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1591 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1592 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1593 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1594 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1595 (-[EditingDelegate webViewDidBeginEditing:]):
1596 (-[EditingDelegate webViewDidChange:]):
1597 (-[EditingDelegate webViewDidEndEditing:]):
1598 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1599 (-[EditingDelegate webViewDidChangeSelection:]):
1600 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
1601 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
1602 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
1603 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
1604 (-[FrameLoadDelegate init]):
1605 (-[FrameLoadDelegate dealloc]):
1606 (-[FrameLoadDelegate processWork:]):
1607 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1608 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1609 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1610 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1611 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1612 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1613 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1614 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1615 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1616 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1617 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1618 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1619 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1620 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1621 (-[FrameLoadDelegate webView:willCloseFrame:]):
1622 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1623 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1624 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
1625 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
1626 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
1627 (LayoutTestController::notifyDone):
1628 (LayoutTestController::setWindowIsKey):
1629 (LayoutTestController::setWaitToDump):
1630 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
1631 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
1632 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
1633 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
1634 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
1635 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
1636 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
1637 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
1638 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
1639 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
1640 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
1641 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
1642 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1643 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1644 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1645 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1646 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1647 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1648 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
1649 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
1650 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
1651 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
1652 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1653 (-[UIDelegate webViewFocus:]):
1654 (-[UIDelegate webView:createWebViewWithRequest:]):
1655 (-[UIDelegate webViewClose:]):
1656 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
1658 2007-09-14 Kevin McCullough <kmccullough@apple.com>
1662 - Changing Win version of Drosera work with recent changes.
1664 * Drosera/DebuggerDocument.cpp:
1665 * Drosera/DebuggerDocument.h:
1666 * Drosera/mac/DebuggerDocumentPlatform.mm:
1667 (NSStringCreateWithJSStringRef):
1668 (JSValueRefCreateWithNSString):
1669 * Drosera/win/DebuggerClient.cpp:
1670 (DebuggerClient::stepInto):
1671 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1673 2007-09-13 Kevin McCullough <kmccullough@apple.com>
1677 - Moved isPaused into the JS for efficiency and simplicity.
1679 * Drosera/DebuggerDocument.cpp:
1680 (DebuggerDocument::DebuggerDocument):
1681 (DebuggerDocument::pauseCallback):
1682 (DebuggerDocument::resumeCallback):
1683 (DebuggerDocument::isPaused):
1684 (DebuggerDocument::staticFunctions):
1685 * Drosera/DebuggerDocument.h:
1686 * Drosera/console.js:
1687 * Drosera/debugger.js:
1688 * Drosera/mac/DebuggerClient.mm:
1689 (-[DebuggerClient validateUserInterfaceItem:]):
1691 2007-09-13 Sam Weinig <sam@webkit.org>
1693 Rubber stamped by Darin.
1695 Make DumpRenderTree more cross platform ready.
1696 - Convert GCController to use the JSCore API instead of the WebScriptObject.
1697 - Use CF types instead of NS objects.
1700 * DumpRenderTree/DumpRenderTree.h:
1701 * DumpRenderTree/DumpRenderTree.mm:
1705 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1706 * DumpRenderTree/EditingDelegate.m:
1707 * DumpRenderTree/FrameLoadDelegate.h:
1708 * DumpRenderTree/FrameLoadDelegate.mm:
1709 (-[FrameLoadDelegate init]):
1710 (-[FrameLoadDelegate dealloc]):
1711 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1712 * DumpRenderTree/GCController.cpp: Added.
1713 (GCController::GCController):
1714 (GCController::~GCController):
1716 (collectOnAlternateThreadCallback):
1717 (getJSObjectCountCallback):
1718 (GCController::makeWindowObject):
1719 (GCController::getJSClass):
1720 (GCController::staticFunctions):
1721 * DumpRenderTree/GCController.h:
1722 * DumpRenderTree/GCController.mm:
1723 (GCController::collect):
1724 (GCController::collectOnAlternateThread):
1725 (GCController::getJSObjectCount):
1726 * DumpRenderTree/LayoutTestController.cpp:
1727 (LayoutTestController::makeWindowObject):
1728 (LayoutTestController::getJSClass):
1729 * DumpRenderTree/LayoutTestController.h:
1730 * DumpRenderTree/LayoutTestControllerMac.mm:
1731 (LayoutTestController::addDisallowedURL):
1732 (waitUntilDoneWatchdogFired):
1733 (LayoutTestController::waitUntilDone):
1734 * DumpRenderTree/ResourceLoadDelegate.m:
1735 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1737 2007-09-12 Sam Weinig <sam@webkit.org>
1739 Reviewed by Stephanie.
1741 Fix leaks in mac DumpRenderTree.
1743 * DumpRenderTree/FrameLoadDelegate.mm:
1744 (-[FrameLoadDelegate init]): Initalize in the correct order.
1745 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
1746 * DumpRenderTree/LayoutTestController.cpp:
1747 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
1748 (encodeHostNameCallback): ditto.
1749 * DumpRenderTree/LayoutTestController.h:
1750 * DumpRenderTree/LayoutTestControllerMac.mm:
1751 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
1752 (LayoutTestController::copyEncodedHostName): ditto
1753 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
1755 2007-09-12 Kevin McCullough <kmccullough@apple.com>
1759 - 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.
1761 * Scripts/run-webkit-tests:
1763 2007-09-12 Kevin McCullough <kmccullough@apple.com>
1767 - Simplified code paths and extracted out functions to increase encapsulation.
1769 * Drosera/DebuggerDocument.cpp:
1770 (DebuggerDocument::breakpointEditorHTMLCallback):
1771 (DebuggerDocument::isPausedCallback):
1772 (DebuggerDocument::pauseCallback):
1773 (DebuggerDocument::resumeCallback):
1774 (DebuggerDocument::stepIntoCallback):
1775 (DebuggerDocument::evaluateScriptCallback):
1776 (DebuggerDocument::currentFunctionStackCallback):
1777 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
1778 (DebuggerDocument::valueForScopeVariableNamedCallback):
1779 (DebuggerDocument::logCallback):
1780 * Drosera/DebuggerDocument.h:
1781 (DebuggerDocument::getPaused):
1782 * Drosera/mac/DebuggerClient.mm:
1783 (-[DebuggerClient pause:]):
1784 (-[DebuggerClient resume:]):
1785 (-[DebuggerClient stepInto:]):
1786 (-[DebuggerClient stepOver:]):
1787 (-[DebuggerClient stepOut:]):
1788 (-[DebuggerClient showConsole:]):
1789 (-[DebuggerClient closeCurrentFile:]):
1790 (-[DebuggerClient validateUserInterfaceItem:]):
1791 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
1792 (+[NSString stringOrNilFromWebScriptResult:]):
1793 (DebuggerDocument::platformPause):
1794 (DebuggerDocument::platformResume):
1795 (DebuggerDocument::platformStepInto):
1796 (DebuggerDocument::platformEvaluateScript):
1797 (DebuggerDocument::getPlatformCurrentFunctionStack):
1798 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1799 (DebuggerDocument::platformValueForScopeVariableNamed):
1800 (DebuggerDocument::platformLog):
1801 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1803 2007-09-12 Sam Weinig <sam@webkit.org>
1805 Build fix for Buildbot.
1807 * DumpRenderTree/DumpRenderTree.mm:
1810 2007-09-12 Kevin McCullough <kmccullough@apple.com>
1814 - Updated the leaks list for leopard to help identify regressions.
1816 * Scripts/run-webkit-tests:
1818 2007-09-12 Sam Weinig <sam@webkit.org>
1820 Rubber stamped by Darin.
1822 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
1824 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
1825 * DumpRenderTree/DumpRenderTree.m: Removed.
1826 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
1827 (stopJavaScriptThreads): Fix initialization.
1828 (setDefaultColorProfileToRGB): Add explicit cast from void*.
1829 (dumpRenderTree): Ditto.
1831 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
1833 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1834 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
1835 * DumpRenderTree/FrameLoadDelegate.m: Removed.
1836 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
1837 (-[FrameLoadDelegate init]):
1838 (-[FrameLoadDelegate dealloc]):
1839 (-[FrameLoadDelegate processWork:]):
1840 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1841 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1842 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
1844 * DumpRenderTree/LayoutTestController.cpp: Added.
1845 (LayoutTestController::LayoutTestController):
1846 (LayoutTestController::~LayoutTestController):
1847 (dumpAsTextCallback):
1848 (dumpBackForwardListCallback):
1849 (dumpChildFramesAsTextCallback):
1850 (dumpChildFrameScrollPositionsCallback):
1851 (dumpDOMAsWebArchiveCallback):
1852 (dumpEditingCallbacksCallback):
1853 (dumpFrameLoadCallbacksCallback):
1854 (dumpResourceLoadCallbacksCallback):
1855 (dumpSelectionRectCallback):
1856 (dumpSourceAsWebArchiveCallback):
1857 (dumpTitleChangesCallback):
1858 (repaintSweepHorizontallyCallback):
1859 (setCallCloseOnWebViewsCallback):
1860 (setCanOpenWindowsCallback):
1861 (setCloseRemainingWindowsWhenCompleteCallback):
1862 (testRepaintCallback):
1863 (addFileToPasteboardOnDragCallback):
1864 (addDisallowedURLCallback):
1865 (clearBackForwardListCallback):
1866 (decodeHostNameCallback):
1868 (encodeHostNameCallback):
1869 (keepWebHistoryCallback):
1870 (notifyDoneCallback):
1871 (queueBackNavigationCallback):
1872 (queueForwardNavigationCallback):
1873 (queueLoadCallback):
1874 (queueReloadCallback):
1875 (queueScriptCallback):
1876 (setAcceptsEditingCallback):
1877 (setCustomPolicyDelegateCallback):
1878 (setMainFrameIsFirstResponderCallback):
1879 (setTabKeyCyclesThroughElementsCallback):
1880 (setUseDashboardCompatibilityModeCallback):
1881 (setUserStyleSheetEnabledCallback):
1882 (setUserStyleSheetLocationCallback):
1883 (setWindowIsKeyCallback):
1884 (waitUntilDoneCallback):
1885 (windowCountCallback):
1886 (LayoutTestController::makeWindowObject):
1887 (LayoutTestController::getLayoutTestControllerJSClass):
1888 (LayoutTestController::staticFunctions):
1889 * DumpRenderTree/LayoutTestController.h: Replaced.
1890 * DumpRenderTree/LayoutTestController.m: Removed.
1891 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
1892 (LayoutTestController::dumpAsText):
1893 (LayoutTestController::dumpBackForwardList):
1894 (LayoutTestController::dumpChildFramesAsText):
1895 (LayoutTestController::dumpChildFrameScrollPositions):
1896 (LayoutTestController::dumpDOMAsWebArchive):
1897 (LayoutTestController::dumpEditingCallbacks):
1898 (LayoutTestController::dumpFrameLoadCallbacks):
1899 (LayoutTestController::dumpResourceLoadCallbacks):
1900 (LayoutTestController::dumpSelectionRect):
1901 (LayoutTestController::dumpSourceAsWebArchive):
1902 (LayoutTestController::dumpTitleChanges):
1903 (LayoutTestController::repaintSweepHorizontally):
1904 (LayoutTestController::setCallCloseOnWebViews):
1905 (LayoutTestController::setCanOpenWindows):
1906 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1907 (LayoutTestController::testRepaint):
1908 (LayoutTestController::addFileToPasteboardOnDrag):
1909 (LayoutTestController::addDisallowedURL):
1910 (LayoutTestController::clearBackForwardList):
1911 (LayoutTestController::decodeHostName):
1912 (LayoutTestController::encodeHostName):
1913 (LayoutTestController::display):
1914 (LayoutTestController::keepWebHistory):
1915 (LayoutTestController::notifyDone):
1916 (LayoutTestController::queueBackNavigation):
1917 (LayoutTestController::queueForwardNavigation):
1918 (LayoutTestController::queueLoad):
1919 (LayoutTestController::queueReload):
1920 (LayoutTestController::queueScript):
1921 (LayoutTestController::setAcceptsEditing):
1922 (LayoutTestController::setCustomPolicyDelegate):
1923 (LayoutTestController::setMainFrameIsFirstResponder):
1924 (LayoutTestController::setTabKeyCyclesThroughElements):
1925 (LayoutTestController::setUseDashboardCompatibilityMode):
1926 (LayoutTestController::setUserStyleSheetEnabled):
1927 (LayoutTestController::setUserStyleSheetLocation):
1928 (LayoutTestController::setWindowIsKey):
1929 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
1930 (LayoutTestController::waitUntilDone):
1931 (LayoutTestController::windowCount):
1932 Use the JSCore API to implement the LayoutTestController.
1934 * DumpRenderTree/ObjCController.h:
1935 * DumpRenderTree/ObjCController.m:
1936 (+[ObjCController isSelectorExcludedFromWebScript:]):
1937 (+[ObjCController webScriptNameForSelector:]):
1938 (-[ObjCController accessStoredWebScriptObject]):
1939 (-[ObjCController storeWebScriptObject:]):
1940 (-[ObjCController dealloc]):
1941 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
1942 Move WebScriptObject tests to ObjCController.
1944 * DumpRenderTree/UIDelegate.m: Removed.
1945 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
1947 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1948 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1949 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1950 (WorkQueueItem::~WorkQueueItem):
1951 (LoadItem::LoadItem):
1954 (ScriptItem::ScriptItem):
1955 (ScriptItem::script):
1956 * DumpRenderTree/WorkQueueItemMac.mm: Added.
1958 (ReloadItem::invoke):
1959 (ScriptItem::invoke):
1960 (BackForwardItem::invoke):
1961 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
1962 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
1965 2007-09-11 Kevin McCullough <kmccullough@apple.com>
1969 - Updated Win side to take advantage of the platform separating changes.
1971 * Drosera/DebuggerDocument.cpp:
1972 (DebuggerDocument::localScopeVariableNamesForCallFrame):
1973 * Drosera/DebuggerDocument.h:
1974 * Drosera/win/DebuggerClient.cpp:
1975 (DebuggerClient::pause):
1976 (DebuggerClient::resume):
1977 (DebuggerClient::stepInto):
1978 (DebuggerDocument::platformPause):
1979 (DebuggerDocument::platformResume):
1980 (DebuggerDocument::platformStepInto):
1981 (DebuggerDocument::platformEvaluateScript):
1982 (DebuggerDocument::getPlatformCurrentFunctionStack):
1983 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1984 (DebuggerDocument::platformValueForScopeVariableNamed):
1985 (DebuggerDocument::platformLog):
1986 * Drosera/win/DebuggerClient.h:
1987 * Drosera/win/Drosera.cpp:
1989 (Drosera::windowScriptObjectAvailable):
1990 (Drosera::initWithServerName):
1991 (Drosera::switchToServerNamed):
1992 * Drosera/win/Drosera.h:
1993 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1995 2007-09-11 Kevin McCullough <kmccullough@apple.com>
1999 - Just doing the moves in a separate patch so the changes are easier to see.
2001 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2002 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2003 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2004 * Drosera/win/DebuggerDocumentWin.h: Removed.
2005 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2007 2007-09-11 Sven Herzberg <sven@imendio.com>
2009 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2010 http://bugs.webkit.org/show_bug.cgi?id=15176
2012 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2013 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2014 other paths eg. from jhbuild)
2016 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2020 - Made an order-of-deletion mistake.
2022 * Drosera/DebuggerDocument.h:
2023 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2024 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2025 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2026 * Drosera/mac/DebuggerClient.mm:
2027 (DebuggerDocument::platformPause):
2028 (DebuggerDocument::platformResume):
2029 (DebuggerDocument::platformStepInto):
2030 (DebuggerDocument::platformEvaluateScript):
2031 (DebuggerDocument::getPlatformCurrentFunctionStack):
2032 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2033 (DebuggerDocument::platformValueForScopeVariableNamed):
2034 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2036 2007-09-10 Kevin McCullough <kmccullough@apple.com>
2040 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2042 * Drosera/DebuggerDocument.cpp:
2043 (DebuggerDocument::DebuggerDocument):
2044 * Drosera/DebuggerDocument.h:
2045 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2046 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2047 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2048 * Drosera/mac/DebuggerApplication.mm:
2049 (-[DebuggerApplication attach:]):
2050 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2051 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2052 (DebuggerDocument::platformPause):
2053 (DebuggerDocument::platformResume):
2054 (DebuggerDocument::platformStepInto):
2055 (DebuggerDocument::platformEvaluateScript):
2056 (DebuggerDocument::getPlatformCurrentFunctionStack):
2057 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2058 (DebuggerDocument::platformValueForScopeVariableNamed):
2059 (DebuggerDocument::platformLog):
2060 * Drosera/mac/DebuggerDocumentMac.h: Removed.
2061 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2062 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2064 2007-09-09 Sam Weinig <sam@webkit.org>
2066 Reviewed by Mark Rowe.
2068 Remove 'objC' prefix from methods now in the ObjCController.
2070 * DumpRenderTree/ObjCController.m:
2071 (+[ObjCController isSelectorExcludedFromWebScript:]):
2072 (+[ObjCController webScriptNameForSelector:]):
2073 (-[ObjCController classNameOf:]):
2074 (-[ObjCController objectOfClass:]):
2075 (-[ObjCController identityIsEqual::]):
2076 (-[ObjCController longLongRoundTrip:]):
2077 (-[ObjCController unsignedLongLongRoundTrip:]):
2079 2007-09-09 Sam Weinig <sam@webkit.org>
2083 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
2084 - Move LayoutTestController into its own file.
2085 - Move Objective-C only functions on LayoutTestController into a new controller called the
2088 * DumpRenderTree/DumpRenderTree.h:
2089 * DumpRenderTree/DumpRenderTree.m:
2091 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2092 * DumpRenderTree/FrameLoadDelegate.m:
2093 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2094 * DumpRenderTree/LayoutTestController.h: Added.
2095 * DumpRenderTree/LayoutTestController.m: Added.
2096 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2097 (+[LayoutTestController webScriptNameForSelector:]):
2098 (-[LayoutTestController clearBackForwardList]):
2099 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2100 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2101 (-[LayoutTestController setCustomPolicyDelegate:]):
2102 (-[LayoutTestController keepWebHistory]):
2103 (-[LayoutTestController setCallCloseOnWebViews:]):
2104 (-[LayoutTestController setCanOpenWindows]):
2105 (-[LayoutTestController waitUntilDone]):
2106 (-[LayoutTestController waitUntilDoneWatchdogFired]):
2107 (-[LayoutTestController notifyDone]):
2108 (-[LayoutTestController dumpAsText]):
2109 (-[LayoutTestController addFileToPasteboardOnDrag]):
2110 (-[LayoutTestController addDisallowedURL:]):
2111 (-[LayoutTestController setUserStyleSheetLocation:]):
2112 (-[LayoutTestController setUserStyleSheetEnabled:]):
2113 (-[LayoutTestController dumpDOMAsWebArchive]):
2114 (-[LayoutTestController dumpSourceAsWebArchive]):
2115 (-[LayoutTestController dumpSelectionRect]):
2116 (-[LayoutTestController dumpTitleChanges]):
2117 (-[LayoutTestController dumpBackForwardList]):
2118 (-[LayoutTestController windowCount]):
2119 (-[LayoutTestController dumpChildFrameScrollPositions]):
2120 (-[LayoutTestController dumpChildFramesAsText]):
2121 (-[LayoutTestController dumpEditingCallbacks]):
2122 (-[LayoutTestController dumpResourceLoadCallbacks]):
2123 (-[LayoutTestController dumpFrameLoadCallbacks]):
2124 (-[LayoutTestController setWindowIsKey:]):
2125 (-[LayoutTestController setMainFrameIsFirstResponder:]):
2126 (-[LayoutTestController display]):
2127 (-[LayoutTestController testRepaint]):
2128 (-[LayoutTestController repaintSweepHorizontally]):
2129 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2130 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2131 (-[LayoutTestController _doLoad:target:]):
2132 (-[LayoutTestController _doBackOrForwardNavigation:]):
2133 (-[LayoutTestController queueBackNavigation:]):
2134 (-[LayoutTestController queueForwardNavigation:]):
2135 (-[LayoutTestController queueReload]):
2136 (-[LayoutTestController queueScript:]):
2137 (-[LayoutTestController queueLoad:target:]):
2138 (-[LayoutTestController setAcceptsEditing:]):
2139 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2140 (-[LayoutTestController storeWebScriptObject:]):
2141 (-[LayoutTestController accessStoredWebScriptObject]):
2142 (-[LayoutTestController dealloc]):
2143 (-[LayoutTestController decodeHostName:]):
2144 (-[LayoutTestController encodeHostName:]):
2145 * DumpRenderTree/ObjCController.h: Added.
2146 * DumpRenderTree/ObjCController.m: Added.
2147 (+[ObjCController isSelectorExcludedFromWebScript:]):
2148 (+[ObjCController webScriptNameForSelector:]):
2149 (-[ObjCController objCClassNameOf:]):
2150 (-[ObjCController objCObjectOfClass:]):
2151 (-[ObjCController objCIdentityIsEqual::]):
2152 (-[ObjCController objCLongLongRoundTrip:]):
2153 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2154 (-[ObjCController testWrapperRoundTripping:]):
2156 2007-09-07 Sam Weinig <sam@webkit.org>
2160 Strip trailing and leading space/newline characters from skiplist file names.
2162 * Scripts/run-webkit-tests:
2164 2007-09-06 Kevin McCullough <kmccullough@apple.com>
2168 - Changed Drosera to take advantage of the JSRetainPtr changes.
2170 * Drosera/DebuggerDocument.cpp:
2171 (DebuggerDocument::breakpointEditorHTML):
2172 (DebuggerDocument::evaluateScript):
2173 (DebuggerDocument::valueForScopeVariableNamed):
2174 (DebuggerDocument::log):
2175 (DebuggerDocument::windowScriptObjectAvailable):
2176 (DebuggerDocument::toJSArray):
2177 (DebuggerDocument::callFunctionOnObject):
2178 (DebuggerDocument::logException):
2179 * Drosera/mac/DebuggerDocumentMac.mm:
2180 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
2181 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2182 (DebuggerDocument::platformEvaluateScript):
2183 (DebuggerDocument::getPlatformCurrentFunctionStack):
2184 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2185 (DebuggerDocument::platformValueForScopeVariableNamed):
2187 2007-09-05 Kevin McCullough <kmccullough@apple.com>
2189 Reviewed by Adam, Sam, Darin.
2191 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
2193 * Drosera/Debugger.h: Added.
2194 * Drosera/DebuggerDocument.cpp:
2195 (DebuggerDocument::breakpointEditorHTMLCallback):
2196 (DebuggerDocument::isPausedCallback):
2197 (DebuggerDocument::pauseCallback):
2198 (DebuggerDocument::resumeCallback):
2199 (DebuggerDocument::stepIntoCallback):
2200 (DebuggerDocument::evaluateScriptCallback):
2201 (DebuggerDocument::currentFunctionStackCallback):
2202 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2203 (DebuggerDocument::valueForScopeVariableNamedCallback):
2204 (DebuggerDocument::logCallback):
2205 (DebuggerDocument::breakpointEditorHTML):
2206 (DebuggerDocument::isPaused):
2207 (DebuggerDocument::pause):
2208 (DebuggerDocument::resume):
2209 (DebuggerDocument::stepInto):
2210 (DebuggerDocument::evaluateScript):
2211 (DebuggerDocument::currentFunctionStack):
2212 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2213 (DebuggerDocument::valueForScopeVariableNamed):
2214 (DebuggerDocument::log):
2215 (DebuggerDocument::toolbarPause):
2216 (DebuggerDocument::toolbarResume):
2217 (DebuggerDocument::toolbarStepInto):
2218 (DebuggerDocument::toolbarStepOver):
2219 (DebuggerDocument::toolbarStepOut):
2220 (DebuggerDocument::toolbarShowConsole):
2221 (DebuggerDocument::toolbarCloseCurrentFile):
2222 (DebuggerDocument::updateFileSource):
2223 (DebuggerDocument::didParseScript):
2224 (DebuggerDocument::willExecuteStatement):
2225 (DebuggerDocument::didEnterCallFrame):
2226 (DebuggerDocument::willLeaveCallFrame):
2227 (DebuggerDocument::exceptionWasRaised):
2228 (DebuggerDocument::windowScriptObjectAvailable):
2229 (DebuggerDocument::toJSArray):
2230 (DebuggerDocument::callGlobalFunction):
2231 (DebuggerDocument::callFunctionOnObject):
2232 (DebuggerDocument::getDroseraJSClass):
2233 (DebuggerDocument::staticFunctions):
2234 (DebuggerDocument::logException):
2235 * Drosera/DebuggerDocument.h:
2236 (DebuggerDocument::DebuggerDocument):
2237 * Drosera/ForwardingHeaders: Added.
2238 * Drosera/ForwardingHeaders/wtf: Added.
2239 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
2241 * Drosera/console.html:
2242 * Drosera/console.js:
2243 * Drosera/debugger.js:
2244 * Drosera/mac/DebuggerApplication.mm:
2245 (-[DebuggerApplication attach:]):
2246 * Drosera/mac/DebuggerDocumentMac.h:
2247 * Drosera/mac/DebuggerDocumentMac.mm:
2248 (+[NSString stringOrNilFromWebScriptResult:]):
2249 (+[DebuggerClientMac log:]):
2250 (-[DebuggerClientMac initWithServerName:]):
2251 (-[DebuggerClientMac dealloc]):
2252 (-[DebuggerClientMac pause]):
2253 (-[DebuggerClientMac resume]):
2254 (-[DebuggerClientMac pause:]):
2255 (-[DebuggerClientMac resume:]):
2256 (-[DebuggerClientMac stepInto:]):
2257 (-[DebuggerClientMac stepOver:]):
2258 (-[DebuggerClientMac stepOut:]):
2259 (-[DebuggerClientMac showConsole:]):
2260 (-[DebuggerClientMac closeCurrentFile:]):
2261 (-[DebuggerClientMac validateUserInterfaceItem:]):
2262 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
2263 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2264 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2265 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2266 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2267 (DebuggerDocument::platformPause):
2268 (DebuggerDocument::platformResume):
2269 (DebuggerDocument::platformStepInto):
2270 (DebuggerDocument::platformEvaluateScript):
2271 (DebuggerDocument::platformCurrentFunctionStack):
2272 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
2273 (DebuggerDocument::platformValueForScopeVariableNamed):
2274 (DebuggerDocument::platformLog):
2275 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2277 2007-09-06 Sam Weinig <sam@webkit.org>
2279 Reviewed by Adam Roben.
2281 Register the WebKit DLL on initialization of the DumpRenderTree.
2283 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2286 2007-09-05 Sam Weinig <sam@webkit.org>
2290 Fix many layout test failures caused by r25364.
2291 Set text size to standand size at the begining of each test matching the mac.
2293 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2296 2007-09-04 Sam Weinig <sam@webkit.org>
2300 Fix for <rdar://problem/5382277>
2301 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
2303 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
2304 (textZoomInCallback):
2305 (textZoomOutCallback):
2307 2007-08-29 David Kilzer <ddkilzer@apple.com>
2311 Added case-insensitivity to checks for adding regression tests.
2313 * Scripts/prepare-ChangeLog:
2316 2007-08-28 David Kilzer <ddkilzer@apple.com>
2320 Ignore files in /resources/ subdirectories when creating a list of added tests.
2322 * Scripts/prepare-ChangeLog:
2325 2007-08-27 Kevin McCullough <kmccullough@apple.com>
2329 - Removed Leopard leaks list since all of those radars were fixed.
2331 * Scripts/run-webkit-tests:
2333 2007-08-27 Adam Roben <aroben@apple.com>
2335 Rubberstamped by Mark.
2337 * Scripts/pdevenv: Pass arguments along to devenv.com.
2339 2007-08-26 David Kilzer <ddkilzer@webkit.org>
2341 Reviewed by Mark Rowe.
2343 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
2345 * Scripts/prepare-ChangeLog:
2346 (changeLogDate): Added.
2348 2007-08-24 Sam Weinig <sam@webkit.org>
2350 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2352 2007-08-24 Sam Weinig <sam@webkit.org>
2354 Rubber-stamped by Adam Roben.
2356 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2358 Rename COM DOM bindings to use Deprecated prefix.
2360 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2363 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
2366 (EditingDelegate::shouldBeginEditingInDOMRange):
2367 (EditingDelegate::shouldEndEditingInDOMRange):
2368 (EditingDelegate::shouldInsertNode):
2369 (EditingDelegate::shouldInsertText):
2370 (EditingDelegate::shouldDeleteDOMRange):
2371 (EditingDelegate::shouldChangeSelectedDOMRange):
2372 (EditingDelegate::shouldApplyStyle):
2373 (EditingDelegate::shouldChangeTypingStyle):
2374 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
2376 2007-08-24 Oliver Hunt <oliver@apple.com>
2380 WebDataSource::response can legitimately have a null response, so we
2381 must check that case.
2383 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2384 (queueLoadCallback):
2386 2007-08-23 Mitz Pettel <mitz@webkit.org>
2388 Reviewed by Darin and Adam.
2390 - DumpRenderTree changes to allow testing for
2391 http://bugs.webkit.org/show_bug.cgi?id=11756
2392 REGRESSION: link targeting a frame in another window does not work
2393 <rdar://problem/5286420>
2395 Use a frame group name for all WebViews created by DumpRenderTree to
2396 allow testing of cross-page frame lookup.
2398 * DumpRenderTree/DumpRenderTree.m:
2399 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
2400 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2401 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
2403 2007-08-23 David Kilzer <ddkilzer@webkit.org>
2407 Quote the $sslCertificate path in case it contains a space.
2409 * Scripts/run-webkit-httpd:
2410 * Scripts/run-webkit-tests:
2412 2007-08-22 Oliver Hunt <oliver@apple.com>
2414 Reviewed by John and Adam.
2416 WebDataSource::response can legitimately have a null response, so we
2417 must check that case.
2419 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2422 2007-08-21 Kevin McCullough <kmccullough@apple.com>
2426 - Changing the usage to be more clear.
2428 * Scripts/run-testkjs:
2430 2007-08-20 John Sullivan <sullivan@apple.com>
2432 Reviewed by Adam Roben
2434 * DumpRenderTree/DumpRenderTree.m:
2436 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
2437 in layout tests on Tiger and Leopard
2439 2007-08-20 Adam Roben <aroben@apple.com>
2441 Put LayoutTests after all other ChangeLogs in commit logs
2443 We use "~" to sort LayoutTests after all the other ChangeLogs because
2444 "~" is the last ASCII character (other than "DEL").
2448 * Scripts/commit-log-editor:
2450 2007-08-20 Adam Roben <aroben@apple.com>
2452 Detect that DRT crashed even if a crash dialog is running
2454 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
2455 process is still running at this point, so run-webkit-tests wouldn't
2456 detect that DRT had crashed. We now record the crash in our SIGPIPE
2457 handler so that we know if DRT crashed even if the crash dialog is up.
2461 * Scripts/run-webkit-tests:
2462 (sub catch_pipe): Set the crashed bit.
2463 (sub openDumpTool): Reset the crashed bit.
2464 (sub dumpToolDidCrash): Check the crashed bit.
2466 2007-08-20 Adam Roben <aroben@apple.com>
2468 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
2470 http://bugs.webkit.org/show_bug.cgi?id=15026
2472 Reviewed by David Kilzer and Darin Adler.
2474 * Scripts/prepare-ChangeLog:
2475 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
2476 (sub isAddedStatus): Ditto.
2477 (sub testListForChangeLog): Added.
2479 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
2483 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
2485 * Scripts/webkitdirs.pm:
2486 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
2488 2007-08-17 Darin Adler <darin@apple.com>
2490 Reviewed by Oliver Hunt.
2492 - don't look for Apple-style localizable strings in the GTK version of WebKit
2494 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
2495 name of subdirectories to skip.
2496 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
2499 2007-08-17 Anders Carlsson <andersca@apple.com>
2503 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2506 2007-08-17 Anders Carlsson <andersca@apple.com>
2508 Reviewed by Dave Hyatt.
2510 <rdar://problem/5379040>
2511 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
2513 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
2515 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2517 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2518 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2522 2007-08-16 Alice Liu <alice.liu@apple.com>
2526 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
2528 * DumpRenderTree/DumpRenderTree.m:
2530 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
2532 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
2534 2007-08-16 Kevin McCullough <kmccullough@apple.com>
2538 - 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.
2540 * Scripts/run-webkit-tests:
2542 2007-08-15 Timothy Hatcher <timothy@apple.com>
2544 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
2545 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
2547 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
2548 this prevents making "build" directories in each project folder.
2550 * Scripts/webkitdirs.pm:
2552 2007-08-14 Geoffrey Garen <ggaren@apple.com>
2554 Reviewed by Kevin Mccullough.
2556 Removed special case that didn't belong. (It would allow a global
2557 initializer to sneak into production builds, which would cause a
2558 system-wide performance regression on Mac OS X.)
2560 * Scripts/check-for-global-initializers:
2562 2007-08-14 Justin Garcia <justin.garcia@apple.com>
2566 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
2568 * DumpRenderTree/EditingDelegate.m:
2569 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
2570 only for elements with the class needsDeletionUI.
2572 2007-08-14 David Kilzer <ddkilzer@webkit.org>
2576 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
2577 svn-create-patch uses deprecated tail switch
2579 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
2581 2007-08-13 Sam Weinig <sam@webkit.org>
2583 Reviewed by Adam Roben.
2585 Use the cygwin specific Apache config file under cygwin.
2587 * Scripts/run-webkit-httpd:
2589 2007-08-12 Adam Roben <aroben@apple.com>
2591 Generate results for new tests in a more logical location
2593 New platform-specific tests always have their results generated right
2594 next to the test. New cross-platform tests will have their results
2595 generated a) in the cross-platform directory, if they are text-only,
2596 or b) in the least-specific platform directory, if they are render
2601 * Scripts/run-webkit-tests:
2603 2007-08-12 Adam Roben <aroben@apple.com>
2605 Print the actual directory where new results are generated.
2607 Before, we were printing an unpredictable, context-specific substring
2612 * Scripts/run-webkit-tests:
2614 2007-08-12 Adam Roben <aroben@apple.com>
2616 Factor some common code into a stripExtension() subroutine.
2620 * Scripts/run-webkit-tests: Also removed some debugging output.
2622 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
2624 Reviewed over and over and over by Adam Roben.
2626 Bug 14740: Hierarchical layout tests and platform organization
2627 http://bugs.webkit.org/show_bug.cgi?id=14740
2629 Add support for platform-specific layout tests and results.
2631 * Scripts/run-webkit-tests:
2633 2007-08-11 David Kilzer <ddkilzer@webkit.org>
2637 Refactored svn-create-path to use a hash-of-hashes data structure to keep
2638 track of changed files. In the top level hash, keys are paths to files and
2639 values are 'fileData' hashes with the following keys and values:
2641 - isBinary: boolean value (set to true for non-text files like images, etc.)
2642 - isTestFile: boolean value (set to true if file exists within a known test
2644 - modificationType: string equal to one of 'addition', 'additionWithHistory',
2645 'modification' or 'deletion'
2646 - path: string equal to the path to the file (this may seem redundant, but it
2647 is required to use the second-level 'fileData' hash independent of the
2649 - sourceFile: [optional] string equal to the path of the original file that was
2651 - sourceRevision: [optional] string equal to the revision of the original file
2652 that was copied or moved
2654 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
2655 that saves the return value in $result, then checks it before printing help.
2656 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
2657 and eliminated two for() loops.
2658 (binarycmp): Added. Used with sort() to order non-binary files before binary
2660 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
2661 (findMimeType): Added optional second argument that takes a revision number.
2662 (generateDiff): Updated to take one fileData argument instead of three ($file,
2663 $modificationType, $isBinary).
2664 (generateFileList): Updated to take one hash ref argument (%diffFiles)
2665 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
2666 %diffFiles using paths for keys and fileData hashes for values.
2667 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
2669 (pathcmp): Updated to take two fileData arguments instead of two strings.
2670 (testfilecmp): Added. Used with sort() to order non-test files before test
2673 2007-08-11 Darin Adler <darin@apple.com>
2675 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
2677 2007-08-06 Nigel Tao <nigeltao@gnome.org>
2679 Reviewed by David Kilzer.
2681 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
2682 http://bugs.webkit.org/show_bug.cgi?id=14745
2684 * Scripts/run-launcher:
2685 Scrub the "--gdk" out of the command line args, if given, so that
2686 GdkLauncher doesn't try to interpret it as a URL.
2688 2007-08-03 Adam Roben <aroben@apple.com>
2690 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
2694 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
2696 2007-08-03 Sam Weinig <sam@webkit.org>
2700 Recursively dump all frames as text using new
2701 layoutTestController.dumpChildFramesAsText() function.
2703 * DumpRenderTree/DumpRenderTree.m:
2706 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2707 (-[LayoutTestController dumpChildFramesAsText]):
2709 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2713 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
2714 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2715 (dumpChildFramesAsTextCallback):
2716 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2718 2007-08-02 Adam Roben <aroben@apple.com>
2720 Fix fast/dom/Window/alert-undefined.html
2724 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2725 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
2726 Windows translate a null BSTR into "(null)"
2728 2007-08-02 Kevin McCullough <kmccullough@apple.com>
2732 - It would help if I actually called the right function.
2734 * Drosera/DebuggerDocument.cpp:
2735 (DebuggerDocument::showConsole):
2737 2007-08-02 Adam Roben <aroben@apple.com>
2739 Don't delete the stderr file right after creating it
2743 * Scripts/run-webkit-tests:
2745 2007-08-01 Adam Roben <aroben@apple.com>
2747 When DRT crashes, record stderr and restart DRT
2749 This prevents a DRT crash from causing the next few hundred tests to
2750 "fail" because DRT is no longer running.
2752 I also changed the terminology that run-webkit-tests uses in its
2753 output a bit, so that crashing tests are referred to as "crashes"
2754 instead of "failures".
2758 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
2760 (sub openDumpTool): Use open3 so that we can access stderr.
2761 (sub dumpToolCrashed): Added.
2762 (sub printFailureMessageForTest): Added.
2763 (sub htmlForExpectedAndActualResults): Added.
2764 (sub deleteExpectedAndActualResults): Added.
2765 (sub recordActualResultsAndDiff): Added.
2767 2007-07-30 Darin Adler <darin@apple.com>
2769 Reviewed by Tim Hatcher.
2771 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
2772 characters. This turned out not to be needed for the test case that motivated me to
2773 do it, but it's nice to have this for the future.
2775 2007-07-30 Simon Hausmann <hausmann@kde.org>
2779 Link QtLauncher into $$OUTPUT_DIR/bin
2781 * Scripts/run-launcher:
2783 2007-07-27 David Kilzer <ddkilzer@apple.com>
2785 Reviewed by Geoff and Darin.
2787 Use a subroutine for validating the --skipped switch.
2789 * Scripts/run-webkit-tests:
2791 2007-07-27 Darin Adler <darin@apple.com>
2795 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
2797 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2801 Correct the path of GdkLauncher and make checkFrameworks work on OSX
2802 when building the Qt or Gtk+ port.
2804 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
2805 * Scripts/run-launcher:
2806 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
2808 2007-07-27 Simon Hausmann <hausmann@kde.org>
2810 Done with and reviewed by Lars and Zack.
2812 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.
2814 * Scripts/webkitdirs.pm:
2816 2007-07-27 Simon Hausmann <hausmann@kde.org>
2818 Done with and reviewed by Lars and Zack.
2820 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.
2822 * Scripts/webkitdirs.pm:
2824 2007-07-26 Kevin McCullough <kmccullough@apple.com>
2826 Reviewed by Darin, Geoff, Sam.
2828 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
2830 - 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.
2832 * DumpRenderTree/UIDelegate.h:
2833 * DumpRenderTree/UIDelegate.m:
2834 (-[UIDelegate webView:setFrame:]):
2835 (-[UIDelegate webViewFrame:]):
2837 2007-07-26 Kevin McCullough <kmccullough@apple.com>
2841 - Lars wanted this check for Qt but it breaks platform specific layout tests.
2843 * Scripts/run-webkit-tests:
2845 2007-07-25 Kevin McCullough <kmccullough@apple.com>
2847 Reviewed by Tim, Darin, Oliver.
2849 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
2850 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
2853 * DumpRenderTree/DumpRenderTree.m:
2856 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2857 (+[LayoutTestController webScriptNameForSelector:]):
2858 (-[LayoutTestController setCustomPolicyDelegate:]):
2859 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2860 * DumpRenderTree/FrameLoadDelegate.h:
2861 * DumpRenderTree/PolicyDelegate.h: Added.
2862 * DumpRenderTree/PolicyDelegate.m: Added.
2863 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2864 * DumpRenderTree/ResourceLoadDelegate.h:
2866 2007-07-25 Adam Treat <treat@kde.org>
2870 Fix build for some reported systems.
2872 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2874 2007-07-23 Adam Treat <treat@kde.org>
2876 Reviewed by Nikolas.
2878 Fix qt DRT to suppress js popup alerts and log instead.
2880 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2881 (WebCore::WebPage::javaScriptAlert):
2883 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
2887 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
2888 honor --qmakearg for the Gdk/Gtk build as well.
2890 * GdkLauncher/main.cpp: Switch to the new API
2891 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
2893 2007-07-22 Darin Adler <darin@apple.com>
2895 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
2896 Fix a leak by releasing the array used here.
2898 2007-07-22 David Kilzer <ddkilzer@webkit.org>
2902 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
2903 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
2905 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
2906 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
2908 * Scripts/update-iexploder-cssproperties: Added.
2909 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
2910 Added new CSS3 property section and Moved box-sizing property to it.
2912 2007-07-22 Oliver Hunt <oliver@apple.com>
2916 http://bugs.webkit.org/show_bug.cgi?id=14710
2918 Add preliminary support for testing Input Method/WebKit behaviour and interaction
2919 in DRT. This provides the NSTextInput API which is most of what should be necessary
2920 to mimic the event sequences Input Methods trigger.
2922 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2923 * DumpRenderTree/TextInputController.h:
2924 * DumpRenderTree/TextInputController.m:
2925 (-[WebHTMLView interpretKeyEvents:]):
2926 (+[TextInputController isSelectorExcludedFromWebScript:]):
2927 (+[TextInputController webScriptNameForSelector:]):
2928 (-[TextInputController initWithWebView:]):
2929 (-[TextInputController dealloc]):
2930 (-[TextInputController textInput]):
2931 (-[TextInputController setInputMethodHandler:]):
2932 (-[TextInputController interpretKeyEvents:withSender:]):
2934 2007-07-20 Adam Roben <aroben@apple.com>
2936 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
2937 message not count as an existing log.
2939 2007-07-19 Geoffrey Garen <ggaren@apple.com>
2941 Reviewed by Darin Adler.
2943 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
2944 value behavior of stringByEvaluatingJavaScriptFromString
2946 * DumpRenderTree/DumpRenderTree.m:
2947 (testStringByEvaluatingJavaScriptFromString):
2948 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2950 2007-07-19 Adam Roben <aroben@apple.com>
2952 Make commit-log-editor work with git
2956 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
2957 commit message template. Also removed the unused $breakPoint variable.
2959 2007-07-19 Adam Roben <aroben@apple.com>
2961 Move generally-useful VCS code into a new VCSUtils.pm module
2963 This is in preparation for making commit-log-editor git-friendly.
2967 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
2968 * Scripts/prepare-ChangeLog: Use VCSUtils.
2970 2007-07-19 Lars Knoll <lars@trolltech.com>
2972 Fix a crash on exit when running DRT against a current
2977 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2980 2007-07-18 Adam Roben <aroben@apple.com>
2982 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
2986 * Scripts/run-webkit-httpd:
2987 * Scripts/run-webkit-tests:
2989 2007-07-18 Adam Roben <aroben@apple.com>
2991 More git friendliness for prepare-ChangeLog
2993 The overall change is to remove the use of git-status and replace it
2994 with git-diff --name-status (which we were already using in the
2997 This lets us respect directories specified on the command line when
2998 using git, just as we do for Subversion. It also speeds things up a
2999 bit, especially in the subdirectory case, as git-status is pretty slow.
3001 I also fixed some issues where we wouldn't detect copied files and
3002 would reverse the new filename and the original filename for renamed files.
3006 * Scripts/prepare-ChangeLog:
3007 (sub diffFromToString): Added.
3008 (sub diffCommand): Don't append the paths in the --git-commit case, as
3009 we should be operating on the entire commit.
3010 (sub statusCommand): Always use git-diff --name-status, and added an
3011 extra -C option to git-diff to make it find a few more copied files.
3012 (sub createPatchCommand): Collapsed the two git cases a bit, and added
3013 the extra -C option as above.
3014 (sub generateFileList): Remove the git-status codepath, and recognize
3015 file copies in the --name-status output.
3016 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3018 (sub isConflictStatus): Updated the git dictionary.
3019 (sub statusDescription): Updated the git dictionary.
3021 2007-07-18 Timothy Hatcher <timothy@apple.com>
3023 * Scripts/build-drosera: Update where we look for the Xcode project.
3025 2007-07-18 Adam Treat <treat@kde.org>
3029 Use the old wording for Safari.
3031 * Scripts/build-webkit:
3032 * Scripts/webkitdirs.pm:
3034 2007-07-18 Adam Treat <treat@kde.org>
3038 Add convenience script for launching test apps for Qt and Gdk ports.
3039 Change the build-webkit script accordingly.
3041 * Scripts/build-webkit:
3042 * Scripts/run-launcher: Added.
3043 * Scripts/webkitdirs.pm:
3045 2007-07-18 Timothy Hatcher <timothy@apple.com>
3049 Make the Page with the now required InspectorClient.
3051 * GdkLauncher/main.cpp:
3054 2007-07-18 Timothy Hatcher <timothy@apple.com>
3056 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
3057 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
3059 * Drosera/Makefile: Added.
3060 * Drosera/mac/Makefile:
3061 * DumpRenderTree/Makefile:
3063 * Makefile.Drosera: Removed.
3064 * Makefile.shared: Removed.
3066 2007-07-18 Timothy Hatcher <timothy@apple.com>
3068 The console log was 20px down from the top for no reason, move it up.
3070 * Drosera/console.css:
3072 2007-07-18 Timothy Hatcher <timothy@apple.com>
3074 Use contentDocument to get the source view's iframe document.
3075 Also adds a null/undefined check for localVariableNames.
3077 * Drosera/debugger.js:
3079 2007-07-18 Lars Knoll <lars@trolltech.com>
3081 We really don't want to compare non text only tests to the
3082 Mac results if we don't have a result for Qt, as this would
3083 give a failure and not a notification that the test is new.
3087 * Scripts/run-webkit-tests:
3089 2007-07-18 Lars Knoll <lars@trolltech.com>
3091 Reviewed by Zack & Simon
3093 Adjust to changed API in QWebFrame
3095 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3096 (WebCore::DumpRenderTree::DumpRenderTree):
3098 2007-07-18 Mark Rowe <mrowe@apple.com>
3100 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
3102 * BuildSlaveSupport/build-launcher-app:
3104 2007-07-17 Geoffrey Garen <ggaren@apple.com>
3106 Reviewed by Antti Koivisto.
3108 Added watchdog timer to waitUntilDone to prevent a run-away test from
3109 hanging the test harness.
3111 * DumpRenderTree/DumpRenderTree.m:
3113 (-[LayoutTestController waitUntilDone]):
3114 (-[LayoutTestController waitUntilDoneWatchdogFired]):
3115 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3117 2007-07-17 Kevin McCullough <kmccullough@apple.com>
3121 - Implemented cross-platform code for functions calling into the JavaScript.
3123 * Drosera/DebuggerDocument.cpp:
3124 (DebuggerDocument::callAsFunction):
3125 (DebuggerDocument::pauseJS):
3126 (DebuggerDocument::resumeJS):
3127 (DebuggerDocument::stepIntoJS):
3128 (DebuggerDocument::stepOverJS):
3129 (DebuggerDocument::stepOutJS):
3130 (DebuggerDocument::showConsoleJS):
3131 (DebuggerDocument::closeCurrentFileJS):
3132 (DebuggerDocument::updateFileSource):
3133 (DebuggerDocument::didParseScript):
3134 (DebuggerDocument::willExecuteStatement):
3135 (DebuggerDocument::didEnterCallFrame):
3136 (DebuggerDocument::willLeaveCallFrame):
3137 (DebuggerDocument::exceptionWasRaised):
3138 * Drosera/DebuggerDocument.h:
3139 * Drosera/mac/DebuggerDocumentMac.mm:
3140 (-[DebuggerDocumentMac pause:]):
3141 (-[DebuggerDocumentMac resume:]):
3142 (-[DebuggerDocumentMac stepInto:]):
3143 (-[DebuggerDocumentMac stepOver:]):
3144 (-[DebuggerDocumentMac stepOut:]):
3145 (-[DebuggerDocumentMac showConsole:]):
3146 (-[DebuggerDocumentMac closeCurrentFile:]):
3147 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
3148 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3149 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3150 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3151 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3152 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3154 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3158 - Continued x-platform modifications.
3160 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
3161 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
3162 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
3163 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
3164 * Drosera/win/Drosera.cpp:
3165 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3166 * Drosera/win/stdafx.cpp: Removed.
3167 * Drosera/win/stdafx.h: Removed.
3169 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3173 - Modified files to use cross-platform code.
3175 * Drosera/DebuggerDocument.cpp: Added.
3176 (DebuggerDocument::breakpointEditorHTML):
3177 (DebuggerDocument::isPaused):
3178 (DebuggerDocument::pause):
3179 (DebuggerDocument::resume):
3180 (DebuggerDocument::stepInto):
3181 (DebuggerDocument::evaluateScript):
3182 (DebuggerDocument::currentFunctionStack):
3183 (DebuggerDocument::localScopeVariableNamesForCallFrame):
3184 (DebuggerDocument::valueForScopeVariableNamed):
3185 * Drosera/DebuggerDocument.h: Added.
3186 (DebuggerDocument::DebuggerDocument):
3187 * Drosera/config.h: Added.
3188 * Drosera/mac/DebuggerApplication.mm:
3189 (-[DebuggerApplication attach:]):
3190 * Drosera/mac/DebuggerDocument.h: Removed.
3191 * Drosera/mac/DebuggerDocument.mm: Removed.
3192 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
3193 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
3194 (-[DebuggerDocumentMac initWithServerName:]):
3195 (-[DebuggerDocumentMac dealloc]):
3196 (-[DebuggerDocumentMac breakpointEditorHTML]):
3197 (-[DebuggerDocumentMac isPaused]):
3198 (-[DebuggerDocumentMac pause]):
3199 (-[DebuggerDocumentMac resume]):
3200 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3201 * Drosera/win/DebuggerApplication.cpp:
3202 * Drosera/win/DebuggerObjectCallbacks.cpp:
3203 (breakpointEditorHTMLCallback):
3204 (currentFunctionStackCallback):
3205 (evaluateScript_inCallFrame_Callback):
3207 (localScopeVariableNamesForCallFrame_Callback):
3211 (valueForScopeVariableNamed_inCallFrame_Callback):
3213 * Drosera/win/Drosera.cpp:
3214 * Drosera/win/DroseraPrefix.cpp: Added.
3215 * Drosera/win/DroseraPrefix.h: Added.
3217 2007-07-16 Kevin McCullough <kmccullough@apple.com>
3219 Reviewed by Adam, Sam and Tim.
3221 - Moving files to prepare for cross-platform architecture.
3223 * Drosera/DebuggerApplication.h: Removed.
3224 * Drosera/DebuggerApplication.m: Removed.
3225 * Drosera/DebuggerDocument.h: Removed.
3226 * Drosera/DebuggerDocument.m: Removed.
3227 * Drosera/Drosera.pch: Removed.
3228 * Drosera/Drosera.xcodeproj: Removed.
3229 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
3230 * Drosera/Info.plist: Removed.
3231 * Drosera/LauncherInfo.plist: Removed.
3232 * Drosera/Makefile: Removed.
3233 * Drosera/launcher.m: Removed.
3234 * Drosera/mac: Added.
3235 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
3236 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
3237 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
3238 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
3239 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
3240 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
3241 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3242 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
3243 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
3244 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
3245 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
3246 * Drosera/mac/main.m: Copied from Drosera/main.m.
3247 * Drosera/main.m: Removed.
3249 * Makefile.Drosera: Added.
3251 2007-07-15 Mark Rowe <mrowe@apple.com>
3253 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
3255 2007-07-13 Sam Weinig <sam@webkit.org>
3257 Reviewed by Geoff Garen.
3259 Add support for running SSL tests over HTTPS.
3261 * DumpRenderTree/DumpRenderTree.m:
3263 * DumpRenderTree/FrameLoadDelegate.m:
3264 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3265 * Scripts/run-webkit-httpd:
3266 * Scripts/run-webkit-tests:
3268 2007-07-13 David Kilzer <ddkilzer@apple.com>
3272 Added support for -h|--help argument and verify that all command line arguments parse
3275 * Scripts/run-webkit-httpd:
3277 2007-07-12 Mark Rowe <mrowe@apple.com>
3281 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
3283 * Scripts/run-webkit-tests:
3285 2007-07-12 Geoffrey Garen <ggaren@apple.com>
3287 Reviewed by Oliver Hunt.
3289 Made the leaks tests pass on Leopard.
3291 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
3292 * Scripts/run-leaks: Updated parser for slight change in text output.
3294 2007-07-11 David Kilzer <ddkilzer@apple.com>
3298 Update the iExploder list of CSS properties after box-sizing was renamed to
3299 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
3301 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
3302 -moz-box-sizing remain.
3304 2007-07-10 Darin Adler <darin@apple.com>
3306 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
3307 Foundation's multipart/mixed-replace support -- I already verified that
3308 the bug has been fixed.
3310 2007-07-10 Alice Liu <alice.liu@apple.com>
3312 rubber stamped by Maciej.
3314 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
3316 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3317 (initializePreferences):
3318 set editable link behavior to match Mac DRT.
3320 2007-07-10 Geoffrey Garen <ggaren@apple.com>
3322 Reviewed by Tim Hatcher.
3324 Ignore Page.o in debug builds because it now has a static PageCounter
3327 * Scripts/check-for-global-initializers:
3329 2007-07-09 Darin Adler <darin@apple.com>
3331 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
3333 2007-07-09 Alice Liu <alice.liu@apple.com>
3335 Reviewed by Adam Roben.
3337 setting DOM Paste Allowed Pref
3339 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3340 (initializePreferences):
3342 2007-07-05 Kevin McCullough <kmccullough@apple.com>
3344 Reviewed by Adam, Sam, and Ada.
3346 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
3348 * Drosera/Images/Drosera.ico: Added.
3349 * Drosera/Images/small.ico: Added.
3350 * Drosera/win: Added.
3351 * Drosera/win/BaseDelegate.h: Added.
3352 (BaseDelegate::QueryInterface):
3353 (BaseDelegate::didFinishLoadForFrame):
3354 (BaseDelegate::windowScriptObjectAvailable):
3355 (BaseDelegate::didStartProvisionalLoadForFrame):
3356 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
3357 (BaseDelegate::didFailProvisionalLoadWithError):
3358 (BaseDelegate::didCommitLoadForFrame):
3359 (BaseDelegate::didReceiveTitle):
3360 (BaseDelegate::didReceiveIcon):
3361 (BaseDelegate::didFailLoadWithError):
3362 (BaseDelegate::didChangeLocationWithinPageForFrame):
3363 (BaseDelegate::willPerformClientRedirectToURL):
3364 (BaseDelegate::didCancelClientRedirectForFrame):
3365 (BaseDelegate::willCloseFrame):
3366 (BaseDelegate::createWebViewWithRequest):
3367 (BaseDelegate::webViewShow):
3368 (BaseDelegate::webViewClose):
3369 (BaseDelegate::webViewFocus):
3370 (BaseDelegate::webViewUnfocus):
3371 (BaseDelegate::webViewFirstResponder):
3372 (BaseDelegate::makeFirstResponder):
3373 (BaseDelegate::setStatusText):
3374 (BaseDelegate::webViewStatusText):
3375 (BaseDelegate::webViewAreToolbarsVisible):
3376 (BaseDelegate::setToolbarsVisible):
3377 (BaseDelegate::webViewIsStatusBarVisible):
3378 (BaseDelegate::setStatusBarVisible):
3379 (BaseDelegate::webViewIsResizable):
3380 (BaseDelegate::setResizable):
3381 (BaseDelegate::setFrame):
3382 (BaseDelegate::webViewFrame):
3383 (BaseDelegate::setContentRect):
3384 (BaseDelegate::webViewContentRect):
3385 (BaseDelegate::runJavaScriptAlertPanelWithMessage):
3386 (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
3387 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
3388 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
3389 (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
3390 (BaseDelegate::mouseDidMoveOverElement):
3391 (BaseDelegate::contextMenuItemsForElement):
3392 (BaseDelegate::validateUserInterfaceItem):
3393 (BaseDelegate::shouldPerformAction):
3394 (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
3395 (BaseDelegate::willPerformDragDestinationAction):
3396 (BaseDelegate::dragSourceActionMaskForPoint):
3397 (BaseDelegate::willPerformDragSourceAction):
3398 (BaseDelegate::contextMenuItemSelected):
3399 (BaseDelegate::hasCustomMenuImplementation):
3400 (BaseDelegate::trackCustomPopupMenu):
3401 (BaseDelegate::measureCustomMenuItem):
3402 (BaseDelegate::drawCustomMenuItem):
3403 (BaseDelegate::addCustomMenuDrawingData):
3404 (BaseDelegate::cleanUpCustomMenuDrawingData):
3405 (BaseDelegate::canTakeFocus):
3406 (BaseDelegate::takeFocus):
3407 (BaseDelegate::registerUndoWithTarget):
3408 (BaseDelegate::removeAllActionsWithTarget):
3409 (BaseDelegate::setActionTitle):
3410 (BaseDelegate::undo):
3411 (BaseDelegate::redo):
3412 (BaseDelegate::canUndo):
3413 (BaseDelegate::canRedo):
3414 * Drosera/win/DebuggerApplication.cpp: Added.
3415 (DebuggerApplication::serverLoaded):
3416 (DebuggerApplication::serverUnloaded):
3417 (DebuggerApplication::attach):
3418 (DebuggerApplication::numberOfRowsInTableView):
3419 (DebuggerApplication::tableView):
3420 * Drosera/win/DebuggerApplication.h: Added.
3421 (DebuggerApplication::DebuggerApplication):
3422 (DebuggerApplication::knownServers):
3423 * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
3424 (breakpointEditorHTMLCallback):
3425 (currentFunctionStackCallback):
3426 (doubleClickMillisecondsCallback):
3427 (evaluateScript_inCallFrame_Callback):
3429 (localScopeVariableNamesForCallFrame_Callback):
3433 (valueForScopeVariableNamed_inCallFrame_Callback):
3435 * Drosera/win/DebuggerObjectCallbacks.h: Added.
3436 * Drosera/win/Drosera.cpp: Added.
3438 (RegisterDroseraClass):
3444 (Drosera::QueryInterface):
3447 (Drosera::didFinishLoadForFrame):
3448 (getDroseraJSClass):
3449 (Drosera::windowScriptObjectAvailable):
3450 (Drosera::webViewClose):
3451 (Drosera::validateUserInterfaceItem):
3452 (Drosera::runJavaScriptAlertPanelWithMessage):
3454 * Drosera/win/Drosera.h: Added.
3455 (Drosera::webViewLoaded):
3456 * Drosera/win/Drosera.vcproj: Added.
3457 * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
3458 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
3459 * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
3460 * Drosera/win/Drosera.vcproj/release.vsprops: Added.
3461 * Drosera/win/HelperFunctions.h: Added.
3463 * Drosera/win/Info.plist: Added.
3464 * Drosera/win/resource.h: Added.
3465 * Drosera/win/stdafx.cpp: Added.
3466 * Drosera/win/stdafx.h: Added.
3468 2007-07-09 Adam Treat <adam@staikos.net>
3470 Reviewed by George Staikos.
3472 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
3475 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3476 (WebCore::DumpRenderTree::DumpRenderTree):
3478 2007-07-09 Anders Carlsson <andersca@apple.com>
3482 <rdar://problem/4954319>
3483 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
3484 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
3486 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
3487 return an error from NPP_NewStream.
3489 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3491 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3492 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3496 2007-07-08 Mark Rowe <mrowe@apple.com>
3498 Change name from WebKit/Qt to WebKit.
3500 * CodeCoverage/regenerate-coverage-display:
3502 2007-07-08 Rob Buis <buis@kde.org>
3506 http://bugs.webkit.org/show_bug.cgi?id=14209
3507 DRT should be able to deal with text zoom
3509 Allow increasing/decreasing text zoom using eventSender.
3511 * DumpRenderTree/DumpRenderTree.m:
3513 * DumpRenderTree/EventSendingController.m:
3514 (+[EventSendingController initialize]):
3515 (+[EventSendingController isSelectorExcludedFromWebScript:]):
3516 (-[EventSendingController textZoomIn]):
3517 (-[EventSendingController textZoomOut]):
3519 2007-07-07 Mark Rowe <mrowe@apple.com>
3523 * DumpRenderTree/DumpRenderTree.m:
3524 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
3526 2007-07-06 Anders Carlsson <andersca@apple.com>
3528 Reviewed by David Kilzer.
3530 <rdar://problem/5313502>
3531 Many webarchive tests fail due to different NSURLResponse serialization on Leopard
3533 Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
3534 response's attributes. Also change the JavaScript MIME type to be "text/javascript".
3536 * DumpRenderTree/DumpRenderTree.m:
3538 (convertWebResourceDataToString):
3539 (convertWebResourceResponseToDictionary):
3540 (serializeWebArchiveToXML):
3542 2007-07-06 Timothy Hatcher <timothy@apple.com>
3546 Initialize the NSMutableAttributedString directly instead of creating
3547 a NSAttributedString first.
3549 * DumpRenderTree/TextInputController.m:
3550 (-[TextInputController attributedStringWithString:]):
3552 2007-07-06 Anders Carlsson <andersca@apple.com>
3554 Reviewed by David Kilzer.
3556 Replace "Apple Computer" with "Apple" in the DTD declaration.
3558 * DumpRenderTree/DumpRenderTree.m:
3559 (serializeWebArchiveToXML):
3561 2007-07-06 Adam Treat <adam@staikos.net>
3563 Reviewed by George Staikos.
3565 Adjust for conversion of QWebFrame to a QFrame from a scroll area.
3567 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: