1 2009-06-15 Mark Rowe <mrowe (a] apple.com> 2 3 Reviewed by Oliver Hunt. 4 5 Add a script to automate the rolling over of ChangeLog files when they grow too large. 6 7 * Scripts/roll-over-ChangeLogs: Added. 8 9 2009-06-15 Simon Fraser <simon.fraser (a] apple.com> 10 11 Reviewed by Mark Rowe. 12 13 <rdar://problem/6974857> 14 15 Build with ENABLE_3D_RENDERING turned on by default on SnowLeopard. 16 17 * Scripts/build-webkit: 18 19 2009-06-12 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 20 21 Reviewed by Mark Rowe. 22 Reviewed by Simon Hausmann. 23 24 Refactor handling of options in the build-webkit script 25 26 Options are now defined in one place, and then reused when creating 27 the usage help text, the arguments to GetOptions(), and when passing 28 the options on to the underlying port-dependent build systems. 29 30 This allows the Qt port to read the defaults for the options from the 31 pro file (dynamically), and to pass the options on to qmake at build. 32 33 * Scripts/build-webkit: 34 * Scripts/webkitdirs.pm: 35 36 2009-06-15 Mark Rowe <mrowe (a] apple.com> 37 38 Reviewed by Cameron Zwarich. 39 40 Fix <https://bugs.webkit.org/show_bug.cgi?id=26312>. 41 Bug 26312: Multiple copies of Safari opened with WebKit nightly and Safari 3.2.3 42 43 Skip the trampoline detection for versions of Safari < 4.0 as they don't play these 44 tricks, and having WebKitNightlyEnabler assume that we were in the trampoline was 45 preventing our LaunchServices trickery from being run. This led to fresh copies of 46 WebKit.app being launched when a URL or file was opened from an external application 47 rather than the existing instance being reused. 48 49 * WebKitLauncher/WebKitNightlyEnabler.m: 50 (insideSafari4OnTigerTrampoline): 51 (enableWebKitNightlyBehaviour): 52 53 2009-06-13 Sam Weinig <sam (a] webkit.org> 54 55 Rubber-stamped by Mark "Snowy" Rowe. 56 57 Update iExploder/htdocs/cssproperties.in by running update-iexploder-cssproperties. 58 59 * iExploder/htdocs/cssproperties.in: 60 61 2009-06-13 John Abd-El-Malek <jam (a] chromium.org> 62 63 Reviewed by Eric Seidel. Landed by Adam Barth. 64 65 Removed dead file. 66 https://bugs.webkit.org/show_bug.cgi?id=26308 67 68 * DumpRenderTree/win/TestNetscapePlugin/main.c: Removed. 69 70 2009-06-12 Jan Michael Alonzo <jmalonzo (a] webkit.org> 71 72 Reviewed by Gustavo Noronha. 73 74 [Gtk] use strlen instead of g_utf8_strlen so we can enable more tests. 75 76 * DumpRenderTree/gtk/DumpRenderTree.cpp: 77 (dumpHistoryItem): 78 79 2009-06-12 Gustavo Noronha Silva <gns (a] gnome.org> 80 81 Reviewed by Jan Alonzo. 82 83 https://bugs.webkit.org/show_bug.cgi?id=25599 84 [GTK] Enable more tests 85 86 Implement dumping of status callback. 87 88 * DumpRenderTree/gtk/DumpRenderTree.cpp: 89 (webViewStatusBarTextChanged): 90 (main): 91 92 2009-06-11 John Abd-El-Malek <jam (a] chromium.org> 93 94 Reviewed by Steve Falkenburg. 95 96 https://bugs.webkit.org/show_bug.cgi?id=26306 97 98 Revert 42565 as it leads to DumpRenderTree crashing on startup because 99 Windows can't find CFURLCacheCopySharedURLCache in CoreNetwork.dll. 100 101 * DumpRenderTree/win/DumpRenderTree.cpp: 102 103 2009-06-10 Holger Hans Peter Freyther <zecke (a] selfish.org> 104 105 Reviewed by Jan Alonzo. 106 107 [gtk] Change DumpRenderTree to use a GtkScrolledWindow instead of GtkFixed 108 109 Change the code to use GtkScrolledWindow and resize the GtkScrolledWindow 110 to pass more tests. Make sure the content is bigger than a thumbnail. 111 112 * DumpRenderTree/gtk/DumpRenderTree.cpp: 113 (runTest): 114 (main): 115 116 2009-06-10 Jan Michael Alonzo <jmalonzo (a] webkit.org> 117 118 Reviewed by Gustavo Noronha. 119 120 Clear the frame name before we run each tests so we don't get 121 "someFloaString" or "3" in the target frame name. 122 123 * DumpRenderTree/gtk/DumpRenderTree.cpp: 124 (resetWebViewToConsistentStateBeforeTesting): 125 126 2009-06-10 Dan Bernstein <mitz (a] apple.com> 127 128 Reviewed by Adele Peterson. 129 130 - add a LayoutTestController method for temporarily changing the WebKit 131 cache model 132 133 * DumpRenderTree/LayoutTestController.cpp: 134 (setCacheModelCallback): Added. Calls 135 LayoutTestController::setCacheModel() with the first argument as an 136 integer. 137 (LayoutTestController::staticFunctions): Added setCacheModel. 138 * DumpRenderTree/LayoutTestController.h: 139 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 140 (LayoutTestController::setCacheModel): 141 * DumpRenderTree/mac/DumpRenderTree.mm: 142 (setDefaultsToConsistentValuesForTesting): Reset the cache model to 143 WebCacheModelDocumentBrowser. 144 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 145 (LayoutTestController::setCacheModel): Added. Calls -[WebPreferences 146 setCacheModel:]. 147 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 148 (LayoutTestController::setCacheModel): 149 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 150 (LayoutTestController::setCacheModel): 151 152 2009-06-09 Mark Rowe <mrowe (a] apple.com> 153 154 Reviewed by Sam Weinig. 155 156 Have sunspider-compare-results use the system version of the jsc 157 command line binary as there's no good reason to rebuild from source 158 to simply compare results. 159 160 * Scripts/sunspider-compare-results: 161 162 2009-06-09 Simon Hausmann <simon.hausmann (a] nokia.com> 163 164 Reviewed by Ariya Hidayat. 165 166 Removed setUseFixedLayout and renamed setFixedLayoutSize to 167 setFixedContentsSize. 168 169 * DumpRenderTree/qt/jsobjects.cpp: 170 (LayoutTestController::setFixedContentsSize): 171 * DumpRenderTree/qt/jsobjects.h: 172 173 2009-06-09 Simon Hausmann <simon.hausmann (a] nokia.com> 174 175 Fix the Qt build, add missing function declaration. 176 177 * DumpRenderTree/qt/jsobjects.h: 178 179 2009-06-09 Mark Rowe <mrowe (a] apple.com> 180 181 Reviewed by Dan Bernstein. 182 183 Fix <https://bugs.webkit.org/show_bug.cgi?id=24642>. 184 Bug 24642: REGRESSION: Nightly builds sometimes erroneously display a message about failing to launch successfully 185 186 Safari 4 on Tiger plays some shenanigans during launch that can confuse the nightly launcher application 187 in to running its initialization code too soon. 188 189 * WebKitLauncher/WebKitNightlyEnabler.m: 190 (insideSafariOnTigerTrampoline): Detect these shenanigans. 191 (enableWebKitNightlyBehaviour): Delay initialization when needed. 192 193 2009-06-08 Brady Eidson <beidson (a] apple.com> 194 195 Reviewed by Antti Koivisto 196 197 Add dispatchPendingLoadRequests() to test fix for <rdar://problem/6727495> 198 199 * DumpRenderTree/LayoutTestController.cpp: 200 (dispatchPendingLoadRequestsCallback): 201 (LayoutTestController::staticFunctions): 202 * DumpRenderTree/LayoutTestController.h: 203 204 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 205 (LayoutTestController::dispatchPendingLoadRequests): Implement using [WebView _dispatchPendingLoadRequests] SPI 206 207 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 208 (LayoutTestController::dispatchPendingLoadRequests): Need implementations. 209 * DumpRenderTree/qt/jsobjects.cpp: 210 (LayoutTestController::dispatchPendingLoadRequests): Ditto. 211 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 212 (LayoutTestController::dispatchPendingLoadRequests): Ditto. 213 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 214 (LayoutTestController::dispatchPendingLoadRequests): Ditto. 215 216 2009-06-07 Mark Rowe <mrowe (a] apple.com> 217 218 Rubber-stamped by Cameron Zwarich. 219 220 Delete the AccessibilityController that we allocated in -init. 221 222 * DumpRenderTree/mac/FrameLoadDelegate.mm: 223 (-[FrameLoadDelegate dealloc]): 224 225 2009-06-06 Mark Rowe <mrowe (a] apple.com> 226 227 Reviewed by Dan Bernstein. 228 229 Factor out the code to check whether a library contains a given symbol in to a helper function. 230 231 * Scripts/webkitdirs.pm: 232 233 2009-06-06 Mark Rowe <mrowe (a] apple.com> 234 235 Reviewed by Sam Weinig. 236 237 Detect when XHTML MP and WCSS are disabled and skip their associated regression tests. 238 239 * Scripts/run-webkit-tests: 240 * Scripts/webkitdirs.pm: 241 242 2009-06-06 Mark Rowe <mrowe (a] apple.com> 243 244 Reviewed by Brady Eidson. 245 246 <rdar://problem/6778101> Four SSL-related test failures 247 248 With newer versions of CFNetwork we receive a NSURLErrorServerCertificateUntrusted error 249 code rather than the more specific NSURLErrorServerCertificateHasUnknownRoot that DumpRenderTree 250 was looking for. Update DumpRenderTree to accommodate the different error code. 251 252 * DumpRenderTree/mac/FrameLoadDelegate.mm: 253 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]): 254 255 2009-06-03 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 256 257 Rubber-stamped by Simon Hausmann. 258 259 [Qt] Fix Perl warning when calling chdir with an empty/undefined path 260 261 This happened when the included makespec was in the same directory as 262 the parent makespec, so the relative path between the two was empty. 263 264 * Scripts/webkitdirs.pm: 265 266 2009-06-04 Darin Adler <darin (a] apple.com> 267 268 Reviewed by Tim Hatcher. 269 270 Fix crashes due to unbalanced start/stop observer calls. 271 272 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added observingWebView. 273 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: 274 (-[DumpRenderTreeWindow startObservingWebView]): Call stopObservingWebView 275 in case we're already observing some other WebView. Set observingWebView. 276 (-[DumpRenderTreeWindow stopObservingWebView]): Do nothing if 277 observingWebView is already NO. Clear observingWebView. 278 279 2009-06-03 David Hyatt <hyatt (a] apple.com> 280 281 Reviewed by Sam Weinig. 282 283 * DumpRenderTree/mac/FrameLoadDelegate.mm: 284 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): 285 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 286 (LayoutTestController::setMainFrameIsFirstResponder): 287 Remove explicit calls to _updateFocusedActiveState when the view is made first responder. 288 Focused state already properly updates when views become first responders, so these calls 289 are unnecessary. 290 291 (LayoutTestController::setWindowIsKey): 292 Explicitly call _updateActiveState when our window becomes key, since we're just faking it 293 and the notification won't be sent. 294 295 2009-06-02 Jessie Berlin <jberlin (a] apple.com> 296 297 Reviewed by Mark Rowe. 298 299 Add "replace" behavior so that it shows the addition part of the 300 replacement of the file first, and then shows the changes. 301 302 Future: Add in showing the removal part of the replacement. 303 304 * Scripts/svn-create-patch: 305 306 2009-06-02 Brent Fulgham <bfulgham (a] webkit.org> 307 308 Reviewed by Adam Roben. 309 310 Update WinLauncher for WebKitCreateInstance. 311 https://bugs.webkit.org/show_bug.cgi?id=26136 312 313 * WinLauncher/WinLauncher.cpp: Revise implementation to 314 use WebKitCreateInstance (rather than CoCreateInstance). 315 * WinLauncher/WinLauncher.h: Modify include path for 316 WebKit.h to match DumpRenderTree style. 317 * WinLauncher/WinLauncher.vcproj: Remove unnecessary 318 WebKit.tlb and EmbeddedIDL flags from build. 319 320 2009-06-02 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 321 322 Rubber-stamped by Adam Roben. 323 324 [Qt] Fix Perl warning about uninitialized value (passedConfiguration()) 325 326 * Scripts/webkitdirs.pm: 327 328 2009-06-02 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 329 330 Rubber-stamped by Simon Hausmann. 331 332 Use File::Spec->tmpdir instead of hardcoded paths for tempfile() dir 333 334 This fixes the Windows-build if the user does not have a /tmp directory. 335 336 * Scripts/bisect-builds: 337 338 2009-06-01 Yongjun Zhang <yongjun.zhang (a] nokia.com>> 339 340 Reviewed by Holger Freyther. Landed by Adam Barth. 341 342 <https://bugs.webkit.org/show_bug.cgi?id=26070> 343 344 [Qt] EventSender.keyDown doesn't support Arrow Up and Down keys. 345 Add Down and Up key support. 346 347 * DumpRenderTree/qt/jsobjects.cpp: 348 (EventSender::keyDown): 349 350 2009-06-01 Mark Rowe <mrowe (a] apple.com> 351 352 Reviewed by Sam Weinig. 353 354 svn-create-patch displays confusing "Broken pipe" errors from Subversion 355 when files have been renamed in local working copy. This was happening 356 because we invoke 'svn info' to determine the URL that the file was copied 357 from, but we were closing the pipe to the subprocess before SVN had finished 358 writing its output. 359 360 * Scripts/prepare-ChangeLog: Consume all 'svn info' output before closing the file handle. 361 * Scripts/svn-create-patch: Ditto. 362 363 2009-05-31 Sam Weinig <sam (a] webkit.org> 364 365 Reviewed by Dan Bernstein. 366 367 - implement LayoutTestController::clearAllDatabases() on 368 Windows. 369 370 Needed for storage/transaction-error-callback.html. 371 372 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 373 (LayoutTestController::clearAllDatabases): 374 375 2009-05-28 Dirk Schulze <krit (a] webkit.org> 376 377 Reviewed by Nikolas Zimmermann. 378 379 Added new build flag --filters. More details in WebCore/ChangeLog. 380 381 * Scripts/build-webkit: 382 383 2009-05-28 Olivier DOLE <odole (a] pleyo.com> 384 385 Reviewed by Maciej. 386 387 Add options to sunspider-compare-results to know which test suite to 388 compare (see bug #15941). 389 390 * Scripts/sunspider-compare-results: 391 392 2009-05-27 Mark Rowe <mrowe (a] apple.com> 393 394 Rubber-stamped by Dan Bernstein. 395 396 Update build-webkit to handle a new version of WebKitSystemInterface. 397 398 * Scripts/build-webkit: 399 400 2009-05-27 Fridrich Strba <fridrich.strba (a] bluewin.ch> 401 402 Reviewed by Maciej Stachowiak. 403 404 When building with MinGW, don't use the __declspec(dl{import,export}) 405 decorations and rely on the linker to use its nifty auto-import feature. 406 It is extremely hard to get the decorations right with MinGW in general 407 and impossible in WebKit, where the resulting shared library is linking 408 together some static libraries. 409 410 * DumpRenderTree/config.h: 411 412 2009-05-23 Mark Rowe <mrowe (a] apple.com> 413 414 Reviewed by Oliver Hunt. 415 416 Land the updated version of WebKitLauncher that the nightly builds have been using. 417 418 Changes include: 419 1) Support for self-updating via Sparkle. 420 2) Now respects the "Open using Rosetta" preference. 421 3) Passes environment variables through to the spawned Safari process. 422 4) Logs a list of extensions that are detected to the system console. 423 5) Disables extensions that are known to cause crashes too early in the 424 launch process to be detected by the extension-detection code. 425 426 * WebKitLauncher/Configurations/Base.xcconfig: Added. 427 * WebKitLauncher/Configurations/WebKitLauncher.xcconfig: Added. 428 * WebKitLauncher/Configurations/WebKitNightlyEnabler.xcconfig: Added. 429 * WebKitLauncher/Info.plist: 430 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: 431 * WebKitLauncher/WebKitNightlyEnabler.h: Added. 432 * WebKitLauncher/WebKitNightlyEnabler.m: 433 (myBundleDidLoad): 434 (myApplicationWillFinishLaunching): 435 (poseAsWebKitApp): 436 (webKitLauncherBundle): 437 (enableWebKitNightlyBehaviour): 438 * WebKitLauncher/WebKitNightlyEnablerSparkle.h: Added. 439 * WebKitLauncher/WebKitNightlyEnablerSparkle.m: Added. 440 (initializeSparkle): 441 (updatePermissionPromptDescription): 442 (skipSignatureVerificationInDownloadDidFinish): 443 (updateAlertPanel): 444 (updateAlertInitForAlertPanel): 445 (-[NSAlert webKitHandleButtonPress:]): 446 (setMethodImplementation): 447 * WebKitLauncher/main.m: 448 (displayErrorAndQuit): 449 (getLastVersionShown): 450 (saveLastVersionShown): 451 (getPathForStartPage): 452 (getCurrentVersion): 453 (getShowStartPageVersion): 454 (startPageDisabled): 455 (addStartPageToArgumentsIfNeeded): 456 (preferredArchitecture): 457 (myExecve): 458 (locateSafariBundle): 459 (currentMacOSXVersion): 460 (checkFrameworkPath): 461 (main): 462 463 2009-05-23 Jan Michael Alonzo <jmalonzo (a] webkit.org> 464 465 Reviewed by Gustavo Noronha and Xan Lopez. 466 467 [Gtk] Enable database and localStorage support 468 https://bugs.webkit.org/show_bug.cgi?id=25629 469 470 Enable database and localStorage for running the storage/ tests. 471 472 * DumpRenderTree/gtk/DumpRenderTree.cpp: 473 (resetWebViewToConsistentStateBeforeTesting): 474 475 2009-05-23 David Kilzer <ddkilzer (a] apple.com> 476 477 Part 1 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr 478 479 <https://bugs.webkit.org/show_bug.cgi?id=25495> 480 481 Reviewed by Oliver Hunt. 482 483 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtrCommon.h: Added. 484 * DumpRenderTree/ForwardingHeaders/wtf/PassOwnPtr.h: Added. 485 486 2009-05-23 David Kilzer <ddkilzer (a] apple.com> 487 488 resolve-ChangeLogs: Add missing newline to status message 489 490 * Scripts/resolve-ChangeLogs: Added newline to status message 491 that is printed when the -c|--continue switch is used but there 492 are unmerged files remaining in the git working directory. 493 494 2009-05-23 Eric Seidel <eric (a] webkit.org> 495 496 Reviewed by Mark Rowe. 497 498 Add an error message to a die statement in run-webkit-tests 499 I hit this die when two users tried to run-webkit-tests at the same time. :( 500 501 * Scripts/run-webkit-tests: 502 503 2009-05-22 Andre Pedralho <andre.pedralho (a] openbossa.org> 504 505 Reviewed by Simon Hausmann. 506 507 Fixed --makeargs usage in Qt build. 508 509 * Scripts/build-webkit: 510 511 2009-05-22 Zoltan Horvath <horvath.zoltan.6 (a] stud.u-szeged.hu> 512 513 Reviewed by Simon Hausmann. 514 515 Correcting error message on missing WEBKIT_TESTFONTS 516 environment varible in Qt-port. 517 518 * DumpRenderTree/qt/main.cpp: 519 (main): 520 521 2009-05-21 Eric Seidel <eric (a] webkit.org> 522 523 Rubber-stamped by Antti Koivisto. 524 525 Make it possible to write js-only http tests by exposing a /js-test-resources alias. 526 https://bugs.webkit.org/show_bug.cgi?id=25915 527 528 Second attempt at landing, now using -c instead of -C to make sure 529 that mod_alias is loaded on Apache 1.x instances before using Alias. 530 531 * Scripts/run-webkit-httpd: 532 * Scripts/run-webkit-tests: 533 534 2009-05-21 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 535 536 Reviewed by Xan Lopez. 537 538 Default to running HTTP tests for GTK+. 539 540 * Scripts/run-webkit-tests: 541 542 2009-05-21 Darin Adler <darin (a] apple.com> 543 544 Rolled the httpd changes out, since many machines (including the bots) 545 have an older version of Apache that does not support the Alias command. 546 Or maybe it's something else, but the bots are failing. 547 548 * Scripts/run-webkit-httpd: Rolled back. 549 * Scripts/run-webkit-tests: Ditto. 550 551 2009-05-21 Eric Seidel <eric (a] webkit.org> 552 553 Reviewed by Geoffrey Garen. 554 555 Make it possible to write js-only http tests by exposing a /js-test-resources alias. 556 https://bugs.webkit.org/show_bug.cgi?id=25915 557 558 * Scripts/run-webkit-httpd: 559 * Scripts/run-webkit-tests: 560 561 2009-05-21 Andre Pedralho <andre.pedralho (a] openbossa.org> 562 563 Reviewed by Gustavo Noronha. 564 565 Added --makeargs flag to the build script. 566 567 * Scripts/build-webkit: 568 * Scripts/webkitdirs.pm: 569 570 2009-05-14 Holger Hans Peter Freyther <zecke (a] selfish.org> 571 572 Reviewed by Anders Carlsson. 573 574 https://bugs.webkit.org/show_bug.cgi?id=24510 where 575 576 Add testHasProperty and testHasMethod to the existing functions 577 of the PluginObject to be able to test the browser hasproperty 578 and hasmethod implementation. Invoke them from pluginInvoke. 579 580 Change the defines to an enum to avoid manually updating 581 NUM_METHOD_IDENTIFIERS and assigning numbers. 582 583 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 584 (testHasProperty): test hasproperty 585 (testHasMethod): test hasmethod 586 (pluginInvoke): invoke the two 587 588 2009-05-20 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 589 590 Reviewed by George Staikos. 591 592 BUG 25843: [Qt] Remove qt-port build flag 593 <https://bugs.webkit.org/show_bug.cgi?id=25843> 594 595 * DumpRenderTree/qt/DumpRenderTree.pro: 596 * Scripts/webkitdirs.pm: 597 598 2009-05-18 Eric Seidel <eric (a] webkit.org> 599 600 Reviewed by Oliver Hunt. 601 602 Remove layoutTestController.addFileToPasteboardOnDrag and add eventSender.beginDragWithFiles 603 https://bugs.webkit.org/show_bug.cgi?id=25852 604 605 This allows us to now test multi-file file drags in DumpRenderTree per: 606 https://bugs.webkit.org/show_bug.cgi?id=25862 607 608 I removed the existing tests using addFileToPasteboardOnDrag() 609 and replaced them with a new test (editing/pasteboard/file-input-files-access) 610 which covers several more drag-drop cases. 611 612 I added a DumpRenderTreeFileDraggingSource class to avoid 613 the hack of if (!draggingSource) in [DumpRenderTreeDraggingInfo draggingSourceOperationMask] 614 615 New Test: editing/pasteboard/file-input-files-access.html 616 617 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 618 * DumpRenderTree/DumpRenderTreeFileDraggingSource.h: Added. 619 * DumpRenderTree/DumpRenderTreeFileDraggingSource.m: Added. 620 (-[DumpRenderTreeFileDraggingSource draggingSourceOperationMaskForLocal:]): 621 * DumpRenderTree/LayoutTestController.cpp: 622 (LayoutTestController::LayoutTestController): 623 (LayoutTestController::staticValues): removed addFileToPasteboardOnDrag support 624 (LayoutTestController::staticFunctions): removed addFileToPasteboardOnDrag support 625 * DumpRenderTree/LayoutTestController.h: 626 * DumpRenderTree/mac/DumpRenderTree.mm: 627 (runTest): ASSERT that draggingInfo has been cleared 628 * DumpRenderTree/mac/EventSendingController.mm: 629 (+[EventSendingController isSelectorExcludedFromWebScript:]): Sorted selectors. 630 (+[EventSendingController webScriptNameForSelector:]): Sorted selectors. 631 (-[EventSendingController beginDragWithFiles:]): 632 (-[EventSendingController mouseMoveToX:Y:]): 633 (-[EventSendingController keyDown:withModifiers:]): 634 (-[EventSendingController fireKeyboardEventsToElement:]): removed spurious { } 635 * DumpRenderTree/mac/UIDelegate.mm: 636 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): removed addFileToPasteboardOnDrag support 637 638 2009-05-19 Kevin Ollivier <kevino (a] theolliviers.com> 639 640 wxMSW build fixes for DRT. 641 642 * DumpRenderTree/wx/DumpRenderTreeWx.cpp: 643 (runTest): 644 * DumpRenderTree/wx/WorkQueueItemWx.cpp: 645 (LoadItem::invoke): 646 (ReloadItem::invoke): 647 (ScriptItem::invoke): 648 (BackForwardItem::invoke): 649 650 2009-05-18 Julien Chaffraix <jchaffraix (a] webkit.org> 651 652 Bug 24569: Add some cookies tests 653 654 <https://bugs.webkit.org/show_bug.cgi?id=24569> 655 656 Patch by David Kilzer. 657 658 * Scripts/make-js-test-wrappers: Added regex to skip 659 cookies-test-(post|pre).js files. 660 661 2009-05-18 Kevin Ollivier <kevino (a] theolliviers.com> 662 663 wx build fix. Use python-config to get Python linking info on Unix OSes. 664 665 * wx/build-wxwebkit: 666 667 2009-05-18 Kevin Ollivier <kevino (a] theolliviers.com> 668 669 wx build fix, initialize variable that doesn't get set on Windows. 670 671 * DumpRenderTree/wx/DumpRenderTreeWx.cpp: 672 (MyApp::OnInit): 673 674 2009-05-18 Jan Michael Alonzo <jmalonzo (a] webkit.org> 675 676 Reviewed by Xan Lopez. 677 678 [Gtk] Various autotools build refactoring and fixes 679 https://bugs.webkit.org/show_bug.cgi?id=25286 680 681 Add -no-install and -no-fast-install to programs and tests that we 682 don't install. Also remove -O2 since this is already handled at 683 configure time. 684 685 * GNUmakefile.am: 686 687 2009-05-18 Julie Parent <jparent (a] google.com> 688 689 Reviewed by Oliver Hunt. 690 691 https://bugs.webkit.org/show_bug.cgi?id=25846 692 Make eventSender dispatch a drag over event. 693 694 * DumpRenderTree/mac/UIDelegate.mm: 695 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): 696 697 2009-05-18 Julie Parent <jparent (a] google.com> 698 699 Reviewed by Eric Seidel. 700 701 https://bugs.webkit.org/show_bug.cgi?id=25716 702 703 * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test. 704 705 2009-05-18 Julie Parent <jparent (a] google.com> 706 707 Reviewed by Eric Seidel. 708 709 https://bugs.webkit.org/show_bug.cgi?id=25716 710 711 * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test. 712 713 2009-05-11 Holger Hans Peter Freyther <zecke (a] selfish.org> 714 715 Reviewed by Jan Michael Alonzo. 716 717 https://bugs.webkit.org/show_bug.cgi?id=25787 718 719 Merge r41819 into Gtk. Do not use printf but send messages 720 through the log command. 721 722 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp: 723 (log): 724 (webkit_test_plugin_new_instance): 725 (webkit_test_plugin_destroy_instance): 726 (webkit_test_plugin_set_window): 727 (webkit_test_plugin_handle_event): 728 729 2009-05-11 Holger Hans Peter Freyther <zecke (a] selfish.org> 730 731 Reviewed by Jan Michael Alonzo. 732 733 https://bugs.webkit.org/show_bug.cgi?id=25787 734 735 Forward port r39877 from main.c of OSX to TestNetscapePlugin 736 of Gtk. 737 738 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp: 739 (webkit_test_plugin_new_instance): 740 741 2009-05-15 Kevin Ollivier <kevino (a] theolliviers.com> 742 743 wx build fix. Don't parse args using getopt since it isn't available on Windows. 744 745 * DumpRenderTree/wx/DumpRenderTreeWx.cpp: 746 (MyApp::OnInit): 747 748 2009-05-15 Jan Michael Alonzo <jmalonzo (a] webkit.org> 749 750 Reviewed by Holger Freyther. 751 752 [GTK] Implement layoutTestController.waitForPolicyDelegate 753 https://bugs.webkit.org/show_bug.cgi?id=25036 754 755 Connect to 'navigation-policy-decision-requested' and handle 756 waitForPolicy in the callback. 757 758 * DumpRenderTree/gtk/DumpRenderTree.cpp: 759 (invalidateAnyPreviousWaitToDumpWatchdog): 760 (webViewNavigationPolicyDecisionRequested): 761 (main): 762 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: 763 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 764 (LayoutTestController::notifyDone): 765 (LayoutTestController::waitForPolicyDelegate): 766 767 2009-05-14 David Levin <levin (a] chromium.org> 768 769 Reviewed by Eric Seidel. 770 771 https://bugs.webkit.org/show_bug.cgi?id=24704 772 773 Make paths where data is saved be scoped to the ~ directory, 774 so that one can run independent instances by setting CFFIXED_USER_HOME. 775 776 * DumpRenderTree/mac/DumpRenderTree.mm: 777 (libraryPath): 778 (setDefaultsToConsistentValuesForTesting): 779 (dumpFrameAsPDF): 780 781 2009-05-13 David Kilzer <ddkilzer (a] apple.com> 782 783 Fix resolve-ChangeLogs when used with Subversion 784 785 Reviewed by Darin Adler. 786 787 Fixes the following issue when run on a Subversion repository: 788 789 $ ./WebKitTools/Scripts/resolve-ChangeLogs 790 ERROR: --continue may only be used with a git repository 791 792 * Scripts/resolve-ChangeLogs: Check for the boolean value of 793 $gitRebaseContinue, not whether it's defined, when validating 794 command-line switches. 795 796 2009-05-12 David Kilzer <ddkilzer (a] apple.com> 797 798 Bug 21418: resolve-ChangeLogs should have a --continue option which does git rebase --continue 799 800 <https://bugs.webkit.org/show_bug.cgi?id=21418> 801 802 Reviewed by Darin Adler. 803 804 * Scripts/resolve-ChangeLogs: Added -c|--continue switch that 805 runs "git rebase --continue" before exiting the script. 806 (hasGitUnmergedFiles): Added. Returns true if there are 807 unmerged files in the git repository. 808 809 2009-05-11 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 810 811 Reviewed by Holger Freyther. 812 813 [Qt] Make sure that public APIs are properly exported on all Qt platforms 814 https://bugs.webkit.org/show_bug.cgi?id=25601 815 816 * Scripts/webkitdirs.pm: Remove QT_SHARED define from Qt builds, define QT_MAKEDLL in WebCore.pro instead 817 818 2009-05-07 Kevin Ollivier <kevino (a] theolliviers.com> 819 820 wx build fixes for Python extension and DRT. 821 822 * DumpRenderTree/wx/DumpRenderTreeWx.cpp: 823 (MyApp::OnInit): 824 * wx/build-wxwebkit: 825 826 2009-05-07 Steve Falkenburg <sfalken (a] apple.com> 827 828 Remove manifest fixup from r42729 to fix clean builds. 829 830 * DumpRenderTree/win/DumpRenderTree.vcproj: 831 832 2009-05-06 Kevin Ollivier <kevino (a] theolliviers.com> 833 834 wx build fix, fixes for wx trunk builds. 835 836 * DumpRenderTree/wx/DumpRenderTreeWx.cpp: 837 (MyApp::OnInit): 838 * wx/build-wxwebkit: 839 840 2009-05-06 Steve Falkenburg <sfalken (a] apple.com> 841 842 Explicitly set WebKitPaintNativeControls to false to allow Windows results to match Mac. 843 844 Reviewed by Adam Roben. 845 846 * DumpRenderTree/win/DumpRenderTree.cpp: 847 (resetWebViewToConsistentStateBeforeTesting): 848 849 2009-05-06 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 850 851 Reviewed by Simon Hausmann. 852 853 Build QtWebKit as a framework on Mac 854 855 This implies both debug and release build by default, unless 856 one of the --debug or --release config options are passed to 857 the build-webkit script. 858 859 Frameworks can be disabled by passing CONFIG+=webkit_no_framework 860 to the build-webkit script. 861 862 To be able to build both debug and release targets in parallel 863 we have to use separate output directories for the generated 864 sources, which is not optimal, but required to avoid race conditions. 865 866 An optimization would be to only require this spit-up on Mac. 867 868 * Scripts/webkitdirs.pm: 869 870 2009-05-05 Darin Adler <darin (a] apple.com> 871 872 Try to fix Mac build. 873 874 * DumpRenderTree/AccessibilityUIElement.cpp: (elementAtPointCallback): Initialize x and y. 875 876 2009-05-05 Maclolm MacLeod <mmacleod (a] webmail.co.za> 877 878 Reviewed by Kevin Ollivier. 879 880 Have wxWebkit make use of gcc(4 and greater) hidden visibility feature 881 882 https://bugs.webkit.org/show_bug.cgi?id=24345 883 884 * wx/build-wxwebkit: 885 886 2009-05-05 Chris Fleizach <cfleizach (a] apple.com> 887 888 Reviewed by Beth Dakin. 889 890 Bug 25574: AXImageMap children links don't respond properly to accessibilityHitTest: 891 https://bugs.webkit.org/show_bug.cgi?id=25574 892 893 * DumpRenderTree/AccessibilityUIElement.cpp: 894 (elementAtPointCallback): 895 (getXCallback): 896 (getYCallback): 897 (AccessibilityUIElement::getJSClass): 898 * DumpRenderTree/AccessibilityUIElement.h: 899 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 900 (descriptionOfValue): 901 (AccessibilityUIElement::elementAtPoint): 902 (AccessibilityUIElement::role): 903 (AccessibilityUIElement::title): 904 (AccessibilityUIElement::description): 905 (AccessibilityUIElement::x): 906 (AccessibilityUIElement::y): 907 (AccessibilityUIElement::width): 908 (AccessibilityUIElement::height): 909 (AccessibilityUIElement::intValue): 910 (AccessibilityUIElement::minValue): 911 (AccessibilityUIElement::maxValue): 912 (AccessibilityUIElement::insertionPointLineNumber): 913 (AccessibilityUIElement::supportsPressAction): 914 (AccessibilityUIElement::lineForIndex): 915 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 916 (AccessibilityUIElement::elementAtPoint): 917 (AccessibilityUIElement::x): 918 (AccessibilityUIElement::y): 919 920 2009-05-06 Christian Dywan <christian (a] twotoasts.de> 921 922 Reviewed by Gustavo Noronha. 923 924 http://bugs.webkit.org/show_bug.cgi?id=17066 925 [GTK] Improve frameloader signals 926 927 Update GtkLauncher to use the new load-status and progress properties 928 instead of the previous loading signals. 929 930 * GtkLauncher/main.c: 931 (update_title): 932 (notify_load_status_cb): 933 (notify_progress_cb): 934 (create_browser): 935 (create_window): 936 937 2009-05-05 Adam Roben <aroben (a] apple.com> 938 939 Don't use pdevenv when building with VC++ Express 940 941 Fixes Bug 25308: REGRESSION (r42182): Build fails after following 942 build instructions on webkit.org fail when using VC++ Express 943 <https://bugs.webkit.org/show_bug.cgi?id=25308> 944 945 Reviewed by Eric Seidel. 946 947 * Scripts/webkitdirs.pm: 948 (setupCygwinEnv): When Visual Studio is installed, set $vcBuildPath to 949 point to pdevenv. When VC++ Express is installed, set $vcBuildPath to 950 point to VC++ Express, as before. 951 (buildVisualStudioProject): Use $vcBuildPath to build instead of 952 hard-coding pdevenv. 953 954 2009-05-05 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 955 956 Rubber-stamped by Simon Hausmann. 957 958 Mention --qt as an option in the build-webkit help 959 960 * Scripts/build-webkit: 961 962 2009-05-04 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 963 964 Reviewed by Alexey Proskuryakov. 965 966 Enable spell-checking in DumpRenderTree. 967 968 * DumpRenderTree/gtk/DumpRenderTree.cpp: 969 (resetWebViewToConsistentStateBeforeTesting): 970 971 2009-05-04 Kevin Ollivier <kevino (a] theolliviers.com> 972 973 Reviewed by Eric Seidel. 974 975 Initial DRT implementation for wx. 976 977 * DumpRenderTree/DumpRenderTree.h: 978 * DumpRenderTree/wx: Added. 979 * DumpRenderTree/wx/DumpRenderTree.bkl: Added. 980 * DumpRenderTree/wx/DumpRenderTreeWx.cpp: Added. 981 (LayoutWebViewEventHandler::LayoutWebViewEventHandler): 982 (LayoutWebViewEventHandler::bindEvents): 983 (LayoutWebViewEventHandler::OnLoadEvent): 984 (LayoutWebViewEventHandler::OnAlertEvent): 985 (LayoutWebViewEventHandler::OnConfirmEvent): 986 (LayoutWebViewEventHandler::OnPromptEvent): 987 (LayoutWebViewEventHandler::OnConsoleMessageEvent): 988 (LayoutWebViewEventHandler::OnReceivedTitleEvent): 989 (LayoutWebViewEventHandler::OnWindowObjectClearedEvent): 990 (notifyDoneFired): 991 (dumpFramesAsText): 992 (dump): 993 (runTest): 994 (MyApp::OnInit): 995 * DumpRenderTree/wx/DumpRenderTreeWx.h: Added. 996 * DumpRenderTree/wx/GCControllerWx.cpp: Added. 997 (GCController::collect): 998 (GCController::collectOnAlternateThread): 999 (GCController::getJSObjectCount): 1000 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Added. 1001 (LayoutTestController::~LayoutTestController): 1002 (LayoutTestController::addDisallowedURL): 1003 (LayoutTestController::clearBackForwardList): 1004 (LayoutTestController::copyDecodedHostName): 1005 (LayoutTestController::copyEncodedHostName): 1006 (LayoutTestController::display): 1007 (LayoutTestController::keepWebHistory): 1008 (LayoutTestController::notifyDone): 1009 (LayoutTestController::pathToLocalResource): 1010 (LayoutTestController::queueLoad): 1011 (LayoutTestController::setAcceptsEditing): 1012 (LayoutTestController::setCustomPolicyDelegate): 1013 (LayoutTestController::setMainFrameIsFirstResponder): 1014 (LayoutTestController::setTabKeyCyclesThroughElements): 1015 (LayoutTestController::setUseDashboardCompatibilityMode): 1016 (LayoutTestController::setUserStyleSheetEnabled): 1017 (LayoutTestController::setUserStyleSheetLocation): 1018 (LayoutTestController::setWindowIsKey): 1019 (LayoutTestController::setSmartInsertDeleteEnabled): 1020 (LayoutTestController::setJavaScriptProfilingEnabled): 1021 (LayoutTestController::setWaitToDump): 1022 (LayoutTestController::windowCount): 1023 (LayoutTestController::setPrivateBrowsingEnabled): 1024 (LayoutTestController::setAuthorAndUserStylesEnabled): 1025 (LayoutTestController::setPopupBlockingEnabled): 1026 (LayoutTestController::elementDoesAutoCompleteForElementWithId): 1027 (LayoutTestController::execCommand): 1028 (LayoutTestController::setPersistentUserStyleSheetLocation): 1029 (LayoutTestController::clearPersistentUserStyleSheet): 1030 (LayoutTestController::clearAllDatabases): 1031 (LayoutTestController::setDatabaseQuota): 1032 (LayoutTestController::numberOfActiveAnimations): 1033 (LayoutTestController::setSelectTrailingWhitespaceEnabled): 1034 (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 1035 (LayoutTestController::setIconDatabaseEnabled): 1036 (LayoutTestController::pauseAnimationAtTimeOnElementWithId): 1037 (LayoutTestController::isCommandEnabled): 1038 (LayoutTestController::webHistoryItemCount): 1039 (LayoutTestController::waitForPolicyDelegate): 1040 * DumpRenderTree/wx/WorkQueueItemWx.cpp: Added. 1041 (LoadItem::invoke): 1042 (ReloadItem::invoke): 1043 (ScriptItem::invoke): 1044 (BackForwardItem::invoke): 1045 * Scripts/build-dumprendertree: 1046 * Scripts/run-webkit-tests: 1047 * Scripts/webkitdirs.pm: 1048 * wx/build-wxwebkit: 1049 1050 2009-05-03 Sam Weinig <sam (a] webkit.org> 1051 1052 Reviewed by Geoffrey Garen. 1053 1054 Don't pass an exception parameter if we don't care about the value. 1055 1056 * DumpRenderTree/win/EventSender.cpp: 1057 (keyDownCallback): 1058 1059 2009-05-02 Darin Adler <darin (a] apple.com> 1060 1061 Reviewed by Sam Weinig. 1062 1063 Another cut at getting tests passing on Windows again. 1064 1065 * DumpRenderTree/win/FrameLoadDelegate.cpp: 1066 (FrameLoadDelegate::didStartProvisionalLoadForFrame): Tweak formatting. 1067 (FrameLoadDelegate::didFailProvisionalLoadWithError): Ditto. 1068 (FrameLoadDelegate::didCommitLoadForFrame): Ditto. 1069 (FrameLoadDelegate::didFinishLoadForFrame): Ditto. 1070 (FrameLoadDelegate::didFailLoadWithError): Added missing logging. 1071 1072 2009-05-02 Darin Adler <darin (a] apple.com> 1073 1074 Reviewed by Sam Weinig. 1075 1076 Try to get tests passing on Windows again. 1077 1078 * DumpRenderTree/win/DumpRenderTree.cpp: 1079 (shouldLogFrameLoadDelegates): Allow either "/" or "\" as a path 1080 separator. Also require separator before as well as after path name. 1081 1082 2009-04-30 Kevin Ollivier <kevino (a] theolliviers.com> 1083 1084 wx build fix, define ENABLE_JAVASCRIPT_DEBUGGER. 1085 1086 * wx/build-wxwebkit: 1087 1088 2009-04-30 Dimitri Glazkov <dglazkov (a] chromium.org> 1089 1090 Reviewed by Timothy Hatcher. 1091 1092 https://bugs.webkit.org/show_bug.cgi?id=25470 1093 Extend the cover of ENABLE_JAVASCRIPT_DEBUGGER to profiler. 1094 1095 * Scripts/build-webkit: Added ENABLE_JAVASCRIPT_DEBUGGER define. 1096 1097 2009-04-29 Mark Rowe <mrowe (a] apple.com> 1098 1099 Update build.webkit.org configuration for the addition of the new GTK buildbot. 1100 1101 * BuildSlaveSupport/build.webkit.org-config/config.json: 1102 1103 2009-04-29 Mark Rowe <mrowe (a] apple.com> 1104 1105 Ignore the --use-remote-links-to-tests option for GTK as it leads to 1106 perl errors being spewed at the end of run-webkit-tests. 1107 1108 * Scripts/run-webkit-tests: 1109 1110 2009-04-29 Mark Rowe <mrowe (a] apple.com> 1111 1112 Implement test-result-archive for GTK. 1113 1114 * BuildSlaveSupport/test-result-archive: 1115 1116 2009-04-28 Pierre d'Herbemont <pdherbemont (a] apple.com> 1117 1118 Reviewed by David Kilzer. 1119 1120 https://bugs.webkit.org/show_bug.cgi?id=25462 1121 1122 Make sure "--pixel --add-platform-exceptions" produces platform 1123 specific pixel test results. 1124 1125 * Scripts/run-webkit-tests: Support "--pixel 1126 --add-platform-exceptions" 1127 1128 2009-04-28 Steve Falkenburg <sfalken (a] apple.com> 1129 1130 Fix link warnings building TestNetscapePlugin on Windows due to mismatched 1131 DLL name vs. LIBRARY directive name. 1132 1133 Reviewed by Jon Honeycutt. 1134 1135 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def: 1136 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 1137 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def: Added. 1138 1139 2009-04-28 Steve Falkenburg <sfalken (a] apple.com> 1140 1141 Fix warnings about PRODUCTION and ARCHIVE_BUILD on Windows builds 1142 of ImageDiff and DumpRenderTree. 1143 1144 Rubber stamped by Adam Roben. 1145 1146 * DumpRenderTree/win/DumpRenderTree.vcproj: 1147 * DumpRenderTree/win/ImageDiff.vcproj: 1148 1149 2009-04-28 Chris Fleizach <cfleizach (a] apple.com> 1150 1151 Reviewed by Darin Adler. 1152 1153 Add ability to get the children count of an AX element. 1154 1155 * DumpRenderTree/AccessibilityUIElement.cpp: 1156 (getChildrenCountCallback): 1157 (AccessibilityUIElement::getJSClass): 1158 * DumpRenderTree/AccessibilityUIElement.h: 1159 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 1160 (AccessibilityUIElement::childrenCount): 1161 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 1162 (AccessibilityUIElement::childrenCount): 1163 1164 2009-04-27 Jan Michael Alonzo <jmalonzo (a] webkit.org> 1165 1166 Reviewed by Gustavo Noronha. 1167 1168 [GTK] Make layout tests / jsc tests usable without build-webkit 1169 https://bugs.webkit.org/show_bug.cgi?id=21784 1170 1171 This requires WEBKITOUTPUTDIR to be set to the build directory. 1172 Set the location of the product dir to the location pointed to by 1173 WEBKITOUTPUTDIR. 1174 1175 * Scripts/webkitdirs.pm: 1176 1177 2009-04-27 Gustavo Noronha Silva <gns (a] gnome.org> 1178 1179 Reviewed by Adam Roben. 1180 1181 Use libsoup's facilities to resolve relative URLs, instead, since 1182 it is a more robust method. 1183 1184 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 1185 (LayoutTestController::queueLoad): 1186 1187 2009-04-26 Gustavo Noronha Silva <gns (a] gnome.org> 1188 1189 Reviewed by Xan Lopez. 1190 1191 Resolve relative URLs when queueing loads. This fixes 1192 post-goback-same-url.html timing out. 1193 1194 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 1195 (LayoutTestController::queueLoad): 1196 1197 2009-04-24 Kevin Ollivier <kevino (a] theolliviers.com> 1198 1199 wx build fix. Switching JSCore from a static lib to a dynamic lib 1200 to match the Apple build and fix symbol exports. 1201 1202 * wx/build-wxwebkit: 1203 1204 2009-04-24 Eric Seidel <eric (a] webkit.org> 1205 1206 Reviewed by Adam Roben. 1207 1208 Add PrettyPatch support to run-webkit-tests 1209 1210 * Scripts/run-webkit-tests: 1211 1212 2009-04-24 Steve Falkenburg <sfalken (a] apple.com> 1213 1214 Fix nightly for Windows x64 users. 1215 Installed browser location is written to a slightly different registry key in that case. 1216 1217 * FindSafari/FindSafari.cpp: 1218 (getInstalledWebKitDirectory): 1219 1220 2009-04-23 Mark Rowe <mrowe (a] apple.com> 1221 1222 Fix the Windows DRT build. 1223 1224 * DumpRenderTree/win/PolicyDelegate.h: 1225 1226 2009-04-23 Brady Eidson <beidson (a] apple.com> 1227 1228 Fix Windows DRT build. 1229 1230 * DumpRenderTree/win/PolicyDelegate.cpp: 1231 (PolicyDelegate::unableToImplementPolicyWithError): 1232 1233 2009-04-22 Brady Eidson <beidson (a] apple.com> 1234 1235 Reviewed by Maciej Stachowiak 1236 1237 Add additional support for test: 1238 <rdar://problem/5689748> - Cannot redirect to protocols handled by external applications. 1239 1240 * DumpRenderTree/mac/PolicyDelegate.mm: 1241 (-[PolicyDelegate webView:unableToImplementPolicyWithError:frame:]): Dump formatted information when 1242 a policy cannot be implemented. 1243 1244 * DumpRenderTree/win/PolicyDelegate.cpp: 1245 (PolicyDelegate::unableToImplementPolicyWithError): Ditto. 1246 * DumpRenderTree/win/PolicyDelegate.h: 1247 1248 2009-04-22 Sam Weinig <sam (a] webkit.org> 1249 1250 Rubber-stamped by Darin Adler. 1251 1252 Fix for <rdar://problem/6816957> 1253 Turn off Geolocation by default 1254 1255 * Scripts/build-webkit: 1256 1257 2009-04-21 Dan Bernstein <mitz (a] apple.com> 1258 1259 Reviewed by Jon Honeycutt. 1260 1261 - dump the node in the element dictionary in the action information 1262 passed to the policy delegate 1263 1264 * DumpRenderTree/mac/PolicyDelegate.mm: 1265 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): 1266 * DumpRenderTree/win/PolicyDelegate.cpp: 1267 (dumpPath): 1268 (PolicyDelegate::decidePolicyForNavigationAction): 1269 1270 2009-04-21 Adam Roben <aroben (a] apple.com> 1271 1272 Windows build fix after r42726 1273 1274 * DumpRenderTree/win/DumpRenderTree.cpp: Touched to force a rebuild. 1275 * DumpRenderTree/win/DumpRenderTree.vcproj: Delete any pre-r42726 1276 manifest files during the pre-build event. 1277 1278 2009-04-21 Steve Falkenburg <sfalken (a] apple.com> 1279 1280 Use new WebKitCreateInstance API instead of CoCreateInstance 1281 or COMPtr's createInstance to instantiate WebKit COM objects. 1282 1283 Reviewed by Adam Roben. 1284 1285 * DumpRenderTree/win/DumpRenderTree.cpp: 1286 (initialize): 1287 (runTest): 1288 (createWebViewAndOffscreenWindow): 1289 (main): 1290 * DumpRenderTree/win/DumpRenderTree.vcproj: 1291 * DumpRenderTree/win/GCControllerWin.cpp: 1292 (GCController::collect): 1293 (GCController::collectOnAlternateThread): 1294 (GCController::getJSObjectCount): 1295 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 1296 (LayoutTestController::keepWebHistory): 1297 (LayoutTestController::webHistoryItemCount): 1298 (LayoutTestController::setIconDatabaseEnabled): 1299 * DumpRenderTree/win/WorkQueueItemWin.cpp: 1300 (LoadItem::invoke): 1301 1302 2009-04-20 Timothy Hatcher <timothy (a] apple.com> 1303 1304 Stop using the fullDocumentTeardownEnabled WebPreference methods. 1305 Just set the WebKitEnableFullDocumentTeardownPreferenceKey default. 1306 1307 Reviewed by Darin Adler. 1308 1309 * DumpRenderTree/mac/DumpRenderTree.mm: 1310 (setDefaultsToConsistentValuesForTesting): 1311 (resetWebViewToConsistentStateBeforeTesting): 1312 1313 2009-04-21 Geoffrey Garen <ggaren (a] apple.com> 1314 1315 Rubber-stamped by Adam Roben. 1316 1317 Disabled one more Mozilla JS test because it fails intermittently on Windows. 1318 (See https://bugs.webkit.org/show_bug.cgi?id=25160.) 1319 1320 * Scripts/run-javascriptcore-tests: 1321 1322 2009-04-21 Adam Roben <aroben (a] apple.com> 1323 1324 Fix running run-safari and run-webkit-tests from the paths recommended 1325 on webkit.org 1326 1327 Reviewed by Steve Falkenburg and Sam Weinig. 1328 1329 * Scripts/run-webkit-nightly.cmd: Moved quotes from variable 1330 definitions to variable uses. Otherwise cmd.exe can get confused about 1331 the quoting. 1332 * Scripts/run-webkit-tests: Changed to use an absolute path to 1333 execAppWithEnv so that run-webkit-tests will work when run from 1334 outside the source tree. 1335 1336 2009-04-21 Adam Roben <aroben (a] apple.com> 1337 1338 Rename JavaScriptCore_debug.dll to JavaScriptCore.dll in the Debug 1339 configuration 1340 1341 This matches the naming scheme for WebKit.dll, and will be necessary 1342 once Safari links against JavaScriptCore.dll. This change also causes 1343 run-safari not to fail (because the launcher printed by FindSafari was 1344 always looking for JavaScriptCore.dll, never 1345 JavaScriptCore_debug.dll). 1346 1347 Part of Bug 25305: can't run safari or drt on windows 1348 <https://bugs.webkit.org/show_bug.cgi?id=25305> 1349 1350 Reviewed by Steve Falkenburg and Sam Weinig. 1351 1352 * DumpRenderTree/win/DumpRenderTree.vcproj: Use 1353 $(WebKitDLLConfigSuffix) for naming JavaScriptCore.{dll,lib}. 1354 1355 2009-04-21 Steve Falkenburg <sfalken (a] apple.com> 1356 1357 Update FindSafari for JavaScriptCore DLL changes. 1358 Also removed code previously needed to support running nightlies against Safari 3 on Windows. 1359 1360 Reviewed by Mark Rowe. 1361 1362 * FindSafari/FindSafari.cpp: 1363 (getStringValue): 1364 (getInstalledWebKitDirectory): 1365 (_tmain): 1366 1367 2009-04-20 Darin Adler <darin (a] apple.com> 1368 1369 Reviewed by Sam Weinig. 1370 1371 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added PlainTextController.h 1372 and PlainTextController.mm. 1373 1374 * DumpRenderTree/mac/FrameLoadDelegate.mm: 1375 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): Added PlainTextController 1376 as "window.plainText". 1377 1378 * DumpRenderTree/mac/PlainTextController.h: Added. 1379 * DumpRenderTree/mac/PlainTextController.mm: Added. 1380 1381 2009-04-20 Steve Falkenburg <sfalken (a] apple.com> 1382 1383 Separate JavaScriptCore.dll from WebKit.dll. 1384 Slight performance improvement or no change on benchmarks. 1385 1386 Allows us to break a circular dependency between CFNetwork and WebKit on Windows, 1387 and simplifies standalone JavaScriptCore builds. 1388 1389 Reviewed by Oliver Hunt. 1390 1391 * DumpRenderTree/config.h: Specify JS, WebKit exported data as __declspec(dllimport) 1392 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against JavaScriptCore.dll 1393 1394 2009-04-20 Sam Weinig <sam (a] webkit.org> 1395 1396 Rubber-stamped by Tim Hatcher. 1397 1398 Add licenses for xcconfig files. 1399 1400 * DumpRenderTree/mac/Configurations/Base.xcconfig: 1401 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: 1402 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: 1403 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: 1404 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: 1405 1406 2009-04-19 David Kilzer <ddkilzer (a] apple.com> 1407 1408 Make FEATURE_DEFINES completely dynamic 1409 1410 Reviewed by Darin Adler. 1411 1412 Make FEATURE_DEFINES depend on individual ENABLE_FEATURE_NAME 1413 variables for each feature, making it possible to remove all 1414 knowledge of FEATURE_DEFINES from build-webkit. 1415 1416 * Scripts/build-webkit: Define individual ENABLE_FEATURE_NAME 1417 variables instead of the whole FEATURE_DEFINES string when 1418 building with Xcode. Miscellaneous clean up: 1419 - Reordered/sorted command-line switch variables. 1420 - Reordered/sorted command-line switches in $usage. 1421 - Reordered/sorted command-line switches in GetOptions(). 1422 - Defined $svgSupport to true if any --svg-feature switch is 1423 set in order to match "Implies SVG Support" claim. 1424 - Build JavaScriptGlue after JavaScriptCore again! 1425 - Fixed --[no-]geolocation for GTK+ port and sorted GTK+ 1426 command-line switches. 1427 - Added "exit 0" statement at the end of the script. 1428 1429 2009-04-17 David Kilzer <ddkilzer (a] apple.com> 1430 1431 Simplify FEATURE_DEFINES definition 1432 1433 Reviewed by Darin Adler. 1434 1435 This moves FEATURE_DEFINES and its related ENABLE_FEATURE_NAME 1436 variables to their own FeatureDefines.xcconfig file. It also 1437 extracts a new ENABLE_GEOLOCATION variable so that 1438 FEATURE_DEFINES only needs to be defined once. 1439 1440 * Scripts/build-webkit: Realphabetized code related to enabling 1441 Geolation features for WebKit. Also set ENABLE_GEOLOCATION 1442 variable for xcodebuild. 1443 1444 2009-04-16 Darin Fisher <darin (a] chromium.org> 1445 1446 Reviewed by Darin Adler. 1447 1448 https://bugs.webkit.org/show_bug.cgi?id=25223 1449 REGRESSION: Back button after form submission to the same URL fails to navigate. 1450 1451 * DumpRenderTree/mac/FrameLoadDelegate.mm: 1452 (-[FrameLoadDelegate processWork:]): Need to defer processing the work 1453 queue if a navigation started between locationChangeDone and our 1454 delayed processWork call. This can happen when using queueLoadingScript 1455 to load script that simulates a click on a link or submit button since 1456 those clicks happen asynchronously. 1457 * DumpRenderTree/win/FrameLoadDelegate.cpp: 1458 (FrameLoadDelegate::processWork): Same as above. 1459 1460 2009-04-16 Geoffrey Garen <ggaren (a] apple.com> 1461 1462 Build fix: updated check-for-global-initializers to account for code motion. 1463 1464 * Scripts/check-for-global-initializers: 1465 1466 2009-04-16 Zan Dobersek <zandobersek (a] gmail.com> 1467 1468 Reviewed by Adam Roben. 1469 1470 Compare test's response mime type and dump test as text properly. 1471 1472 * DumpRenderTree/gtk/DumpRenderTree.cpp: 1473 (dump): 1474 1475 1476 2009-04-16 Adam Roben <aroben (a] apple.com> 1477 1478 Skip yet another JavaScriptCore test that sometimes fails on Windows 1479 1480 See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but 1481 not Mac) 1482 <https://bugs.webkit.org/show_bug.cgi?id=25160> 1483 1484 * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-6.js. 1485 1486 2009-04-15 Steve Falkenburg <sfalken (a] apple.com> 1487 1488 Redo last build fix in a more straightforward way. 1489 1490 * DumpRenderTree/win/DumpRenderTree.cpp: 1491 (sharedCFURLCache): 1492 1493 2009-04-15 Steve Falkenburg <sfalken (a] apple.com> 1494 1495 Fix Windows build of DumpRenderTree. 1496 1497 * DumpRenderTree/win/DumpRenderTree.cpp: 1498 (sharedCFURLCache): 1499 (main): 1500 1501 2009-04-15 Adam Roben <aroben (a] apple.com> 1502 1503 Skip yet another JavaScriptCore test that sometimes fails on Windows 1504 1505 See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but 1506 not Mac) 1507 <https://bugs.webkit.org/show_bug.cgi?id=25160> 1508 1509 * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-2.js (who 1510 didn't see it coming?). 1511 1512 2009-04-14 Adam Roben <aroben (a] apple.com> 1513 1514 Skip another JavaScriptCore test that sometimes fails on Windows 1515 1516 See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but 1517 not Mac) 1518 <https://bugs.webkit.org/show_bug.cgi?id=25160> 1519 1520 Rubber-stamped by Geoff Garen. 1521 1522 * Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-3.js. 1523 1524 2009-04-14 Kevin Ollivier <kevino (a] theolliviers.com> 1525 1526 wx build fix. Move the DerivedSources.make calls into build-wxwebkit so that 1527 the FEATURE_DEFINES are parsed properly. 1528 1529 * wx/build-wxwebkit: 1530 1531 2009-04-14 Adam Roben <aroben (a] apple.com> 1532 1533 Small run-javascriptcore-tests cleanup 1534 1535 Reviewed by Cameron Zwarich. 1536 1537 * Scripts/run-javascriptcore-tests: Move the list of tests to skip 1538 into its own variable, annotated with the bugs that are filed about 1539 the various failures. 1540 1541 2009-04-14 Adam Roben <aroben (a] apple.com> 1542 1543 Skip another sometimes-failing ecma/Date test on Windows 1544 1545 These failing tests are covered by Bug 25160: Various ecma/Date tests 1546 sometimes fail on Windows (but not Mac) 1547 <https://bugs.webkit.org/show_bug.cgi?id=25160> 1548 1549 Reviewed by Cameron Zwarich. 1550 1551 * Scripts/run-javascriptcore-tests: Added ecma/Date/15.9.2.1.js to the 1552 list of tests to skip. 1553 1554 2009-04-14 Jan Michael Alonzo <jmalonzo (a] webkit.org> 1555 1556 Reviewed by Holger Freyther. 1557 1558 [Gtk] disable soup auth dialog when running DRT 1559 https://bugs.webkit.org/show_bug.cgi?id=24598 1560 1561 Disable soup's auth dialog when running the tests. 1562 1563 * DumpRenderTree/gtk/DumpRenderTree.cpp: 1564 (setDefaultsToConsistentStateValuesForTesting): 1565 * GNUmakefile.am: 1566 1567 2009-04-13 Darin Adler <darin (a] apple.com> 1568 1569 Reviewed by Mark Rowe. 1570 1571 * Scripts/check-for-exit-time-destructors: Add ERROR: and WARNING: prefixes to 1572 make these scripts work better with the build window in new versions of Xcode. 1573 * Scripts/check-for-global-initializers: Ditto. 1574 * Scripts/check-for-weak-vtables: Ditto. 1575 1576 2009-04-13 Geoffrey Garen <ggaren (a] apple.com> 1577 1578 Reviewed by Sam Weinig. 1579 1580 Disabled another JavaScriptCore test because it fails on Windows but 1581 not Mac, so it makes the bots red. 1582 1583 * Scripts/run-javascriptcore-tests: 1584 1585 2009-04-13 Geoffrey Garen <ggaren (a] apple.com> 1586 1587 Reviewed by Sam Weinig. 1588 1589 Disabled two JavaScriptCore tests because they fail on Window or Mac but 1590 not both, so they make the bots red. 1591 1592 * Scripts/run-javascriptcore-tests: 1593 1594 2009-04-13 Darin Adler <darin (a] apple.com> 1595 1596 * Scripts/make-js-test-wrappers: Added another exception. 1597 1598 2009-04-10 Adam Roben <aroben (a] apple.com> 1599 1600 Add our new test font to the list that DRT knows about 1601 1602 Reviewed by Dan Bernstein. 1603 1604 * DumpRenderTree/win/DumpRenderTree.cpp: 1605 (initialize): Added WebKit Layout Tests 2.ttf. 1606 1607 2009-04-09 Jan Michael Alonzo <jmalonzo (a] webkit.org> 1608 1609 Unreviewed Gtk build fix for undefined reference: g_thread_init. 1610 Add GLIB_LIBS to DRT and GtkLauncher build config. 1611 1612 * GNUmakefile.am: 1613 1614 2009-04-09 David Kilzer <ddkilzer (a] apple.com> 1615 1616 Reinstating <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings 1617 1618 Rolled r42345 back in. The build failure was caused by an 1619 internal script which had not been updated the same way that 1620 build-webkit was updated. 1621 1622 * Scripts/build-webkit: 1623 1624 2009-04-09 David Levin <levin (a] chromium.org> 1625 1626 Reviewed by David Kilzer. 1627 1628 https://bugs.webkit.org/show_bug.cgi?id=25101 1629 1630 Launch DumpRenderTree and the image diff tool in a way that will work from perl threads. 1631 This is a workaround due to a perl limitation. When perl does open* calls on a thread, it ignores 1632 the environment of the current thread and simply uses the environment of the main thread instead. 1633 1634 * Scripts/execAppWithEnv: Added. 1635 * Scripts/run-webkit-tests: 1636 1637 2009-04-09 Alexey Proskuryakov <ap (a] webkit.org> 1638 1639 Reverting <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings. 1640 It broke Mac build, and I don't know how to fix it. 1641 1642 * Scripts/build-webkit: 1643 1644 2009-04-08 David Kilzer <ddkilzer (a] apple.com> 1645 1646 <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings 1647 1648 Reviewed by Darin Adler and Maciej Stachowiak. 1649 1650 Introduce the ENABLE_SVG_DOM_OBJC_BINDINGS feature define so 1651 that SVG DOM Objective-C bindings may be optionally disabled. 1652 1653 * Scripts/build-webkit: Added --[no-]svg-dom-objc-bindings 1654 command-line argument. Set special ENABLE_SVG_DOM_OBJC_BINDINGS 1655 Xcode variable required by WebCore.xcconfig. 1656 1657 2009-04-07 Adam Roben <aroben (a] apple.com> 1658 1659 Print the number of files being compiled when using pdevenv 1660 1661 * Scripts/parallelcl: 1662 1663 2009-04-07 Mark Rowe <mrowe (a] apple.com> 1664 1665 Land the current build.webkit.org configuration for safekeeping. 1666 1667 * BuildSlaveSupport/build.webkit.org-config/README: Added. 1668 * BuildSlaveSupport/build.webkit.org-config/Makefile: 1669 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: 1670 * BuildSlaveSupport/build.webkit.org-config/config.json: Added. 1671 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 1672 * BuildSlaveSupport/build.webkit.org-config/public_html/buildbot.css: Renamed from BuildSlaveSupport/build.webkit.org-config/buildbot.css. 1673 * BuildSlaveSupport/build.webkit.org-config/public_html/index.html: Added. 1674 * BuildSlaveSupport/build.webkit.org-config/public_html/robots.txt: Added. 1675 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Removed. 1676 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Removed. 1677 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Removed. 1678 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Removed. 1679 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Removed. 1680 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Removed. 1681 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Removed. 1682 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Removed. 1683 1684 2009-04-07 Mark Rowe <mrowe (a] apple.com> 1685 1686 Ignore the mysterious exception that Cygwin's Python is throwing when attempting 1687 to remove the layout-test-results directory. 1688 1689 * BuildSlaveSupport/test-result-archive: 1690 1691 2009-04-07 Mark Rowe <mrowe (a] apple.com> 1692 1693 Change the working directory before removing the test result directory 1694 in the hopes of making the Windows build slaves happier. 1695 1696 * BuildSlaveSupport/test-result-archive: 1697 1698 2009-04-07 Mark Rowe <mrowe (a] apple.com> 1699 1700 Reviewed by Adam Roben. 1701 1702 Make the links to tests in the uploaded results.html files on build.webkit.org point to the test files. 1703 1704 * Scripts/VCSUtils.pm: Add a function that will return the location of a file relative to the root of the working copy. 1705 * Scripts/run-webkit-tests: Convert the path in to a remote URL if the path is below the layout tests directory. 1706 1707 2009-04-07 Mark Rowe <mrowe (a] apple.com> 1708 1709 Remove the layout-test-results directory after we have archived it so that 1710 log files and results are reset between runs of the tests. 1711 1712 * BuildSlaveSupport/test-result-archive: 1713 1714 2009-04-07 Mark Rowe <mrowe (a] apple.com> 1715 1716 Helper script for uploading layout test results for display on build.webkit.org. 1717 1718 * BuildSlaveSupport/test-result-archive: Copied from WebKitTools/BuildSlaveSupport/built-product-archive. 1719 1720 2009-04-11 Brian Weinstein <bweinstein (a] gmail.com> 1721 1722 Reviewed by Darin Adler. 1723 1724 https://bugs.webkit.org/show_bug.cgi?id=24908 1725 1726 Allows timeout to be set in run-webkit-tests as a command line argument. 1727 1728 * Scripts/run-webkit-tests: 1729 1730 2009-04-06 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 1731 1732 Rubber-stamped by Tor Arne Vestb. 1733 1734 Add /Programs to the productDir for GTK+, instead of adding 1735 /JavaScriptCore, when running jsc. 1736 1737 * Scripts/run-sunspider: 1738 1739 2009-04-04 Kevin Ollivier <kevino (a] theolliviers.com> 1740 1741 Build fixes for wxMac/Tiger and PPC builds. 1742 1743 * wx/build-wxwebkit: 1744 1745 2009-04-04 Kevin Ollivier <kevino (a] theolliviers.com> 1746 1747 wx build fix. Update the version of ICU dlls. 1748 1749 * wx/build-wxwebkit: 1750 1751 2009-04-03 Stephanie Lewis <slewis (a] apple.com> 1752 1753 Reviewed by Mark Rowe. 1754 1755 Fix running DumpRenderTree with a root. 1756 1757 * Scripts/run-webkit-tests: 1758 1759 2009-04-02 Adam Roben <aroben (a] apple.com> 1760 1761 Build fix for Windows machines that don't have WebKitTools/Scipts in 1762 their PATH 1763 1764 * Scripts/pdevenv: Add WebKitTools/Scripts to PATH when launching 1765 Visual Studio/VC++ Express. 1766 1767 2009-04-02 Adam Roben <aroben (a] apple.com> 1768 1769 Use pdevenv when building .vcproj files via our scripts 1770 1771 Reviewed by Mark Rowe. 1772 1773 * Scripts/webkitdirs.pm: 1774 (sub buildVisualStudioProject): Use pdevenv instead of invoking Visual 1775 Studio/VC++ Express directly. 1776 1777 2009-04-01 Mark Rowe <mrowe (a] apple.com> 1778 1779 Windows support for built-product-archive. 1780 1781 * BuildSlaveSupport/built-product-archive: 1782 1783 2009-03-31 Adam Roben <aroben (a] apple.com> 1784 1785 Make resolve-ChangeLogs -f work when the working tree has spaces in 1786 its path 1787 1788 Reviewed by Mark Rowe and David Kilzer. 1789 1790 * Scripts/resolve-ChangeLogs: 1791 (sub fixMergedChangeLogs): Quote the path to resolve-ChangeLogs in 1792 case it contains spaces. 1793 1794 2009-03-31 Alexey Proskuryakov <ap (a] webkit.org> 1795 1796 Reviewed by Darin Adler. 1797 1798 https://bugs.webkit.org/show_bug.cgi?id=24777 1799 WebKit tools are broken on Tiger 1800 1801 * Scripts/webkitdirs.pm: Don't use arch command with options on Tiger. 1802 1803 2009-03-31 Darin Adler <darin (a] apple.com> 1804 1805 * Scripts/add-include: Added. 1806 1807 2009-03-31 Mark Rowe <mrowe (a] apple.com> 1808 1809 Fix use of incorrect constant. 1810 1811 * BuildSlaveSupport/built-product-archive: 1812 1813 2009-03-30 Mark Rowe <mrowe (a] apple.com> 1814 1815 Rubber-stamped by Stephanie Lewis. 1816 1817 Add a script in support of the new build.webkit.org configuration. 1818 1819 * BuildSlaveSupport/built-product-archive: Added. 1820 1821 2009-03-30 Darin Adler <darin (a] apple.com> 1822 1823 Reviewed by Sam Weinig. 1824 1825 Make policy-delegate logging work even for local files by processing the URLs as we 1826 do for other delegates. 1827 1828 * DumpRenderTree/mac/PolicyDelegate.mm: 1829 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): 1830 Use _drt_descriptionSuitableForTestResult on the URL. 1831 1832 * DumpRenderTree/win/PolicyDelegate.cpp: 1833 (PolicyDelegate::decidePolicyForNavigationAction): Use urlSuitableForTestResult on the URL. 1834 1835 2009-03-30 Adam Roben <aroben (a] apple.com> 1836 1837 Windows build fix 1838 1839 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 1840 (LayoutTestController::waitForPolicyDelegate): Added this empty stub. 1841 1842 * DumpRenderTree/win/WorkQueueItemWin.cpp: 1843 (LoadItem::invoke): 1844 (ScriptItem::invoke): 1845 Changed to use data members instead of removed member functions. 1846 1847 2009-03-30 Jan Michael Alonzo <jmalonzo (a] webkit.org> 1848 1849 Gtk DRT build fix per changeset 1850 http://trac.webkit.org/changeset/42082. Not reviewed. 1851 1852 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: 1853 (LoadItem::invoke): 1854 (ScriptItem::invoke): 1855 1856 2009-03-29 Darin Adler <darin (a] apple.com> 1857 1858 * DumpRenderTree/qt/jsobjects.cpp: Rolled out changes to this file. Maybe this will fix 1859 Qt building of DumpRenderTree. 1860 1861 2009-03-29 Darin Adler <darin (a] apple.com> 1862 1863 Reviewed by Cameron Zwarich. 1864 1865 Bug 24922: change WorkQueue-based navigation tests to not depend on synchronous form submission 1866 https://bugs.webkit.org/show_bug.cgi?id=24922 1867 1868 Don't rely on delegate methods to guess whether a queued step starts a load or not, because 1869 script-triggered loads can't be detected that way. Instead have the steps themselves indicate 1870 whether or not a load was triggered. 1871 1872 * DumpRenderTree/LayoutTestController.cpp: 1873 (queueLoadingScriptCallback): Added. Version for scripts that perform loads. 1874 (queueNonLoadingScriptCallback): Added. Version for scripts that do not perform loads. 1875 (LayoutTestController::staticFunctions): Replaced queueScript with queueLoadingScript and 1876 queueNonLoadingScript. 1877 (LayoutTestController::queueBackNavigation): Moved here since it's platform-independent now. 1878 (LayoutTestController::queueForwardNavigation): Ditto. 1879 (LayoutTestController::queueLoadingScript): Replacement for queueScript. Here since it's 1880 platform-independent. 1881 (LayoutTestController::queueNonLoadingScript): Ditto. 1882 (LayoutTestController::queueReload): Moved here since it's platform-independent now. 1883 * DumpRenderTree/LayoutTestController.h: Ditto. 1884 1885 * DumpRenderTree/WorkQueue.cpp: 1886 (WorkQueue::processWork): Added. Shared by the different platform's work queue implementations. 1887 * DumpRenderTree/WorkQueue.h: Ditto. 1888 1889 * DumpRenderTree/WorkQueueItem.h: Changed the invoke function to return true if the item 1890 started a load. Removed unused getter functions. Made invoke functions private. 1891 Added LoadingScriptItem and NonLoadingScriptItem, making ScriptItem an abstract base. 1892 1893 * DumpRenderTree/gtk/DumpRenderTree.cpp: 1894 (processWork): Use the new WorkQueue::processWork function to implement the new rule. 1895 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Removed queue functions that are now 1896 platform-independent and in LayoutTestController.cpp. 1897 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: 1898 (LoadItem::invoke): Return true. 1899 (ReloadItem::invoke): Ditto. 1900 (ScriptItem::invoke): Ditto. 1901 (BackForwardItem::invoke): Ditto. 1902 1903 * DumpRenderTree/mac/FrameLoadDelegate.mm: 1904 (-[FrameLoadDelegate processWork:]): Use the new WorkQueue::processWork function to implement 1905 the new rule. 1906 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Removed queue functions that are now 1907 platform-independent and in LayoutTestController.cpp. 1908 * DumpRenderTree/mac/WorkQueueItemMac.mm: 1909 (LoadItem::invoke): Return true. 1910 (ReloadItem::invoke): Ditto. 1911 (ScriptItem::invoke): Ditto. 1912 (BackForwardItem::invoke): Ditto. 1913 1914 * DumpRenderTree/qt/jsobjects.cpp: 1915 (LayoutTestController::processWork): Use the new WorkQueue::processWork function to implement 1916 the new rule. Removed queue functions that are now platform-independent and in 1917 LayoutTestController.cpp. 1918 1919 * DumpRenderTree/win/FrameLoadDelegate.cpp: 1920 (FrameLoadDelegate::processWork): Use the new WorkQueue::processWork function to implement 1921 the new rule. 1922 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Removed queue functions that are now 1923 platform-independent and in LayoutTestController.cpp. 1924 * DumpRenderTree/win/WorkQueueItemWin.cpp: 1925 (LoadItem::invoke): Return false when we fail, true when we succeed. 1926 (ReloadItem::invoke): Ditto. 1927 (ScriptItem::invoke): Ditto. 1928 (BackForwardItem::invoke): Ditto. 1929 1930 2009-03-28 Kevin Ollivier <kevino (a] theolliviers.com> 1931 1932 Reviewed by Eric Seidel. 1933 1934 Always use wxGraphicsContext on Mac to ensure path, matrix, etc. support. 1935 1936 * wx/build-wxwebkit: 1937 1938 2009-03-27 Darin Adler <darin (a] apple.com> 1939 1940 Reviewed by Sam Weinig. 1941 1942 * Scripts/extract-localizable-strings: Fixed version check for perl 5.10 compatibility. 1943 1944 2009-03-27 Darin Adler <darin (a] apple.com> 1945 1946 Reviewed by Sam Weinig. 1947 1948 Added waitForPolicyDelegate, a more-reliable way to make our mailto form submission 1949 tests work. 1950 1951 * DumpRenderTree/AccessibilityController.cpp: 1952 (getFocusedElementCallback): Use static_cast instead of reinterpret_cast because there's 1953 no reason to use reinterpret_cast just to get from void* to a specific type. 1954 (getRootElementCallback): Ditto. 1955 * DumpRenderTree/AccessibilityUIElement.cpp: 1956 (toAXElement): Ditto. 1957 * DumpRenderTree/GCController.cpp: 1958 (collectCallback): Ditto. 1959 (collectOnAlternateThreadCallback): Ditto. 1960 (getJSObjectCountCallback): Ditto. 1961 * DumpRenderTree/LayoutTestController.cpp: 1962 (many functions): Ditto. 1963 (waitForPolicyDelegateCallback): Added. 1964 (LayoutTestController::staticFunctions): Sorted functions by name. 1965 Added waitForPolicyDelegate. 1966 1967 * DumpRenderTree/LayoutTestController.h: Sorted functions by name. 1968 Added waitForPolicyDelegate. 1969 1970 * DumpRenderTree/mac/DumpRenderTree.mm: 1971 (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the 1972 policy delegate. 1973 (runTest): Added an additional call to resetWebViewToConsistentStateBeforeTesting just 1974 before loading an empty page. This prevents extra policy delegate calls from being logged. 1975 1976 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 1977 (LayoutTestController::waitForPolicyDelegate): Added. Puts us into wait mode, and then 1978 tells the policy delegate to notify when done, then points the web view at the policy delegate. 1979 1980 * DumpRenderTree/mac/PolicyDelegate.h: Added setControllerToNotifyDone: method. 1981 1982 * DumpRenderTree/mac/PolicyDelegate.mm: 1983 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): 1984 Added code to do notifyDone if controllerToNotifyDone is set. 1985 (-[PolicyDelegate setControllerToNotifyDone:]): Added. 1986 1987 * DumpRenderTree/win/DumpRenderTree.cpp: 1988 (resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the 1989 policy delegate. Also moved the call to resetUndoManager in here. 1990 (runTest): Removed the call to resetUndoManager (see above). Added an additional call to 1991 resetWebViewToConsistentStateBeforeTesting to match the Mac code. 1992 1993 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 1994 (LayoutTestController::setCustomPolicyDelegate): 0, not NULL. 1995 1996 * DumpRenderTree/win/PolicyDelegate.cpp: 1997 (PolicyDelegate::PolicyDelegate): Initialize m_controllerToNotifyDone to 0. 1998 (PolicyDelegate::decidePolicyForNavigationAction): Added code to do notifyDone if 1999 m_controllerToNotifyDone is set. 2000 2001 * DumpRenderTree/win/PolicyDelegate.h: Added setControllerToNotifyDone and 2002 m_controllerToNotifyDone. 2003 2004 2009-03-27 Sam Weinig <sam (a] webkit.org> 2005 2006 Reviewed by Gavin Barraclough. 2007 2008 Fix for https://bugs.webkit.org/show_bug.cgi?id=24765 2009 prepare-ChangeLog and svn-create-patch doesn't work with svn 1.6 2010 2011 * Scripts/prepare-ChangeLog: 2012 * Scripts/svn-create-patch: 2013 2014 2009-03-26 Darin Adler <darin (a] apple.com> 2015 2016 Reviewed by Geoff Garen. 2017 2018 * Scripts/do-webcore-rename:Update for rename of JSUnprotectedEventListener to 2019 JSEventListener. 2020 2021 2009-03-26 Darin Adler <darin (a] apple.com> 2022 2023 Reviewed by Geoff Garen. 2024 2025 * Scripts/do-webcore-rename: Update for rename of JSEventListener to 2026 JSProtectedEventListener. This includes all the related renames, but 2027 not that one because that one renames the file. 2028 2029 2009-03-26 Adam Roben <aroben (a] apple.com> 2030 2031 Reduce run-webkit-tests's time out limit to 15 seconds (or 2.5 minutes 2032 under GuardMalloc) 2033 2034 The previous limit was 60 seconds (or 10 minutes under GuardMalloc). 2035 There's no evidence that we need the limit to be this long, and having 2036 it be so long just makes timed-out tests take forever to complete. 2037 DRT's watchdog timer is 10 seconds, so still has time to fire before 2038 run-webkit-tests will cut it off. 2039 2040 Reviewed by Simon Fraser. 2041 2042 * Scripts/run-webkit-tests: 2043 (sub readFromDumpToolWithTimer): Reduced the limit to 15 seconds (or 2044 2.5 mintues under GuardMalloc). 2045 2046 2009-03-26 Adam Roben <aroben (a] apple.com> 2047 2048 Make DRT's watchdog timer actually work on Windows 2049 2050 We were previously trying to use a CFRunLoopTimer for the watchdog 2051 timer on Windows. This doesn't work because we don't use a CFRunLoop 2052 on the main thread on Windows. 2053 2054 This patch changes the watchdog timer on Windows be a normal Windows 2055 timer. 2056 2057 Reviewed by Simon Fraser. 2058 2059 * DumpRenderTree/DumpRenderTree.h: Moved declaration of 2060 waitToDumpWatchdog from here... 2061 * DumpRenderTree/mac/DumpRenderTreeMac.h: ...to here. 2062 2063 * DumpRenderTree/win/DumpRenderTree.cpp: 2064 (invalidateAnyPreviousWaitToDumpWatchdog): Added. This function 2065 cancels an existing watchdog timer. 2066 (dump): Call invalidateAnyPreviousWaitToDumpWatchdog. This will 2067 prevent watchdogs from previous tests firing during subsequent ones. 2068 This matches Mac's behavior. 2069 2070 * DumpRenderTree/win/DumpRenderTreeWin.h: Added a declaration of 2071 waitToDumpWatchdog. 2072 2073 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 2074 (waitUntilDoneWatchdogFired): Converted this to be a Windows 2075 TIMERPROC. 2076 (LayoutTestController::setWaitToDump): Changed to use SetTimer instead 2077 of CFRunLoopAddTimer. 2078 2079 2009-03-25 Mark Rowe <mrowe (a] apple.com> 2080 2081 Rubber-stamped by Steve Falkenburg. 2082 2083 Update test result search path for Windows now that it has updated versions of ICU, libxml2, and friends. 2084 2085 * Scripts/run-webkit-tests: 2086 2087 2009-03-24 Mark Rowe <mrowe (a] apple.com> 2088 2089 Fix the Tiger build some more. 2090 2091 * DumpRenderTree/mac/TextInputController.m: 2092 2093 2009-03-24 Mark Rowe <mrowe (a] apple.com> 2094 2095 Fix the Tiger build. 2096 2097 * DumpRenderTree/mac/TextInputController.m: 2098 2099 2009-03-24 Mark Rowe <mrowe (a] apple.com> 2100 2101 Reviewed by Jon "The Most Boring Man in the World" Honeycutt. 2102 2103 Explicitly map NSNotFound to -1 so that the result of-characterIndexForPointX:Y: does 2104 not differ between 32- and 64-bit. 2105 2106 * DumpRenderTree/mac/TextInputController.m: 2107 (-[TextInputController characterIndexForPointX:Y:]): 2108 2109 2009-03-24 Mark Rowe <mrowe (a] apple.com> 2110 2111 Reviewed by Sam Weinig. 2112 2113 Use a different platform search path for tests and skip lists, so that Tiger doesn't end up 2114 using the Leopard skip list. Tests and skip lists are now looked for in the directory for 2115 the current OS and the generic "mac" directory. Tests and skip lists for newer OS versions are 2116 ignored. 2117 2118 * Scripts/run-webkit-tests: 2119 2120 2009-03-23 Stephanie <slewis (a] apple.com> 2121 2122 Fix root build. 2123 2124 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 2125 2126 2009-03-23 Stephanie Lewis <slewis (a] apple.com> 2127 2128 Reviewed by Mark Rowe. 2129 2130 Add production configuration for creating roots of WebKitTools. 2131 2132 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 2133 2134 2009-03-23 Oliver Hunt <oliver (a] apple.com> 2135 2136 Reviewed by Geoff Garen. 2137 2138 Make testapi run as part of the standard JavaScriptCore tests. 2139 2140 We only run testapi on the mac as currently windows webkit doesn't 2141 place all the necessary files for testapi, and we also test the 2142 JSC/CF APIs as well. 2143 2144 * Scripts/run-javascriptcore-tests: 2145 2146 2009-03-21 Oliver Hunt <oliver (a] apple.com> 2147 2148 Reviewed by Mark Rowe. 2149 2150 Make build-jsc build testapi and minidom in addition to jsc itself. 2151 2152 * Scripts/build-jsc: 2153 2154 2009-03-20 Anders Carlsson <andersca (a] apple.com> 2155 2156 Reviewed by Darin Adler. 2157 2158 Only release the result NPVariant if the call to NPN_Invoke was successful. 2159 2160 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 2161 (testNPRuntime): 2162 2163 2009-03-19 Gustavo Noronha Silva <gns (a] gnome.org> 2164 2165 Reviewed by Mark Rowe. 2166 2167 Make determinePassedArchitecture always consume the --32-bit 2168 option, also in non-AppleMacWebkit platforms. Solution pointed out 2169 by Mark Rowe. 2170 2171 * Scripts/webkitdirs.pm: 2172 2173 2009-03-19 Mark Rowe <mrowe (a] apple.com> 2174 2175 Reviewed by Oliver Hunt. 2176 2177 Work around <rdar://problem/6698023> by activating fonts from disk. 2178 2179 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Copy fonts into DumpRenderTree.resources 2180 in the built products directory. 2181 * DumpRenderTree/mac/DumpRenderTree.mm: 2182 (activateFonts): Activate the fonts from disk. 2183 2184 2009-03-18 Mark Rowe <mrowe (a] apple.com> 2185 2186 Reviewed by Dan Bernstein. 2187 2188 <rdar://problem/6693300> Don't rely on printf from TestNetscapePlugIn appearing in test results 2189 2190 Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear 2191 in test results even when the plug-in's stdout differs from DumpRenderTree's stdout. 2192 2193 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 2194 (log): Invoke console.log via the NPAPI. 2195 (NPP_Destroy): Call log instead of printf. 2196 (NPP_SetWindow): Ditto. 2197 (handleEventCarbon): Ditto. 2198 (handleEventCocoa): Ditto. 2199 (NPP_HandleEvent): Pass the instance in to the event handler. 2200 2201 2009-03-17 Mark Rowe <mrowe (a] apple.com> 2202 2203 Reviewed by Oliver Hunt. 2204 2205 Use the normal search rules for tests inside the platform directory. 2206 2207 This allows tests inside the platform directory to have different results 2208 on different versions of Mac OS X. 2209 2210 * Scripts/run-webkit-tests: 2211 2212 2009-03-17 David Kilzer <ddkilzer (a] apple.com> 2213 2214 resolve-ChangeLogs should not die on unmerged non-ChangeLog files 2215 2216 Reviewed by Adam Roben. 2217 2218 Fixes the following bug in resolve-ChangeLogs: 2219 2220 Use of uninitialized value in -e at ./WebKitTools/Scripts/resolve-ChangeLogs line 132. 2221 Died at ./WebKitTools/Scripts/resolve-ChangeLogs line 164. 2222 2223 * Scripts/resolve-ChangeLogs: 2224 (findUnmergedChangeLogs): Check the result of findChangeLog() to 2225 make sure we don't add undef values to the list of files being 2226 returned. 2227 2228 2009-03-17 Gustavo Noronha Silva <gns (a] gnome.org> 2229 2230 Reviewed by Simon Fraser. 2231 2232 Fix the usage of the $architecture variable for non-Apple-Mac 2233 ports. 2234 2235 * Scripts/webkitdirs.pm: 2236 2237 2009-03-17 David Kilzer <ddkilzer (a] apple.com> 2238 2239 Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string) 2240 2241 <https://bugs.webkit.org/show_bug.cgi?id=24645> 2242 2243 Reviewed by Mark Rowe. 2244 2245 * Scripts/bisect-builds: 2246 (makeNightlyList): Added checks for Safari 4 Public Beta on 2247 Tiger and Leopard. 2248 2249 2009-03-17 Simon Fraser <simon.fraser (a] apple.com> 2250 2251 Reviewed by Darin Adler 2252 2253 https://bugs.webkit.org/show_bug.cgi?id=24396 2254 2255 Change the terminology from '3D transforms' to '3D rendering'. 2256 2257 * Scripts/build-webkit: 2258 * Scripts/run-webkit-tests: 2259 * Scripts/webkitdirs.pm: 2260 2261 2009-03-17 Gustavo Noronha Silva <gns (a] gnome.org> 2262 2263 Reviewed by Mark Rowe. 2264 2265 Enable HTML5 media elements support by default also for the GTK+ 2266 port. 2267 2268 * Scripts/build-webkit: 2269 2270 2009-03-17 Kevin Ollivier <kevino (a] theolliviers.com> 2271 2272 Reviewed by Mark Rowe. 2273 2274 Tweak the BUILDING_ON_* defines so that they work with the default values set by 2275 AvailabilityMacros.h. 2276 2277 https://bugs.webkit.org/show_bug.cgi?id=24630 2278 2279 * DumpRenderTree/mac/DumpRenderTreeMac.h: 2280 2281 2009-03-17 Oliver Hunt <oliver (a] apple.com> 2282 2283 Reviewed by Alexey Proskuryakov. 2284 2285 Make coverage testing more reliable by ensuring --coverage does not 2286 clobber configuration settings, and by removing the unnecessary 2287 dependency on matplotlib. 2288 2289 * CodeCoverage/regenerate-coverage-display: 2290 * Scripts/webkitdirs.pm: 2291 2292 2009-03-16 Anders Carlsson <andersca (a] apple.com> 2293 2294 Reviewed by Darin Adler and John Sullivan. 2295 2296 When a plug-in instance is torn down, all plug-in objects will first be invalidated and then deallocated. 2297 Since objects can be deallocated in any order, it is not safe to call NPN_ReleaseObject on member variables. 2298 2299 Instead, just zero out the member variable in invalidate. 2300 2301 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 2302 (pluginInvalidate): 2303 (pluginDeallocate): 2304 2305 2009-03-16 Eric Seidel <eric (a] webkit.org> 2306 2307 Reviewed by Sam Weinig. 2308 2309 REGRESSION: undo-iframe-location-change.html is failing on the buildbots 2310 https://bugs.webkit.org/show_bug.cgi?id=24626 2311 2312 Added a call to [[webview undoManager] removeAllActions] 2313 to make sure anything left on the undo stack after one test 2314 will not affect any later test. 2315 2316 * DumpRenderTree/mac/DumpRenderTree.mm: 2317 (resetWebViewToConsistentStateBeforeTesting): 2318 2319 2009-03-14 Mark Rowe <mrowe (a] apple.com> 2320 2321 Reviewed by Dan Bernstein. 2322 2323 Change the layout test result search policy for Mac OS X to fit better with the idea of 2324 newer OS versions improving on previous OS versions. 2325 2326 The results for the latest version of Mac OS X are placed in the "mac" directory. The 2327 results for older versions of Mac OS X are structured as a series of overlays. When 2328 running on Leopard, the results in "mac-leopard" are searched before those in "mac". 2329 When running on Tiger, the results in "mac-tiger" are searched before those in 2330 "mac-leopard" and "mac". 2331 2332 * Scripts/run-webkit-tests: 2333 2334 2009-03-13 Mark Rowe <mrowe (a] apple.com> 2335 2336 Rubber-stamped by Dan Bernstein. 2337 2338 Take advantage of the ability of recent versions of Xcode to easily switch the active 2339 architecture. 2340 2341 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: 2342 2343 2009-03-13 Mark Rowe <mrowe (a] apple.com> 2344 2345 Reviewed by Timothy Hatcher. 2346 2347 Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred. 2348 2349 The scripts will automatically target 64-bit if the system and hardware support it. This can be 2350 overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit 2351 to make the override persistent. 2352 2353 * Scripts/build-webkit: Remove architecture-related code. 2354 * Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb. 2355 * Scripts/run-javascriptcore-tests: Remove architecture-related code. 2356 * Scripts/run-safari: Ditto. 2357 * Scripts/run-webkit-tests: Ditto. 2358 * Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments. The --32-bit argument will set the 2359 architecture preference to the 32-bit architecture of the machine. The --64-bit argument will remove any architecture 2360 override that is in effect so that 64-bit support will be automatically detected. 2361 * Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the 2362 auto-detection. 2363 2364 2009-03-13 Anders Carlsson <andersca (a] apple.com> 2365 2366 Reviewed by Dan Bernstein. 2367 2368 <rdar://problem/6610666> Revise the Cocoa event model text API 2369 2370 Add a case statement for NPCocoaEventTextInput. 2371 2372 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 2373 (handleEventCocoa): 2374 2375 2009-03-12 Kevin Ollivier <kevino (a] theolliviers.com> 2376 2377 wx build fix. Let DerivedSources.make know we want database APIs. 2378 2379 * wx/build-wxwebkit: 2380 2381 2009-03-12 David Kilzer <ddkilzer (a] apple.com> 2382 2383 Bug 24378: resolve-ChangeLogs should use git status or svn status to find and fix unmerged ChangeLogs 2384 2385 <https://bugs.webkit.org/show_bug.cgi?id=24378> 2386 2387 Reviewed by Adam Roben. 2388 2389 * Scripts/resolve-ChangeLogs: If -f|--fix-merged is not passed 2390 and no file or directory names are specified on the command-line 2391 then try to find unmerged ChangeLog files based on 'svn stat' or 2392 'git diff'. Added global $isGit and $isSVN variables so that 2393 isGit() and isSVN() only have to be called once. 2394 (findUnmergedChangeLogs): Added. 2395 2396 2009-03-11 David Kilzer <ddkilzer (a] apple.com> 2397 2398 Clarify comments regarding order of FEATURE_DEFINES 2399 2400 Rubber-stamped by Mark Rowe. 2401 2402 * Scripts/build-webkit: Added warning about keeping 2403 FEATURE_DEFINES in order and the consequences when they are not. 2404 2405 2009-03-11 Jan Michael Alonzo <jmalonzo (a] webkit.org> 2406 2407 Reviewed by Holger Freyther. 2408 2409 Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled 2410 https://bugs.webkit.org/show_bug.cgi?id=24487 2411 2412 Also reset WebSettings to its default state for JavaScript 2413 profiling, Developer Extras and Private Browsing before running 2414 the test (can be after each test but we want to be consistent with 2415 other ports in this regard) 2416 2417 * DumpRenderTree/gtk/DumpRenderTree.cpp: 2418 (resetWebViewToConsistentStateBeforeTesting): 2419 (runTest): 2420 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 2421 (LayoutTestController::setPrivateBrowsingEnabled): 2422 2423 2009-03-11 Jan Michael Alonzo <jmalonzo (a] webkit.org> 2424 2425 Reviewed by Holger Freyther. 2426 2427 [GTK]DumpRenderTree doesn't compile for non-X11 GTK ports anymore 2428 https://bugs.webkit.org/show_bug.cgi?id=2260 2429 2430 Add plugin support only for X11 builds 2431 2432 * DumpRenderTree/gtk/DumpRenderTree.cpp: 2433 (setDefaultsToConsistentStateValuesForTesting): 2434 * GNUmakefile.am: 2435 2436 2009-03-08 Holger Hans Peter Freyther <zecke (a] selfish.org> 2437 2438 Reviewed by Mark Rowe. 2439 2440 Implement setJavaScriptProfilingEnabled by enabling the Developer 2441 Extras and the JavaScript profiling on the WebKitWebInspector. After 2442 this change we pass the three enabled tests in fast/profiler. 2443 2444 * DumpRenderTree/gtk/DumpRenderTree.cpp: 2445 (runTest): Reset setJavaScriptProfilingEnabled after each test run 2446 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 2447 (LayoutTestController::setJavaScriptProfilingEnabled): 2448 2449 2009-03-07 Jan Michael Alonzo <jmalonzo (a] webkit.org> 2450 2451 Reviewed by Holger Freyther. 2452 2453 [Gtk] Enable http history tests 2454 https://bugs.webkit.org/show_bug.cgi?id=24394 2455 2456 Get the index of the current item from the list of (history) items 2457 to print before adding the back history items to the list. This 2458 will make the 'curr' pointer point to the correct item in the 2459 actual results, therefore, passing some of the http/tests/history 2460 tests. 2461 2462 * DumpRenderTree/gtk/DumpRenderTree.cpp: 2463 (dumpBackForwardListForWebView): 2464 2465 2009-03-06 Adam Treat <adam.treat (a] torchmobile.com> 2466 2467 Reviewed by George Staikos. 2468 2469 When building QtWebKit in release mode make sure that QT_SHARED is defined 2470 otherwise none of the public API will be exported. This leads to missing 2471 symbols and link errors if hidden-visibility is used. 2472 2473 * Scripts/webkitdirs.pm: 2474 2475 2009-03-06 Adam Roben <aroben (a] apple.com> 2476 2477 Change the isCygwin check in update-webkit to isAppleWinWebKit 2478 2479 This matches a similar check in build-webkit, and is more correct. 2480 2481 Reviewed by Alexey Proskuryakov. 2482 2483 * Scripts/update-webkit: Only call update-webkit-auxiliary-libs if 2484 isAppleWinWebKit is true. 2485 2486 2009-03-06 Adam Roben <aroben (a] apple.com> 2487 2488 Make update-webkit-support-libs fail if WebKitSupportLibrary.zip is 2489 present but out of date 2490 2491 Reviewed by Alexey Proskuryakov. 2492 2493 * Scripts/update-webkit-support-libs: Changed to use 2494 dieAndInstructToDownload when the zip file doesn't exist. Added an MD5 2495 check to make sure the file is up-to-date. If it is out of date, print 2496 an error message and quit. 2497 (sub dieAndInstructToDownload): Added. Prints an error message and 2498 quits with an error. 2499 2500 2009-03-03 Anders Carlsson <andersca (a] apple.com> 2501 2502 Reviewed by John Sullivan. 2503 2504 https://bugs.webkit.org/show_bug.cgi?id=22884 2505 <rdar://problem/6449783> 2506 modified layout test crashes Safari 2507 2508 Add destroyNullStream test function to the test plug-in. 2509 2510 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 2511 (destroyNullStream): 2512 (pluginInvoke): 2513 2514 2009-03-03 Brady Eidson <beidson (a] apple.com> 2515 2516 Reviewed by Darin Adler 2517 2518 Support layout test covering <rdar://problem/6616664> 2519 2520 Change NSURLRequest/IWebURLRequest dumping to include the mainDocumentURL 2521 2522 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 2523 (-[NSURLRequest _drt_descriptionSuitableForTestResult]): Return both the request URL and the 2524 mainDocumentURL. 2525 2526 * DumpRenderTree/win/ResourceLoadDelegate.cpp: 2527 (descriptionSuitableForTestResult): Return both the request URL and the mainDocumentURL. 2528 2529 2009-03-02 Sam Weinig <sam (a] webkit.org> 2530 2531 Reviewed by Mark Rowe. 2532 2533 Enable Geolocation (except on Tiger and Leopard). 2534 2535 * Scripts/build-webkit: 2536 2537 2009-03-02 Kevin Ollivier <kevino (a] theolliviers.com> 2538 2539 Build fixes for wxWidgets Mac trunk build. 2540 2541 * wx/build-wxwebkit: 2542 2543 2009-03-02 Timothy Hatcher <timothy (a] apple.com> 2544 2545 Allow for multiline quoted text in JavaScript files when looking for function names. 2546 2547 https://bugs.webkit.org/show_bug.cgi?id=24296 2548 2549 Reviewed by David Kilzer. 2550 2551 * Scripts/prepare-ChangeLog: 2552 2553 2009-03-02 Adam Treat <adam.treat (a] torchmobile.com> 2554 2555 Reviewed by Eric Seidel. 2556 2557 Add three new drt helper functions that enable all of the tests in 2558 LayoutTests/animation/* and LayoutTests/transitions/* to now pass. 2559 2560 * DumpRenderTree/qt/jsobjects.cpp: 2561 (LayoutTestController::pauseAnimationAtTimeOnElementWithId): 2562 (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 2563 (LayoutTestController::numberOfActiveAnimations): 2564 * DumpRenderTree/qt/jsobjects.h: 2565 2566 2009-03-02 Adam Roben <aroben (a] apple.com> 2567 2568 Windows build fix after r41349 2569 2570 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 2571 (AccessibilityUIElement::getChildrenWithRange): 2572 2573 2009-03-01 Chris Fleizach <cfleizach (a] apple.com> 2574 2575 Reviewed by Oliver Hunt. 2576 2577 Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array 2578 2579 Change getChildAtIndex() to get a range of children instead of all the children. 2580 This exercises code in WebCore that returns elements when asked for from a range. 2581 2582 * DumpRenderTree/AccessibilityUIElement.h: 2583 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 2584 (AccessibilityUIElement::getChildrenWithRange): 2585 (AccessibilityUIElement::getChildAtIndex): 2586 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 2587 (AccessibilityUIElement::getChildrenWithRange): 2588 2589 2009-03-01 Jan Michael Alonzo <jmalonzo (a] webkit.org> 2590 2591 Reviewed by Holger Freyther. 2592 2593 [Gtk] get the HTTP layout tests going 2594 https://bugs.webkit.org/show_bug.cgi?id=24259 2595 2596 Determine the frame's response and decide whether to dump as text 2597 or the render tree 2598 2599 * DumpRenderTree/gtk/DumpRenderTree.cpp: 2600 (dump): 2601 2602 2009-03-01 Jan Michael Alonzo <jmalonzo (a] webkit.org> 2603 2604 Reviewed by Holger Freyther. 2605 2606 [Gtk] get the HTTP layout tests going 2607 https://bugs.webkit.org/show_bug.cgi?id=24259 2608 2609 Implement dumping of WebKitWebBackForwardList and its history 2610 items. 2611 2612 * DumpRenderTree/gtk/DumpRenderTree.cpp: 2613 (compareHistoryItems): 2614 (dumpHistoryItem): 2615 (dumpBackForwardListForWebView): 2616 (dump): 2617 (runTest): 2618 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 2619 (LayoutTestController::clearBackForwardList): 2620 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: 2621 (BackForwardItem::invoke): 2622 2623 2009-02-28 Zan Dobersek <zandobersek (a] gmail.com> 2624 2625 Reviewed by Holger Freyther. 2626 2627 Set the resolution for the default screen to 72.0. 2628 This way, setting font sizes results in expected values. 2629 2630 * DumpRenderTree/gtk/DumpRenderTree.cpp: 2631 (setDefaultsToConsistentStateValuesForTesting): 2632 2633 2009-02-28 Gustavo Noronha Silva <gns (a] gnome.org> 2634 2635 Reviewed by Holger Freyther. 2636 2637 Adds a WebKitMakeArguments environment variable to enable passing 2638 of arguments such as '-j2' to make for the autotools build. 2639 2640 * Scripts/webkitdirs.pm: 2641 2642 2009-02-28 Gustavo Noronha Silva <gns (a] gnome.org> 2643 2644 Reviewed by Holger Freyther. 2645 2646 Add a GTK+-only option to enable GNOME Keyring when building. 2647 2648 * Scripts/build-webkit: 2649 2650 2009-02-28 Jan Michael Alonzo <jmalonzo (a] webkit.org> 2651 2652 Reviewed by Holger Freyther. 2653 2654 [Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing 2655 https://bugs.webkit.org/show_bug.cgi?id=24076 2656 2657 Refactor gtk lib detection and put it in builtDylibPathForName 2658 2659 * Scripts/webkitdirs.pm: 2660 2661 2009-02-28 Christian Dywan <christian (a] twotoasts.de> 2662 2663 Rubber-stamped by Holger Freyther. 2664 2665 * GtkLauncher/main.c: 2666 (activate_uri_entry_cb): 2667 (main): Use the new webkit_web_view_load_uri to open URIs. 2668 2669 2009-02-27 Xan Lopez <xan (a] gnome.org> 2670 2671 Rubber-stamped by Alexey Proskuryakov. 2672 2673 https://bugs.webkit.org/show_bug.cgi?id=24222 2674 [GTK] Remove checks for old glib versions 2675 2676 libsoup, which is a hard dependency, needs at least glib 2.15.3, 2677 so remove all glib checks for versions older than that. 2678 2679 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 2680 (LayoutTestController::setWaitToDump): 2681 2682 2009-02-25 Simon Fraser <simon.fraser (a] apple.com> 2683 2684 Reviewed by Eric Seidel 2685 2686 Fix spew about a WebView being deallocated while key value observers are 2687 still registered with it by making sure that we always stop observing 2688 _isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close]. 2689 2690 * DumpRenderTree/mac/DumpRenderTree.mm: 2691 (dumpRenderTree): 2692 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: 2693 (-[DumpRenderTreeWindow close]): 2694 2695 2009-02-25 Adam Treat <adam.treat (a] torchmobile.com> 2696 2697 Reviewed by Alexey Proskuryakov. 2698 2699 Do not queue the calls to 'DumpRenderTree::dump()' as this can result 2700 in more than one call as a test that calls 'notifyDone()' can then be 2701 subsequently fully loaded and initiate a second dump. Also make sure 2702 to stop any existing page load that is happening before running the next 2703 test. Combined this serves to produce 217 more passing tests for the 2704 Qt port or roughly 5% at this point. 2705 2706 * DumpRenderTree/qt/DumpRenderTree.cpp: 2707 (WebCore::DumpRenderTree::DumpRenderTree): 2708 (WebCore::DumpRenderTree::open): 2709 2710 2009-02-25 Simon Fraser <simon.fraser (a] apple.com> 2711 2712 Reviewed by Dan Bernstein 2713 2714 https://bugs.webkit.org/show_bug.cgi?id=23854 2715 2716 Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing 2717 property of the WebView, and use that to turn -autodisplay on and off. 2718 This is necessary so that accelerated animations start correctly. 2719 We can thus remove the -display hack in createBitmapContextFromWebView(). 2720 2721 * DumpRenderTree/mac/DumpRenderTree.mm: 2722 (createWebViewAndOffscreenWindow): 2723 (dumpRenderTree): 2724 * DumpRenderTree/mac/DumpRenderTreeWindow.h: 2725 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: 2726 (-[DumpRenderTreeWindow close]): 2727 (-[DumpRenderTreeWindow webView]): 2728 (-[DumpRenderTreeWindow startObservingWebView]): 2729 (-[DumpRenderTreeWindow stopObservingWebView]): 2730 (-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]): 2731 * DumpRenderTree/mac/PixelDumpSupportMac.mm: 2732 (createBitmapContextFromWebView): 2733 2734 2009-02-25 Adam Treat <adam.treat (a] torchmobile.com> 2735 2736 Reviewed by Zack Rusin. 2737 2738 https://bugs.webkit.org/show_bug.cgi?id=24158 2739 Implement the queue*() methods of the layoutTestController and begin 2740 implementing the dump of the back/forward list. This results in 2% more 2741 tests passing as well as 23 currently skipped tests now passing. 2742 2743 * DumpRenderTree/qt/DumpRenderTree.cpp: 2744 (WebCore::DumpRenderTree::dumpBackForwardList): 2745 (WebCore::DumpRenderTree::dump): 2746 * DumpRenderTree/qt/DumpRenderTree.h: 2747 * DumpRenderTree/qt/DumpRenderTree.pro: 2748 * DumpRenderTree/qt/jsobjects.cpp: 2749 (findFrameNamed): 2750 (LoadItem::invoke): 2751 (ReloadItem::invoke): 2752 (ScriptItem::invoke): 2753 (BackForwardItem::invoke): 2754 (LayoutTestController::reset): 2755 (LayoutTestController::processWork): 2756 (LayoutTestController::maybeDump): 2757 (LayoutTestController::queueBackNavigation): 2758 (LayoutTestController::queueForwardNavigation): 2759 (LayoutTestController::queueLoad): 2760 (LayoutTestController::queueReload): 2761 (LayoutTestController::queueScript): 2762 * DumpRenderTree/qt/jsobjects.h: 2763 (LayoutTestController::shouldDumpBackForwardList): 2764 (LayoutTestController::dumpBackForwardList): 2765 2766 2009-02-24 Adam Treat <adam.treat (a] torchmobile.com> 2767 2768 Reviewed by Alexey Proskuryakov. 2769 2770 Don't print out that you are generating new results if you are not in fact 2771 generating new results and disable generating new results by default for 2772 the all ports other than the canonical Apple Mac port since this can litter 2773 the source directory with hundreds of new results since other ports 2774 are not as up to date. 2775 2776 * Scripts/run-webkit-tests: 2777 2778 2009-02-24 Adam Treat <adam.treat (a] torchmobile.com> 2779 2780 Reviewed by Cameron Zwarich. 2781 2782 The Qt port does not support these yet nor does the nm check work with 2783 QMake based build. 2784 2785 * Scripts/webkitdirs.pm: 2786 2787 2009-02-24 Jan Michael Alonzo <jmalonzo (a] webkit.org> 2788 2789 Reviewed by Alexey Proskuryakov. 2790 2791 [Gtk] add options for 3D transforms and HTML5 channel messaging to the build 2792 https://bugs.webkit.org/show_bug.cgi?id=24072 2793 2794 Allow toggling of 3D transforms and HTML5 channel messaging 2795 support for the Autotools (Gtk) build. 2796 2797 Also add '--gtk' in the build-webkit help doc and fix autotools 2798 option for web-workers support. 2799 2800 * Scripts/build-webkit: 2801 2802 2009-02-23 Xan Lopez <xan (a] gnome.org> 2803 2804 Reviewed by Alexey Proskuryakov. 2805 2806 https://bugs.webkit.org/show_bug.cgi?id=22624 2807 [SOUP][GTK] Need API to get SoupSession from WebKit. 2808 2809 Add soup flags now that dependency is explicit. 2810 2811 * GNUmakefile.am: 2812 2813 2009-02-22 Mark Rowe <mrowe (a] apple.com> 2814 2815 Reviewed by Oliver Hunt. 2816 2817 Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit. 2818 2819 * DumpRenderTree/mac/DumpRenderTree.mm: 2820 (swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather 2821 than of an arbitrary existing method on the class. 2822 2823 2009-02-13 Eric Seidel <eric (a] webkit.org> 2824 2825 Rubber-stamped by Alexey Proskuryakov. 2826 2827 Add a few ignores to make-js-test-wrappers. 2828 2829 * Scripts/make-js-test-wrappers: 2830 2831 2009-02-17 Holger Hans Peter Freyther <zecke (a] selfish.org> 2832 2833 Reviewed by Alexey Proskuryakov. 2834 2835 Prepend file:// to the test result filename to make 2836 GtkLauncher display the result page. 2837 2838 * Scripts/run-webkit-tests: 2839 2840 2009-02-16 Gustavo Noronha Silva <gns (a] gnome.org> 2841 2842 Reviewed by Adam Roben 2843 2844 Actually use the installation prefix defined in WebKitInstallationPrefix, 2845 in autotools builds. 2846 2847 * Scripts/webkitdirs.pm: 2848 2849 2009-02-12 Simon Fraser <simon.fraser (a] apple.com> 2850 2851 No review. 2852 2853 Remove debugging code which was committed by mistake. 2854 2855 * Scripts/run-webkit-tests: 2856 2857 2009-02-12 Simon Fraser <simon.fraser (a] apple.com> 2858 2859 Reviewed by Adam Roben 2860 2861 https://bugs.webkit.org/show_bug.cgi?id=23928 2862 2863 Add detection of accelerated compositing and 3d transforms, 2864 and add various directories to $ignoredDirectories when these 2865 features are off. 2866 2867 * Scripts/run-webkit-tests: 2868 * Scripts/webkitdirs.pm: 2869 2870 2009-02-12 Adam Roben <aroben (a] apple.com> 2871 2872 Fix Bug 23922: Warning message from run-webkit-tests when Skipped file 2873 contains non-existent tests is confusing and is given for disabled 2874 tests 2875 2876 <https://bugs.webkit.org/show_bug.cgi?id=23922> 2877 2878 We now no longer warn about disabled tests. The warning now reads: 2879 2880 Skipped list contained '$item', but no file of that name could be 2881 found 2882 2883 Reviewed by John Sullivan. 2884 2885 * Scripts/run-webkit-tests: 2886 (top level): Pass the list name to processIgnoreTests so it can print 2887 out a reasonable warning message. 2888 (processIgnoreTests): Take a list name as a second parameter and use 2889 it to display a better warning message. Also check for a "-disabled" 2890 version of the test before warning about it not existing. 2891 2892 2009-02-11 Adam Roben <aroben (a] apple.com> 2893 2894 Windows fix for Bug 22239: Implement missing animation & transition 2895 APIs on LayoutTestController for non-mac platforms 2896 2897 <https://bugs.webkit.org/show_bug.cgi?id=22239> 2898 2899 Reviewed by Simon Fraser. 2900 2901 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 2902 (LayoutTestController::pauseAnimationAtTimeOnElementWithId): 2903 (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 2904 (LayoutTestController::numberOfActiveAnimations): 2905 Implemented these by calling through to IWebFramePrivate. 2906 2907 2009-02-10 Chris Marrin <cmarrin (a] apple.com> 2908 2909 Reviewed by Simon Fraser. 2910 2911 * Scripts/build-webkit: 2912 2913 https://bugs.webkit.org/show_bug.cgi?id=23883 2914 2915 Added support --3d-transforms. Defaults to off 2916 2917 2009-02-11 Adam Roben <aroben (a] apple.com> 2918 2919 Fix crashes in http/tests/history/redirect-301.pl and friends on 2920 Windows 2921 2922 Reviewed by Alexey Proskuryakov. 2923 2924 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 2925 (LayoutTestController::webHistoryItemCount): Null-check the shared 2926 WebHistory instance before dereferencing it. 2927 2928 2009-02-10 Adam Roben <aroben (a] apple.com> 2929 2930 Fix Bug 23869: Pixel tests can't be run on Windows 2931 2932 <https://bugs.webkit.org/show_bug.cgi?id=23869> 2933 2934 This patch gets the pixel tests limping along on Windows again. 2935 2936 Reviewed by Dan Bernstein. 2937 2938 * DumpRenderTree/DumpRenderTree.sln: Changed to use the new 2939 Debug_Internal configuration of ImageDiff in the Debug_Internal 2940 configuration of this solution. 2941 2942 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 2943 (printPNG): Changed to call fwrite in a loop, since this call was 2944 failing due to the buffer being too large on Windows. 2945 (dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary 2946 #if PLATFORM(MAC)/#endif. 2947 2948 * DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal 2949 configuration that matches the Debug configuration but also references 2950 debug_internal.vsprops. 2951 2952 * DumpRenderTree/win/PixelDumpSupportWin.cpp: 2953 (createBitmapContextFromWebView): Renamed from 2954 getBitmapContextFromWebView to match the name used in the 2955 cross-platform code. 2956 2957 2009-02-10 Adam Roben <aroben (a] apple.com> 2958 2959 Robustify DumpRenderTree/win a little 2960 2961 DumpRenderTree was previously not holding a ref to the WebViews it 2962 created via window.open. It was getting away with this because 2963 WebViews get reffed by being preference notification observers and by 2964 registering for drag-n-drop messages. Now DRT does hold a ref, in case 2965 this situation changes in the future. 2966 2967 Reviewed by Alexey Proskuryakov. 2968 2969 * DumpRenderTree/win/DumpRenderTree.cpp: 2970 (dumpBackForwardListForAllWindows): Added a .get(). 2971 (windowToWebViewMap): Changed to use the WindowToWebViewMap typedef. 2972 * DumpRenderTree/win/DumpRenderTreeWin.h: Changed the 2973 windowToWebViewMap() to hold a ref to the WebViews it contains. 2974 2975 2009-02-05 Simon Fraser <simon.fraser (a] apple.com> 2976 2977 Fix the #include file order, per review comments. 2978 2979 * DumpRenderTree/mac/PixelDumpSupportMac.mm: 2980 2981 2009-02-05 Simon Fraser <simon.fraser (a] apple.com> 2982 2983 Reviewed by Dan Bernstein 2984 2985 https://bugs.webkit.org/show_bug.cgi?id=23362 2986 2987 If the WebHTMLView uses accelerated compositing, we need for force 2988 the on-screen capture path and also force animations to start with -display 2989 since the DRT window has autodisplay disabled. 2990 2991 * DumpRenderTree/mac/PixelDumpSupportMac.mm: 2992 (createBitmapContextFromWebView): 2993 2994 2009-02-03 miggilin <mr.diggilin (a] gmail.com> 2995 2996 Reviewed by Darin Adler. 2997 2998 Change the way wxWidgets build gets arguments. 2999 Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the 3000 argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be 3001 removed when --wx is checked for). 3002 3003 https://bugs.webkit.org/show_bug.cgi?id=23701 3004 3005 * Scripts/build-webkit: 3006 * Scripts/webkitdirs.pm: 3007 3008 2009-01-30 Chris Fleizach <cfleizach (a] apple.com> 3009 3010 Reviewed by Oliver Hunt. 3011 3012 Catch exceptions thrown by AppKit when accessing an attribute than an element 3013 doesn't return. 3014 3015 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 3016 (attributesOfElement): 3017 3018 2009-01-29 David Kilzer <ddkilzer (a] apple.com> 3019 3020 Remove semi-colons from the end of ObjC method implementations 3021 3022 Rubber-stamped by Adam Roben. 3023 3024 $ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \; 3025 3026 * DumpRenderTree/mac/FrameLoadDelegate.mm: 3027 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]): 3028 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]): 3029 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]): 3030 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]): 3031 * DumpRenderTree/mac/UIDelegate.mm: 3032 (-[UIDelegate webViewFrame:]): 3033 3034 2009-01-28 Geoffrey Garen <ggaren (a] apple.com> 3035 3036 Build fix for GTK. 3037 3038 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 3039 (LayoutTestController::webHistoryItemCount): 3040 3041 2009-01-28 Geoffrey Garen <ggaren (a] apple.com> 3042 3043 Reviewed by Sam Weinig. 3044 3045 Added support for querying how many history items were created during a 3046 layout test. 3047 3048 * DumpRenderTree/LayoutTestController.cpp: 3049 (getWebHistoryItemCountCallback): 3050 (LayoutTestController::staticValues): 3051 * DumpRenderTree/LayoutTestController.h: 3052 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 3053 (LayoutTestController::webHistoryItemCount): 3054 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 3055 (LayoutTestController::webHistoryItemCount): 3056 3057 2009-01-26 Pierre-Olivier Latour <pol (a] apple.com> 3058 3059 Tweaked again earlier fix, this time just to print a warning and not abort if 3060 attempting to generate pixel results and Perian is installed. 3061 3062 https://bugs.webkit.org/show_bug.cgi?id=22615 3063 3064 * Scripts/run-webkit-tests: 3065 3066 2009-01-26 Christian Dywan <christian (a] twotoasts.de> 3067 3068 Rubber stamped by Holger Freyther. 3069 3070 * GtkLauncher/main.c: 3071 (main): Initialize threads, which is required for libSoup. 3072 3073 2009-01-23 David Kilzer <ddkilzer (a] apple.com> 3074 3075 * Scripts/do-webcore-rename: Removed 10 header guard renames that 3076 had already been fixed, and updated 4 renames whose original values 3077 had changed. 3078 3079 2009-01-22 Anders Carlsson <andersca (a] apple.com> 3080 3081 Fix Windows build. 3082 3083 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 3084 3085 2009-01-22 Anders Carlsson <andersca (a] apple.com> 3086 3087 Reviewed by Sam Weinig. 3088 3089 Clean up the test plug-in code. We now always use the CG drawing model and the 3090 Cocoa event model. It is however possible to revert to the old Carbon event model by 3091 specifying forcecarbon=true in the embed/object tag. 3092 3093 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 3094 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 3095 (NPP_New): 3096 (handleEventCarbon): 3097 (handleEventCocoa): 3098 (NPP_HandleEvent): 3099 3100 2009-01-21 Pierre-Olivier Latour <pol (a] apple.com> 3101 3102 Tweaked earlier fix to only print a warning when Perian is installed, 3103 and fail completely only if attempting to generate new pixel test results. 3104 3105 https://bugs.webkit.org/show_bug.cgi?id=23392 3106 3107 * Scripts/run-webkit-tests: 3108 3109 2009-01-20 Darin Adler <darin (a] apple.com> 3110 3111 Reviewed by Alexey Proskuryakov. 3112 3113 Bug 23450: string leaks seen in DumpRenderTree accessibility test code 3114 https://bugs.webkit.org/show_bug.cgi?id=23450 3115 3116 * DumpRenderTree/AccessibilityUIElement.cpp: 3117 (isAttributeSettableCallback): Add the missing JSStringRelease call. 3118 (attributeValueCallback): Ditto. 3119 3120 2009-01-20 Pierre-Olivier Latour <pol (a] apple.com> 3121 3122 Reviewed by Darin Adler. 3123 3124 Print warning regarding display color profile change in run-webkit-tests instead of DRT. 3125 3126 https://bugs.webkit.org/show_bug.cgi?id=23392 3127 3128 * DumpRenderTree/mac/PixelDumpSupportMac.mm: 3129 (setupMainDisplayColorProfile): 3130 * Scripts/run-webkit-tests: 3131 3132 2009-01-20 Pierre-Olivier Latour <pol (a] apple.com> 3133 3134 Reviewed by Darin Adler. 3135 3136 Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed, 3137 in order to avoid result differences in some media tests. 3138 3139 https://bugs.webkit.org/show_bug.cgi?id=22615 3140 3141 * Scripts/run-webkit-tests: 3142 * Scripts/webkitdirs.pm: 3143 3144 2009-01-19 Sam Weinig <sam (a] webkit.org> 3145 3146 * Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr. 3147 3148 2009-01-16 Gabor Loki <loki (a] inf.u-szeged.hu> 3149 3150 Reviewed by Darin Adler. 3151 3152 * Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional 3153 parameters to make command in QMake projects. 3154 3155 2009-01-16 Chris Fleizach <cfleizach (a] apple.com> 3156 3157 Reviewed by Beth Dakin. 3158 3159 Add AX methods to retrieve the parent of an element. 3160 3161 * DumpRenderTree/AccessibilityUIElement.cpp: 3162 (parentElementCallback): 3163 (AccessibilityUIElement::getJSClass): 3164 * DumpRenderTree/AccessibilityUIElement.h: 3165 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 3166 (AccessibilityUIElement::parentElement): 3167 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 3168 (AccessibilityUIElement::parentElement): 3169 3170 2009-01-16 Anders Carlsson <andersca (a] apple.com> 3171 3172 Reviewed by Adam Roben. 3173 3174 Set the count to the right number of elements. 3175 3176 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: 3177 (testEnumerate): 3178 3179 2009-01-14 David Kilzer <ddkilzer (a] apple.com> 3180 3181 BUILD FIX: Use COM API on Windows in LayoutTestController::setIconDatabaseEnabled() 3182 3183 Rubber-stamped by Alice Liu. 3184 3185 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 3186 (LayoutTestController::setIconDatabaseEnabled): Use COM API 3187 to get the shared WebIconDatabase. 3188 3189 2009-01-14 Jeremy Moskovich <jeremy (a] chromium.org> 3190 3191 Reviewed by Eric Seidel. 3192 3193 <https://bugs.webkit.org/show_bug.cgi?id=16829> 3194 Implement NPN_SetException() 3195 3196 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 3197 (pluginInvoke): 3198 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: 3199 (initializeIdentifiers): 3200 (testHasMethod): 3201 (testInvoke): 3202 3203 2009-01-13 Dmitry Titov <dimich (a] chromium.org> 3204 3205 Reviewed by David Kilzer. 3206 3207 https://bugs.webkit.org/show_bug.cgi?id=23304 3208 Fix svn-apply to match svn-unapply to recognize added files in 'git diff' patches. 3209 3210 * Scripts/svn-apply: Added a check (similar to svn-unapply) to recognize added files. 3211 3212 2009-01-14 David Kilzer <ddkilzer (a] apple.com> 3213 3214 BUILD FIX: Implement LayoutTestController::setIconDatabaseEnabled(bool) for GTK 3215 3216 * DumpRenderTree/gtk/DumpRenderTree.cpp: 3217 (runTest): Added call to reset the icon database to match Mac 3218 and Windows ports. 3219 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 3220 (LayoutTestController::setIconDatabaseEnabled): Implemented 3221 stub method. 3222 3223 2009-01-14 David Kilzer <ddkilzer (a] apple.com> 3224 3225 Bug 22795: favicons should be saved to webarchives 3226 3227 <https://bugs.webkit.org/show_bug.cgi?id=22795> 3228 3229 Reviewed by Darin Adler. 3230 3231 * DumpRenderTree/LayoutTestController.cpp: 3232 (setIconDatabaseEnabledCallback): Added. 3233 (setJavaScriptProfilingEnabledCallback): Realphabetized. 3234 (LayoutTestController::staticFunctions): Added entry for calling 3235 LayoutTestController.setIconDatabaseEnabled(bool) from JavaScript. 3236 * DumpRenderTree/LayoutTestController.h: 3237 (setIconDatabaseEnabledCallback): Added declaration. 3238 (setJavaScriptProfilingEnabledCallback): Realphabetized. 3239 3240 * DumpRenderTree/mac/DumpRenderTree.mm: 3241 (runTest): Disable the icon database before each test. 3242 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 3243 (LayoutTestController::setIconDatabaseEnabled): Added. 3244 (LayoutTestController::setJavaScriptProfilingEnabled): Realphabetized. 3245 3246 * DumpRenderTree/win/DumpRenderTree.cpp: 3247 (runTest): Disable the icon database before each test. 3248 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 3249 (LayoutTestController::setIconDatabaseEnabled): Added. 3250 3251 2009-01-14 Steve Falkenburg <sfalken (a] apple.com> 3252 3253 Update copyright year in version resources. 3254 3255 Reviewed by Adam Roben. 3256 3257 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc: 3258 3259 2009-01-14 Dan Bernstein <mitz (a] apple.com> 3260 3261 Reviewed by John Sullivan. 3262 3263 - update copyright 3264 3265 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: 3266 * WebKitLauncher/Info.plist: 3267 3268 2009-01-13 Anders Carlsson <andersca (a] apple.com> 3269 3270 Reviewed by Sam Weinig. 3271 3272 Add NPRuntime test. 3273 3274 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 3275 (testNPRuntime): 3276 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 3277 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 3278 (NPP_New): 3279 (NPP_GetValue): 3280 3281 2009-01-12 Mark Rowe <mrowe (a] apple.com> 3282 3283 Use the modern spelling of WebKit. 3284 3285 * Scripts/find-extra-includes: 3286 * Scripts/report-include-statistics: 3287 * Scripts/run-webkit-app: 3288 * Scripts/svn-unapply: 3289 * Scripts/update-webkit: 3290 3291 2009-01-11 Darin Adler <darin (a] apple.com> 3292 3293 * Scripts/make-js-test-wrappers: Updated so it won't overwrite tests in the svg/dom 3294 directory that aren't using standard wrappers. 3295 3296 2009-01-11 Robert Blaut <webkit (a] blaut.biz> 3297 3298 Reviewed by Eric Seidel. 3299 3300 <https://bugs.webkit.org/show_bug.cgi?id=23134> 3301 Update bisect-builds for Safari 3.2 to prevent crashes 3302 3303 * Scripts/bisect-builds: Added Safari 3.2 and the corresponding minimal revision, r37348. 3304 3305 2009-01-08 Adam Treat <adam.treat (a] torchmobile.com> 3306 3307 Reviewed by Simon Hausmann. 3308 3309 Explicitly set these so that the layout tests do not break. 3310 3311 * DumpRenderTree/qt/DumpRenderTree.cpp: 3312 (WebCore::WebPage::WebPage): 3313 3314 2009-01-07 Glenn Wilson <gwilson (a] chromium.org> 3315 3316 Reviewed by Eric Seidel. 3317 3318 Changed DumpRenderTree to re-enable Javascript in web preferences on every test. 3319 This fixes the case when a user mistakenly disables Javascript, and all layout tests crash. 3320 3321 * DumpRenderTree/mac/DumpRenderTree.mm: 3322 (testStringByEvaluatingJavaScriptFromString): 3323 (setDefaultsToConsistentValuesForTesting): 3324 3325 2009-01-07 Holger Hans Peter Freyther <zecke (a] selfish.org> 3326 3327 Reviewed by Maciej Stachowiak. 3328 3329 Implement numberOfActiveAnimations to fix the build 3330 3331 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 3332 (LayoutTestController::numberOfActiveAnimations): 3333 3334 2009-01-07 Adam Treat <adam.treat (a] torchmobile.com> 3335 3336 Reviewed by George Staikos. 3337 3338 Fix unused variable warnings 3339 3340 * DumpRenderTree/qt/DumpRenderTree.cpp: 3341 (WebCore::WebPage::javaScriptAlert): 3342 (WebCore::WebPage::javaScriptConfirm): 3343 (WebCore::WebPage::javaScriptPrompt): 3344 * DumpRenderTree/qt/jsobjects.cpp: 3345 (LayoutTestController::maybeDump): 3346 * DumpRenderTree/qt/main.cpp: 3347 (get_backtrace): 3348 * DumpRenderTree/qt/testplugin.cpp: 3349 (TestPlugin::create): 3350 3351 2009-01-06 Pierre-Olivier Latour <pol (a] apple.com> 3352 3353 Reviewed by Darin Adler. 3354 3355 Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations. 3356 This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore. 3357 3358 https://bugs.webkit.org/show_bug.cgi?id=23126 3359 3360 * DumpRenderTree/LayoutTestController.cpp: 3361 (numberOfActiveAnimationsCallback): 3362 (LayoutTestController::staticFunctions): 3363 * DumpRenderTree/LayoutTestController.h: 3364 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 3365 (LayoutTestController::numberOfActiveAnimations): 3366 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 3367 (LayoutTestController::numberOfActiveAnimations): 3368 3369 2009-01-04 David Kilzer <ddkilzer (a] apple.com> 3370 3371 Don't install internal headers in WebKit framework 3372 3373 Reviewed by Darin Adler. 3374 3375 Since WebHTMLRepresentationInternal.h and WebTypesInternal.h are 3376 no longer installed in WebKit.framework/PrivateHeaders, use the 3377 special relationship of DumpRenderTree within the WebKit source 3378 tree to include the internal headers through relative paths. 3379 Created the concept of mac/InternalHeaders to hide the ugly 3380 paths. 3381 3382 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added 3383 mac/InternalHeaders to HEADER_SEARCH_PATHS. 3384 * DumpRenderTree/mac/InternalHeaders/WebKit/WebHTMLRepresentationInternal.h: Added. 3385 * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h: Added. 3386 3387 2009-01-02 Adam Treat <treat (a] kde.org> 3388 3389 Reviewed by George Staikos. 3390 3391 Add support for fixedLayoutSize to the qt DRT 3392 3393 * DumpRenderTree/qt/jsobjects.cpp: 3394 (LayoutTestController::setFixedLayoutSize): 3395 (LayoutTestController::setUseFixedLayout): 3396 * DumpRenderTree/qt/jsobjects.h: 3397 3398 2009-01-03 David D. Kilzer <ddkilzer (a] webkit.org> 3399 3400 Bug 23091: Some webarchive http tests intermittently fail due to Connection/Keep-Alive header differences 3401 3402 <https://bugs.webkit.org/show_bug.cgi?id=23091> 3403 3404 Reviewed by Darin Adler. 3405 3406 * DumpRenderTree/mac/DumpRenderTree.mm: 3407 (normalizeHTTPResponseHeaderFields): Remove Keep-Alive and 3408 Connection headers from webarchive results. 3409 3410 2008-12-31 Zan Dobersek <zandobersek (a] gmail.com> 3411 3412 Reviewed by Holger Freyther. 3413 3414 https://bugs.webkit.org/show_bug.cgi?id=22812 3415 3416 Prevent TestNetscapePlugin from installing system-wide. 3417 3418 * GNUmakefile.am: 3419 3420 2008-12-31 Zan Dobersek <zandobersek (a] gmail.com> 3421 3422 Reviewed by Holger Freyther. 3423 3424 https://bugs.webkit.org/show_bug.cgi?id=22842 3425 3426 Move WebKitWebView's size allocation into a proper place. 3427 3428 * DumpRenderTree/gtk/DumpRenderTree.cpp: 3429 (dump): 3430 (runTest): 3431 3432 2008-12-24 Mark Rowe <mrowe (a] apple.com> 3433 3434 Reviewed by Timothy Hatcher. 3435 3436 Move the guts of determineCurrentSVNRevision to VCSUtils as svnRevisionForDirectory, 3437 and make it work for git too. 3438 3439 * Scripts/VCSUtils.pm: 3440 * Scripts/webkitdirs.pm: 3441 3442 2008-12-22 Nikolas Zimmermann <nikolas.zimmermann (a] torchmobile.com> 3443 3444 Reviewed by George Staikos. 3445 3446 Ignore http/tests/wml, if no WML support is present. 3447 Add http/tests/wml to list of HTTP tests, allowed to access local resources. 3448 3449 * Scripts/run-webkit-tests: 3450 3451 2008-12-19 David Levin <levin (a] chromium.org> 3452 3453 Reviewed by Mark Rowe. 3454 3455 https://bugs.webkit.org/show_bug.cgi?id=22930 3456 3457 Make the git diff command used for preparing the change log avoid using any external diff tools. 3458 3459 * Scripts/prepare-ChangeLog: 3460 3461 2008-12-19 Gustavo Noronha Silva <gns (a] gnome.org> 3462 3463 Reviewed by Holger Freyther. 3464 3465 https://bugs.webkit.org/show_bug.cgi?id=22686 3466 3467 Added files which were missing from the TestNetscapePlugin 3468 directory to the SOURCES variable, so that they will be 3469 distributed in a make dist. 3470 3471 * GNUMakefile.am: 3472 3473 2008-12-18 Cameron Zwarich <zwarich (a] apple.com> 3474 3475 Reviewed by Geoff Garen. 3476 3477 Add tests for bug 21855: REGRESSION (r37323): Gmail complains about popup blocking when opening a link 3478 <https://bugs.webkit.org/show_bug.cgi?id=21855> 3479 <rdar://problem/6278244> 3480 3481 Add support for scheduling asynchronous clicks to DumpRenderTree, but 3482 only on the Mac. 3483 3484 * DumpRenderTree/mac/EventSendingController.h: 3485 * DumpRenderTree/mac/EventSendingController.mm: 3486 (+[EventSendingController isSelectorExcludedFromWebScript:]): Expose 3487 scheduleAsynchronousClick to JavaScript. 3488 (-[EventSendingController scheduleAsynchronousClick]): Add. 3489 3490 2008-12-15 Darin Adler <darin (a] apple.com> 3491 3492 * Scripts/make-js-test-wrappers: Added another exception to avoid overwriting 3493 a custom-written test. 3494 3495 2008-12-15 Simon Hausmann <hausmann (a] webkit.org> 3496 3497 Reviewed by Holger Freyther. 3498 3499 Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler. 3500 3501 * DumpRenderTree/qt/jsobjects.cpp: 3502 (LayoutTestController::setJavaScriptProfilingEnabled): 3503 * DumpRenderTree/qt/jsobjects.h: 3504 3505 2008-12-13 Zan Dobersek <zandobersek (a] gmail.com> 3506 3507 Reviewed by Darin Adler. 3508 3509 https://bugs.webkit.org/show_bug.cgi?id=22039 3510 3511 Implement animation and transition pausing. 3512 3513 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 3514 (LayoutTestController::pauseAnimationAtTimeOnElementWithId): 3515 (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 3516 3517 2008-12-12 Brent Fulgham <bfulgham (a] gmail.com> 3518 3519 Reviewed by Adam Roben. 3520 3521 https://bugs.webkit.org/show_bug.cgi?id=22809 3522 3523 Increase timeout in call to initWithURL so that people actually see 3524 new web pages when they type URLs rather than a blank screen. 3525 3526 * WinLauncher/WinLauncher.cpp: 3527 (loadURL): Increase timeout in initWithURL from 0 to 60 seconds. 3528 3529 2008-12-12 Darin Adler <darin (a] apple.com> 3530 3531 * Scripts/do-webcore-rename: Add a renaming idea. 3532 3533 2008-12-12 Holger Hans Peter Freyther <zecke (a] selfish.org> 3534 3535 Reviewed by Simon Hausmann. 3536 3537 Update the WebKit.qrc and add a script to automatically generate the file. 3538 3539 With the way rcc and qmake work this can not be done at build time 3540 as the WebKit.qrc must sit inside the directory that contains the files 3541 and at build time we may not change the content of the source directory. 3542 3543 * Scripts/generate-qt-inspector-resource: Added. 3544 3545 2008-12-11 Cameron Zwarich <zwarich (a] apple.com> 3546 3547 Rubber-stamped by Mark Rowe. 3548 3549 Roll out r39212 due to assertion failures during layout tests, multiple 3550 layout test failures, memory leaks, and obvious incorrectness. 3551 3552 * DumpRenderTree/LayoutTestController.cpp: 3553 (LayoutTestController::staticFunctions): 3554 * DumpRenderTree/LayoutTestController.h: 3555 * DumpRenderTree/mac/DumpRenderTree.mm: 3556 (resetWebViewToConsistentStateBeforeTesting): 3557 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 3558 * DumpRenderTree/win/DumpRenderTree.cpp: 3559 (resetWebViewToConsistentStateBeforeTesting): 3560 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 3561 (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 3562 3563 2008-12-10 Glenn Wilson <gwilson (a] google.com> 3564 3565 Reviewed by Adam Roben. 3566 3567 Changed LayoutTestController and DumpRenderTree to allow for manual 3568 overriding of default preferences at test time. Also added support for 3569 resetting the preferences after each test. 3570 https://bugs.webkit.org/show_bug.cgi?id=20534 3571 3572 * DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences 3573 * DumpRenderTree/LayoutTestController.h: Added signature for callback 3574 * DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary 3575 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function 3576 * DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary 3577 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function 3578 3579 2008-12-10 Brady Eidson <beidson (a] apple.com> 3580 3581 Reviewed by Darin Adler. 3582 3583 Implement the new policy delegate (including navigation type and permissive mode) for DRT/win 3584 3585 * DumpRenderTree/win/DumpRenderTree.cpp: 3586 * DumpRenderTree/win/DumpRenderTreeWin.h: 3587 3588 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 3589 (LayoutTestController::setCustomPolicyDelegate): 3590 3591 * DumpRenderTree/win/PolicyDelegate.cpp: 3592 (PolicyDelegate::PolicyDelegate): 3593 (PolicyDelegate::decidePolicyForNavigationAction): 3594 * DumpRenderTree/win/PolicyDelegate.h: 3595 (PolicyDelegate::setPermissive): 3596 3597 2008-12-10 Brady Eidson <beidson (a] apple.com> 3598 3599 Reviewed by Darin 3600 3601 Change the custom policy delegate to actually allow navigation for tests that need it. 3602 The new behavior is opt-in and doesn't require any changes in old tests. 3603 3604 * DumpRenderTree/LayoutTestController.cpp: 3605 (setCustomPolicyDelegateCallback): Allow for a second boolean argument to set the permissive flag on the custom 3606 policy delegate, which will be false by default to maintain original behavior. 3607 * DumpRenderTree/LayoutTestController.h: 3608 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 3609 (LayoutTestController::setCustomPolicyDelegate): 3610 3611 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 3612 (LayoutTestController::setCustomPolicyDelegate): Partially stubbed out for now. 3613 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 3614 (LayoutTestController::setCustomPolicyDelegate): Still stubbed out, but with new param. 3615 3616 * DumpRenderTree/mac/PolicyDelegate.h: 3617 * DumpRenderTree/mac/PolicyDelegate.mm: 3618 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): If the permissive flag 3619 is set, allow the navigation. 3620 (-[PolicyDelegate setPermissive:]): Change the behavior between "use" and "ignore" - allowing navigation or not. 3621 3622 2008-12-09 Mark Rowe <mrowe (a] apple.com> 3623 3624 Rubber-stamped by Ada Chan. 3625 3626 Fix gdb-safari on Tiger. 3627 3628 gdb on Tiger does not take the -arch flag, so do not pass it. 3629 3630 * Scripts/gdb-safari: 3631 3632 2008-12-09 Nikolas Zimmermann <nikolas.zimmermann (a] torchmobile.com> 3633 3634 Reviewed by Alexey Proskuryakov. 3635 3636 Ignore WML tests, if no WML support available. 3637 3638 * Scripts/run-webkit-tests: 3639 3640 2008-12-08 Geoffrey Garen <ggaren (a] apple.com> 3641 3642 Reviewed by Oliver Hunt. 3643 3644 Added a shortcut for --jsDriver-args, which I use a lot. 3645 3646 * Scripts/run-javascriptcore-tests: 3647 3648 2008-12-08 Stephanie Lewis <slewis (a] apple.com> 3649 3650 Fix Tiger build. 3651 3652 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 3653 3654 2008-12-08 Darin Adler <darin (a] apple.com> 3655 3656 Reviewed by John Sullivan. 3657 3658 - test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409 3659 REGRESSION: cmd-shift-left/right don't switch tabs, instead select text 3660 3661 * DumpRenderTree/LayoutTestController.cpp: 3662 (isCommandEnabledCallback): Added. 3663 (LayoutTestController::staticFunctions): Added "isCommandEnabled". 3664 * DumpRenderTree/LayoutTestController.h: Ditto. 3665 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 3666 (LayoutTestController::isCommandEnabled): Ditto. 3667 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 3668 (-[CommandValidationTarget initWithAction:]): Added. Used to get the 3669 command validation system to tell us if a comment is enabled. 3670 (-[CommandValidationTarget action]): Ditto. 3671 (-[CommandValidationTarget tag]): Ditto. 3672 (LayoutTestController::isCommandEnabled): Ditto. 3673 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 3674 (LayoutTestController::isCommandEnabled): Ditto. 3675 3676 2008-12-08 David Kilzer <ddkilzer (a] apple.com> 3677 3678 Bug 22555: Sort "children" sections in Xcode project files 3679 3680 <https://bugs.webkit.org/show_bug.cgi?id=22555> 3681 3682 Reviewed by Eric Seidel. 3683 3684 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted. 3685 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted. 3686 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted. 3687 3688 2008-12-08 David Kilzer <ddkilzer (a] apple.com> 3689 3690 Bug 22555: Sort "children" sections in Xcode project files 3691 3692 <https://bugs.webkit.org/show_bug.cgi?id=22555> 3693 3694 Reviewed by Timothy Hatcher. 3695 3696 * Scripts/sort-Xcode-project-file: By popular request, don't sort 3697 the mainGroup in the project (the list of items below the top-level 3698 project file). 3699 3700 2008-12-05 David Kilzer <ddkilzer (a] apple.com> 3701 3702 Bug 22555: Sort "children" sections in Xcode project files 3703 3704 <https://bugs.webkit.org/show_bug.cgi?id=22555> 3705 3706 Reviewed by Darin Adler. 3707 3708 Sort "children" sections alphabetically, moving groups (folders) to 3709 the top of each of the lists. Files are assumed to have extensions, 3710 so %isFile is used to override this behavior. 3711 3712 * Scripts/sort-Xcode-project-file: 3713 (sortChildrenByFileName): Added. 3714 (sortFilesByFileName): Renamed from sortByFileName(). 3715 3716 2008-12-05 Eric Seidel <eric (a] webkit.org> 3717 3718 Reviewed by Geoff Garen. 3719 3720 https://bugs.webkit.org/show_bug.cgi?id=22683 3721 Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV 3722 Add a new argumentsForConfiguration() function and clean up some old code to use it. 3723 Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting. 3724 3725 * Scripts/run-javascriptcore-tests: 3726 * Scripts/run-launcher: 3727 * Scripts/run-webkit-tests: 3728 * Scripts/webkitdirs.pm: 3729 3730 2008-12-03 Nikolas Zimmermann <nikolas.zimmermann (a] torchmobile.com> 3731 3732 Reviewed by Cameron Zwarich. 3733 3734 Further preparations for WML layout tests. 3735 Ignore WMLTestCase.js, that's going to be in trunk soon. 3736 3737 * Scripts/make-js-test-wrappers: 3738 3739 2008-12-03 Eric Seidel <eric (a] webkit.org> 3740 3741 Build fix for --gtk and --chromium, no review. 3742 3743 Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc. 3744 through to build-jsc. 3745 3746 * Scripts/build-jsc: 3747 * Scripts/webkitdirs.pm: 3748 3749 2008-12-03 Eric Seidel <eric (a] webkit.org> 3750 3751 Build fix only, no review. 3752 3753 Remove support for build-webkit --svg-experimental. 3754 All of the "experimental" svg features have their own toggles anyway. 3755 I broke --svg-experimental in my last commit (which then broke clean builds) 3756 I can't find any use of --svg-experimental in our source tree, so removing it. 3757 3758 * Scripts/build-webkit: 3759 3760 2008-12-02 Eric Seidel <eric (a] webkit.org> 3761 3762 Reviewed by David Hyatt (and Mark Rowe). 3763 3764 Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc 3765 Move --coverage support out of run-javascriptcore-tests and into build-jsc 3766 3767 Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support 3768 there from build-webkit (to allow future sharing with other build-* scripts) 3769 3770 Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of 3771 picking through ARGV with a blacklist of what arguments weren't jsDriver args 3772 this makes run-javascriptcore-tests transparently support all arguments which 3773 webkitdirs.pm gives it support for. 3774 3775 Make run-javascriptcore-tests actually print what commands it's running before running them. 3776 3777 Add --help support to build-jsc and run-javascriptcore-tests! 3778 3779 Make code to support --svg-experimental defaults take up half as many lines. 3780 3781 * Scripts/build-jsc: 3782 * Scripts/build-webkit: 3783 * Scripts/run-javascriptcore-tests: 3784 * Scripts/webkitdirs.pm: 3785 3786 2008-12-03 Adam Roben <aroben (a] apple.com> 3787 3788 Fix a leak in WinLauncher shutdown 3789 3790 Reviewed by Sam Weinig. 3791 3792 * WinLauncher/WinLauncher.cpp: 3793 (_tWinMain): Replaced a delete with a Release. We can't delete the 3794 WebView properly since we only have a pointer to one of its 3795 interfaces. We also shouldn't be deleting COM objects directly anyway, 3796 for a number of reasons. 3797 3798 2008-12-03 Adam Roben <aroben (a] apple.com> 3799 3800 Fix a crash on exit in WinLauncher 3801 3802 Reviewed by Sam Weinig. 3803 3804 * WinLauncher/WinLauncher.cpp: 3805 (_tWinMain): Call shutDownWebKit before exiting. 3806 3807 2008-12-03 Adam Roben <aroben (a] apple.com> 3808 3809 Add a Debug_Internal configuration to WinLauncher 3810 3811 This matches our other projects. 3812 3813 Reviewed by Sam Weinig. 3814 3815 * WinLauncher/WinLauncher.vcproj: Added a Debug_Internal 3816 configuration, which is identical to Debug except that it also 3817 references debug_internal.vsprops. Also removed some settings that we 3818 should be picking up from the .vsprops files. 3819 3820 2008-12-02 Eric Seidel <eric (a] webkit.org> 3821 3822 Reviewed by David Kilzer. 3823 3824 Hack build-webkit --chromium to use Win32 python instead 3825 of using the default cygwin python. Scons + CYGWIN tries 3826 to build with GCC by default, we force MSVC in our file 3827 but that just results in errors from Scons. Until we can fix 3828 this latest round of errors, at least make build-webkit --chromium 3829 actually "work" under CYGWIN instead of forcing users to use 3830 a cmd shell directly. 3831 3832 This is working around a Scons bug: 3833 http://scons.tigris.org/issues/show_bug.cgi?id=2266 3834 3835 * Scripts/webkitdirs.pm: 3836 3837 2008-12-01 David Kilzer <ddkilzer (a] apple.com> 3838 3839 Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org 3840 3841 <https://bugs.webkit.org/show_bug.cgi?id=22466> 3842 <rdar://problem/6403593> 3843 3844 Reviewed by Brady Eidson. 3845 3846 * DumpRenderTree/mac/DumpRenderTree.mm: 3847 (normalizeHTTPResponseHeaderFields): Added. Normalizes Date, Etag, 3848 Keep-Alive, Last-Modified and Server header fields to prevent false 3849 positive test failures. 3850 (convertWebResourceResponseToDictionary): Call 3851 normalizeHTTPResponseHeaderFields() to noramlize HTTP response 3852 header fields. 3853 3854 2008-12-01 David D. Kilzer <ddkilzer (a] webkit.org> 3855 3856 Bug 22559: Report builds left to test in bisect-builds (like git-bisect) 3857 3858 <https://bugs.webkit.org/show_bug.cgi?id=22559> 3859 3860 Reviewed by Adam Roben. 3861 3862 * Scripts/bisect-builds: Updated status message to report the 3863 maximum number of builds left to test after the current one. 3864 (max): Added. 3865 3866 2008-11-27 Alp Toker <alp (a] nuanti.com> 3867 3868 Build GtkLauncher and minidom with the '-ansi' compiler flag to detect 3869 API header breakage at build time. 3870 3871 * GNUmakefile.am: 3872 3873 2008-11-26 Eric Seidel <eric (a] webkit.org> 3874 3875 Reviewed by Nikolas Zimmermann and Mark Rowe. 3876 3877 Add support for build-webkit --chromium 3878 https://bugs.webkit.org/show_bug.cgi?id=22515 3879 More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary. 3880 3881 * Scripts/build-dumprendertree: 3882 * Scripts/build-jsc: 3883 * Scripts/build-webkit: 3884 * Scripts/gdb-safari: 3885 * Scripts/run-webkit-tests: 3886 * Scripts/webkitdirs.pm: 3887 3888 2008-11-26 Eric Seidel <eric (a] webkit.org> 3889 3890 Reviewed by Nikolas Zimmermann. 3891 3892 Add support for build-webkit --chromium (tested on mac) 3893 https://bugs.webkit.org/show_bug.cgi?id=22515 3894 Also simplified some code using checkArgv 3895 3896 * Scripts/build-webkit: 3897 * Scripts/webkitdirs.pm: 3898 3899 2008-11-26 Eric Seidel <eric (a] webkit.org> 3900 3901 Reviewed by Nikolas Zimmermann. 3902 3903 More pre-work for adding a build-webkit --chromium which works on Mac and Windows 3904 https://bugs.webkit.org/show_bug.cgi?id=22515 3905 Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin 3906 in preparation for having a chromium cygwin and chromium mac build 3907 3908 * Scripts/build-webkit: 3909 * Scripts/webkitdirs.pm: 3910 3911 2008-11-26 Eric Seidel <eric (a] webkit.org> 3912 3913 Reviewed by Nikolas Zimmermann. 3914 3915 Pre-work for getting build-webkit --chromium to work 3916 https://bugs.webkit.org/show_bug.cgi?id=22515 3917 Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium() 3918 3919 * Scripts/build-dumprendertree: 3920 * Scripts/build-jsc: 3921 * Scripts/build-webkit: 3922 * Scripts/gdb-safari: 3923 * Scripts/run-javascriptcore-tests: 3924 * Scripts/run-webkit-tests: 3925 * Scripts/webkitdirs.pm: 3926 3927 2008-11-26 David Kilzer <ddkilzer (a] apple.com> 3928 3929 Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content 3930 3931 <https://bugs.webkit.org/show_bug.cgi?id=22488> 3932 3933 Reviewed by Brady Eidson. 3934 3935 * DumpRenderTree/mac/DumpRenderTree.mm: 3936 (convertWebResourceDataToString): If an IANA charset encoding string 3937 is provided, convert it to a CFStringEncoding value and then to an 3938 NSStringEncoding value, else fall back to NSUTF8StringEncoding. We 3939 also nil-check dataAsString, so the worst-case scenario is that the 3940 data won't be decoded to a string (versus crashing DumpRenderTree). 3941 3942 2008-11-26 Jan Michael Alonzo <jmalonzo (a] webkit.org> 3943 3944 Reviewed by Holger Freyther. 3945 3946 [Gtk] add/remove tests from Skipped and fix netscape plugin test 3947 https://bugs.webkit.org/show_bug.cgi?id=22484 3948 3949 Remove print'ing to stderr 3950 3951 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp: 3952 (NP_Initialize): 3953 (NP_Shutdown): 3954 3955 2008-11-25 Steve Falkenburg <sfalken (a] apple.com> 3956 3957 Windows build fix. 3958 3959 * DumpRenderTree/cg/PixelDumpSupportCG.h: 3960 3961 2008-11-25 Steve Falkenburg <sfalken (a] apple.com> 3962 3963 Windows build fix. 3964 3965 * DumpRenderTree/cg/ImageDiffCG.cpp: 3966 3967 2008-11-24 Darin Fisher <darin (a] chromium.org> 3968 3969 Fix bustage. 3970 3971 https://bugs.webkit.org/show_bug.cgi?id=15643 3972 3973 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 3974 (LayoutTestController::setSelectTrailingWhitespaceEnabled): 3975 3976 2008-11-24 Glenn Wilson <gwilson (a] chromium.org> 3977 3978 Reviewed by Alexey Proskuryakov. 3979 3980 http://bugs.webkit.org/show_bug.cgi?id=15643 3981 3982 Added support for changing the "trailing whitespace" work-around 3983 in LayoutTestController (so layout tests can verify this functionality) 3984 3985 * DumpRenderTree/LayoutTestController.cpp: 3986 (setSelectTrailingWhitespaceEnabledCallback): 3987 (LayoutTestController::staticFunctions): 3988 * DumpRenderTree/LayoutTestController.h: 3989 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 3990 (LayoutTestController::setSelectTrailingWhitespaceEnabled): 3991 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 3992 (LayoutTestController::setSelectTrailingWhitespaceEnabled): 3993 3994 2008-11-24 Simon Fraser <simon.fraser (a] apple.com> 3995 3996 Reviewed by Darin Adler 3997 3998 https://bugs.webkit.org/show_bug.cgi?id=22433 3999 4000 Add script that attempts to detect virtual methods 4001 whose signatures differ only by constness (which can 4002 indicate a programming error). 4003 4004 * Scripts/detect-mismatched-virtual-const: Added. 4005 4006 2008-11-24 Zan Dobersek <zandobersek (a] gmail.com> 4007 4008 Reviewed by Holger Freyther. 4009 4010 https://bugs.webkit.org/show_bug.cgi?id=22039 4011 4012 [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the 4013 build. 4014 4015 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 4016 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: 4017 * DumpRenderTree/gtk/DumpRenderTree.cpp: 4018 (setDefaultsToConsistentStateValuesForTesting): 4019 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added. 4020 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added. 4021 * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added. 4022 * GNUmakefile.am: 4023 4024 2008-11-24 Holger Hans Peter Freyther <zecke (a] selfish.org> 4025 4026 Reviewed by Mark Rowe. 4027 4028 [Gtk+] Add configure option to enable Web Workers and enable it by default 4029 4030 Add --enable-workers to the buildsystem (used by build-webkit) add 4031 the to be build files to the GNUmakefile.am and change build-webkit 4032 to enable Web Workers by default. 4033 4034 * Scripts/build-webkit: 4035 4036 2008-11-24 Mark Rowe <mrowe (a] apple.com> 4037 4038 Reviewed by Alexey Proskuryakov. 4039 4040 Let gdb-safari accept the --debug and --release options once more. 4041 4042 * Scripts/gdb-safari: 4043 4044 2008-11-23 Zan Dobersek <zandobersek (a] gmail.com> 4045 4046 Reviewed by Holger Freyther. Landed by Jan Alonzo. 4047 4048 Get SVG tests tested on GTK port. 4049 4050 * Scripts/webkitdirs.pm: 4051 4052 2008-11-19 Greg Bolsinga <bolsinga (a] apple.com> 4053 4054 Reviewed by Darin Adler. 4055 4056 https://bugs.webkit.org/show_bug.cgi?id=21810 4057 Remove use of static C++ objects that are destroyed at exit time (destructors) 4058 4059 All static C++ objects that create atexit calls are gone. Update script 4060 to indicate how to fix the problem should a new one appear. 4061 4062 * Scripts/check-for-exit-time-destructors: 4063 4064 2008-11-18 Alexey Proskuryakov <ap (a] webkit.org> 4065 4066 Reviewed by Darin Adler. 4067 4068 https://bugs.webkit.org/show_bug.cgi?id=22337 4069 Enable workers by default 4070 4071 * Scripts/build-webkit: Changed the default to enabled. 4072 4073 2008-11-18 Alexey Proskuryakov <ap (a] webkit.org> 4074 4075 Rubber-stamped by Darin Adler. 4076 4077 https://bugs.webkit.org/show_bug.cgi?id=22306 4078 Disable channel messaging support 4079 4080 * Scripts/build-webkit: Add an option to enable channel messaging. 4081 4082 2008-11-17 Nikolas Zimmermann <nikolas.zimmermann (a] torchmobile.com> 4083 4084 Reviewed by George Staikos. 4085 4086 Add --(no-)wml build flags. 4087 4088 * Scripts/build-webkit: 4089 * Scripts/run-webkit-tests: 4090 * Scripts/webkitdirs.pm: 4091 4092 2008-11-17 Geoffrey Garen <ggaren (a] apple.com> 4093 4094 Not reviewed. 4095 4096 Try to fix gtk build. 4097 4098 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 4099 (LayoutTestController::pauseAnimationAtTimeOnElementWithId): 4100 (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 4101 4102 2008-11-17 Pierre-Olivier Latour <pol (a] apple.com> 4103 4104 Reviewed by Maciej. 4105 4106 Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0% 4107 on Tiger. 4108 4109 https://bugs.webkit.org/show_bug.cgi?id=22271 4110 4111 * Scripts/run-webkit-tests: 4112 4113 2008-11-17 Pierre-Olivier Latour <pol (a] apple.com> 4114 4115 Reviewed by Sam Weinig. 4116 4117 Added new JavaScript API on LayoutController to pause a running 4118 CSS transition or animation at a given time. 4119 4120 https://bugs.webkit.org/show_bug.cgi?id=21261 4121 4122 * DumpRenderTree/LayoutTestController.cpp: 4123 (pauseAnimationAtTimeOnElementWithIdCallback): 4124 (pauseTransitionAtTimeOnElementWithIdCallback): 4125 (LayoutTestController::staticFunctions): 4126 * DumpRenderTree/LayoutTestController.h: 4127 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 4128 (LayoutTestController::pauseAnimationAtTimeOnElementWithId): 4129 (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 4130 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 4131 (LayoutTestController::pauseAnimationAtTimeOnElementWithId): 4132 (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 4133 4134 2008-11-17 Gabor Loki <loki (a] inf.u-szeged.hu> 4135 4136 Reviewed by Darin Adler. 4137 4138 <https://bugs.webkit.org/show_bug.cgi?id=22309> 4139 Pass the remaining options to build system on Qt-port 4140 4141 * Scripts/build-webkit: 4142 * Scripts/webkitdirs.pm: 4143 4144 2008-11-16 Greg Bolsinga <bolsinga (a] apple.com> 4145 4146 Reviewed by Darin Adler. 4147 4148 https://bugs.webkit.org/show_bug.cgi?id=21810 4149 Remove use of static C++ objects that are destroyed at exit time (destructors) 4150 4151 Remove .o files from the exclude list that have had their exit-time destructors removed. 4152 Handle case when there is no current symbol. 4153 4154 * Scripts/check-for-exit-time-destructors: 4155 4156 2008-11-16 Sam Weinig <sam (a] webkit.org> 4157 4158 * Scripts/do-webcore-rename: Remove now fixed renames. 4159 4160 2008-11-16 Darin Adler <darin (a] apple.com> 4161 4162 * Scripts/do-webcore-rename: Plan some future renames. 4163 4164 2008-11-15 Darin Adler <darin (a] apple.com> 4165 4166 Rubber stamped by Geoff Garen. 4167 4168 - do the long-planned StructureID -> Structure rename 4169 4170 * Scripts/check-for-global-initializers: Update name of StructureID.o. 4171 * Scripts/do-webcore-rename: Renaming script that I used. 4172 4173 2008-11-15 Greg Bolsinga <bolsinga (a] apple.com> 4174 4175 Reviewed by Darin Adler. 4176 4177 https://bugs.webkit.org/show_bug.cgi?id=21810 4178 Remove use of static C++ objects that are destroyed at exit time (destructors) 4179 4180 Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid 4181 exit-time destructor. Update code that was changed to fix this issue that ran 4182 into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference 4183 in gcc build 5465). Also typdefs for template types needed to be added in some 4184 cases so the type could make it through the macro successfully. 4185 4186 Basically code of the form: 4187 static T m; 4188 becomes: 4189 DEFINE_STATIC_LOCAL(T, m, ()); 4190 4191 Also any code of the form: 4192 static T& m = *new T; 4193 also becomes: 4194 DEFINE_STATIC_LOCAL(T, m, ()); 4195 4196 Remove .o files from the exclude list that have had their exit-time destructors removed. 4197 4198 * Scripts/check-for-exit-time-destructors: 4199 4200 2008-11-14 Kevin Ollivier <kevino (a] theolliviers.com> 4201 4202 wx mac buildbot fix. Also, make sure we don't keep hitting this problem. 4203 4204 * wx/install-unix-extras: 4205 4206 2008-11-14 Alp Toker <alp (a] nuanti.com> 4207 4208 GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include. 4209 4210 Fixes Debian bug #505723 4211 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723 4212 4213 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 4214 4215 2008-11-14 Krishna <krishnamurty.podipireddy (a] nokia.com> 4216 4217 Reviewed by Simon Hausmann. 4218 4219 Fix hanging DRT with Qt. 4220 4221 https://bugs.webkit.org/show_bug.cgi?id=22209 4222 4223 * DumpRenderTree/qt/DumpRenderTree.cpp: 4224 (WebCore::DumpRenderTree::dump): 4225 Send empty pixel test data 'block', which is now 4226 expected by run-layout-tests. 4227 4228 2008-11-12 Dmitry Titov <dimich (a] chromium.org> 4229 4230 Reviewed by Alexey Proskuryakov. 4231 4232 https://bugs.webkit.org/show_bug.cgi?id=22216 4233 4234 * Scripts/build-webkit: 4235 Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled. 4236 4237 2008-11-06 David Kilzer <ddkilzer (a] apple.com> 4238 4239 BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0. 4240 4241 Apparently older versions of gcc have issues with this patch. 4242 Backing out a second time until the issues are resolved. 4243 4244 2008-11-06 David Kilzer <ddkilzer (a] apple.com> 4245 4246 BUILD WAS NOT BROKEN: Rolling r38189 back in. 4247 4248 Please perform a clean build if you see crashes. 4249 4250 2008-11-06 David Kilzer <ddkilzer (a] apple.com> 4251 4252 BUILD FIX: Backed out r38189 since it apparently broke the world. 4253 4254 2008-11-06 Chris Fleizach <cfleizach (a] apple.com> 4255 4256 Reviewed by Beth Dakin. 4257 4258 Add ability to query an attribute's settable status and the 4259 ability to retrieve a single attribute from an AXObject 4260 4261 * DumpRenderTree/AccessibilityUIElement.cpp: 4262 (isAttributeSettableCallback): 4263 (attributeValueCallback): 4264 (AccessibilityUIElement::getJSClass): 4265 * DumpRenderTree/AccessibilityUIElement.h: 4266 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 4267 (+[NSString stringWithJSStringRef:]): 4268 (AccessibilityUIElement::attributeValue): 4269 (AccessibilityUIElement::isAttributeSettable): 4270 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 4271 (AccessibilityUIElement::attributeValue): 4272 (AccessibilityUIElement::isAttributeSettable): 4273 4274 2008-11-06 Greg Bolsinga <bolsinga (a] apple.com> 4275 4276 Reviewed by Darin Adler. 4277 4278 Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors) 4279 https://bugs.webkit.org/show_bug.cgi?id=21810 4280 4281 Remove .o files from the exclude list that have had their exit-time destructors removed. 4282 4283 * Scripts/check-for-exit-time-destructors: 4284 4285 2008-11-05 Alp Toker <alp (a] nuanti.com> 4286 4287 GTK build script tweak. 4288 4289 Make the path relative since it will appear in all -I compiler flags. 4290 Long argument lists cause bizarre slowdowns in libtool and result 4291 in huge build logs. 4292 4293 * Scripts/webkitdirs.pm: 4294 4295 2008-11-05 Anders Carlsson <andersca (a] apple.com> 4296 4297 Fix 64-bit build. 4298 4299 * DumpRenderTree/mac/DumpRenderTree.mm: 4300 (setDefaultsToConsistentValuesForTesting): 4301 4302 2008-11-04 Simon Fraser <simon.fraser (a] apple.com> 4303 4304 Add AccessibilityObject.o to the exclude list for the 4305 check for global destructors. 4306 4307 * Scripts/check-for-exit-time-destructors: 4308 4309 2008-11-04 Darin Adler <darin (a] apple.com> 4310 4311 * Scripts/check-for-exit-time-destructors: Fix failures seen on the 4312 bot, but for some reason not on my computer. 4313 4314 2008-11-03 Darin Adler <darin (a] apple.com> 4315 4316 Reviewed by Tim Hatcher. 4317 4318 - https://bugs.webkit.org/show_bug.cgi?id=22061 4319 create script to check for exit-time destructors 4320 4321 * Scripts/check-for-exit-time-destructors: Added. 4322 Started as a copy of check-for-global-initializers. 4323 4324 * Scripts/check-for-global-initializers: Added code to make 4325 this script rerun any time it's modified, and also to properly 4326 run again after the first time it reports an error. 4327 4328 2008-11-03 Pierre-Olivier Latour <pol (a] apple.com> 4329 4330 Reviewed by Dan Bernstein. 4331 4332 Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox. 4333 4334 https://bugs.webkit.org/show_bug.cgi?id=22054 4335 4336 * DumpRenderTree/mac/DumpRenderTree.mm: 4337 (setDefaultsToConsistentValuesForTesting): 4338 4339 2008-10-31 Cameron Zwarich <zwarich (a] apple.com> 4340 4341 Not reviewed. 4342 4343 * Scripts/do-webcore-rename: 4344 4345 Add some renames to contemplate for the future. 4346 4347 2008-10-31 Darin Adler <darin (a] apple.com> 4348 4349 Requested by Mark Rowe. 4350 4351 * Scripts/check-for-global-initializers: s/Web Kit/WebKit/. 4352 4353 2008-10-31 David Kilzer <ddkilzer (a] apple.com> 4354 4355 Bug 21997: prepare-ChangeLog should filter out ChangeLog files 4356 4357 <https://bugs.webkit.org/show_bug.cgi?id=21997> 4358 4359 Reviewed by Darin Adler. 4360 4361 * Scripts/prepare-ChangeLog: 4362 (generateFileList): Don't add ChangeLog files to %{$functionLists}. 4363 This prevents them from showing up in the new ChangeLog entry. They 4364 were already excluded from @{$changedFiles}. 4365 4366 2008-10-30 Mark Rowe <mrowe (a] apple.com> 4367 4368 Reviewed by Jon Homeycutt. 4369 4370 Explicitly default to building for only the native architecture in debug and release builds. 4371 4372 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: 4373 4374 2008-10-30 Pierre-Olivier Latour <pol (a] apple.com> 4375 4376 Reviewed by Dan Bernstein. 4377 4378 Fixed 64 bit build failure. 4379 4380 * DumpRenderTree/mac/PixelDumpSupportMac.mm: 4381 (setupMainDisplayColorProfile): 4382 (createBitmapContextFromWebView): 4383 4384 2008-10-28 Alp Toker <alp (a] nuanti.com> 4385 4386 Fix GTK DRT following build breakage in r37928. 4387 4388 * DumpRenderTree/gtk/DumpRenderTree.cpp: 4389 (dump): 4390 (runTest): 4391 (main): 4392 4393 2008-10-28 Alp Toker <alp (a] nuanti.com> 4394 4395 Reviewed by Mark Rowe. 4396 4397 Fix recently introduced double-free crashes in GTK DRT. 4398 4399 LayoutTestController was made ref-counted in r36606 and Mac/Win DRT 4400 were updated to call ->deref() but GTK DRT was still deleting 4401 gLayoutTestController manually. This patch updates GTK to match the 4402 other ports and resolves the memory allocation issues. 4403 4404 * DumpRenderTree/gtk/DumpRenderTree.cpp: 4405 (runTest): 4406 4407 2008-10-28 Alp Toker <alp (a] nuanti.com> 4408 4409 Reviewed by Mark Rowe. 4410 4411 Fix GTK DRT hang when running the tests. 4412 4413 Update output from the DRT tool to print an additional '#EOF' to match 4414 breaking changes that were made in r37434. 4415 4416 * DumpRenderTree/gtk/DumpRenderTree.cpp: 4417 (dump): 4418 4419 2008-10-28 Adele Peterson <adele (a] apple.com> 4420 4421 Reviewed by Sam Weinig. 4422 4423 Specify which Localizable.strings to update since we don't always want to update the file in the same 4424 directory where we're searching for the strings to localize. 4425 4426 * Scripts/extract-localizable-strings: 4427 * Scripts/update-webkit-localizable-strings: 4428 4429 2008-10-28 Timothy Hatcher <timothy (a] apple.com> 4430 4431 Add support for enabling the profiler, so the profiling tests can continue 4432 work now that the profiler is not always enabled. 4433 4434 https://bugs.webkit.org/show_bug.cgi?id=21927 4435 4436 <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does 4437 not slow down JavaScript all the time 4438 4439 Reviewed by Darin Adler and Kevin McCullough. 4440 4441 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces. 4442 * DumpRenderTree/LayoutTestController.cpp: 4443 (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled. 4444 (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class. 4445 * DumpRenderTree/LayoutTestController.h: 4446 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 4447 (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME. 4448 * DumpRenderTree/mac/DumpRenderTree.mm: 4449 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler. 4450 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 4451 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler. 4452 * DumpRenderTree/win/DumpRenderTree.cpp: 4453 (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler. 4454 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 4455 (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler. 4456 4457 2008-10-28 Pierre-Olivier Latour <pol (a] apple.com> 4458 4459 Reviewed by Dan Bernstein 4460 4461 Primary changes in DumpRenderTree: 4462 - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and 4463 is different from regular font CG anti-aliasing) as font-smoothing settings 4464 depends on the display and can also be changed by the user 4465 - Use a new cleared buffer for each test instead of the reusing same one to 4466 avoid potential result corruption across tests 4467 - Can now receive the expected pixel hash as a suffix to the test path or 4468 url as "path'hash" 4469 - Make sure hash is computed in a endian-independent way 4470 - Improve the code that sets/restores the screen color profile 4471 - Make the code more cross-platformy with std::string goodness 4472 - Added an "on-screen" mode where the snapshot will take into account surfaces 4473 on the window (like OpenGL content): this uses the new CG APIs on 10.5 or 4474 reading from the display framebuffer on 10.4. This mode is not active by 4475 default for performance reason, but must be explicitly activated from the test 4476 file using the new "testOnscreen()" JS API. 4477 4478 Primary changes in ImageDiff: 4479 - Provide a new comparison algorithm that is more tolerant to "acceptable" 4480 failures (i.e. very small differences in font rendering, which --threshold is 4481 not really good at handling) 4482 - Generate normalized intensity-only diff images 4483 4484 Primary changes in run-webkit-tests: 4485 - Take advantage of hashes for pixel tests which makes them much faster by 4486 minimizing image comparisons 4487 - Removed repaint options as these should be set from within test files using 4488 JS API 4489 - Replaced "threshold" option in by "tolerance" expressed in percents 4490 - Added more logging when in "verbose" mode 4491 4492 https://bugs.webkit.org/show_bug.cgi?id=21322 4493 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 4494 * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h. 4495 * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h. 4496 * DumpRenderTree/LayoutTestController.cpp: 4497 (LayoutTestController::LayoutTestController): 4498 (testOnscreenCallback): 4499 (LayoutTestController::staticFunctions): 4500 * DumpRenderTree/LayoutTestController.h: 4501 (LayoutTestController::testOnscreen): 4502 (LayoutTestController::setTestOnscreen): 4503 (LayoutTestController::testPathOrURL): 4504 (LayoutTestController::expectedPixelHash): 4505 * DumpRenderTree/PixelDumpSupport.h: 4506 * DumpRenderTree/cg/ImageDiffCG.cpp: 4507 (strtof): 4508 (releaseMallocBuffer): 4509 (createDifferenceImage): 4510 (imageHasAlpha): 4511 (main): 4512 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 4513 (computeMD5HashStringForBitmapContext): 4514 (dumpWebViewAsPixelsAndCompareWithExpected): 4515 * DumpRenderTree/cg/PixelDumpSupportCG.h: 4516 (BitmapContext::createByAdoptingBitmapAndContext): 4517 (BitmapContext::~BitmapContext): 4518 (BitmapContext::cgContext): 4519 (BitmapContext::BitmapContext): 4520 * DumpRenderTree/mac/DumpRenderTree.mm: 4521 (shouldIgnoreWebCoreNodeLeaks): 4522 (setDefaultsToConsistentValuesForTesting): 4523 (crashHandler): 4524 (initializeGlobalsFromCommandLineOptions): 4525 (prepareConsistentTestingEnvironment): 4526 (dumpRenderTree): 4527 (sizeWebViewForCurrentTest): 4528 (dump): 4529 (runTest): 4530 * DumpRenderTree/mac/PixelDumpSupportMac.mm: 4531 (restoreMainDisplayColorProfile): 4532 (setupMainDisplayColorProfile): 4533 (createBitmapContextFromWebView): 4534 * DumpRenderTree/win/DumpRenderTree.cpp: 4535 (dump): 4536 (runTest): 4537 * DumpRenderTree/win/PixelDumpSupportWin.cpp: 4538 (getBitmapContextFromWebView): 4539 * Scripts/run-webkit-tests: 4540 4541 2008-10-27 Kevin Ollivier <kevino (a] theolliviers.com> 4542 4543 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes. 4544 4545 * wx/build-wxwebkit: 4546 4547 2008-10-24 Anders Carlsson <andersca (a] apple.com> 4548 4549 Try fixing the 64-bit build. 4550 4551 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: 4552 (testGetProperty): 4553 4554 2008-10-24 Anders Carlsson <andersca (a] apple.com> 4555 4556 Reviewed by Sam Weinig. 4557 4558 <rdar://problem/5440917> Support NPN_Construct 4559 4560 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 4561 (testCallback): 4562 Fix a memory leak. 4563 4564 (testConstruct): 4565 New test method that treats it first argument as a constructor and invokes it with the rest of the arguments. 4566 4567 (pluginInvoke): 4568 Handle testConstruct. 4569 4570 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: 4571 (testGetProperty): 4572 Add objectPointer property. 4573 4574 (testEnumerate): 4575 Only enumerate the two first properties. 4576 4577 (testConstruct): 4578 Add a simple construct implementation that just returns the test object. 4579 4580 2008-10-24 David Kilzer <ddkilzer (a] apple.com> 4581 4582 Bug 21850: svn-apply and svn-unapply should preserve patch line endings 4583 4584 <https://bugs.webkit.org/show_bug.cgi?id=21850> 4585 4586 Reviewed by Adam Roben. 4587 4588 * Scripts/svn-apply: Save end-of-line characters when stripping them 4589 off each line of a patch so that they may be restored after 4590 processing the line. 4591 * Scripts/svn-unapply: Ditto. 4592 4593 2008-10-23 David Kilzer <ddkilzer (a] apple.com> 4594 4595 Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10 4596 4597 <https://bugs.webkit.org/show_bug.cgi?id=21832> 4598 4599 Reviewed by Sam Weinig. 4600 4601 * Scripts/bisect-builds: Use imported tempfile() from File::Temp 4602 instead of 'new File::Temp' to make the script work with Perl 5.10. 4603 * Scripts/sort-Xcode-project-file: Ditto. 4604 4605 2008-10-22 Brady Eidson <beidson (a] apple.com> 4606 4607 Reviewed by Adam Roben 4608 4609 <rdar://6261773> - autocomplete="off" doesn't work on Windows 4610 4611 Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows 4612 4613 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 4614 4615 2008-10-22 Darin Adler <darin (a] apple.com> 4616 4617 * Scripts/do-webcore-rename: More renaming plans. 4618 4619 2008-10-21 Steve Falkenburg <sfalken (a] apple.com> 4620 4621 Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR. 4622 4623 * Scripts/extract-localizable-strings: 4624 4625 2008-10-17 Maciej Stachowiak <mjs (a] apple.com> 4626 4627 Reviewed by Mark Rowe. 4628 4629 - default to 1000 tests per dump tool instance again, now that CTI no longer causes 4630 excess different stack logs. 4631 4632 (Also fix a small bug in my last change.) 4633 4634 * Scripts/run-webkit-tests: 4635 4636 2008-10-17 Stephanie Lewis <slewis (a] apple.com> 4637 4638 Reviewed by Mark Rowe. 4639 4640 Fix layout tests that use prologues and epilogues. 4641 4642 * Scripts/run-webkit-tests: 4643 4644 2008-10-17 Maciej Stachowiak <mjs (a] apple.com> 4645 4646 Reviewed by Mark Rowe. 4647 4648 - make sure MallocStackLogging is only on for tools we want to 4649 leak check, not other random stuff as well. 4650 4651 * Scripts/run-webkit-tests: 4652 4653 2008-10-17 Maciej Stachowiak <mjs (a] apple.com> 4654 4655 Reviewed by Stephanie Lewis. 4656 4657 - make run-webkit-tests --leaks default to 100 tests per run instead of 1000 4658 4659 This should reduce or eliminate crashes on the buildbot due to 4660 running out of memory while stack logging. 4661 4662 * Scripts/run-webkit-tests: 4663 4664 2008-10-16 Jan Michael Alonzo <jmalonzo (a] webkit.org> 4665 4666 Gtk build fix. Not reviewed. 4667 4668 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 4669 (LayoutTestController::setSmartInsertDeleteEnabled): 4670 4671 2008-10-15 Glenn Wilson <gwilson (a] google.com> 4672 4673 Added new method to allow tests to disable smart editing in the course of a test. 4674 This is a possible solution to bug .20655 4675 4676 Reviewed by Tim Hatcher. 4677 4678 * DumpRenderTree/LayoutTestController.cpp: 4679 (setSmartInsertDeleteEnabledCallback): new method 4680 (LayoutTestController::staticFunctions): added new method to static list of callbacks 4681 * DumpRenderTree/LayoutTestController.h: added signature of new method 4682 * DumpRenderTree/mac/DumpRenderTree.mm: 4683 (resetWebViewToConsistentStateBeforeTesting): added state resetting 4684 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 4685 (LayoutTestController::setSmartInsertDeleteEnabled): added new method 4686 * DumpRenderTree/win/DumpRenderTree.cpp: 4687 (resetWebViewToConsistentStateBeforeTesting): added state resetting 4688 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 4689 (LayoutTestController::setSmartInsertDeleteEnabled): added new method 4690 4691 2008-10-14 Ada Chan <adachan (a] apple.com> 4692 4693 Fix windows build. 4694 4695 Reviewed by Sam Weinig. 4696 4697 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 4698 * DumpRenderTree/config.h: 4699 * DumpRenderTree/win/DumpRenderTreeWin.h: 4700 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 4701 * DumpRenderTree/win/UIDelegate.cpp: 4702 4703 2008-10-13 Timothy Hatcher <timothy (a] apple.com> 4704 4705 Make prepare-ChangeLog populate the changed functions for JavaScript files. 4706 4707 https://bugs.webkit.org/show_bug.cgi?id=21567 4708 4709 Reviewed by David Kilzer. 4710 4711 * Scripts/prepare-ChangeLog: 4712 (get_function_line_ranges): Call get_function_line_ranges_for_javascript for 4713 files that end with ".js". 4714 (get_function_line_ranges_for_javascript): Find functions, anonymous functions 4715 and getters/setters. 4716 4717 2008-10-14 Alp Toker <alp (a] nuanti.com> 4718 4719 Reviewed by Sam Weinig. 4720 4721 https://bugs.webkit.org/show_bug.cgi?id=16299 4722 Add a config.h file to DRT 4723 4724 Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as 4725 an ad-hoc config header. 4726 4727 * DumpRenderTree/AccessibilityController.cpp: 4728 * DumpRenderTree/AccessibilityUIElement.cpp: 4729 * DumpRenderTree/AccessibilityUIElement.h: 4730 * DumpRenderTree/DumpRenderTree.h: 4731 * DumpRenderTree/GCController.cpp: 4732 * DumpRenderTree/LayoutTestController.cpp: 4733 * DumpRenderTree/WorkQueue.cpp: 4734 * DumpRenderTree/config.h: Added. 4735 * DumpRenderTree/gtk/DumpRenderTree.cpp: 4736 * DumpRenderTree/gtk/GCControllerGtk.cpp: 4737 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 4738 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: 4739 * DumpRenderTree/win/AccessibilityControllerWin.cpp: 4740 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 4741 * DumpRenderTree/win/DumpRenderTree.cpp: 4742 * DumpRenderTree/win/DumpRenderTreeWin.h: 4743 * DumpRenderTree/win/EditingDelegate.cpp: 4744 * DumpRenderTree/win/EventSender.cpp: 4745 * DumpRenderTree/win/FrameLoadDelegate.cpp: 4746 * DumpRenderTree/win/GCControllerWin.cpp: 4747 * DumpRenderTree/win/MD5.cpp: 4748 * DumpRenderTree/win/PixelDumpSupportWin.cpp: 4749 * DumpRenderTree/win/PolicyDelegate.cpp: 4750 * DumpRenderTree/win/ResourceLoadDelegate.cpp: 4751 * DumpRenderTree/win/WorkQueueItemWin.cpp: 4752 * GNUmakefile.am: 4753 4754 2008-10-13 Chris Fleizach <cfleizach (a] apple.com> 4755 4756 Reviewed by Beth Dakin. 4757 4758 Added a method to get the links in a webpage 4759 4760 * DumpRenderTree/AccessibilityUIElement.cpp: 4761 (attributesOfDocumentLinksCallback): 4762 (AccessibilityUIElement::getJSClass): 4763 * DumpRenderTree/AccessibilityUIElement.h: 4764 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 4765 (AccessibilityUIElement::getDocumentLinks): 4766 (AccessibilityUIElement::attributesOfDocumentLinks): 4767 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 4768 (AccessibilityUIElement::getDocumentLinks): 4769 (AccessibilityUIElement::attributesOfDocumentLinks): 4770 4771 2008-10-13 David Kilzer <ddkilzer (a] apple.com> 4772 4773 Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range 4774 4775 <https://bugs.webkit.org/show_bug.cgi?id=21457> 4776 4777 Reviewed by Adam. 4778 4779 * Scripts/resolve-ChangeLogs: Added optional parameter to 4780 -f|--fix-merged switch to run the script on a revision range. 4781 Updated command-line validation checks. 4782 (findChangeLog): Fixed long-standing bug that should have used 4783 $_[0] instead of $_. 4784 (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($). Updated 4785 to work when called from git filter-branch. It always restores a 4786 copy of the previous revision before reapplying the patch. 4787 (fixMergedChangeLogs): Added. Calls itself through git filter-branch 4788 to re-merge ChangeLog files across a revision range. Removes 4789 .git/refs/original directory on success. 4790 (parseFixMerged): Added. Custom method to parse the -f|--fix-merged 4791 switch. 4792 (removeChangeLogArguments): Added. Removes items from @ARGV when 4793 they are ChangeLog paths, and return a list of paths. This makes it 4794 easier to validate the command-line. 4795 (resolveChangeLog): Added. Extracted from main code block. Runs 4796 the traditional single-file merge algorithm. 4797 (usageAndExit): Added. Extracted from main code block. Prints 4798 usage statement and exits with error status. 4799 4800 2008-10-12 Darin Adler <darin (a] apple.com> 4801 4802 * Scripts/make-js-test-wrappers: Update exceptions list so the script 4803 won't overwrite files and mangle tests. 4804 4805 2008-10-11 Dan Bernstein <mitz (a] apple.com> 4806 4807 Reviewed by Sam Weinig and Anders Carlsson. 4808 4809 - update Mac DumpRenderTree to use the new WebView SPI for forcing the 4810 complex text code path 4811 - add --complex-text support to Windows DumpRenderTree 4812 4813 * DumpRenderTree/mac/DumpRenderTree.mm: 4814 (dumpRenderTree): 4815 * DumpRenderTree/win/DumpRenderTree.cpp: 4816 (createWebViewAndOffscreenWindow): 4817 (main): 4818 * Scripts/run-webkit-tests: 4819 4820 2008-10-09 Eric Seidel <eric (a] webkit.org> 4821 4822 Reviewed by Oliver Hunt. 4823 4824 https://bugs.webkit.org/show_bug.cgi?id=21498 4825 4826 * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js 4827 4828 2008-10-09 Cameron Zwarich <zwarich (a] apple.com> 4829 4830 Not reviewed. 4831 4832 Add StructureID.o to the exclusion list in the global initializers 4833 script to fix the Debug build. 4834 4835 * Scripts/check-for-global-initializers: 4836 4837 2008-10-08 Mark Rowe <mrowe (a] apple.com> 4838 4839 Fix the Windows build after r37434. 4840 4841 * DumpRenderTree/win/DumpRenderTree.cpp: 4842 (dump): Update code to approximate valid C++ syntax. 4843 4844 2008-10-08 Timothy Hatcher <timothy (a] apple.com> 4845 4846 Add SVGElementInstance to the list of exceptions that have 4847 global initializers in debug builds. 4848 4849 Rubber-stamped by Mark Rowe. 4850 4851 * Scripts/check-for-global-initializers: Add SVGElementInstance.o. 4852 4853 2008-10-08 Simon Fraser <simon.fraser (a] apple.com> 4854 4855 Reviewed by Dan Bernstein 4856 4857 Avoid disconnect between DRT and run-webkit-tests 4858 about whether to expect PNG dumps by having DRT always 4859 print two blocks terminated by #EOF, the second of which 4860 may be empty. 4861 4862 https://bugs.webkit.org/show_bug.cgi?id=21483 4863 4864 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 4865 (printPNG): 4866 (dumpWebViewAsPixelsAndCompareWithExpected): 4867 * DumpRenderTree/mac/DumpRenderTree.mm: 4868 (dump): 4869 * DumpRenderTree/win/DumpRenderTree.cpp: 4870 (dump): 4871 * Scripts/run-webkit-tests: 4872 4873 2008-10-07 Adam Roben <aroben (a] apple.com> 4874 4875 Make sure short functions get included in ChangeLog output for git 4876 repositories 4877 4878 Reviewed by Dave Kilzer. 4879 4880 * Scripts/prepare-ChangeLog: 4881 (sub diffCommand): Pass -U0 to git diff so that each contiguous change 4882 will get its own chunk without any surrounding context. 4883 (sub extractLineRange): Use the line numbers from the chunk header 4884 without modifying them now that they're accurate. 4885 4886 2008-10-04 Mark Rowe <mrowe (a] apple.com> 4887 4888 Reviewed by Tim Hatcher. 4889 4890 Update check-for-weak-vtables to check only the final linked image for weak vtables. 4891 This gives more useful results than checking each object file independently. 4892 4893 * Scripts/check-for-weak-vtables: 4894 4895 2008-10-03 Pierre-Olivier Latour <pol (a] apple.com> 4896 4897 Reviewed by Darin Adler 4898 4899 Render images to RGBA8 bitmaps independently of platform endianness. 4900 4901 Create image difference bitmap in reference image colorspace instead of device colorspace 4902 (which depends on the main display profile), so that no color matching happens. 4903 4904 https://bugs.webkit.org/show_bug.cgi?id=21336 4905 4906 * DumpRenderTree/cg/ImageDiffCG.cpp: 4907 (createDifferenceBitmap): 4908 (computePercentageDifferent): 4909 (compareImages): 4910 4911 2008-10-02 Simon Fraser <simon.fraser (a] apple.com> 4912 4913 Reviewed by Darin Adler 4914 4915 Fix hang when running with --pixel --reset, which occurs 4916 because DRT spews PNG data when the script does not expect it. 4917 4918 https://bugs.webkit.org/show_bug.cgi?id=21323 4919 4920 * Scripts/run-webkit-tests: 4921 4922 2008-09-30 Mark Rowe <mrowe (a] apple.com> 4923 4924 Reviewed by Dan Bernstein. 4925 4926 Add a leak counter for CachedResources since we've had two recent leaks involving them. 4927 4928 * Scripts/check-for-global-initializers: 4929 4930 2008-09-30 Mark Rowe <mrowe (a] apple.com> 4931 4932 Rubber-stamped by Dan Bernstein. 4933 4934 Fix many leaks seen on fast/backgrounds/svg-as-background-1.html. 4935 4936 JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image 4937 being kept alive in the memory cache past our last attempt to empty the cache prior to quitting. 4938 We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that 4939 any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be 4940 torn down before we exit. 4941 4942 * DumpRenderTree/mac/DumpRenderTree.mm: 4943 (dumpRenderTree): 4944 (main): 4945 4946 2008-09-30 Simon Fraser <simon.fraser (a] apple.com> 4947 4948 Reviewed by Dan Bernstein 4949 4950 Don't run pixel comparison for text-only tests. 4951 https://bugs.webkit.org/show_bug.cgi?id=21124 4952 4953 * DumpRenderTree/mac/DumpRenderTree.mm: 4954 (dump): 4955 * Scripts/run-webkit-tests: 4956 4957 2008-09-29 Thiago Macieira <thiago.macieira (a] nokia.com> 4958 4959 Reviewed by Simon. 4960 4961 Changed copyright from Trolltech ASA to Nokia. 4962 4963 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008. 4964 4965 4966 * DumpRenderTree/qt/DumpRenderTree.cpp: 4967 * DumpRenderTree/qt/jsobjects.cpp: 4968 * DumpRenderTree/qt/jsobjects.h: 4969 * DumpRenderTree/qt/main.cpp: 4970 * DumpRenderTree/qt/testplugin.cpp: 4971 * DumpRenderTree/qt/testplugin.h: 4972 4973 2008-09-28 David Kilzer <ddkilzer (a] apple.com> 4974 4975 Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase 4976 4977 <https://bugs.webkit.org/show_bug.cgi?id=21185> 4978 4979 Reviewed by Adam. 4980 4981 * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that 4982 will attempt to reapply the last commit to a ChangeLog file such 4983 that the ChangeLog entry appears at the top of the file. 4984 (findChangeLog): Added prototype and moved method below the exit 4985 statement. 4986 (fixMergedChangeLog): Added. Method to fix incorrectly merged 4987 ChangeLog entries. 4988 4989 2008-09-27 Anders Carlsson <andersca (a] apple.com> 4990 4991 Reviewed by Sam Weinig. 4992 4993 https://bugs.webkit.org/show_bug.cgi?id=21178 4994 <rdar://problem/6248651> 4995 4996 Return the result value from getURL. 4997 4998 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 4999 (getURL): 5000 5001 2008-09-26 Matt Lilek <webkit (a] mattlilek.com> 5002 5003 Reviewed by Tim Hatcher. 5004 5005 Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed. 5006 5007 * Scripts/build-webkit: 5008 5009 2008-09-26 Alice Liu <alice.liu (a] apple.com> 5010 5011 Remove usage of atlstr.h and CString for VCExpress compatibility 5012 5013 Reviewed by Stephanie Lewis. 5014 5015 * record-memory-win/main.cpp: 5016 (ProcessArgs): 5017 (UseImage): 5018 (QueryContinuously): 5019 (OneQuery): 5020 (OneQueryMP): 5021 5022 2008-09-26 Kevin Ollivier <kevino (a] theolliviers.com> 5023 5024 wx build fix. Update the version of libpng. 5025 5026 * wx/install-unix-extras: 5027 5028 2008-09-24 Sam Weinig <sam (a] webkit.org> 5029 5030 Reviewed by Darin Adler. 5031 5032 Fix for https://bugs.webkit.org/show_bug.cgi?id=21080 5033 <rdar://problem/6243534> 5034 Crash below Function.apply when using a runtime array as the argument list 5035 5036 Add method to ObjCController to return a runtime array. 5037 5038 * DumpRenderTree/mac/ObjCController.m: 5039 (+[ObjCController isSelectorExcludedFromWebScript:]): 5040 (+[ObjCController webScriptNameForSelector:]): 5041 (-[ObjCController testArray]): 5042 5043 2008-09-24 Beth Dakin <bdakin (a] apple.com> 5044 5045 Reviewed by Sam Weinig. 5046 5047 Speculative build fix. 5048 5049 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 5050 (AccessibilityUIElement::supportsPressAction): 5051 5052 2008-09-23 Beth Dakin <bdakin (a] apple.com> 5053 5054 Reviewed by Sam Weinig. 5055 5056 This patch extends DumpRenderTree's AccessibilityController to ask 5057 if the focused element supports the press action. 5058 5059 * DumpRenderTree/AccessibilityUIElement.cpp: 5060 (getSupportsPressActionCallback): 5061 (AccessibilityUIElement::getJSClass): 5062 * DumpRenderTree/AccessibilityUIElement.h: 5063 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5064 (AccessibilityUIElement::supportsPressAction): 5065 5066 2008-09-22 Alice Liu <alice.liu (a] apple.com> 5067 5068 Adding a stand-alone Windows console application to record a process's memory usage 5069 5070 Reviewed by Steve Falkenburg. 5071 5072 * record-memory-win: Added. 5073 * record-memory-win/main.cpp: Added. 5074 * record-memory-win/record-memory-win.vcproj: Added. 5075 5076 2008-09-22 Chris Fleizach <cfleizach (a] apple.com> 5077 5078 Reviewed by Darin Adler. 5079 5080 Support ability to get/set selected text ranges for text controls through AX. 5081 5082 * DumpRenderTree/AccessibilityUIElement.cpp: 5083 (setSelectedTextRangeCallback): 5084 (getSelectedTextRangeCallback): 5085 (AccessibilityUIElement::getJSClass): 5086 * DumpRenderTree/AccessibilityUIElement.h: 5087 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5088 (AccessibilityUIElement::attributesOfRowHeaders): 5089 (AccessibilityUIElement::attributesOfVisibleCells): 5090 (AccessibilityUIElement::rowIndexRange): 5091 (AccessibilityUIElement::columnIndexRange): 5092 (AccessibilityUIElement::cellForColumnAndRow): 5093 (AccessibilityUIElement::selectedTextRange): 5094 (AccessibilityUIElement::setSelectedTextRange): 5095 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 5096 (AccessibilityUIElement::selectedTextRange): 5097 (AccessibilityUIElement::setSelectedTextRange): 5098 5099 2008-09-20 Darin Adler <darin (a] apple.com> 5100 5101 * DumpRenderTree/mac/DumpRenderTree.mm: 5102 (convertMIMEType): Turn on Stephanie's workaround for Tiger too. 5103 5104 2008-09-19 Alp Toker <alp (a] nuanti.com> 5105 5106 Build fix for the 'gold' linker and recent binutils. New behaviour 5107 requires that we link to used libraries explicitly. 5108 5109 * GNUmakefile.am: 5110 5111 2008-09-19 Stephanie Lewis <slewis (a] apple.com> 5112 5113 Reviewed by Oliver Hunt. 5114 5115 Implement a workaround for an incorrect mime-type on machines with 5116 Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files. 5117 See radar <rdar://problem/6234318>. 5118 5119 * DumpRenderTree/mac/DumpRenderTree.mm: 5120 (convertMIMEType): 5121 5122 2008-09-19 Chris Fleizach <cfleizach (a] apple.com> 5123 5124 Fixed Windows bustage 5125 5126 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 5127 (AccessibilityUIElement::titleUIElement): 5128 5129 2008-09-18 Chris Fleizach <cfleizach (a] apple.com> 5130 5131 Reviewed by Darin Adler. 5132 5133 Expose titleUIElement call for DumpRenderTree 5134 5135 * ChangeLog: 5136 * DumpRenderTree/AccessibilityUIElement.cpp: 5137 (titleUIElementCallback): 5138 (AccessibilityUIElement::getJSClass): 5139 * DumpRenderTree/AccessibilityUIElement.h: 5140 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5141 (AccessibilityUIElement::titleUIElement): 5142 5143 2008-09-18 Darin Adler <darin (a] apple.com> 5144 5145 * Scripts/do-webcore-rename: More renaming plans. 5146 5147 2008-09-18 Mark Rowe <mrowe (a] apple.com> 5148 5149 Reviewed by Dan Bernstein. 5150 5151 Clear the main frame's name between tests to get more consistent test results 5152 when running the WebKit tests with --nthly. 5153 5154 * DumpRenderTree/mac/DumpRenderTree.mm: 5155 (resetWebViewToConsistentStateBeforeTesting): 5156 * DumpRenderTree/win/DumpRenderTree.cpp: 5157 (resetWebViewToConsistentStateBeforeTesting): 5158 5159 2008-09-18 Stephanie Lewis <slewis (a] apple.com> 5160 5161 Really fix tiger jsc tests. 5162 5163 * Scripts/run-javascriptcore-tests: 5164 5165 2008-09-18 Stephanie Lewis <slewis (a] apple.com> 5166 5167 Reviewed by Maciej Stachowiak. 5168 5169 Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag. 5170 5171 * Scripts/run-javascriptcore-tests: 5172 * Scripts/webkitdirs.pm: 5173 5174 2008-09-18 Mark Rowe <mrowe (a] apple.com> 5175 5176 Rubber-stamped by Sam Weinig. 5177 5178 Print warning to stdout rather than stderr when a test attempts to access a remote resource. 5179 This should make it more obvious when a test does this, as stderr output tends to be obscured 5180 by noise in the test results. 5181 5182 Also fixes some coding style issues in ResourceLoadDelegate.mm. 5183 5184 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 5185 (-[NSError _drt_descriptionSuitableForTestResult]): 5186 (-[NSURL _drt_descriptionSuitableForTestResult]): 5187 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): 5188 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): 5189 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]): 5190 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]): 5191 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]): 5192 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]): 5193 5194 2008-09-18 Stephanie Lewis <slewis (a] apple.com> 5195 5196 Reviewed by Mark Rowe and Maciej Stachowiak.. 5197 5198 add a --64-bit option and specify which architecture to run on Mac. 5199 5200 * Scripts/run-javascriptcore-tests: 5201 5202 2008-09-17 Mark Rowe <mrowe (a] apple.com> 5203 5204 Reviewed by Sam Weinig. 5205 5206 Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc. 5207 5208 The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when 5209 attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making 5210 LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper. 5211 5212 * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h. 5213 * DumpRenderTree/LayoutTestController.cpp: 5214 (LayoutTestController::LayoutTestController): 5215 (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance. 5216 (layoutTestControllerObjectFinalize): Deref the wrapped object. 5217 (LayoutTestController::makeWindowObject): Ref the wrapped object. 5218 * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted. 5219 * DumpRenderTree/mac/DumpRenderTree.mm: 5220 (runTest): Deref the LayoutTestController object rather than explicitly deleting it. 5221 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed. 5222 * DumpRenderTree/win/DumpRenderTree.cpp: 5223 (runTest): Deref the LayoutTestController object rather than explicitly deleting it. 5224 5225 2008-09-16 Sam Weinig <sam (a] webkit.org> 5226 5227 Reviewed by Mark Rowe. 5228 5229 Add flag to disable running sample on tests that timeout. 5230 5231 * Scripts/run-webkit-tests: 5232 5233 2008-09-16 Adam Roben <aroben (a] apple.com> 5234 5235 Windows build fix after r36511 5236 5237 Update for rename of layoutTestController to gLayoutTestController. 5238 5239 * DumpRenderTree/LayoutTestController.cpp: 5240 * DumpRenderTree/win/EditingDelegate.cpp: 5241 * DumpRenderTree/win/FrameLoadDelegate.cpp: 5242 * DumpRenderTree/win/ResourceLoadDelegate.cpp: 5243 * DumpRenderTree/win/UIDelegate.cpp: 5244 5245 2008-09-16 Adam Roben <aroben (a] apple.com> 5246 5247 Add a script to print out the dependency tree of a Visual Studio 5248 solution file 5249 5250 * Scripts/print-msvc-project-dependencies: Added. 5251 5252 2008-09-16 Mark Rowe <mrowe (a] apple.com> 5253 5254 Fix the build. 5255 5256 * DumpRenderTree/LayoutTestController.cpp: 5257 (notifyDoneCallback): Call fprintf in a safer manner. 5258 5259 2008-09-16 Simon Fraser <simon.fraser (a] apple.com> 5260 5261 Reviewed by Eric Seidel 5262 5263 Protect against tests that call layoutTestController.notifyDone() 5264 more than once, which would lead to memory corruption, by nulling 5265 out the LayoutTestController on the JSObjectRef on destruction. Also 5266 add a finalize callback on the class so that if the LTC outlives 5267 the JSObjectRef, the JSObjectRef backpointer on the LTC can be 5268 nulled out. 5269 5270 https://bugs.webkit.org/show_bug.cgi?id=20875 5271 5272 * DumpRenderTree/LayoutTestController.cpp: 5273 (LayoutTestController::LayoutTestController): 5274 (notifyDoneCallback): 5275 (layoutTestControllerObjectFinalize): 5276 (LayoutTestController::makeWindowObject): 5277 (LayoutTestController::getJSClass): 5278 * DumpRenderTree/LayoutTestController.h: 5279 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 5280 (LayoutTestController::~LayoutTestController): 5281 5282 2008-09-16 Simon Fraser <simon.fraser (a] apple.com> 5283 5284 Reviewed by Eric Seidel 5285 5286 Step 1 patch: rename global variable for clarity. 5287 https://bugs.webkit.org/show_bug.cgi?id=20875 5288 5289 * DumpRenderTree/DumpRenderTree.h: 5290 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 5291 (dumpWebViewAsPixelsAndCompareWithExpected): 5292 * DumpRenderTree/gtk/DumpRenderTree.cpp: 5293 (dumpFramesAsText): 5294 (dump): 5295 (runTest): 5296 (processWork): 5297 (webViewLoadFinished): 5298 (webViewWindowObjectCleared): 5299 * DumpRenderTree/mac/DumpRenderTree.mm: 5300 (allocateGlobalControllers): 5301 (dumpFrameScrollPosition): 5302 (dumpFramesAsText): 5303 (methodNameStringForFailedTest): 5304 (dump): 5305 (runTest): 5306 * DumpRenderTree/mac/DumpRenderTreeMac.h: 5307 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: 5308 * DumpRenderTree/mac/EditingDelegate.mm: 5309 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): 5310 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): 5311 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): 5312 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): 5313 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): 5314 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): 5315 (-[EditingDelegate webViewDidBeginEditing:]): 5316 (-[EditingDelegate webViewDidChange:]): 5317 (-[EditingDelegate webViewDidEndEditing:]): 5318 (-[EditingDelegate webViewDidChangeTypingStyle:]): 5319 * DumpRenderTree/mac/FrameLoadDelegate.mm: 5320 (-[FrameLoadDelegate processWork:]): 5321 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]): 5322 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): 5323 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): 5324 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]): 5325 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): 5326 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]): 5327 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 5328 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): 5329 * DumpRenderTree/mac/UIDelegate.mm: 5330 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): 5331 (-[UIDelegate webViewFocus:]): 5332 (-[UIDelegate webViewUnfocus:]): 5333 (-[UIDelegate webView:createWebViewWithRequest:]): 5334 (-[UIDelegate webViewClose:]): 5335 * DumpRenderTree/win/DumpRenderTree.cpp: 5336 (dumpFrameScrollPosition): 5337 (dumpFramesAsText): 5338 (dump): 5339 (runTest): 5340 5341 2008-09-15 Alice Liu <alice.liu (a] apple.com> 5342 5343 A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test 5344 5345 Reviewed by Stephanie Lewis. 5346 5347 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5348 Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC, 5349 but not Intel. Add a check for nil before calling. 5350 (AccessibilityUIElement::rowIndexRange): 5351 (AccessibilityUIElement::columnIndexRange): 5352 5353 2008-09-14 Mark Rowe <mrowe (a] apple.com> 5354 5355 Build fix. 5356 5357 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 5358 (waitUntilDoneWatchdogFired): 5359 * DumpRenderTree/mac/ObjCPlugin.m: 5360 5361 2008-09-08 Dan Bernstein <mitz (a] apple.com> 5362 5363 Reviewed by Mark Rowe. 5364 5365 - add an option to run-webkit-tests to always use the complex text code path 5366 5367 * DumpRenderTree/mac/DumpRenderTree.mm: 5368 (initializeGlobalsFromCommandLineOptions): 5369 (dumpRenderTree): 5370 * Scripts/run-webkit-tests: 5371 5372 2008-09-08 Steve Falkenburg <sfalken (a] apple.com> 5373 5374 Another Windows nightly build fix. 5375 5376 Reviewed by Sam Weinig. 5377 5378 * FindSafari/FindSafari.cpp: 5379 (_tmain): Delete existing WebKitNightly directory in temp. 5380 * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes. 5381 5382 2008-09-07 Stephanie Lewis <slewis (a] apple.com> 5383 5384 Reviewed by Mark Rowe. 5385 5386 Fix DRT build 5387 5388 * DumpRenderTree/DumpRenderTreePrefix.h: 5389 * DumpRenderTree/win/DumpRenderTree.vcproj: 5390 5391 2008-09-06 Steve Falkenburg <sfalken (a] apple.com> 5392 5393 Fix Windows nightlies. 5394 5395 Copy WebKit.dll alongside application so registry-free COM can find it. 5396 Update embedded manifest to force use registry-free COM. 5397 5398 Reviewed by Dave Hyatt. 5399 5400 * FindSafari/FindSafari.cpp: 5401 (copyManifest): 5402 (replaceManifest): 5403 (_tmain): 5404 * FindSafari/FindSafari.rc: Added. 5405 * FindSafari/FindSafari.vcproj: 5406 * FindSafari/Safari.exe.manifest: Added. 5407 * FindSafari/resource.h: Added. 5408 5409 === End merge of squirrelfish-extreme === 5410 5411 2008-08-31 Mark Rowe <mrowe (a] apple.com> 5412 5413 Reviewed by Maciej Stachowiak. 5414 5415 Add a --profile flag to run-sunspider. 5416 5417 * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument 5418 to build scripts as indicating that we should use the "Profiling" configuration. At present 5419 this is only supported by JavaScriptCore, so using this argument to build any other project 5420 will likely result in unexpected behaviour. 5421 5422 2008-08-27 Mark Rowe <mrowe (a] apple.com> 5423 5424 Reviewed by Oliver Hunt. 5425 5426 Fix run-webkit-tests to handle DRT exiting early. 5427 5428 * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used. 5429 5430 === Start merge of squirrelfish-extreme === 5431 5432 2008-09-04 Mark Rowe <mrowe (a] apple.com> 5433 5434 Reviewed by Eric Seidel. 5435 5436 Fix https://bugs.webkit.org/show_bug.cgi?id=20639. 5437 Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE 5438 5439 * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code. 5440 5441 2008-09-04 Cameron Zwarich <cwzwarich (a] uwaterloo.ca> 5442 5443 Reviewed by Oliver Hunt. 5444 5445 Bug 20616: Incorporate V8 benchmarks in testing 5446 <https://bugs.webkit.org/show_bug.cgi?id=20616> 5447 5448 Add support for the --v8 option to run-sunspider. 5449 5450 * Scripts/run-sunspider: 5451 5452 2008-09-04 Kevin Ollivier <kevino (a] theolliviers.com> 5453 5454 wx buildbot fix. More robust handling of clean when makefiles are not built or 5455 are not completely made. 5456 5457 * wx/build-wxwebkit: 5458 5459 2008-09-03 Mark Rowe <mrowe (a] apple.com> 5460 5461 More Mac build fixes. 5462 5463 Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit. 5464 Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the 5465 default configuration specified in the .xcconfig files. 5466 5467 * Scripts/build-webkit: 5468 5469 2008-09-03 Mark Rowe <mrowe (a] apple.com> 5470 5471 Mac build fix. Ensure that dashboard support is enabled. 5472 5473 * DumpRenderTree/mac/Configurations/Base.xcconfig: 5474 5475 2008-08-25 Steve Falkenburg <sfalken (a] apple.com> 5476 5477 Build fix. Copy correct version of ICU. 5478 5479 * DumpRenderTree/win/DumpRenderTree.vcproj: 5480 5481 2008-08-25 Holger Hans Peter Freyther <zecke (a] selfish.org> 5482 5483 Reviewed by Simon. 5484 5485 [run-webkit-tests] Use QtLauncher to show the results of the tests 5486 konqueror might not be installed, xdg-open might not be installed but the 5487 QtLauncher should be present. 5488 5489 * Scripts/run-webkit-tests: 5490 5491 2008-08-24 Jon Honeycutt <jhoneycutt (a] apple.com> 5492 5493 Initial support for accessibility layout tests on Windows. 5494 https://bugs.webkit.org/show_bug.cgi?id=20497 5495 5496 Reviewed by Sam Weinig. 5497 5498 * DumpRenderTree/AccessibilityController.h: Fix typos. 5499 * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include. 5500 * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to 5501 prevent oleacc.h, which includes windows.h, from including winsock.h. 5502 Fixed typos. 5503 * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added. 5504 (AccessibilityController::AccessibilityController): 5505 (AccessibilityController::~AccessibilityController): 5506 (AccessibilityController::focusedElement): Get the root element, and 5507 request its focused object. 5508 (AccessibilityController::rootElement): Query Windows for the 5509 accessible client object for the WebView's window. 5510 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added. 5511 (AccessibilityUIElement::AccessibilityUIElement): 5512 (AccessibilityUIElement::~AccessibilityUIElement): 5513 (AccessibilityUIElement::getLinkedUIElements): Not implemented. 5514 (AccessibilityUIElement::getChildren): Get the child count, and append 5515 each child. 5516 (AccessibilityUIElement::getChildAtIndex): Get the child at the given 5517 index offset by 1. In MSAA, child 0 is the object itself. 5518 (AccessibilityUIElement::allAttributes): Not implemented. 5519 (AccessibilityUIElement::attributesOfLinkedUIElements): Same. 5520 (AccessibilityUIElement::attributesOfChildren): Same. 5521 (AccessibilityUIElement::parameterizedAttributeNames): Same. 5522 (self): Return a VARIANT representing the "self" object. This is used 5523 when calling methods that require a child variant. 5524 (AccessibilityUIElement::role): Get the MSAA role, a long value, and 5525 convert it into a string with GetRoleText(). 5526 (AccessibilityUIElement::title): Get the element's title, and convert 5527 it to a JS String. 5528 (AccessibilityUIElement::description): Same, for description. 5529 (AccessibilityUIElement::width): 5530 (AccessibilityUIElement::height): 5531 (AccessibilityUIElement::intValue): Get the object's value as a string, 5532 and convert the string to a double. 5533 (AccessibilityUIElement::minValue): Not implemented. 5534 (AccessibilityUIElement::maxValue): Same. 5535 (AccessibilityUIElement::insertionPointLineNumber): Same. 5536 (AccessibilityUIElement::attributesOfColumnHeaders): Same. 5537 (AccessibilityUIElement::attributesOfRowHeaders): Same. 5538 (AccessibilityUIElement::attributesOfColumns): Same. 5539 (AccessibilityUIElement::attributesOfRows): Same. 5540 (AccessibilityUIElement::attributesOfVisibleCells): Same. 5541 (AccessibilityUIElement::attributesOfHeader): Same. 5542 (AccessibilityUIElement::indexInTable): Same. 5543 (AccessibilityUIElement::rowIndexRange): Same. 5544 (AccessibilityUIElement::columnIndexRange): Same. 5545 (AccessibilityUIElement::lineForIndex): Same. 5546 (AccessibilityUIElement::boundsForRange): Same. 5547 (AccessibilityUIElement::cellForColumnAndRow): Same. 5548 * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to 5549 project. Link to oleacc.lib, the MSAA library. 5550 * DumpRenderTree/win/FrameLoadDelegate.cpp: 5551 (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility 5552 controller. 5553 (FrameLoadDelegate::didClearWindowObject): Create a new window object 5554 for the accessibility controller. 5555 * DumpRenderTree/win/FrameLoadDelegate.h: 5556 5557 2008-08-21 Simon Fraser <simon.fraser (a] apple.com> 5558 5559 Reviewed by Mark Rowe 5560 5561 Make build-launcher-app work when run from a git repository. 5562 https://bugs.webkit.org/show_bug.cgi?id=20478 5563 5564 * BuildSlaveSupport/build-launcher-app: 5565 5566 2008-08-20 Maxime Britto <britto (a] apple.com> 5567 5568 Reviewed by Ada Chan. 5569 5570 rdar://5259746 5571 Mouse events are sent to page while resizing window (affects Gmail) 5572 5573 * DumpRenderTree/win/UIDelegate.h: 5574 (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented. 5575 5576 2008-08-19 Chris Fleizach <cfleizach (a] apple.com> 5577 5578 Reviewed by Beth Dakin. 5579 5580 Add snowleopard platform in layout tests 5581 5582 Added support for accessing the attributes of 5583 accessibility tables through the accessibility controller 5584 in DumpRenderTree 5585 5586 * DumpRenderTree/AccessibilityUIElement.cpp: 5587 (attributesOfColumnHeadersCallback): 5588 (attributesOfRowHeadersCallback): 5589 (attributesOfColumnsCallback): 5590 (attributesOfRowsCallback): 5591 (attributesOfVisibleCellsCallback): 5592 (attributesOfHeaderCallback): 5593 (indexInTableCallback): 5594 (rowIndexRangeCallback): 5595 (columnIndexRangeCallback): 5596 (childAtIndexCallback): 5597 (cellForColumnAndRowCallback): 5598 (AccessibilityUIElement::getJSClass): 5599 * DumpRenderTree/AccessibilityUIElement.h: 5600 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5601 (convertNSArrayToVector): 5602 (descriptionOfElements): 5603 (AccessibilityUIElement::getLinkedUIElements): 5604 (AccessibilityUIElement::getChildren): 5605 (AccessibilityUIElement::attributesOfLinkedUIElements): 5606 (AccessibilityUIElement::attributesOfChildren): 5607 (AccessibilityUIElement::attributesOfColumnHeaders): 5608 (AccessibilityUIElement::attributesOfRowHeaders): 5609 (AccessibilityUIElement::attributesOfColumns): 5610 (AccessibilityUIElement::attributesOfRows): 5611 (AccessibilityUIElement::attributesOfVisibleCells): 5612 (AccessibilityUIElement::attributesOfHeader): 5613 (AccessibilityUIElement::indexInTable): 5614 (AccessibilityUIElement::rowIndexRange): 5615 (AccessibilityUIElement::columnIndexRange): 5616 (AccessibilityUIElement::cellForColumnAndRow): 5617 * Scripts/run-webkit-tests: 5618 5619 2008-08-19 Alexey Proskuryakov <ap (a] webkit.org> 5620 5621 Reviewed by Darin Adler. 5622 5623 Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree 5624 is waiting for crash reporter to let it exit. 5625 5626 The fix does not work on Tiger, because the state of the process is indistinguishable from 5627 other waiting processes, at least not with this technique. 5628 5629 * Scripts/run-webkit-tests: 5630 5631 2008-08-18 Alp Toker <alp (a] nuanti.com> 5632 5633 Reviewed by Holger Freyther. 5634 5635 https://bugs.webkit.org/show_bug.cgi?id=20350 5636 [GTK] Get DumpRenderTree working 5637 5638 Fixes and enhancements to DumpRenderTree. With these changes, the test 5639 suite can now complete a run producing text and render tree dumps. 5640 5641 * DumpRenderTree/gtk/DumpRenderTree.cpp: 5642 (dumpFramesAsText): 5643 (dump): 5644 (runTest): 5645 (webViewLoadFinished): 5646 (webViewWindowObjectCleared): 5647 (webViewConsoleMessage): 5648 (webViewScriptAlert): 5649 (webViewScriptPrompt): 5650 (webViewScriptConfirm): 5651 (webViewTitleChanged): 5652 (main): 5653 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: 5654 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 5655 (LayoutTestController::clearBackForwardList): 5656 (LayoutTestController::pathToLocalResource): 5657 (LayoutTestController::setAcceptsEditing): 5658 (LayoutTestController::setUserStyleSheetEnabled): 5659 (LayoutTestController::setUserStyleSheetLocation): 5660 (waitToDumpWatchdogFired): 5661 (LayoutTestController::windowCount): 5662 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: 5663 (JSStringCopyUTF8CString): 5664 (ScriptItem::invoke): 5665 5666 2008-08-17 Geoffrey Garen <ggaren (a] apple.com> 5667 5668 Reviewed by Cameron Zwarich. 5669 5670 Updated project files to XCode 3.1. 5671 5672 * DrawTest/DrawTest.xcodeproj/project.pbxproj: 5673 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: 5674 5675 2008-08-15 Mark Rowe <mrowe (a] apple.com> 5676 5677 Rubber-stamped by Geoff Garen. 5678 5679 <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework 5680 5681 * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant. 5682 5683 2008-08-13 Simon Hausmann <hausmann (a] webkit.org> 5684 5685 Rubber-stamped by Holger. 5686 5687 Revert r31585 and disable http tests for the Qt build again unless 5688 explicitly enabled. 5689 5690 Running the http tests unfortunately currently still triggers 5691 failures in non-http tests due to side-effects. Disable them by default for 5692 now, for more reliable results. 5693 5694 * Scripts/run-webkit-tests: 5695 5696 2008-08-10 Jan Michael Alonzo <jmalonzo (a] webkit.org> 5697 5698 Reviewed (and updated) by Alp Toker. 5699 5700 https://bugs.webkit.org/show_bug.cgi?id=16620 5701 [GTK] Autotools make dist and make check support 5702 5703 Get make dist working. 5704 5705 Note that not all possible configurations have been tested yet. 5706 5707 * GNUmakefile.am: 5708 5709 2008-08-10 Alp Toker <alp (a] nuanti.com> 5710 5711 Remove leftover qmake/GTK+ build files. 5712 5713 * DumpRenderTree/gtk/DumpRenderTree.pro: Removed. 5714 * GtkLauncher/GtkLauncher.pro: Removed. 5715 5716 2008-08-06 Chris Fleizach <cfleizach (a] apple.com> 5717 5718 Reviewed by Beth Dakin 5719 5720 AX functions shouldn't return position information because it changes 5721 based on the platform 5722 5723 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5724 (AccessibilityUIElement::boundsForRange): 5725 5726 2008-08-06 Eric Seidel <eric (a] webkit.org> 5727 5728 Reviewed by darin. 5729 5730 Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement. 5731 <https://bugs.webkit.org/show_bug.cgi?id=20297> 5732 <rdar://problem/6093153> 5733 5734 I've made AccessibilityUIElement a stack object for now. It could be 5735 made RefCounted, but I figured that might be overkill for the moment. 5736 Essentially it's just a RefPtr itself. :) 5737 5738 I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement() 5739 which was causing additional leaks. :) 5740 5741 I added toAXElement to remove a bunch of copy/paste code. 5742 5743 * DumpRenderTree/AccessibilityController.h: 5744 * DumpRenderTree/AccessibilityUIElement.cpp: 5745 (toAXElement): 5746 (allAttributesCallback): 5747 (attributesOfLinkedUIElementsCallback): 5748 (attributesOfChildrenCallback): 5749 (lineForIndexCallback): 5750 (boundsForRangeCallback): 5751 (childAtIndexCallback): 5752 (getRoleCallback): 5753 (getTitleCallback): 5754 (getDescriptionCallback): 5755 (getWidthCallback): 5756 (getHeightCallback): 5757 (getIntValueCallback): 5758 (getMinValueCallback): 5759 (getMaxValueCallback): 5760 (getInsertionPointLineNumberCallback): 5761 (finalize): 5762 * DumpRenderTree/AccessibilityUIElement.h: 5763 (AccessibilityUIElement::platformUIElement): 5764 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 5765 (AccessibilityController::focusedElement): 5766 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5767 (AccessibilityUIElement::AccessibilityUIElement): 5768 (AccessibilityUIElement::getLinkedUIElements): 5769 (AccessibilityUIElement::getChildren): 5770 (AccessibilityUIElement::getChildAtIndex): 5771 (AccessibilityUIElement::attributesOfLinkedUIElements): 5772 (AccessibilityUIElement::attributesOfChildren): 5773 5774 2008-08-06 Eric Seidel <eric (a] webkit.org> 5775 5776 Reviewed by Cameron Zwarich. 5777 5778 Speculative fix for an error I keep seeing in my Cygwin build 5779 5780 * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin 5781 5782 2008-08-02 Kevin Ollivier <kevino (a] theolliviers.com> 5783 5784 Forgot to commit licensing correction in last commit. 5785 5786 * wx/packaging/wxWebKitInstaller.iss.in: 5787 5788 2008-08-02 Kevin Ollivier <kevino (a] theolliviers.com> 5789 5790 Reviewed by Eric Seidel. 5791 5792 Scripts for building a wxWebKit installer for wxPython on Win, eventually will 5793 be used for nightlies. 5794 5795 https://bugs.webkit.org/show_bug.cgi?id=20036 5796 5797 * wx/packaging: Added. 5798 * wx/packaging/build-win-installer.py: Added. 5799 * wx/packaging/wxWebKitInstaller.iss.in: Added. 5800 5801 2008-07-31 Adam Roben <aroben (a] apple.com> 5802 5803 Follow-up to r35500 5804 5805 * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the 5806 Release configuration, too. 5807 5808 2008-07-31 Stefan Landvogt <stefan.landvogt (a] gmail.com> 5809 5810 Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of 5811 the box 5812 5813 <https://bugs.webkit.org/show_bug.cgi?id=20245> 5814 5815 Reviewed by Adam Roben. 5816 5817 * WinLauncher/WinLauncher.vcproj: adding the following properties to 5818 WinLauncher > Properties > Manifest Tool > Isolated COM 5819 Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb 5820 Component File Name: WebKit$(WebKitDLLConfigSuffix) 5821 Doing the change on "All Configurations" 5822 5823 2008-07-31 Adam Roben <aroben (a] apple.com> 5824 5825 Windows build bot fix 5826 5827 * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only 5828 exist for people at Apple can't be found. Also updated the ICU version 5829 to 3.8. 5830 5831 2008-07-31 David Kilzer <ddkilzer (a] apple.com> 5832 5833 Fix layout test results for webarchive/test-xml-stylesheet.xml 5834 5835 Reviewed by Darin Adler. 5836 5837 * DumpRenderTree/mac/DumpRenderTree.mm: 5838 (convertMIMEType): Work around the "text/xml" local file type 5839 regression in Leopard using the BUILDING_ON_LEOPARD macro. Also 5840 stop mangling "application/x-javascript" into "text/javascript". 5841 (convertWebResourceDataToString): When checking whether to dump a 5842 resource as text, also check to see if the MIME type is in the 5843 -[WebHTMLRepresentation supportedNonImageMIMETypes] array. 5844 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD 5845 macro. 5846 5847 2008-07-31 Chris Fleizach <cfleizach (a] apple.com> 5848 5849 Reviewed by Alice Liu 5850 5851 Add AX support to get the bounds for a range of text 5852 Add AX support to get the child of an element 5853 Add AX support to get all the parameterized attribute names of an element 5854 5855 * DumpRenderTree/AccessibilityUIElement.cpp: 5856 (parameterizedAttributeNamesCallback): 5857 (boundsForRangeCallback): 5858 (childAtIndexCallback): 5859 (AccessibilityUIElement::getJSClass): 5860 * DumpRenderTree/AccessibilityUIElement.h: 5861 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5862 (AccessibilityUIElement::getChildAtIndex): 5863 (AccessibilityUIElement::parameterizedAttributeNames): 5864 (AccessibilityUIElement::boundsForRange): 5865 5866 2008-07-31 Erik Bunce <elbunce (a] thehive.com> 5867 5868 Reviewed by Simon. 5869 5870 Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X. 5871 5872 * Scripts/run-launcher: 5873 5874 2008-07-30 Jessica Kahn <jess (a] apple.com> 5875 5876 Reviewed by Adam Roben. 5877 5878 Slightly stricter checking for previous change, suggested by Adam. 5879 5880 * Scripts/extract-localizable-strings: 5881 5882 2008-07-30 Jessica Kahn <jess (a] apple.com> 5883 5884 Reviewed by Darin Adler. 5885 5886 Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes. 5887 5888 * Scripts/extract-localizable-strings: 5889 5890 2008-07-30 Anders Carlsson <andersca (a] apple.com> 5891 5892 Reviewed by Adam. 5893 5894 Copy icu38* files instead of icu36* files. 5895 5896 * DumpRenderTree/win/DumpRenderTree.vcproj: 5897 5898 2008-07-25 Jan Michael Alonzo <jmalonzo (a] webkit.org> 5899 5900 DRT/Gtk build fix for r35362 5901 5902 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 5903 (LayoutTestController::elementDoesAutoCompleteForElementWithId): 5904 5905 2008-07-25 Brady Eidson <beidson (a] apple.com> 5906 5907 Reviewed by Sam 5908 5909 Add the ability to dump whether-or-not an element should have autocomplete enabled, 5910 from the perspective of the WebKit API 5911 5912 * DumpRenderTree/LayoutTestController.cpp: 5913 (elementDoesAutoCompleteForElementWithIdCallback): 5914 (LayoutTestController::staticFunctions): 5915 5916 * DumpRenderTree/LayoutTestController.h: 5917 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 5918 (LayoutTestController::elementDoesAutoCompleteForElementWithId): 5919 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 5920 (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows 5921 5922 2008-07-25 Chris Fleizach <cfleizach (a] apple.com> 5923 5924 Reviewed by Beth Dakin 5925 5926 Add support for AXLineForIndex and AXInsertionPointIndex through the 5927 accessibility controller 5928 5929 * DumpRenderTree/AccessibilityUIElement.cpp: 5930 (lineForIndexCallback): 5931 (getInsertionPointLineNumberCallback): 5932 (AccessibilityUIElement::getJSClass): 5933 * DumpRenderTree/AccessibilityUIElement.h: 5934 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5935 (AccessibilityUIElement::insertionPointLineNumber): 5936 (AccessibilityUIElement::lineForIndex): 5937 5938 2008-07-25 Adam Roben <aroben (a] apple.com> 5939 5940 Try to fix the Windows build bot 5941 5942 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files 5943 that don't exist for people outside of Apple. 5944 5945 2008-07-18 Landry Breuil <landry (a] openbsd.org> 5946 5947 Bug 19975: [OpenBSD] Patches to enable build of WebKit 5948 5949 <https://bugs.webkit.org/show_bug.cgi?id=19975> 5950 5951 Reviewed by David Kilzer. 5952 5953 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters. 5954 5955 2008-07-16 Jon Honeycutt <jhoneycutt (a] apple.com> 5956 5957 CygwinDownloader fails to install necessary packages 5958 https://bugs.webkit.org/show_bug.cgi?id=20075 5959 5960 Reviewed by Mark Rowe. 5961 5962 * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken 5963 mirrors removed in r34116. Set MIME type to application/octet-stream. 5964 5965 2008-07-16 Jon Honeycutt <jhoneycutt (a] apple.com> 5966 5967 CygwinDownloader's make-zip.sh script fails 5968 https://bugs.webkit.org/show_bug.cgi?id=20074 5969 5970 Reviewed by Mark Rowe. 5971 5972 * CygwinDownloader/cygwin-downloader.py: 5973 5974 2008-07-15 Sam Weinig <sam (a] webkit.org> 5975 5976 Reviewed by Anders Carlsson. 5977 5978 Refactor accessibility testing code. 5979 5980 We now have: 5981 - AccessibilityController 5982 Controller which has access to the WebView and can provide the focused element, root element 5983 and in the future, elementAtPoint. 5984 5985 - AccessibilityUIElement 5986 Object which provides access to the data provided by the Accessibility APIs. 5987 5988 * DumpRenderTree/AccessibilityController.cpp: 5989 (getFocusedElementCallback): 5990 (getRootElementCallback): 5991 (AccessibilityController::getJSClass): 5992 * DumpRenderTree/AccessibilityController.h: 5993 * DumpRenderTree/AccessibilityUIElement.cpp: Added. 5994 (allAttributesCallback): 5995 (attributesOfLinkedUIElementsCallback): 5996 (attributesOfChildrenCallback): 5997 (getRoleCallback): 5998 (getTitleCallback): 5999 (getDescriptionCallback): 6000 (getWidthCallback): 6001 (getHeightCallback): 6002 (getIntValueCallback): 6003 (getMinValueCallback): 6004 (getMaxValueCallback): 6005 (finalize): 6006 (AccessibilityUIElement::makeJSAccessibilityUIElement): 6007 (AccessibilityUIElement::getJSClass): 6008 * DumpRenderTree/AccessibilityUIElement.h: Added. 6009 (AccessibilityUIElement::platformUIElement): 6010 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 6011 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 6012 (AccessibilityController::AccessibilityController): 6013 (AccessibilityController::~AccessibilityController): 6014 (AccessibilityController::focusedElement): 6015 (AccessibilityController::rootElement): 6016 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added. 6017 (AccessibilityUIElement::AccessibilityUIElement): 6018 (descriptionOfValue): 6019 (attributesOfElement): 6020 (nsStringToJSStringRef): 6021 (concatenateAttributeAndValue): 6022 (AccessibilityUIElement::getLinkedUIElements): 6023 (AccessibilityUIElement::getChildren): 6024 (AccessibilityUIElement::attributesOfLinkedUIElements): 6025 (AccessibilityUIElement::attributesOfChildren): 6026 (AccessibilityUIElement::allAttributes): 6027 (AccessibilityUIElement::role): 6028 (AccessibilityUIElement::title): 6029 (AccessibilityUIElement::description): 6030 (AccessibilityUIElement::width): 6031 (AccessibilityUIElement::height): 6032 (AccessibilityUIElement::intValue): 6033 (AccessibilityUIElement::minValue): 6034 (AccessibilityUIElement::maxValue): 6035 6036 2008-07-14 Chris Fleizach <cfleizach (a] apple.com> 6037 6038 Reviewed by Beth Dakin 6039 6040 Add support to get attributes of the AXChildren of an objecty 6041 6042 * DumpRenderTree/AccessibilityController.cpp: 6043 (attributesOfChildrenForFocusedElementCallback): 6044 (AccessibilityController::staticFunctions): 6045 * DumpRenderTree/AccessibilityController.h: 6046 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 6047 (descriptionOfValue): 6048 (AccessibilityController::attributesOfChildrenForFocusedElement): 6049 6050 2008-07-14 Steve Falkenburg <sfalken (a] apple.com> 6051 6052 Build fix. 6053 6054 * DumpRenderTree/win/DumpRenderTree.vcproj: 6055 6056 2008-07-14 Adam Roben <aroben (a] apple.com> 6057 6058 Attempted Windows build fix 6059 6060 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add 6061 CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the 6062 include path. 6063 6064 2008-07-14 Alexey Proskuryakov <ap (a] webkit.org> 6065 6066 Reviewed by Geoff Garen. 6067 6068 Eliminate per-thread JavaScript global data instance support and make arbitrary 6069 global data/global object combinations possible. 6070 6071 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: 6072 (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect. 6073 In this scenario, it was causing crashes after each 10-20 tests, because there was a large 6074 chance for a different thread to cause GC after the context was released. 6075 6076 2008-07-11 Stephanie Lewis <slewis (a] apple.com> 6077 6078 Reviewed by Darin Adler. 6079 6080 Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree. 6081 6082 Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT. 6083 6084 * DumpRenderTree/mac/DumpRenderTree.mm: 6085 (setDefaultsToConsistentValuesForTesting): 6086 (resetWebViewToConsistentStateBeforeTesting): 6087 * Scripts/run-webkit-tests: 6088 6089 2008-07-10 Steve Falkenburg <sfalken (a] apple.com> 6090 6091 Build fix. 6092 6093 * DumpRenderTree/win/DumpRenderTree.vcproj: 6094 6095 2008-07-09 Eric Seidel <eric (a] webkit.org> 6096 6097 Reviewed by Mark Rowe. 6098 6099 Print <div> backgrounds when printing from DRT. 6100 6101 * DumpRenderTree/mac/DumpRenderTree.mm: 6102 (setDefaultsToConsistentValuesForTesting): 6103 6104 2008-07-09 Eric Seidel <eric (a] webkit.org> 6105 6106 Reviewed by Mark Rowe. 6107 6108 Fix copying of expected results to correct location 6109 6110 * Scripts/run-webkit-tests: 6111 6112 2008-07-09 Eric Seidel <eric (a] webkit.org> 6113 6114 Reviewed by aroben. 6115 6116 * DumpRenderTree/LayoutTestController.cpp: 6117 (LayoutTestController::LayoutTestController): 6118 (dumpAsPDFCallback): 6119 (LayoutTestController::staticFunctions): 6120 * DumpRenderTree/LayoutTestController.h: 6121 (LayoutTestController::dumpAsPDF): 6122 (LayoutTestController::setDumpAsPDF): 6123 * DumpRenderTree/mac/DumpRenderTree.mm: 6124 (dumpFrameAsPDF): 6125 (dump): 6126 6127 2008-07-09 Eric Seidel <eric (a] webkit.org> 6128 6129 Reviewed by weinig. 6130 6131 Add Content-Type support to DumpRenderTree and run-webkit-tests 6132 and move expected.txt files to expected.webarchive 6133 6134 https://bugs.webkit.org/show_bug.cgi?id=15565 6135 6136 * DumpRenderTree/cg/ImageDiffCG.cpp: 6137 (compareImages): 6138 (main): 6139 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 6140 (printPNG): 6141 * DumpRenderTree/mac/DumpRenderTree.mm: 6142 (dump): 6143 * Scripts/run-webkit-tests: 6144 6145 2008-07-08 Jon Honeycutt <jhoneycutt (a] apple.com> 6146 6147 Reviewed by Anders. 6148 6149 Port r34988 to Mac: allow tests to define JavaScript to execute when 6150 NPP_DestroyStream or NPP_URLNotify is called. 6151 6152 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 6153 (NPP_New): Remove initialization that happens in pluginAllocate. Look 6154 for new arguments onStreamDestroy and onURLNotify. 6155 (NPP_Destroy): Free onStreamDestroy and onURLNotify. 6156 (executeScript): Code moved from onStreamLoad. 6157 (NPP_NewStream): Call executeScript. 6158 (NPP_DestroyStream): Same. 6159 (NPP_URLNotify): Same. 6160 6161 2008-07-07 Beth Dakin <bdakin (a] apple.com> 6162 6163 Reviewed by Anders. 6164 6165 This patch extends DRT accessibility tests to add the ability to 6166 query the intValue, minValue, and maxValue of the focused element. 6167 6168 * DumpRenderTree/AccessibilityController.cpp: 6169 (intValueOfFocusedElementCallback): 6170 (minValueOfFocusedElementCallback): 6171 (maxValueOfFocusedElementCallback): 6172 (AccessibilityController::staticFunctions): 6173 * DumpRenderTree/AccessibilityController.h: 6174 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 6175 (AccessibilityController::intValueOfFocusedElement): 6176 (AccessibilityController::minValueOfFocusedElement): 6177 (AccessibilityController::maxValueOfFocusedElement): 6178 6179 2008-07-07 Steve Falkenburg <sfalken (a] apple.com> 6180 6181 Fix build. 6182 6183 * DumpRenderTree/win/ImageDiff.vcproj: 6184 6185 2008-07-02 Jon Honeycutt <jhoneycutt (a] apple.com> 6186 6187 Allow tests to define JavaScript to execute when NPP_DestroyStream or 6188 NPP_URLNotify is called. 6189 6190 Reviewed by Anders. 6191 6192 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new 6193 property, "returnErrorFromNewStream." This is to support the test for 6194 <rdar://5983747> Safari crashes trying to load the SilverLight plugin, 6195 caused by WebKit calling NPP_DestroyStream after a plug-in returns an 6196 error from NPP_NewStream. 6197 (pluginGetProperty): 6198 (pluginSetProperty): 6199 (pluginAllocate): 6200 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new 6201 members, onStreamDestroy and onURLNotify. 6202 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: 6203 (NPP_New): Remove initialization of onStreamLoad; this was moved to 6204 pluginAllocate. Look for new arguments onStreamDestroy and 6205 onURLNotify, and store their values. 6206 (NPP_Destroy): Free new members. 6207 (executeScript): Code moved from onStreamLoad 6208 (NPP_NewStream): If returnErrorFromNewStream has been set to true, 6209 return a generic error code. If onStreamLoad is set, execute it as 6210 JavaScript. 6211 (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS. 6212 (NPP_URLNotify): Same, for onURLNotify. 6213 6214 2008-07-02 Brady Eidson <beidson (a] apple.com> 6215 6216 Reviewed by Mitz Pettel and John Sullivan 6217 6218 Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame 6219 load delegate. 6220 6221 Required to add a layout test for the fix for <rdar://problem/5549871> 6222 6223 * DumpRenderTree/mac/FrameLoadDelegate.mm: 6224 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call 6225 [WebFrame stopLoading] to test for the crash reflected in 5549871 6226 6227 All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call: 6228 * DumpRenderTree/LayoutTestController.cpp: 6229 (LayoutTestController::LayoutTestController): 6230 (setStopProvisionalFrameLoadsCallback): 6231 (LayoutTestController::staticFunctions): 6232 * DumpRenderTree/LayoutTestController.h: 6233 (LayoutTestController::stopProvisionalFrameLoads): 6234 (LayoutTestController::setStopProvisionalFrameLoads): 6235 6236 2008-07-01 Chris Fleizach <cfleizach (a] apple.com> 6237 6238 Reviewed by Beth Dakin 6239 6240 Support ability to get width and height of an element through accessibility 6241 6242 * DumpRenderTree/AccessibilityController.cpp: 6243 (widthOfFocusedElementCallback): 6244 (heightOfFocusedElementCallback): 6245 (AccessibilityController::staticFunctions): 6246 * DumpRenderTree/AccessibilityController.h: 6247 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 6248 (AccessibilityController::widthOfFocusedElement): 6249 (AccessibilityController::heightOfFocusedElement): 6250 6251 2008-06-30 Chris Fleizach <cfleizach (a] apple.com> 6252 6253 Reviewed by Beth Dakin 6254 6255 Support the ability to get the linked ui elements of an object 6256 6257 * DumpRenderTree/AccessibilityController.cpp: 6258 (attributesOfLinkedUIElementsForFocusedElementCallback): 6259 (AccessibilityController::staticFunctions): 6260 * DumpRenderTree/AccessibilityController.h: 6261 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 6262 (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement): 6263 (AccessibilityController::allAttributesOfFocusedElement): 6264 (attributesOfElement): 6265 (nsStringToJSStringRef): 6266 6267 2008-06-29 Sam Weinig <sam (a] webkit.org> 6268 6269 Fix Tiger build. 6270 6271 * DumpRenderTree/mac/EventSendingController.mm: 6272 (eventTypeForMouseButtonAndAction): 6273 6274 2008-06-27 Eric Seidel <eric (a] webkit.org> 6275 6276 Reviewed by darin. 6277 6278 Add multi-button mouseevent support to DRT 6279 https://bugs.webkit.org/show_bug.cgi?id=15173 6280 6281 It's now possible to specify the mouse button with: 6282 eventSender.mouseDown(1); eventSender.mouseUp(1); etc. 6283 6284 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 6285 * DumpRenderTree/mac/EventSendingController.h: 6286 * DumpRenderTree/mac/EventSendingController.mm: 6287 (+[EventSendingController isSelectorExcludedFromWebScript:]): 6288 (+[EventSendingController webScriptNameForSelector:]): 6289 (eventTypeForMouseButtonAndAction): 6290 (-[EventSendingController updateClickCountForButton:]): 6291 (-[EventSendingController mouseDown:]): 6292 (-[EventSendingController mouseUp:]): 6293 (-[EventSendingController mouseMoveToX:Y:]): 6294 (-[EventSendingController contextClick]): 6295 6296 2008-06-28 Nikolas Zimmermann <zimmermann (a] kde.org> 6297 6298 Reviewed by Oliver. 6299 6300 Copy <test>-expected.png from the right location to /tmp/layout-test-results. 6301 Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again. 6302 6303 * Scripts/run-webkit-tests: 6304 6305 2008-06-27 Jan Michael Alonzo <jmalonzo (a] webkit.org> 6306 6307 Reviewed by Christian Dywan. 6308 6309 [Gtk] Initialize webview settings before running DRT tests 6310 http://bugs.webkit.org/show_bug.cgi?id=19778 6311 6312 * DumpRenderTree/gtk/DumpRenderTree.cpp: 6313 (setDefaultsToConsistentStateValuesForTesting): 6314 (main): 6315 6316 2008-06-26 Darin Adler <darin (a] apple.com> 6317 6318 * Scripts/check-for-weak-vtables: Fixed comment. 6319 6320 2008-06-26 Darin Adler <darin (a] apple.com> 6321 6322 * Scripts/check-for-weak-vtables: Added. 6323 6324 2008-06-26 Beth Dakin <bdakin (a] apple.com> 6325 6326 Reviewed by Sam. 6327 6328 Do not include AXPosition in the dump of all of the accessibility 6329 attributes since it is screen-specific. 6330 6331 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 6332 (AccessibilityController::allAttributesOfFocusedElement): 6333 6334 2008-06-26 Beth Dakin <bdakin (a] apple.com> 6335 6336 Reviewed by Anders. 6337 6338 This is a speculative fix for the failing layout test on the build 6339 bot. It seems that the problem that the Build Bot is having is 6340 Tiger-specific. On Tiger, [NSValue description] was not very smart. 6341 So I replaced our call to description with a hand-rolled equivalent 6342 that will match on both platforms. 6343 6344 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 6345 (descriptionOfValue): 6346 6347 2008-06-25 Beth Dakin <bdakin (a] apple.com> 6348 6349 Reviewed by Sam Weinig. 6350 6351 This patch adds support to the AccessibilityController to query the 6352 following attributes specifically, without a full attribute dump: 6353 AXRole, AXTitle, and AXDescription. 6354 6355 * DumpRenderTree/AccessibilityController.cpp: 6356 (allAttributesForFocusedElementCallback): 6357 (roleOfFocusedElementCallback): 6358 (titleOfFocusedElementCallback): 6359 (descriptionOfFocusedElementCallback): 6360 (AccessibilityController::staticFunctions): 6361 * DumpRenderTree/AccessibilityController.h: 6362 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 6363 (AccessibilityController::allAttributesForFocusedElement): 6364 (concatenateAttributeAndValue): 6365 (AccessibilityController::roleOfFocusedElement): 6366 (AccessibilityController::titleOfFocusedElement): 6367 (AccessibilityController::descriptionOfFocusedElement): 6368 6369 2008-06-24 Dan Bernstein <mitz (a] apple.com> 6370 6371 Reviewed by Stephanie Lewis. 6372 6373 - move the linker flags from the debug configuration in the project 6374 to the shared configuration 6375 6376 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 6377 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: 6378 6379 2008-06-24 Dan Bernstein <mitz (a] apple.com> 6380 6381 - try to fix the Tiger build 6382 6383 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 6384 6385 2008-06-24 Sam Weinig and Beth Dakin <bdakin (a] apple.com and sam (a] webkit.org> 6386 6387 Reviewed by Darin Adler. 6388 6389 Fix for <rdar://problem/5884881> Make DumpRenderTree support 6390 accessibility tests 6391 6392 This patch adds some basic support for accessibility layout tests 6393 on the Mac. 6394 6395 * DumpRenderTree/AccessibilityController.cpp: Added. 6396 (AccessibilityController::AccessibilityController): 6397 (AccessibilityController::~AccessibilityController): 6398 (dumpCurrentAttributesCallback): 6399 (AccessibilityController::makeWindowObject): 6400 (AccessibilityController::getJSClass): 6401 (AccessibilityController::staticFunctions): 6402 * DumpRenderTree/AccessibilityController.h: Added. 6403 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 6404 * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added. 6405 (descriptionOfValue): 6406 (AccessibilityController::dumpCurrentAttributes): 6407 * DumpRenderTree/mac/DumpRenderTree.mm: 6408 * DumpRenderTree/mac/FrameLoadDelegate.h: 6409 * DumpRenderTree/mac/FrameLoadDelegate.mm: 6410 (-[FrameLoadDelegate init]): 6411 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): 6412 6413 2008-06-24 John Sullivan <sullivan (a] apple.com> 6414 6415 Reviewed by Dan Bernstein 6416 6417 * Scripts/extract-localizable-strings: 6418 add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the 6419 list of debugging macros, to avoid noise when keeping the list of localized string 6420 exceptions up to date 6421 6422 2008-06-24 Dan Bernstein <mitz (a] apple.com> 6423 6424 Rubber-stamped by Darin Adler. 6425 6426 - add a font family for testing font-weight 6427 6428 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker 6429 flags to create data sections for the WeightWatcher fonts. 6430 * DumpRenderTree/fonts: Added. 6431 * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added. 6432 * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added. 6433 * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added. 6434 * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added. 6435 * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added. 6436 * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added. 6437 * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added. 6438 * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added. 6439 * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added. 6440 * DumpRenderTree/mac/DumpRenderTree.mm: 6441 (activateFonts): Renamed activateAhemFont to this and made it activate 6442 the WeightWatcher fonts in addition to Ahem. 6443 (prepareConsistentTestingEnvironment): Adjusted for the name change. 6444 * DumpRenderTree/win/DumpRenderTree.cpp: 6445 (initialize): Added the WeightWatcher fonts. 6446 6447 2008-06-20 Brent Fulgham <bfulgham (a] gmail.com> 6448 6449 Reviewed by Darin Adler. 6450 6451 Extend the build-webkit (and set-webkit-configuration) script to 6452 support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952) 6453 6454 * Scripts/build-webkit: Add --cairo-win32 to the help message 6455 * Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration 6456 subroutine to recognize the --cairo-win32 flag. When present, 6457 the build configuration is changed from Debug/Release to 6458 Debug_Cairo/Release_Cairo. This flag is only active when the 6459 isCygwin() test is true. 6460 6461 2008-06-17 Dan Bernstein <mitz (a] apple.com> 6462 6463 Reviewed by Justin Garcia. 6464 6465 - prefer Leopard results when running on Snow Leopard. 6466 6467 * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to 6468 mac-leopard. 6469 * Scripts/webkitdirs.pm: Added isSnowLeopard(). 6470 6471 2008-06-15 Darin Adler <darin (a] apple.com> 6472 6473 * Scripts/do-webcore-rename: Updated for the latest round of renaming. 6474 6475 2008-06-15 Darin Adler <darin (a] apple.com> 6476 6477 * Scripts/do-webcore-rename: Updated for the latest round of renaming. 6478 6479 2008-06-15 Darin Adler <darin (a] apple.com> 6480 6481 * Scripts/do-webcore-rename: Updated for the latest round of renaming. 6482 6483 2008-06-15 Darin Adler <darin (a] apple.com> 6484 6485 * Scripts/do-webcore-rename: Updated for the latest round of renaming. 6486 6487 2008-06-15 Darin Adler <darin (a] apple.com> 6488 6489 * Scripts/do-file-rename: Updated. 6490 * Scripts/do-webcore-rename: Updated for the latest round of renaming. 6491 6492 2008-06-15 Darin Adler <darin (a] apple.com> 6493 6494 * Scripts/do-file-rename: Updated for the latest round of renaming. 6495 * Scripts/do-webcore-rename: Tweaked and reorganized a bit. 6496 6497 2008-06-15 Darin Adler <darin (a] apple.com> 6498 6499 * Scripts/create-exports: Added. 6500 * Scripts/do-file-rename: Added some planned renames. 6501 * Scripts/do-webcore-rename: Updated for the latest round of renaming. 6502 6503 2008-06-15 Darin Adler <darin (a] apple.com> 6504 6505 * Scripts/do-webcore-rename: Updated for the latest round of renaming. 6506 6507 2008-06-15 Maciej Stachowiak <mjs (a] apple.com> 6508 6509 Reviewed by Oliver. 6510 6511 - rename testkjs to jsc 6512 6513 * Scripts/build-jsc: Copied from Scripts/build-testkjs. 6514 * Scripts/build-testkjs: Removed. 6515 * Scripts/run-javascriptcore-tests: 6516 * Scripts/run-jsc: Copied from Scripts/run-testkjs. 6517 * Scripts/run-sunspider: 6518 * Scripts/run-testkjs: Removed. 6519 * Scripts/sunspider-compare-results: 6520 6521 2008-06-14 Darin Adler <darin (a] apple.com> 6522 6523 * Scripts/do-webcore-rename: Moved planned renames into a separate hash 6524 from the actual renames. Removed many renames that are either done or 6525 no longer planned. 6526 6527 2008-06-14 Darin Adler <darin (a] apple.com> 6528 6529 * Scripts/do-webcore-rename: Fixed obvious typo. 6530 6531 2008-06-13 Darin Adler <darin (a] apple.com> 6532 6533 * Scripts/make-js-test-wrappers: Added three more exceptions. 6534 6535 2008-06-10 Joerg Bornemann <joerg.bornemann (a] trolltech.com> 6536 6537 Reviewed by Simon. 6538 6539 For the qmake based build make it possible to build against makespecs where 6540 QMAKE_CC is defined in a configuration file included from qmake.conf. 6541 6542 * Scripts/webkitdirs.pm: Added support for include() statements in 6543 qmake.conf. 6544 6545 2008-06-09 Alp Toker <alp (a] nuanti.com> 6546 6547 gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to 6548 each of the tools since these are no longer set globally. 6549 6550 * GNUmakefile.am: 6551 6552 2008-06-08 Darin Adler <darin (a] apple.com> 6553 6554 * Scripts/make-js-test-wrappers: Added another exception. 6555 6556 2008-06-07 Cameron Zwarich <cwzwarich (a] uwaterloo.ca> 6557 6558 Reviewed by Timothy. 6559 6560 Remove the --squirrelfish option from SunSpider, as it is no longer needed. 6561 6562 * Scripts/run-sunspider: 6563 6564 2008-06-05 Alp Toker <alp (a] nuanti.com> 6565 6566 Build fix for r34387. 6567 6568 * GNUmakefile.am: 6569 6570 2008-06-04 Cameron Zwarich <cwzwarich (a] uwaterloo.ca> 6571 6572 Reviewed by Oliver. 6573 6574 Add an exception for Opcode.o to the global initializers check so that 6575 we can dump instruction statistics in the JavaScript virtual machine. 6576 6577 * Scripts/check-for-global-initializers: 6578 6579 2008-05-30 Steve Falkenburg <sfalken (a] apple.com> 6580 6581 Generate an isolated COM manifest for registry free COM. 6582 6583 * DumpRenderTree/win/DumpRenderTree.vcproj: 6584 6585 2008-06-02 Anders Carlsson <andersca (a] apple.com> 6586 6587 Reviewed by David Hyatt and Mitz. 6588 6589 <rdar://problem/5704119> 6590 repro crash in WebCore::RenderPart::setWidget (plugin-related?) 6591 6592 Call -[WebView display] in the "plug-in" failed delegate method, simulating 6593 the sheet that Safari puts up. 6594 6595 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 6596 (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]): 6597 6598 2008-05-30 Timothy Hatcher <timothy (a] apple.com> 6599 6600 Made the starting line number of scripts be 1-based throughout the engine. 6601 This cleans up script line numbers so they are all consistent now. 6602 6603 Reviewed by Oliver Hunt. 6604 6605 * DumpRenderTree/mac/ObjCController.m: 6606 (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript. 6607 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: 6608 (runJavaScriptThread): Ditto. 6609 * DumpRenderTree/win/DumpRenderTree.cpp: 6610 (runJavaScriptThread): Ditto. 6611 6612 2008-05-29 Geoffrey Garen <ggaren (a] apple.com> 6613 6614 Reviewed by Adam Roben. 6615 6616 Fixed VCSUtils.pm to work with git repositories inside symlinks. 6617 6618 * Scripts/VCSUtils.pm: Compute a relative path from the git repository 6619 root, instead of the root of the filesystem, to work around a bug in 6620 abs2rel when traversing symlinked home directories. 6621 6622 2008-05-29 Kevin Ollivier <kevino (a] theolliviers.com> 6623 6624 Reviewed by Darin Adler. 6625 6626 Restore original behavior of isOSX() referring to the Mac port, not the OS itself. 6627 6628 https://bugs.webkit.org/show_bug.cgi?id=19311 6629 6630 * Scripts/webkitdirs.pm: 6631 6632 2008-05-29 Alexey Proskuryakov <ap (a] webkit.org> 6633 6634 Reviewed by Adam Roben. 6635 6636 Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and 6637 configuration files. 6638 6639 * Scripts/run-iexploder-tests: 6640 * Scripts/run-mangleme-tests: 6641 Renamed runSafari to not conflict with the one in webkitdirs. 6642 Added SSLCertificateFile option for httpd, as now needed. 6643 6644 2008-05-27 Kevin Ollivier <kevino (a] theolliviers.com> 6645 6646 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename. 6647 6648 * wx/browser/browser.cpp: 6649 (MyApp::OnInit): 6650 6651 2008-05-24 Andreia Gaita <shana (a] isninja.com> 6652 6653 Reviewed by Alp Toker. 6654 6655 cygwin-downloader.py fixes. 6656 6657 Remove two non-working mirrors. Add a check for missing dependency 6658 packages to avoid bailing out on an inconsistent Cygwin package list. 6659 6660 * CygwinDownloader/cygwin-downloader.py: 6661 6662 2008-05-24 Jan Michael Alonzo <jmalonzo (a] webkit.org> 6663 6664 Reviewed by Darin Adler. 6665 6666 Remove useQmake usage. QMake build doesn't support Gtk port 6667 anymore. 6668 6669 Also fix 2 occurences of "Web Kit". Should be WebKit. 6670 6671 * Scripts/build-webkit: 6672 * Scripts/run-javascriptcore-tests: 6673 * Scripts/run-launcher: 6674 * Scripts/run-webkit-tests: 6675 * Scripts/webkitdirs.pm: 6676 6677 2008-05-22 Stephanie Lewis <slewis (a] apple.com> 6678 6679 Reviewed by Dan. 6680 6681 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events. 6682 6683 * DumpRenderTree/mac/UIDelegate.mm: 6684 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]): 6685 * DumpRenderTree/win/UIDelegate.cpp: 6686 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage): 6687 6688 2008-05-21 Adele Peterson <adele (a] apple.com> 6689 6690 Reviewed by Adam. 6691 6692 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows 6693 6694 * DumpRenderTree/win/UIDelegate.cpp: 6695 (UIDelegate::webViewFocus): Added. 6696 (UIDelegate::webViewUnfocus): Added. 6697 * DumpRenderTree/win/UIDelegate.h: 6698 6699 2008-05-21 Mark Rowe <mrowe (a] apple.com> 6700 6701 Rubber-stamped by Stephanie Lewis. 6702 6703 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari, 6704 rather than trigger an unknown argument message. This allows run-webkit-tests to display results 6705 once more. 6706 6707 * Scripts/run-safari: 6708 6709 2008-05-21 Stephanie Lewis <slewis (a] apple.com> 6710 6711 Reviewed by Maciej, Mark. 6712 6713 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc. 6714 6715 * Scripts/run-webkit-tests: 6716 * Scripts/webkitdirs.pm: 6717 6718 2008-05-20 Mark Rowe <mrowe (a] apple.com> 6719 6720 Reviewed by Stephanie Lewis. 6721 6722 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit. 6723 6724 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit. 6725 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and 6726 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always 6727 pass an argument to run-webkit-tests after having built with "make x86_64". 6728 6729 * Scripts/gdb-safari: 6730 * Scripts/run-safari: 6731 * Scripts/run-webkit-tests: 6732 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the 6733 preferred architecture, and exporting of the environment variables for 'arch' out into 6734 separate subroutines. 6735 6736 2008-05-20 Mark Rowe <mrowe (a] apple.com> 6737 6738 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile. 6739 6740 * Makefile: 6741 6742 === End merge of squirrelfish === 6743 6744 2008-04-14 Maciej Stachowiak <mjs (a] apple.com> 6745 6746 Reviewed by Oliver. 6747 6748 - added support for --ubench mode 6749 6750 * Scripts/run-sunspider: 6751 6752 2008-03-26 Geoffrey Garen <ggaren (a] apple.com> 6753 6754 Reviewed by Oliver Hunt. 6755 6756 --squirrelfish mode: pared down tests for squirrelfish to chew on. 6757 6758 * Scripts/run-sunspider: 6759 6760 === Start merge of squirrelfish === 6761 6762 2008-05-21 Darin Adler <darin (a] apple.com> 6763 6764 * Scripts/make-js-test-wrappers: Added another exception. 6765 6766 2008-05-19 Stephanie Lewis <slewis (a] apple.com> 6767 6768 Reviewed by Adam. 6769 6770 Explicitly set run mode to 32bit unless overridden to avoid 6771 confusion when running tests 6772 6773 * Scripts/build-dumprendertree: 6774 * Scripts/gdb-safari: 6775 * Scripts/run-webkit-tests: 6776 * Scripts/webkitdirs.pm: 6777 6778 2008-05-16 Stephanie Lewis <slewis (a] apple.com> 6779 6780 Reviewed by Steve. 6781 6782 Print out pending unload event count. Also print out main frame name to match Mac. 6783 6784 * DumpRenderTree/win/FrameLoadDelegate.cpp: 6785 (descriptionSuitableForTestResult): 6786 (FrameLoadDelegate::didFinishDocumentLoadForFrame): 6787 6788 2008-05-16 Timothy Hatcher <timothy (a] apple.com> 6789 6790 Remove the Drosera project, code and resources since it has been 6791 replaced with the Web Inspector's debugger. Removes references to 6792 Drosera in various scripts and makefiles. 6793 6794 Rubber-stamped by Mark Rowe. 6795 6796 * BuildSlaveSupport/build-launcher-app: 6797 * Drosera/DebuggerDocument.cpp: Removed. 6798 * Drosera/DebuggerDocument.h: Removed. 6799 * Drosera/Drosera.icns: Removed. 6800 * Drosera/DroseraWin.make: Removed. 6801 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed. 6802 * Drosera/English.lproj/Debugger.nib/info.nib: Removed. 6803 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed. 6804 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed. 6805 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed. 6806 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed. 6807 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed. 6808 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed. 6809 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed. 6810 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed. 6811 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed. 6812 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed. 6813 * Drosera/Images/Drosera.ico: Removed. 6814 * Drosera/Images/SourceArrow.png: Removed. 6815 * Drosera/Images/SourceArrowBlank.png: Removed. 6816 * Drosera/Images/SourceArrowOpen.png: Removed. 6817 * Drosera/Images/background_stripe.png: Removed. 6818 * Drosera/Images/breakPoint.tif: Removed. 6819 * Drosera/Images/breakPointDisabled.tif: Removed. 6820 * Drosera/Images/breakpointeditor.png: Removed. 6821 * Drosera/Images/close.tif: Removed. 6822 * Drosera/Images/close_active.tif: Removed. 6823 * Drosera/Images/close_hover.tif: Removed. 6824 * Drosera/Images/console.png: Removed. 6825 * Drosera/Images/continue.tif: Removed. 6826 * Drosera/Images/fileIcon.jpg: Removed. 6827 * Drosera/Images/finishFunction.tif: Removed. 6828 * Drosera/Images/glossyFooterFill.tif: Removed. 6829 * Drosera/Images/glossyHeader.png: Removed. 6830 * Drosera/Images/glossyHeaderPressed.png: Removed. 6831 * Drosera/Images/gradientBackground.png: Removed. 6832 * Drosera/Images/gutter.png: Removed. 6833 * Drosera/Images/navLeftDisabled.png: Removed. 6834 * Drosera/Images/navLeftNormal.png: Removed. 6835 * Drosera/Images/navLeftPressed.png: Removed. 6836 * Drosera/Images/navRightDisabled.png: Removed. 6837 * Drosera/Images/navRightNormal.png: Removed. 6838 * Drosera/Images/navRightPressed.png: Removed. 6839 * Drosera/Images/pause.tif: Removed. 6840 * Drosera/Images/popUpArrows.png: Removed. 6841 * Drosera/Images/programCounter.tif: Removed. 6842 * Drosera/Images/programCounterBreakPoint.tif: Removed. 6843 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed. 6844 * Drosera/Images/run.tif: Removed. 6845 * Drosera/Images/siteCollapsed.tif: Removed. 6846 * Drosera/Images/siteExpanded.tif: Removed. 6847 * Drosera/Images/siteIcon.tif: Removed. 6848 * Drosera/Images/small.ico: Removed. 6849 * Drosera/Images/splitterBar.tif: Removed. 6850 * Drosera/Images/splitterDimple.tif: Removed. 6851 * Drosera/Images/step.tif: Removed. 6852 * Drosera/Images/stepOut.tif: Removed. 6853 * Drosera/Images/stepOver.tif: Removed. 6854 * Drosera/Images/stop.tif: Removed. 6855 * Drosera/Images/toolbarBackground.png: Removed. 6856 * Drosera/Images/verticalSplitterBar.tiff: Removed. 6857 * Drosera/Images/verticalSplitterDimple.tiff: Removed. 6858 * Drosera/Makefile: Removed. 6859 * Drosera/breakpointEditor.html: Removed. 6860 * Drosera/config.h: Removed. 6861 * Drosera/console.css: Removed. 6862 * Drosera/console.html: Removed. 6863 * Drosera/console.js: Removed. 6864 * Drosera/debugger.css: Removed. 6865 * Drosera/debugger.html: Removed. 6866 * Drosera/debugger.js: Removed. 6867 * Drosera/mac/DebuggerApplication.h: Removed. 6868 * Drosera/mac/DebuggerApplication.mm: Removed. 6869 * Drosera/mac/DebuggerClient.h: Removed. 6870 * Drosera/mac/DebuggerClient.mm: Removed. 6871 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed. 6872 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed. 6873 * Drosera/mac/Info.plist: Removed. 6874 * Drosera/mac/LauncherInfo.plist: Removed. 6875 * Drosera/mac/Makefile: Removed. 6876 * Drosera/mac/ServerConnection.h: Removed. 6877 * Drosera/mac/ServerConnection.mm: Removed. 6878 * Drosera/mac/launcher.m: Removed. 6879 * Drosera/mac/main.m: Removed. 6880 * Drosera/viewer.css: Removed. 6881 * Drosera/viewer.html: Removed. 6882 * Drosera/win/BaseDelegate.h: Removed. 6883 * Drosera/win/DebuggerClient.cpp: Removed. 6884 * Drosera/win/DebuggerClient.h: Removed. 6885 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed. 6886 * Drosera/win/Drosera.cpp: Removed. 6887 * Drosera/win/Drosera.h: Removed. 6888 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed. 6889 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed. 6890 * Drosera/win/DroseraPrefix.cpp: Removed. 6891 * Drosera/win/DroseraPrefix.h: Removed. 6892 * Drosera/win/Info.plist: Removed. 6893 * Drosera/win/ServerConnection.cpp: Removed. 6894 * Drosera/win/ServerConnection.h: Removed. 6895 * Drosera/win/resource.h: Removed. 6896 * Makefile: 6897 * Scripts/build-drosera: Removed. 6898 * Scripts/gdb-drosera: Removed. 6899 * Scripts/run-drosera: Removed. 6900 * Scripts/run-drosera-nightly.cmd: Removed. 6901 * Scripts/run-drosera.cmd: Removed. 6902 * Scripts/webkitdirs.pm: 6903 6904 2008-05-15 Stephanie Lewis <slewis (a] apple.com> 6905 6906 Reviewed by Anders. 6907 6908 Dump the unload count for a frame after parsing is finished. 6909 6910 * DumpRenderTree/mac/FrameLoadDelegate.mm: 6911 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]): 6912 6913 2008-05-15 Alexey Proskuryakov <ap (a] webkit.org> 6914 6915 Reviewed by Dan Bernstein. 6916 6917 https://bugs.webkit.org/show_bug.cgi?id=10707 6918 DumpRenderTree should not be able to access non-local resources 6919 6920 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 6921 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): 6922 Block them, and complain. 6923 6924 2008-05-15 Kevin Ollivier <kevino (a] theolliviers.com> 6925 6926 wx build fix. Update the version of libpng to download and instsall. 6927 6928 * wx/install-unix-extras: 6929 6930 2008-05-14 Julien Chaffraix <jchaffraix (a] webkit.org> 6931 6932 Reviewed by Eric. 6933 6934 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails. 6935 We now force the return value to be numeric. 6936 6937 - Removed platform checks as it was a work around the previous issue. 6938 6939 - Replaced isDarwin() by isOSX() as they have now the same behaviour. 6940 6941 * Scripts/build-webkit: 6942 * Scripts/webkitdirs.pm: 6943 6944 2008-05-12 Adam Roben <aroben (a] apple.com> 6945 6946 Support for testing NPN_PostURL 6947 6948 Reviewed by Anders Carlsson. 6949 6950 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 6951 (toCString): Added this helper function. 6952 (testPostURLFile): Added. Writes the passed-in content to the 6953 passed-in file and calls NPN_PostURL with the passed-in URL and 6954 target. 6955 (pluginInvoke): Added a case for testPostURLFile. 6956 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 6957 (followShortcuts): Changed to allow paths that don't yet exist. 6958 6959 2008-05-12 Mark Rowe <mrowe (a] apple.com> 6960 6961 Reviewed by Sam Weinig. 6962 6963 Minor cleanup of the DRT Xcode project. 6964 6965 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than 6966 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does 6967 not need to be there. 6968 6969 2008-05-12 Anders Carlsson <andersca (a] apple.com> 6970 6971 Reviewed by Adam. 6972 6973 Add support for testing application caches. 6974 6975 * DumpRenderTree/mac/DumpRenderTree.mm: 6976 (dumpRenderTree): 6977 Empty the cache. 6978 6979 (resetWebViewToConsistentStateBeforeTesting): 6980 Turn on support for the application cache. 6981 6982 2008-05-09 Mark Rowe <mrowe (a] apple.com> 6983 6984 Reviewed by Anders Carlsson. 6985 6986 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model. 6987 6988 It currently does not attempt to print events which means that plugins/mouse-events.html 6989 will fail when run 64-bit. All other tests that use this plugin pass. 6990 6991 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 6992 (testGetIntIdentifier): 6993 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 6994 (NPP_New): 6995 (NPP_HandleEvent): 6996 6997 2008-05-09 Brady Eidson <beidson (a] apple.com> 6998 6999 Reviewed by Adam Roben 7000 7001 Explicitly call shutDownWebKit() before quitting. 7002 7003 * Drosera/win/Drosera.cpp: 7004 (_tWinMain): 7005 7006 * DumpRenderTree/win/DumpRenderTree.cpp: 7007 (main): 7008 7009 2008-05-09 Mark Rowe <mrowe (a] apple.com> 7010 7011 Fix the Tiger build of Drosera. 7012 7013 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger. 7014 7015 2008-05-09 Sam Weinig <sam (a] webkit.org> 7016 7017 Rubber-stamped by Mark Rowe. 7018 7019 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs. 7020 7021 * Scripts/build-webkit: 7022 7023 2008-05-08 Mark Rowe <mrowe (a] apple.com> 7024 7025 Another attempt at a Tiger build fix. 7026 7027 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file. 7028 7029 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: 7030 7031 2008-05-08 Mark Rowe <mrowe (a] apple.com> 7032 7033 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined. 7034 7035 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: 7036 7037 2008-05-08 Mark Rowe <mrowe (a] apple.com> 7038 7039 Reviewed by Oliver Hunt and Dan Bernstein. 7040 7041 Update DumpRenderTree to build 64-bit. 7042 7043 The three major changes here are: 7044 1) Use NSInteger in the appropriate places. 7045 2) Use ColorSync API that is available in 64-bit to switch display profiles. 7046 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime. 7047 7048 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also 7049 needs updated to successfully build. 7050 7051 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit. 7052 * DumpRenderTree/mac/DumpRenderTree.mm: 7053 (swizzleAllMethods): 7054 (poseAsClass): 7055 (prepareConsistentTestingEnvironment): 7056 * DumpRenderTree/mac/DumpRenderTreeMac.h: 7057 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: 7058 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: 7059 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: 7060 * DumpRenderTree/mac/PixelDumpSupportMac.mm: 7061 (restoreColorSpace): 7062 (failedGettingCurrentProfile): 7063 (setDefaultColorProfileToRGB): 7064 7065 2008-05-08 Mark Rowe <mrowe (a] apple.com> 7066 7067 Reviewed by Darin Adler. 7068 7069 Clean up Drosera so that it will build 64-bit. 7070 7071 * Drosera/mac/DebuggerApplication.mm: 7072 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int. 7073 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto. 7074 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS. 7075 7076 2008-05-07 David Kilzer <ddkilzer (a] apple.com> 7077 7078 Use File::Find and Getopt::Long in make-js-test-wrappers 7079 7080 Reviewed by Darin Adler. 7081 7082 * Scripts/make-js-test-wrappers: 7083 - Updated Apple copyright statement. 7084 - Added command-line switch parsing and -h|--help switch. 7085 - Allowed user to pass list of files/directories on which to do 7086 a restricted search for TEMPLATE.html files. The default 7087 behavior is still to search the entire LayoutTests directory. 7088 - Removed duplicate 'use strict' statement. 7089 - Replaced use of `find` statements with File::Find::find(). 7090 - Remove unneeded chomp() calls now that we use File::Find. 7091 (directoryFilter): Added. Filters .svn directories when used 7092 with File::Find::find(). 7093 (findTemplateFiles): Added. Returns a list of TEMPLATE.html 7094 files found. 7095 7096 2008-05-05 Steve Falkenburg <sfalken (a] apple.com> 7097 7098 Copy dependencies of ImageDiff, DumpRenderTree in post-build step. 7099 7100 * DumpRenderTree/win/DumpRenderTree.vcproj: 7101 * DumpRenderTree/win/ImageDiff.vcproj: 7102 7103 2008-05-05 Adele Peterson <adele (a] apple.com> 7104 7105 Reviewed by Adam. 7106 7107 Look for the right ImageDiff executable for debug builds. 7108 7109 * Scripts/run-webkit-tests: 7110 7111 2008-05-05 Darin Adler <darin (a] apple.com> 7112 7113 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit 7114 leak tests. 7115 7116 2008-05-05 Ariya Hidayat <ariya.hidayat (a] trolltech.com> 7117 7118 Reviewed by Simon. 7119 7120 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG 7121 tests expect to be 480x360) 7122 7123 * DumpRenderTree/qt/DumpRenderTree.cpp: 7124 (WebCore::DumpRenderTree::open): 7125 7126 2008-05-02 Dan Bernstein <mitz (a] apple.com> 7127 7128 Reviewed by Adam Roben. 7129 7130 - add an option to svn-apply to set the reviewer name in change logs 7131 7132 * Scripts/svn-apply: Added a [-r|--reviewer name] option. 7133 7134 2008-05-01 David Kilzer <ddkilzer (a] apple.com> 7135 7136 Clean up configuration usage in run-webkit-tests 7137 7138 Reviewed by Adam. 7139 7140 * Scripts/run-webkit-tests: Parse configuration switches using 7141 passedConfiguration() from webkitdirs.pm like every other script. 7142 Note that we must still call setConfiguration() afterwards in 7143 case the --configuration switch was used. Use $configurationOption 7144 when running build-dumprendertree instead of recreating the switch. 7145 7146 2008-04-29 Adam Roben <aroben (a] apple.com> 7147 7148 Restore the beloved COMPtr::operator& 7149 7150 2008-04-29 Adam Roben <aroben (a] apple.com> 7151 7152 Windows build fixes 7153 7154 Replace COMPtr::operator& with COMPtr::adoptionPointer. 7155 7156 2008-04-25 Alexey Proskuryakov <ap (a] webkit.org> 7157 7158 Reviewed by Darin Adler. 7159 7160 Fix run-webkit-tests --threading 7161 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661> 7162 Proxy server issue in Sunday's Nightly 7163 7164 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: 7165 (runJavaScriptThread): 7166 (startJavaScriptThreads): 7167 (stopJavaScriptThreads): 7168 Spawned threads were immediately detached, unlike the original ones, so joining them 7169 made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just 7170 waits for them all to exit. 7171 7172 2008-04-28 Holger Hans Peter Freyther <zecke (a] selfish.org> 7173 7174 Reviewed by Simon. 7175 7176 Reset dumping resource load callbacks to false for the next test 7177 7178 7179 * DumpRenderTree/qt/jsobjects.cpp: 7180 (LayoutTestController::reset): 7181 7182 2008-04-28 Tor Arne Vestb <tavestbo (a] trolltech.com> 7183 7184 Reviewed by Simon. 7185 7186 Adapt to the latest API changes in WebKit/qt/Api. 7187 7188 * DumpRenderTree/qt/DumpRenderTree.cpp: 7189 (WebCore::DumpRenderTree::DumpRenderTree): 7190 * DumpRenderTree/qt/jsobjects.cpp: 7191 7192 2008-04-26 Robin Dunn <robin (a] alldunn.com> 7193 7194 Reviewed by Kevin Ollivier. 7195 7196 Delete the DerivedSources after make clean has been done so that the DerivedSources 7197 don't get re-created. Also, use the proper extension for the Win wxPython extension. 7198 7199 https://bugs.webkit.org/show_bug.cgi?id=18756 7200 7201 * wx/build-wxwebkit: 7202 7203 2008-04-26 Adam Barth <hk9565 (a] gmail.com> 7204 7205 Reviewed by Adam Roben and Sam Weinig. 7206 7207 Updates LayoutTestController to use host instead of domain. 7208 7209 Collin Jackson <collinj-webkit (a] collinjackson.com> also contributed to this patch. 7210 7211 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 7212 (LayoutTestController::setDatabaseQuota): 7213 * DumpRenderTree/mac/UIDelegate.mm: 7214 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): 7215 7216 2008-04-26 Kevin Ollivier <kevino (a] theolliviers.com> 7217 7218 wx build fix. Need the latest libpng. (Somehow my initial test passed without it.) 7219 7220 * wx/install-unix-extras: 7221 7222 2008-04-26 Robin Dunn <robin (a] alldunn.com> 7223 7224 Reviewed by Kevin Ollivier. 7225 7226 Allow the user to set the path to SWIG using an environment variable. 7227 7228 https://bugs.webkit.org/show_bug.cgi?id=18660 7229 7230 * wx/build-wxwebkit: 7231 7232 2008-04-26 Kevin Ollivier <kevino (a] theolliviers.com> 7233 7234 wx build fix. Download the latest libpng version for building the 7235 dependencies. 7236 7237 * wx/install-unix-extras: 7238 7239 2008-04-25 Holger Hans Peter Freyther <zecke (a] selfish.org> 7240 7241 Reviewed by Simon. 7242 7243 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html 7244 7245 Similar to Editing and Frameloading we do the dumping within WebCore 7246 7247 7248 * DumpRenderTree/qt/jsobjects.cpp: 7249 (LayoutTestController::dumpResourceLoadCallbacks): 7250 * DumpRenderTree/qt/jsobjects.h: 7251 7252 2008-04-24 Jan Michael Alonzo <jmalonzo (a] unpluggable.com> 7253 7254 Reviewed by Maciej Stachowiak. 7255 7256 http://bugs.webkit.org/show_bug.cgi?id=18485 7257 Typo and documentation fix for build-webkit 7258 7259 * Scripts/build-webkit: 7260 7261 2008-04-24 Anders Carlsson <andersca (a] apple.com> 7262 7263 Reviewed by Sam. 7264 7265 Don't call fprintf from the signal handler. 7266 7267 * DumpRenderTree/mac/DumpRenderTree.mm: 7268 (crashHandler): 7269 7270 2008-04-23 Adam Roben <aroben (a] apple.com> 7271 7272 Make crashes be reported as crashes, not hangs 7273 7274 Reviewed by David Kilzer. 7275 7276 * Scripts/run-webkit-tests: 7277 (top level): Use the new status field of the output from 7278 readFromDumpToolWithTimer to determine if the test crashed or hung. 7279 (sub readFromDumpToolWithTimer): 7280 - If we fail to read a line and $! is not EAGAIN, then we've crashed 7281 and should not try to read any more. 7282 - Changed the timedout field to a more general status field. 7283 7284 2008-04-22 David Kilzer <ddkilzer (a] apple.com> 7285 7286 Bug 18683: update-webkit returns 0 even if it fails 7287 7288 <https://bugs.webkit.org/show_bug.cgi?id=18683> 7289 7290 Reviewed by Mitz Pettel. 7291 7292 * Scripts/update-webkit: 7293 (runSvnUpdate): Die if close() fails. 7294 7295 2008-04-21 Adam Roben <aroben (a] apple.com> 7296 7297 Flush stdout/stderr after printing every #EOF separator 7298 7299 This fixes a hang when running the pixel tests on Windows 7300 7301 Reviewed by Mitz Pettel. 7302 7303 * DumpRenderTree/win/DumpRenderTree.cpp: 7304 (dump): 7305 (main): We don't have to flush stdout/stderr in the arguments loop 7306 anymore, as runTest flushes for us. 7307 7308 2008-04-21 Adam Roben <aroben (a] apple.com> 7309 7310 Fix pixel tests 7311 7312 * Scripts/run-webkit-tests: 7313 (sub readFromDumpToolWithTimer): Use readline instead of read to 7314 ensure that we don't read past the #EOF marker. 7315 7316 2008-04-21 Holger Hans Peter Freyther <holger.freyther (a] trolltech.com> 7317 7318 Reviewed by Simon. 7319 7320 Build fix for Qt 4.3 7321 7322 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is 7323 always defined. Do this by adding defines to the compiler line 7324 7325 * DumpRenderTree/qt/DumpRenderTree.pro: 7326 7327 2008-04-19 Mike Hommey <glandium (a] debian.org> 7328 7329 Reviewed by Alp Toker. 7330 7331 Don't build GtkLauncher and DumpRenderTree with rpath. 7332 7333 * GNUmakefile.am: 7334 7335 2008-04-18 Jan Michael Alonzo <jmalonzo (a] unpluggable.com> 7336 7337 Reviewed by Alp Toker. 7338 7339 http://bugs.webkit.org/show_bug.cgi?id=16620 7340 [GTK] Autotools make dist and make check support 7341 7342 Cleanups. 7343 7344 * GNUmakefile.am: 7345 7346 2008-04-18 Adam Roben <aroben (a] apple.com> 7347 7348 Drop the hang timer to 30 seconds 7349 7350 This matches what DRT/mac was using. 7351 7352 Reviewed by Mitz Pettel. 7353 7354 * Scripts/run-webkit-tests: 7355 7356 2008-04-18 Adam Roben <aroben (a] apple.com> 7357 7358 Get rid of DRT's Watchdog 7359 7360 run-webkit-tests now detects hangs and samples DRT as needed. 7361 7362 Reviewed by Mitz Pettel. 7363 7364 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed 7365 Watchdog* files from the project. 7366 * DumpRenderTree/Watchdog.cpp: Removed. 7367 * DumpRenderTree/Watchdog.h: Removed. 7368 * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog 7369 (dumpRenderTree): 7370 (runTest): 7371 * DumpRenderTree/mac/WatchdogMac.h: Removed. 7372 * DumpRenderTree/mac/WatchdogMac.mm: Removed. 7373 * Scripts/run-webkit-tests: 7374 (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out. 7375 (sub sampleDumpTool): Added. Writes a sample report to 7376 ~/Library/Logs/DumpRenderTree/HangReport.txt. 7377 7378 2008-04-18 Simon Hausmann <hausmann (a] webkit.org> 7379 7380 Reviewed by Holger. 7381 7382 Adapt to the API changes in WebKit/qt 7383 7384 * DumpRenderTree/qt/DumpRenderTree.cpp: 7385 (WebCore::WebPage::WebPage): 7386 (WebCore::DumpRenderTree::DumpRenderTree): 7387 (WebCore::DumpRenderTree::initJSObjects): 7388 (WebCore::DumpRenderTree::dumpFramesAsText): 7389 (WebCore::DumpRenderTree::dump): 7390 7391 2008-04-17 Adam Roben <aroben (a] apple.com> 7392 7393 Fix many tests on Windows 7394 7395 * Scripts/run-webkit-tests: 7396 (readFromDumpToolWithTimer): 7397 - Use read instead of sysread to ensure that we don't interfere with 7398 other uses of buffered IO in this script. 7399 (setFileHandleNonBlocking): Actually set the filehandle to blocking 7400 when specified. 7401 7402 2008-04-17 Adam Roben <aroben (a] apple.com> 7403 7404 Fix ~10 tests 7405 7406 * Scripts/run-webkit-tests: Only remove the newline after #EOF, not 7407 whatever newline happens to be at the end of what we've read. 7408 7409 2008-04-17 Adam Roben <aroben (a] apple.com> 7410 7411 Remove DRT/win's hang timer 7412 7413 run-webkit-tests takes care of this for us now 7414 7415 Reviewed by Anders Carlsson. 7416 7417 * DumpRenderTree/win/DumpRenderTree.cpp: 7418 7419 2008-04-17 Adam Roben <aroben (a] apple.com> 7420 7421 Don't wait for the hang timer twice in the case of a hang 7422 7423 Previously we'd wait for a hang while reading both stdout and stderr 7424 from DRT. Now we'll only wait for one or the other. 7425 7426 Reviewed by Anders Carlsson. 7427 7428 * Scripts/run-webkit-tests: 7429 (top level): Don't wait for stderr to time out if stdout already timed 7430 out. 7431 (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit 7432 after the first read that returns no data. 7433 7434 2008-04-17 Adam Roben <aroben (a] apple.com> 7435 7436 Don't throw away the output from timed out tests 7437 7438 Reviewed by Anders Carlsson. 7439 7440 * Scripts/run-webkit-tests: 7441 (top level): Updated for changes to readFromDumpToolWithTimer. 7442 (readFromDumpToolWithTimer): Return a hash that contains both the 7443 output and whether or not the test timed out. 7444 7445 2008-04-17 Adam Roben <aroben (a] apple.com> 7446 7447 Make the hang timer 60 seconds 7448 7449 * Scripts/run-webkit-tests: 7450 7451 2008-04-17 Adam Roben <aroben (a] apple.com> 7452 7453 Get rid of carriage returns in DRT/win's stderr 7454 7455 Reviewed by Eric Seidel. 7456 7457 * DumpRenderTree/win/DumpRenderTree.cpp: 7458 (main): Mark stderr as binary like we already do for stdout. 7459 7460 2008-04-17 Adam Roben <aroben (a] apple.com> 7461 7462 Fix Bug 17678: run-webkit-tests should have a watchdog timer (and 7463 timeout long tests) 7464 7465 <https://bugs.webkit.org/show_bug.cgi?id=17678> 7466 7467 We now abort tests that take longer than 60 seconds to produce output. 7468 This matches the watchdog timer in DRT/mac and DRT/win (which we can 7469 now remove). 7470 7471 Reviewed by Eric Seidel. 7472 7473 * Scripts/run-webkit-tests: 7474 (top level): Read DRT's output using the new readFromDumpToolWithTimer 7475 subroutine. If readFromDumpToolWithTimer returns undefined it means 7476 the test timed out, so we register the test as a hang and move on. 7477 (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles 7478 both crashed and timed out tests. If the test timed out, we kill DRT 7479 before returning. 7480 (sub linksForTimedOutTest): Added. We don't have any output to link to for 7481 tests that timed out. 7482 (sub recordActualResultsAndDiff): Don't call length on undefined. 7483 (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads 7484 from a filehandle until an #EOF is reached or 7485 $maximumSecondsWithoutOutput have elapsed. 7486 (sub setFileHandleNonBlocking): Marks a filehandle as blocking or 7487 non-blocking. 7488 7489 2008-04-17 Adam Roben <aroben (a] apple.com> 7490 7491 Refactor test results page generation 7492 7493 Reviewed by Eric Seidel. 7494 7495 * Scripts/run-webkit-tests: 7496 (sub htmlForResultsSection): Added. Takes a set of tests, a 7497 description, and a subroutine to generate the links for each test, and 7498 creates a HTML string containing a table of the tests and their 7499 links. 7500 (sub linksForExpectedAndActualResults): Added. Replaces the 7501 htmlForExpectedAndActualResults subroutine. 7502 (sub linksForMismatchTest): Added. 7503 (sub linksForCrashOrErrorTest): Added. 7504 (sub linksForNewTest): Added. 7505 7506 2008-04-17 Adam Roben <aroben (a] apple.com> 7507 7508 Print the extension for all tests in the test results page 7509 7510 Reviewed by Eric Seidel. 7511 7512 * Scripts/run-webkit-tests: 7513 7514 2008-04-17 Adam Roben <aroben (a] apple.com> 7515 7516 Move code that counts finished tests into a subroutine 7517 7518 Reviewed by Eric Seidel. 7519 7520 * Scripts/run-webkit-tests: 7521 (sub countFinishedTest): Added. 7522 7523 2008-04-17 Adam Roben <aroben (a] apple.com> 7524 7525 Move code that handles a crash into a subroutine 7526 7527 Reviewed by Eric Seidel. 7528 7529 * Scripts/run-webkit-tests: 7530 (sub testCrashed): Added. 7531 7532 2008-04-17 Eric Seidel <eric (a] webkit.org> 7533 7534 Reviewed by hyatt. 7535 7536 Rename RenderView to RenderViewport in the next rename patch. 7537 7538 * Scripts/do-webcore-rename: 7539 7540 2008-04-17 Mario Bensi <mbensi (a] pleyo.com> 7541 7542 Reviewed by Alp Toker. 7543 7544 http://bugs.webkit.org/show_bug.cgi?id=18543 7545 DumpRenderTree gtk freeze 7546 7547 fix DumpRenderTree gtk freeze 7548 7549 * DumpRenderTree/gtk/DumpRenderTree.cpp: 7550 (dump): 7551 7552 2008-04-15 Anders Carlsson <andersca (a] apple.com> 7553 7554 Add missing ; 7555 7556 * Scripts/build-webkit: 7557 7558 2008-04-15 Anders Carlsson <andersca (a] apple.com> 7559 7560 Reviewed by Adam. 7561 7562 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES. 7563 7564 * Scripts/build-webkit: 7565 7566 2008-04-15 Andre Poenitz <andre.poenitz (a] trolltech.com> 7567 7568 Reviewed by Simon. 7569 7570 Fix compilation with Qt namespaces 7571 7572 Qt can be configured to have all of its classes inside a specified namespaces. 7573 This is for example used in plugin/component environments like Eclipse. 7574 7575 This change makes it possible to let the Qt port compile against a namespaced 7576 Qt by the use of macros Qt provides to properly forward declare Qt classes in 7577 the namespace. 7578 7579 * DumpRenderTree/qt/DumpRenderTree.h: 7580 7581 2008-04-08 Kevin Ollivier <kevino (a] theolliviers.com> 7582 7583 Reviewed by Darin Adler. 7584 7585 Add a script that propagates any file changes made to the Bakefiles 7586 over to GTK and Qt build systems. Still needs to be wired into 7587 those ports though. 7588 7589 * Scripts/update-sources-list.py: Added. 7590 7591 2008-04-08 Mark Rowe <mrowe (a] apple.com> 7592 7593 Clean up after Brady. 7594 7595 * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found. 7596 7597 2008-04-08 Brady Eidson <beidson (a] apple.com> 7598 7599 Reviewed by Mitzpettel 7600 7601 Fixed http://bugs.webkit.org/show_bug.cgi?id=18302 7602 -WebArchive subresources dump in random order, intermittent failures 7603 7604 * DumpRenderTree/mac/DumpRenderTree.mm: 7605 (compareResourceURLs): Sorting function based on the resource URLs 7606 (serializeWebArchiveToXML): Sort the subresource array 7607 7608 2008-04-07 Brady Eidson <beidson (a] apple.com> 7609 7610 OMG, BUILD - please! 7611 7612 * Scripts/build-webkit: 7613 7614 2008-04-03 Holger Hans Peter Freyther <holger.freyther (a] trolltech.com> 7615 7616 Reviewed by Simon. 7617 7618 * Enable running http tests for Qt again. Failing tests can be put into the skipped list. 7619 * Running these tests on windows and other platforms might need some work. 7620 7621 * Scripts/run-webkit-tests: 7622 7623 2008-04-03 Holger Hans Peter Freyther <holger.freyther (a] trolltech.com> 7624 7625 Reviewed by Simon. 7626 7627 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API 7628 is not exporting enough to create the output in DRT itself. Settle with the approach 7629 Lars has taken for the Editing support and add branches to our FrameLoaderClient code. 7630 * run-webkit-tests http/tests(/loading) can now be executed. 7631 * For tests in loading/ directories we are going to throw away the dirty 7632 QWebPage to start with something clean. 7633 7634 7635 * DumpRenderTree/qt/DumpRenderTree.cpp: 7636 7637 2008-04-03 Holger Hans Peter Freyther <holger.freyther (a] trolltech.com> 7638 7639 Reviewed by Simon. 7640 7641 * Treat http and https as special URLs as well. Change the main.cpp and 7642 DumpRenderTree.cpp to handle http and https URIs as input. 7643 * I'm not doing the clean up and merging of these two checks now. 7644 7645 7646 * DumpRenderTree/qt/DumpRenderTree.cpp: 7647 (WebCore::DumpRenderTree::readStdin): 7648 * DumpRenderTree/qt/main.cpp: 7649 (main): 7650 7651 2008-04-03 Holger Hans Peter Freyther <holger.freyther (a] trolltech.com> 7652 7653 Reviewed by Simon. 7654 7655 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is 7656 located in a directory with the name "loading". And this will autoamtically 7657 enable dumping. 7658 * Remove this method from the LayoutTestController as it is unused now and this 7659 avoids adding it to the DRT of the Qt port. 7660 7661 7662 * DumpRenderTree/LayoutTestController.cpp: 7663 (setPrivateBrowsingEnabledCallback): 7664 7665 2008-04-01 Christian Dywan <christian (a] imendio.com> 7666 7667 Build fix for GCC 4.3. 7668 7669 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h 7670 7671 2008-04-01 Simon Hausmann <hausmann (a] webkit.org> 7672 7673 Reviewed by Holger. 7674 7675 Fix Qt DRT run by also printing EOF on stderr, as expected by 7676 run-webkit-tests. 7677 7678 * DumpRenderTree/qt/DumpRenderTree.cpp: 7679 (WebCore::DumpRenderTree::dump): 7680 7681 2008-03-31 Julien Chaffraix <julien.chaffraix (a] gmail.com> 7682 7683 Reviewed by Darin Adler. 7684 7685 Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash 7686 7687 Remove trailing '/' in $sourceDir in determineSourceDir(). 7688 7689 Fix suggested by Dmitriy Kazachkov. 7690 7691 * Scripts/webkitdirs.pm: 7692 7693 2008-03-29 Adam Roben <aroben (a] apple.com> 7694 7695 Update for rename of an IWebViewPrivate method 7696 7697 Reviewed by Mitz Pettel. 7698 7699 * DumpRenderTree/win/DumpRenderTree.cpp: 7700 (createWebViewAndOffscreenWindow): 7701 7702 2008-03-26 Antti Koivisto <antti (a] apple.com> 7703 7704 Reviewed by Anders. 7705 7706 Enable SVG animation support by default. 7707 7708 * Scripts/build-webkit: 7709 7710 2008-03-25 Adam Roben <aroben (a] apple.com> 7711 7712 Windows build fix 7713 7714 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 7715 Add $(WebKitLibrariesDir)\include to the include path so we can find 7716 stdint.h there. 7717 7718 2008-03-24 Eric Seidel <eric (a] webkit.org> 7719 7720 Reviewed by Mark. 7721 7722 Clean up SVG features message to be less confusing. 7723 7724 * Scripts/build-webkit: 7725 7726 2008-03-24 Sam Weinig <sam (a] webkit.org> 7727 7728 Reviewed by Dave Hyatt. 7729 7730 Add EventSender.zoomPageIn/zoomPageOut support to DRT. 7731 7732 * DumpRenderTree/mac/DumpRenderTree.mm: 7733 (resetWebViewToConsistentStateBeforeTesting): 7734 * DumpRenderTree/mac/EventSendingController.mm: 7735 (+[EventSendingController isSelectorExcludedFromWebScript:]): 7736 (-[EventSendingController zoomPageIn]): 7737 (-[EventSendingController zoomPageOut]): 7738 * DumpRenderTree/win/DumpRenderTree.cpp: 7739 (resetWebViewToConsistentStateBeforeTesting): 7740 * DumpRenderTree/win/EventSender.cpp: 7741 (textZoomInCallback): 7742 (textZoomOutCallback): 7743 (zoomPageInCallback): 7744 (zoomPageOutCallback): 7745 7746 2008-03-24 Dan Bernstein <mitz (a] apple.com> 7747 7748 Reviewed by Mark Rowe. 7749 7750 - update bisect-builds for Safari 3.1 7751 7752 * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal 7753 revision, r29711. 7754 7755 2008-03-21 Rodney Dawes <dobey (a] wayofthemonkey.com> 7756 7757 Reviewed by Holger. 7758 7759 http://bugs.webkit.org/show_bug.cgi?id=17981 7760 7761 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS. 7762 7763 * GNUmakefile.am: 7764 7765 2008-03-21 Adam Roben <aroben (a] apple.com> 7766 7767 Remove a non-working mirror from cygwin-downloader and add the ruby package 7768 7769 * CygwinDownloader/cygwin-downloader.py: 7770 * CygwinDownloader/cygwin-downloader.zip: Updated. 7771 7772 2008-03-20 Mark Rowe <mrowe (a] apple.com> 7773 7774 Reviewed by Sam Weinig. 7775 7776 Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project. 7777 This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the 7778 command-line. 7779 7780 * Scripts/build-webkit: 7781 7782 2008-03-17 Eric Seidel <eric (a] webkit.org> 7783 7784 Reviewed by Dan Bernstein. 7785 7786 Fix bogus argCount check breaking plugin test. 7787 7788 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 7789 7790 2008-03-17 Eric Seidel <eric (a] webkit.org> 7791 7792 Reviewed by darin. 7793 7794 Cleanup PluginObject.cpp and add support for testing 7795 converting from int -> identifier -> string 7796 and from string -> identifier -> int 7797 as well as round-tripping ints and stings through identifiers 7798 7799 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 7800 (pluginGetProperty): 7801 (pluginSetProperty): 7802 (testDOMAccess): 7803 (stringVariantToIdentifier): 7804 (int32VariantToIdentifier): 7805 (doubleVariantToIdentifier): 7806 (variantToIdentifier): 7807 (testIdentifierToString): 7808 (testIdentifierToInt): 7809 (testCallback): 7810 (getURL): 7811 (removeDefaultMethod): 7812 (getURLNotify): 7813 (testInvokeDefault): 7814 (destroyStream): 7815 (testEnumerate): 7816 (testGetIntIdentifier): 7817 (testGetProperty): 7818 (testEvaluate): 7819 (testGetPropertyReturnValue): 7820 (pluginInvoke): 7821 (pluginInvokeDefault): 7822 (pluginInvalidate): 7823 (pluginAllocate): 7824 (pluginDeallocate): 7825 (handleCallback): 7826 7827 2008-03-16 Kevin Ollivier <kevino (a] theolliviers.com> 7828 7829 Rubber stamped by Darin Adler. 7830 7831 Add set-webkit-configuration support for wx port, and centralize 7832 build dir location setting. 7833 7834 http://bugs.webkit.org/show_bug.cgi?id=17790 7835 7836 * wx/browser/browser.bkl: 7837 * wx/build-wxwebkit: 7838 7839 2008-03-15 Darin Adler <darin (a] apple.com> 7840 7841 * Scripts/commit-log-editor: Include the name line of the change log entry. 7842 A long time ago I designed this script to not include the name because I 7843 thought it was redundant (same as the name of the person checking in), but 7844 nowadays it's more common for someone to check something in done by someone 7845 else. 7846 7847 * Scripts/do-webcore-rename: Added some more planned renames and removed 7848 some that were already done "by hand". 7849 7850 2008-03-13 Brent Fulgham <bfulgham (a] gmail.com> 7851 7852 Reviewed by Darin Adler. 7853 7854 Correct paths to vsprops files so they use the environment 7855 variable, rather than hard-coded path. 7856 http://bugs.webkit.org/show_bug.cgi?id=17797. 7857 7858 * WinLauncher/WinLauncher.vcproj: Correct paths to vsprops. 7859 7860 2008-03-12 Steve Falkenburg <sfalken (a] apple.com> 7861 7862 VSExpress build fix 7863 7864 * WinLauncher/WinLauncher.vcproj: 7865 7866 2008-03-12 Holger Hans Peter Freyther <zecke (a] selfish.org> 7867 7868 Reviewed by Alp Toker. 7869 7870 Run testkjs in the correct productsDir in the GTK+ port. 7871 7872 * Scripts/run-javascriptcore-tests: 7873 7874 2008-03-11 Brent Fulgham <bfulgham (a] gmail.com> 7875 7876 Reviewed by Adam Roben. 7877 7878 Enabled WinLauncher as part of normal Windows build. 7879 http://bugs.webkit.org/show_bug.cgi?id=17715. 7880 7881 * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that 7882 it can find the proper libraries to link against. 7883 7884 2008-03-10 Julien Chaffraix <julien.chaffraix (a] gmail.com> 7885 7886 Reviewed and landed by Darin Adler. 7887 7888 http://bugs.webkit.org/show_bug.cgi?id=17581 7889 Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576. 7890 7891 Remove the previous warning which occurs when the --random option is used. 7892 7893 * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for 7894 its inequality 7895 7896 2008-03-07 Simon Hausmann <hausmann (a] webkit.org> 7897 7898 Reviewed by Darin Adler. 7899 7900 Done with Lars. 7901 7902 Ported the netscape test plugin to QWebPluginFactory. 7903 7904 * DumpRenderTree/qt/DumpRenderTree.cpp: 7905 (WebCore::WebPage::WebPage): 7906 * DumpRenderTree/qt/main.cpp: 7907 * DumpRenderTree/qt/testplugin.cpp: 7908 (TestPlugin::plugins): 7909 (TestPlugin::create): 7910 * DumpRenderTree/qt/testplugin.h: 7911 7912 2008-03-09 Steve Falkenburg <sfalken (a] apple.com> 7913 7914 Stop Windows build if an error occurs in a prior project. 7915 7916 Rubber stamped by Darin Adler. 7917 7918 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 7919 * DumpRenderTree/win/DumpRenderTree.vcproj: 7920 * DumpRenderTree/win/ImageDiff.vcproj: 7921 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 7922 7923 2008-03-08 Julien Chaffraix <julien.chaffraix (a] gmail.com> 7924 7925 Reviewed by Mark Rowe. 7926 7927 DRT build fix for Tiger. 7928 7929 * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER. 7930 7931 2008-03-07 Mark Rowe <mrowe (a] apple.com> 7932 7933 Reviewed by Oliver Hunt. 7934 7935 Fix WebKit build with GCC 4.2. 7936 7937 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature. 7938 7939 2008-03-07 Stephanie Lewis <slewis (a] apple.com> 7940 7941 Reviewed by Oliver. 7942 7943 Add Windows part of <rdar://problem/5693690> 7944 7945 * DumpRenderTree/win/DumpRenderTree.cpp: 7946 (dump): 7947 (main): 7948 7949 2008-03-07 Alp Toker <alp (a] atoker.com> 7950 7951 Back out the r30818, r30819 build fix attempts now the GTK+ build 7952 server has been upgraded. 7953 7954 * Scripts/webkitdirs.pm: 7955 7956 2008-03-07 Stephanie Lewis <slewis (a] apple.com> 7957 7958 Reviewed by Geoff. 7959 7960 <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages 7961 7962 * DumpRenderTree/mac/DumpRenderTree.mm: 7963 (dump): push EOF to stderr after every test 7964 * Scripts/run-webkit-tests: collect stderr output and print it 7965 7966 2008-03-07 Steve Falkenburg <sfalken (a] apple.com> 7967 7968 Get pdevenv working with Visual Studio Express. 7969 7970 Reviewed by Adam. 7971 7972 * Scripts/pdevenv: 7973 7974 2008-03-06 Adele Peterson <adele (a] apple.com> 7975 7976 Reviewed by Darin Adler. 7977 7978 Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5) 7979 7980 * DumpRenderTree/mac/UIDelegate.mm: 7981 (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey 7982 (-[UIDelegate webViewUnfocus:]): Added. In Safari, the default is to focus another window if there is one. 7983 To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false). 7984 7985 2008-03-06 Matt Lilek <webkit (a] mattlilek.com> 7986 7987 Reviewed by Adam Roben. 7988 7989 Bug 17691: REGRESSION: FindSafari doesn't work 7990 http://bugs.webkit.org/show_bug.cgi?id=17691 7991 7992 Swap my change from r30394 to use the Release libraries instead of Debug 7993 since some machines don't have the Debug version. 7994 7995 * FindSafari/FindSafari.vcproj: 7996 7997 2008-03-06 Kevin McCullough <kmccullough (a] apple.com> 7998 7999 Reviewed by Sam and Tim. 8000 8001 <rdar://5631450> Drosera: breakpoint indicators disappear after the 8002 script is finished running. 8003 - If there is a pre-existing breakpoint on a line when the file is 8004 updated we need to redraw it. 8005 8006 * Drosera/debugger.js: 8007 8008 2008-03-06 Brady Eidson <beidson (a] apple.com> 8009 8010 Tiger build fix...? 8011 8012 * DumpRenderTree/mac/WatchdogMac.mm: 8013 8014 2008-03-06 Brady Eidson <beidson (a] apple.com> 8015 8016 Reviewed by Darin 8017 8018 Added a cross-platform Watchdog thread to DRT. 8019 8020 The current watchdog in both DRTWin and DRTMac is Timer based. Therefore, deadlocks and long running 8021 main thread hangs still affect DRT. 8022 8023 By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs 8024 and true deadlocks can be caught. 8025 8026 There is one hook for platform specific code. As I did my development and testing on Mac, and Mac has 8027 `sample` available, the Mac implementation of this hook samples the process before it is killed. 8028 8029 I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need. 8030 8031 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 8032 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES 8033 8034 * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added. 8035 * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added. 8036 8037 * DumpRenderTree/Watchdog.cpp: Added. 8038 (Watchdog::Watchdog): 8039 (Watchdog::~Watchdog): 8040 (Watchdog::start): 8041 (Watchdog::stop): 8042 (Watchdog::checkIn): 8043 (Watchdog::setWatchdogInterval): 8044 (Watchdog::handleHang): 8045 (Watchdog::watchdogThreadStart): 8046 (Watchdog::watchdogThread): 8047 * DumpRenderTree/Watchdog.h: Added. 8048 8049 * DumpRenderTree/mac/WatchdogMac.h: Added. 8050 * DumpRenderTree/mac/WatchdogMac.mm: Added. 8051 (WatchdogMac::handleHang): Sample the process and write it out to a file 8052 8053 * DumpRenderTree/mac/DumpRenderTree.mm: 8054 (dumpRenderTree): Setup and start the watchdog before running any tests 8055 (runTest): Checkin with the watchdog after each test 8056 8057 2008-03-05 Alp Toker <alp (a] atoker.com> 8058 8059 Attempt to get the autotools build working again on the bot with 8060 build-webkit. 8061 8062 Force the use of /bin/bash since we seem to have bash-isms in the 8063 configure script right now. 8064 8065 * Scripts/webkitdirs.pm: 8066 8067 2008-03-05 Alp Toker <alp (a] atoker.com> 8068 8069 Re-attempt to switch to the autotools build system for GTK+. 8070 8071 Change scripts to continue when distclean fails. 8072 8073 * Scripts/webkitdirs.pm: 8074 8075 2008-03-05 Alp Toker <alp (a] atoker.com> 8076 8077 Force qmake for the GTK+ build until we get the build bot to succeed 8078 with autotools (currently dies at make distclean) 8079 8080 * Scripts/webkitdirs.pm: 8081 8082 2008-03-04 Alp Toker <alp (a] atoker.com> 8083 8084 Reviewed by Mark Rowe. 8085 8086 Switch the default GTK+ build system from qmake to autotools. 8087 8088 qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake 8089 8090 * Scripts/build-webkit: 8091 * Scripts/run-launcher: 8092 * Scripts/run-webkit-tests: 8093 * Scripts/webkitdirs.pm: 8094 8095 2008-03-04 Sam Weinig <sam (a] webkit.org> 8096 8097 Reviewed by Darin Adler. 8098 8099 * Scripts/do-webcore-rename: Update renaming plan. 8100 8101 2008-03-02 Brent Fulgham <bfulgham (a] gmail.com> 8102 8103 Reviewed by Alp Toker. 8104 8105 Remove some needless LIBS. 8106 8107 * GNUmakefile.am: 8108 8109 2008-03-02 Alp Toker <alp (a] atoker.com> 8110 8111 Reviewed by Mark Rowe. 8112 8113 Split the WebKit GTK+ build out of the WebCore build and change the 8114 shared object name to match the package name. 8115 8116 * GNUmakefile.am: 8117 8118 2008-03-01 Mark Rowe <mrowe (a] apple.com> 8119 8120 Reviewed by Tim Hatcher. 8121 8122 Update Xcode configuration to support building debug and release from the mysterious future. 8123 8124 * DumpRenderTree/mac/Configurations/Base.xcconfig: 8125 8126 2008-02-29 David Kilzer <ddkilzer (a] apple.com> 8127 8128 Pass the correct configuration switch (--Debug|--Release) to build-testkjs. 8129 8130 Reviewed by Dan. 8131 8132 Originally broken in r26838. 8133 8134 * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs 8135 not local, unused @args variable. 8136 8137 2008-02-29 David Kilzer <ddkilzer (a] apple.com> 8138 8139 Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks 8140 8141 <http://bugs.webkit.org/show_bug.cgi?id=15754> 8142 8143 Reviewed by Geoff and Darin. 8144 8145 We were using -[NSFileManager currentDirectoryPath] to get the current working directory, 8146 then removing that path from all file:/// URLs in the WebArchive output so these tests 8147 would pass no matter where they were run. 8148 8149 The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the 8150 current working directory, but the WebArchive does not. This left the current working 8151 directory in all file:/// URLs in the test output, and thus all tests failed, for any 8152 developer that used symlinks to get to their WebKit source directory. 8153 8154 The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply 8155 remove the current working directory path (no matter what it is) after "file://" but 8156 before "/LayoutTests/". 8157 8158 * DumpRenderTree/mac/DumpRenderTree.mm: 8159 (normalizeWebResourceURL): Removed unused oldURLBase argument. We now replace the 8160 current working directory as described above. 8161 (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument. Update 8162 calls to normalizeWebResourceURL(). 8163 (serializeWebArchiveToXML): Removed now unused cwdURL variable. Update calls to 8164 normalizeWebResourceURL() and convertWebResourceResponseToDictionary(). 8165 8166 2008-02-26 Robin Dunn <robin (a] alldunn.com> 8167 8168 Reviewed by Kevin Ollivier. 8169 8170 Improvements to the wx build script. 8171 8172 http://bugs.webkit.org/show_bug.cgi?id=17492 8173 8174 * wx/build-wxwebkit: 8175 - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win 8176 - Allow the build script to properly find wxPython includes under different setups 8177 - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined 8178 8179 2008-02-26 Timothy Hatcher <timothy (a] apple.com> 8180 8181 Reviewed by Darin Adler. 8182 8183 * Scripts/build-webkit: Add --universal and --64-bit flags to make building 8184 64-bit architectures easy. Combine the two flags to build 4-way universal. 8185 * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return 8186 non-zero when the build failes. 8187 8188 2008-02-26 Jessica Kahn <jess (a] apple.com> 8189 8190 Reviewed by Darin Adler. 8191 8192 * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment, 8193 so that Safari inherits it when launched. Preexisting code in WebKit checks this 8194 environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications 8195 launched by Safari continue to use the standard system WebKit. 8196 8197 2008-02-25 Adam Roben <aroben (a] apple.com> 8198 8199 Fix run-webkit-tests after r30394 8200 8201 * Scripts/webkitdirs.pm: Never append _debug to FindSafari's 8202 executable name. 8203 8204 2008-02-24 Darin Adler <darin (a] apple.com> 8205 8206 * Scripts/do-webcore-rename: Make some updates based on a trial run of 8207 the renaming script. 8208 8209 2008-02-24 Darin Adler <darin (a] apple.com> 8210 8211 * Scripts/do-webcore-rename: More renaming plans. 8212 8213 2008-02-23 Jan Michael Alonzo <jmalonzo (a] unpluggable.com> 8214 8215 Rubber stamped by Darin Adler. 8216 8217 Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup 8218 whitespaces introduced in the previous commit. 8219 8220 * GNUmakefile.am: 8221 8222 2008-02-23 Jan Michael Alonzo <jmalonzo (a] unpluggable.com> 8223 8224 Rubber-stamped by Darin Adler. 8225 8226 * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES. 8227 8228 2008-02-23 David Kilzer <ddkilzer (a] apple.com> 8229 8230 Please clarify licensing for some files 8231 <http://bugs.webkit.org/show_bug.cgi?id=14970> 8232 8233 Reviewed by Darin Adler. 8234 8235 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added 8236 copyright statement. Replaced license with newer Apple BSD-style license. 8237 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto. 8238 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto. 8239 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto. 8240 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto. 8241 * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto. 8242 * mangleme/LICENSE: Added (LGPL). 8243 8244 2008-02-22 Anders Carlsson <andersca (a] apple.com> 8245 8246 Reviewed by Adam. 8247 8248 <rdar://problem/5748781> 8249 https://bugs.webkit.org/show_bug.cgi?id=17413 8250 REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b 8251 8252 Copy the Java plug-in over to the new location. 8253 8254 * FindSafari/FindSafari.cpp: 8255 (_tmain): 8256 8257 2008-02-22 Anders Carlsson <andersca (a] apple.com> 8258 8259 Reviewed by Adam. 8260 8261 <rdar://problem/5747325> REGRESSION: HTTP layout tests hang 8262 8263 * DumpRenderTree/win/DumpRenderTree.cpp: 8264 (runTest): 8265 Init the URL request with the correct timeout. 8266 8267 2008-02-21 Mike Auty <mike.auty (a] gmail.com> 8268 8269 Reviewed by Alp Toker. 8270 8271 http://bugs.webkit.org/show_bug.cgi?id=17445 8272 [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed" 8273 8274 GTK+/autotools build system improvements 8275 8276 The GNUmakefile.am files make use of the LDFLAGS variable to include library 8277 additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made 8278 in LIBADD/LDADD variables, then they are mis-ordered during the linking. 8279 8280 The as-needed flag discards libraries whose functions have not been needed by 8281 earlier libraries, which therefore makes the ordering important. 8282 8283 This moves all -l library inclusion statements from LDFLAGS variables to 8284 LIBADD/LDADD variables. 8285 8286 * GNUmakefile.am: 8287 8288 2008-02-20 Brent Fulgham <bfulgham (a] gmail.com> 8289 8290 Reviewed by Alp. 8291 8292 - http://bugs.webkit.org/show_bug.cgi?id=17428 8293 Reenable a Windows-based launcher 8294 8295 This patch reenables the venerable Spinneret application, 8296 changing its name to match the other lanch applications. 8297 8298 * WinLauncher: Added. 8299 * WinLauncher/WinLauncher.cpp: Added. 8300 (WinLauncherWebHost::updateAddressBar): 8301 (WinLauncherWebHost::QueryInterface): 8302 (WinLauncherWebHost::AddRef): 8303 (WinLauncherWebHost::Release): 8304 (resizeSubViews): 8305 (_tWinMain): 8306 (MyRegisterClass): 8307 (InitInstance): 8308 (WndProc): 8309 (MyEditProc): 8310 (About): 8311 (loadURL): 8312 * WinLauncher/WinLauncher.h: Added. 8313 (WinLauncherWebHost::WinLauncherWebHost): 8314 (WinLauncherWebHost::didStartProvisionalLoadForFrame): 8315 (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame): 8316 (WinLauncherWebHost::didFailProvisionalLoadWithError): 8317 (WinLauncherWebHost::didCommitLoadForFrame): 8318 (WinLauncherWebHost::didReceiveTitle): 8319 (WinLauncherWebHost::didReceiveIcon): 8320 (WinLauncherWebHost::didFinishLoadForFrame): 8321 (WinLauncherWebHost::didFailLoadWithError): 8322 (WinLauncherWebHost::didChangeLocationWithinPageForFrame): 8323 (WinLauncherWebHost::willPerformClientRedirectToURL): 8324 (WinLauncherWebHost::didCancelClientRedirectForFrame): 8325 (WinLauncherWebHost::willCloseFrame): 8326 (WinLauncherWebHost::windowScriptObjectAvailable): 8327 * WinLauncher/WinLauncher.ico: Added. 8328 * WinLauncher/WinLauncher.rc: Added. 8329 * WinLauncher/WinLauncher.vcproj: Added. 8330 * WinLauncher/resource.h: Added. 8331 * WinLauncher/small.ico: Added. 8332 * WinLauncher/stdafx.cpp: Added. 8333 * WinLauncher/stdafx.h: Added. 8334 8335 2008-02-19 Brady Eidson <beidson (a] apple.com> 8336 8337 Reviewed by Geoff 8338 8339 Fixed a bug in DRT --threaded mode 8340 8341 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: 8342 (startJavaScriptThreads): Don't detach the newly created thread. The later call to stopJavaScriptThreads() tries 8343 to pthread_join() each thread that had been created, but you can't join a detached thread! 8344 8345 2008-02-18 Brady Eidson <beidson (a] apple.com> 8346 8347 Changes by Geoff Garen, Reviewed by Darin 8348 8349 Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released 8350 8351 DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html 8352 8353 [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock 8354 This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread. If the lock has leaked, 8355 this series of method calls will deadlock. If things are good, it will complete successfully. 8356 8357 * DumpRenderTree/mac/ObjCController.m: 8358 (runJavaScriptThread): 8359 (+[ObjCController isSelectorExcludedFromWebScript:]): 8360 (+[ObjCController webScriptNameForSelector:]): 8361 (-[ObjCController testValueForKey]): 8362 8363 2008-02-18 Matt Lilek <webkit (a] mattlilek.com> 8364 8365 Reviewed by Adam. 8366 8367 Remove FindSafari's Release configuration. 8368 8369 * FindSafari/FindSafari.vcproj: 8370 8371 2008-02-15 Adam Roben <aroben (a] apple.com> 8372 8373 Fix a typo that broke the Mac build 8374 8375 Reviewed by Mark. 8376 8377 * Scripts/build-webkit: 8378 8379 2008-02-14 Adam Roben <aroben (a] apple.com> 8380 8381 Turn on cross-document messaging support by default 8382 8383 Reviewed by Darin Adler. 8384 8385 * Scripts/build-webkit: 8386 8387 2008-02-14 Adam Roben <aroben (a] apple.com> 8388 8389 Conditionalize cross-document messaging support 8390 8391 The cross-document messaging parts of HTML 5 are in flux and we want 8392 ports to be able to turn off the support as needed. 8393 8394 Note that the support is turned off by default right now. A subsequent 8395 commit will turn it on by default. 8396 8397 Reviewed by Darin Adler. 8398 8399 * Scripts/build-webkit: 8400 8401 2008-02-14 Darin Adler <darin (a] apple.com> 8402 8403 - fix Windows build 8404 8405 * DumpRenderTree/win/UIDelegate.cpp: 8406 (UIDelegate::setStatusText): Update parameter types to match declaration. 8407 8408 2008-02-14 Oliver Hunt <oliver (a] apple.com> 8409 8410 Reviewed by Geoff G and Weinig. 8411 8412 Add ability for DRT to report tests setting the status text. 8413 8414 * DumpRenderTree/LayoutTestController.cpp: 8415 (LayoutTestController::LayoutTestController): 8416 (dumpStatusCallbacksCallback): 8417 (LayoutTestController::staticFunctions): 8418 * DumpRenderTree/LayoutTestController.h: 8419 * DumpRenderTree/mac/UIDelegate.mm: 8420 (-[UIDelegate webView:setStatusText:]): 8421 * DumpRenderTree/win/UIDelegate.cpp: 8422 * DumpRenderTree/win/UIDelegate.h: 8423 8424 2008-02-13 Adam Roben <aroben (a] apple.com> 8425 8426 Windows build fix 8427 8428 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added. 8429 8430 2008-02-13 Adam Roben <aroben (a] apple.com> 8431 8432 Windows/GTK+ build fix 8433 8434 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to 8435 get isnan. 8436 8437 2008-02-13 Brady Eidson <beidson (a] apple.com> 8438 8439 Reviewed by Darin Adler 8440 8441 Add some much needed Database support to DRT 8442 8443 * DumpRenderTree/LayoutTestController.cpp: 8444 (LayoutTestController::LayoutTestController): 8445 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to 8446 databases are called 8447 (clearAllDatabasesCallback): Allow a test to delete all databases 8448 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get 8449 (LayoutTestController::staticFunctions): 8450 8451 * DumpRenderTree/LayoutTestController.h: 8452 (LayoutTestController::dumpDatabaseCallbacks): 8453 (LayoutTestController::setDumpDatabaseCallbacks): 8454 8455 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 8456 (LayoutTestController::clearAllDatabases): 8457 (LayoutTestController::setDatabaseQuota): 8458 8459 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 8460 (LayoutTestController::clearAllDatabases): Stubbed out 8461 (LayoutTestController::setDatabaseQuota): Ditto 8462 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 8463 (LayoutTestController::clearAllDatabases): Stubbed out with error message 8464 (LayoutTestController::setDatabaseQuota): Ditto 8465 8466 * DumpRenderTree/mac/UIDelegate.mm: 8467 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a 8468 message with details about the event then return a 5mb quota like before 8469 8470 8471 2008-02-12 Steve Falkenburg <sfalken (a] apple.com> 8472 8473 Changes to support merged MIDL output. 8474 8475 All COM interfaces are now generated to WebKit.h. 8476 8477 Reviewed by Sam, Ada. 8478 8479 * Drosera/win/BaseDelegate.h: 8480 * Drosera/win/DebuggerClient.cpp: 8481 * Drosera/win/DebuggerDocumentPlatform.cpp: 8482 * Drosera/win/Drosera.cpp: 8483 * Drosera/win/ServerConnection.cpp: 8484 * Drosera/win/ServerConnection.h: 8485 * DumpRenderTree/win/DumpRenderTree.cpp: 8486 * DumpRenderTree/win/EditingDelegate.h: 8487 * DumpRenderTree/win/EventSender.cpp: 8488 * DumpRenderTree/win/FrameLoadDelegate.cpp: 8489 * DumpRenderTree/win/FrameLoadDelegate.h: 8490 * DumpRenderTree/win/GCControllerWin.cpp: 8491 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 8492 * DumpRenderTree/win/PolicyDelegate.h: 8493 * DumpRenderTree/win/ResourceLoadDelegate.h: 8494 * DumpRenderTree/win/UIDelegate.cpp: 8495 * DumpRenderTree/win/UIDelegate.h: 8496 * DumpRenderTree/win/WorkQueueItemWin.cpp: 8497 8498 2008-02-10 Dan Bernstein <mitz (a] apple.com> 8499 8500 Reviewed by Oliver Hunt. 8501 8502 - fix a memory leak 8503 8504 * DumpRenderTree/cg/ImageDiffCG.cpp: 8505 (getDifferenceBitmap): Use a static CFMutableData instead of allocating 8506 and leaking the buffer each time. 8507 8508 2008-02-07 Adam Roben <aroben (a] apple.com> 8509 8510 Fix error in bisect-builds when responding "broken" for the first 8511 build 8512 8513 Reviewed by Dave Kilzer. 8514 8515 * Scripts/bisect-builds: Only try to test the build if the nightly 8516 info for the current index has not been deleted. 8517 8518 2008-02-07 Geoffrey Garen <ggaren (a] apple.com> 8519 8520 Reviewed by Alexey Proskuryakov. 8521 8522 Fixed two minor typos in the --root option, to get it working. 8523 8524 * Scripts/run-sunspider: 8525 1. Actually assign the function argument to our local variable. 8526 2. Actually set the $root variable, so we don't try to build later. 8527 8528 2008-02-05 Oliver Hunt <oliver (a] apple.com> 8529 8530 RS=Eric. 8531 8532 Re-enable foreignObject by default as it is needed for a number of non-fO 8533 related SVG tests and none of the old known crashes occur anymore. 8534 8535 * Scripts/build-webkit: 8536 8537 2008-02-05 Steve Falkenburg <sfalken (a] apple.com> 8538 8539 Build fix. Don't override intermediate directory. 8540 8541 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 8542 8543 2008-02-05 Holger Hans Peter Freyther <zecke (a] selfish.org> 8544 8545 Build fix for Windows. willCloseFrame is a pure virtual and we are 8546 forced to have an implementation. 8547 8548 This partially reverts r30014. 8549 8550 * DumpRenderTree/win/FrameLoadDelegate.cpp: 8551 (FrameLoadDelegate::willCloseFrame): 8552 * DumpRenderTree/win/FrameLoadDelegate.h: 8553 8554 2008-02-05 Nikolas Zimmermann <zimmermann (a] kde.org> 8555 8556 Reviewed by Holger. 8557 8558 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates) 8559 8560 * Scripts/make-js-test-wrappers: 8561 8562 2008-02-05 Holger Freyther <zecke (a] selfish.org> 8563 8564 Reviewed by Darin Adler. 8565 8566 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the 8567 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate 8568 depends on the order the tests are executed. 8569 8570 Propose to remove willCloseFrame and didlCearWindowObject output from the 8571 FrameLoadDelegate and update the test results. The output of didClearWindowObject 8572 is not interesting for any of the current tests and we have other ways to find 8573 out if a frame was closed or not. 8574 8575 * DumpRenderTree/mac/FrameLoadDelegate.mm: 8576 * DumpRenderTree/win/FrameLoadDelegate.cpp: 8577 (FrameLoadDelegate::didClearWindowObject): 8578 * DumpRenderTree/win/FrameLoadDelegate.h: 8579 8580 2008-02-04 Mark Rowe <mrowe (a] apple.com> 8581 8582 Reviewed by Oliver Hunt. 8583 8584 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842 8585 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things 8586 8587 Don't install the signal handler unless we are running the pixel tests. 8588 It is currently only used to restore the color profile, but by catching 8589 signals we can trigger a deadlock in DRT while running leak tests. 8590 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842, 8591 and a more complete fix will need to be developed to address this for 8592 pixel tests as well. 8593 8594 * DumpRenderTree/mac/DumpRenderTree.mm: 8595 (dumpRenderTree): 8596 8597 2008-02-04 Mark Rowe <mrowe (a] apple.com> 8598 8599 Gtk qmake build fix. 8600 8601 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash. 8602 8603 2008-02-04 Jan Michael Alonzo <jmalonzo (a] unpluggable.com> 8604 8605 Reviewed by Alp Toker and Mark Rowe. 8606 8607 http://bugs.webkit.org/show_bug.cgi?id=16618 8608 [GTK] build-webkit and run-webkit-tests autootools support 8609 8610 * Scripts/build-webkit: added --database and --icon-database options 8611 * Scripts/run-launcher: 8612 * Scripts/run-webkit-tests: 8613 * Scripts/webkitdirs.pm: 8614 8615 2008-02-04 Oliver Hunt <oliver (a] apple.com> 8616 8617 Reviewed by Steve F. 8618 8619 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT 8620 8621 Implement required DRT functionality to allow majority of Drag and Drop testcases to work. 8622 Issues include: 8623 * Uses Sleep() to implement leapForward reliably. 8624 * 3 DND tests still fail for reasons that i have not yet determined 8625 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain 8626 8627 * DumpRenderTree/win/EventSender.cpp: 8628 (leapForwardCallback): 8629 (mouseDownCallback): 8630 (doMouseUp): 8631 (mouseUpCallback): 8632 (doMouseMove): 8633 (mouseMoveToCallback): 8634 Minor updates to these functions to handle the different message queue structure. 8635 8636 (replaySavedEvents): 8637 More complicated now. Where possible we just use the old while-loop model of execution, 8638 but when leapForward has been used we have to jump through some hoops and set up an 8639 inner event loop so that we can ensure messages get the correct time stamp. 8640 8641 * DumpRenderTree/win/UIDelegate.cpp: 8642 (UIDelegate::doDragDrop): 8643 Call replaySavedEvents directly to force synchronous handling of drag and drop. 8644 8645 2008-02-04 Rodney Dawes <dobey (a] wayofthemonkey.com> 8646 8647 Reviewed by Alp Toker and Mark Rowe. 8648 8649 Fix http://bugs.webkit.org/show_bug.cgi?id=17175. 8650 Bug 17175: Use of C++ compiler flags in CFLAGS 8651 8652 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS. 8653 8654 2008-02-04 Darin Adler <darin (a] apple.com> 8655 8656 Reviewed by Geoff. 8657 8658 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast 8659 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom 8660 subdirectory. 8661 8662 2008-02-04 Adam Roben <aroben (a] apple.com> 8663 8664 Windows Apple-only build fix 8665 8666 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include 8667 directory. 8668 8669 2008-02-04 Alp Toker <alp (a] atoker.com> 8670 8671 Rubber-stamped by Mark Rowe. 8672 8673 Remove all trailing whitespace in the GTK+ port and related 8674 components. 8675 8676 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: 8677 * DumpRenderTree/gtk/GCControllerGtk.cpp: 8678 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 8679 * GNUmakefile.am: 8680 8681 2008-02-01 Eric Seidel <eric (a] webkit.org> 8682 8683 Reviewed by Oliver. 8684 8685 Also search LayoutTests/svg for js-based tests. 8686 8687 * Scripts/make-js-test-wrappers: 8688 8689 2008-01-31 Alp Toker <alp (a] atoker.com> 8690 8691 Rubber-stamped by Adam Roben. 8692 8693 http://bugs.webkit.org/show_bug.cgi?id=17006 8694 [GTK] Header path should be webkit/webkit.h 8695 8696 Move the GTK+ API sources as needed and update the build systems. 8697 8698 * DumpRenderTree/gtk/DumpRenderTree.cpp: 8699 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: 8700 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: 8701 * GNUmakefile.am: 8702 * GtkLauncher/main.c: 8703 8704 2008-01-30 Stephanie <slewis (a] apple.com> 8705 8706 Reviewed by Geoff. 8707 8708 Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth. This should make it easier for the buildbots to track new leaks. 8709 8710 * Scripts/run-webkit-tests: 8711 8712 2008-01-30 Alexey Proskuryakov <ap (a] webkit.org> 8713 8714 Reviewed by Adam Roben. 8715 8716 One more debug (external) fix. 8717 8718 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal 8719 and Debug configurations. 8720 8721 2008-01-29 Geoffrey Garen <ggaren (a] apple.com> 8722 8723 Reviewed by Sam Weinig. Sam Weinig. 8724 8725 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html 8726 fails when run after fast/dom/Window/window-property-shadowing.html (16902) 8727 8728 Modified our policy delegates not to output window.name. Since a 8729 previous test may have explicitly set window.name, we can't rely on its 8730 implicit value in test results. 8731 8732 * DumpRenderTree/mac/PolicyDelegate.mm: 8733 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): 8734 8735 * DumpRenderTree/win/PolicyDelegate.cpp: 8736 (PolicyDelegate::decidePolicyForNavigationAction): 8737 8738 2008-01-29 Mark Rowe <mrowe (a] apple.com> 8739 8740 Reviewed by Tim Hatcher. 8741 8742 <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct). 8743 8744 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory. 8745 8746 2008-01-29 David Kilzer <ddkilzer (a] apple.com> 8747 8748 Refactor ChangeLog path code 8749 8750 Reviewed by Adam. 8751 8752 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract 8753 duplicate code in another foreach() loop. 8754 8755 2008-01-29 Alexey Proskuryakov <ap (a] webkit.org> 8756 8757 Reviewed by Darin Adler. 8758 8759 <rdar://problem/5710692> All storage tests fail/crash 8760 8761 * DumpRenderTree/mac/UIDelegate.mm: 8762 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an 8763 arbitrary quota of 5 megabytes. 8764 8765 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]): 8766 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]): 8767 Removed unused (I think) code. 8768 8769 * DumpRenderTree/win/UIDelegate.cpp: 8770 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported. 8771 (UIDelegate::webViewPainted): A stub implementation. 8772 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes. 8773 * DumpRenderTree/win/UIDelegate.h: 8774 8775 2008-01-27 Jan Michael Alonzo <jmalonzo (a] unpluggable.com> 8776 8777 GTK+ DRT build fix for breakage introduced in r29822. 8778 8779 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 8780 (LayoutTestController::setPersistentUserStyleSheetLocation): 8781 (LayoutTestController::clearPersistentUserStyleSheet): 8782 8783 2008-01-27 Dan Bernstein <mitz (a] apple.com> 8784 8785 Reviewed by Darin Adler. 8786 8787 - add support for directory prologues and epilogues to run-webkit-tests 8788 - allow setting a persistent user style sheet in DumpRenderTree 8789 - activate the WebKit Layout Tests font in Windows DumpRenderTree 8790 8791 * DumpRenderTree/LayoutTestController.cpp: 8792 (clearPersistentUserStyleSheetCallback): Added. 8793 (setPersistentUserStyleSheetLocationCallback): Added. 8794 (LayoutTestController::staticFunctions): Added. 8795 clearPersistentUserStyleSheet and setPersistentUserStyleSheet. 8796 * DumpRenderTree/LayoutTestController.h: 8797 * DumpRenderTree/mac/DumpRenderTree.mm: 8798 (setPersistentUserStyleSheetLocation): Added. 8799 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet 8800 to the set of things this function resets. Now it either disables the 8801 user style sheet or sets it to the persistent user style sheet and 8802 enables it. 8803 * DumpRenderTree/mac/DumpRenderTreeMac.h: 8804 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 8805 (LayoutTestController::setPersistentUserStyleSheetLocation): Added. 8806 (LayoutTestController::clearPersistentUserStyleSheet): Added. 8807 * DumpRenderTree/win/DumpRenderTree.cpp: 8808 (setPersistentUserStyleSheetLocation): Added. 8809 (initialize): Added the WebKit Layout Tests font to the set of fonts to 8810 install. 8811 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm. 8812 * DumpRenderTree/win/DumpRenderTreeWin.h: 8813 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 8814 (LayoutTestController::setPersistentUserStyleSheetLocation): Added. 8815 (LayoutTestController::clearPersistentUserStyleSheet): Added. 8816 * Scripts/run-webkit-tests: Changed to look for, and if found process in 8817 DumpRenderTree, files named run-webkit-tests-prologue.html and 8818 run-webkit-tests-epilogue.html in the resources subdirectory of any 8819 test directory and platform test results directory. The prologues are 8820 processed before the first test from the directory (and its 8821 subdirectories) is run, and the epilogues are processed after the last 8822 test from the directory is run. Platform-specific prologues and 8823 epilogues are processed in order of specificity. 8824 8825 2008-01-25 Alexey Proskuryakov <ap (a] webkit.org> 8826 8827 Reviewed by Mark Rowe. 8828 8829 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing 8830 8831 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment 8832 (matching Mac DRT). 8833 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork. 8834 8835 2008-01-24 Sam Weinig <sam (a] webkit.org> 8836 8837 Reviewed by Ada Chan. 8838 8839 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo 8840 8841 - Adds simplified UndoManager to windows DRT to allow testing the 8842 undo/redo code paths in WebCore and WebKit. This is a temporary 8843 solution to an issue that should eventually be solved by having a 8844 shared UndoManager in WebKit. 8845 8846 * DumpRenderTree/win/DumpRenderTree.cpp: 8847 (runTest): 8848 * DumpRenderTree/win/UIDelegate.cpp: 8849 (DRTUndoObject::DRTUndoObject): 8850 (DRTUndoObject::invoke): 8851 (DRTUndoStack::~DRTUndoStack): 8852 (DRTUndoStack::isEmpty): 8853 (DRTUndoStack::clear): 8854 (DRTUndoStack::push): 8855 (DRTUndoStack::pop): 8856 (DRTUndoManager::canRedo): 8857 (DRTUndoManager::canUndo): 8858 (DRTUndoManager::DRTUndoManager): 8859 (DRTUndoManager::removeAllActions): 8860 (DRTUndoManager::registerUndoWithTarget): 8861 (DRTUndoManager::redo): 8862 (DRTUndoManager::undo): 8863 (UIDelegate::UIDelegate): 8864 (UIDelegate::resetUndoManager): 8865 (UIDelegate::registerUndoWithTarget): 8866 (UIDelegate::removeAllActionsWithTarget): 8867 (UIDelegate::setActionTitle): 8868 (UIDelegate::undo): 8869 (UIDelegate::redo): 8870 (UIDelegate::canUndo): 8871 (UIDelegate::canRedo): 8872 * DumpRenderTree/win/UIDelegate.h: 8873 8874 2008-01-23 Adam Roben <aroben (a] apple.com> 8875 8876 Allow directories containing ChangeLogs to be passed to 8877 resolve-ChangeLogs 8878 8879 Reviewed by David Kilzer. 8880 8881 * Scripts/resolve-ChangeLogs: 8882 (sub findChangeLog): Return a ChangeLog contained within the specified 8883 directory if one exists. 8884 8885 2008-01-23 Steve Falkenburg <sfalken (a] apple.com> 8886 8887 <rdar://problem/5698732> Copyright strings should include 2008 8888 8889 Reviewed by Sam. 8890 8891 * Drosera/win/Drosera.vcproj/Drosera.rc: 8892 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc: 8893 8894 2008-01-23 Alp Toker <alp (a] atoker.com> 8895 8896 Rubber-stamped by Mark Rowe. 8897 8898 Remove whitespace after -I in automake include lists. 8899 8900 * GNUmakefile.am: 8901 8902 2008-01-23 Michael Goddard <michael.goddard (a] trolltech.com> 8903 8904 Reviewed by Lars Knoll <lars (a] trolltech.com>. 8905 8906 Reworked the JavaScriptCore Qt bindings: 8907 8908 * Update JS DRT controller for Qt JS binding changes. 8909 There were two functions that needed some changes 8910 so that the layout tests would work, so this makes 8911 a few tests pass again. 8912 8913 * Bump the timeout for layout tests up to 11s. 8914 At least some tests have an internal timeout of 8915 10 seconds, so make the waitUntilDone approach 8916 wait at least 11s. fast/dom/open-and-close-by-DOM.html 8917 is one of these - now the failure message is more 8918 accurate. 8919 8920 8921 * DumpRenderTree/qt/jsobjects.cpp: 8922 (LayoutTestController::waitUntilDone): 8923 * DumpRenderTree/qt/jsobjects.h: 8924 8925 2008-01-22 Anders Carlsson <andersca (a] apple.com> 8926 8927 Reviewed by Darin and Adam. 8928 8929 <rdar://problem/5688975> 8930 div element on microsoft site has wrong left offset. 8931 8932 Add new method for testing the return vale of NPN_GetProperty. 8933 8934 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 8935 (pluginInvoke): 8936 8937 2008-01-22 Alexey Proskuryakov <ap (a] webkit.org> 8938 8939 Reviewed by Adam Roben. 8940 8941 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail 8942 8943 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test. 8944 8945 2008-01-21 Jan Michael Alonzo <jmalonzo (a] unpluggable.com> 8946 8947 Reviewed by Alp Toker. 8948 8949 http://bugs.webkit.org/show_bug.cgi?id=16955 8950 Get errors when cross-compile webkit-gtk 8951 8952 * GNUmakefile.am: Removed ICU_CFLAGS 8953 8954 2008-01-21 Darin Adler <darin (a] apple.com> 8955 8956 Reviewed by Mitz and Adam. 8957 8958 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the 8959 sorting speed by doing all sort criteria in a single pass instead of three sorts. 8960 8961 2008-01-21 Simon Hausmann <hausmann (a] webkit.org> 8962 8963 Reviewed by Holger. 8964 8965 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab. 8966 8967 * Fix GraphicsContext::drawFocusRing to also draw single focus rects. 8968 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events 8969 and make the return value depend on whether we successfully determined a focusable 8970 node or not. 8971 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly 8972 if we could not handle the focus chain ourselves. 8973 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus. 8974 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only 8975 used to control the situation of stepping out of the focus chain inside the page. 8976 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain. 8977 The layout tests expect this to be disabled but for the user it seems sensible to have it 8978 on by default, hence the default in qwebsettings.cpp 8979 8980 8981 * DumpRenderTree/qt/DumpRenderTree.cpp: 8982 (WebCore::WebPage::WebPage): 8983 8984 2008-01-19 Mark Rowe <mrowe (a] apple.com> 8985 8986 Reviewed by Alp Toker. 8987 8988 Allow the --http flag to run-webkit-tests to override 8989 the default behaviour of disabling HTTP tests for Qt, 8990 Gtk and Wx. 8991 8992 * Scripts/run-webkit-tests: 8993 8994 2008-01-19 David Kilzer <ddkilzer (a] apple.com> 8995 8996 <rdar://problem/5695344> check-for-global-initializers script never checks any object files 8997 8998 Reviewed by Darin Adler. 8999 9000 We now touch a check-for-global-initializers.timestamp file in 9001 the TARGET_TEMP_DIR directory to determine when new object files 9002 have been compiled and thus need to be checked. If the timestamp 9003 file doesn't exist, all object files will be checked. 9004 9005 Previously the modification time of the "executable" (the 9006 framework binary, e.g., WebKit.framework/WebKit) was used, but 9007 since this was the last file modified at the end of the compile 9008 phase, no object files would ever get checked! 9009 9010 Also added JSCustomSQLTransactionCallback.o to the list of files 9011 since it has static initializers in Debug builds of WebCore. 9012 9013 * Scripts/check-for-global-initializers: 9014 9015 2008-01-18 Adam Roben <aroben (a] apple.com> 9016 9017 Build fix 9018 9019 * Scripts/build-webkit: 9020 9021 2008-01-18 Beth Dakin <bdakin (a] apple.com> 9022 9023 Reviewed by Oliver. 9024 9025 Update build-webkit to account for foreign-object being disabled by 9026 default. 9027 9028 * Scripts/build-webkit: 9029 9030 2008-01-18 Adam Roben <aroben (a] apple.com> 9031 9032 Updated for method renames 9033 9034 Reviewed by Adele. 9035 9036 * DumpRenderTree/mac/FrameLoadDelegate.mm: 9037 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): 9038 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 9039 (LayoutTestController::setMainFrameIsFirstResponder): 9040 (LayoutTestController::setWindowIsKey): 9041 * DumpRenderTree/mac/UIDelegate.mm: 9042 (-[UIDelegate webViewFocus:]): 9043 * DumpRenderTree/win/FrameLoadDelegate.cpp: 9044 (FrameLoadDelegate::didCommitLoadForFrame): 9045 9046 2008-01-18 Alexey Proskuryakov <ap (a] webkit.org> 9047 9048 Reviewed by Adam Roben. 9049 9050 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch 9051 between DRT and TestNetscapePlugin. 9052 9053 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration. 9054 * DumpRenderTree/DumpRenderTree.sln: Use this configuration. 9055 9056 2008-01-18 Simon Hausmann <hausmann (a] webkit.org> 9057 9058 Reviewed by Holger. 9059 9060 Fix fast/dom/Window/window-resize.html 9061 9062 In DRT connect the page's geometryChangeRequest signal to a slot that 9063 sets the geometry of the view widget. 9064 9065 9066 * DumpRenderTree/qt/DumpRenderTree.cpp: 9067 (WebCore::WebPage::setViewGeometry): 9068 (WebCore::WebPage::WebPage): 9069 9070 2008-01-17 Steve Falkenburg <sfalken (a] apple.com> 9071 9072 Build fix. 9073 9074 * Drosera/DroseraWin.make: 9075 9076 2008-01-17 Darin Adler <darin (a] apple.com> 9077 9078 * Scripts/run-webkit-tests: Fixed a bug number. 9079 9080 2008-01-17 Alexey Proskuryakov <ap (a] webkit.org> 9081 9082 Reviewed by Adam Roben. 9083 9084 http://bugs.webkit.org/show_bug.cgi?id=16908 9085 run-webkit-tests complains about missing FindSafari.exe 9086 9087 * Scripts/webkitdirs.pm: Append _debug as appropriate. 9088 9089 2008-01-17 Steve Falkenburg <sfalken (a] apple.com> 9090 9091 Re-add DEBUG_WEBKIT_HAS_SUFFIX. 9092 9093 Rubber-stamped by Jon Honeycutt. 9094 9095 * DumpRenderTree/win/DumpRenderTree.vcproj: 9096 9097 2008-01-16 Alp Toker <alp (a] atoker.com> 9098 9099 Reviewed by Mark Rowe. 9100 9101 http://bugs.webkit.org/show_bug.cgi?id=16218 9102 [GTK] API: Should this entry point be called go_back rather than go_backward? 9103 9104 Track back/forward API changes in the tools. 9105 9106 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: 9107 (BackForwardItem::invoke): 9108 * GtkLauncher/main.c: 9109 (go_back_cb): 9110 9111 2008-01-16 Adam Roben <aroben (a] apple.com> 9112 9113 Windows build fix after r29488 9114 9115 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 9116 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT 9117 expects to find the plugin. 9118 9119 2008-01-11 Geoffrey Garen <ggaren (a] apple.com> 9120 9121 Reviewed by Sam Weinig. 9122 9123 Fixed the waitUntilDone watchdog timer -- the old code never added the 9124 timer to the run loop, so it didn't do anything. 9125 9126 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 9127 (LayoutTestController::setWaitToDump): 9128 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 9129 (LayoutTestController::setWaitToDump): 9130 9131 2008-01-14 Steve Falkenburg <sfalken (a] apple.com> 9132 9133 Use shared vsprops for most vcproj properties. 9134 9135 Reviewed by Darin Adler. 9136 9137 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 9138 * DumpRenderTree/win/DumpRenderTree.vcproj: 9139 * DumpRenderTree/win/ImageDiff.vcproj: 9140 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 9141 * FindSafari/FindSafari.vcproj: 9142 9143 2008-01-14 Stephanie <slewis (a] apple.com> 9144 9145 Reviewed by NOBODY. 9146 9147 revert accidental character. 9148 9149 * Scripts/run-webkit-tests: 9150 9151 2008-01-14 Stephanie <slewis (a] apple.com> 9152 9153 RS=Oliver 9154 9155 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132> 9156 9157 * Scripts/run-webkit-tests: 9158 9159 2008-01-14 Darin Adler <darin (a] apple.com> 9160 9161 * Scripts/do-webcore-rename: Queue up another rename. 9162 9163 2008-01-14 Holger Hans Peter Freyther <holger.freyther (a] trolltech.com> 9164 9165 Reviewed by Darin Adler. 9166 9167 * Allow to run the tests in reverse order to spot test cases where the result depends on the order 9168 the tests were ran. 9169 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869 9170 9171 * Scripts/run-webkit-tests: 9172 9173 2008-01-14 Holger Hans Peter Freyther <holger.freyther (a] trolltech.com> 9174 9175 Reviewed by Darin Adler. 9176 9177 * Randomize tests array to spot test cases where the results depends on the order 9178 the tests are ran. 9179 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869 9180 9181 * Scripts/run-webkit-tests: 9182 9183 2008-01-14 Darin Adler <darin (a] apple.com> 9184 9185 * Scripts/run-webkit-tests: More ignore list tweaking. 9186 9187 2008-01-14 Darin Adler <darin (a] apple.com> 9188 9189 * Scripts/run-webkit-tests: Add another leak to the ignore list. 9190 9191 2008-01-14 Dan Bernstein <mitz (a] apple.com> 9192 9193 Reviewed by Adam Roben. 9194 9195 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the 9196 build bots 9197 9198 * DumpRenderTree/win/DumpRenderTree.cpp: 9199 (resetWebViewToConsistentStateBeforeTesting): Focus the web view. 9200 9201 2008-01-13 Steve Falkenburg <sfalken (a] apple.com> 9202 9203 Share common files across projects. 9204 9205 Unify vsprops files 9206 Debug: common.vsprops, debug.vsprops 9207 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops 9208 Release: common.vsprops, release.vsprops 9209 9210 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops. 9211 debug_internal.vsprops will be mostly empty except for file path prefix modifiers. 9212 9213 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools. 9214 9215 Reviewed by Adam Roben. 9216 9217 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 9218 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed. 9219 * Drosera/win/Drosera.vcproj/VERSION: Removed. 9220 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed. 9221 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed. 9222 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed. 9223 * Drosera/win/Drosera.vcproj/release.vsprops: Removed. 9224 * DumpRenderTree/win/DumpRenderTree.vcproj: 9225 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 9226 * DumpRenderTree/win/debug.vsprops: Removed. 9227 * DumpRenderTree/win/debug_internal.vsprops: Removed. 9228 * DumpRenderTree/win/release.vsprops: Removed. 9229 9230 2008-01-13 Brent Fulgham <bfulgham (a] gmail.com> 9231 9232 Reviewed by Maciej. 9233 9234 - http://bugs.webkit.org/show_bug.cgi?id=16314 9235 Script to launch Drosera 9236 9237 * Scripts/gdb-drosera: Added. 9238 * Scripts/run-drosera: Added. 9239 * Scripts/run-drosera-nightly.cmd: Added. 9240 * Scripts/webkitdirs.pm: Added runDrosera function. 9241 9242 2008-01-13 Dan Bernstein <mitz (a] apple.com> 9243 9244 - fix breakage due to last-minute change 9245 9246 * DumpRenderTree/win/DumpRenderTree.cpp: 9247 (runTest): Declare the loop variable. 9248 9249 2008-01-13 Dan Bernstein <mitz (a] apple.com> 9250 9251 Reviewed by Adam Roben. 9252 9253 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows 9254 9255 * DumpRenderTree/win/DumpRenderTree.cpp: 9256 (DumpRenderTreeWndProc): 9257 (initialize): 9258 (dumpBackForwardList): 9259 (dumpBackForwardListForAllWindows): 9260 (dump): 9261 (resetWebViewToConsistentStateBeforeTesting): Factored out of 9262 runTest(). 9263 (runTest): 9264 (allWindows): Added. Returns a vector of all open windows. 9265 (windowToWebViewMap): Added. Returns a map from open windows to their 9266 WebViews. 9267 (createWebViewAndOffscreenWindow): Factored out of main() to be 9268 reusable for creating extra windows. 9269 (main): 9270 * DumpRenderTree/win/DumpRenderTreeWin.h: 9271 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 9272 (LayoutTestController::windowCount): Implemented. 9273 * DumpRenderTree/win/UIDelegate.cpp: 9274 (UIDelegate::createWebViewWithRequest): Implemented. 9275 (UIDelegate::webViewClose): Implemented. 9276 * DumpRenderTree/win/UIDelegate.h: 9277 9278 2008-01-12 Alp Toker <alp (a] atoker.com> 9279 9280 Reviewed by Mark Rowe. 9281 9282 Hide non-public symbols in GTK+/autotools release builds. 9283 9284 * GNUmakefile.am: 9285 9286 2008-01-12 Holger Hans Peter Freyther <holger.freyther (a] trolltech.com> 9287 9288 Reviewed by Ap. 9289 9290 * Make launching of the WebKit httpd work on GNU/Debian/Linux 9291 9292 The configuration of Apache2 and installation does not depend on 9293 the kernel but on the distribution policy. Make launching of httpd 9294 work for Debian derived distributions. 9295 9296 * Scripts/run-webkit-httpd: 9297 * Scripts/run-webkit-tests: 9298 * Scripts/webkitdirs.pm: 9299 9300 2008-01-12 Mark Rowe <mrowe (a] apple.com> 9301 9302 Reviewed by Maciej Stachowiak. 9303 9304 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc. 9305 9306 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to 9307 match the callers expectations that it can take ownership of the string. 9308 9309 2008-01-11 Alexey Proskuryakov <ap (a] webkit.org> 9310 9311 Reviewed by Adam Roben. 9312 9313 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing 9314 9315 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events, 9316 as these are only posted because the test window is not a normal visible one, and 9317 they confuse drag&drop machinery. 9318 9319 2008-01-11 Adam Roben <aroben (a] apple.com> 9320 9321 Fix a crash when pathToLocalResource fails and a leak 9322 9323 Reviewed by Darin Adler. 9324 9325 * DumpRenderTree/LayoutTestController.cpp: 9326 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make 9327 sure not to pass null to JSValueMakeString. 9328 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 9329 (LayoutTestController::pathToLocalResource): Print an error message if 9330 the conversion fails so it's clear what happened. 9331 9332 2008-01-11 Geoffrey Garen <ggaren (a] apple.com> 9333 9334 Reviewed by John Sullivan. 9335 9336 * DumpRenderTree/mac/GCControllerMac.mm: 9337 (GCController::collectOnAlternateThread): Updated for name change. 9338 9339 2008-01-10 Kevin Ollivier <kevino (a] theolliviers.com> 9340 9341 wx build fix. Don't build dftables any longer since it's now a Perl 9342 script. 9343 9344 * wx/build-wxwebkit: 9345 9346 2008-01-10 Sam Weinig <sam (a] webkit.org> 9347 9348 Reviewed by Anders Carlsson. 9349 9350 Make DRT track open windows instead of allocated windows so that 9351 we can avoid ASSERTION due to late deallocs out of our control. 9352 9353 * DumpRenderTree/mac/DumpRenderTree.mm: 9354 (dumpBackForwardListForAllWindows): 9355 (runTest): 9356 * DumpRenderTree/mac/DumpRenderTreeMac.h: 9357 * DumpRenderTree/mac/DumpRenderTreeWindow.h: 9358 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: 9359 (+[DumpRenderTreeWindow openWindows]): 9360 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]): 9361 (-[DumpRenderTreeWindow close]): 9362 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 9363 (LayoutTestController::windowCount): 9364 9365 2008-01-10 Ada Chan <adachan (a] apple.com> 9366 9367 Meta key is not the same as Alt key on windows. 9368 9369 Reviewed by Darin Adler. 9370 9371 * DumpRenderTree/win/EventSender.cpp: 9372 (keyDownCallback): 9373 9374 2008-01-09 Kevin McCullough <kmccullough (a] apple.com> 9375 9376 Reviewed by Darin, Sam and Adam. 9377 9378 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on 9379 link in gmail message displays JavaScript alert falsely complaining 9380 about pop-up blocking. 9381 - Added the ability to enable the pop-up blocker via the 9382 LayoutTestController. 9383 9384 * DumpRenderTree/LayoutTestController.cpp: 9385 (setPopupBlockingEnabledCallback): 9386 (LayoutTestController::staticFunctions): 9387 * DumpRenderTree/LayoutTestController.h: 9388 * DumpRenderTree/mac/DumpRenderTree.mm: 9389 (setDefaultsToConsistentValuesForTesting): 9390 (resetWebViewToConsistentStateBeforeTesting): 9391 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 9392 (LayoutTestController::setPopupBlockingEnabled): 9393 9394 2008-01-10 Lars Knoll <lars (a] trolltech.com> 9395 9396 Reviewed by Simon. 9397 9398 rename QWebPageHistory to QWebHistory. 9399 9400 9401 * DumpRenderTree/qt/jsobjects.cpp: 9402 9403 2008-01-09 Maciej Stachowiak <mjs (a] apple.com> 9404 9405 Reviewed by Darin Adler. 9406 9407 - add some more renames, adjust some 9408 9409 * Scripts/do-webcore-rename: 9410 9411 2008-01-07 Nikolas Zimmermann <zimmermann (a] kde.org> 9412 9413 Reviewed by Oliver. 9414 9415 Enable SVG Fonts support by default. 9416 9417 * Scripts/build-webkit: 9418 9419 2008-01-07 Nikolas Zimmermann <zimmermann (a] kde.org> 9420 9421 Reviewed by Adam. 9422 9423 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244 9424 DRT doesn't handle platform specific pixel test results correctly. 9425 9426 <test>-expected.txt files and <test>-expected.png files may now live 9427 in different directories (ie. a cross-platform <test>-expected.txt file 9428 and a platform-specific <test>-expected.png file). 9429 9430 * Scripts/run-webkit-tests: 9431 9432 2008-01-04 Kevin McCullough <kmccullough (a] apple.com> 9433 9434 Reviewed by Darin Adler. 9435 9436 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing 9437 DRT did not correctly handle printing the '\0' char. Now it does. 9438 9439 * DumpRenderTree/win/DumpRenderTree.cpp: 9440 (dumpFramesAsText): 9441 (dump): 9442 9443 2008-01-07 Simon Hausmann <hausmann (a] webkit.org> 9444 9445 Reviewed by Lars. 9446 9447 Ported of the network backend of the Qt platform to Qt 4.4's new networking API. 9448 9449 9450 * DumpRenderTree/qt/main.cpp: 9451 * DumpRenderTree/qt/testplugin.cpp: 9452 * DumpRenderTree/qt/testplugin.h: 9453 9454 2008-01-05 Mark Rowe <mrowe (a] apple.com> 9455 9456 Reviewed by Alp Toker. 9457 9458 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests. 9459 9460 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9461 (processWork): Process pending work. 9462 (webViewLoadFinished): Schedule processing of pending work. 9463 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload. 9464 9465 2008-01-05 Darin Adler <darin (a] apple.com> 9466 9467 * Scripts/do-webcore-rename: Some more renaming plans. 9468 9469 2008-01-04 Alice Liu <alice.liu (a] apple.com> 9470 9471 Reviewed by Alexey and Darin. 9472 9473 Adding "home" and "end" to DRT's keydown since 9474 DOM key events can't handle keyIdentifiers at this point. 9475 9476 * DumpRenderTree/mac/EventSendingController.mm: 9477 (-[EventSendingController keyDown:withModifiers:]): 9478 * DumpRenderTree/win/EventSender.cpp: 9479 (keyDownCallback): 9480 9481 2008-01-04 Lars Knoll <lars (a] trolltech.com> 9482 9483 Reviewed by Simon. 9484 9485 fix DRT after the changes to QWebPage. 9486 9487 The great thing is that we actually don't have 9488 any regressions from the QWebPage change :) 9489 9490 9491 * DumpRenderTree/qt/DumpRenderTree.cpp: 9492 (WebCore::DumpRenderTree::DumpRenderTree): 9493 9494 2008-01-04 Lars Knoll <lars (a] trolltech.com> 9495 9496 Reviewed by Simon. 9497 9498 make QWebPage a QObject and get things to compile. 9499 9500 Nothing works currently though. 9501 9502 9503 * DumpRenderTree/qt/DumpRenderTree.cpp: 9504 (WebCore::DumpRenderTree::DumpRenderTree): 9505 9506 2008-01-04 Lars Knoll <lars (a] trolltech.com> 9507 9508 Reviewed by Simon. 9509 9510 take a QString as identifier in QWebFrame::addToJSWindowObject. 9511 9512 * DumpRenderTree/qt/DumpRenderTree.cpp: 9513 (WebCore::DumpRenderTree::initJSObjects): 9514 9515 2008-01-04 Alp Toker <alp (a] atoker.com> 9516 9517 GTK+ DRT build fix for breakage introduced in r29149. 9518 9519 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 9520 (LayoutTestController::execCommand): 9521 9522 2008-01-03 Alexey Proskuryakov <ap (a] webkit.org> 9523 9524 Reviewed by Darin Adler. 9525 9526 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController 9527 9528 Added layoutTestController.execCommand to access editor commands that are not available 9529 via document.execCommand. 9530 9531 * DumpRenderTree/LayoutTestController.cpp: 9532 (execCommandCallback): 9533 (LayoutTestController::staticFunctions): 9534 * DumpRenderTree/LayoutTestController.h: 9535 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 9536 (LayoutTestController::execCommand): 9537 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 9538 (LayoutTestController::queueLoad): 9539 (LayoutTestController::execCommand): 9540 9541 2008-01-03 Alice Liu <alice.liu (a] apple.com> 9542 9543 Reviewed by Darin, Mitz. 9544 9545 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly 9546 9547 the clickcount should not increase if the last click was at a different location. it's a new click. 9548 9549 * DumpRenderTree/mac/DumpRenderTree.mm: 9550 (runTest): 9551 * DumpRenderTree/mac/EventSendingController.h: 9552 * DumpRenderTree/mac/EventSendingController.mm: 9553 (-[EventSendingController mouseDown]): 9554 (-[EventSendingController mouseUp]): 9555 9556 2008-01-03 Darin Adler <darin (a] apple.com> 9557 9558 Reviewed by Adam. 9559 9560 * Scripts/update-webkit: Make this work a little better for the people at Apple 9561 who have a directory named Internal. 9562 9563 2008-01-03 Adam Roben <aroben (a] apple.com> 9564 9565 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default 9566 9567 Rubberstamped by Mark. 9568 9569 * Scripts/update-webkit-auxiliary-libs: 9570 9571 2008-01-03 Adam Roben <aroben (a] apple.com> 9572 9573 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily 9574 9575 http://bugs.webkit.org/show_bug.cgi?id=15663 9576 9577 Added a fuzz factor into the Last-Modified comparison for downloading 9578 WebKitAuxiliaryLibrary.zip. 9579 9580 The zip file is served from a set of mirrors who give Last-Modified 9581 times that are off by 1-3 seconds from each other. This was causing 9582 the build bots to redownload WebKitAuxiliaryLibrary for every build, 9583 which would then cause all of WebCore to rebuild each time. 9584 9585 Reviewed by Mark. 9586 9587 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is 9588 at least 30 seconds newer than the old one -- otherwise we assume that 9589 the difference in time is due to the mirrors being slightly offset 9590 from each other. 9591 (sub lastModifiedToUnixTime): Added. 9592 9593 2008-01-03 Alexey Proskuryakov <ap (a] webkit.org> 9594 9595 Windows build fix. 9596 9597 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h). 9598 9599 2008-01-03 Simon Hausmann <hausmann (a] webkit.org> 9600 9601 Reviewed by Lars. 9602 9603 Moved QWebPage::open to QWebFrame::load and added setHtml. 9604 9605 9606 * DumpRenderTree/qt/DumpRenderTree.cpp: 9607 (WebCore::DumpRenderTree::open): 9608 9609 2008-01-03 Simon Hausmann <hausmann (a] webkit.org> 9610 9611 Reviewed by Lars. 9612 9613 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame. 9614 9615 9616 * DumpRenderTree/qt/DumpRenderTree.cpp: 9617 (WebCore::DumpRenderTree::DumpRenderTree): 9618 9619 2008-01-02 Sam Weinig <sam (a] webkit.org> 9620 9621 * Scripts/do-webcore-rename: Yet more renaming ideas. 9622 9623 2008-01-02 Darin Adler <darin (a] apple.com> 9624 9625 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.) 9626 9627 2008-01-02 Alice Liu <alice.liu (a] apple.com> 9628 9629 Reviewed by Sam Weinig. 9630 9631 fixing assertion hit with editing/selection/move-begin-end.html 9632 9633 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added. 9634 * DumpRenderTree/win/DumpRenderTree.vcproj: 9635 * DumpRenderTree/win/EventSender.cpp: 9636 (keyDownCallback): 9637 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead. 9638 9639 2008-01-02 Darin Adler <darin (a] apple.com> 9640 9641 * Scripts/do-webcore-rename: Some more name change plans. 9642 9643 2008-01-02 Alice Liu <alice.liu (a] apple.com> 9644 9645 Reviewed by Maciej. 9646 9647 Added handling for page up and page down in EventSender 9648 9649 * DumpRenderTree/mac/EventSendingController.mm: 9650 (-[EventSendingController keyDown:withModifiers:]): 9651 * DumpRenderTree/win/EventSender.cpp: 9652 (keyDownCallback): 9653 9654 2008-01-02 Alexey Proskuryakov <ap (a] webkit.org> 9655 9656 Reviewed by Darin Adler. 9657 9658 Fix fast/events/arrow-keys-on-body.html for real. 9659 9660 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too. 9661 9662 2008-01-02 Luca Bruno <lethalman88 (a] gmail.com> 9663 9664 Reviewed by Darin Adler. 9665 9666 http://bugs.webkit.org/show_bug.cgi?id=16674 9667 [GTK] run-launcher sets wrong LD_LIBRARY_PATH 9668 9669 * Scripts/run-launcher: 9670 9671 2007-12-31 Darin Adler <darin (a] apple.com> 9672 9673 Suggested by Antti. 9674 9675 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until 9676 we get it installed on the build bots. 9677 9678 2007-12-30 Eric Seidel <eric (a] webkit.org> 9679 9680 Reviewed by Sam. 9681 9682 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/ 9683 9684 2007-12-29 Darin Adler <darin (a] apple.com> 9685 9686 Reviewed by Oliver. 9687 9688 - fix http://bugs.webkit.org/show_bug.cgi?id=16663 9689 leak bot shows createCStringFromNPVariant result leaking 9690 9691 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 9692 (pluginInvoke): Added a missing free. 9693 9694 2007-12-26 Jan Michael Alonzo <jmalonzo (a] unpluggable.com> 9695 9696 Reviewed by Alp Toker. 9697 9698 http://bugs.webkit.org/show_bug.cgi?id=16390 9699 Use autotools or GNU make as the build system for the GTK port 9700 9701 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h 9702 * GNUmakefile.am: Added. 9703 9704 2007-12-24 Alexey Proskuryakov <ap (a] webkit.org> 9705 9706 Reviewed by Oliver. 9707 9708 Fix fast/events/arrow-keys-on-body.html, failing on Windows. 9709 9710 * DumpRenderTree/win/EventSender.cpp: 9711 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count 9712 of 1, even though WebKit currently ignores it. 9713 9714 2007-12-23 Kevin Ollivier <kevino (a] theolliviers.com> 9715 9716 wx buildbot fix. Update libpng dl script to the latest version. 9717 9718 * wx/install-unix-extras: 9719 9720 2007-12-22 Antti Koivisto <antti (a] apple.com> 9721 9722 Fix a typo. 9723 9724 * Scripts/webkitdirs.pm: 9725 9726 2007-12-21 Sam Weinig <sam (a] webkit.org> 9727 9728 Reviewed by Mark Rowe. 9729 9730 - Disable the back/forward cache using the new WebPreferences API 9731 instead of through the BackForwardList. This makes us match what 9732 we do on Windows. 9733 9734 * DumpRenderTree/mac/DumpRenderTree.mm: 9735 (createWebViewAndOffscreenWindow): 9736 (setDefaultsToConsistentValuesForTesting): 9737 9738 2007-12-21 Dan Bernstein <mitz (a] apple.com> 9739 9740 Reviewed by Mark Rowe. 9741 9742 - disable the back/forward cache in Windows DumpRenderTree. It is 9743 already disabled in Mac DumpRenderTree. 9744 9745 * DumpRenderTree/win/DumpRenderTree.cpp: 9746 (initializePreferences): 9747 9748 2007-12-13 Antti Koivisto <antti (a] apple.com> 9749 9750 Reviewed by Darin and Steve. 9751 9752 - check for QuickTime SDK on Windows. 9753 - build media support on Windows by default 9754 9755 * Scripts/build-webkit: 9756 * Scripts/webkitdirs.pm: 9757 9758 2007-12-21 Kevin Ollivier <kevino (a] theolliviers.com> 9759 9760 Build script fix for buildbot. 9761 9762 * wx/build-wxwebkit: 9763 9764 2007-12-20 Eric Seidel <eric (a] webkit.org> 9765 9766 Reviewed by mjs. 9767 9768 * Scripts/run-sunspider: change --runs default to 10 for better accuracy 9769 9770 2007-12-20 Kevin McCullough <kmccullough (a] apple.com> 9771 9772 Reviewed by Steve. 9773 9774 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to 9775 WebKit. 9776 9777 - Drosera and Safari need to use the same ProgIDs in order for 9778 CoCreateInstance to work properly. The most robust way to do this is 9779 for WebKit to dynamically publish those ProgIDs. 9780 9781 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs 9782 (DebuggerClient::createWebViewWithRequest): 9783 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some 9784 statics. 9785 (Drosera::initUI): 9786 (Drosera::attach): 9787 (Drosera::attemptToCreateServerConnection): 9788 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure. 9789 * Drosera/win/ServerConnection.cpp: Reformat the connection function and 9790 make use of the published ProgIDs. 9791 (ServerConnection::attemptToCreateServerConnection): 9792 9793 2007-12-20 Kevin McCullough <kmccullough (a] apple.com> 9794 9795 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots. 9796 - Build bot and leak fix. 9797 9798 * DumpRenderTree/LayoutTestController.cpp: 9799 (pathToLocalResourceCallback): 9800 9801 2007-12-19 David Kilzer <ddkilzer (a] apple.com> 9802 9803 Make svn-apply/svn-unapply work with patches from git-format-patch. 9804 9805 Reviewed by Darin Adler. 9806 9807 * Scripts/svn-apply: 9808 (patch): If 'Index:' can't be found in the text passed in, print it 9809 out with a warning and return early. 9810 * Scripts/svn-unapply: 9811 (patch): Ditto. 9812 9813 2007-12-18 Kevin Ollivier <kevino (a] theolliviers.com> 9814 9815 Reviewed by Alp Toker. 9816 9817 Build related fixes. 9818 9819 * wx/build-wxwebkit: 9820 - Check to make sure the user is running a supported wx port 9821 - More robust checks for Cygwin 9822 - Only run install-unix-extras on Mac, it's not the right solution 9823 for Linux distros. 9824 - Remove outdated Linux instructions after successful build 9825 - Clean Bakefile-generated files during a clean operation 9826 9827 2007-12-18 Darin Adler <darin (a] apple.com> 9828 9829 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js. 9830 9831 2007-12-18 Steve Falkenburg <sfalken (a] apple.com> 9832 9833 Add script to run Drosera as part of the nightly. 9834 9835 Reviewed by Kevin M. 9836 9837 * Scripts/run-drosera.cmd: Added. 9838 9839 2007-12-18 Darin Adler <darin (a] apple.com> 9840 9841 * Scripts/do-webcore-rename: Remove a stray K. 9842 9843 2007-12-18 Darin Adler <darin (a] apple.com> 9844 9845 * Scripts/do-webcore-rename: Plan more renaming. 9846 9847 2007-12-14 Juan A. Suarez Romero <jasuarez (a] igalia.com> 9848 9849 Reviewed by Alp Toker. 9850 9851 http://bugs.webkit.org/show_bug.cgi?id=16042 9852 [GTK] Eliminate webkit_init() 9853 9854 Moving webkit initialization to WebView class init. 9855 9856 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9857 (main): 9858 * GtkLauncher/main.c: 9859 (main): 9860 9861 2007-12-17 Luca Bruno <lethalman88 (a] gmail.com> 9862 9863 Reviewed by Alp Toker. 9864 9865 http://bugs.webkit.org/show_bug.cgi?id=13542 9866 gdklauncher doesnt change URL in adress GTKEntry. 9867 9868 * GtkLauncher/main.c: 9869 (load_commit_cb): added 9870 (title_change_cb): 9871 (create_browser): 9872 9873 2007-12-16 Dimitri Glazkov <dimitri (a] glazkov.com> 9874 9875 Reviewed by Adam Roben. 9876 9877 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell. 9878 9879 * FindSafari/FindSafari.cpp: 9880 (_tmain): 9881 9882 2007-12-16 Brent Fulgham <bfulgham (a] gmail.com> 9883 9884 Reviewed by Adam Roben. 9885 9886 http://bugs.webkit.org/show_bug.cgi?id=16315 9887 FindSafari needs a path-only option. 9888 9889 * FindSafari/FindSafari.cpp: 9890 (_tmain): 9891 9892 2007-12-16 Alexey Proskuryakov <ap (a] webkit.org> 9893 9894 Reviewed by Darin Adler. 9895 9896 http://bugs.webkit.org/show_bug.cgi?id=16462 9897 REGRESSION: access keys broken on Windows 9898 9899 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events 9900 if Alt is pressed. 9901 9902 2007-12-15 Sam Weinig <sam (a] webkit.org> 9903 9904 Reviewed by Mark Rowe. 9905 9906 Fix urlSuitableForTestResult to correctly identify wstring::npos as 9907 the case when wstring.find doesn't find anything. 9908 9909 * DumpRenderTree/win/DumpRenderTree.cpp: 9910 (urlSuitableForTestResult): 9911 9912 2007-12-15 Alp Toker <alp (a] atoker.com> 9913 9914 GTK+ DRT build fix for GLib < 2.14. 9915 9916 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 9917 (LayoutTestController::setWaitToDump): 9918 9919 2007-12-05 Mark Rowe <mrowe (a] apple.com> 9920 9921 Reviewed by Alp Toker. 9922 9923 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents 9924 many layout tests from hanging while waiting on user responses to dialogs. 9925 9926 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9927 (invalidateAnyPreviousWaitToDumpWatchdog): 9928 (webViewScriptAlert): 9929 (webViewScriptPrompt): 9930 (webViewScriptConfirm): 9931 (main): 9932 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: 9933 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 9934 (waitToDumpWatchdogFired): 9935 (LayoutTestController::setWaitToDump): 9936 9937 2007-12-05 Mark Rowe <mrowe (a] apple.com> 9938 9939 Reviewed by Alp Toker. 9940 9941 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass. 9942 9943 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9944 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text. 9945 (dump): 9946 (runTest): 9947 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump. 9948 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the 9949 work queue is empty. 9950 (webViewWindowObjectCleared): Set up window.layoutTestController. 9951 (webViewConsoleMessage): Match the console message format expected by the layout test results. 9952 (main): Hook up the new signals. 9953 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: 9954 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid 9955 dumping multiple times. 9956 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too. 9957 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results. 9958 9959 2007-12-14 Anders Carlsson <andersca (a] apple.com> 9960 9961 Reviewed by Brady. 9962 9963 Assert that a web frame that's loading a resource always has either a data source or 9964 a provisional data source. 9965 9966 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 9967 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): 9968 9969 2007-12-14 Darin Adler <darin (a] apple.com> 9970 9971 - fix mistake causing nearly all tests to fail on Windows 9972 9973 * DumpRenderTree/win/UIDelegate.cpp: 9974 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with 9975 npos, not 0. Also pass URL in to URL function rather than passing the entire message. 9976 9977 * DumpRenderTree/mac/UIDelegate.mm: 9978 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather 9979 than passing the entire message. 9980 9981 2007-12-14 Darin Adler <darin (a] apple.com> 9982 9983 - fix Tiger build 9984 9985 * DumpRenderTree/mac/UIDelegate.mm: 9986 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any 9987 new-to-Leopard methods. 9988 9989 2007-12-14 Darin Adler <darin (a] apple.com> 9990 9991 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method 9992 since it now triggers unwanted icon loading. We only had it because we implemented "all" 9993 delegate methods here. 9994 9995 2007-12-14 Anders Carlsson <andersca (a] apple.com> 9996 9997 Reviewed by Darin and Geoff. 9998 9999 <rdar://problem/5619295> 10000 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9) 10001 10002 Add property getting methods to the plug-in. 10003 10004 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 10005 (pluginInvoke): 10006 10007 2007-12-14 Kevin McCullough <kmccullough (a] apple.com> 10008 10009 Reviewed by Darin Adler. 10010 10011 - Layout test fix for mac. When dumped to the console local file paths 10012 now only show the name of the resource not the whole path. This is to 10013 make the results machine and OS independent. 10014 10015 * DumpRenderTree/mac/UIDelegate.mm: 10016 (-[UIDelegate webView:addMessageToConsole:]): 10017 10018 2007-12-13 Kevin McCullough <kmccullough (a] apple.com> 10019 10020 Reviewed by Adam. 10021 10022 - Layout tests fix. We need a way to remove machine-dependent 10023 information from paths in layout test results. The UIDelegate now does 10024 this. 10025 10026 * DumpRenderTree/DumpRenderTree.h: 10027 * DumpRenderTree/win/DumpRenderTree.cpp: 10028 (urlSuitableForTestResult): 10029 * DumpRenderTree/win/DumpRenderTreeWin.h: 10030 * DumpRenderTree/win/ResourceLoadDelegate.cpp: 10031 * DumpRenderTree/win/UIDelegate.cpp: 10032 (UIDelegate::webViewAddMessageToConsole): 10033 10034 2007-12-13 Alp Toker <alp (a] atoker.com> 10035 10036 Build fix for DRT breakage introduced in r28690. 10037 10038 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 10039 (LayoutTestController::pathToLocalResource): 10040 10041 2007-12-12 Kevin McCullough <kmccullough (a] apple.com> 10042 10043 Reviewed by Alice and Sam. 10044 10045 - <rdar://5621435> Need a way to specify local resources (being loaded 10046 from HTTP tests) on Windows. 10047 - Implemented pathToLocalResource which exposes the functionality of 10048 converting a given unix path to the correct location on Windows. 10049 10050 * DumpRenderTree/LayoutTestController.cpp: 10051 (pathToLocalResourceCallback): 10052 (LayoutTestController::staticFunctions): 10053 * DumpRenderTree/LayoutTestController.h: 10054 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 10055 (LayoutTestController::pathToLocalResource): 10056 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 10057 (LayoutTestController::pathToLocalResource): 10058 10059 2007-12-12 Anders Carlsson <andersca (a] apple.com> 10060 10061 Reviewed by Sam. 10062 10063 <rdar://problem/5132003> 10064 dumpResourceLoadCallbacks is not implemented in DRT on Windows. 10065 10066 * DumpRenderTree/win/DumpRenderTree.cpp: 10067 (main): 10068 Set the resource load delegate. 10069 10070 * DumpRenderTree/win/DumpRenderTree.vcproj: 10071 10072 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added. 10073 * DumpRenderTree/win/ResourceLoadDelegate.h: Added. 10074 10075 2007-12-12 Alexey Proskuryakov <ap (a] webkit.org> 10076 10077 Reviewed by Adam Roben. 10078 10079 Fix conversion from double to LPARAM in dispatchMessage(). 10080 10081 * DumpRenderTree/win/EventSender.cpp: 10082 (dispatchMessageCallback): 10083 10084 2007-12-11 Dan Bernstein <mitz (a] apple.com> 10085 10086 Reviewed by Mark Rowe and Sam Weinig too! 10087 10088 - added Helvetica Oblique and Helvetica Bold Oblique to the list of 10089 fonts DumpRenderTree registers. 10090 10091 * DumpRenderTree/win/DumpRenderTree.cpp: 10092 (initialize): 10093 10094 2007-12-11 Brady Eidson <beidson (a] apple.com> 10095 10096 Reviewed by Anders 10097 10098 Make DumpRenderTree on mac use its own path for Databases testing 10099 10100 * DumpRenderTree/mac/DumpRenderTree.mm: 10101 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree 10102 for future DRT-only use, then use it to construct the Databases path and set that default 10103 10104 2007-12-07 Alexey Proskuryakov <ap (a] webkit.org> 10105 10106 Reviewed by Darin Adler. 10107 10108 <rdar://problem/5535636> 10109 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard. 10110 10111 http://bugs.webkit.org/show_bug.cgi?id=13916 10112 JavaScript detects Tab as a character input on a textfield validation 10113 10114 * DumpRenderTree/mac/EventSendingController.mm: 10115 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys. 10116 Dispatch a keyup to better match what happens when a key is physically pressed. 10117 10118 * DumpRenderTree/win/EventSender.cpp: 10119 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before 10120 returning from keyDown(). 10121 (getConstantCallback): Fixed a couple copy/paste mistakes. 10122 10123 2007-12-07 Kevin McCullough <kmccullough (a] apple.com> 10124 10125 Reviewed by Oliver. 10126 10127 - <rdar://5599845> Drosera: Does not show loal files in the file list 10128 on the left side. 10129 10130 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s. 10131 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings 10132 so the open source community can build. 10133 10134 2007-12-10 Brady Eidson <beidson (a] apple.com> 10135 10136 Rubberstamped by Sam Weinig 10137 10138 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac 10139 10140 * DumpRenderTree/mac/UIDelegate.mm: 10141 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]): 10142 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]): 10143 10144 2007-12-08 Oliver Hunt <oliver (a] apple.com> 10145 10146 Reviewed by Sam W. 10147 10148 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags. 10149 10150 Fixes <rdar://problem/5620249> Must disable SVG animation 10151 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior 10152 10153 In order to allow finer grained control over the set of SVG features 10154 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following 10155 distinct flags: 10156 ENABLE_SVG_ANIMATION 10157 ENABLE_SVG_FILTERS 10158 ENABLE_SVG_FONTS 10159 ENABLE_SVG_AS_IMAGE 10160 ENABLE_SVG_USE 10161 10162 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set. 10163 10164 Script handles all the new build flags, and allows --svg-experimental 10165 to automatically enable all features. 10166 10167 * Scripts/build-webkit: 10168 10169 2007-12-07 Steve Falkenburg <sfalken (a] apple.com> 10170 10171 Fix version parsing. 10172 10173 Rubber-stamped by Oliver. 10174 10175 * Drosera/win/Drosera.vcproj/auto-version.sh: 10176 10177 2007-12-07 Steve Falkenburg <sfalken (a] apple.com> 10178 10179 Build modifications for Drosera. 10180 10181 Reviewed by Adam. 10182 10183 * Drosera/DroseraWin.make: Added. 10184 * Drosera/win/Drosera.vcproj/Drosera.rc: 10185 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 10186 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added. 10187 * Drosera/win/Drosera.vcproj/VERSION: Added. 10188 * Drosera/win/Drosera.vcproj/auto-version.sh: Added. 10189 10190 2007-12-06 Adam Roben <aroben (a] apple.com> 10191 10192 Explicitly turn on the Mac font ascent hack on Windows 10193 10194 This keeps our font metrics matching those from Mac. 10195 10196 Reviewed by Hyatt. 10197 10198 * DumpRenderTree/win/DumpRenderTree.cpp: 10199 (main): 10200 10201 2007-12-06 Anders Carlsson <andersca (a] apple.com> 10202 10203 Rename main.c to main.cpp here too. 10204 10205 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c. 10206 10207 2007-12-06 Sam Weinig <sam (a] webkit.org> 10208 10209 Rubber stamped by Geoff. 10210 10211 * Scripts/do-webcore-rename: Don't rename kjs_css twice. 10212 10213 2007-12-06 Darin Adler <darin (a] apple.com> 10214 10215 * Scripts/do-webcore-rename: Some more renaming plans. 10216 10217 2007-12-06 Anders Carlsson <andersca (a] apple.com> 10218 10219 Restore implementation of testGetIntIdentifier that was accidentally 10220 removed somehow (possibly when I made PluginObject be a cpp file). 10221 10222 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 10223 (pluginInvoke): 10224 10225 2007-12-05 Anders Carlsson <andersca (a] apple.com> 10226 10227 Make the entry points extern "C". 10228 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 10229 10230 2007-12-05 Anders Carlsson <andersca (a] apple.com> 10231 10232 C++ warning fixes. 10233 10234 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 10235 (NPP_New): 10236 (NPP_Destroy): 10237 (NPP_SetWindow): 10238 (NPP_NewStream): 10239 (NPP_HandleEvent): 10240 (NPP_URLNotify): 10241 (NPP_GetValue): 10242 10243 2007-12-05 Anders Carlsson <andersca (a] apple.com> 10244 10245 Add the .cpp files to the TestNetscapePlugIn target. 10246 10247 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 10248 10249 2007-12-05 Anders Carlsson <andersca (a] apple.com> 10250 10251 Reviewed by Geoff. 10252 10253 Rename the TestNetscapePlugIn .c files to be .cpp. 10254 10255 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 10256 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed. 10257 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c. 10258 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed. 10259 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c. 10260 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed. 10261 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c. 10262 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 10263 10264 2007-12-05 Adam Roben <aroben (a] apple.com> 10265 10266 Fix case of keypresses from the Windows implementation of eventSender.keyDown 10267 10268 This fixes several regression tests. 10269 10270 Reviewed by Alice. 10271 10272 * DumpRenderTree/win/EventSender.cpp: 10273 (keyDownCallback): Virtual keycodes for ASCII characters are always 10274 uppercase, so we need to check the case of the original character 10275 passed in to eventSender.keyDown. 10276 10277 2007-12-05 Adam Roben <aroben (a] apple.com> 10278 10279 Learn from Tim's mistakes 10280 10281 * DumpRenderTree/win/DumpRenderTree.cpp: 10282 (runTest): Reset the authorAndUserStylesEnabled preference for each 10283 test. 10284 10285 2007-12-05 Alp Toker <alp (a] atoker.com> 10286 10287 Reviewed by Mark Rowe. 10288 10289 Initialize GTK+ and WebKit so the tests can run. 10290 10291 Reorganize the headers a little. 10292 10293 * DumpRenderTree/gtk/DumpRenderTree.cpp: 10294 (main): 10295 10296 2007-12-04 Anders Carlsson <andersca (a] apple.com> 10297 10298 Remove IWebScriptScope include. 10299 10300 * Drosera/win/DebuggerDocumentPlatform.cpp: 10301 10302 2007-12-04 Sam Weinig <sam (a] webkit.org> 10303 10304 Rubber stamped by Mark Rowe. 10305 10306 Define CF as platform for mac and revert r28409 10307 10308 * DumpRenderTree/DumpRenderTree.h: 10309 * DumpRenderTree/mac/DumpRenderTreeMac.h: 10310 10311 2007-12-04 Sam Weinig <sam (a] webkit.org> 10312 10313 Define CF as platform for windows. 10314 10315 Reviewed by Adam Roben. 10316 10317 * DumpRenderTree/win/DumpRenderTreeWin.h: 10318 10319 2007-12-04 Kevin McCullough <kmccullough (a] apple.com> 10320 10321 Reviewed by Adam and Darin. 10322 10323 - Removed a needless BSTR cleanup. 10324 10325 * Drosera/win/DebuggerDocumentPlatform.cpp: 10326 (DebuggerDocument::getPlatformCurrentFunctionStack): 10327 10328 2007-11-27 Adam Roben <aroben (a] apple.com> 10329 10330 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT 10331 10332 Reviewed by Maciej. 10333 10334 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 10335 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented. 10336 10337 2007-12-04 Alp Toker <alp (a] atoker.com> 10338 10339 Prospective Win DRT build fix. 10340 10341 * DumpRenderTree/DumpRenderTree.h: 10342 10343 2007-12-04 Alp Toker <alp (a] atoker.com> 10344 10345 Fix a clobbered copyright header. 10346 10347 * DumpRenderTree/gtk/DumpRenderTree.cpp: 10348 10349 2007-12-04 Xan Lopez <xan (a] gnome.org> 10350 10351 Reviewed by Alp Toker. 10352 10353 http://bugs.webkit.org/show_bug.cgi?id=15561 10354 GTK port needs DumpRenderTree implementation 10355 10356 Start work on the GTK+ DRT. 10357 10358 This does not work yet, and there are a few lingering style issues 10359 (nothing major) but this patch has been stuck in the bug tracker for 10360 too long already. 10361 10362 * DumpRenderTree/DumpRenderTree.h: 10363 * DumpRenderTree/gtk: Added. 10364 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added. 10365 (autocorrectURL): 10366 (shouldLogFrameLoadDelegates): 10367 (dumpFrameScrollPosition): 10368 (displayWebView): 10369 (appendString): 10370 (dumpFramesAsText): 10371 (dumpRenderTreeAsText): 10372 (dump): 10373 (runTest): 10374 (main): 10375 * DumpRenderTree/gtk/DumpRenderTree.pro: Added. 10376 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added. 10377 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added. 10378 (GCController::collect): 10379 (GCController::collectOnAlternateThread): 10380 (GCController::getJSObjectCount): 10381 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added. 10382 (LayoutTestController::~LayoutTestController): 10383 (LayoutTestController::addDisallowedURL): 10384 (LayoutTestController::clearBackForwardList): 10385 (LayoutTestController::copyDecodedHostName): 10386 (LayoutTestController::copyEncodedHostName): 10387 (LayoutTestController::display): 10388 (LayoutTestController::keepWebHistory): 10389 (LayoutTestController::notifyDone): 10390 (LayoutTestController::queueBackNavigation): 10391 (LayoutTestController::queueForwardNavigation): 10392 (LayoutTestController::queueLoad): 10393 (LayoutTestController::queueReload): 10394 (LayoutTestController::queueScript): 10395 (LayoutTestController::setAcceptsEditing): 10396 (LayoutTestController::setCustomPolicyDelegate): 10397 (LayoutTestController::setMainFrameIsFirstResponder): 10398 (LayoutTestController::setTabKeyCyclesThroughElements): 10399 (LayoutTestController::setUseDashboardCompatibilityMode): 10400 (LayoutTestController::setUserStyleSheetEnabled): 10401 (LayoutTestController::setUserStyleSheetLocation): 10402 (LayoutTestController::setWindowIsKey): 10403 (LayoutTestController::setWaitToDump): 10404 (LayoutTestController::windowCount): 10405 (LayoutTestController::setPrivateBrowsingEnabled): 10406 (LayoutTestController::setAuthorAndUserStylesEnabled): 10407 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added. 10408 (JSStringCopyUTF8CString): 10409 (LoadItem::invoke): 10410 (ReloadItem::invoke): 10411 (ScriptItem::invoke): 10412 (BackForwardItem::invoke): 10413 10414 2007-12-03 Sam Weinig <sam (a] webkit.org> 10415 10416 Move JavaScriptCore thread testing code to pthread specific directory 10417 and remove the dependance on CoreFoundation by using WTF::HashSet. 10418 10419 Reviewed by Geoff and Oliver. 10420 10421 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 10422 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added. 10423 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added. 10424 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added. 10425 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h. 10426 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed. 10427 * DumpRenderTree/mac/JavaScriptThreading.h: Removed. 10428 * DumpRenderTree/pthreads: Added. 10429 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp. 10430 (javaScriptThreads): 10431 (runJavaScriptThread): 10432 (startJavaScriptThreads): 10433 (stopJavaScriptThreads): 10434 10435 2007-12-03 Andrew Bonventre <andybons (a] google.com> 10436 10437 Reviewed by Darin Adler. 10438 10439 - fix http://bugs.webkit.org/show_bug.cgi?id=16267 10440 Symbol lookup menu broken in debugger view 10441 10442 * Drosera/debugger.js: Fixed javascript error where document property 10443 should have been used instead of contentDocument in switchFunction that 10444 was breaking the select symbol dropdown menu. This is because 10445 window.frames will return a Window object and not a frame object like 10446 the author was originally expecting. 10447 10448 2007-12-03 Kevin McCullough <kmccullough (a] apple.com> 10449 10450 Reviewed by Adam. 10451 10452 - <rdar://5618942> Drosera: Console window does not process everything 10453 correctly. 10454 - <rdar://5619005> Drosera: could be sped up by moving the 10455 WebScriptScope stuff into the WebScriptCallFrame. 10456 - Now the console can correctly process objects and does not receive 10457 notifications from JavaScriptCore about the JavaScript in Drosera's 10458 own process. 10459 10460 * Drosera/win/DebuggerDocumentPlatform.cpp: 10461 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 10462 (DebuggerDocument::platformValueForScopeVariableNamed): 10463 10464 2007-12-03 Stephanie <slewis (a] apple.com> 10465 10466 Reviewed by Darin Adler. 10467 10468 Check to see if we are building a debug root 10469 10470 * Scripts/check-for-global-initializers: 10471 10472 2007-12-03 Dan Bernstein <mitz (a] apple.com> 10473 10474 Reviewed by Darin Adler. 10475 10476 - added a testGetIntIdentifier() method to TestNetscapePlugIn 10477 10478 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 10479 (pluginInvoke): 10480 10481 2007-12-03 Alexey Proskuryakov <ap (a] webkit.org> 10482 10483 Reviewed by Oliver. 10484 10485 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input 10486 in a more fine-grained manner than eventSender.keyDown(). 10487 10488 * DumpRenderTree/win/EventSender.cpp: 10489 (getConstantCallback): 10490 (dispatchMessageCallback): 10491 10492 2007-12-02 Darin Adler <darin (a] apple.com> 10493 10494 * Scripts/do-webcore-rename: More planned renaming. 10495 10496 2007-12-02 Sam Weinig <sam (a] webkit.org> 10497 10498 Rubber stamped by Anders. 10499 10500 Use [NSURL absoluteString] instead of [NSURL description] in order to get 10501 more uniform results cross platform. 10502 10503 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 10504 (-[NSURL _drt_descriptionSuitableForTestResult]): 10505 10506 2007-12-02 Sam Weinig <sam (a] webkit.org> 10507 10508 Rubber stamped by Niko. 10509 10510 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp. 10511 10512 * DumpRenderTree/win/DumpRenderTree.cpp: 10513 * DumpRenderTree/win/DumpRenderTree.vcproj: 10514 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp. 10515 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h. 10516 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed. 10517 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed. 10518 10519 2007-12-01 Alp Toker <alp (a] atoker.com> 10520 10521 Reviewed by Adam Roben. 10522 10523 Make use of the newly introduced webkit.h convenience header. 10524 10525 * GtkLauncher/main.c: 10526 10527 2007-12-01 Adam Treat <treat (a] kde.org> 10528 10529 Reviewed by Simon. 10530 10531 * Check to see if the directory exists and exit if not. 10532 10533 * DumpRenderTree/qt/main.cpp: 10534 (main): 10535 10536 2007-12-01 Adam Treat <treat (a] kde.org> 10537 10538 Reviewed by Simon. 10539 10540 * Don't hide symbols when in Debug mode 10541 * On Linux (glibc) provide a backtrace in the test output for debugging purposes 10542 10543 10544 * DumpRenderTree/qt/main.cpp: 10545 (messageHandler): 10546 10547 2007-11-30 Alp Toker <alp (a] atoker.com> 10548 10549 Reviewed by Adam Roben. 10550 10551 http://bugs.webkit.org/show_bug.cgi?id=15691 10552 [GTK] Public API does not follow GTK+ conventions 10553 10554 Refactor the WebKit/GTK+ public API. Changes: 10555 WebKitPage -> WebKitWebView 10556 WebKitFrame -> WebKitWebFrame 10557 10558 Public API source and header names have been updated to mirror the API 10559 changes. 10560 10561 The API is now kept in WebKit/gtk/WebView to match other ports in the 10562 same class such as Mac and Win. 10563 10564 * GtkLauncher/main.c: 10565 (activate_uri_entry_cb): 10566 (link_hover_cb): 10567 (title_change_cb): 10568 (progress_change_cb): 10569 (go_back_cb): 10570 (go_forward_cb): 10571 (create_browser): 10572 (main): 10573 10574 2007-11-30 Adam Roben <aroben (a] apple.com> 10575 10576 Hopefully the final build fix 10577 10578 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to 10579 pull in WTF's assertion/logging functions. 10580 10581 2007-11-30 Adam Roben <aroben (a] apple.com> 10582 10583 Another build fix 10584 10585 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for 10586 WebKit.lib. 10587 10588 2007-11-30 Adam Roben <aroben (a] apple.com> 10589 10590 Debug build fix 10591 10592 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal 10593 configuration. 10594 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other 10595 projects. 10596 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto. 10597 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from 10598 WebKitTools/DumpRenderTree/win/debug_internal.vsprops. 10599 10600 2007-11-30 Sam Weinig <sam (a] webkit.org> 10601 10602 Reviewed by Adam Roben. 10603 10604 Fix drawSelectionRect to actually draw the selection rect. 10605 10606 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 10607 (drawSelectionRect): 10608 10609 2007-11-30 Darin Adler <darin (a] apple.com> 10610 10611 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one. 10612 10613 2007-11-30 Darin Adler <darin (a] apple.com> 10614 10615 * Scripts/do-webcore-rename: Get ready for some future renaming. 10616 10617 2007-11-29 Kevin McCullough <kmccullough (a] apple.com> 10618 10619 Reviewed by Adam. 10620 10621 - Removed some unnecessary functions and changed an unused return type. 10622 10623 * Drosera/win/DebuggerClient.cpp: 10624 (registerConsoleClass): 10625 * Drosera/win/DebuggerClient.h: 10626 * Drosera/win/Drosera.cpp: 10627 (registerDroseraClass): 10628 10629 2007-11-28 Alp Toker <alp (a] atoker.com> 10630 10631 Reviewed by Timothy Hatcher. 10632 10633 http://bugs.webkit.org/show_bug.cgi?id=16174 10634 [GTK] Use "URI" not "URL" in public API 10635 10636 Replace use of the term "URL" with "URI" in public headers, 10637 documentation and some internal code to match GLib/GTK+ convention. 10638 10639 This is now mentioned in the API guidelines: 10640 http://trac.webkit.org/projects/webkit/wiki/HackingGtk 10641 10642 * GtkLauncher/main.c: 10643 (activate_uri_entry_cb): 10644 (title_change_cb): 10645 (create_toolbar): 10646 (main): 10647 10648 2007-11-29 Anders Carlsson <andersca (a] apple.com> 10649 10650 Reviewed by Sam. 10651 10652 <rdar://problem/5230478> 10653 FrameLoadDelegate callbacks are not dumped in DRT. 10654 10655 * DumpRenderTree/win/DumpRenderTree.cpp: 10656 (shouldLogFrameLoadDelegates): 10657 (runTest): 10658 (main): 10659 * DumpRenderTree/win/FrameLoaderDelegate.cpp: 10660 (BSTRtoString): 10661 (descriptionSuitableForTestResult): 10662 (FrameLoadDelegate::QueryInterface): 10663 (FrameLoadDelegate::didStartProvisionalLoadForFrame): 10664 (FrameLoadDelegate::didFailProvisionalLoadWithError): 10665 (FrameLoadDelegate::didCommitLoadForFrame): 10666 (FrameLoadDelegate::didFinishLoadForFrame): 10667 (FrameLoadDelegate::willCloseFrame): 10668 (FrameLoadDelegate::didClearWindowObject): 10669 (FrameLoadDelegate::didFinishDocumentLoadForFrame): 10670 (FrameLoadDelegate::didHandleOnloadEventsForFrame): 10671 * DumpRenderTree/win/FrameLoaderDelegate.h: 10672 (FrameLoadDelegate::windowScriptObjectAvailable): 10673 (FrameLoadDelegate::didFirstLayoutInFrame): 10674 10675 2007-11-29 Sam Weinig <sam (a] webkit.org> 10676 10677 Reviewed by Anders. 10678 10679 Add database quota UIDelegates methods to DRT UIDelegate. 10680 10681 * DumpRenderTree/mac/UIDelegate.mm: 10682 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]): 10683 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]): 10684 10685 2007-11-29 Kevin McCullough <kmccullough (a] apple.com> 10686 10687 Reviewed by Sam. 10688 10689 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer 10690 dying and vice versa. 10691 - This fix will allow Drosera and Safari to reconnect if either of them 10692 closes correctly, but does not fix the case where one of them dies 10693 silently. 10694 10695 * Drosera/win/ServerConnection.cpp: 10696 (ServerConnection::attemptToCreateServerConnection): Added a safety 10697 check, because it's possilbe to try to connect to a server that's dying. 10698 (ServerConnection::serverDidDie): Implemented. This resets Drosera when 10699 the server has died. 10700 * Drosera/win/ServerConnection.h: Added the new function and removed 10701 an unnecessary member. 10702 10703 2007-11-29 Anders Carlsson <andersca (a] apple.com> 10704 10705 * DumpRenderTree/win/DumpRenderTree.vcproj: 10706 Add shlwapi.lib to all configurations. 10707 10708 2007-11-29 Kevin McCullough <kmccullough (a] apple.com> 10709 10710 - Build fix. Added additional includes for VS Express to the Release 10711 project. 10712 10713 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 10714 10715 2007-11-29 Anders Carlsson <andersca (a] apple.com> 10716 10717 Reviewed by Adam. 10718 10719 <rdar://problem/5132005> 10720 setUserStyleSheetEnabled is not fully implemented in Windows DRT. 10721 10722 * DumpRenderTree/win/DumpRenderTree.vcproj: 10723 Add shlwapi.lib 10724 10725 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 10726 (LayoutTestController::setUserStyleSheetEnabled): 10727 Implement this. 10728 10729 (appendComponentToPath): 10730 New method which wraps the Win32 API PathAppend. 10731 10732 (followShortcuts): 10733 New method which checks if a file points to a shortcut and 10734 follows the shortcut. 10735 10736 (resolveCygwinPath): 10737 New method that takes a cygwin unix-style path and returns the Win32 path. 10738 10739 (cfStringRefToWString): 10740 10741 (LayoutTestController::setUserStyleSheetLocation): 10742 Implement this. 10743 10744 2007-11-29 Alice Liu <alice.liu (a] apple.com> 10745 10746 Reviewed by Adam. 10747 10748 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase 10749 10750 * DumpRenderTree/win/EventSender.cpp: 10751 (keyDownCallback): 10752 uppercase letters were being sent as lowercase letters without the shift key down. 10753 10754 2007-11-29 Kevin McCullough <kmccullough (a] apple.com> 10755 10756 - Windows build fix. VS express needs some love. 10757 10758 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 10759 10760 2007-11-28 Darin Adler <darin (a] apple.com> 10761 10762 Reviewed by Adam Roben. 10763 10764 * DumpRenderTree/mac/EventSendingController.mm: 10765 (-[EventSendingController keyDown:withModifiers:]): 10766 Send capital letters through as lowercase letters with the shift key down 10767 rather than sending them as if they were highly unusual "capital letter keys". 10768 10769 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases 10770 where you need to update results and more tests are failing than before. 10771 10772 2007-11-28 Anders Carlsson <andersca (a] apple.com> 10773 10774 Reviewed by Darin Adler. 10775 10776 <rdar://problem/5132001> 10777 contextClick is not implemented in DRT on Windows. 10778 10779 * DumpRenderTree/win/EventSender.cpp: 10780 (contextClickCallback): 10781 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed 10782 by a WM_RBUTTONUP message. 10783 10784 * DumpRenderTree/win/UIDelegate.cpp: 10785 (UIDelegate::hasCustomMenuImplementation): 10786 (UIDelegate::trackCustomPopupMenu): 10787 * DumpRenderTree/win/UIDelegate.h: 10788 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup 10789 menu from being shown (and causing the DRT to hang). 10790 10791 2007-11-27 Maciej Stachowiak <mjs (a] apple.com> 10792 10793 Reviewed by Darin Adler. 10794 10795 Fix DumpRenderTree ObjC bug comparing strings. 10796 10797 * DumpRenderTree/mac/ObjCController.m: 10798 (-[ObjCController identityIsEqual::]): Compare strings with string 10799 equality instead of identiy equality. 10800 10801 2007-11-27 Timothy Hatcher <timothy (a] apple.com> 10802 10803 Reviewed by Sam. 10804 10805 Reset the authorAndUserStylesEnabled preference 10806 back to YES for each test. Fixes the broken tests. 10807 10808 * DumpRenderTree/mac/DumpRenderTree.mm: 10809 (resetWebViewToConsistentStateBeforeTesting): 10810 10811 2007-11-27 Kevin McCullough <kmccullough (a] apple.com> 10812 10813 Reviewed by Adam. 10814 10815 - Drosera now displays the console window, although it cannot currently 10816 process JavaScript. 10817 10818 * Drosera/win/DebuggerClient.cpp: Shows the console window. 10819 (registerConsoleClass): Implemented. 10820 (consoleWndProc): Implemented. 10821 (DebuggerClient::onSize): Implemented. 10822 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a 10823 new window. 10824 * Drosera/win/DebuggerClient.h: Added needed method and members for 10825 creating and maintaining a new window. 10826 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of 10827 lines of code to more appropriate places. 10828 (Drosera::handleCommand): 10829 (Drosera::initUI): 10830 (Drosera::onSize): 10831 (Drosera::attach): 10832 10833 2007-11-27 Timothy Hatcher <timothy (a] apple.com> 10834 10835 Reviewed by Dave Hyatt. 10836 10837 <rdar://problem/5569233> Add the ability to disable author and user CSS styles 10838 10839 Add support for disabling author and user styles for testing. 10840 10841 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 10842 * DumpRenderTree/LayoutTestController.cpp: 10843 (setAuthorAndUserStylesEnabledCallback): 10844 (LayoutTestController::staticFunctions): 10845 * DumpRenderTree/LayoutTestController.h: 10846 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 10847 (LayoutTestController::setAuthorAndUserStylesEnabled): 10848 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 10849 (LayoutTestController::setAuthorAndUserStylesEnabled): 10850 10851 2007-11-26 Dan Bernstein <mitz (a] apple.com> 10852 10853 - Tiger build fix. 10854 10855 * DumpRenderTree/mac/Configurations/Base.xcconfig: 10856 10857 2007-11-26 Kevin McCullough <kmccullough (a] apple.com> 10858 10859 Reviewed by Maciej. 10860 10861 - Implemented displaying variables for Drosera on Win. 10862 10863 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions 10864 that retrieve variables to not hold onto the return value since it's 10865 not returned. Also changed to use the new signatures of the retrieval 10866 functions. 10867 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 10868 (DebuggerDocument::platformValueForScopeVariableNamed): 10869 * Drosera/win/Drosera.cpp: Removed a needless TODO. 10870 (droseraWndProc): 10871 10872 2007-11-26 Sam Weinig <sam (a] webkit.org> 10873 10874 Cleanup names of painting and repainting functions. 10875 10876 Reviewed by Adam Roben. 10877 10878 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 10879 (drawSelectionRect): was drawSelectionRectIntoContext. 10880 (dumpWebViewAsPixelsAndCompareWithExpected): 10881 * DumpRenderTree/cg/PixelDumpSupportCG.h: 10882 * DumpRenderTree/mac/PixelDumpSupportMac.mm: 10883 (paintWebView): was drawWebViewIntoContext. 10884 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep. 10885 10886 2007-11-26 Sam Weinig <sam (a] webkit.org> 10887 10888 Reviewed by Dan Bernstein. 10889 10890 - Leopard build fix 10891 10892 * DumpRenderTree/mac/Configurations/Base.xcconfig: 10893 10894 2007-11-26 Sam Weinig <sam (a] webkit.org> 10895 10896 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136 10897 Use shared PixelDumpSupport for Mac DRT 10898 10899 Reviewed by Adam Roben. 10900 10901 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 10902 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h. 10903 * DumpRenderTree/cg/ImageDiffCG.cpp: 10904 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: 10905 (drawSelectionRectIntoContext): 10906 (dumpWebViewAsPixelsAndCompareWithExpected): 10907 * DumpRenderTree/cg/PixelDumpSupportCG.h: 10908 * DumpRenderTree/mac/Configurations/Base.xcconfig: 10909 * DumpRenderTree/mac/DumpRenderTree.mm: 10910 (dump): 10911 * DumpRenderTree/mac/ImageDiff.m: Removed. 10912 * DumpRenderTree/mac/PixelDumpSupport.h: Removed. 10913 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed. 10914 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm. 10915 (setDefaultColorProfileToRGB): 10916 (getBitmapContextFromWebView): 10917 (drawWebViewIntoContext): 10918 (repaintWithVerticalSweep): 10919 (repaintWithHorizontalSweep): 10920 (getSelectionRect): 10921 * DumpRenderTree/win/PixelDumpSupport.h: Removed. 10922 10923 2007-11-25 David D. Kilzer <ddkilzer (a] webkit.org> 10924 10925 Bug 16052: prepare-ChangeLog doesn't report deleted files 10926 <http://bugs.webkit.org/show_bug.cgi?id=16052> 10927 10928 Reviewed by Sam. 10929 10930 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files. 10931 10932 2007-11-25 David Kilzer <ddkilzer (a] webkit.org> 10933 10934 Bug 15864: Replace merge-changelog with resolve-ChangeLogs 10935 <http://bugs.webkit.org/show_bug.cgi?id=15864> 10936 10937 Reviewed by Adam. 10938 10939 Roll functionality of merge-changelog into resolve-ChangeLogs 10940 script. The script now checks for ChangeLog.rej and 10941 ChangeLog.orig files first. If it finds them, it uses the 10942 ChangeLog.rej file as a patch (in old contextual diff format) to 10943 apply with --fuzz=3. 10944 10945 * Scripts/merge-changelog: Removed. 10946 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches. 10947 10948 2007-11-25 Sam Weinig <sam (a] webkit.org> 10949 10950 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree. 10951 10952 Reviewed by Mark Rowe. 10953 10954 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 10955 * DumpRenderTree/mac/Configurations/Base.xcconfig: 10956 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: 10957 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added. 10958 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added. 10959 10960 2007-11-25 Sam Weinig <sam (a] webkit.org> 10961 10962 Convert DumpRenderTree to ues .xcconfig files. 10963 10964 Reviewed by Mark Rowe. 10965 10966 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 10967 * DumpRenderTree/mac/Configurations: Added. 10968 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added. 10969 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added. 10970 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added. 10971 10972 2007-11-25 Sam Weinig <sam (a] webkit.org> 10973 10974 Add ForwardingHeaders to wtf for DumpRenderTree. 10975 10976 Reviewed by Mark Rowe. 10977 10978 * DumpRenderTree/DumpRenderTree.h: 10979 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 10980 * DumpRenderTree/ForwardingHeaders: Added. 10981 * DumpRenderTree/ForwardingHeaders/wtf: Added. 10982 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added. 10983 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added. 10984 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added. 10985 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added. 10986 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added. 10987 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added. 10988 * DumpRenderTree/LayoutTestController.cpp: 10989 * DumpRenderTree/WorkQueue.cpp: 10990 * DumpRenderTree/mac/DumpRenderTree.mm: 10991 * DumpRenderTree/mac/FrameLoadDelegate.mm: 10992 * DumpRenderTree/mac/JavaScriptThreading.cpp: 10993 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 10994 * DumpRenderTree/mac/ObjCController.m: 10995 * DumpRenderTree/mac/UIDelegate.mm: 10996 * DumpRenderTree/mac/WorkQueueItemMac.mm: 10997 10998 2007-11-25 Adam Roben <aroben (a] apple.com> 10999 11000 Fix some test failures caused by r28019 11001 11002 Now that stdout is in binary mode, we need to always use printf 11003 instead of wprintf. Otherwise we'll end up with UTF-16 characters in 11004 the output. 11005 11006 Reviewed by Sam. 11007 11008 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with 11009 printf. 11010 (UIDelegate::runJavaScriptAlertPanelWithMessage): 11011 (UIDelegate::runJavaScriptConfirmPanelWithMessage): 11012 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): 11013 (UIDelegate::webViewAddMessageToConsole): 11014 11015 2007-11-25 Adam Roben <aroben (a] apple.com> 11016 11017 Set the font smoothing preference in DRT 11018 11019 This makes the pixel results on Windows closer to the Mac results. 11020 11021 Reviewed by Mitz. 11022 11023 * DumpRenderTree/win/DumpRenderTree.cpp: 11024 (initializePreferences): 11025 11026 2007-11-25 Adam Roben <aroben (a] apple.com> 11027 11028 Port ImageDiff to CG and C++ 11029 11030 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133 11031 <rdar://5071708> 11032 11033 Reviewed by Sam. 11034 11035 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj. 11036 * DumpRenderTree/cg/ImageDiffCG.cpp: Added. 11037 (main): 11038 (createImageFromStdin): 11039 (compareImages): 11040 (getDifferenceBitmap): 11041 (computePercentageDifferent): 11042 * DumpRenderTree/win/ImageDiff.vcproj: Added. 11043 11044 2007-11-25 Adam Roben <aroben (a] apple.com> 11045 11046 Fix image diff link generation on Windows 11047 11048 Reviewed by Sam. 11049 11050 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls 11051 to toURL. 11052 11053 2007-11-25 Adam Roben <aroben (a] apple.com> 11054 11055 Implement pixel dumping in Windows DRT 11056 11057 Part of http://bugs.webkit.org/show_bug.cgi?id=16133 11058 <rdar://5071708> 11059 11060 Reviewed by Sam. 11061 11062 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added. 11063 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a 11064 Content-Length header. 11065 (getMD5HashStringForBitmap): 11066 (dumpWebViewAsPixelsAndCompareWithExpected): 11067 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h. 11068 * DumpRenderTree/win/DumpRenderTree.cpp: 11069 (dump): Do a pixel dump if requested. 11070 (main): Parse pixel test options. 11071 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added 11072 the cg/ subdirectory to the include path. 11073 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't 11074 available in a header or import library, so we have to go through this 11075 LoadLibrary/GetProcAddress dance to use them. 11076 (cryptDLL): 11077 (init): 11078 (update): 11079 (final): 11080 (MD5_Init): 11081 (MD5_Update): 11082 (MD5_Final): 11083 * DumpRenderTree/win/MD5.h: Added. 11084 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be 11085 moved up to the top level to share it with Mac eventually. 11086 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added. 11087 (getBitmapContextFromWebView): Forces the WebView to paint using a 11088 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext. 11089 11090 2007-11-25 Adam Roben <aroben (a] apple.com> 11091 11092 Clean up Windows DRT's option parsing a little bit 11093 11094 Reviewed by Sam. 11095 11096 * DumpRenderTree/win/DumpRenderTree.cpp: 11097 (main): Put non-option arguments into a Vector. 11098 11099 2007-11-25 Adam Roben <aroben (a] apple.com> 11100 11101 Make Windows DRT stop changing LF into CRLF 11102 11103 Reviewed by Sam. 11104 11105 * DumpRenderTree/win/DumpRenderTree.cpp: 11106 (main): Put stdout in binary mode. 11107 * Scripts/run-webkit-tests: Remove the CRLF hack. 11108 11109 2007-11-24 David Kilzer <ddkilzer (a] webkit.org> 11110 11111 Removed empty directory. 11112 11113 * Scripts/resources: Removed. 11114 11115 2007-11-23 David D. Kilzer <ddkilzer (a] webkit.org> 11116 11117 Fix bisect-builds to work with recent WebKit nightly builds. 11118 11119 Reviewed by Dan. 11120 11121 * Scripts/bisect-builds: Check for the 11122 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use 11123 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback 11124 to WebKit.app/Contents/Resources. 11125 11126 2007-11-23 Alexey Proskuryakov <ap (a] webkit.org> 11127 11128 Reviewed by Maciej. 11129 11130 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but 11131 not closed (affects digg.com) 11132 11133 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank 11134 one after finishing with a test to avoid having its delayed onload handler firing when 11135 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog), 11136 but it helps somewhat. 11137 11138 2007-11-22 Mark Rowe <mrowe (a] apple.com> 11139 11140 Reviewed by Alp Toker. 11141 11142 Fix build-webkit to propagate make's exit status if it fails. 11143 11144 * Scripts/webkitdirs.pm: 11145 11146 2007-11-22 Dan Bernstein <mitz (a] apple.com> 11147 11148 Reviewed by Mark Rowe. 11149 11150 - fix crash when running pixel tests 11151 11152 * DumpRenderTree/mac/DumpRenderTree.mm: 11153 (dumpRenderTree): Parse the command line options before setting up the 11154 environment so that we know if we need to set up the pixel dump 11155 machinery. 11156 11157 2007-11-21 Eric Seidel <eric (a] webkit.org> 11158 11159 Speculative build fix for Tiger. 11160 11161 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h 11162 11163 2007-11-21 Eric Seidel <eric (a] webkit.org> 11164 11165 Reviewed by Tim Hatcher. 11166 11167 Break out more of DumpRenderTree.mm into individual files 11168 11169 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 11170 * DumpRenderTree/mac/CheckedMalloc.cpp: Added. 11171 (checkedMalloc): 11172 (checkedRealloc): 11173 (makeLargeMallocFailSilently): 11174 * DumpRenderTree/mac/CheckedMalloc.h: Added. 11175 * DumpRenderTree/mac/DumpRenderTree.mm: 11176 (crashHandler): 11177 (dump): 11178 * DumpRenderTree/mac/DumpRenderTreeMac.h: 11179 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: 11180 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: 11181 * DumpRenderTree/mac/DumpRenderTreeWindow.h: 11182 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: 11183 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added. 11184 (javaScriptThreads): 11185 (runJavaScriptThread): 11186 (startJavaScriptThreads): 11187 (stopJavaScriptThreads): 11188 * DumpRenderTree/mac/JavaScriptThreading.h: Added. 11189 * DumpRenderTree/mac/PixelDumpSupport.h: Added. 11190 * DumpRenderTree/mac/PixelDumpSupport.mm: Added. 11191 (restoreColorSpace): 11192 (setDefaultColorProfileToRGB): 11193 (initializeColorSpaceAndScreeBufferForPixelTests): 11194 (md5HashStringForBitmap): 11195 (dumpWebViewAsPixelsAndCompareWithExpected): 11196 11197 2007-11-21 Kevin Ollivier <kevino (a] theolliviers.com> 11198 11199 Move install-unix-extras to wx directory as it seems only to be used by that 11200 port now. It now supports universal binaries on Mac and adds libpng and libjpeg. 11201 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and 11202 have install-unix-extras install into WebKitLibraries as per 11203 convention. 11204 11205 Reviewed by Mark Rowe. 11206 11207 * Scripts/install-unix-extras: Removed. 11208 * wx/build-wxwebkit: 11209 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras. 11210 11211 2007-11-21 Eric Seidel <eric (a] webkit.org> 11212 11213 Reviewed by Adam. 11214 11215 More refactoring for greater code readability 11216 11217 * DumpRenderTree/mac/DumpRenderTree.mm: 11218 (initializeGlobalsFromCommandLineOptions): 11219 (initializeColorSpaceAndScreeBufferForPixelTests): 11220 (addTestPluginsToPluginSearchPath): 11221 (useLongRunningServerMode): 11222 (runTestingServerLoop): 11223 (prepareConsistentTestingEnvironment): 11224 (dumpRenderTree): 11225 (main): 11226 (dumpFramesAsText): 11227 (dumpBackForwardListForWebView): 11228 (sizeWebViewForCurrentTest): 11229 (methodNameStringForFailedTest): 11230 (dumpBackForwardListForAllWindows): 11231 (dumpWebViewAsPixelsAndCompareWithExpected): 11232 (invalidateAnyPreviousWaitToDumpWatchdog): 11233 (dump): 11234 * DumpRenderTree/mac/DumpRenderTreeMac.h: 11235 * DumpRenderTree/mac/UIDelegate.mm: 11236 (-[UIDelegate webView:createWebViewWithRequest:]): 11237 11238 2007-11-21 Eric Seidel <eric (a] webkit.org> 11239 11240 Reviewed by Tim Hatcher. 11241 11242 Abstract more of DRT into static methods 11243 11244 * DumpRenderTree/mac/DumpRenderTree.mm: 11245 (setDefaultsToConsistentValuesForTesting): 11246 (setupSignalHandlers): 11247 (allocateGlobalControllers): 11248 (releaseAndZero): 11249 (releaseGlobalControllers): 11250 (dumpRenderTree): 11251 (shouldLogFrameLoadDelegates): 11252 (createCFURLFromPathOrURL): 11253 (resetWebViewToConsistentStateBeforeTesting): 11254 (runTest): 11255 11256 2007-11-21 Eric Seidel <eric (a] webkit.org> 11257 11258 Reviewed by Tim Hatcher. 11259 11260 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files 11261 11262 * DumpRenderTree/DumpRenderTree.h: 11263 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 11264 * DumpRenderTree/mac/DumpRenderTree.mm: 11265 (dumpRenderTree): 11266 (dump): 11267 (runTest): 11268 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added. 11269 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added. 11270 (+[DumpRenderTreePasteboard _pasteboardWithName:]): 11271 (+[DumpRenderTreePasteboard releaseLocalPasteboards]): 11272 (-[DumpRenderTreePasteboard declareType:owner:]): 11273 (+[LocalPasteboard alloc]): 11274 (-[LocalPasteboard init]): 11275 (-[LocalPasteboard dealloc]): 11276 (-[LocalPasteboard name]): 11277 (-[LocalPasteboard releaseGlobally]): 11278 (-[LocalPasteboard declareTypes:owner:]): 11279 (-[LocalPasteboard addTypes:owner:]): 11280 (-[LocalPasteboard changeCount]): 11281 (-[LocalPasteboard types]): 11282 (-[LocalPasteboard availableTypeFromArray:]): 11283 (-[LocalPasteboard setData:forType:]): 11284 (-[LocalPasteboard dataForType:]): 11285 (-[LocalPasteboard setPropertyList:forType:]): 11286 (-[LocalPasteboard setString:forType:]): 11287 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added. 11288 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added. 11289 (+[DumpRenderTreeWindow allWindows]): 11290 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]): 11291 (-[DumpRenderTreeWindow dealloc]): 11292 (-[DumpRenderTreeWindow isKeyWindow]): 11293 (-[DumpRenderTreeWindow keyDown:]): 11294 11295 2007-11-20 Kevin Ollivier <kevino (a] theolliviers.com> 11296 11297 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as 11298 it indiscriminately copies any headers inside JavaScriptCore, 11299 which includes Tiger ICU headers. 11300 11301 * wx/build-wxwebkit: 11302 Don't run WebCore/move-js-headers.sh any longer. 11303 11304 2007-11-20 Adam Treat <treat (a] kde.org> 11305 11306 Reviewed by David Kilzer. 11307 11308 * Prepend git branch name to $baseProductDir 11309 11310 * Scripts/VCSUtils.pm: 11311 * Scripts/webkitdirs.pm: 11312 11313 2007-11-20 Mark Rowe <mrowe (a] apple.com> 11314 11315 Reviewed by Simon Hausmann. 11316 11317 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject. 11318 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit. 11319 Have it trigger a "make distclean" rather than "make clean" to ensure that the 11320 built product and generated Makefile's are removed. 11321 11322 2007-11-19 Alp Toker <alp (a] atoker.com> 11323 11324 Reviewed by Mark Rowe. 11325 11326 http://bugs.webkit.org/show_bug.cgi?id=16040 11327 [GTK] GtkLauncher should be written in C 11328 11329 Port GtkLauncher to plain C. 11330 11331 Use a more conventional GTK+ coding style. 11332 11333 Use a toolbar instead of menus. 11334 11335 Various signature fixes and cleanups. 11336 11337 Add a license header. Assume all previous modifications were copyright 11338 assigned to Apple Inc. by default. 11339 11340 * GtkLauncher/GtkLauncher.pro: 11341 * GtkLauncher/main.c: Added. 11342 (activate_url_entry_cb): 11343 (update_title): 11344 (link_hover_cb): 11345 (title_change_cb): 11346 (progress_change_cb): 11347 (destroy_cb): 11348 (go_back_cb): 11349 (go_forward_cb): 11350 (create_browser): 11351 (create_statusbar): 11352 (create_toolbar): 11353 (create_window): 11354 (main): 11355 * GtkLauncher/main.cpp: Removed. 11356 11357 2007-11-19 Kevin Ollivier <kevino (a] theolliviers.com> 11358 11359 Build script fixes to ensure they do the right thing for the 11360 wx port, and update build-wxwebkit to reflect the way the 11361 build scripts now work. 11362 11363 Reviewed by Adam. 11364 11365 * Scripts/build-testkjs: 11366 * Scripts/build-webkit: 11367 * Scripts/run-javascriptcore-tests: 11368 * Scripts/webkitdirs.pm: 11369 * wx/build-wxwebkit: 11370 11371 2007-11-18 Eric Seidel <eric (a] webkit.org> 11372 11373 Reviewed by Anders. 11374 11375 Make run-javascriptcore-tests report failures on exit (to support git bisect) 11376 11377 * Scripts/run-javascriptcore-tests: 11378 11379 2007-11-18 Alexey Proskuryakov <ap (a] webkit.org> 11380 11381 Reviewed by Adam Roben. 11382 11383 Make run-webkit-tests work with Windows debug build. 11384 11385 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT. 11386 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT, 11387 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor 11388 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically, 11389 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that). 11390 11391 2007-11-18 Kevin Ollivier <kevino (a] theolliviers.com> 11392 11393 Add wxWebKit sample and build script, and integrate it with 11394 build-webkit. Also make build-webkit --clean work for all 11395 ports. 11396 11397 Reviewed by Darin Adler. 11398 11399 * Scripts/build-webkit: 11400 * Scripts/webkitdirs.pm: 11401 * wx: Added. 11402 * wx/browser: Added. 11403 * wx/browser/browser.bkl: Added. 11404 * wx/browser/browser.cpp: Added. 11405 * wx/build-wxwebkit: Added. 11406 11407 2007-11-17 Adam Roben <aroben (a] apple.com> 11408 11409 Make it easy to run Safari in the debugger on Windows 11410 11411 I've added a new script, debug-safari, which launches Safari in the 11412 debugger. On OS X it just calls gdb-safari. 11413 11414 Reviewed by Mark Rowe. 11415 11416 * FindSafari/FindSafari.cpp: 11417 (_tmain): Added a /debugger flag, which in combination with 11418 /printSafariLauncher will print a script that launches Safari in the 11419 debugger. 11420 * Scripts/debug-safari: Added. 11421 * Scripts/run-safari: Changed to call runSafari(). 11422 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with 11423 vsvars32.bat, which will let us find VS/VC++ Express, and passes the 11424 first argument along to FindSafari. 11425 * Scripts/webkitdirs.pm: 11426 (sub runSafari): Added. 11427 11428 2007-11-16 Alexey Proskuryakov <ap (a] webkit.org> 11429 11430 Reviewed by Adam Roben. 11431 11432 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined. 11433 11434 2007-11-16 Ryan Leavengood <leavengood (a] gmail.com> 11435 11436 Reviewed by David Kilzer. 11437 11438 The git config command was renamed to repo-config at some point. This 11439 change tries git config and then git repo-config if the first fails. 11440 11441 * Scripts/prepare-ChangeLog: 11442 (gitConfig): 11443 11444 2007-11-16 Dan Bernstein <mitz (a] apple.com> 11445 11446 Reviewed by Darin Adler and Sam Weinig. 11447 11448 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows 11449 11450 * DumpRenderTree/win/EventSender.cpp: 11451 (keyDownCallback): For characters that cannot be entered on the active 11452 keyboard layout, send a WM_CHAR message with the character along with 11453 a WM_KEYDOWN message with a virtual key code of 255. 11454 11455 2007-11-16 Mark Rowe <mrowe (a] apple.com> 11456 11457 Reviewed by Tim Hatcher. 11458 11459 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations. 11460 11461 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: 11462 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 11463 11464 2007-11-15 Adam Roben <aroben (a] apple.com> 11465 11466 Make run-safari actually work on Windows 11467 11468 * Scripts/run-safari: Fixed the order of arguments to cp, and added a 11469 chdir call. 11470 11471 2007-11-14 Adam Roben <aroben (a] apple.com> 11472 11473 Updates to Safari launching now that 3.0.4 is released 11474 11475 Reviewed by Sam. 11476 11477 * FindSafari/FindSafari.cpp: 11478 (getWebViewCLSID): Use version-independent ProgID. 11479 * Scripts/run-safari: Use run-webkit-nightly.cmd. 11480 11481 2007-11-14 Anders Carlsson <andersca (a] apple.com> 11482 11483 Reviewed by Adam. 11484 11485 <rdar://problem/5309081> 11486 In DRT, "plugin.logDestroy = true" not working on Windows. 11487 11488 * DumpRenderTree/win/TestNetscapePlugin/main.c: 11489 (NPP_Destroy): 11490 11491 2007-11-14 Eric Seidel <eric (a] webkit.org> 11492 11493 Reviewed by Sam. 11494 11495 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling 11496 11497 2007-11-14 Anders Carlsson <andersca (a] apple.com> 11498 11499 Reviewed by Adam. 11500 11501 <rdar://problem/5141186> 11502 window.layoutTestController.setWindowIsKey is not implemented in DRT. 11503 11504 Implement setWindowIsKey. 11505 11506 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 11507 (LayoutTestController::setWindowIsKey): 11508 11509 2007-11-13 Sam Weinig <sam (a] webkit.org> 11510 11511 Reviewed by Adam Roben. 11512 11513 Fix for <rdar://problem/5382579> 11514 http/tests/security/cross-frame-access-put.html reports large 11515 negative numbers for screenLeft and screenTop (Mac reports "0") 11516 11517 * DumpRenderTree/win/UIDelegate.cpp: 11518 (UIDelegate::UIDelegate): Initialize the RECT. 11519 (UIDelegate::setFrame): copy the contents of the rect, not the pointer. 11520 (UIDelegate::webViewFrame): ditto. 11521 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT* 11522 11523 2007-11-13 Kevin McCullough <kmccullough (a] apple.com> 11524 11525 Reviewed by Adam. 11526 11527 - Make Drosera show source, source URLs, and function stack on Windows, 11528 and some minor fixes. 11529 11530 * Drosera/DebuggerDocument.cpp: Force source to always update display. 11531 (DebuggerDocument::updateFileSource): 11532 * Drosera/debugger.js: Force source to always update display. 11533 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the 11534 menu controls. 11535 (DebuggerClient::resume): 11536 (DebuggerClient::pause): 11537 (DebuggerClient::stepInto): 11538 (DebuggerClient::stepOver): 11539 (DebuggerClient::stepOut): 11540 (DebuggerClient::showConsole): 11541 (DebuggerClient::closeCurrentFile): 11542 * Drosera/win/DebuggerClient.h: Ditto. 11543 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed 11544 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and 11545 removed two bugs. 1) caller could be in a bad state when asked to 11546 assign into it. 2) BSTRs were not created correctly. 11547 (DebuggerDocument::getPlatformCurrentFunctionStack): 11548 * Drosera/win/Drosera.cpp: Hook up the menu controls. 11549 (droseraWndProc): 11550 (handleCommand): 11551 (Drosera::resume): 11552 (Drosera::pause): 11553 (Drosera::stepInto): 11554 (Drosera::stepOver): 11555 (Drosera::stepOut): 11556 (Drosera::showConsole): 11557 (Drosera::closeCurrentFile): 11558 * Drosera/win/Drosera.h: Hook up the menu controls. 11559 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection 11560 functions, added a null check, and fixed another bug where caller could 11561 be in a bad state when asked to assign into it. 11562 (ServerConnection::didLoadMainResourceForDataSource): 11563 (ServerConnection::getCallerFrame): 11564 * Drosera/win/ServerConnection.h: Safety first. 11565 11566 2007-11-13 Dan Bernstein <mitz (a] apple.com> 11567 11568 Reviewed by Darin Adler. 11569 11570 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371> 11571 DumpRenderTree --pixel-tests renders each test twice 11572 11573 * DumpRenderTree/mac/DumpRenderTree.mm: 11574 (dumpRenderTree): Removed the --paint option because the painting code 11575 is always exercised as a result of 11576 -[FrameLoadDelegate webView:didFinishLoadFromFrame:] 11577 calling -displayIfNeeded. 11578 (dump): Changed to always grab the image from the window since the view 11579 is always displayed. 11580 (runTest): 11581 (displayWebView): 11582 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree 11583 because it always paints. 11584 11585 2007-11-12 Antti Koivisto <antti (a] apple.com> 11586 11587 Reviewed by Adele. 11588 11589 Add support for http media tests 11590 11591 * Scripts/run-webkit-tests: 11592 11593 2007-11-12 Sam Weinig <sam (a] webkit.org> 11594 11595 Reviewed by Adam Roben. 11596 11597 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows. 11598 11599 * DumpRenderTree/win/DumpRenderTree.cpp: 11600 (runTest): 11601 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 11602 (LayoutTestController::setPrivateBrowsingEnabled): 11603 11604 2007-11-12 Adam Roben <aroben (a] apple.com> 11605 11606 * Scripts/update-webkit-localizable-strings: Changed to only scan the 11607 mac and win subdirectories. 11608 11609 2007-11-11 Adam Roben <aroben (a] apple.com> 11610 11611 Fix <rdar://5133816> keepWebHistory is not implemented 11612 11613 Fixes fast/history/clicked-link-is-visited.html. 11614 11615 Reviewed by Darin Adler. 11616 11617 * DumpRenderTree/win/DumpRenderTree.cpp: 11618 (runTest): Clear the optionalSharedHistory. 11619 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 11620 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory. 11621 11622 2007-11-10 Sam Weinig <sam (a] webkit.org> 11623 11624 Reviewed by Tim Hatcher. 11625 11626 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript 11627 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions 11628 is turned on) 11629 11630 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows) 11631 11632 Added test: http/tests/security/cross-frame-access-private-browsing.html 11633 11634 * DumpRenderTree/LayoutTestController.cpp: 11635 (setPrivateBrowsingEnabledCallback): 11636 (LayoutTestController::staticFunctions): 11637 * DumpRenderTree/LayoutTestController.h: 11638 * DumpRenderTree/mac/DumpRenderTree.mm: 11639 (runTest): Default to private browsing disabled. 11640 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 11641 (LayoutTestController::setPrivateBrowsingEnabled): 11642 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 11643 (LayoutTestController::setPrivateBrowsingEnabled): 11644 11645 2007-11-08 Kevin McCullough <kmccullough (a] apple.com> 11646 11647 Reviewed by Adam. 11648 11649 - Changed the vcproj file to use Drosera's ForwardingHeaders and not 11650 WebCore's! 11651 11652 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added. 11653 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added. 11654 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added. 11655 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added. 11656 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added. 11657 * Drosera/win/Drosera.cpp: 11658 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 11659 11660 2007-11-08 Kevin McCullough <kmccullough (a] apple.com> 11661 11662 Reviewed by Sam. 11663 11664 - Use the new IWebFrame [local] function signature and get the shared 11665 server correctly. 11666 11667 * Drosera/win/DebuggerClient.cpp: 11668 (DebuggerClient::didFinishLoadForFrame): 11669 * Drosera/win/ServerConnection.cpp: 11670 (ServerConnection::attemptToCreateServerConnection): 11671 11672 2007-11-07 Dan Bernstein <mitz (a] apple.com> 11673 11674 Reviewed by Darin Adler. 11675 11676 - add an option to run-webkit-tests to ignore pixel test failures where 11677 all pixels differ by no more than a specified threshold 11678 11679 * DumpRenderTree/mac/ImageDiff.m: 11680 (main): 11681 (compareImages): 11682 (computePercentageDifferent): 11683 * Scripts/run-webkit-tests: 11684 11685 2007-11-07 Simon Hausmann <hausmann (a] kde.org> 11686 11687 Reviewed by Lars. 11688 11689 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree. 11690 11691 * DumpRenderTree/qt/DumpRenderTree.cpp: 11692 11693 2007-11-07 Simon Hausmann <hausmann (a] kde.org> 11694 11695 Reviewed by Lars. 11696 11697 Reworked the QWebSettings API. 11698 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings(). 11699 11700 * DumpRenderTree/qt/DumpRenderTree.cpp: 11701 11702 2007-11-07 Simon Hausmann <hausmann (a] kde.org> 11703 11704 Reviewed by Lars. 11705 11706 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history(). 11707 11708 * DumpRenderTree/qt/jsobjects.cpp: 11709 11710 2007-11-07 Simon Hausmann <hausmann (a] kde.org> 11711 11712 Reviewed by Lars Knoll <lars (a] trolltech.com>. 11713 11714 Add a QWebPage::frameCreated() signal and fix DRT 11715 11716 The removal of createFrame in QWebPage broke the re-implementation 11717 in DumpRenderTree. Instead emit a frameCreated() signal and 11718 connect to it in DumpRenderTree. 11719 11720 11721 * DumpRenderTree/qt/DumpRenderTree.cpp: 11722 (WebCore::WebPage::WebPage): 11723 (WebCore::DumpRenderTree::dump): 11724 (WebCore::DumpRenderTree::connectFrame): 11725 * DumpRenderTree/qt/DumpRenderTree.h: 11726 11727 2007-11-07 Simon Hausmann <hausmann (a] kde.org> 11728 11729 Reviewed by Lars Knoll <lars (a] trolltech.com>. 11730 11731 Moved all the event handlers from QWebFrame into QWebPage. 11732 11733 This cleans up the public API and allows us to remove the 11734 HackWebFrame hack in DumpRenderTree. 11735 11736 11737 * DumpRenderTree/qt/jsobjects.cpp: 11738 (EventSender::mouseDown): 11739 (EventSender::mouseUp): 11740 (EventSender::mouseMoveTo): 11741 11742 2007-11-07 Simon Hausmann <hausmann (a] kde.org> 11743 11744 Reviewed by Mark. 11745 11746 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree 11747 to prevent the default implementation from popping up messageboxes. 11748 11749 * DumpRenderTree/qt/DumpRenderTree.cpp: 11750 (WebCore::WebPage::javaScriptConfirm): 11751 (WebCore::WebPage::javaScriptPrompt): 11752 11753 2007-11-06 Eric Seidel <eric (a] webkit.org> 11754 11755 * Scripts/build-testkjs: build fix... too many $$ 11756 11757 2007-11-06 Eric Seidel <eric (a] webkit.org> 11758 11759 Reviewed by Mark Rowe. 11760 11761 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's 11762 11763 2007-11-05 Adam Roben <aroben (a] apple.com> 11764 11765 Add support on Windows for WEBKIT_TESTFONTS 11766 11767 This environment variable lets you specify where the fonts to be used 11768 by DumpRenderTree reside. The Qt port is already using this, so I'm 11769 just following their lead. 11770 11771 Reviewed by Darin Adler. 11772 11773 * DumpRenderTree/win/DumpRenderTree.cpp: 11774 (exePath): Refactored code out of initialize(). 11775 (fontsPath): Returns either $WEBKIT_TESTFONTS or 11776 DumpRenderTree.resources. 11777 (initialize): Use the new fontsPath function. 11778 (main): Use the new exePath function. 11779 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment 11780 variable to DRT, like Qt does. 11781 11782 2007-11-05 Mark Rowe <mrowe (a] apple.com> 11783 11784 Rubber-stamped by Alp Toker. 11785 11786 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves. 11787 11788 * GtkLauncher/main.cpp: 11789 (goToURLBarText): 11790 (main): 11791 11792 2007-11-04 David D. Kilzer <ddkilzer (a] webkit.org> 11793 11794 bisect-builds doesn't work with nightly build r19992 or newer on Leopard 11795 <http://bugs.webkit.org/show_bug.cgi?id=15830> 11796 11797 Reviewed by Timothy. 11798 11799 Restrict the range of nightly builds used by the bisect-builds script 11800 based on the version of Safari and the version of Mac OS X being used. 11801 11802 Mac OS X 10.4: Safari 2.0: r11976 or newer 11803 Mac OS X 10.4: Safari 3.0: r19992 or newer 11804 11805 Mac OS X 10.5: Safari 2.0: r19594 or newer 11806 Mac OS X 10.5: Safari 3.0: r25124 or newer 11807 11808 * Scripts/bisect-builds: 11809 (findMacOSXVersion): Added. 11810 (makeNightlyList): Added argument to provide version of Mac OS X. 11811 Restrict range of nightly builds based on Safari and Mac OS X versions. 11812 11813 2007-11-04 Kevin McCullough <kmccullough (a] apple.com> 11814 11815 Reviewed by Maciej. 11816 11817 - This patch involves several changes, all of them were noticed that 11818 they were needed by the work being done in WebKit to get Drosera and 11819 WebKit working together on Windows. 11820 - The changes are: 11821 1) Added a debugger console for output messages. 11822 2) Drosera now listens for the WebKit server (before, the server would 11823 have to be running before Drosera was started.) 11824 3) Fixed a bug where the WebView started out as 0x0 pixels. 11825 4) Fixed a bug when there is no scope. 11826 5) Added the HTML, JS, and CSS to the project file to make them easy to 11827 find. 11828 6) Made the ServerConnection functions virtual. 11829 11830 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens 11831 for the WebKit server. 11832 (DebuggerClient::DebuggerClient): 11833 (DebuggerClient::~DebuggerClient): 11834 (DebuggerClient::didFinishLoadForFrame): 11835 (DebuggerClient::serverConnected): 11836 (DebuggerClient::attemptToCreateServerConnection): 11837 * Drosera/win/DebuggerClient.h: Ditto. 11838 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no 11839 scope. 11840 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 11841 (DebuggerDocument::platformValueForScopeVariableNamed): 11842 * Drosera/win/Drosera.cpp: 11843 (_tWinMain): Added a console in debug for output messages. 11844 (Drosera::Drosera): Listen for server. 11845 (Drosera::initUI): The server now Initializes COM. 11846 (Drosera::serverConnected): Part of the listening for the server. 11847 (Drosera::attemptToCreateServerConnection): Ditto. 11848 * Drosera/win/Drosera.h: New interface for listening for the server. 11849 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS 11850 files to the VS project. 11851 * Drosera/win/ServerConnection.cpp: Part of listening for the server 11852 connection. 11853 (ServerConnection::ServerConnection): 11854 (ServerConnection::attemptToCreateServerConnection): 11855 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface 11856 methods. 11857 (ServerConnection::serverConnected): 11858 11859 2007-11-04 Alexey Proskuryakov <ap (a] webkit.org> 11860 11861 Reviewed by Maciej. 11862 11863 http://bugs.webkit.org/show_bug.cgi?id=15832 11864 fast/dom/gc-10.html crashes when run alone 11865 11866 Check for !done before using objects that can be already deallocated. 11867 11868 * DumpRenderTree/mac/EditingDelegate.mm: 11869 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): 11870 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): 11871 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): 11872 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): 11873 (-[EditingDelegate webView:shouldDeleteDOMRange:]): 11874 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): 11875 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): 11876 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): 11877 (-[EditingDelegate webViewDidBeginEditing:]): 11878 (-[EditingDelegate webViewDidChange:]): 11879 (-[EditingDelegate webViewDidEndEditing:]): 11880 (-[EditingDelegate webViewDidChangeTypingStyle:]): 11881 (-[EditingDelegate webViewDidChangeSelection:]): 11882 * DumpRenderTree/mac/FrameLoadDelegate.mm: 11883 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): 11884 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): 11885 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]): 11886 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]): 11887 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]): 11888 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]): 11889 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): 11890 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]): 11891 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]): 11892 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]): 11893 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]): 11894 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]): 11895 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]): 11896 (-[FrameLoadDelegate webView:willCloseFrame:]): 11897 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]): 11898 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]): 11899 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 11900 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): 11901 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): 11902 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]): 11903 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]): 11904 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]): 11905 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]): 11906 11907 2007-11-04 Mark Rowe <mrowe (a] apple.com> 11908 11909 Build fix. Don't use Carbon.h as the prefix header as it triggers 11910 warnings that would otherwise be suppressed due to it being a system header. 11911 11912 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 11913 11914 2007-11-03 Maciej Stachowiak <mjs (a] apple.com> 11915 11916 Rubber stamped by Adam. 11917 11918 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them 11919 11920 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 11921 11922 2007-11-03 David D. Kilzer <ddkilzer (a] webkit.org> 11923 11924 Sort files(...); sections of Xcode project files. 11925 11926 Rubber-stamped by Darin Adler. 11927 11928 * DrawTest/DrawTest.xcodeproj/project.pbxproj: 11929 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: 11930 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 11931 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: 11932 11933 2007-11-03 David D. Kilzer <ddkilzer (a] webkit.org> 11934 11935 Script to sort "files(...);" sections in Xcode project.pbxproj files. 11936 11937 Reviewed by Darin Adler. 11938 11939 * Scripts/sort-Xcode-project-file: Added. 11940 11941 2007-11-02 Darin Adler <darin (a] apple.com> 11942 11943 * Scripts/run-sunspider: Changed "--base" to "--set-baseline". 11944 11945 2007-11-02 Darin Adler <darin (a] apple.com> 11946 11947 Reviewed by Maciej. 11948 11949 * Scripts/run-sunspider: Pass the "--base" option through. 11950 11951 * Scripts/sunspider-compare-results: Don't check the number of parameters; let 11952 the real script do that. Default configuration to Release to match run-sunspider 11953 so we don't end up building Debug just to compare results. 11954 11955 2007-11-01 Adam Roben <aroben (a] apple.com> 11956 11957 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:" 11958 11959 Reviewed by Sam. 11960 11961 * Scripts/commit-log-editor: Show all the directories beneath the 11962 source root, instead of just the last one. 11963 11964 2007-11-01 Kevin Ollivier <kevino (a] theolliviers.com> 11965 11966 Reviewed by Adam Roben. 11967 11968 Print out an error message when the Windows build fails 11969 and provide guidance on how to find out what went wrong. 11970 11971 * Scripts/build-webkit: 11972 * Scripts/webkitdirs.pm: 11973 11974 2007-11-01 Alexey Proskuryakov <ap (a] webkit.org> 11975 11976 Rubber-stamped by Adam Roben. 11977 11978 Rolled out r27326 - debug CRT seems to cause no problems after all. 11979 11980 * DumpRenderTree/win/DumpRenderTree.vcproj: 11981 11982 2007-10-31 Adam Roben <aroben (a] apple.com> 11983 11984 Switch the Debug configuration to using the non-debug CRT 11985 11986 This matches WebKit. 11987 11988 Reviewed by Steve. 11989 11990 * DumpRenderTree/win/DumpRenderTree.vcproj: 11991 11992 2007-10-31 Antti Koivisto <antti (a] apple.com> 11993 11994 Reviewed by bdash. 11995 11996 Disable media tests when doing leak checking on Tiger. 11997 They crash in QuickTime (rdar://problem/5537157). 11998 11999 * Scripts/run-webkit-tests: 12000 12001 2007-10-29 Antti Koivisto <antti (a] apple.com> 12002 12003 Reviewed by Maciej. 12004 12005 Build media support by default on OSX only. 12006 12007 * Scripts/build-webkit: 12008 12009 2007-10-30 Kevin McCullough <kmccullough (a] apple.com> 12010 12011 - Made Adam the reviewer for a previous checkin. Not sure how it didn't 12012 get caught by the pre-commit hooks. 12013 12014 2007-10-30 Kevin McCullough <kmccullough (a] apple.com> 12015 12016 Reviewed by Adam. 12017 12018 - This is a collection of relatively unrelated changes and cleanups 12019 to Drosera to prepare it for interacting with WebKit. A lot of these 12020 changes are just correcting mistakes, for example removing included 12021 headers that are no longer needed. 12022 12023 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection 12024 this will be needed by the DebuggerClient. 12025 (DebuggerDocument::server): 12026 * Drosera/win/BaseDelegate.h: Removed unnecessary include. 12027 * Drosera/win/DebuggerClient.cpp: 12028 (DebuggerClient::didFinishLoadForFrame): Finished implementing. 12029 (DebuggerClient::didReceiveTitle): Added comment about its purpose. 12030 (DebuggerClient::createWebViewWithRequest): Added comment about its 12031 purpose. 12032 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward 12033 declarations. 12034 (DebuggerClient::webViewLoaded): Moved. 12035 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions 12036 file, since this was the only place it was used. 12037 (cfStringToBSTR): 12038 * Drosera/win/Drosera.h: Cleaned up the includes. 12039 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h 12040 * Drosera/win/HelperFunctions.h: Removed. 12041 12042 2007-10-30 Kevin McCullough <kmccullough (a] apple.com> 12043 12044 Reviewed by Adam. 12045 12046 - Small cleanup in the ServerConnection class. 12047 12048 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions 12049 and added an include. 12050 (ServerConnection::currentFrame): 12051 (ServerConnection::getCallerFrame): 12052 * Drosera/win/ServerConnection.h: Added comments, moved some functions, 12053 made a pointer into a COMPtr, and cleaned up the includes. 12054 12055 2007-10-29 Timothy Hatcher <timothy (a] apple.com> 12056 12057 Reviewed by John Sullivan. 12058 12059 - Place the Localizable.strings file in mac or win directories 12060 if that location exists. 12061 - Also look for UI_STRING in .c files. 12062 12063 * Scripts/extract-localizable-strings: 12064 12065 2007-10-30 Kevin McCullough <kmccullough (a] apple.com> 12066 12067 Reviewed by Adam. 12068 12069 - Set the eol-style to native and made all the line endings the same 12070 so that I avoid messy diffs that show eol changes. 12071 12072 * Drosera/win/ServerConnection.cpp: 12073 (ServerConnection::didParseSource): 12074 (ServerConnection::didEnterCallFrame): 12075 (ServerConnection::willExecuteStatement): 12076 (ServerConnection::willLeaveCallFrame): 12077 (ServerConnection::exceptionWasRaised): 12078 12079 2007-10-30 Kevin McCullough <kmccullough (a] apple.com> 12080 12081 Reviewed by Adam. 12082 12083 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the 12084 functionality that could not have existed previously without the new 12085 interfaces. 12086 (JSValueRefCreateWithBSTR): Added a helper function to easily convert 12087 from a BSTR to a JSValueRef. 12088 (DebuggerDocument::platformEvaluateScript): Implemented. 12089 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented. 12090 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 12091 Implemented. 12092 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented. 12093 * Drosera/win/HelperFunctions.h: Cleaned up some comments. 12094 * Drosera/win/ServerConnection.cpp: Added a helper function. 12095 (ServerConnection::getCallerFrame): 12096 * Drosera/win/ServerConnection.h: Added a helper function. 12097 12098 2007-10-29 Kevin McCullough <kmccullough (a] apple.com> 12099 12100 updated reviewers for my previous changelog. 12101 12102 2007-10-29 Kevin McCullough <kmccullough (a] apple.com> 12103 Reviewed by Maciej and Adam and Geoff. 12104 12105 - Minor mac-side improvements including moving a function to a more 12106 appropriate location, fixing a warning, and correctly checking 12107 exceptions. 12108 12109 * Drosera/DebuggerDocument.cpp: Corrected the exception checking. 12110 (DebuggerDocument::willExecuteStatement): 12111 (DebuggerDocument::didEnterCallFrame): 12112 (DebuggerDocument::willLeaveCallFrame): 12113 (DebuggerDocument::windowScriptObjectAvailable): 12114 (DebuggerDocument::callFunctionOnObject): 12115 * Drosera/mac/DebuggerClient.mm: Fixes a warning. 12116 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved 12117 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform 12118 because it doesn't require the ServerConnection at all. 12119 (NSStringCreateWithJSStringRef): Made an argument const. 12120 (JSValueRefCreateWithNSString): Made an argument const. 12121 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]): 12122 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 12123 * Drosera/mac/ServerConnection.h: Moved aforementioned function. 12124 * Drosera/mac/ServerConnection.mm: Ditto. 12125 (-[ServerConnection webView:didLoadMainResourceForDataSource:]): 12126 12127 2007-10-29 Sam Weinig <sam (a] webkit.org> 12128 12129 Reviewed by Adam Roben. 12130 12131 Add a globalFlag property to the LayoutTestController to allow cross-domain indications. 12132 12133 * DumpRenderTree/LayoutTestController.cpp: 12134 (LayoutTestController::LayoutTestController): 12135 (getGlobalFlagCallback): 12136 (setGlobalFlagCallback): 12137 (LayoutTestController::getJSClass): 12138 (LayoutTestController::staticValues): 12139 * DumpRenderTree/LayoutTestController.h: 12140 (LayoutTestController::globalFlag): 12141 (LayoutTestController::setGlobalFlag): 12142 12143 2007-10-29 Darin Adler <darin (a] apple.com> 12144 12145 Reviewed by Maciej. 12146 12147 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample 12148 resolution instead of its default. 12149 12150 2007-10-29 David Kilzer <ddkilzer (a] webkit.org> 12151 12152 Fixed showStatus() to print status for successfully resolved conflicts when using git. 12153 12154 Reviewed by Mark Rowe. 12155 12156 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict 12157 was successfully resolved, but this would not show any status because the change had 12158 already been cached in the index using "git add". The solution is to add an optional 12159 second argument to showStatus() which adds the "--cached" switch to the command. 12160 12161 * Scripts/resolve-ChangeLogs: 12162 (showStatus): 12163 12164 2007-10-28 Eric Seidel <eric (a] webkit.org> 12165 12166 Reviewed by Maciej and Geoff, in unison. 12167 12168 * Scripts/run-webkit-tests: remove broken --svg option 12169 12170 2007-10-28 Darin Adler <darin (a] apple.com> 12171 12172 Reviewed by Adam. 12173 12174 * Scripts/run-sunspider: Default to "Release" configuration rather than 12175 defaulting to the last configuration used as other scripts do. This can 12176 still be overriden on the command line with "--debug" if there's some 12177 reason to do so. Also fix a typo. 12178 12179 * Scripts/sunspider-compare-results: Fix a typo. 12180 12181 2007-10-26 Kevin McCullough <kmccullough (a] apple.com> 12182 12183 Reviewed by Adam. 12184 12185 - Implemented the WebScriptDebugListener functions now that the 12186 WebScriptDebugServer exists 12187 12188 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener 12189 functions. 12190 (ServerConnection::currentFrame): 12191 (ServerConnection::didLoadMainResourceForDataSource): 12192 (ServerConnection::didParseSource): 12193 (ServerConnection::failedToParseSource): 12194 (ServerConnection::didEnterCallFrame): 12195 (ServerConnection::willExecuteStatement): 12196 (ServerConnection::willLeaveCallFrame): 12197 (ServerConnection::exceptionWasRaised): 12198 * Drosera/win/ServerConnection.h: Removed unused arguments from the 12199 members arguments list. 12200 12201 2007-10-26 David Kilzer <ddkilzer (a] webkit.org> 12202 12203 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts 12204 <http://bugs.webkit.org/show_bug.cgi?id=15600> 12205 12206 Reviewed by Darin Adler. 12207 12208 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating 12209 a patch of the local changes and applying it with a fuzz level of 3 to the new file. 12210 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog 12211 file. Note that it may also be used as a stand-alone script. 12212 12213 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files. 12214 * Scripts/resolve-ChangeLogs: Added. 12215 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files. 12216 12217 2007-10-26 Mark Rowe <mrowe (a] apple.com> 12218 12219 Qt build fix. r27084 added a destructor implementation for LayoutTestController 12220 to the Qt port on the assumption that it was an implementation of the cross-platform 12221 LayoutTestController class. It is not, so it did not need to be changed. 12222 12223 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor. 12224 12225 2007-10-25 Mark Rowe <mrowe (a] apple.com> 12226 12227 Reviewed by Maciej. 12228 12229 Fix builds with code coverage enabled. 12230 12231 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS. 12232 12233 2007-10-25 Darin Adler <darin (a] apple.com> 12234 12235 Reviewed by Mark Rowe. 12236 12237 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js. 12238 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string. 12239 12240 2007-10-25 Stephanie <slewis (a] apple.com> 12241 12242 build Fix 12243 12244 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 12245 12246 2007-10-25 Stephanie <slewis (a] apple.com> 12247 12248 Reviewed by Mark Rowe, Adam Roben. 12249 12250 Weak link against WebCore so DumpRenderTree can be bundled with production roots. 12251 12252 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 12253 12254 2007-10-25 Alice Liu <alice.liu (a] apple.com> 12255 12256 Reviewed by Adam. 12257 12258 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows 12259 12260 Moving destructor into platform-specific files 12261 * DumpRenderTree/LayoutTestController.cpp: 12262 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 12263 (LayoutTestController::~LayoutTestController): 12264 * DumpRenderTree/qt/jsobjects.cpp: 12265 (LayoutTestController::~LayoutTestController): 12266 12267 LayoutTestController wasn't being destroyed 12268 * DumpRenderTree/win/DumpRenderTree.cpp: 12269 (runTest): 12270 12271 Added declspec 12272 * DumpRenderTree/win/EditingDelegate.h: 12273 12274 Reset certain values on the webview (or related delegate) that might 12275 have changed while running a test 12276 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 12277 (LayoutTestController::~LayoutTestController): 12278 12279 2007-10-25 Adam Roben <aroben (a] apple.com> 12280 12281 Make sunspider-compare-results work with relative paths 12282 12283 Reviewed by Sam. 12284 12285 * Scripts/sunspider-compare-results: Convert arguments to absolute 12286 paths before we chdir. 12287 12288 2007-10-25 Kevin McCullough <kmccullough (a] apple.com> 12289 12290 Reviewed by Sam. 12291 12292 - Implemented server calls now the WebScriptDebugServer exists. 12293 - Also removed no longer needed call to initialize CG. 12294 12295 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens 12296 automatically now. 12297 (_tWinMain): 12298 * Drosera/win/ServerConnection.cpp: Now uses the COM class. 12299 (ServerConnection::ServerConnection): 12300 (ServerConnection::~ServerConnection): 12301 (ServerConnection::pause): 12302 (ServerConnection::resume): 12303 (ServerConnection::stepInto): 12304 (ServerConnection::applicationTerminating): 12305 (ServerConnection::serverConnectionDidDie): 12306 * Drosera/win/ServerConnection.h: Now uses the COM class. 12307 12308 2007-10-24 George Staikos <staikos (a] kde.org> 12309 12310 Unbreak Qt build. 12311 12312 * Scripts/build-webkit: 12313 12314 2007-10-24 Adam Roben <aroben (a] apple.com> 12315 12316 Remove now-unnecessary call to InitializeCoreGraphics 12317 12318 WebKit takes care of this now. 12319 12320 Reviewed by Ada. 12321 12322 * DumpRenderTree/win/DumpRenderTree.cpp: 12323 (initialize): 12324 12325 2007-10-24 Adam Roben <aroben (a] apple.com> 12326 12327 Use WebTextRenderer in DRT 12328 12329 Reviewed by Ada. 12330 12331 * DumpRenderTree/win/DumpRenderTree.cpp: 12332 (initialize): Use WebTextRenderer instead of using AddFontResourceEx. 12333 12334 2007-10-24 Sven Herzberg <sven (a] imendio.com> 12335 12336 Reviewed by Mark Rowe. 12337 12338 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614 12339 Bug 15614: [GTK] qmake based backends don't build on OS X 12340 12341 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or 12342 GTK backend on a Mac 12343 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into 12344 isDarwin() to make it reusable in other places (like the workaround- 12345 for-prebuilt-qmake in build-webkit) 12346 12347 2007-10-24 David Kilzer <ddkilzer (a] webkit.org> 12348 12349 Refurbish update-webkit script. 12350 12351 Reviewed by Adam. 12352 12353 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of 12354 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use 12355 multi-argument version of system() for flexibility and security. Check for existence 12356 of Internal directory using -d test instead of -x. 12357 12358 2007-10-24 David Kilzer <ddkilzer (a] webkit.org> 12359 12360 Minor clean-up of prepare-ChangeLog script. 12361 12362 Reviewed by Adam. 12363 12364 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead 12365 of a string. Use multi-argument versions of open() and system() for flexibility and 12366 security. 12367 12368 2007-10-24 Alice Liu <alice.liu (a] apple.com> 12369 12370 Reviewed by Oliver. 12371 12372 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows 12373 12374 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to 12375 replay the saved events when we're still processing the mousedown that starts the drag 12376 * DumpRenderTree/win/EventSender.cpp: 12377 (doMouseMove): 12378 * DumpRenderTree/win/UIDelegate.cpp: 12379 (UIDelegate::doDragDrop): 12380 12381 2007-10-24 Kevin McCullough <kmccullough (a] apple.com> 12382 12383 Reviewed by Sam, Steve and Darin. 12384 12385 - Stubbed out the WebScriptDebugListener functionality in the Server 12386 Connection class to prepare it for receiving those callbacks. 12387 - Also I changed the instantiation of DebuggerClient, DebuggerDocument 12388 and the ServerConnection to not need to be initialized with a server 12389 name, since that is not the way we connect to the WebKit server. 12390 12391 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging 12392 no exception. Now it only loggs when there is an exception 12393 (DebuggerDocument::willExecuteStatement): 12394 (DebuggerDocument::didEnterCallFrame): 12395 (DebuggerDocument::willLeaveCallFrame): 12396 (DebuggerDocument::windowScriptObjectAvailable): 12397 (DebuggerDocument::callFunctionOnObject): 12398 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection 12399 to be instantiated with a server's name. 12400 (DebuggerClient::DebuggerClient): 12401 (DebuggerClient::didFinishLoadForFrame): 12402 * Drosera/win/DebuggerClient.h: Removed unsued variable. 12403 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with 12404 a server name. 12405 (Drosera::init): 12406 (Drosera::initServer): 12407 * Drosera/win/Drosera.h: No longer need the ServerConnection to be 12408 instantiated with a server's name. 12409 * Drosera/win/ServerConnection.cpp: 12410 (ServerConnection::ServerConnection): No longer needs a server name 12411 (ServerConnection::~ServerConnection): Only release the global context 12412 if there is one. 12413 (ServerConnection::serverConnectionDidDie): Stub for 12414 IWebScriptDebugListener 12415 (ServerConnection::QueryInterface): ditto 12416 (ServerConnection::AddRef): ditto 12417 (ServerConnection::Release): ditto 12418 (ServerConnection::didLoadMainResourceForDataSource): ditto 12419 (ServerConnection::didParseSource): ditto 12420 (ServerConnection::failedToParseSource): ditto 12421 (ServerConnection::didEnterCallFrame): ditto 12422 (ServerConnection::willExecuteStatement): ditto 12423 (ServerConnection::willLeaveCallFrame): ditto 12424 (ServerConnection::exceptionWasRaised): ditto 12425 * Drosera/win/ServerConnection.h: Stubbed out the 12426 IWebScriptDebugListener functions, and this class no longer needs to be 12427 instantiated with a server name. 12428 12429 2007-10-24 Lars Knoll <lars (a] trolltech.com> 12430 12431 Reviewed by Simon. 12432 12433 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases. 12434 12435 * DumpRenderTree/qt/jsobjects.h: 12436 12437 2007-10-24 Lars Knoll <lars (a] trolltech.com> 12438 12439 Reviewed by Simon. 12440 12441 add another command. 12442 12443 * DumpRenderTree/qt/jsobjects.cpp: 12444 (TextInputController::doCommand): 12445 12446 2007-10-24 Lars Knoll <lars (a] trolltech.com> 12447 12448 Reviewed by Simon. 12449 12450 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11. 12451 12452 * DumpRenderTree/qt/jsobjects.cpp: 12453 (EventSender::keyDown): 12454 * DumpRenderTree/qt/jsobjects.h: 12455 12456 2007-10-24 Lars Knoll <lars (a] trolltech.com> 12457 12458 Reviewed by Simon. 12459 12460 implement eventSender.keyDown(). 12461 12462 * DumpRenderTree/qt/jsobjects.cpp: 12463 (EventSender::keyDown): 12464 12465 2007-10-24 Lars Knoll <lars (a] trolltech.com> 12466 12467 Reviewed by Simon. 12468 12469 some smaller fixes to the editing support in DRT. Makes another few tests pass. 12470 12471 * DumpRenderTree/qt/DumpRenderTree.cpp: 12472 (WebCore::DumpRenderTree::DumpRenderTree): 12473 (WebCore::DumpRenderTree::initJSObjects): 12474 * DumpRenderTree/qt/jsobjects.cpp: 12475 (TextInputController::doCommand): 12476 12477 2007-10-24 Lars Knoll <lars (a] trolltech.com> 12478 12479 Reviewed by Simon. 12480 12481 first bit of implementation for the textinputcontroller. 12482 12483 * DumpRenderTree/qt/DumpRenderTree.cpp: 12484 (WebCore::DumpRenderTree::DumpRenderTree): 12485 * DumpRenderTree/qt/DumpRenderTree.h: 12486 * DumpRenderTree/qt/jsobjects.cpp: 12487 (TextInputController::TextInputController): 12488 (TextInputController::doCommand): 12489 * DumpRenderTree/qt/jsobjects.h: 12490 12491 2007-10-24 Lars Knoll <lars (a] trolltech.com> 12492 12493 Reviewed by Simon. 12494 12495 make the man webpage believe it has focus, so the editing tests work correctly. 12496 12497 * DumpRenderTree/qt/DumpRenderTree.cpp: 12498 (WebCore::DumpRenderTree::DumpRenderTree): 12499 12500 2007-10-24 Lars Knoll <lars (a] trolltech.com> 12501 12502 Reviewed by Simon. 12503 12504 implement layoutTestController.dumpEditingCallbacks() correctly. 12505 12506 * DumpRenderTree/qt/DumpRenderTree.cpp: 12507 (WebCore::DumpRenderTree::DumpRenderTree): 12508 * DumpRenderTree/qt/jsobjects.cpp: 12509 (LayoutTestController::reset): 12510 (LayoutTestController::dumpEditingCallbacks): 12511 12512 2007-10-24 Lars Knoll <lars (a] trolltech.com> 12513 12514 Reviewed by Simon. 12515 12516 Implement support for testing editing. 12517 12518 * DumpRenderTree/qt/DumpRenderTree.cpp: 12519 (WebCore::DumpRenderTree::DumpRenderTree): 12520 12521 2007-10-23 Sam Weinig <sam (a] webkit.org> 12522 12523 Check for null BSTR that can be passed to the UIDelegate methods 12524 from javascript null and undefined. Fixes a failing test case on 12525 Windows (fast/dom/Window/alert-undefined.html) 12526 12527 Reviewed by Eric Seidel. 12528 12529 * DumpRenderTree/win/UIDelegate.cpp: 12530 (UIDelegate::runJavaScriptAlertPanelWithMessage): 12531 (UIDelegate::runJavaScriptConfirmPanelWithMessage): 12532 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): 12533 (UIDelegate::webViewAddMessageToConsole): 12534 12535 2007-10-23 Maciej Stachowiak <mjs (a] apple.com> 12536 12537 Reviewed by Darin Adler. 12538 12539 Don't print a massive pile of setenvs from tools that automatically build testkjs. 12540 12541 * Scripts/build-testkjs: 12542 12543 2007-10-23 Maciej Stachowiak <mjs (a] apple.com> 12544 12545 Reviewed by Darin Adler. 12546 12547 - add wrapper that finds the right copy of testkjs 12548 12549 * Scripts/sunspider-compare-results: Added. 12550 12551 2007-10-23 Kevin McCullough <kmccullough (a] apple.com> 12552 12553 Reviewed by Sam. 12554 12555 - After talking with Steve I now see that the WebKit server must be 12556 running for DCOM to create the distributed objects, which makes sense 12557 and currently WebKit only allows one instance to be running at a time 12558 which avoids accidentally connecting to the wrong server 12559 - In light of this I have removed the code for the attach box and 12560 NotificationServer and known server names, since they are all extranious 12561 now. 12562 12563 * Drosera/win/Drosera.cpp: Removed notification classes and known server 12564 names. 12565 (_tWinMain): Uses init instead of initUI. 12566 (droseraWndProc): No longer creats an attach dialog box. 12567 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and 12568 it's not manditory to call init before doing COM stuff. 12569 (Drosera::init): calls initUI and will call attach when the 12570 functionality exists. 12571 (Drosera::initUI): Has changed very little. 12572 (Drosera::attach): Changed the signature to reflect that we no longer 12573 need the dictionary of known server names. 12574 * Drosera/win/Drosera.h: Removed notification classes and known server 12575 names. Also renamed and moved some functions. 12576 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box. 12577 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the 12578 headers to the resources folder. 12579 * Drosera/win/resource.h: Removed the Attach box. 12580 12581 2007-10-22 Adam Roben <aroben (a] apple.com> 12582 12583 Windows build fix 12584 12585 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln. 12586 12587 2007-10-22 Kevin McCullough <kmccullough (a] apple.com> 12588 12589 - Removed a leak that was fixed. 12590 12591 * Scripts/run-webkit-tests: 12592 12593 2007-10-19 Kevin McCullough <kmccullough (a] apple.com> 12594 12595 Reviewed by Darin Adler. 12596 12597 - Changed the Client so that the DebuggerDocument now own the 12598 ServerConnection. This simplifies ownership and cleanup. 12599 12600 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the 12601 ServerConnection. 12602 (DebuggerClient::initWithServerName): 12603 (DebuggerClient::didFinishLoadForFrame): 12604 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the 12605 ServerConnection. 12606 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to 12607 until after we have a server which we are attached to. 12608 (Drosera::initUI): 12609 (Drosera::attach): 12610 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take 12611 out previously. 12612 12613 2007-10-22 Simon Hausmann <hausmann (a] kde.org> 12614 12615 Reviewed by Nikolas. 12616 12617 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows. 12618 12619 * Scripts/run-javascriptcore-tests: 12620 12621 2007-10-22 Simon Hausmann <hausmann (a] kde.org> 12622 12623 Reviewed by Nikolas. 12624 12625 Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS. 12626 12627 * Scripts/build-drosera: 12628 * Scripts/build-dumprendertree: 12629 * Scripts/build-testkjs: 12630 * Scripts/build-webkit: 12631 * Scripts/run-javascriptcore-tests: 12632 * Scripts/run-sunspider: 12633 * Scripts/run-webkit-tests: 12634 * Scripts/webkitdirs.pm: 12635 12636 2007-10-22 Andrew Wellington <proton (a] wiretapped.net> 12637 12638 Reviewed by Mark Rowe. 12639 12640 Fix for local database support after r26879 12641 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set 12642 12643 * Scripts/build-webkit: 12644 12645 2007-10-22 Holger Freyther <zecke (a] selfish.org> 12646 12647 Reviewed by Simon Hausmann <hausmann (a] kde.org>. 12648 12649 - Do not build testkjs as an application bundle. This is 12650 needed for run-javascriptcore-tests on OSX. 12651 - Also, based on r26633, allow to test the WebKit/Qt port on OSX. 12652 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set 12653 as we do not have -rpath on OSX. 12654 12655 * DumpRenderTree/qt/DumpRenderTree.pro: 12656 * Scripts/run-webkit-tests: 12657 12658 2007-10-22 Simon Hausmann <hausmann (a] kde.org> 12659 12660 Reviewed by aroben. 12661 12662 Fix support for Signed-off-by detection in prepare-ChangeLog 12663 --git-commit. The Signed-off-by tag does not appear in the header 12664 but usually at the end. 12665 12666 * Scripts/prepare-ChangeLog: 12667 12668 2007-10-21 Mark Rowe <mrowe (a] apple.com> 12669 12670 Reviewed by Eric. 12671 12672 Fix run-javascriptcore-tests for Gtk. 12673 12674 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk. 12675 12676 2007-10-20 Eric Seidel <eric (a] webkit.org> 12677 12678 Reviewed by aroben. 12679 12680 * Scripts/find-extra-includes: fix path matching regex to not match ".patch" 12681 12682 2007-10-20 Eric Seidel <eric (a] webkit.org> 12683 12684 Reviewed by darin. 12685 12686 Add improved argument handling to run-sunspider, including 12687 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help 12688 Also re-factor code into subroutines 12689 12690 * Scripts/build-dumprendertree: removed bogus comments 12691 * Scripts/build-testkjs: Added. 12692 * Scripts/run-javascriptcore-tests: use build-testkjs 12693 * Scripts/run-sunspider: improved argument handling, abstraction 12694 * Scripts/run-webkit-tests: improved abstraction 12695 12696 2007-10-20 Matt Lilek <webkit (a] mattlilek.com> 12697 12698 Not reviewed, Windows build fix. 12699 12700 * DumpRenderTree/win/EventSender.cpp: 12701 (keyDownCallback): 12702 12703 2007-10-20 Darin Adler <darin (a] apple.com> 12704 12705 Reviewed by Tim Hatcher. 12706 12707 - http://bugs.webkit.org/show_bug.cgi?id=15544 12708 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to 12709 not rely on Apple-specific key codes 12710 12711 * DumpRenderTree/mac/EventSendingController.mm: 12712 (-[EventSendingController keyDown:withModifiers:]): 12713 Added named key "rightArrow". Later we could have a whole table of these. 12714 Also tweaked modifiers code a little. 12715 12716 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto. 12717 12718 2007-10-19 Darin Adler <darin (a] apple.com> 12719 12720 Reviewed by Eric. 12721 12722 - http://bugs.webkit.org/show_bug.cgi?id=15566 12723 possible fix for leak seen in DumpRenderTree 12724 12725 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue): 12726 Delete the item if it's not put on the queue, since the caller has 12727 no way of knowing that. Would be better to have the parameter type 12728 be auto_ptr to express the fact that we take ownership. 12729 12730 - unrelated change 12731 12732 * Drosera/mac/main.m: Add missing include. 12733 12734 2007-10-19 Kevin McCullough <kmccullough (a] apple.com> 12735 12736 Reviewed by Adam. 12737 12738 - This change should be identical but for some reason was not working 12739 on my machine. 12740 12741 * Scripts/prepare-ChangeLog: 12742 12743 2007-10-19 Kevin McCullough <kmccullough (a] apple.com> 12744 12745 Reviewed by Oliver and Tim. 12746 12747 - Made use of RetainPtr to avoid retain and release issues and moved the 12748 log function to DebuggerDocumentPlatform, which seems to be a more 12749 logical place for it to live. 12750 - Also moved knownServers from the ServerConnection to 12751 DebuggerApplication to match the Windows code and because it makes sense 12752 that a connection knows its own server but not all of them. 12753 12754 * Drosera/mac/DebuggerClient.h: Moved the log function to 12755 DebuggerDocumentPlatform. 12756 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server 12757 Because it's owned by an own Ptr in DebuggerDocument. Also moved the 12758 call for the server name up from the ServerConnection class. 12759 (-[DebuggerClient dealloc]): 12760 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call 12761 for the server name up from the ServerConnection. 12762 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr. 12763 (DebuggerDocument::platformPause): 12764 (DebuggerDocument::platformResume): 12765 (DebuggerDocument::platformStepInto): 12766 (DebuggerDocument::platformEvaluateScript): 12767 (DebuggerDocument::getPlatformCurrentFunctionStack): 12768 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 12769 (DebuggerDocument::platformValueForScopeVariableNamed): 12770 (DebuggerDocument::platformLog): Log directly from here. No need to call 12771 DebuggerClient. 12772 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The 12773 way I see it, a ServerConnection should only know about its connection 12774 and the group of all possible servers should be kept by the 12775 application. 12776 * Drosera/mac/ServerConnection.mm: Removed knownServer but added 12777 currentServerName, it makes sense that the connection should know that 12778 name. 12779 (-[ServerConnection currentServerName]): 12780 12781 2007-10-19 Kevin McCullough <kmccullough (a] apple.com> 12782 12783 Reviewed by Adam. 12784 12785 - Integrated changes from mac drosera. Recently I've encapsulated 12786 out the server connection object from the rest of Drosera because 12787 it is very platform dependent right now and RPC is not implemented on 12788 windows. This functionality, of communicating with the WebKit server 12789 is the next area I will be focusing on in Windows. 12790 12791 - Other changes and cleanup were made to organize the code and add notes 12792 on which parts still need work. Also some mac code is added and 12793 commented out, to act as pseudocode for the logic of those parts. 12794 12795 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart 12796 pointer. 12797 * Drosera/config.h: Added whitespace. 12798 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of 12799 these files got moved into Drosera.h/cpp 12800 * Drosera/win/DebuggerApplication.h: Removed. 12801 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring 12802 happened here to better match the logic flow of the same code on the 12803 mac side and to use the new ServerConnection class. 12804 (DebuggerClient::DebuggerClient): Constructor that takes a server name. 12805 (DebuggerClient::initWithServerName): Initializer that will set up the 12806 class to use a ServerConnection object. This was necessary so I could 12807 create a DebuggerClient without having to initilaize it at 12808 construction. 12809 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client 12810 will be the UIDelegate and FrameLoadDelegate. 12811 (DebuggerClient::AddRef): For IUnknown. 12812 (DebuggerClient::Release): For IUnknown. 12813 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate 12814 this still needs to set the global context of the server, but 12815 IWebFrame does not have an accessor for the global context yet. 12816 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate 12817 this is a pass through for the same function in the document. 12818 (DebuggerClient::didReceiveTitle): Unimplemented part of 12819 FrameLoadDelegate this would change the title of the window. 12820 (DebuggerClient::createWebViewWithRequest): Part of the 12821 FrameLoadDelegate. This is about new windows via Window.open() and 12822 how their delegates are set. 12823 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the 12824 UIDelegate. Just a debug function for printing messages. 12825 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h 12826 because the Client should be the UIDelegate and FrameLoadDelegate 12827 to match the delegates on mac. 12828 (DebuggerClient::webViewLoaded): Added accessor method. 12829 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently 12830 forgotten to add this file before. This is where the platform 12831 dependent versions of the Documents functions live. Most of these are 12832 unimplemented because some piece of functionality does not exist on 12833 Windows yet. 12834 (DebuggerDocument::platformPause): 12835 (DebuggerDocument::platformResume): 12836 (DebuggerDocument::platformStepInto): 12837 (DebuggerDocument::platformEvaluateScript): 12838 (DebuggerDocument::getPlatformCurrentFunctionStack): 12839 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 12840 (DebuggerDocument::platformValueForScopeVariableNamed): 12841 (DebuggerDocument::platformLog): 12842 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate 12843 responsibilities becaue they belong in the Client. Also I laid the 12844 groundwork for attaching Drosera to a WebKit process 12845 (attachWndProc): Now if a server is selected the Client becomes it's 12846 delegate. 12847 (Drosera::Drosera): Added the construction of the Client and dictionary 12848 of server names. 12849 (Drosera::initUI): This is no longer the delegates, the Client is. 12850 (Drosera::webViewLoaded): Now asks the Client instead of holding local 12851 state. 12852 (Drosera::applicationDidFinishLaunching): Placeholder for needed 12853 notification registration when it's possible to implement. 12854 (Drosera::serverLoaded): Ditto 12855 (Drosera::serverUnloaded): Ditto 12856 (Drosera::attach): Attach Drosera to the WebKit server. 12857 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment. 12858 (Drosera::getInst): 12859 (Drosera::setInst): 12860 (Drosera::knownServers): 12861 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication 12862 and added the ServerConnection. 12863 * Drosera/win/DroseraPrefix.h: Added an ifndef check. 12864 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part 12865 Most of the functions are completely unimlemented because they cannot 12866 connect with the WebKit server, because one does not exist on Windows 12867 yet. 12868 (ServerConnection::initWithServerName): 12869 (ServerConnection::~ServerConnection): 12870 (ServerConnection::setGlobalContext): 12871 (ServerConnection::pause): 12872 (ServerConnection::resume): 12873 (ServerConnection::stepInto): 12874 (ServerConnection::switchToServerNamed): 12875 (ServerConnection::applicationTerminating): 12876 (ServerConnection::serverConnectionDidDie): 12877 (ServerConnection::currentFrame): 12878 * Drosera/win/ServerConnection.h: Added. Ditto. 12879 (ServerConnection::ServerConnection): 12880 12881 2007-10-19 Alice Liu <alice.liu (a] apple.com> 12882 12883 Reviewed by Darin Adler. 12884 12885 Fix for these broken layout tests on Windows: 12886 12887 fast/forms/focus-selection-input.html 12888 fast/forms/focus-selection-textarea.html 12889 fast/forms/select-accesskey.html 12890 12891 * DumpRenderTree/win/EventSender.cpp: 12892 (keyDownCallback): 12893 correct the VK code for alt key. 12894 12895 2007-10-19 Eric Seidel <eric (a] webkit.org> 12896 12897 Reviewed by Mark Rowe. 12898 12899 Make the GtkLauncher code slightly more readable. 12900 12901 * GtkLauncher/main.cpp: 12902 (setupMainMenu): Added. 12903 (setupMainWindowUI): Added. 12904 (main): 12905 12906 2007-10-19 Maciej Stachowiak <mjs (a] apple.com> 12907 12908 Rubber stamped by Adam. 12909 12910 - don't delay-load WebKit in DumpRenderTree. 12911 12912 * DumpRenderTree/win/DumpRenderTree.vcproj: 12913 12914 2007-10-18 Dan Bernstein <mitz (a] apple.com> 12915 12916 Reviewed by Adam Roben. 12917 12918 - fix <rdar://problem/5313523> 12919 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard 12920 12921 * DumpRenderTree/mac/DumpRenderTree.mm: 12922 (dump): Changed to use _responseMIMEType. 12923 12924 2007-10-17 Adam Roben <aroben (a] apple.com> 12925 12926 Make it possible to have Windows-specific tests and results 12927 12928 When searching for tests to run and the Skipped file, we will only 12929 look in platform/win and the cross-platform directory. When looking 12930 for expected results, we will look in platform/win, then 12931 platform/mac-leopard, then platform/mac, then finally the 12932 cross-platform directory. 12933 12934 Reviewed by Sam. 12935 12936 * Scripts/run-webkit-tests: 12937 (sub expectedDirectoryForTest): Search in mac-leopard and mac before 12938 searching in the cross-platform directory. 12939 (sub buildPlatformHierarchy): Removed some unneeded calls to 12940 dirname/basename. 12941 12942 2007-10-17 Adam Roben <aroben (a] apple.com> 12943 12944 Add back the call to register WebKit that we had before WebKitInitializer existed 12945 12946 This is needed to ensure that the right WebKit is used when 12947 instantiating COM objects. 12948 12949 Reviewed by Oliver. 12950 12951 * DumpRenderTree/win/debug_internal.vsprops: Define 12952 DEBUG_WEBKIT_HAS_SUFFIX. 12953 * DumpRenderTree/win/DumpRenderTree.cpp: 12954 (initialize): 12955 12956 2007-10-17 Adam Roben <aroben (a] apple.com> 12957 12958 Import File::Basename in webkitdirs since we use it 12959 12960 * Scripts/webkitdirs.pm: 12961 12962 2007-10-17 Kevin McCullough <kmccullough (a] apple.com> 12963 12964 - Updated the tiger leaks list to make the internal bots green. 12965 12966 * Scripts/run-webkit-tests: 12967 12968 2007-10-17 Adam Roben <aroben (a] apple.com> 12969 12970 Build fix for VC++ Express 12971 12972 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib 12973 and ole32.lib. 12974 12975 2007-10-16 Kevin McCullough <kmccullough (a] apple.com> 12976 12977 Reviewed by Sam. 12978 12979 - Minor mac improvements based on observations I made while implementing the 12980 Windows code. 12981 12982 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server 12983 then hand it to the Client who will retain it, it should just be the client who 12984 creates and owns the server. 12985 (-[DebuggerApplication attach:]): 12986 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name. 12987 * Drosera/mac/DebuggerClient.mm: Creates the server. 12988 (-[DebuggerClient initWithServerName:]): 12989 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but 12990 can instead forward declare what it needs. 12991 12992 2007-10-16 Darin Adler <darin (a] apple.com> 12993 12994 Reviewed by Geoff Garen. 12995 12996 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you 12997 want to turn failing tests into platform-specific test results. Also did a 12998 number of tweaks, including fixing a potential bug where expectedDirectoryForTest 12999 would take the type of results into account only some of the time. 13000 13001 2007-10-16 Adam Roben <aroben (a] apple.com> 13002 13003 Add a new nightly launcher script for Windows 13004 13005 This new script is for versions of Safari that don't delay-load 13006 WebKit. I had to make FindSafari be able to print out the nightly 13007 launcher script on stdout because Windows shell scripts can't capture 13008 the output from a command into an environment variable. 13009 13010 Reviewed by Steve. 13011 13012 * FindSafari/FindSafari.cpp: 13013 (_tmain): Added /printSafariLauncher option. 13014 * Scripts/run-webkit-nightly.cmd: Added. 13015 13016 2007-10-16 Adam Roben <aroben (a] apple.com> 13017 13018 Replace WebKitInitializer with FindSafari 13019 13020 We now rely on setting the PATH environment variable to tell Windows 13021 where to find WebKit and its dependencies (similar to 13022 DYLD_FRAMEWORK_PATH on Mac). 13023 13024 This change also make DumpRenderTree no longer delay-load WebKit. 13025 13026 Reviewed by Sam. 13027 13028 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added 13029 FindSafari. 13030 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer. 13031 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against 13032 WebKitInitializer, don't delay-load WebKit. 13033 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp. 13034 * Scripts/run-webkit-tests: Ditto. 13035 * Scripts/webkitdirs.pm: 13036 (sub setPathForRunningWebKitApp): Added. 13037 * WebKitInitializer/WebKitInitializer.cpp: Removed. 13038 * WebKitInitializer/WebKitInitializer.h: Removed. 13039 * WebKitInitializer/WebKitInitializer.vcproj: Removed. 13040 * WebKitInitializer/debug.vsprops: Removed. 13041 * WebKitInitializer/debug_internal.vsprops: Removed. 13042 * WebKitInitializer/release.vsprops: Removed. 13043 13044 2007-10-16 Adam Roben <aroben (a] apple.com> 13045 13046 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location 13047 13048 http://bugs.webkit.org/show_bug.cgi?id=15532 13049 13050 FindSafari simply prints the location of an installed Safari.exe on 13051 stdout. 13052 13053 Reviewed by Darin Adler. 13054 13055 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp. 13056 (getStringValue): 13057 (getWebViewCLSID): 13058 (getInstalledWebKitDirectory): 13059 (_tmain): 13060 * FindSafari/FindSafari.vcproj: Added. 13061 * Scripts/webkitdirs.pm: 13062 (sub installedSafariPath): Added. Calls FindSafari on Windows. 13063 13064 2007-10-16 Adam Roben <aroben (a] apple.com> 13065 13066 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration 13067 13068 Reviewed by Kevin McCullough. 13069 13070 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix 13071 when referring to WebKit.dll. 13072 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix. 13073 * DumpRenderTree/win/debug_internal.vsprops: Ditto. 13074 * DumpRenderTree/win/release.vsprops: Ditto. 13075 * Scripts/run-safari: Don't pass /debug to Safari anymore because we 13076 never have a _debug suffix on WebKit.dll. 13077 * WebKitInitializer/WebKitInitializer.cpp: 13078 (initializeWebKit): Only use the _debug suffix for WebKit.dll when 13079 specified. 13080 * WebKitInitializer/debug_internal.vsprops: Added 13081 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition. 13082 13083 2007-10-16 Darin Adler <darin (a] apple.com> 13084 13085 Reviewed by Adele. 13086 13087 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): 13088 Remove now-unneeded control/alt key hack; the tests have been updated. 13089 13090 2007-10-16 Kevin McCullough <kmccullough (a] apple.com> 13091 13092 - Updated leaks list because our internal bot upgraded it's version of leopard and 13093 one of the leaks was fixed between that revision and the bot's previous version of 13094 leopard. 13095 13096 * Scripts/run-webkit-tests: 13097 13098 2007-10-15 Kevin McCullough <kmccullough (a] apple.com> 13099 13100 Reviewed by Tim. 13101 13102 - I encapsulated out the server connecton functionality because it is a specific part 13103 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved 13104 into WebCore and C++. But if it is encapsulated out it can be easily replaced on 13105 Windows. So the majority of this patch is moving preexisting functionality. 13106 13107 - Also I removed the prefix header and changed to use config.h because it is more 13108 standard on how we use config.h in windows and it didn't make much sense to keep 13109 the prefix header and the config.h 13110 13111 * Drosera/DebuggerDocument.cpp: 13112 (DebuggerDocument::DebuggerDocument): 13113 * Drosera/DebuggerDocument.h: 13114 * Drosera/config.h: 13115 * Drosera/mac/DebuggerApplication.mm: 13116 (-[DebuggerApplication attach:]): 13117 * Drosera/mac/DebuggerClient.h: 13118 * Drosera/mac/DebuggerClient.mm: 13119 (-[DebuggerClient initWithServerConnection:]): 13120 (-[DebuggerClient dealloc]): 13121 (-[DebuggerClient windowDidLoad]): 13122 (-[DebuggerClient windowWillClose:]): 13123 (-[DebuggerClient webView:didFinishLoadForFrame:]): 13124 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): 13125 * Drosera/mac/DebuggerDocumentPlatform.mm: 13126 (DebuggerDocument::platformPause): 13127 (DebuggerDocument::platformResume): 13128 (DebuggerDocument::platformStepInto): 13129 (DebuggerDocument::platformEvaluateScript): 13130 (DebuggerDocument::getPlatformCurrentFunctionStack): 13131 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 13132 (DebuggerDocument::platformValueForScopeVariableNamed): 13133 (DebuggerDocument::platformLog): 13134 * Drosera/mac/Drosera.pch: Removed. 13135 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: 13136 * Drosera/mac/ServerConnection.h: Added. 13137 * Drosera/mac/ServerConnection.mm: Added. 13138 (-[ServerConnection initWithServerName:]): 13139 (-[ServerConnection dealloc]): 13140 (-[ServerConnection setGlobalContext:]): 13141 (-[ServerConnection pause]): 13142 (-[ServerConnection resume]): 13143 (-[ServerConnection stepInto]): 13144 (-[ServerConnection switchToServerNamed:]): 13145 (-[ServerConnection applicationTerminating:]): 13146 (-[ServerConnection serverConnectionDidDie:]): 13147 (-[ServerConnection webView:didLoadMainResourceForDataSource:]): 13148 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]): 13149 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]): 13150 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]): 13151 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]): 13152 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]): 13153 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]): 13154 (-[ServerConnection currentFrame]): 13155 (-[ServerConnection webScriptAttributeKeysForScriptObject:]): 13156 (-[ServerConnection knownServers]): 13157 13158 2007-10-15 David Kilzer <ddkilzer (a] webkit.org> 13159 13160 Reviewed by Eric. 13161 13162 - fix http://bugs.webkit.org/show_bug.cgi?id=15002 13163 Script to automatically search nightly builds for regressions (bisect-builds) 13164 13165 * Scripts/bisect-builds: Added. 13166 13167 2007-10-14 Maciej Stachowiak <mjs (a] apple.com> 13168 13169 Reviewed by Darin Adler. 13170 13171 - New JavaScript benchmark 13172 http://bugs.webkit.org/show_bug.cgi?id=15515 13173 13174 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the 13175 current development or release build of JavaScriptCore. 13176 13177 2007-10-15 Mark Rowe <mrowe (a] apple.com> 13178 13179 Reviewed by Sam. 13180 13181 Fix 'run-webkit-tests --qt' complaining about the --qt argument. 13182 13183 * Scripts/webkitdirs.pm: 13184 - Change checkArgv to remove the options from @ARGV to prevent 13185 them from interfering with further option processing. 13186 - Fix logic error in determineIsQt that would prevent it from bailing out early. 13187 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning 13188 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac 13189 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree. 13190 13191 2007-10-15 Darin Adler <darin (a] apple.com> 13192 13193 Reviewed by Sam. 13194 13195 - added logging of window.prompt and window.confirm 13196 13197 * DumpRenderTree/mac/UIDelegate.mm: 13198 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]): 13199 Implement the recommended delegate rather than the deprecated one. 13200 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): 13201 Added. 13202 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]): 13203 Added. 13204 13205 * DumpRenderTree/win/UIDelegate.h: 13206 * DumpRenderTree/win/UIDelegate.cpp: 13207 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string. 13208 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added. 13209 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added. 13210 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string. 13211 13212 2007-10-15 Alice Liu <alice.liu (a] apple.com> 13213 13214 Reviewed by Sam Weinig. 13215 13216 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail 13217 13218 * DumpRenderTree/win/DumpRenderTree.cpp: 13219 (runTest): Like on mac, before running each test, set the webview's policy delegate to null 13220 (main): allocate the global policy delegate for DRT's custom use 13221 * DumpRenderTree/win/DumpRenderTree.vcproj: 13222 Adding files to project 13223 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate 13224 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 13225 (LayoutTestController::setCustomPolicyDelegate): 13226 set the webview's policy delegate to DRT's custom one if the test requests it. 13227 * DumpRenderTree/win/PolicyDelegate.cpp: Added. 13228 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm 13229 (PolicyDelegate::PolicyDelegate): 13230 (PolicyDelegate::QueryInterface): 13231 (PolicyDelegate::AddRef): 13232 (PolicyDelegate::Release): 13233 (PolicyDelegate::decidePolicyForNavigationAction): 13234 * DumpRenderTree/win/PolicyDelegate.h: Added. 13235 (PolicyDelegate::decidePolicyForNewWindowAction): 13236 (PolicyDelegate::decidePolicyForMIMEType): 13237 (PolicyDelegate::unableToImplementPolicyWithError): 13238 13239 2007-10-14 Holger Hans Peter Freyther <zecke (a] selfish.org> 13240 13241 Reviewed by Mark. 13242 13243 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line 13244 when querying for QMAKE_MKSPECS. 13245 13246 2007-10-14 Andrew Wellington <proton (a] wiretapped.net> 13247 13248 Reviewed by Adam Roben. 13249 13250 Fix run-webkit-tests is too greedy calculating platform hierarchy 13251 http://bugs.webkit.org/show_bug.cgi?id=15465 13252 13253 Fix run-webkit-tests being too greedy in trying to split the platform name up 13254 causing it to try and find tests in every directory above the first "-" in the 13255 path to the LayoutTests 13256 13257 * Scripts/run-webkit-tests: 13258 13259 2007-10-14 Oleg Sukhodolsky <son.two (a] gmail.com> 13260 13261 Reviewed by Darin Adler. 13262 13263 http://bugs.webkit.org/show_bug.cgi?id=15006 13264 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt() 13265 to reduce code duplication. 13266 13267 * Scripts/build-webkit: 13268 * Scripts/webkitdirs.pm: 13269 buildQMakeProject() renamed to buildQMakeQtProject(). 13270 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory), 13271 unused $colorize has been removed. 13272 13273 === Start merge of feature-branch 2007-10-12 === 13274 13275 2007-10-08 Eric Seidel <eric (a] webkit.org> 13276 13277 Reviewed by Mark Rowe. 13278 13279 * Scripts/build-webkit: add --help, remove unused --color 13280 13281 2007-10-07 Eric Seidel <eric (a] webkit.org> 13282 13283 Reviewed by darin. 13284 13285 * Drosera/mac/DebuggerDocumentPlatform.mm: 13286 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString 13287 13288 2007-10-03 Rob Buis <buis (a] kde.org> 13289 13290 Reviewed by Olliej. 13291 13292 Adapt to changed location of Ahem font. 13293 13294 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 13295 13296 2007-10-02 Eric Seidel <eric (a] webkit.org> 13297 13298 Reviewed by Adam Roben. 13299 13300 Make pixel tests more useful! 13301 Finally fix the image diff 0.00% mystery problem 13302 Highlight any image differences in the image diff. 13303 Add a link from image diffs back to original test file. 13304 13305 * DumpRenderTree/mac/ImageDiff.m: 13306 (compareImages): highlight any differences 13307 (computePercentageDifferent): round to two decimal places 13308 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks 13309 13310 2007-10-02 Eric Seidel <eric (a] webkit.org> 13311 13312 Reviewed by Alexey Proskuryakov. 13313 13314 * Scripts/run-webkit-tests: print the % image difference on main results page 13315 13316 2007-10-02 Mark Rowe <mrowe (a] apple.com> 13317 13318 Reviewed by Oliver. 13319 13320 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk. 13321 13322 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from. 13323 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from. 13324 13325 2007-10-01 Mark Rowe <mrowe (a] apple.com> 13326 13327 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches. 13328 13329 2007-09-25 Eric Seidel <eric (a] webkit.org> 13330 13331 Reviewed by Mark Rowe. 13332 13333 DerivedSources.make was finding "ENABLE_SVG" in the string 13334 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning 13335 quite correctly. 13336 13337 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental 13338 13339 2007-09-25 Mark Rowe <mrowe (a] apple.com> 13340 13341 Rubber-stamped by Eric. 13342 13343 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line. 13344 This makes it possible to automate nightly builds for the feature-branch. 13345 13346 2007-07-11 Nikolas Zimmermann <zimmermann (a] kde.org> 13347 13348 Rubber stamped by Mark. 13349 13350 Enable svg experimental features as default here in feature-branch. 13351 13352 * Scripts/build-webkit: 13353 13354 2007-06-29 Antti Koivisto <antti (a] apple.com> 13355 13356 Reviewed by Weinig. 13357 13358 Add VIDEO flag for timed media features 13359 13360 * Scripts/build-webkit 13361 13362 === End merge of feature-branch 2007-10-12 === 13363 13364 2007-10-11 Kevin McCullough <kmccullough (a] apple.com> 13365 13366 Reviewed by Darin Adler. 13367 13368 - Updated rational for the leaks list to be more clear. 13369 13370 * Scripts/run-webkit-tests: 13371 13372 2007-10-11 Kevin McCullough <kmccullough (a] apple.com> 13373 13374 Rubber Stamp by Sam. 13375 13376 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard. 13377 I believe there was a radar on this leak, it looks familiar to me, but I could not find it. 13378 13379 * Scripts/run-webkit-tests: 13380 13381 2007-10-10 Simon Hausmann <hausmann (a] kde.org> 13382 13383 Reviewed by Lars. 13384 13385 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra 13386 includes are needed for INT_MAX, std::auto_ptr and the like. 13387 13388 * DumpRenderTree/qt/main.cpp: 13389 13390 2007-10-09 Lars Knoll <lars (a] trolltech.com> 13391 13392 Reviewed by Simon. 13393 13394 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU. 13395 13396 * DumpRenderTree/qt/jsobjects.cpp: 13397 (LayoutTestController::encodeHostName): 13398 (LayoutTestController::decodeHostName): 13399 * DumpRenderTree/qt/jsobjects.h: 13400 13401 2007-10-09 Lars Knoll <lars (a] trolltech.com> 13402 13403 Reviewed by Simon. 13404 13405 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. 13406 13407 * DumpRenderTree/qt/DumpRenderTree.cpp: 13408 (WebCore::WebPage::createFrame): 13409 (WebCore::DumpRenderTree::DumpRenderTree): 13410 (WebCore::DumpRenderTree::titleChanged): 13411 * DumpRenderTree/qt/DumpRenderTree.h: 13412 * DumpRenderTree/qt/jsobjects.cpp: 13413 (LayoutTestController::reset): 13414 * DumpRenderTree/qt/jsobjects.h: 13415 13416 2007-10-09 Lars Knoll <lars (a] trolltech.com> 13417 13418 Reviewed by Simon. 13419 13420 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList(). 13421 13422 * DumpRenderTree/qt/DumpRenderTree.h: 13423 * DumpRenderTree/qt/jsobjects.cpp: 13424 (LayoutTestController::clearBackForwardList): 13425 * DumpRenderTree/qt/jsobjects.h: 13426 13427 2007-10-09 Lars Knoll <lars (a] trolltech.com> 13428 13429 Reviewed by Simon. 13430 13431 make --git-reviewer work again. 13432 13433 * Scripts/prepare-ChangeLog: 13434 13435 2007-10-07 Holger Hans Peter Freyther <zecke (a] selfish.org> 13436 13437 Rubber stamped by Eric. 13438 13439 Connect to the "hovering-over-link" signal emitted by WebKitPage and 13440 show the current link inside the statusbar. 13441 This shows how to make use of this signal and allows to easily test 13442 http://bugs.webkit.org/show_bug.cgi?id=15299. 13443 13444 * GtkLauncher/main.cpp: 13445 (hoveringOverLink): 13446 (main): 13447 13448 2007-10-05 Lars Knoll <lars (a] trolltech.com> 13449 13450 add proper error messages to the FrameLoaderClient. 13451 Implement ChromeClientQt::closeWindowSoon and 13452 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO). 13453 Some fixes in DRT to make it work correctly with multiple windows. 13454 13455 Reviewed by Maciej. 13456 13457 * DumpRenderTree/qt/DumpRenderTree.cpp: 13458 (WebCore::DumpRenderTree::DumpRenderTree): 13459 (WebCore::DumpRenderTree::createWindow): 13460 (WebCore::DumpRenderTree::windowCount): 13461 * DumpRenderTree/qt/DumpRenderTree.h: 13462 * DumpRenderTree/qt/jsobjects.cpp: 13463 (LayoutTestController::maybeDump): 13464 (LayoutTestController::windowCount): 13465 * DumpRenderTree/qt/jsobjects.h: 13466 13467 2007-10-05 Lars Knoll <lars (a] trolltech.com> 13468 13469 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html. 13470 Add support for layoutTextController.setCanOpenWindows() to DRT 13471 fixing another 2 test cases in fast/dom/Window. 13472 13473 Reviewed by Maciej. 13474 13475 * DumpRenderTree/qt/DumpRenderTree.cpp: 13476 (WebCore::WebPage::WebPage): 13477 (WebCore::WebPage::createWindow): 13478 (WebCore::DumpRenderTree::resetJSObjects): 13479 (WebCore::DumpRenderTree::createWindow): 13480 * DumpRenderTree/qt/DumpRenderTree.h: 13481 * DumpRenderTree/qt/DumpRenderTree.pro: 13482 * DumpRenderTree/qt/jsobjects.cpp: 13483 (LayoutTestController::LayoutTestController): 13484 (LayoutTestController::reset): 13485 * DumpRenderTree/qt/jsobjects.h: 13486 * DumpRenderTree/qt/main.cpp: 13487 * DumpRenderTree/qt/testplugin.cpp: Added. 13488 * DumpRenderTree/qt/testplugin.h: Added. 13489 13490 2007-10-04 Sam Weinig <sam (a] webkit.org> 13491 13492 Rubber stamped by Adam. 13493 13494 Remove empty directories. 13495 13496 * DumpRenderTree/DumpRenderTree.qtproj: Removed. 13497 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed. 13498 13499 2007-10-03 Darin Adler <darin (a] apple.com> 13500 13501 Reviewed by Adam. 13502 13503 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if 13504 we find the internal libraries in the libraries directory. This 13505 is helpful for Safari team engineers at Apple. 13506 13507 2007-10-03 Adam Roben <aroben (a] apple.com> 13508 13509 Update the location of AHEM___.TTF after r25968 13510 13511 Reviewed by Sam. 13512 13513 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 13514 13515 2007-10-03 Alp Toker <alp (a] atoker.com> 13516 13517 Reviewed by Adam. 13518 13519 http://bugs.webkit.org/show_bug.cgi?id=14726 13520 [gtk] API design. Mapping the WebView delegates to signals. 13521 13522 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'. 13523 13524 * GtkLauncher/main.cpp: 13525 (goToURLBarText): 13526 (titleChanged): 13527 (progressChanged): 13528 (menuMainBackCallback): 13529 (menuMainForwardCallback): 13530 (main): 13531 13532 2007-10-03 Lars Knoll <lars (a] trolltech.com> 13533 13534 Reviewed by Rob. 13535 13536 This fixes --strict mode in run-webkit-tests again after 13537 the platform dependent test results have been moved. 13538 13539 * Scripts/run-webkit-tests: 13540 13541 2007-10-03 Lars Knoll <lars (a] trolltech.com> 13542 13543 Reviewed by bdash. 13544 13545 remove the hack in run-webkit-tests that forced text only test 13546 to be taken from the platform independent dir. It was only left 13547 there from early days. 13548 13549 Remove platform dependent results for tests that are text only nowadays, 13550 and add one platform dependent result for a text only test that requires it. 13551 13552 * Scripts/run-webkit-tests: 13553 13554 2007-10-03 Lars Knoll <lars (a] trolltech.com> 13555 13556 Reviewed by olliej. 13557 13558 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin. 13559 13560 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp. 13561 (WebCore::WebFrame::WebFrame): 13562 (WebCore::WebPage::WebPage): 13563 (WebCore::WebPage::createFrame): 13564 (WebCore::WebPage::javaScriptAlert): 13565 (WebCore::WebPage::javaScriptConsoleMessage): 13566 (WebCore::DumpRenderTree::DumpRenderTree): 13567 (WebCore::DumpRenderTree::~DumpRenderTree): 13568 (WebCore::DumpRenderTree::open): 13569 (WebCore::DumpRenderTree::readStdin): 13570 (WebCore::DumpRenderTree::resetJSObjects): 13571 (WebCore::DumpRenderTree::initJSObjects): 13572 (WebCore::DumpRenderTree::dumpFramesAsText): 13573 (WebCore::DumpRenderTree::dump): 13574 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h. 13575 (WebCore::DumpRenderTree::layoutTestController): 13576 (WebCore::DumpRenderTree::eventSender): 13577 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro. 13578 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf. 13579 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF. 13580 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp. 13581 (HackWebFrame::mousePressEvent): 13582 (HackWebFrame::mouseReleaseEvent): 13583 (HackWebFrame::mouseMoveEvent): 13584 (HackWebFrame::HackWebFrame): 13585 (HackWebFrame::~HackWebFrame): 13586 (LayoutTestController::LayoutTestController): 13587 (LayoutTestController::reset): 13588 (LayoutTestController::maybeDump): 13589 (LayoutTestController::waitUntilDone): 13590 (LayoutTestController::notifyDone): 13591 (LayoutTestController::dumpEditingCallbacks): 13592 (LayoutTestController::queueReload): 13593 (LayoutTestController::provisionalLoad): 13594 (LayoutTestController::timerEvent): 13595 (EventSender::EventSender): 13596 (EventSender::mouseDown): 13597 (EventSender::mouseUp): 13598 (EventSender::mouseMoveTo): 13599 (EventSender::leapForward): 13600 (EventSender::keyDown): 13601 (EventSender::frameUnderMouse): 13602 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h. 13603 (LayoutTestController::isLoading): 13604 (LayoutTestController::setLoading): 13605 (LayoutTestController::shouldDumpAsText): 13606 (LayoutTestController::shouldDumpChildrenAsText): 13607 (LayoutTestController::shouldWaitUntilDone): 13608 (LayoutTestController::dumpAsText): 13609 (LayoutTestController::dumpChildFramesAsText): 13610 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp. 13611 (messageHandler): 13612 (crashHandler): 13613 (main): 13614 * Scripts/run-webkit-tests: 13615 13616 2007-10-03 Mark Rowe <mrowe (a] apple.com> 13617 13618 Reviewed by Alp Toker. 13619 13620 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk 13621 should take precedence over QTDIR when determining which port we are working with. 13622 13623 * Scripts/webkitdirs.pm: 13624 13625 2007-10-02 Adam Roben <aroben (a] apple.com> 13626 13627 Add keychain to the list of default packages to install 13628 13629 Rubberstamped by Sam. 13630 13631 * CygwinDownloader/cygwin-downloader.py: 13632 * CygwinDownloader/cygwin-downloader.zip: Regenerated. 13633 13634 2007-10-02 David Kilzer <ddkilzer (a] webkit.org> 13635 13636 Reviewed by Adam. 13637 13638 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog. 13639 Also makes WebCore regression test case logic work when using git. 13640 13641 * Scripts/prepare-ChangeLog: 13642 (reviewerAndDescriptionForGitCommit): Added. 13643 13644 2007-10-02 Lars Knoll <lars (a] trolltech.com> 13645 13646 Reviewed by bdash. 13647 13648 Add API to retrieve the frame name from QWebFrame. 13649 Implement support for DRT::dumpChildrenAsText. 13650 13651 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 13652 (WebCore::DumpRenderTree::dumpFramesAsText): 13653 (WebCore::DumpRenderTree::dump): 13654 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 13655 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 13656 (LayoutTestController::LayoutTestController): 13657 (LayoutTestController::reset): 13658 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: 13659 13660 2007-10-02 Lars Knoll <lars (a] trolltech.com> 13661 13662 Reviewed by bdash. 13663 13664 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher. 13665 13666 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 13667 (WebCore::DumpRenderTree::readStdin): 13668 13669 2007-10-02 Mark Rowe <mrowe (a] apple.com> 13670 13671 Reviewed by Oliver. 13672 13673 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk. 13674 13675 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from. 13676 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from. 13677 13678 2007-10-02 Mark Rowe <mrowe (a] apple.com> 13679 13680 Rubber-stamped by Maciej. 13681 13682 Configuration changes from build.webkit.org. The major change is refactoring to work 13683 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the 13684 last few weeks. 13685 13686 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 13687 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: 13688 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: 13689 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: 13690 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: 13691 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: 13692 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: 13693 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: 13694 13695 2007-10-02 Lars Knoll <lars (a] trolltech.com> 13696 13697 Reviewed by Maciej. 13698 13699 Add support for eventSender.mouseMove to DRT. 13700 Fixes fast/css/hover-affects-child.html 13701 13702 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 13703 (EventSender::mouseMoveTo): 13704 13705 2007-10-01 Mark Rowe <mrowe (a] apple.com> 13706 13707 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches. 13708 13709 2007-10-01 David Kilzer <ddkilzer (a] webkit.org> 13710 13711 Reviewed by Hyatt. 13712 13713 Make svn-apply and svn-unapply work with added files in git-diff formatted patches. 13714 13715 * Scripts/svn-apply: 13716 (gitdiff2svndiff): Ignore lines beginning with "new file". 13717 * Scripts/svn-unapply: 13718 (gitdiff2svndiff): Ditto. 13719 13720 2007-09-30 George Staikos <staikos (a] kde.org> 13721 13722 Qt build fix (Mac OS X specific) 13723 13724 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: 13725 13726 2007-09-29 Holger Hans Peter Freyther <zecke (a] selfish.org> 13727 13728 Reviewed by Mark. 13729 13730 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226. 13731 Remove Bakefiles from svn. 13732 13733 * GtkLauncher/Bakefiles.bkgen: Removed. 13734 * GtkLauncher/ENV: Removed. 13735 * GtkLauncher/gdklauncher.bkl: Removed. 13736 * GtkLauncher/mk: Removed. 13737 * Scripts/regenerate-makefiles: Removed. 13738 13739 2007-09-25 Kevin McCullough <kmccullough (a] apple.com> 13740 13741 Reviewed by John. 13742 13743 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak. 13744 13745 * Scripts/run-webkit-tests: 13746 13747 2007-09-26 Adam Roben <aroben (a] apple.com> 13748 13749 Make not finding an installed WebKit non-fatal 13750 13751 What really matters is that we are able to load WebKit and its 13752 dependencies, not whether we think we've found an installed WebKit. 13753 13754 Reviewed by Sam. 13755 13756 * WebKitInitializer/WebKitInitializer.cpp: 13757 (getWebViewCLSID): Use new LOG_WARNING macro. 13758 (getInstalledWebKitDirectory): Ditto. 13759 (initializeWebKit): Don't die if we didn't find an installed WebKit, 13760 and use new macros. 13761 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning. 13762 13763 2007-09-26 Adam Roben <aroben (a] apple.com> 13764 13765 Committed this file before saving it 13766 13767 * WebKitInitializer/debug_internal.vsprops: 13768 13769 2007-09-26 Adam Roben <aroben (a] apple.com> 13770 13771 Load WebKit and its dependencies manually so they come from DllDirectory 13772 13773 I had to change WebKitInitializer to use malloc/free instead of 13774 new/delete to avoid pulling in WebKit (and its dependencies) early 13775 through use of fastMalloc. 13776 13777 Reviewed by Oliver. 13778 13779 * WebKitInitializer/WebKitInitializer.cpp: 13780 (getStringValue): Changed to use malloc/free. 13781 (getInstalledWebKitDirectory): Ditto. 13782 (initializeWebKit): Call SetDllDirectory first, then load all of 13783 WebKit's dependencies manually, finally followed by WebKit itself. 13784 * WebKitInitializer/WebKitInitializer.vcproj: Added a new 13785 configuration to match our other projects. 13786 * WebKitInitializer/debug_internal.vsprops: Added. 13787 13788 2007-09-25 Adam Roben <aroben (a] apple.com> 13789 13790 Actually define DEBUG/NDEBUG so that we load WebKit correctly 13791 13792 Rubberstamped by Sam. 13793 13794 * WebKitInitializer/WebKitInitializer.vcproj: 13795 13796 2007-09-25 Adam Roben <aroben (a] apple.com> 13797 13798 Make DumpRenderTree delay-load its dependencies 13799 13800 This lets WebKitInitializer re-route the dependencies to be loaded out 13801 of the Safari installation directory. 13802 13803 Also replaced all uses of kCFAllocatorDefault with 0 (which means the 13804 same thing), since we can't import the kCFAllocatorDefault symbol when 13805 delay-loading CoreFoundation.dll. 13806 13807 Rubberstamped by Sam. 13808 13809 * DumpRenderTree/win/DumpRenderTree.cpp: 13810 (runTest): 13811 (javaScriptThreads): 13812 * DumpRenderTree/win/DumpRenderTree.vcproj: 13813 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 13814 (LayoutTestController::setWaitToDump): 13815 13816 2007-09-25 Adam Roben <aroben (a] apple.com> 13817 13818 Pull ole32.lib into WebKitInitializer 13819 13820 Rubberstamped by Sam. 13821 13822 * WebKitInitializer/WebKitInitializer.vcproj: 13823 13824 2007-09-25 David Kilzer <ddkilzer (a] webkit.org> 13825 13826 Reviewed by Adam. 13827 13828 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885 13829 LGPL'ed files contain incorrect FSF address 13830 13831 * Drosera/config.h: 13832 13833 2007-09-25 David Kilzer <ddkilzer (a] webkit.org> 13834 13835 Reviewed by Adam. 13836 13837 Make svn-apply and svn-unapply work with git-diff formatted patches. 13838 13839 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch. 13840 (gitdiff2svndiff): Added. 13841 * Scripts/svn-unapply: Ditto. 13842 (gitdiff2svndiff): Added. 13843 13844 2007-09-25 Adam Roben <aroben (a] apple.com> 13845 13846 Pull advapi32.lib into WebKitInitializer 13847 13848 This is needed to get the registry functions we use. 13849 13850 Rubberstamped by Sam. 13851 13852 * WebKitInitializer/WebKitInitializer.vcproj: 13853 13854 2007-09-25 Adam Roben <aroben (a] apple.com> 13855 13856 Add python and rsync to cygwin-downloader 13857 13858 Our build slaves need this, and it can't hurt for everyone else to 13859 have it, too. 13860 13861 Reviewed by Sam. 13862 13863 * CygwinDownloader/cygwin-downloader.py: Added python and rsync. 13864 * CygwinDownloader/cygwin-downloader.zip: Regenerated. 13865 13866 2007-09-25 Adam Roben <aroben (a] apple.com> 13867 13868 Add WebKitInitializer and use it in DumpRenderTree 13869 13870 WebKitInitializer is a static library that has one function, 13871 initializeWebKit(). This registers WebKit and sets up the DLL search 13872 path so that WebKit's dependencies that are installed with Safari can 13873 be found. 13874 13875 Reviewed by Sam. 13876 13877 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made 13878 DumpRenderTree depend on it. 13879 * DumpRenderTree/win/DumpRenderTree.cpp: 13880 (initialize): Call initializeWebKit. 13881 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against 13882 WebKitInitializer.lib. 13883 * WebKitInitializer/WebKitInitializer.cpp: Added. 13884 (getStringValue): 13885 (getWebViewCLSID): 13886 (getInstalledWebKitDirectory): 13887 (initializeWebKit): 13888 * WebKitInitializer/WebKitInitializer.h: Added. 13889 * WebKitInitializer/WebKitInitializer.vcproj: Added. 13890 * WebKitInitializer/debug.vsprops: Added. 13891 * WebKitInitializer/release.vsprops: Added. 13892 13893 2007-09-25 Adam Roben <aroben (a] apple.com> 13894 13895 Make run-webkit-tests respect set-webkit-configuration 13896 13897 Reviewed by Sam. 13898 13899 * Scripts/run-webkit-tests: Initialize $configuration to whatever 13900 set-webkit-configuration was last set to. 13901 13902 2007-09-25 Mark Rowe <mrowe (a] apple.com> 13903 13904 Rubber-stamped by Eric. 13905 13906 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line. 13907 This makes it possible to automate nightly builds for the feature-branch. 13908 13909 2007-09-25 Adam Roben <aroben (a] apple.com> 13910 13911 A couple of fixes/enhancements to update-webkit-*-libs 13912 13913 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place 13914 to tell update-webkit-support-libraries where it should find the 13915 WebKitSupportLibrary.zip file you downloaded. 13916 13917 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a 13918 Windows-style path. 13919 13920 Reviewed by Sam. 13921 13922 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL 13923 to $auxiliaryLibsURL and removed an irrelevant comment. 13924 * Scripts/update-webkit-support-libs: 13925 13926 2007-09-25 Adam Treat <treat (a] kde.org> 13927 13928 Reviewed by Simon and Lars. 13929 13930 Refactors and cleans up Qt DRT member variable names, member variable 13931 initialization, style fixes and general code cleanup. 13932 13933 Adds queueReload slot to LayoutTestController that some tests require. 13934 13935 Subclasses QWebFrame to make sure that all frames have an associated 13936 LayoutTestController JS window object. 13937 13938 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames 13939 aren't dumped twice. 13940 13941 EOF fixes. 13942 13943 Together, this patch fixes some 20+ layout tests in QtWebKit. 13944 13945 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 13946 (WebCore::WebFrame::WebFrame): 13947 (WebCore::WebPage::WebPage): 13948 (WebCore::WebPage::createFrame): 13949 (WebCore::DumpRenderTree::DumpRenderTree): 13950 (WebCore::DumpRenderTree::open): 13951 (WebCore::DumpRenderTree::readStdin): 13952 (WebCore::DumpRenderTree::initJSObjects): 13953 (WebCore::DumpRenderTree::dump): 13954 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 13955 (WebCore::DumpRenderTree::layoutTestController): 13956 (WebCore::DumpRenderTree::eventSender): 13957 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 13958 (LayoutTestController::LayoutTestController): 13959 (LayoutTestController::reset): 13960 (LayoutTestController::maybeDump): 13961 (LayoutTestController::waitUntilDone): 13962 (LayoutTestController::notifyDone): 13963 (LayoutTestController::queueReload): 13964 (LayoutTestController::provisionalLoad): 13965 (EventSender::EventSender): 13966 (EventSender::mouseDown): 13967 (EventSender::mouseUp): 13968 (EventSender::mouseMoveTo): 13969 (EventSender::frameUnderMouse): 13970 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: 13971 (LayoutTestController::isLoading): 13972 (LayoutTestController::setLoading): 13973 (LayoutTestController::dumpAsText): 13974 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 13975 (main): 13976 13977 2007-09-24 Kevin McCullough <kmccullough (a] apple.com> 13978 13979 13980 - Reverted an accidentally checked in file. 13981 13982 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed. 13983 13984 2007-09-24 Kevin McCullough <kmccullough (a] apple.com> 13985 Reviewed by Sam. 13986 13987 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality. 13988 13989 * DumpRenderTree/win/DumpRenderTree.vcproj: 13990 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 13991 13992 2007-09-20 Holger Hans Peter Freyther <zecke (a] selfish.org> 13993 13994 Rubber stamped by Adam. 13995 13996 * GdkLauncher: Removed. 13997 * GdkLauncher/Bakefiles.bkgen: Removed. 13998 * GdkLauncher/ENV: Removed. 13999 * GdkLauncher/GdkLauncher.pro: Removed. 14000 * GdkLauncher/gdklauncher.bkl: Removed. 14001 * GdkLauncher/main.cpp: Removed. 14002 * GdkLauncher/mk: Removed. 14003 * GdkLauncher/simple.svg: Removed. 14004 * GdkLauncher/text.html: Removed. 14005 * GtkLauncher: Added. 14006 * GtkLauncher/GdkLauncher.pro: Removed. 14007 * GtkLauncher/GtkLauncher.pro: Added. 14008 * GtkLauncher/main.cpp: 14009 (updateWindowTitle): 14010 (main): 14011 * Scripts/build-webkit: 14012 * Scripts/regenerate-makefiles: 14013 * Scripts/run-javascriptcore-tests: 14014 * Scripts/run-launcher: 14015 * Scripts/run-webkit-tests: 14016 * Scripts/webkitdirs.pm: 14017 14018 2007-09-21 Timothy Hatcher <timothy (a] apple.com> 14019 14020 Reviewed by Darin Adler. 14021 14022 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online) 14023 14024 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects. 14025 This is tested by plugins/root-object-premature-delete-crash.html. 14026 14027 * DumpRenderTree/mac/ObjCController.m: 14028 (-[ObjCController accessStoredWebScriptObject]): 14029 14030 2007-09-21 Kevin McCullough <kmccullough (a] apple.com> 14031 14032 Reviewed by Oliver. 14033 14034 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver) 14035 14036 * DumpRenderTree/win/FrameLoaderDelegate.cpp: 14037 (FrameLoadDelegate::FrameLoadDelegate): 14038 14039 2007-09-20 Julien Chaffraix <julien.chaffraix (a] gmail.com> 14040 14041 Reviewed by Adam. 14042 14043 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223 14044 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt 14045 14046 Added determineIsQt() and determineIsGdk() to webkitdirs.pm. 14047 Now isQt() and isGdk() use global variables that are only set once. 14048 14049 An array of all the parameters is now given to build-dumprender which includes 14050 the platform on linux. 14051 14052 * Scripts/build-dumprendertree: 14053 * Scripts/run-webkit-tests: 14054 * Scripts/webkitdirs.pm: 14055 14056 2007-09-19 Adam Roben <aroben (a] apple.com> 14057 14058 Rubberstamped by Hyatt. 14059 14060 * Spinneret: Removed. 14061 14062 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup (a] iki.fi> 14063 14064 Reviewed by David Kilzer. 14065 14066 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available. 14067 14068 2007-09-18 Sam Weinig <sam (a] webkit.org> 14069 14070 Add JSRetainPtr.h #include to fix some builds. 14071 14072 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 14073 14074 2007-09-18 Mike Hommey <glandium (a] debian.org> 14075 14076 Reviewed by Adam. 14077 14078 * Scripts/prepare-ChangeLog: 14079 - Properly parse GECOS field. 14080 - Use git configuration for user name and email when appropriate. 14081 14082 2007-09-17 Sam Weinig <sam (a] webkit.org> 14083 14084 Build fix. 14085 14086 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 14087 14088 2007-09-17 Sam Weinig <sam (a] webkit.org> 14089 14090 Reviewed by Adam Roben. 14091 14092 Share more code between mac and windows DRT. 14093 - GCController is now shared. 14094 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency. 14095 14096 * DumpRenderTree/GCController.cpp: 14097 * DumpRenderTree/win/DumpRenderTree.cpp: 14098 * DumpRenderTree/win/DumpRenderTree.vcproj: 14099 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp. 14100 (FrameLoadDelegate::FrameLoadDelegate): 14101 (FrameLoadDelegate::~FrameLoadDelegate): 14102 (FrameLoadDelegate::windowScriptObjectAvailable): 14103 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h. 14104 * DumpRenderTree/win/GCController.cpp: Removed. 14105 * DumpRenderTree/win/GCController.h: Removed. 14106 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp. 14107 (GCController::collect): 14108 (GCController::collectOnAlternateThread): 14109 (GCController::getJSObjectCount): 14110 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed. 14111 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed. 14112 14113 2007-09-17 Sam Weinig <sam (a] webkit.org> 14114 14115 Reviewed by Adam Roben. 14116 14117 Begin sharing code between mac and windows DRT. 14118 - both now share LayoutTestController.h/cpp and implement platform dependant 14119 operations in LayoutTestControllerMac/Win. 14120 - DumpRenderTree.h is now shared. 14121 - WorkQueue and WorkQueueItem are also shared. 14122 14123 * DumpRenderTree/DumpRenderTree.h: 14124 * DumpRenderTree/LayoutTestController.cpp: 14125 * DumpRenderTree/win/DumpRenderTree.cpp: 14126 (displayWebView): 14127 (dumpFrameScrollPosition): 14128 (dumpFramesAsText): 14129 (dump): 14130 (runTest): 14131 * DumpRenderTree/win/DumpRenderTree.h: Removed. 14132 * DumpRenderTree/win/DumpRenderTree.vcproj: 14133 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h. 14134 * DumpRenderTree/win/EditingDelegate.cpp: 14135 (EditingDelegate::shouldBeginEditingInDOMRange): 14136 (EditingDelegate::shouldEndEditingInDOMRange): 14137 (EditingDelegate::shouldInsertNode): 14138 (EditingDelegate::shouldInsertText): 14139 (EditingDelegate::shouldDeleteDOMRange): 14140 (EditingDelegate::shouldChangeSelectedDOMRange): 14141 (EditingDelegate::shouldApplyStyle): 14142 (EditingDelegate::shouldChangeTypingStyle): 14143 (EditingDelegate::doPlatformCommand): 14144 (EditingDelegate::webViewDidBeginEditing): 14145 (EditingDelegate::webViewDidChange): 14146 (EditingDelegate::webViewDidEndEditing): 14147 (EditingDelegate::webViewDidChangeTypingStyle): 14148 (EditingDelegate::webViewDidChangeSelection): 14149 * DumpRenderTree/win/LayoutTestController.cpp: Removed. 14150 * DumpRenderTree/win/LayoutTestController.h: Removed. 14151 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp. 14152 (LayoutTestController::addDisallowedURL): 14153 (LayoutTestController::clearBackForwardList): 14154 (LayoutTestController::copyDecodedHostName): 14155 (LayoutTestController::copyEncodedHostName): 14156 (LayoutTestController::display): 14157 (LayoutTestController::keepWebHistory): 14158 (LayoutTestController::notifyDone): 14159 (LayoutTestController::queueBackNavigation): 14160 (LayoutTestController::queueForwardNavigation): 14161 (jsStringRefToWString): 14162 (LayoutTestController::queueLoad): 14163 (LayoutTestController::queueReload): 14164 (LayoutTestController::queueScript): 14165 (LayoutTestController::setAcceptsEditing): 14166 (LayoutTestController::setCustomPolicyDelegate): 14167 (LayoutTestController::setMainFrameIsFirstResponder): 14168 (LayoutTestController::setTabKeyCyclesThroughElements): 14169 (LayoutTestController::setUseDashboardCompatibilityMode): 14170 (LayoutTestController::setUserStyleSheetEnabled): 14171 (LayoutTestController::setUserStyleSheetLocation): 14172 (LayoutTestController::setWindowIsKey): 14173 (waitUntilDoneWatchdogFired): 14174 (LayoutTestController::setWaitToDump): 14175 (LayoutTestController::windowCount): 14176 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: 14177 (FrameLoadDelegate::didReceiveTitle): 14178 (FrameLoadDelegate::processWork): 14179 (FrameLoadDelegate::locationChangeDone): 14180 (FrameLoadDelegate::windowScriptObjectAvailable): 14181 * DumpRenderTree/win/WorkQueue.cpp: Removed. 14182 * DumpRenderTree/win/WorkQueue.h: Removed. 14183 * DumpRenderTree/win/WorkQueueItem.cpp: Removed. 14184 * DumpRenderTree/win/WorkQueueItem.h: Removed. 14185 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp. 14186 (jsStringRefToWString): 14187 (LoadItem::invoke): 14188 (ScriptItem::invoke): 14189 14190 2007-09-17 Sam Weinig <sam (a] webkit.org> 14191 14192 Reviewed by Adam Roben. 14193 14194 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win 14195 14196 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln. 14197 * DumpRenderTree/DumpRenderTree.vcproj: Removed. 14198 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed. 14199 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed. 14200 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed. 14201 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed. 14202 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed. 14203 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed. 14204 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed. 14205 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed. 14206 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed. 14207 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed. 14208 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed. 14209 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed. 14210 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed. 14211 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed. 14212 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed. 14213 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed. 14214 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed. 14215 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed. 14216 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed. 14217 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed. 14218 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed. 14219 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed. 14220 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed. 14221 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed. 14222 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed. 14223 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed. 14224 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed. 14225 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed. 14226 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed. 14227 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed. 14228 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed. 14229 * DumpRenderTree/win: Added. 14230 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h. 14231 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp. 14232 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h. 14233 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj. 14234 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp. 14235 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h. 14236 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp. 14237 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h. 14238 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp. 14239 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h. 14240 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp. 14241 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h. 14242 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin. 14243 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 14244 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp. 14245 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h. 14246 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp. 14247 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h. 14248 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp. 14249 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h. 14250 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp. 14251 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h. 14252 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops. 14253 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops. 14254 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops. 14255 * Scripts/run-webkit-tests: Update to point to the new location of the sln. 14256 14257 2007-09-15 Mark Rowe <mrowe (a] apple.com> 14258 14259 Build fix for DumpRenderTree. 14260 14261 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm. 14262 14263 2007-09-14 Sam Weinig <sam (a] webkit.org> 14264 14265 Rubber stamped by Adam Roben. 14266 14267 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate. 14268 - The UIDelegate was put into a new file while the FrameLoadDelegate was 14269 kept in the WaitUntilDoneDelegate file for the time being. 14270 14271 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 14272 (main): 14273 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: 14274 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added. 14275 (UIDelegate::QueryInterface): 14276 (UIDelegate::AddRef): 14277 (UIDelegate::Release): 14278 (UIDelegate::hasCustomMenuImplementation): 14279 (UIDelegate::setFrame): 14280 (UIDelegate::webViewFrame): 14281 (UIDelegate::runJavaScriptAlertPanelWithMessage): 14282 (UIDelegate::webViewAddMessageToConsole): 14283 (UIDelegate::doDragDrop): 14284 (UIDelegate::webViewGetDlgCode): 14285 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added. 14286 (UIDelegate::UIDelegate): 14287 (UIDelegate::createWebViewWithRequest): 14288 (UIDelegate::webViewShow): 14289 (UIDelegate::webViewClose): 14290 (UIDelegate::webViewFocus): 14291 (UIDelegate::webViewUnfocus): 14292 (UIDelegate::webViewFirstResponder): 14293 (UIDelegate::makeFirstResponder): 14294 (UIDelegate::setStatusText): 14295 (UIDelegate::webViewStatusText): 14296 (UIDelegate::webViewAreToolbarsVisible): 14297 (UIDelegate::setToolbarsVisible): 14298 (UIDelegate::webViewIsStatusBarVisible): 14299 (UIDelegate::setStatusBarVisible): 14300 (UIDelegate::webViewIsResizable): 14301 (UIDelegate::setResizable): 14302 (UIDelegate::setContentRect): 14303 (UIDelegate::webViewContentRect): 14304 (UIDelegate::runJavaScriptConfirmPanelWithMessage): 14305 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): 14306 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage): 14307 (UIDelegate::runOpenPanelForFileButtonWithResultListener): 14308 (UIDelegate::mouseDidMoveOverElement): 14309 (UIDelegate::contextMenuItemsForElement): 14310 (UIDelegate::validateUserInterfaceItem): 14311 (UIDelegate::shouldPerformAction): 14312 (UIDelegate::dragDestinationActionMaskForDraggingInfo): 14313 (UIDelegate::willPerformDragDestinationAction): 14314 (UIDelegate::dragSourceActionMaskForPoint): 14315 (UIDelegate::willPerformDragSourceAction): 14316 (UIDelegate::contextMenuItemSelected): 14317 (UIDelegate::trackCustomPopupMenu): 14318 (UIDelegate::measureCustomMenuItem): 14319 (UIDelegate::drawCustomMenuItem): 14320 (UIDelegate::addCustomMenuDrawingData): 14321 (UIDelegate::cleanUpCustomMenuDrawingData): 14322 (UIDelegate::canTakeFocus): 14323 (UIDelegate::takeFocus): 14324 (UIDelegate::registerUndoWithTarget): 14325 (UIDelegate::removeAllActionsWithTarget): 14326 (UIDelegate::setActionTitle): 14327 (UIDelegate::undo): 14328 (UIDelegate::redo): 14329 (UIDelegate::canUndo): 14330 (UIDelegate::canRedo): 14331 (UIDelegate::webViewResizerRect): 14332 (UIDelegate::webViewDrawResizer): 14333 (UIDelegate::webViewScrolled): 14334 (UIDelegate::webViewShouldInterruptJavaScript): 14335 (UIDelegate::webViewReceivedFocus): 14336 (UIDelegate::webViewLostFocus): 14337 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: 14338 (FrameLoadDelegate::QueryInterface): 14339 (FrameLoadDelegate::AddRef): 14340 (FrameLoadDelegate::Release): 14341 (FrameLoadDelegate::didStartProvisionalLoadForFrame): 14342 (FrameLoadDelegate::didCommitLoadForFrame): 14343 (FrameLoadDelegate::didReceiveTitle): 14344 (FrameLoadDelegate::processWork): 14345 (processWorkTimer): 14346 (FrameLoadDelegate::locationChangeDone): 14347 (FrameLoadDelegate::didFinishLoadForFrame): 14348 (FrameLoadDelegate::didFailLoadWithError): 14349 (FrameLoadDelegate::windowScriptObjectAvailable): 14350 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: 14351 (FrameLoadDelegate::FrameLoadDelegate): 14352 14353 2007-09-14 Sam Weinig <sam (a] webkit.org> 14354 14355 Reviewed by Kevin McCullough. 14356 14357 Move mac specific globals in to mac/DumpRenderTreeMac.h 14358 14359 * DumpRenderTree/DumpRenderTree.h: 14360 * DumpRenderTree/DumpRenderTree.mm: Removed. 14361 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 14362 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm. 14363 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added. 14364 14365 2007-09-14 Brady Eidson <beidson (a] apple.com> 14366 14367 Rubberstamped by Weinig 14368 14369 You know, Sam, some of us use case-sensitve filesystems... 14370 14371 * DumpRenderTree/DumpRenderTree.h: 14372 * DumpRenderTree/mac/UIDelegate.mm: 14373 14374 2007-09-14 Sam Weinig <sam (a] webkit.org> 14375 14376 Rubber stamped by Adam Roben. 14377 14378 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate. 14379 - Move mac specific DumpRenderTree files to DumpRenderTree/mac 14380 14381 * DumpRenderTree/AppleScriptController.h: Removed. 14382 * DumpRenderTree/AppleScriptController.m: Removed. 14383 * DumpRenderTree/DumpRenderTree.h: 14384 * DumpRenderTree/DumpRenderTree.mm: 14385 (startJavaScriptThreads): 14386 (stopJavaScriptThreads): 14387 (activateAhemFont): 14388 (setDefaultColorProfileToRGB): 14389 (makeLargeMallocFailSilently): 14390 (dumpFrameScrollPosition): 14391 (dumpFramesAsText): 14392 (dump): 14393 (runTest): 14394 (-[DumpRenderTreeWindow isKeyWindow]): 14395 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 14396 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed. 14397 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed. 14398 * DumpRenderTree/EditingDelegate.h: Removed. 14399 * DumpRenderTree/EditingDelegate.m: Removed. 14400 * DumpRenderTree/EventSendingController.h: Removed. 14401 * DumpRenderTree/EventSendingController.m: Removed. 14402 * DumpRenderTree/FrameLoadDelegate.h: Removed. 14403 * DumpRenderTree/FrameLoadDelegate.mm: Removed. 14404 * DumpRenderTree/GCController.mm: Removed. 14405 * DumpRenderTree/ImageDiff.m: Removed. 14406 * DumpRenderTree/LayoutTestController.cpp: 14407 (LayoutTestController::LayoutTestController): 14408 (dumpAsTextCallback): 14409 (dumpBackForwardListCallback): 14410 (dumpChildFramesAsTextCallback): 14411 (dumpChildFrameScrollPositionsCallback): 14412 (dumpDOMAsWebArchiveCallback): 14413 (dumpEditingCallbacksCallback): 14414 (dumpFrameLoadCallbacksCallback): 14415 (dumpResourceLoadCallbacksCallback): 14416 (dumpSelectionRectCallback): 14417 (dumpSourceAsWebArchiveCallback): 14418 (dumpTitleChangesCallback): 14419 (repaintSweepHorizontallyCallback): 14420 (setCallCloseOnWebViewsCallback): 14421 (setCanOpenWindowsCallback): 14422 (setCloseRemainingWindowsWhenCompleteCallback): 14423 (testRepaintCallback): 14424 (addFileToPasteboardOnDragCallback): 14425 (waitUntilDoneCallback): 14426 * DumpRenderTree/LayoutTestController.h: 14427 (LayoutTestController::dumpAsText): 14428 (LayoutTestController::setDumpAsText): 14429 (LayoutTestController::dumpBackForwardList): 14430 (LayoutTestController::setDumpBackForwardList): 14431 (LayoutTestController::dumpChildFrameScrollPositions): 14432 (LayoutTestController::setDumpChildFrameScrollPositions): 14433 (LayoutTestController::dumpChildFramesAsText): 14434 (LayoutTestController::setDumpChildFramesAsText): 14435 (LayoutTestController::dumpDOMAsWebArchive): 14436 (LayoutTestController::setDumpDOMAsWebArchive): 14437 (LayoutTestController::dumpSelectionRect): 14438 (LayoutTestController::setDumpSelectionRect): 14439 (LayoutTestController::dumpSourceAsWebArchive): 14440 (LayoutTestController::setDumpSourceAsWebArchive): 14441 (LayoutTestController::dumpTitleChanges): 14442 (LayoutTestController::setDumpTitleChanges): 14443 (LayoutTestController::dumpEditingCallbacks): 14444 (LayoutTestController::setDumpEditingCallbacks): 14445 (LayoutTestController::dumpResourceLoadCallbacks): 14446 (LayoutTestController::setDumpResourceLoadCallbacks): 14447 (LayoutTestController::dumpFrameLoadCallbacks): 14448 (LayoutTestController::setDumpFrameLoadCallbacks): 14449 (LayoutTestController::addFileToPasteboardOnDrag): 14450 (LayoutTestController::setAddFileToPasteboardOnDrag): 14451 (LayoutTestController::callCloseOnWebViews): 14452 (LayoutTestController::setCallCloseOnWebViews): 14453 (LayoutTestController::canOpenWindows): 14454 (LayoutTestController::setCanOpenWindows): 14455 (LayoutTestController::closeRemainingWindowsWhenComplete): 14456 (LayoutTestController::setCloseRemainingWindowsWhenComplete): 14457 (LayoutTestController::testRepaint): 14458 (LayoutTestController::setTestRepaint): 14459 (LayoutTestController::testRepaintSweepHorizontally): 14460 (LayoutTestController::setTestRepaintSweepHorizontally): 14461 (LayoutTestController::waitToDump): 14462 (LayoutTestController::windowIsKey): 14463 * DumpRenderTree/LayoutTestControllerMac.mm: Removed. 14464 * DumpRenderTree/NavigationController.h: Removed. 14465 * DumpRenderTree/NavigationController.m: Removed. 14466 * DumpRenderTree/ObjCController.h: Removed. 14467 * DumpRenderTree/ObjCController.m: Removed. 14468 * DumpRenderTree/ObjCPlugin.h: Removed. 14469 * DumpRenderTree/ObjCPlugin.m: Removed. 14470 * DumpRenderTree/ObjCPluginFunction.h: Removed. 14471 * DumpRenderTree/ObjCPluginFunction.m: Removed. 14472 * DumpRenderTree/PolicyDelegate.h: Removed. 14473 * DumpRenderTree/PolicyDelegate.m: Removed. 14474 * DumpRenderTree/ResourceLoadDelegate.h: Removed. 14475 * DumpRenderTree/ResourceLoadDelegate.m: Removed. 14476 * DumpRenderTree/TextInputController.h: Removed. 14477 * DumpRenderTree/TextInputController.m: Removed. 14478 * DumpRenderTree/UIDelegate.h: Removed. 14479 * DumpRenderTree/UIDelegate.mm: Removed. 14480 * DumpRenderTree/WorkQueueItemMac.mm: Removed. 14481 * DumpRenderTree/mac: Added. 14482 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h. 14483 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m. 14484 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h. 14485 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m. 14486 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h. 14487 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m. 14488 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): 14489 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): 14490 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): 14491 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): 14492 (-[EditingDelegate webView:shouldDeleteDOMRange:]): 14493 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): 14494 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): 14495 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): 14496 (-[EditingDelegate webViewDidBeginEditing:]): 14497 (-[EditingDelegate webViewDidChange:]): 14498 (-[EditingDelegate webViewDidEndEditing:]): 14499 (-[EditingDelegate webViewDidChangeTypingStyle:]): 14500 (-[EditingDelegate webViewDidChangeSelection:]): 14501 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h. 14502 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m. 14503 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h. 14504 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm. 14505 (-[FrameLoadDelegate init]): 14506 (-[FrameLoadDelegate dealloc]): 14507 (-[FrameLoadDelegate processWork:]): 14508 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]): 14509 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): 14510 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): 14511 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]): 14512 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]): 14513 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]): 14514 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]): 14515 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): 14516 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]): 14517 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]): 14518 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]): 14519 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]): 14520 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]): 14521 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]): 14522 (-[FrameLoadDelegate webView:willCloseFrame:]): 14523 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]): 14524 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]): 14525 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm. 14526 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m. 14527 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm. 14528 (LayoutTestController::notifyDone): 14529 (LayoutTestController::setWindowIsKey): 14530 (LayoutTestController::setWaitToDump): 14531 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h. 14532 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m. 14533 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h. 14534 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m. 14535 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h. 14536 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m. 14537 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h. 14538 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m. 14539 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h. 14540 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m. 14541 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h. 14542 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m. 14543 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): 14544 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): 14545 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]): 14546 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]): 14547 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]): 14548 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]): 14549 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h. 14550 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m. 14551 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h. 14552 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm. 14553 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): 14554 (-[UIDelegate webViewFocus:]): 14555 (-[UIDelegate webView:createWebViewWithRequest:]): 14556 (-[UIDelegate webViewClose:]): 14557 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm. 14558 14559 2007-09-14 Kevin McCullough <kmccullough (a] apple.com> 14560 14561 Reviewed by Adam. 14562 14563 - Changing Win version of Drosera work with recent changes. 14564 14565 * Drosera/DebuggerDocument.cpp: 14566 * Drosera/DebuggerDocument.h: 14567 * Drosera/mac/DebuggerDocumentPlatform.mm: 14568 (NSStringCreateWithJSStringRef): 14569 (JSValueRefCreateWithNSString): 14570 * Drosera/win/DebuggerClient.cpp: 14571 (DebuggerClient::stepInto): 14572 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 14573 14574 2007-09-13 Kevin McCullough <kmccullough (a] apple.com> 14575 14576 Reviewed by Tim. 14577 14578 - Moved isPaused into the JS for efficiency and simplicity. 14579 14580 * Drosera/DebuggerDocument.cpp: 14581 (DebuggerDocument::DebuggerDocument): 14582 (DebuggerDocument::pauseCallback): 14583 (DebuggerDocument::resumeCallback): 14584 (DebuggerDocument::isPaused): 14585 (DebuggerDocument::staticFunctions): 14586 * Drosera/DebuggerDocument.h: 14587 * Drosera/console.js: 14588 * Drosera/debugger.js: 14589 * Drosera/mac/DebuggerClient.mm: 14590 (-[DebuggerClient validateUserInterfaceItem:]): 14591 14592 2007-09-13 Sam Weinig <sam (a] webkit.org> 14593 14594 Rubber stamped by Darin Adler. 14595 14596 Make DumpRenderTree more cross platform ready. 14597 - Convert GCController to use the JSCore API instead of the WebScriptObject. 14598 - Use CF types instead of NS objects. 14599 - General cleanup. 14600 14601 * DumpRenderTree/DumpRenderTree.h: 14602 * DumpRenderTree/DumpRenderTree.mm: 14603 (dumpRenderTree): 14604 (dump): 14605 (runTest): 14606 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 14607 * DumpRenderTree/EditingDelegate.m: 14608 * DumpRenderTree/FrameLoadDelegate.h: 14609 * DumpRenderTree/FrameLoadDelegate.mm: 14610 (-[FrameLoadDelegate init]): 14611 (-[FrameLoadDelegate dealloc]): 14612 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): 14613 * DumpRenderTree/GCController.cpp: Added. 14614 (GCController::GCController): 14615 (GCController::~GCController): 14616 (collectCallback): 14617 (collectOnAlternateThreadCallback): 14618 (getJSObjectCountCallback): 14619 (GCController::makeWindowObject): 14620 (GCController::getJSClass): 14621 (GCController::staticFunctions): 14622 * DumpRenderTree/GCController.h: 14623 * DumpRenderTree/GCController.mm: 14624 (GCController::collect): 14625 (GCController::collectOnAlternateThread): 14626 (GCController::getJSObjectCount): 14627 * DumpRenderTree/LayoutTestController.cpp: 14628 (LayoutTestController::makeWindowObject): 14629 (LayoutTestController::getJSClass): 14630 * DumpRenderTree/LayoutTestController.h: 14631 * DumpRenderTree/LayoutTestControllerMac.mm: 14632 (LayoutTestController::addDisallowedURL): 14633 (waitUntilDoneWatchdogFired): 14634 (LayoutTestController::waitUntilDone): 14635 * DumpRenderTree/ResourceLoadDelegate.m: 14636 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): 14637 14638 2007-09-12 Sam Weinig <sam (a] webkit.org> 14639 14640 Reviewed by Stephanie. 14641 14642 Fix leaks in mac DumpRenderTree. 14643 14644 * DumpRenderTree/FrameLoadDelegate.mm: 14645 (-[FrameLoadDelegate init]): Initalize in the correct order. 14646 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them. 14647 * DumpRenderTree/LayoutTestController.cpp: 14648 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released. 14649 (encodeHostNameCallback): ditto. 14650 * DumpRenderTree/LayoutTestController.h: 14651 * DumpRenderTree/LayoutTestControllerMac.mm: 14652 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule. 14653 (LayoutTestController::copyEncodedHostName): ditto 14654 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released. 14655 14656 2007-09-12 Kevin McCullough <kmccullough (a] apple.com> 14657 14658 Reviewed by Geof. 14659 14660 - 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. 14661 14662 * Scripts/run-webkit-tests: 14663 14664 2007-09-12 Kevin McCullough <kmccullough (a] apple.com> 14665 14666 Reviewed by Darin Adler. 14667 14668 - Simplified code paths and extracted out functions to increase encapsulation. 14669 14670 * Drosera/DebuggerDocument.cpp: 14671 (DebuggerDocument::breakpointEditorHTMLCallback): 14672 (DebuggerDocument::isPausedCallback): 14673 (DebuggerDocument::pauseCallback): 14674 (DebuggerDocument::resumeCallback): 14675 (DebuggerDocument::stepIntoCallback): 14676 (DebuggerDocument::evaluateScriptCallback): 14677 (DebuggerDocument::currentFunctionStackCallback): 14678 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback): 14679 (DebuggerDocument::valueForScopeVariableNamedCallback): 14680 (DebuggerDocument::logCallback): 14681 * Drosera/DebuggerDocument.h: 14682 (DebuggerDocument::getPaused): 14683 * Drosera/mac/DebuggerClient.mm: 14684 (-[DebuggerClient pause:]): 14685 (-[DebuggerClient resume:]): 14686 (-[DebuggerClient stepInto:]): 14687 (-[DebuggerClient stepOver:]): 14688 (-[DebuggerClient stepOut:]): 14689 (-[DebuggerClient showConsole:]): 14690 (-[DebuggerClient closeCurrentFile:]): 14691 (-[DebuggerClient validateUserInterfaceItem:]): 14692 * Drosera/mac/DebuggerDocumentPlatform.mm: Added. 14693 (+[NSString stringOrNilFromWebScriptResult:]): 14694 (DebuggerDocument::platformPause): 14695 (DebuggerDocument::platformResume): 14696 (DebuggerDocument::platformStepInto): 14697 (DebuggerDocument::platformEvaluateScript): 14698 (DebuggerDocument::getPlatformCurrentFunctionStack): 14699 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 14700 (DebuggerDocument::platformValueForScopeVariableNamed): 14701 (DebuggerDocument::platformLog): 14702 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: 14703 14704 2007-09-12 Sam Weinig <sam (a] webkit.org> 14705 14706 Build fix for Buildbot. 14707 14708 * DumpRenderTree/DumpRenderTree.mm: 14709 (dump): 14710 14711 2007-09-12 Kevin McCullough <kmccullough (a] apple.com> 14712 14713 Reviewed by Geoff. 14714 14715 - Updated the leaks list for leopard to help identify regressions. 14716 14717 * Scripts/run-webkit-tests: 14718 14719 2007-09-12 Sam Weinig <sam (a] webkit.org> 14720 14721 Rubber stamped by Darin Adler. 14722 14723 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject. 14724 14725 * DumpRenderTree/DumpRenderTree.h: Re-order variables. 14726 * DumpRenderTree/DumpRenderTree.m: Removed. 14727 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m. 14728 (stopJavaScriptThreads): Fix initialization. 14729 (setDefaultColorProfileToRGB): Add explicit cast from void*. 14730 (dumpRenderTree): Ditto. 14731 (runTest): 14732 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one. 14733 14734 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 14735 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable. 14736 * DumpRenderTree/FrameLoadDelegate.m: Removed. 14737 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m. 14738 (-[FrameLoadDelegate init]): 14739 (-[FrameLoadDelegate dealloc]): 14740 (-[FrameLoadDelegate processWork:]): 14741 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]): 14742 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): 14743 Convert to use the new JSCore based LayoutTestController and the new WorkQueue. 14744 14745 * DumpRenderTree/LayoutTestController.cpp: Added. 14746 (LayoutTestController::LayoutTestController): 14747 (LayoutTestController::~LayoutTestController): 14748 (dumpAsTextCallback): 14749 (dumpBackForwardListCallback): 14750 (dumpChildFramesAsTextCallback): 14751 (dumpChildFrameScrollPositionsCallback): 14752 (dumpDOMAsWebArchiveCallback): 14753 (dumpEditingCallbacksCallback): 14754 (dumpFrameLoadCallbacksCallback): 14755 (dumpResourceLoadCallbacksCallback): 14756 (dumpSelectionRectCallback): 14757 (dumpSourceAsWebArchiveCallback): 14758 (dumpTitleChangesCallback): 14759 (repaintSweepHorizontallyCallback): 14760 (setCallCloseOnWebViewsCallback): 14761 (setCanOpenWindowsCallback): 14762 (setCloseRemainingWindowsWhenCompleteCallback): 14763 (testRepaintCallback): 14764 (addFileToPasteboardOnDragCallback): 14765 (addDisallowedURLCallback): 14766 (clearBackForwardListCallback): 14767 (decodeHostNameCallback): 14768 (displayCallback): 14769 (encodeHostNameCallback): 14770 (keepWebHistoryCallback): 14771 (notifyDoneCallback): 14772 (queueBackNavigationCallback): 14773 (queueForwardNavigationCallback): 14774 (queueLoadCallback): 14775 (queueReloadCallback): 14776 (queueScriptCallback): 14777 (setAcceptsEditingCallback): 14778 (setCustomPolicyDelegateCallback): 14779 (setMainFrameIsFirstResponderCallback): 14780 (setTabKeyCyclesThroughElementsCallback): 14781 (setUseDashboardCompatibilityModeCallback): 14782 (setUserStyleSheetEnabledCallback): 14783 (setUserStyleSheetLocationCallback): 14784 (setWindowIsKeyCallback): 14785 (waitUntilDoneCallback): 14786 (windowCountCallback): 14787 (LayoutTestController::makeWindowObject): 14788 (LayoutTestController::getLayoutTestControllerJSClass): 14789 (LayoutTestController::staticFunctions): 14790 * DumpRenderTree/LayoutTestController.h: Replaced. 14791 * DumpRenderTree/LayoutTestController.m: Removed. 14792 * DumpRenderTree/LayoutTestControllerMac.mm: Added. 14793 (LayoutTestController::dumpAsText): 14794 (LayoutTestController::dumpBackForwardList): 14795 (LayoutTestController::dumpChildFramesAsText): 14796 (LayoutTestController::dumpChildFrameScrollPositions): 14797 (LayoutTestController::dumpDOMAsWebArchive): 14798 (LayoutTestController::dumpEditingCallbacks): 14799 (LayoutTestController::dumpFrameLoadCallbacks): 14800 (LayoutTestController::dumpResourceLoadCallbacks): 14801 (LayoutTestController::dumpSelectionRect): 14802 (LayoutTestController::dumpSourceAsWebArchive): 14803 (LayoutTestController::dumpTitleChanges): 14804 (LayoutTestController::repaintSweepHorizontally): 14805 (LayoutTestController::setCallCloseOnWebViews): 14806 (LayoutTestController::setCanOpenWindows): 14807 (LayoutTestController::setCloseRemainingWindowsWhenComplete): 14808 (LayoutTestController::testRepaint): 14809 (LayoutTestController::addFileToPasteboardOnDrag): 14810 (LayoutTestController::addDisallowedURL): 14811 (LayoutTestController::clearBackForwardList): 14812 (LayoutTestController::decodeHostName): 14813 (LayoutTestController::encodeHostName): 14814 (LayoutTestController::display): 14815 (LayoutTestController::keepWebHistory): 14816 (LayoutTestController::notifyDone): 14817 (LayoutTestController::queueBackNavigation): 14818 (LayoutTestController::queueForwardNavigation): 14819 (LayoutTestController::queueLoad): 14820 (LayoutTestController::queueReload): 14821 (LayoutTestController::queueScript): 14822 (LayoutTestController::setAcceptsEditing): 14823 (LayoutTestController::setCustomPolicyDelegate): 14824 (LayoutTestController::setMainFrameIsFirstResponder): 14825 (LayoutTestController::setTabKeyCyclesThroughElements): 14826 (LayoutTestController::setUseDashboardCompatibilityMode): 14827 (LayoutTestController::setUserStyleSheetEnabled): 14828 (LayoutTestController::setUserStyleSheetLocation): 14829 (LayoutTestController::setWindowIsKey): 14830 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]): 14831 (LayoutTestController::waitUntilDone): 14832 (LayoutTestController::windowCount): 14833 Use the JSCore API to implement the LayoutTestController. 14834 14835 * DumpRenderTree/ObjCController.h: 14836 * DumpRenderTree/ObjCController.m: 14837 (+[ObjCController isSelectorExcludedFromWebScript:]): 14838 (+[ObjCController webScriptNameForSelector:]): 14839 (-[ObjCController accessStoredWebScriptObject]): 14840 (-[ObjCController storeWebScriptObject:]): 14841 (-[ObjCController dealloc]): 14842 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]): 14843 Move WebScriptObject tests to ObjCController. 14844 14845 * DumpRenderTree/UIDelegate.m: Removed. 14846 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m. 14847 14848 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp. 14849 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h. 14850 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h. 14851 (WorkQueueItem::~WorkQueueItem): 14852 (LoadItem::LoadItem): 14853 (LoadItem::url): 14854 (LoadItem::target): 14855 (ScriptItem::ScriptItem): 14856 (ScriptItem::script): 14857 * DumpRenderTree/WorkQueueItemMac.mm: Added. 14858 (LoadItem::invoke): 14859 (ReloadItem::invoke): 14860 (ScriptItem::invoke): 14861 (BackForwardItem::invoke): 14862 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings 14863 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start 14864 sharing code. 14865 14866 2007-09-11 Kevin McCullough <kmccullough (a] apple.com> 14867 14868 Reviewed by Maciej. 14869 14870 - Updated Win side to take advantage of the platform separating changes. 14871 14872 * Drosera/DebuggerDocument.cpp: 14873 (DebuggerDocument::localScopeVariableNamesForCallFrame): 14874 * Drosera/DebuggerDocument.h: 14875 * Drosera/win/DebuggerClient.cpp: 14876 (DebuggerClient::pause): 14877 (DebuggerClient::resume): 14878 (DebuggerClient::stepInto): 14879 (DebuggerDocument::platformPause): 14880 (DebuggerDocument::platformResume): 14881 (DebuggerDocument::platformStepInto): 14882 (DebuggerDocument::platformEvaluateScript): 14883 (DebuggerDocument::getPlatformCurrentFunctionStack): 14884 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 14885 (DebuggerDocument::platformValueForScopeVariableNamed): 14886 (DebuggerDocument::platformLog): 14887 * Drosera/win/DebuggerClient.h: 14888 * Drosera/win/Drosera.cpp: 14889 (Drosera::Drosera): 14890 (Drosera::windowScriptObjectAvailable): 14891 (Drosera::initWithServerName): 14892 (Drosera::switchToServerNamed): 14893 * Drosera/win/Drosera.h: 14894 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 14895 14896 2007-09-11 Kevin McCullough <kmccullough (a] apple.com> 14897 14898 Reviewed by Adam. 14899 14900 - Just doing the moves in a separate patch so the changes are easier to see. 14901 14902 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp. 14903 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h. 14904 * Drosera/win/DebuggerDocumentWin.cpp: Removed. 14905 * Drosera/win/DebuggerDocumentWin.h: Removed. 14906 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 14907 14908 2007-09-11 Sven Herzberg <sven (a] imendio.com> 14909 14910 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes: 14911 http://bugs.webkit.org/show_bug.cgi?id=15176 14912 14913 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with 14914 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve 14915 other paths eg. from jhbuild) 14916 14917 2007-09-10 Kevin McCullough <kmccullough (a] apple.com> 14918 14919 Reviewed by Adam. 14920 14921 - Made an order-of-deletion mistake. 14922 14923 * Drosera/DebuggerDocument.h: 14924 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed. 14925 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed. 14926 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed. 14927 * Drosera/mac/DebuggerClient.mm: 14928 (DebuggerDocument::platformPause): 14929 (DebuggerDocument::platformResume): 14930 (DebuggerDocument::platformStepInto): 14931 (DebuggerDocument::platformEvaluateScript): 14932 (DebuggerDocument::getPlatformCurrentFunctionStack): 14933 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 14934 (DebuggerDocument::platformValueForScopeVariableNamed): 14935 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: 14936 14937 2007-09-10 Kevin McCullough <kmccullough (a] apple.com> 14938 14939 Reviewed by Darin Adler. 14940 14941 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear. 14942 14943 * Drosera/DebuggerDocument.cpp: 14944 (DebuggerDocument::DebuggerDocument): 14945 * Drosera/DebuggerDocument.h: 14946 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added. 14947 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added. 14948 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added. 14949 * Drosera/mac/DebuggerApplication.mm: 14950 (-[DebuggerApplication attach:]): 14951 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h. 14952 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm. 14953 (DebuggerDocument::platformPause): 14954 (DebuggerDocument::platformResume): 14955 (DebuggerDocument::platformStepInto): 14956 (DebuggerDocument::platformEvaluateScript): 14957 (DebuggerDocument::getPlatformCurrentFunctionStack): 14958 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 14959 (DebuggerDocument::platformValueForScopeVariableNamed): 14960 (DebuggerDocument::platformLog): 14961 * Drosera/mac/DebuggerDocumentMac.h: Removed. 14962 * Drosera/mac/DebuggerDocumentMac.mm: Removed. 14963 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: 14964 14965 2007-09-09 Sam Weinig <sam (a] webkit.org> 14966 14967 Reviewed by Mark Rowe. 14968 14969 Remove 'objC' prefix from methods now in the ObjCController. 14970 14971 * DumpRenderTree/ObjCController.m: 14972 (+[ObjCController isSelectorExcludedFromWebScript:]): 14973 (+[ObjCController webScriptNameForSelector:]): 14974 (-[ObjCController classNameOf:]): 14975 (-[ObjCController objectOfClass:]): 14976 (-[ObjCController identityIsEqual::]): 14977 (-[ObjCController longLongRoundTrip:]): 14978 (-[ObjCController unsignedLongLongRoundTrip:]): 14979 14980 2007-09-09 Sam Weinig <sam (a] webkit.org> 14981 14982 Reviewed by Oliver. 14983 14984 Initial refactor of DumpRenderTree in preparation of making it more platform independent. 14985 - Move LayoutTestController into its own file. 14986 - Move Objective-C only functions on LayoutTestController into a new controller called the 14987 ObjCController. 14988 14989 * DumpRenderTree/DumpRenderTree.h: 14990 * DumpRenderTree/DumpRenderTree.m: 14991 (displayWebView): 14992 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 14993 * DumpRenderTree/FrameLoadDelegate.m: 14994 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): 14995 * DumpRenderTree/LayoutTestController.h: Added. 14996 * DumpRenderTree/LayoutTestController.m: Added. 14997 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 14998 (+[LayoutTestController webScriptNameForSelector:]): 14999 (-[LayoutTestController clearBackForwardList]): 15000 (-[LayoutTestController setUseDashboardCompatibilityMode:]): 15001 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]): 15002 (-[LayoutTestController setCustomPolicyDelegate:]): 15003 (-[LayoutTestController keepWebHistory]): 15004 (-[LayoutTestController setCallCloseOnWebViews:]): 15005 (-[LayoutTestController setCanOpenWindows]): 15006 (-[LayoutTestController waitUntilDone]): 15007 (-[LayoutTestController waitUntilDoneWatchdogFired]): 15008 (-[LayoutTestController notifyDone]): 15009 (-[LayoutTestController dumpAsText]): 15010 (-[LayoutTestController addFileToPasteboardOnDrag]): 15011 (-[LayoutTestController addDisallowedURL:]): 15012 (-[LayoutTestController setUserStyleSheetLocation:]): 15013 (-[LayoutTestController setUserStyleSheetEnabled:]): 15014 (-[LayoutTestController dumpDOMAsWebArchive]): 15015 (-[LayoutTestController dumpSourceAsWebArchive]): 15016 (-[LayoutTestController dumpSelectionRect]): 15017 (-[LayoutTestController dumpTitleChanges]): 15018 (-[LayoutTestController dumpBackForwardList]): 15019 (-[LayoutTestController windowCount]): 15020 (-[LayoutTestController dumpChildFrameScrollPositions]): 15021 (-[LayoutTestController dumpChildFramesAsText]): 15022 (-[LayoutTestController dumpEditingCallbacks]): 15023 (-[LayoutTestController dumpResourceLoadCallbacks]): 15024 (-[LayoutTestController dumpFrameLoadCallbacks]): 15025 (-[LayoutTestController setWindowIsKey:]): 15026 (-[LayoutTestController setMainFrameIsFirstResponder:]): 15027 (-[LayoutTestController display]): 15028 (-[LayoutTestController testRepaint]): 15029 (-[LayoutTestController repaintSweepHorizontally]): 15030 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]): 15031 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]): 15032 (-[LayoutTestController _doLoad:target:]): 15033 (-[LayoutTestController _doBackOrForwardNavigation:]): 15034 (-[LayoutTestController queueBackNavigation:]): 15035 (-[LayoutTestController queueForwardNavigation:]): 15036 (-[LayoutTestController queueReload]): 15037 (-[LayoutTestController queueScript:]): 15038 (-[LayoutTestController queueLoad:target:]): 15039 (-[LayoutTestController setAcceptsEditing:]): 15040 (-[LayoutTestController setTabKeyCyclesThroughElements:]): 15041 (-[LayoutTestController storeWebScriptObject:]): 15042 (-[LayoutTestController accessStoredWebScriptObject]): 15043 (-[LayoutTestController dealloc]): 15044 (-[LayoutTestController decodeHostName:]): 15045 (-[LayoutTestController encodeHostName:]): 15046 * DumpRenderTree/ObjCController.h: Added. 15047 * DumpRenderTree/ObjCController.m: Added. 15048 (+[ObjCController isSelectorExcludedFromWebScript:]): 15049 (+[ObjCController webScriptNameForSelector:]): 15050 (-[ObjCController objCClassNameOf:]): 15051 (-[ObjCController objCObjectOfClass:]): 15052 (-[ObjCController objCIdentityIsEqual::]): 15053 (-[ObjCController objCLongLongRoundTrip:]): 15054 (-[ObjCController objCUnsignedLongLongRoundTrip:]): 15055 (-[ObjCController testWrapperRoundTripping:]): 15056 15057 2007-09-07 Sam Weinig <sam (a] webkit.org> 15058 15059 Reviewed by Alice. 15060 15061 Strip trailing and leading space/newline characters from skiplist file names. 15062 15063 * Scripts/run-webkit-tests: 15064 15065 2007-09-06 Kevin McCullough <kmccullough (a] apple.com> 15066 15067 Reviewed by Maciej. 15068 15069 - Changed Drosera to take advantage of the JSRetainPtr changes. 15070 15071 * Drosera/DebuggerDocument.cpp: 15072 (DebuggerDocument::breakpointEditorHTML): 15073 (DebuggerDocument::evaluateScript): 15074 (DebuggerDocument::valueForScopeVariableNamed): 15075 (DebuggerDocument::log): 15076 (DebuggerDocument::windowScriptObjectAvailable): 15077 (DebuggerDocument::toJSArray): 15078 (DebuggerDocument::callFunctionOnObject): 15079 (DebuggerDocument::logException): 15080 * Drosera/mac/DebuggerDocumentMac.mm: 15081 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]): 15082 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]): 15083 (DebuggerDocument::platformEvaluateScript): 15084 (DebuggerDocument::getPlatformCurrentFunctionStack): 15085 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame): 15086 (DebuggerDocument::platformValueForScopeVariableNamed): 15087 15088 2007-09-05 Kevin McCullough <kmccullough (a] apple.com> 15089 15090 Reviewed by Adam, Sam, Darin. 15091 15092 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win. 15093 15094 * Drosera/Debugger.h: Added. 15095 * Drosera/DebuggerDocument.cpp: 15096 (DebuggerDocument::breakpointEditorHTMLCallback): 15097 (DebuggerDocument::isPausedCallback): 15098 (DebuggerDocument::pauseCallback): 15099 (DebuggerDocument::resumeCallback): 15100 (DebuggerDocument::stepIntoCallback): 15101 (DebuggerDocument::evaluateScriptCallback): 15102 (DebuggerDocument::currentFunctionStackCallback): 15103 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback): 15104 (DebuggerDocument::valueForScopeVariableNamedCallback): 15105 (DebuggerDocument::logCallback): 15106 (DebuggerDocument::breakpointEditorHTML): 15107 (DebuggerDocument::isPaused): 15108 (DebuggerDocument::pause): 15109 (DebuggerDocument::resume): 15110 (DebuggerDocument::stepInto): 15111 (DebuggerDocument::evaluateScript): 15112 (DebuggerDocument::currentFunctionStack): 15113 (DebuggerDocument::localScopeVariableNamesForCallFrame): 15114 (DebuggerDocument::valueForScopeVariableNamed): 15115 (DebuggerDocument::log): 15116 (DebuggerDocument::toolbarPause): 15117 (DebuggerDocument::toolbarResume): 15118 (DebuggerDocument::toolbarStepInto): 15119 (DebuggerDocument::toolbarStepOver): 15120 (DebuggerDocument::toolbarStepOut): 15121 (DebuggerDocument::toolbarShowConsole): 15122 (DebuggerDocument::toolbarCloseCurrentFile): 15123 (DebuggerDocument::updateFileSource): 15124 (DebuggerDocument::didParseScript): 15125 (DebuggerDocument::willExecuteStatement): 15126 (DebuggerDocument::didEnterCallFrame): 15127 (DebuggerDocument::willLeaveCallFrame): 15128 (DebuggerDocument::exceptionWasRaised): 15129 (DebuggerDocument::windowScriptObjectAvailable): 15130 (DebuggerDocument::toJSArray): 15131 (DebuggerDocument::callGlobalFunction): 15132 (DebuggerDocument::callFunctionOnObject): 15133 (DebuggerDocument::getDroseraJSClass): 15134 (DebuggerDocument::staticFunctions): 15135 (DebuggerDocument::logException): 15136 * Drosera/DebuggerDocument.h: 15137 (DebuggerDocument::DebuggerDocument): 15138 * Drosera/ForwardingHeaders: Added. 15139 * Drosera/ForwardingHeaders/wtf: Added. 15140 * Drosera/ForwardingHeaders/wtf/Platform.h: Added. 15141 * Drosera/config.h: 15142 * Drosera/console.html: 15143 * Drosera/console.js: 15144 * Drosera/debugger.js: 15145 * Drosera/mac/DebuggerApplication.mm: 15146 (-[DebuggerApplication attach:]): 15147 * Drosera/mac/DebuggerDocumentMac.h: 15148 * Drosera/mac/DebuggerDocumentMac.mm: 15149 (+[NSString stringOrNilFromWebScriptResult:]): 15150 (+[DebuggerClientMac log:]): 15151 (-[DebuggerClientMac initWithServerName:]): 15152 (-[DebuggerClientMac dealloc]): 15153 (-[DebuggerClientMac pause]): 15154 (-[DebuggerClientMac resume]): 15155 (-[DebuggerClientMac pause:]): 15156 (-[DebuggerClientMac resume:]): 15157 (-[DebuggerClientMac stepInto:]): 15158 (-[DebuggerClientMac stepOver:]): 15159 (-[DebuggerClientMac stepOut:]): 15160 (-[DebuggerClientMac showConsole:]): 15161 (-[DebuggerClientMac closeCurrentFile:]): 15162 (-[DebuggerClientMac validateUserInterfaceItem:]): 15163 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]): 15164 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]): 15165 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]): 15166 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]): 15167 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]): 15168 (DebuggerDocument::platformPause): 15169 (DebuggerDocument::platformResume): 15170 (DebuggerDocument::platformStepInto): 15171 (DebuggerDocument::platformEvaluateScript): 15172 (DebuggerDocument::platformCurrentFunctionStack): 15173 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame): 15174 (DebuggerDocument::platformValueForScopeVariableNamed): 15175 (DebuggerDocument::platformLog): 15176 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: 15177 15178 2007-09-06 Sam Weinig <sam (a] webkit.org> 15179 15180 Reviewed by Adam Roben. 15181 15182 Register the WebKit DLL on initialization of the DumpRenderTree. 15183 15184 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 15185 (initialize): 15186 15187 2007-09-05 Sam Weinig <sam (a] webkit.org> 15188 15189 Reviewed by Oliver. 15190 15191 Fix many layout test failures caused by r25364. 15192 Set text size to standand size at the begining of each test matching the mac. 15193 15194 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 15195 (runTest): 15196 15197 2007-09-04 Sam Weinig <sam (a] webkit.org> 15198 15199 Reviewed by Adam. 15200 15201 Fix for <rdar://problem/5382277> 15202 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT. 15203 15204 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: 15205 (textZoomInCallback): 15206 (textZoomOutCallback): 15207 15208 2007-08-29 David Kilzer <ddkilzer (a] apple.com> 15209 15210 Reviewed by Adam. 15211 15212 Added case-insensitivity to checks for adding regression tests. 15213 15214 * Scripts/prepare-ChangeLog: 15215 (generateFileList): 15216 15217 2007-08-28 David Kilzer <ddkilzer (a] apple.com> 15218 15219 Reviewed by Maciej. 15220 15221 Ignore files in /resources/ subdirectories when creating a list of added tests. 15222 15223 * Scripts/prepare-ChangeLog: 15224 (generateFileList): 15225 15226 2007-08-27 Kevin McCullough <kmccullough (a] apple.com> 15227 15228 Reviewed by John. 15229 15230 - Removed Leopard leaks list since all of those radars were fixed. 15231 15232 * Scripts/run-webkit-tests: 15233 15234 2007-08-27 Adam Roben <aroben (a] apple.com> 15235 15236 Rubberstamped by Mark. 15237 15238 * Scripts/pdevenv: Pass arguments along to devenv.com. 15239 15240 2007-08-26 David Kilzer <ddkilzer (a] webkit.org> 15241 15242 Reviewed by Mark Rowe. 15243 15244 Update prepare-ChangeLog to generate the datestamp in the correct timezone. 15245 15246 * Scripts/prepare-ChangeLog: 15247 (changeLogDate): Added. 15248 15249 2007-08-24 Sam Weinig <sam (a] webkit.org> 15250 15251 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix. 15252 15253 2007-08-24 Sam Weinig <sam (a] webkit.org> 15254 15255 Rubber-stamped by Adam Roben. 15256 15257 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration 15258 15259 Rename COM DOM bindings to use Deprecated prefix. 15260 15261 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 15262 (dumpFramesAsText): 15263 (dump): 15264 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: 15265 (dumpPath): 15266 (dump): 15267 (EditingDelegate::shouldBeginEditingInDOMRange): 15268 (EditingDelegate::shouldEndEditingInDOMRange): 15269 (EditingDelegate::shouldInsertNode): 15270 (EditingDelegate::shouldInsertText): 15271 (EditingDelegate::shouldDeleteDOMRange): 15272 (EditingDelegate::shouldChangeSelectedDOMRange): 15273 (EditingDelegate::shouldApplyStyle): 15274 (EditingDelegate::shouldChangeTypingStyle): 15275 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: 15276 15277 2007-08-24 Oliver Hunt <oliver (a] apple.com> 15278 15279 Reviewed by John H. 15280 15281 WebDataSource::response can legitimately have a null response, so we 15282 must check that case. 15283 15284 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: 15285 (queueLoadCallback): 15286 15287 2007-08-23 Mitz Pettel <mitz (a] webkit.org> 15288 15289 Reviewed by Darin and Adam. 15290 15291 - DumpRenderTree changes to allow testing for 15292 http://bugs.webkit.org/show_bug.cgi?id=11756 15293 REGRESSION: link targeting a frame in another window does not work 15294 <rdar://problem/5286420> 15295 15296 Use a frame group name for all WebViews created by DumpRenderTree to 15297 allow testing of cross-page frame lookup. 15298 15299 * DumpRenderTree/DumpRenderTree.m: 15300 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:]. 15301 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 15302 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR). 15303 15304 2007-08-23 David Kilzer <ddkilzer (a] webkit.org> 15305 15306 Reviewed by Adam. 15307 15308 Quote the $sslCertificate path in case it contains a space. 15309 15310 * Scripts/run-webkit-httpd: 15311 * Scripts/run-webkit-tests: 15312 15313 2007-08-22 Oliver Hunt <oliver (a] apple.com> 15314 15315 Reviewed by John and Adam. 15316 15317 WebDataSource::response can legitimately have a null response, so we 15318 must check that case. 15319 15320 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 15321 (dump): 15322 15323 2007-08-21 Kevin McCullough <kmccullough (a] apple.com> 15324 15325 Reviewed by Geof. 15326 15327 - Changing the usage to be more clear. 15328 15329 * Scripts/run-testkjs: 15330 15331 2007-08-20 John Sullivan <sullivan (a] apple.com> 15332 15333 Reviewed by Adam Roben 15334 15335 * DumpRenderTree/DumpRenderTree.m: 15336 (runTest): 15337 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors 15338 in layout tests on Tiger and Leopard 15339 15340 2007-08-20 Adam Roben <aroben (a] apple.com> 15341 15342 Put LayoutTests after all other ChangeLogs in commit logs 15343 15344 We use "~" to sort LayoutTests after all the other ChangeLogs because 15345 "~" is the last ASCII character (other than "DEL"). 15346 15347 Reviewed by Sam. 15348 15349 * Scripts/commit-log-editor: 15350 15351 2007-08-20 Adam Roben <aroben (a] apple.com> 15352 15353 Detect that DRT crashed even if a crash dialog is running 15354 15355 On Windows, when DRT crashes a crash dialog commonly appears. The DRT 15356 process is still running at this point, so run-webkit-tests wouldn't 15357 detect that DRT had crashed. We now record the crash in our SIGPIPE 15358 handler so that we know if DRT crashed even if the crash dialog is up. 15359 15360 Reviewed by Sam. 15361 15362 * Scripts/run-webkit-tests: 15363 (sub catch_pipe): Set the crashed bit. 15364 (sub openDumpTool): Reset the crashed bit. 15365 (sub dumpToolDidCrash): Check the crashed bit. 15366 15367 2007-08-20 Adam Roben <aroben (a] apple.com> 15368 15369 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog 15370 15371 http://bugs.webkit.org/show_bug.cgi?id=15026 15372 15373 Reviewed by David Kilzer and Darin Adler. 15374 15375 * Scripts/prepare-ChangeLog: 15376 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus. 15377 (sub isAddedStatus): Ditto. 15378 (sub testListForChangeLog): Added. 15379 15380 2007-08-19 Oleg Sukhodolsky <son.two (a] gmail.com> 15381 15382 Reviewed by Mark. 15383 15384 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632 15385 15386 * Scripts/webkitdirs.pm: 15387 qt and gtk ports now explicitly pass debug (or release) mode to qmake. 15388 15389 2007-08-17 Darin Adler <darin (a] apple.com> 15390 15391 Reviewed by Oliver Hunt. 15392 15393 - don't look for Apple-style localizable strings in the GTK version of WebKit 15394 15395 * Scripts/extract-localizable-strings: Add a feature where you can pass in the 15396 name of subdirectories to skip. 15397 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory 15398 to skip. 15399 15400 2007-08-17 Anders Carlsson <andersca (a] apple.com> 15401 15402 Build fix. 15403 15404 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 15405 (NPP_SetWindow): 15406 15407 2007-08-17 Anders Carlsson <andersca (a] apple.com> 15408 15409 Reviewed by Dave Hyatt. 15410 15411 <rdar://problem/5379040> 15412 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes 15413 15414 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call. 15415 15416 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 15417 (pluginAllocate): 15418 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 15419 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 15420 (NPP_New): 15421 (NPP_SetWindow): 15422 15423 2007-08-16 Alice Liu <alice.liu (a] apple.com> 15424 15425 Reviewed by Maciej. 15426 15427 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail 15428 15429 * DumpRenderTree/DumpRenderTree.m: 15430 (createWebView): 15431 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow. 15432 (dumpRenderTree): 15433 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow. 15434 15435 2007-08-16 Kevin McCullough <kmccullough (a] apple.com> 15436 15437 Reviewed by Adam. 15438 15439 - 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. 15440 15441 * Scripts/run-webkit-tests: 15442 15443 2007-08-15 Timothy Hatcher <timothy (a] apple.com> 15444 15445 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations. 15446 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it. 15447 15448 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild, 15449 this prevents making "build" directories in each project folder. 15450 15451 * Scripts/webkitdirs.pm: 15452 15453 2007-08-14 Geoffrey Garen <ggaren (a] apple.com> 15454 15455 Reviewed by Kevin Mccullough. 15456 15457 Removed special case that didn't belong. (It would allow a global 15458 initializer to sneak into production builds, which would cause a 15459 system-wide performance regression on Mac OS X.) 15460 15461 * Scripts/check-for-global-initializers: 15462 15463 2007-08-14 Justin Garcia <justin.garcia (a] apple.com> 15464 15465 Reviewed by Tim. 15466 15467 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element 15468 15469 * DumpRenderTree/EditingDelegate.m: 15470 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES 15471 only for elements with the class needsDeletionUI. 15472 15473 2007-08-14 David Kilzer <ddkilzer (a] webkit.org> 15474 15475 Reviewed by Darin Adler. 15476 15477 - fix http://bugs.webkit.org/show_bug.cgi?id=14965 15478 svn-create-patch uses deprecated tail switch 15479 15480 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'. 15481 15482 2007-08-13 Sam Weinig <sam (a] webkit.org> 15483 15484 Reviewed by Adam Roben. 15485 15486 Use the cygwin specific Apache config file under cygwin. 15487 15488 * Scripts/run-webkit-httpd: 15489 15490 2007-08-12 Adam Roben <aroben (a] apple.com> 15491 15492 Generate results for new tests in a more logical location 15493 15494 New platform-specific tests always have their results generated right 15495 next to the test. New cross-platform tests will have their results 15496 generated a) in the cross-platform directory, if they are text-only, 15497 or b) in the least-specific platform directory, if they are render 15498 tree dumps. 15499 15500 Reviewed by Lars. 15501 15502 * Scripts/run-webkit-tests: 15503 15504 2007-08-12 Adam Roben <aroben (a] apple.com> 15505 15506 Print the actual directory where new results are generated. 15507 15508 Before, we were printing an unpredictable, context-specific substring 15509 of the directory. 15510 15511 Reviewed by Lars. 15512 15513 * Scripts/run-webkit-tests: 15514 15515 2007-08-12 Adam Roben <aroben (a] apple.com> 15516 15517 Factor some common code into a stripExtension() subroutine. 15518 15519 Reviewed by Lars. 15520 15521 * Scripts/run-webkit-tests: Also removed some debugging output. 15522 15523 2007-08-11 Matt Lilek <pewtermoose (a] gmail.com> 15524 15525 Reviewed over and over and over by Adam Roben. 15526 15527 Bug 14740: Hierarchical layout tests and platform organization 15528 http://bugs.webkit.org/show_bug.cgi?id=14740 15529 15530 Add support for platform-specific layout tests and results. 15531 15532 * Scripts/run-webkit-tests: 15533 15534 2007-08-11 David Kilzer <ddkilzer (a] webkit.org> 15535 15536 Reviewed by Adam. 15537 15538 Refactored svn-create-path to use a hash-of-hashes data structure to keep 15539 track of changed files. In the top level hash, keys are paths to files and 15540 values are 'fileData' hashes with the following keys and values: 15541 15542 - isBinary: boolean value (set to true for non-text files like images, etc.) 15543 - isTestFile: boolean value (set to true if file exists within a known test 15544 directory) 15545 - modificationType: string equal to one of 'addition', 'additionWithHistory', 15546 'modification' or 'deletion' 15547 - path: string equal to the path to the file (this may seem redundant, but it 15548 is required to use the second-level 'fileData' hash independent of the 15549 top-level hash) 15550 - sourceFile: [optional] string equal to the path of the original file that was 15551 copied or moved 15552 - sourceRevision: [optional] string equal to the revision of the original file 15553 that was copied or moved 15554 15555 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement 15556 that saves the return value in $result, then checks it before printing help. 15557 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash 15558 and eliminated two for() loops. 15559 (binarycmp): Added. Used with sort() to order non-binary files before binary 15560 files. 15561 (findBaseUrl): Added. Extracted from findSourceFileAndRevision(). 15562 (findMimeType): Added optional second argument that takes a revision number. 15563 (generateDiff): Updated to take one fileData argument instead of three ($file, 15564 $modificationType, $isBinary). 15565 (generateFileList): Updated to take one hash ref argument (%diffFiles) 15566 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates 15567 %diffFiles using paths for keys and fileData hashes for values. 15568 (manufacturePatchForAdditionWithHistory): Updated to take one fileData 15569 argument. 15570 (pathcmp): Updated to take two fileData arguments instead of two strings. 15571 (testfilecmp): Added. Used with sort() to order non-test files before test 15572 files. 15573 15574 2007-08-11 Darin Adler <darin (a] apple.com> 15575 15576 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed. 15577 15578 2007-08-06 Nigel Tao <nigeltao (a] gnome.org> 15579 15580 Reviewed by David Kilzer. 15581 15582 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk 15583 http://bugs.webkit.org/show_bug.cgi?id=14745 15584 15585 * Scripts/run-launcher: 15586 Scrub the "--gdk" out of the command line args, if given, so that 15587 GdkLauncher doesn't try to interpret it as a URL. 15588 15589 2007-08-03 Adam Roben <aroben (a] apple.com> 15590 15591 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes 15592 15593 Reviewed by Sam. 15594 15595 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests. 15596 15597 2007-08-03 Sam Weinig <sam (a] webkit.org> 15598 15599 Reviewed by Darin Adler. 15600 15601 Recursively dump all frames as text using new 15602 layoutTestController.dumpChildFramesAsText() function. 15603 15604 * DumpRenderTree/DumpRenderTree.m: 15605 (dumpFramesAsText): 15606 (dump): 15607 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 15608 (-[LayoutTestController dumpChildFramesAsText]): 15609 (runTest): 15610 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 15611 (dumpFramesAsText): 15612 (dump): 15613 (runTest): 15614 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: 15615 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: 15616 (dumpChildFramesAsTextCallback): 15617 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 15618 15619 2007-08-02 Adam Roben <aroben (a] apple.com> 15620 15621 Fix fast/dom/Window/alert-undefined.html 15622 15623 Reviewed by Sam. 15624 15625 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: 15626 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let 15627 Windows translate a null BSTR into "(null)" 15628 15629 2007-08-02 Kevin McCullough <kmccullough (a] apple.com> 15630 15631 Reviewed by Tim. 15632 15633 - It would help if I actually called the right function. 15634 15635 * Drosera/DebuggerDocument.cpp: 15636 (DebuggerDocument::showConsole): 15637 15638 2007-08-02 Adam Roben <aroben (a] apple.com> 15639 15640 Don't delete the stderr file right after creating it 15641 15642 * Scripts/run-webkit-tests: 15643 15644 2007-08-01 Adam Roben <aroben (a] apple.com> 15645 15646 When DRT crashes, record stderr and restart DRT 15647 15648 This prevents a DRT crash from causing the next few hundred tests to 15649 "fail" because DRT is no longer running. 15650 15651 I also changed the terminology that run-webkit-tests uses in its 15652 output a bit, so that crashing tests are referred to as "crashes" 15653 instead of "failures". 15654 15655 Reviewed by Mark. 15656 15657 * Scripts/run-webkit-tests: Detect a crash and record it as a tool 15658 failure. 15659 (sub openDumpTool): Use open3 so that we can access stderr. 15660 (sub dumpToolCrashed): Added. 15661 (sub printFailureMessageForTest): Added. 15662 (sub htmlForExpectedAndActualResults): Added. 15663 (sub deleteExpectedAndActualResults): Added. 15664 (sub recordActualResultsAndDiff): Added. 15665 15666 2007-07-30 Darin Adler <darin (a] apple.com> 15667 15668 Reviewed by Tim Hatcher. 15669 15670 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null 15671 characters. This turned out not to be needed for the test case that motivated me to 15672 do it, but it's nice to have this for the future. 15673 15674 2007-07-30 Simon Hausmann <hausmann (a] kde.org> 15675 15676 Reviewed by Lars. 15677 15678 Link QtLauncher into $$OUTPUT_DIR/bin 15679 15680 * Scripts/run-launcher: 15681 15682 2007-07-27 David Kilzer <ddkilzer (a] apple.com> 15683 15684 Reviewed by Geoff and Darin. 15685 15686 Use a subroutine for validating the --skipped switch. 15687 15688 * Scripts/run-webkit-tests: 15689 15690 2007-07-27 Darin Adler <darin (a] apple.com> 15691 15692 Reviewed by Sam. 15693 15694 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard. 15695 15696 2007-07-27 Holger Hans Peter Freyther <zecke (a] selfish.org> 15697 15698 Reviewed by Mark. 15699 15700 Correct the path of GdkLauncher and make checkFrameworks work on OSX 15701 when building the Qt or Gtk+ port. 15702 15703 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX 15704 * Scripts/run-launcher: 15705 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port. 15706 15707 2007-07-27 Simon Hausmann <hausmann (a] kde.org> 15708 15709 Done with and reviewed by Lars and Zack. 15710 15711 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. 15712 15713 * Scripts/webkitdirs.pm: 15714 15715 2007-07-27 Simon Hausmann <hausmann (a] kde.org> 15716 15717 Done with and reviewed by Lars and Zack. 15718 15719 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. 15720 15721 * Scripts/webkitdirs.pm: 15722 15723 2007-07-26 Kevin McCullough <kmccullough (a] apple.com> 15724 15725 Reviewed by Darin, Geoff, Sam. 15726 15727 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize. 15728 15729 - 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. 15730 15731 * DumpRenderTree/UIDelegate.h: 15732 * DumpRenderTree/UIDelegate.m: 15733 (-[UIDelegate webView:setFrame:]): 15734 (-[UIDelegate webViewFrame:]): 15735 15736 2007-07-26 Kevin McCullough <kmccullough (a] apple.com> 15737 15738 Reviewed by Adam. 15739 15740 - Lars wanted this check for Qt but it breaks platform specific layout tests. 15741 15742 * Scripts/run-webkit-tests: 15743 15744 2007-07-25 Kevin McCullough <kmccullough (a] apple.com> 15745 15746 Reviewed by Tim, Darin, Oliver. 15747 15748 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing 15749 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not. 15750 15751 * ChangeLog: 15752 * DumpRenderTree/DumpRenderTree.m: 15753 (createWebView): 15754 (dumpRenderTree): 15755 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 15756 (+[LayoutTestController webScriptNameForSelector:]): 15757 (-[LayoutTestController setCustomPolicyDelegate:]): 15758 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 15759 * DumpRenderTree/FrameLoadDelegate.h: 15760 * DumpRenderTree/PolicyDelegate.h: Added. 15761 * DumpRenderTree/PolicyDelegate.m: Added. 15762 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): 15763 * DumpRenderTree/ResourceLoadDelegate.h: 15764 15765 2007-07-25 Adam Treat <treat (a] kde.org> 15766 15767 Reviewed by Niko. 15768 15769 Fix build for some reported systems. 15770 15771 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 15772 15773 2007-07-23 Adam Treat <treat (a] kde.org> 15774 15775 Reviewed by Nikolas. 15776 15777 Fix qt DRT to suppress js popup alerts and log instead. 15778 15779 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 15780 (WebCore::WebPage::javaScriptAlert): 15781 15782 2007-07-22 Holger Hans Peter Freyther <zecke (a] selfish.org> 15783 15784 Reviewed by Adam. 15785 15786 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to 15787 honor --qmakearg for the Gdk/Gtk build as well. 15788 15789 * GdkLauncher/main.cpp: Switch to the new API 15790 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 15791 15792 2007-07-22 Darin Adler <darin (a] apple.com> 15793 15794 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]): 15795 Fix a leak by releasing the array used here. 15796 15797 2007-07-22 David Kilzer <ddkilzer (a] webkit.org> 15798 15799 Reviewed by Darin Adler. 15800 15801 - fix http://bugs.webkit.org/show_bug.cgi?id=14713 15802 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in 15803 15804 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents 15805 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in. 15806 15807 * Scripts/update-iexploder-cssproperties: Added. 15808 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script. 15809 Added new CSS3 property section and Moved box-sizing property to it. 15810 15811 2007-07-22 Oliver Hunt <oliver (a] apple.com> 15812 15813 Reviewed by Darin Adler. 15814 15815 http://bugs.webkit.org/show_bug.cgi?id=14710 15816 15817 Add preliminary support for testing Input Method/WebKit behaviour and interaction 15818 in DRT. This provides the NSTextInput API which is most of what should be necessary 15819 to mimic the event sequences Input Methods trigger. 15820 15821 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 15822 * DumpRenderTree/TextInputController.h: 15823 * DumpRenderTree/TextInputController.m: 15824 (-[WebHTMLView interpretKeyEvents:]): 15825 (+[TextInputController isSelectorExcludedFromWebScript:]): 15826 (+[TextInputController webScriptNameForSelector:]): 15827 (-[TextInputController initWithWebView:]): 15828 (-[TextInputController dealloc]): 15829 (-[TextInputController textInput]): 15830 (-[TextInputController setInputMethodHandler:]): 15831 (-[TextInputController interpretKeyEvents:withSender:]): 15832 15833 2007-07-20 Adam Roben <aroben (a] apple.com> 15834 15835 * Scripts/commit-log-editor: Small fix to make an all-whitespace log 15836 message not count as an existing log. 15837 15838 2007-07-19 Geoffrey Garen <ggaren (a] apple.com> 15839 15840 Reviewed by Darin Adler. 15841 15842 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return 15843 value behavior of stringByEvaluatingJavaScriptFromString 15844 15845 * DumpRenderTree/DumpRenderTree.m: 15846 (testStringByEvaluatingJavaScriptFromString): 15847 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 15848 15849 2007-07-19 Adam Roben <aroben (a] apple.com> 15850 15851 Make commit-log-editor work with git 15852 15853 Reviewed by Sam. 15854 15855 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style 15856 commit message template. Also removed the unused $breakPoint variable. 15857 15858 2007-07-19 Adam Roben <aroben (a] apple.com> 15859 15860 Move generally-useful VCS code into a new VCSUtils.pm module 15861 15862 This is in preparation for making commit-log-editor git-friendly. 15863 15864 Reviewed by Sam. 15865 15866 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog. 15867 * Scripts/prepare-ChangeLog: Use VCSUtils. 15868 15869 2007-07-19 Lars Knoll <lars (a] trolltech.com> 15870 15871 Fix a crash on exit when running DRT against a current 15872 Qt 4.4 snapshot. 15873 15874 Reviewed by Zack 15875 15876 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 15877 (main): 15878 15879 2007-07-18 Adam Roben <aroben (a] apple.com> 15880 15881 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed 15882 15883 Reviewed by Mark. 15884 15885 * Scripts/run-webkit-httpd: 15886 * Scripts/run-webkit-tests: 15887 15888 2007-07-18 Adam Roben <aroben (a] apple.com> 15889 15890 More git friendliness for prepare-ChangeLog 15891 15892 The overall change is to remove the use of git-status and replace it 15893 with git-diff --name-status (which we were already using in the 15894 --git-commit case). 15895 15896 This lets us respect directories specified on the command line when 15897 using git, just as we do for Subversion. It also speeds things up a 15898 bit, especially in the subdirectory case, as git-status is pretty slow. 15899 15900 I also fixed some issues where we wouldn't detect copied files and 15901 would reverse the new filename and the original filename for renamed files. 15902 15903 Reviewed by Mark. 15904 15905 * Scripts/prepare-ChangeLog: 15906 (sub diffFromToString): Added. 15907 (sub diffCommand): Don't append the paths in the --git-commit case, as 15908 we should be operating on the entire commit. 15909 (sub statusCommand): Always use git-diff --name-status, and added an 15910 extra -C option to git-diff to make it find a few more copied files. 15911 (sub createPatchCommand): Collapsed the two git cases a bit, and added 15912 the extra -C option as above. 15913 (sub generateFileList): Remove the git-status codepath, and recognize 15914 file copies in the --name-status output. 15915 (sub isModifiedOrAddedStatus): Collapsed the status codes into one 15916 dictionary. 15917 (sub isConflictStatus): Updated the git dictionary. 15918 (sub statusDescription): Updated the git dictionary. 15919 15920 2007-07-18 Timothy Hatcher <timothy (a] apple.com> 15921 15922 * Scripts/build-drosera: Update where we look for the Xcode project. 15923 15924 2007-07-18 Adam Treat <treat (a] kde.org> 15925 15926 Reviewed by bdash. 15927 15928 Use the old wording for Safari. 15929 15930 * Scripts/build-webkit: 15931 * Scripts/webkitdirs.pm: 15932 15933 2007-07-18 Adam Treat <treat (a] kde.org> 15934 15935 Reviewed by bdash. 15936 15937 Add convenience script for launching test apps for Qt and Gdk ports. 15938 Change the build-webkit script accordingly. 15939 15940 * Scripts/build-webkit: 15941 * Scripts/run-launcher: Added. 15942 * Scripts/webkitdirs.pm: 15943 15944 2007-07-18 Timothy Hatcher <timothy (a] apple.com> 15945 15946 Reviewed by Adam. 15947 15948 Make the Page with the now required InspectorClient. 15949 15950 * GdkLauncher/main.cpp: 15951 (main): 15952 15953 2007-07-18 Timothy Hatcher <timothy (a] apple.com> 15954 15955 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera. 15956 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed. 15957 15958 * Drosera/Makefile: Added. 15959 * Drosera/mac/Makefile: 15960 * DumpRenderTree/Makefile: 15961 * Makefile: 15962 * Makefile.Drosera: Removed. 15963 * Makefile.shared: Removed. 15964 15965 2007-07-18 Timothy Hatcher <timothy (a] apple.com> 15966 15967 The console log was 20px down from the top for no reason, move it up. 15968 15969 * Drosera/console.css: 15970 15971 2007-07-18 Timothy Hatcher <timothy (a] apple.com> 15972 15973 Use contentDocument to get the source view's iframe document. 15974 Also adds a null/undefined check for localVariableNames. 15975 15976 * Drosera/debugger.js: 15977 15978 2007-07-18 Lars Knoll <lars (a] trolltech.com> 15979 15980 We really don't want to compare non text only tests to the 15981 Mac results if we don't have a result for Qt, as this would 15982 give a failure and not a notification that the test is new. 15983 15984 Reviewed by Zack 15985 15986 * Scripts/run-webkit-tests: 15987 15988 2007-07-18 Lars Knoll <lars (a] trolltech.com> 15989 15990 Reviewed by Zack & Simon 15991 15992 Adjust to changed API in QWebFrame 15993 15994 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 15995 (WebCore::DumpRenderTree::DumpRenderTree): 15996 15997 2007-07-18 Mark Rowe <mrowe (a] apple.com> 15998 15999 Update path to the Drosera Xcode project now that it has moved into a subdirectory. 16000 16001 * BuildSlaveSupport/build-launcher-app: 16002 16003 2007-07-17 Geoffrey Garen <ggaren (a] apple.com> 16004 16005 Reviewed by Antti Koivisto. 16006 16007 Added watchdog timer to waitUntilDone to prevent a run-away test from 16008 hanging the test harness. 16009 16010 * DumpRenderTree/DumpRenderTree.m: 16011 (dump): 16012 (-[LayoutTestController waitUntilDone]): 16013 (-[LayoutTestController waitUntilDoneWatchdogFired]): 16014 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 16015 16016 2007-07-17 Kevin McCullough <kmccullough (a] apple.com> 16017 16018 Reviewed by Adam. 16019 16020 - Implemented cross-platform code for functions calling into the JavaScript. 16021 16022 * Drosera/DebuggerDocument.cpp: 16023 (DebuggerDocument::callAsFunction): 16024 (DebuggerDocument::pauseJS): 16025 (DebuggerDocument::resumeJS): 16026 (DebuggerDocument::stepIntoJS): 16027 (DebuggerDocument::stepOverJS): 16028 (DebuggerDocument::stepOutJS): 16029 (DebuggerDocument::showConsoleJS): 16030 (DebuggerDocument::closeCurrentFileJS): 16031 (DebuggerDocument::updateFileSource): 16032 (DebuggerDocument::didParseScript): 16033 (DebuggerDocument::willExecuteStatement): 16034 (DebuggerDocument::didEnterCallFrame): 16035 (DebuggerDocument::willLeaveCallFrame): 16036 (DebuggerDocument::exceptionWasRaised): 16037 * Drosera/DebuggerDocument.h: 16038 * Drosera/mac/DebuggerDocumentMac.mm: 16039 (-[DebuggerDocumentMac pause:]): 16040 (-[DebuggerDocumentMac resume:]): 16041 (-[DebuggerDocumentMac stepInto:]): 16042 (-[DebuggerDocumentMac stepOver:]): 16043 (-[DebuggerDocumentMac stepOut:]): 16044 (-[DebuggerDocumentMac showConsole:]): 16045 (-[DebuggerDocumentMac closeCurrentFile:]): 16046 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]): 16047 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]): 16048 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]): 16049 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]): 16050 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]): 16051 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]): 16052 16053 2007-07-16 Kevin McCullough <kmccullough (a] apple.com> 16054 16055 Reviewed by Darin Adler. 16056 16057 - Continued x-platform modifications. 16058 16059 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp. 16060 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h. 16061 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed. 16062 * Drosera/win/DebuggerObjectCallbacks.h: Removed. 16063 * Drosera/win/Drosera.cpp: 16064 * Drosera/win/Drosera.vcproj/Drosera.vcproj: 16065 * Drosera/win/stdafx.cpp: Removed. 16066 * Drosera/win/stdafx.h: Removed. 16067 16068 2007-07-16 Kevin McCullough <kmccullough (a] apple.com> 16069 16070 Reviewed by Sam. 16071 16072 - Modified files to use cross-platform code. 16073 16074 * Drosera/DebuggerDocument.cpp: Added. 16075 (DebuggerDocument::breakpointEditorHTML): 16076 (DebuggerDocument::isPaused): 16077 (DebuggerDocument::pause): 16078 (DebuggerDocument::resume): 16079 (DebuggerDocument::stepInto): 16080 (DebuggerDocument::evaluateScript): 16081 (DebuggerDocument::currentFunctionStack): 16082 (DebuggerDocument::localScopeVariableNamesForCallFrame): 16083 (DebuggerDocument::valueForScopeVariableNamed): 16084 * Drosera/DebuggerDocument.h: Added. 16085 (DebuggerDocument::DebuggerDocument): 16086 * Drosera/config.h: Added. 16087 * Drosera/mac/DebuggerApplication.mm: 16088 (-[DebuggerApplication attach:]): 16089 * Drosera/mac/DebuggerDocument.h: Removed. 16090 * Drosera/mac/DebuggerDocument.mm: Removed. 16091 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h. 16092 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm. 16093 (-[DebuggerDocumentMac initWithServerName:]): 16094 (-[DebuggerDocumentMac dealloc]): 16095 (-[DebuggerDocumentMac breakpointEditorHTML]): 16096 (-[DebuggerDocumentMac isPaused]): 16097 (-[DebuggerDocumentMac pause]): 16098 (-[DebuggerDocumentMac resume]): 16099 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: 16100 * Drosera/win/DebuggerApplication.cpp: 16101 * Drosera/win/DebuggerObjectCallbacks.cpp: 16102 (breakpointEditorHTMLCallback): 16103 (currentFunctionStackCallback): 16104 (evaluateScript_inCallFrame_Callback): 16105 (isPausedCallback): 16106 (localScopeVariableNamesForCallFrame_Callback): 16107 (pauseCallback): 16108 (resumeCallback): 16109 (stepIntoCallback): 16110 (valueForScopeVariableNamed_inCallFrame_Callback): 16111 (staticFunctions): 16112 * Drosera/win/Drosera.cpp: 16113 * Drosera/win/DroseraPrefix.cpp: Added. 16114 * Drosera/win/DroseraPrefix.h: Added. 16115 16116 2007-07-16 Kevin McCullough <kmccullough (a] apple.com> 16117 16118 Reviewed by Adam, Sam and Tim. 16119 16120 - Moving files to prepare for cross-platform architecture. 16121 16122 * Drosera/DebuggerApplication.h: Removed. 16123 * Drosera/DebuggerApplication.m: Removed. 16124 * Drosera/DebuggerDocument.h: Removed. 16125 * Drosera/DebuggerDocument.m: Removed. 16126 * Drosera/Drosera.pch: Removed. 16127 * Drosera/Drosera.xcodeproj: Removed. 16128 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed. 16129 * Drosera/Info.plist: Removed. 16130 * Drosera/LauncherInfo.plist: Removed. 16131 * Drosera/Makefile: Removed. 16132 * Drosera/launcher.m: Removed. 16133 * Drosera/mac: Added. 16134 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h. 16135 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m. 16136 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h. 16137 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m. 16138 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch. 16139 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj. 16140 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: 16141 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist. 16142 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist. 16143 * Drosera/mac/Makefile: Copied from Drosera/Makefile. 16144 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m. 16145 * Drosera/mac/main.m: Copied from Drosera/main.m. 16146 * Drosera/main.m: Removed. 16147 * Makefile: 16148 * Makefile.Drosera: Added. 16149 16150 2007-07-15 Mark Rowe <mrowe (a] apple.com> 16151 16152 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist. 16153 16154 2007-07-13 Sam Weinig <sam (a] webkit.org> 16155 16156 Reviewed by Geoff Garen. 16157 16158 Add support for running SSL tests over HTTPS. 16159 16160 * DumpRenderTree/DumpRenderTree.m: 16161 (runTest): 16162 * DumpRenderTree/FrameLoadDelegate.m: 16163 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]): 16164 * Scripts/run-webkit-httpd: 16165 * Scripts/run-webkit-tests: 16166 16167 2007-07-13 David Kilzer <ddkilzer (a] apple.com> 16168 16169 Reviewed by Darin Adler. 16170 16171 Added support for -h|--help argument and verify that all command line arguments parse 16172 correctly. 16173 16174 * Scripts/run-webkit-httpd: 16175 16176 2007-07-12 Mark Rowe <mrowe (a] apple.com> 16177 16178 Reviewed by Ada. 16179 16180 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed. 16181 16182 * Scripts/run-webkit-tests: 16183 16184 2007-07-12 Geoffrey Garen <ggaren (a] apple.com> 16185 16186 Reviewed by Oliver Hunt. 16187 16188 Made the leaks tests pass on Leopard. 16189 16190 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard. 16191 * Scripts/run-leaks: Updated parser for slight change in text output. 16192 16193 2007-07-11 David Kilzer <ddkilzer (a] apple.com> 16194 16195 Reviewed by Maciej. 16196 16197 Update the iExploder list of CSS properties after box-sizing was renamed to 16198 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>. 16199 16200 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and 16201 -moz-box-sizing remain. 16202 16203 2007-07-10 Darin Adler <darin (a] apple.com> 16204 16205 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's 16206 Foundation's multipart/mixed-replace support -- I already verified that 16207 the bug has been fixed. 16208 16209 2007-07-10 Alice Liu <alice.liu (a] apple.com> 16210 16211 rubber stamped by Maciej. 16212 16213 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows 16214 16215 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 16216 (initializePreferences): 16217 set editable link behavior to match Mac DRT. 16218 16219 2007-07-10 Geoffrey Garen <ggaren (a] apple.com> 16220 16221 Reviewed by Tim Hatcher. 16222 16223 Ignore Page.o in debug builds because it now has a static PageCounter 16224 object. 16225 16226 * Scripts/check-for-global-initializers: 16227 16228 2007-07-09 Darin Adler <darin (a] apple.com> 16229 16230 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section. 16231 16232 2007-07-09 Alice Liu <alice.liu (a] apple.com> 16233 16234 Reviewed by Adam Roben. 16235 16236 setting DOM Paste Allowed Pref 16237 16238 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 16239 (initializePreferences): 16240 16241 2007-07-05 Kevin McCullough <kmccullough (a] apple.com> 16242 16243 Reviewed by Adam, Sam, and Ada. 16244 16245 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs. 16246 16247 * Drosera/Images/Drosera.ico: Added. 16248 * Drosera/Images/small.ico: Added. 16249 * Drosera/win: Added. 16250 * Drosera/win/BaseDelegate.h: Added. 16251 (BaseDelegate::QueryInterface): 16252 (BaseDelegate::didFinishLoadForFrame): 16253 (BaseDelegate::windowScriptObjectAvailable): 16254 (BaseDelegate::didStartProvisionalLoadForFrame): 16255 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame): 16256 (BaseDelegate::didFailProvisionalLoadWithError): 16257 (BaseDelegate::didCommitLoadForFrame): 16258 (BaseDelegate::didReceiveTitle): 16259 (BaseDelegate::didReceiveIcon): 16260 (BaseDelegate::didFailLoadWithError): 16261 (BaseDelegate::didChangeLocationWithinPageForFrame): 16262 (BaseDelegate::willPerformClientRedirectToURL): 16263 (BaseDelegate::didCancelClientRedirectForFrame): 16264 (BaseDelegate::willCloseFrame): 16265 (BaseDelegate::createWebViewWithRequest): 16266 (BaseDelegate::webViewShow): 16267 (BaseDelegate::webViewClose): 16268 (BaseDelegate::webViewFocus): 16269 (BaseDelegate::webViewUnfocus): 16270 (BaseDelegate::webViewFirstResponder): 16271 (BaseDelegate::makeFirstResponder): 16272 (BaseDelegate::setStatusText): 16273 (BaseDelegate::webViewStatusText): 16274 (BaseDelegate::webViewAreToolbarsVisible): 16275 (BaseDelegate::setToolbarsVisible): 16276 (BaseDelegate::webViewIsStatusBarVisible): 16277 (BaseDelegate::setStatusBarVisible): 16278 (BaseDelegate::webViewIsResizable): 16279 (BaseDelegate::setResizable): 16280 (BaseDelegate::setFrame): 16281 (BaseDelegate::webViewFrame): 16282 (BaseDelegate::setContentRect): 16283 (BaseDelegate::webViewContentRect): 16284 (BaseDelegate::runJavaScriptAlertPanelWithMessage): 16285 (BaseDelegate::runJavaScriptConfirmPanelWithMessage): 16286 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt): 16287 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage): 16288 (BaseDelegate::runOpenPanelForFileButtonWithResultListener): 16289 (BaseDelegate::mouseDidMoveOverElement): 16290 (BaseDelegate::contextMenuItemsForElement): 16291 (BaseDelegate::validateUserInterfaceItem): 16292 (BaseDelegate::shouldPerformAction): 16293 (BaseDelegate::dragDestinationActionMaskForDraggingInfo): 16294 (BaseDelegate::willPerformDragDestinationAction): 16295 (BaseDelegate::dragSourceActionMaskForPoint): 16296 (BaseDelegate::willPerformDragSourceAction): 16297 (BaseDelegate::contextMenuItemSelected): 16298 (BaseDelegate::hasCustomMenuImplementation): 16299 (BaseDelegate::trackCustomPopupMenu): 16300 (BaseDelegate::measureCustomMenuItem): 16301 (BaseDelegate::drawCustomMenuItem): 16302 (BaseDelegate::addCustomMenuDrawingData): 16303 (BaseDelegate::cleanUpCustomMenuDrawingData): 16304 (BaseDelegate::canTakeFocus): 16305 (BaseDelegate::takeFocus): 16306 (BaseDelegate::registerUndoWithTarget): 16307 (BaseDelegate::removeAllActionsWithTarget): 16308 (BaseDelegate::setActionTitle): 16309 (BaseDelegate::undo): 16310 (BaseDelegate::redo): 16311 (BaseDelegate::canUndo): 16312 (BaseDelegate::canRedo): 16313 * Drosera/win/DebuggerApplication.cpp: Added. 16314 (DebuggerApplication::serverLoaded): 16315 (DebuggerApplication::serverUnloaded): 16316 (DebuggerApplication::attach): 16317 (DebuggerApplication::numberOfRowsInTableView): 16318 (DebuggerApplication::tableView): 16319 * Drosera/win/DebuggerApplication.h: Added. 16320 (DebuggerApplication::DebuggerApplication): 16321 (DebuggerApplication::knownServers): 16322 * Drosera/win/DebuggerObjectCallbacks.cpp: Added. 16323 (breakpointEditorHTMLCallback): 16324 (currentFunctionStackCallback): 16325 (doubleClickMillisecondsCallback): 16326 (evaluateScript_inCallFrame_Callback): 16327 (isPausedCallback): 16328 (localScopeVariableNamesForCallFrame_Callback): 16329 (pauseCallback): 16330 (resumeCallback): 16331 (stepIntoCallback): 16332 (valueForScopeVariableNamed_inCallFrame_Callback): 16333 (staticFunctions): 16334 * Drosera/win/DebuggerObjectCallbacks.h: Added. 16335 * Drosera/win/Drosera.cpp: Added. 16336 (_tWinMain): 16337 (RegisterDroseraClass): 16338 (DroseraWndProc): 16339 (About): 16340 (Attach): 16341 (Drosera::Drosera): 16342 (Drosera::initUI): 16343 (Drosera::QueryInterface): 16344 (Drosera::AddRef): 16345 (Drosera::Release): 16346 (Drosera::didFinishLoadForFrame): 16347 (getDroseraJSClass): 16348 (Drosera::windowScriptObjectAvailable): 16349 (Drosera::webViewClose): 16350 (Drosera::validateUserInterfaceItem): 16351 (Drosera::runJavaScriptAlertPanelWithMessage): 16352 (Drosera::onSize): 16353 * Drosera/win/Drosera.h: Added. 16354 (Drosera::webViewLoaded): 16355 * Drosera/win/Drosera.vcproj: Added. 16356 * Drosera/win/Drosera.vcproj/Drosera.rc: Added. 16357 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added. 16358 * Drosera/win/Drosera.vcproj/debug.vsprops: Added. 16359 * Drosera/win/Drosera.vcproj/release.vsprops: Added. 16360 * Drosera/win/HelperFunctions.h: Added. 16361 (CFStringToBSTR): 16362 * Drosera/win/Info.plist: Added. 16363 * Drosera/win/resource.h: Added. 16364 * Drosera/win/stdafx.cpp: Added. 16365 * Drosera/win/stdafx.h: Added. 16366 16367 2007-07-09 Adam Treat <adam (a] staikos.net> 16368 16369 Reviewed by George Staikos. 16370 16371 Convert QWebFrame from a QFrame to a pure QObject to eliminate all 16372 traces of widgets. 16373 16374 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 16375 (WebCore::DumpRenderTree::DumpRenderTree): 16376 16377 2007-07-09 Anders Carlsson <andersca (a] apple.com> 16378 16379 Reviewed by Oliver. 16380 16381 <rdar://problem/4954319> 16382 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at 16383 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0 16384 16385 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream", 16386 return an error from NPP_NewStream. 16387 16388 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 16389 (pluginAllocate): 16390 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 16391 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 16392 (NPP_New): 16393 (NPP_NewStream): 16394 16395 2007-07-08 Mark Rowe <mrowe (a] apple.com> 16396 16397 Change name from WebKit/Qt to WebKit. 16398 16399 * CodeCoverage/regenerate-coverage-display: 16400 16401 2007-07-08 Rob Buis <buis (a] kde.org> 16402 16403 Reviewed by Mitz. 16404 16405 http://bugs.webkit.org/show_bug.cgi?id=14209 16406 DRT should be able to deal with text zoom 16407 16408 Allow increasing/decreasing text zoom using eventSender. 16409 16410 * DumpRenderTree/DumpRenderTree.m: 16411 (runTest): 16412 * DumpRenderTree/EventSendingController.m: 16413 (+[EventSendingController initialize]): 16414 (+[EventSendingController isSelectorExcludedFromWebScript:]): 16415 (-[EventSendingController textZoomIn]): 16416 (-[EventSendingController textZoomOut]): 16417 16418 2007-07-07 Mark Rowe <mrowe (a] apple.com> 16419 16420 Reviewed by Oliver. 16421 16422 * DumpRenderTree/DumpRenderTree.m: 16423 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076. 16424 16425 2007-07-06 Anders Carlsson <andersca (a] apple.com> 16426 16427 Reviewed by David Kilzer. 16428 16429 <rdar://problem/5313502> 16430 Many webarchive tests fail due to different NSURLResponse serialization on Leopard 16431 16432 Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the 16433 response's attributes. Also change the JavaScript MIME type to be "text/javascript". 16434 16435 * DumpRenderTree/DumpRenderTree.m: 16436 (convertMIMEType): 16437 (convertWebResourceDataToString): 16438 (convertWebResourceResponseToDictionary): 16439 (serializeWebArchiveToXML): 16440 16441 2007-07-06 Timothy Hatcher <timothy (a] apple.com> 16442 16443 Reviewed by Oliver. 16444 16445 Initialize the NSMutableAttributedString directly instead of creating 16446 a NSAttributedString first. 16447 16448 * DumpRenderTree/TextInputController.m: 16449 (-[TextInputController attributedStringWithString:]): 16450 16451 2007-07-06 Anders Carlsson <andersca (a] apple.com> 16452 16453 Reviewed by David Kilzer. 16454 16455 Replace "Apple Computer" with "Apple" in the DTD declaration. 16456 16457 * DumpRenderTree/DumpRenderTree.m: 16458 (serializeWebArchiveToXML): 16459 16460 2007-07-06 Adam Treat <adam (a] staikos.net> 16461 16462 Reviewed by George Staikos. 16463 16464 Adjust for conversion of QWebFrame to a QFrame from a scroll area. 16465 16466 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 16467 (WebCore::DumpRenderTree::DumpRenderTree): 16468 16469 2007-07-06 George Staikos <staikos (a] kde.org> 16470 16471 Reviewed by Anders. 16472 16473 Allow passing of additional arguments to qmake with --qmakearg= 16474 16475 * Scripts/webkitdirs.pm: 16476 16477 2007-07-05 George Staikos <staikos (a] kde.org> 16478 16479 Reviewed by Maciej. 16480 16481 Add --qt and --qmake= to force Qt even when QTDIR isn't present and to 16482 give a path to a specific qmake binary. Both are optional. 16483 16484 * Scripts/webkitdirs.pm: 16485 16486 2007-07-05 Adam Roben <aroben (a] apple.com> 16487 16488 Warn about tests in the Skipped file that succeeded 16489 16490 * Scripts/run-webkit-tests: 16491 16492 2007-07-05 Adam Roben <aroben (a] apple.com> 16493 16494 Removed unused install-win-extras script 16495 16496 Rubberstamped by Mark. 16497 16498 * Scripts/install-win-extras: Removed. 16499 16500 2007-07-05 Adam Roben <aroben (a] apple.com> 16501 16502 Show the test's extension in the results page 16503 16504 * Scripts/run-webkit-tests: 16505 16506 2007-07-05 Adam Roben <aroben (a] apple.com> 16507 16508 Add more options for controlling the interpretation of the Skipped file 16509 16510 Reviewed by Mark. 16511 16512 * Scripts/run-webkit-tests: 16513 16514 2007-07-04 Adam Roben <aroben (a] apple.com> 16515 16516 Add --skipped-only option to run-webkit-tests 16517 16518 When this option is specified, only those tests listed in the Skipped 16519 file are run. 16520 16521 Reviewed by Mark. 16522 16523 * Scripts/run-webkit-tests: 16524 16525 2007-07-04 Adam Roben <aroben (a] apple.com> 16526 16527 Clean up/alphabetize the run-webkit-tests help message 16528 16529 * Scripts/run-webkit-tests: 16530 16531 2007-07-04 Adam Roben <aroben (a] apple.com> 16532 16533 Enable a Leopard-specific Skipped list. 16534 16535 Reviewed by Mark. 16536 16537 * Scripts/run-webkit-tests: Check for Leopard. 16538 * Scripts/webkitdirs.pm: Added isTiger/isLeopard. 16539 16540 2007-07-03 Adam Roben <aroben (a] apple.com> 16541 16542 Fixed update-webkit-localizable-strings to work with new extract-localizable-strings 16543 16544 Got rid of extract-webkit-localizable-strings because it was trying to 16545 do update-webkit-localizable-strings' job. 16546 16547 Rubberstamped by Darin Adler. 16548 16549 * Scripts/extract-webkit-localizable-strings: Removed. 16550 * Scripts/update-webkit-localizable-strings: Renamed from 16551 extract-localizable-strings. 16552 16553 2007-07-03 Adam Roben <aroben (a] apple.com> 16554 16555 Modify scripts to keep Mac/Windows localized strings in sync 16556 16557 extract-webkit-localizable-strings now handles extracting strings from 16558 both the Mac and Windows WebKit ports and updating their respective 16559 Localizable.strings files. extract-localizable-strings is now really a 16560 piece of plumbing rather than a top-level tool. 16561 16562 Reviewed by Darin and Anders. 16563 16564 * Scripts/extract-localizable-strings: Changed to handle multiple 16565 directories. 16566 * Scripts/extract-webkit-localizable-strings: Added. 16567 16568 2007-07-03 Adele Peterson <adele (a] apple.com> 16569 16570 Reviewed by Darin Adler. 16571 16572 Extended DumpRenderTree to test encoding and decoding host names. 16573 16574 * DumpRenderTree/DumpRenderTree.m: 16575 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName. 16576 (+[LayoutTestController webScriptNameForSelector:]): ditto. 16577 (-[LayoutTestController decodeHostName:]): Added. 16578 (-[LayoutTestController encodeHostName:]): Added. 16579 16580 2007-07-03 Sam Weinig <sam (a] webkit.org> 16581 16582 Reviewed by Darin Adler. 16583 16584 Eleventh round of fixes for implicit 64-32 bit conversion errors. 16585 <rdar://problem/5292262> 16586 16587 Add functions to test long long and unsigned long long. 16588 16589 * DumpRenderTree/DumpRenderTree.m: 16590 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 16591 (+[LayoutTestController webScriptNameForSelector:]): 16592 (-[LayoutTestController objCLongLongRoundTrip:]): 16593 (-[LayoutTestController objCUnsignedLongLongRoundTrip:]): 16594 16595 2007-07-01 Adam Roben <aroben (a] apple.com> 16596 16597 Fix some paths to make http tests work again on Windows 16598 16599 Rubberstamped by Sam. 16600 16601 * Scripts/run-webkit-tests: 16602 16603 2007-06-28 Stephanie <slewis (a] apple.com> 16604 16605 Reviewed by Adam, 16606 16607 Allow tests to use pre-built roots instead of building the tests. 16608 16609 * Scripts/run-javascriptcore-tests: added --root option 16610 * Scripts/run-webkit-tests: added --root option 16611 * Scripts/webkitdirs.pm: added support for using a root 16612 16613 2007-06-25 Adam Roben <aroben (a] apple.com> 16614 16615 Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt 16616 http://bugs.webkit.org/show_bug.cgi?id=14405 16617 16618 Reviewed by Anders. 16619 16620 * Scripts/run-webkit-tests: 16621 16622 2007-06-25 Adam Roben <aroben (a] apple.com> 16623 16624 Enable running the regression tests on Windows. 16625 16626 These changes were developed alongside the Windows WebKit port and 16627 have been well tested. 16628 16629 Rubberstamped by Sam. 16630 16631 * Scripts/run-webkit-tests: 16632 16633 2007-06-25 Adam Roben <aroben (a] apple.com> 16634 16635 Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff 16636 http://bugs.webkit.org/show_bug.cgi?id=14403 16637 16638 Reviewed by Mark Rowe. 16639 16640 * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead. 16641 (sub createPatchCommand): Generate a correct diff in the $gitCommit 16642 case. 16643 16644 2007-06-25 Adam Roben <aroben (a] apple.com> 16645 16646 Land pdevenv and supporting scripts/programs 16647 16648 pdevenv is a script that will open an instance of Visual Studio that 16649 can compile multiple files in parallel, similar to make -jN. It uses 16650 the following scripts/programs to accomplish this: 16651 16652 CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl. 16653 16654 parallelcl: Actually performs the parallel compilation by forking 16655 multiple instances of the Microsoft-supplied cl.exe. 16656 16657 MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the 16658 Microsoft-supplied midl.exe. This avoids having to invoke perl for 16659 every invocation of midl.exe, which would be quite slow. 16660 16661 Rubberstamped by Sam. 16662 16663 * CLWrapper/CLWrapper.cpp: Added. 16664 (wmain): 16665 * CLWrapper/CLWrapper.sln: Added. 16666 * CLWrapper/CLWrapper.vcproj: Added. 16667 * MIDLWrapper/MIDLWrapper.cpp: Added. 16668 (wmain): 16669 * MIDLWrapper/MIDLWrapper.sln: Added. 16670 * MIDLWrapper/MIDLWrapper.vcproj: Added. 16671 * Scripts/parallelcl: Added. 16672 * Scripts/pdevenv: Added. 16673 * vcbin/cl.exe: Added. 16674 * vcbin/midl.exe: Added. 16675 16676 2007-06-23 Adam Roben <aroben (a] apple.com> 16677 16678 Land num-cpus for the Windows build. 16679 16680 Reviewed by Mark Rowe. 16681 16682 * Scripts/num-cpus: Added. 16683 16684 2007-06-22 Simon Hausmann <hausmann (a] kde.org> 16685 16686 Reviewed by Adam Roben. 16687 16688 Added support for populating ChangeLog entries from given git commits 16689 using --git-commit=<commitish> and --git-reviewer=<name>. 16690 16691 * Scripts/prepare-ChangeLog: 16692 16693 2007-06-22 Timothy Hatcher <timothy (a] apple.com> 16694 16695 Reviewed by Anders. 16696 16697 <rdar://problem/5228168> Leopard regression test failures: fast/applescript 16698 16699 There were some changes in Leopard that made our test output inconsistent with Tiger. 16700 16701 NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors 16702 on Leopard, so output our own readable string for typeType descriptors. 16703 16704 NSArray's description also changed on Leopard to output more whitespace, so 16705 make our own string representation for typeAEList descriptors. This requires 16706 a special case typeUnicodeText too, so the output is a quoted string. 16707 16708 * DumpRenderTree/AppleScriptController.m: 16709 (convertAEDescToObject): 16710 16711 2007-06-21 Anders Carlsson <andersca (a] apple.com> 16712 16713 Reviewed by Geoff. 16714 16715 Don't dump didFirstLayout callbacks, they happen intermittently. 16716 16717 * DumpRenderTree/FrameLoadDelegate.m: 16718 16719 2007-06-21 Lars Knoll <lars (a] trolltech.com> 16720 16721 Reviewed by Simon. 16722 16723 look for the Qt library in the installed location 16724 16725 * Scripts/webkitdirs.pm: 16726 16727 2007-06-20 Geoffrey Garen <ggaren (a] apple.com> 16728 16729 Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson. 16730 16731 Added tests for stringByEvaluatingJavaScriptFromString. 16732 16733 * DumpRenderTree/DumpRenderTree.m: 16734 (testStringByEvaluatingJavaScriptFromString): 16735 (dumpRenderTree): 16736 16737 2007-06-19 Andrew Wellington <proton (a] wiretapped.net> 16738 16739 Reviewed by Mark Rowe. 16740 16741 Support applications with spaces or special characters in their names 16742 16743 * Scripts/run-webkit-app: 16744 16745 2007-06-18 Anders Carlsson <andersca (a] apple.com> 16746 16747 Reviewed by John Sullivan. 16748 16749 Assert that the frame has a dataSource. 16750 16751 * DumpRenderTree/FrameLoadDelegate.m: 16752 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]): 16753 16754 2007-06-18 Adam Treat <adam (a] staikos.net> 16755 16756 Reviewed by George. 16757 16758 Reflect the library name change. 16759 16760 * Scripts/webkitdirs.pm: 16761 16762 2007-06-18 Jake Helfert <jake (a] jakeonthenet.com> 16763 16764 Reviewed by Adam. 16765 16766 - fix http://bugs.webkit.org/show_bug.cgi?id=14154 16767 Spinneret doesn't build against the new Win32 port. 16768 16769 * Spinneret/Spinneret/Spinneret.cpp: 16770 (_tWinMain): 16771 -Changed IWebViewExt to IWebViewPrivate 16772 -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls 16773 the WIN32 function RegisterDragDrop which requires the Ole* calls. 16774 * Spinneret/Spinneret/Spinneret.h: 16775 (SpinneretWebHost::didReceiveIcon): Updated method signature. 16776 (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature. 16777 (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature. 16778 16779 2007-06-14 Sam Weinig <sam (a] webkit.org> 16780 16781 Reviewed by Brady. 16782 16783 Update set of files to download for cygwin to include 16784 diffutils and regenerate the zip file. This should fix 16785 an issue on vista where svn-create-patch doesn't work. 16786 16787 * CygwinDownloader/cygwin-downloader.py: 16788 * CygwinDownloader/cygwin-downloader.zip: 16789 16790 2007-06-14 Mark Rowe <mrowe (a] apple.com> 16791 16792 Update script to match new nightly.webkit.org infrastructure. 16793 16794 * BuildSlaveSupport/build-launcher-dmg: Upload to the live web server, not the caching proxy. Let the server know it's a Mac build. 16795 16796 2007-06-12 Adam Roben <aroben (a] apple.com> 16797 16798 Land CygwinDownloader. 16799 16800 Rubberstamped by Hyatt. 16801 16802 * CygwinDownloader/cygwin-downloader.py: Added. 16803 * CygwinDownloader/cygwin-downloader.zip: Added. 16804 * CygwinDownloader/make-zip.sh: Added. 16805 * CygwinDownloader/setup.py: Added. 16806 16807 2007-06-06 Vladimir Olexa <vladimir.olexa (a] gmail.com> 16808 16809 Reviewed by Mark Rowe. 16810 16811 Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996 16812 [Drosera] Items in the file list don't get un-highlighted when 16813 files are selected from the file drop-down 16814 16815 * Drosera/debugger.js: currentFile was getting modified before file in the file 16816 browser got un-highlighted. Changed the order in which the functions execute. 16817 16818 2007-06-06 Mark Rowe <mrowe (a] apple.com> 16819 16820 Reviewed by Maciej. 16821 16822 http://bugs.webkit.org/show_bug.cgi?id=13988 16823 Bug 13988: Colon in file path crashes WebKit Nightly 16824 16825 The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with 16826 the bundled WebKit framework. Both of these variables are interpreted as containing a 16827 colon-delimited list of paths. There is no escaping mechanism defined, so if we detect 16828 a path with a colon in it we need to bail out to prevent `dyld' from throwing an error 16829 when we execute Safari. 16830 16831 * WebKitLauncher/main.m: 16832 (main): 16833 16834 2007-06-05 Mark Rowe <mrowe (a] apple.com> 16835 16836 Reviewed by Anders. 16837 16838 * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString. 16839 16840 2007-05-30 Alp Toker <alp.toker (a] collabora.co.uk> 16841 16842 Reviewed by Brady. 16843 16844 Enable logging in the Gdk port. 16845 http://bugs.webkit.org/show_bug.cgi?id=13936 16846 16847 * GdkLauncher/main.cpp: 16848 (main): 16849 16850 2007-05-29 Holger Freyther <zecke (a] selfish.org> 16851 16852 Reviewed by Anders. 16853 16854 Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow 16855 to provide ScrollBars for the FrameView. 16856 16857 * GdkLauncher/main.cpp: 16858 (registerRenderingAreaEvents): 16859 (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window 16860 (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust 16861 (main): 16862 16863 2007-05-29 David Kilzer <ddkilzer (a] webkit.org> 16864 16865 Reviewed by Darin Adler. 16866 16867 - fix http://bugs.webkit.org/show_bug.cgi?id=13901 16868 run-pageloadtest does not obey testName on command-line 16869 16870 * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present, 16871 otherwise default to "svg". Added dummy check to make sure $testName.pltsuite 16872 exists. 16873 16874 2007-05-29 David Kilzer <ddkilzer (a] webkit.org> 16875 16876 Reviewed by Darin Adler. 16877 16878 - fix http://bugs.webkit.org/show_bug.cgi?id=13900 16879 svnStatus($) subroutine in svn-[un]apply does not work properly with directories 16880 16881 This patch also fixes an instance of the "broken pipe" warning that happened when 16882 a directory contained modified files that were not part of an applied or unapplied 16883 patch. 16884 16885 * Scripts/svn-apply: 16886 (svnStatus($)): If we're trying to get status on a directory (instead of a file), 16887 make sure we actually get the directory's status (if it has one), not the first 16888 file's status reported within the directory. Fix "broken pipe" warnings by 16889 reading all of the output from the SVN filehandle before closing it. 16890 * Scripts/svn-unapply: 16891 (svnStatus($)): Ditto. 16892 16893 2007-05-28 David Kilzer <ddkilzer (a] webkit.org> 16894 16895 Reviewed by Darin Adler. 16896 16897 - fix http://bugs.webkit.org/show_bug.cgi?id=10342 16898 prepare-ChangeLog only shows removed files but not added files when files are moved 16899 - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408 16900 prepare-ChangeLog and svn-create-patch don't show replaced files 16901 16902 Switched method used to find list of changed files from "diff" to "status". This 16903 makes added and replaced files with history appear in the changed file list for svn. 16904 Added check for "+" in output from the svn status command to detect file history, and 16905 handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines. 16906 16907 * Scripts/prepare-ChangeLog: 16908 (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@). 16909 (statusCommand(@)): Switched argument from array ref to array. Necessary to use 16910 the output of "keys $paths" without creating a temporary array variable. 16911 (findOriginalFileFromSvn($)): Added. Based on findSourceFileAndRevision($) 16912 subroutine in svn-create-patch. 16913 (generateFileList(\@\@\%)): Added. Extracted from main body of script. Runs status 16914 command using command-line arguments instead of list of changed files from the diff 16915 command. Changed svn regex to only accept file statuses that we know how to handle. 16916 Identify original file when an added/replaced status with history is present. 16917 (statusDescription($$)): Handled added/replaced statuses with history. Added 16918 fall-through return statement. 16919 16920 2007-05-28 Holger Freyther <zecke (a] selfish.org> 16921 16922 Reviewed by Mark Rowe. 16923 16924 Add scripts and data to generate a coverage data for WebKit. 16925 16926 * CodeCoverage/README: Added. 16927 * CodeCoverage/amber.png: Added. 16928 * CodeCoverage/cov.py: Added. 16929 * CodeCoverage/emerald.png: Added. 16930 * CodeCoverage/gcov.css: Added. 16931 * CodeCoverage/glass.png: Added. 16932 * CodeCoverage/regenerate-coverage-display: Added. 16933 * CodeCoverage/ruby.png: Added. 16934 * CodeCoverage/run-generate-coverage-data: Added. 16935 * CodeCoverage/snow.png: Added. 16936 * Scripts/build-webkit: Add --coverage by Niko 16937 * Scripts/check-for-global-initializers: Skip the check on coverage builds 16938 * Scripts/generate-coverage-data: Added. 16939 * Scripts/run-javascriptcore-tests: Add --coverage by Niko 16940 16941 2007-05-29 Mark Rowe <mrowe (a] apple.com> 16942 16943 Build fix after r21745. 16944 16945 * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds. 16946 16947 2007-05-25 Anders Carlsson <andersca (a] apple.com> 16948 16949 Fix build. 16950 16951 * DumpRenderTree/DumpRenderTree.m: 16952 * DumpRenderTree/FrameLoadDelegate.m: 16953 16954 2007-05-25 Simon Hausmann <hausmann (a] kde.org> 16955 16956 Reviewed by Zack. 16957 16958 For the keyDown binding use QStringList instead of QList<QString>. The former is a default 16959 registered metatype. Also print out critical messages in dumprendertree's qt message handler. 16960 16961 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 16962 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: 16963 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 16964 16965 2007-05-20 David Kilzer <ddkilzer (a] webkit.org> 16966 16967 Reviewed by Adam Roben. 16968 16969 - fix http://bugs.webkit.org/show_bug.cgi?id=13565 16970 Change svn-create-patch to put LayoutTests in the end 16971 16972 In addition to reordering test files under the LayoutTests directory so that they 16973 appear after source code files, this patch fixes an issue with prepare-ChangeLog 16974 if the first argument passed to it is a file name instead of a directory name. 16975 16976 * Scripts/prepare-ChangeLog: 16977 (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory. 16978 (isSVN()): Ditto. 16979 * Scripts/svn-create-patch: 16980 (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from 16981 source code files. 16982 16983 2007-05-18 Mark Rowe <mrowe (a] apple.com> 16984 16985 Reviewed by Oliver. 16986 16987 Force LC_ALL to C when parsing locale-specific strings in 'svn' output. 16988 16989 * Scripts/svn-create-patch: 16990 * Scripts/webkitdirs.pm: 16991 16992 2007-05-18 Holger Freyther <zecke (a] selfish.org> 16993 16994 Reviewed by Maciej. 16995 16996 * GdkLauncher/main.cpp: Call setGtkWidget 16997 (main): 16998 16999 2007-05-18 Holger Hans Peter Freyther <zecke (a] selfish.org> 17000 17001 Reviewed by Mark Rowe. 17002 17003 * GdkLauncher/main.cpp: 17004 (main): Call Frame::init to catch up with Maciej's changes. 17005 * Scripts/run-javascriptcore-tests: Remove --gdk from the command line 17006 passed to the helper scripts. 17007 17008 2007-05-16 Brady Eidson <beidson (a] apple.com> 17009 17010 Build fix for some dev configurations 17011 17012 * DumpRenderTree/DumpRenderTree.m: 17013 17014 2007-05-16 Maciej Stachowiak <mjs (a] apple.com> 17015 17016 Reviewed by Justin. 17017 17018 - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading" 17019 17020 The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates 17021 that happen before the load commits. 17022 17023 Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added 17024 optional logging for every FrameLoadDelegate callback, including SPI callbacks. 17025 17026 * DumpRenderTree/DumpRenderTree.h: 17027 * DumpRenderTree/DumpRenderTree.m: 17028 (createWebView): 17029 (dumpRenderTree): 17030 (dump): 17031 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17032 (-[LayoutTestController clearBackForwardList]): 17033 (-[LayoutTestController setUseDashboardCompatibilityMode:]): 17034 (-[LayoutTestController dumpFrameLoadCallbacks]): 17035 (-[LayoutTestController setWindowIsKey:]): 17036 (-[LayoutTestController setMainFrameIsFirstResponder:]): 17037 (-[LayoutTestController _doLoad:target:]): 17038 (-[LayoutTestController _doBackOrForwardNavigation:]): 17039 (-[LayoutTestController queueReload]): 17040 (-[LayoutTestController queueScript:]): 17041 (-[LayoutTestController queueLoad:target:]): 17042 (-[LayoutTestController setAcceptsEditing:]): 17043 (-[LayoutTestController setTabKeyCyclesThroughElements:]): 17044 (shouldLogFrameLoadDelegates): 17045 (runTest): 17046 (displayWebView): 17047 (+[DumpRenderTreeEvent mouseLocation]): 17048 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 17049 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: 17050 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]): 17051 * DumpRenderTree/EventSendingController.m: 17052 (-[EventSendingController mouseDown]): 17053 (-[EventSendingController mouseUp]): 17054 (-[EventSendingController mouseMoveToX:Y:]): 17055 (-[EventSendingController contextClick]): 17056 * DumpRenderTree/FrameLoadDelegate.h: Added. 17057 * DumpRenderTree/FrameLoadDelegate.m: Added. 17058 (-[WebFrame _drt_descriptionSuitableForTestResult]): 17059 (-[FrameLoadDelegate processWork:]): 17060 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]): 17061 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): 17062 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): 17063 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]): 17064 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]): 17065 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]): 17066 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]): 17067 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): 17068 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]): 17069 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]): 17070 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]): 17071 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]): 17072 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]): 17073 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]): 17074 (-[FrameLoadDelegate webView:willCloseFrame:]): 17075 (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]): 17076 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]): 17077 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]): 17078 * DumpRenderTree/ResourceLoadDelegate.m: 17079 (-[NSURL _drt_descriptionSuitableForTestResult]): 17080 * DumpRenderTree/UIDelegate.m: 17081 (-[UIDelegate webViewFocus:]): 17082 17083 2007-05-16 Kevin McCullough <kmccullough (a] apple.com> 17084 17085 Reviewed by Darin and Geoff. 17086 17087 - rdar://problem/4981886 17088 - Now windows opened by the DOM can be closed by JS. 17089 17090 * DumpRenderTree/DumpRenderTree.m: 17091 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17092 (-[LayoutTestController windowCount]): 17093 17094 2007-05-15 Adam Roben <aroben (a] apple.com> 17095 17096 Reviewed by David Kilzer. 17097 17098 http://bugs.webkit.org/show_bug.cgi?id=13732 17099 prepare-ChangeLog should work with git 17100 17101 * Scripts/prepare-ChangeLog: Added support for Git. 17102 17103 2007-05-15 Lars Knoll <lars (a] trolltech.com> 17104 17105 Reviewed by Zack 17106 17107 Add the EventSender object to DRT. Currently it implements 17108 mouseDown, mouseUp and mouseMoveTo. 17109 17110 Make run-webkit-tests --strict work somewhat better for form elements. 17111 17112 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 17113 (WebCore::DumpRenderTree::DumpRenderTree): 17114 (WebCore::DumpRenderTree::initJSObjects): 17115 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 17116 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 17117 (HackWebFrame::mousePressEvent): 17118 (HackWebFrame::mouseReleaseEvent): 17119 (EventSender::EventSender): 17120 (EventSender::mouseDown): 17121 (EventSender::mouseUp): 17122 (EventSender::mouseMoveTo): 17123 (EventSender::leapForward): 17124 (EventSender::keyDown): 17125 (EventSender::frameUnderMouse): 17126 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: 17127 * Scripts/run-webkit-tests: 17128 17129 2007-05-12 Oliver Hunt <oliver (a] apple.com> 17130 17131 Reviewed by Hyatt. 17132 17133 Add new api to DRT to allow us to test a file being dragged 17134 onto <input type="file"> 17135 17136 * DumpRenderTree/DumpRenderTree.h: 17137 * DumpRenderTree/DumpRenderTree.m: 17138 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17139 (-[LayoutTestController addFileToPasteboardOnDrag]): 17140 (runTest): 17141 * DumpRenderTree/UIDelegate.m: 17142 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): 17143 17144 2007-05-11 Holger Hans Peter Freyther <zecke (a] selfish.org> 17145 17146 Reviewed by Maciej. 17147 17148 Bug 13656: [gdk] Resize the drawing area of the GdkLauncher 17149 http://bugs.webkit.org/show_bug.cgi?id=13656 17150 17151 * GdkLauncher/main.cpp: Handle resizing the drawing area 17152 (frameResizeCallback): 17153 (main): 17154 17155 2007-05-11 Geoffrey Garen <ggaren (a] apple.com> 17156 17157 Reviewed by Darin Adler. 17158 17159 Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:] 17160 is gone. 17161 17162 * DumpRenderTree/DumpRenderTree.m: 17163 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]): 17164 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17165 (+[LayoutTestController webScriptNameForSelector:]): 17166 (-[LayoutTestController testWrapperRoundTripping:]): 17167 17168 2007-05-08 Maciej Stachowiak <mjs (a] apple.com> 17169 17170 Reviewed by Oliver. 17171 17172 - don't clear events whenever an EventSendingController goes away, only do it at predictable times, 17173 since destroying a subframe can make one go away 17174 17175 (Discovered while fixing: 17176 17177 <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load) 17178 <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465) 17179 17180 * DumpRenderTree/DumpRenderTree.m: 17181 (runTest): explicitly clear saved events after every page load 17182 * DumpRenderTree/EventSendingController.h: 17183 * DumpRenderTree/EventSendingController.m: 17184 (-[EventSendingController dealloc]): don't clear saved events here... 17185 (+[EventSendingController clearSavedEvents]): do it here 17186 * Scripts/check-for-global-initializers: 17187 17188 2007-05-10 Mark Rowe <mrowe (a] apple.com> 17189 17190 Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration. 17191 17192 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 17193 17194 2007-05-09 Geoffrey Garen <ggaren (a] apple.com> 17195 17196 Reviewed by Maciej Stachowiak. 17197 17198 Added support for testing ObjC/JS type bridging. 17199 17200 Added ASSERT that -JSObject returns nil when the underlying JSObject 17201 is no longer GC protected. 17202 17203 * DumpRenderTree/DumpRenderTree.m: 17204 (returnThisCallback): 17205 (returnThisClass): 17206 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]): 17207 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17208 (+[LayoutTestController webScriptNameForSelector:]): 17209 (-[LayoutTestController accessStoredWebScriptObject]): 17210 (-[LayoutTestController testWrapperRoundTripping]): 17211 (-[LayoutTestController objCClassNameOf:]): 17212 (-[LayoutTestController objCObjectOfClass:]): 17213 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 17214 17215 2007-05-10 Lars Knoll <lars (a] trolltech.com> 17216 17217 Reviewed by Simon 17218 17219 Move setting of the DPI value a few lines up. Should fix 17220 the last two remaining failures in the layout tests. 17221 17222 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 17223 (main): 17224 17225 2007-05-09 Holger Freyther <zecke (a] selfish.org> 17226 17227 Reviewed by Mark Rowe. 17228 17229 * GdkLauncher/main.cpp: Always include config.h. 17230 17231 2007-05-08 Geoffrey Garen <ggaren (a] apple.com> 17232 17233 Reviewed by Darin Adler. 17234 17235 Added support for testing ObjC object identity. 17236 17237 Added ASSERT to verify that you can round-trip the object passed to you 17238 in -didClearWindowObject:forFrame:. 17239 17240 * DumpRenderTree/DumpRenderTree.m: 17241 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]): 17242 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17243 (+[LayoutTestController webScriptNameForSelector:]): 17244 (-[LayoutTestController accessStoredWebScriptObject]): 17245 (-[LayoutTestController objCIdentityIsEqual::]): 17246 17247 2007-05-07 Geoffrey Garen <ggaren (a] apple.com> 17248 17249 Reviewed by Maciej Stachowiak. 17250 17251 Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext], 17252 and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject 17253 forFrame:(WebFrame *)frame, in the form of ASSERTs. 17254 17255 * DumpRenderTree/DumpRenderTree.m: 17256 (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes 17257 to complain about. 17258 17259 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): 17260 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]): 17261 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 17262 17263 2007-05-08 Lars Knoll <lars (a] trolltech.com> 17264 17265 Reviewed by Zack. 17266 17267 Dump JavaScript console messages as well. Also requires a slight 17268 change in run-webkit-tests, so we still correctly differentiate 17269 between text only and rendertree tests. 17270 17271 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 17272 (WebCore::WebPage::WebPage): 17273 (WebCore::WebPage::javaScriptConsoleMessage): 17274 (WebCore::DumpRenderTree::DumpRenderTree): 17275 (WebCore::DumpRenderTree::dump): 17276 * Scripts/run-webkit-tests: 17277 17278 2007-05-08 Lars Knoll <lars (a] trolltech.com> 17279 17280 Reviewed by Zack 17281 17282 Specify what the serif, sans-serif and monospace aliases 17283 should map to and explicitly select the Gui style of 17284 DRT to be plastique. 17285 17286 Fixes most of the test failures still seen on the build bot. 17287 17288 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: 17289 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 17290 (main): 17291 17292 2007-05-07 Lars Knoll <lars (a] trolltech.com> 17293 17294 Reviewed by Zack 17295 17296 Fix the default font to 9pt Sans Serif. 17297 17298 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 17299 (main): 17300 17301 2007-05-04 Lars Knoll <lars (a] trolltech.com> 17302 17303 Reviewed by Zack 17304 17305 Revert on line of the last commit. We still want to keep the RPATH 17306 support in the pro file. 17307 17308 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: 17309 17310 2007-05-04 Lars Knoll <lars (a] trolltech.com> 17311 17312 Reviewed by Zack 17313 17314 Remove the old bitmap fonts I tried using to get reliable results from 17315 DumpRenderTree on X11. Instead we now use the URW Type1 fonts from 17316 ghostscript. I've added a mirror to simply check them out at 17317 svn://labs.trolltech.com/svn/webkit/testfonts. 17318 17319 Fixed DumpRenderTree to make sure these fonts are the only ones we use 17320 on X11 and added a fonts.conf file to get a well defined fontconfig 17321 configuration. 17322 17323 Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable 17324 I use to find the fonts to DumpRenderTree. 17325 17326 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: 17327 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed. 17328 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed. 17329 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed. 17330 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed. 17331 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed. 17332 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed. 17333 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed. 17334 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed. 17335 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed. 17336 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed. 17337 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed. 17338 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed. 17339 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed. 17340 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed. 17341 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed. 17342 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added. 17343 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 17344 (main): 17345 * Scripts/run-webkit-tests: 17346 17347 2007-05-03 Holger Freyther <freyther (a] kde.org> 17348 17349 Reviewed by Zack, landed by Simon. 17350 This is bugzilla bug 13499. 17351 17352 * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake 17353 * GdkLauncher/main.cpp: We don't have a config.h with the qmake build 17354 * Scripts/build-webkit: Add --gdk for the Gdk port 17355 * Scripts/webkitdirs.pm: Add helper methods for the Gdk port 17356 17357 2007-05-03 Geoffrey Garen <ggaren (a] apple.com> 17358 17359 Build fix: Add AllInOneFile.o to the ignore list, since it includes files 17360 in the ignore list. 17361 17362 * Scripts/check-for-global-initializers: 17363 17364 2007-05-02 Holger Freyther <freyther (a] kde.org> 17365 17366 Reviewed by Mark Rowe. 17367 17368 * Scripts/build-webkit: Remove the CMake call. 17369 * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only 17370 buildsystem for the Qt port. 17371 17372 2007-04-27 Kevin McCullough <kmccullough (a] apple.com> 17373 17374 - Removed debugging statements and took out the removal of the deletion 17375 of the symlink. This is because multiple instances of run-webkit-tests 17376 can be running at the same time. 17377 * Scripts/run-webkit-tests: 17378 17379 2007-04-27 Adam Roben <aroben (a] apple.com> 17380 17381 Reviewed by Maciej. 17382 17383 Cleaned up prepare-ChangeLog 17384 17385 * Scripts/prepare-ChangeLog: No code changes, but style now matches 17386 the prevalent style of our perl scripts. 17387 17388 2007-04-27 Nazar Kulyk <schamane (a] myeburg.net> 17389 17390 Reviewed by Mark Rowe. 17391 17392 Basic auto-correction of user-entered URLs. 17393 17394 * GdkLauncher/main.cpp: 17395 (autocorrectURL): 17396 (goToURLBarText): 17397 (main): 17398 17399 2007-04-28 Mark Rowe <mrowe (a] apple.com> 17400 17401 Rubber-stamped by Anders. 17402 17403 Rename some methods and variables to match the style guidelines. 17404 17405 * GdkLauncher/main.cpp: 17406 (stringIsEmpty): 17407 (stringIsEqual): 17408 (goToURLBarText): 17409 (goButtonClickedCallback): 17410 (urlBarEnterCallback): 17411 (frameResizeCallback): 17412 (frameDestroyCallback): 17413 (menuMainBackCallback): 17414 (menuMainForwardCallback): 17415 (menuMainQuitCallback): 17416 (main): 17417 17418 2007-04-27 Holger Freyther <freyther (a] kde.org> 17419 17420 Reviewed by Maciej. 17421 17422 Remove unmaintained CMake build system. 17423 17424 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed. 17425 * Scripts/build-webkit: Remove references to CMake. 17426 * Scripts/webkitdirs.pm: Remove references to CMake. 17427 17428 2007-04-26 Alp Toker <alp (a] atoker.com> 17429 17430 Reviewed by Mark Rowe. 17431 17432 * GdkLauncher/main.cpp: 17433 (main): Avoid use of deprecated API. 17434 17435 2007-04-26 Kevin McCullough <kmccullough (a] apple.com> 17436 17437 - Changed debugging statements for more information. 17438 17439 * Scripts/run-webkit-tests: 17440 17441 2007-04-26 Kevin McCullough <kmccullough (a] apple.com> 17442 17443 - Adding debugging statements to see why these tests fail. These will be removed. 17444 17445 * Scripts/run-webkit-tests: 17446 17447 2007-04-25 Anders Carlsson <andersca (a] apple.com> 17448 17449 Reviewed by Mitz. 17450 17451 Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle 17452 the dashboard compatibility mode. 17453 17454 * DumpRenderTree/DumpRenderTree.m: 17455 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17456 (+[LayoutTestController webScriptNameForSelector:]): 17457 (-[LayoutTestController setUseDashboardCompatibilityMode:]): 17458 (runTest): 17459 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 17460 17461 2007-04-24 Timothy Hatcher <timothy (a] apple.com> 17462 17463 Setting the valid architectures to 32-bit only, so these projects 17464 will ignore requests to build them 64-bit. Once they can be built 64-bit, 17465 the valid architectures can be updated. 17466 17467 * Drosera/Drosera.xcodeproj/project.pbxproj: 17468 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 17469 17470 2007-04-23 Adam Roben <aroben (a] apple.com> 17471 17472 Reviewed by Mark Rowe and David Kilzer. 17473 17474 * Scripts/build-webkit: Print the path to the run-safari script when 17475 finished building so that users can copy-and-paste the command to 17476 execute it. 17477 17478 2007-04-23 Darin Adler <darin (a] apple.com> 17479 17480 Reviewed by Hyatt. 17481 17482 - rename box-sizing to -webkit-box-sizing 17483 17484 * Drosera/console.css: Here. 17485 * Drosera/debugger.css: And here. 17486 * Drosera/viewer.css: And here. 17487 17488 2007-04-21 Mitz Pettel <mitz (a] webkit.org> 17489 17490 Reviewed by Darin Adler. 17491 17492 - http://bugs.webkit.org/show_bug.cgi?id=13350 17493 Build Ahem into DumpRenderTree 17494 17495 * DumpRenderTree/DumpRenderTree.m: 17496 (activateAhemFont): Added. Activates the copy of Ahem included in the 17497 DumpRenderTree binary. 17498 (dumpRenderTree): Replaced the check that Ahem is available with a call 17499 to activateAhemFont(). 17500 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 17501 Added linker options to include Ahem in the data section of the 17502 DumpRenderTree binary. 17503 17504 2007-04-20 Adam Roben <aroben (a] apple.com> 17505 17506 Reviewed by Darin Adler. 17507 17508 http://bugs.webkit.org/show_bug.cgi?id=13421 17509 Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs 17510 17511 * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff. 17512 17513 2007-04-18 Brady Eidson <beidson (a] apple.com> 17514 17515 Reviewed by Tim 17516 17517 <rdar://problem/5008925> 17518 Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate 17519 17520 * DumpRenderTree/ResourceLoadDelegate.m: 17521 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]): 17522 Add the willCacheResponse delegate call 17523 17524 2007-04-18 Adam Roben <aroben (a] apple.com> 17525 17526 Reviewed by David Kilzer. 17527 17528 * Scripts/webkitdirs.pm: 17529 (sub setConfiguration): Added an optional argument to set the 17530 configuration instead of parsing it from ARGV. 17531 17532 2007-04-17 Adam Roben <aroben (a] apple.com> 17533 17534 * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++ 17535 files as well. 17536 17537 2007-04-17 Adam Roben <aroben (a] apple.com> 17538 17539 Added a simple shell script to find all the headers from a specified 17540 framework or frameworks that are included by files beneath the working 17541 directory. 17542 17543 * Scripts/find-included-framework-headers: Added. 17544 17545 2007-04-16 Timothy Hatcher <timothy (a] apple.com> 17546 17547 * Drosera/debugger.css: hide the borders for iframes 17548 17549 2007-04-13 Adam Roben <aroben (a] apple.com> 17550 17551 Rubberstamped by Anders. 17552 17553 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include 17554 stdio.h so that snprintf is defined. 17555 17556 2007-04-13 Brady Eidson <beidson (a] apple.com> 17557 17558 Reviewed by Anders 17559 17560 Add the ability to dump the back/forward history of all windows open at the end of a test 17561 17562 * DumpRenderTree/DumpRenderTree.m: 17563 (dumpBackForwardListForWebView): Dump B/F list for the given WebView 17564 (dump): Call dumpBackForwardListForWebView for each WebView open after the test 17565 17566 2007-04-13 Anders Carlsson <andersca (a] apple.com> 17567 17568 Reviewed by Brady. 17569 17570 By default, close any windows that have been opened during a test. This can be overridden by 17571 calling setCloseRemainingWindowsWhenComplete(false). 17572 17573 Change the windows set to an array so we can gurantee the enumeration order. 17574 17575 * DumpRenderTree/DumpRenderTree.m: 17576 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17577 (+[LayoutTestController webScriptNameForSelector:]): 17578 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]): 17579 (runTest): 17580 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]): 17581 (-[DumpRenderTreeWindow dealloc]): 17582 17583 2007-04-13 Geoffrey Garen <ggaren (a] apple.com> 17584 17585 Build fix. 17586 17587 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 17588 (handleCallback): Explicitly cast the void* returned by malloc. 17589 17590 2007-04-12 Deneb Meketa <dmeketa (a] adobe.com> 17591 17592 Reviewed by Darin Adler. 17593 17594 http://bugs.webkit.org/show_bug.cgi?id=13029 17595 rdar://problem/4994849 17596 Bug 13029: Permit NPAPI plug-ins to see HTTP response headers. 17597 Changes in WebKitTools are only for the NPAPI test plugin. 17598 17599 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic. 17600 (pluginInvoke): support null window argument for NPStream creation. 17601 (pluginAllocate): initialization. 17602 (pluginDeallocate): cleanup. 17603 (handleCallback): add second JS callback arg: header dump. 17604 (notifyStream): added; hook from NPP_NewStream to record headers. 17605 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations. 17606 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook. 17607 (NPP_NewStream): call new header hook. 17608 17609 2007-04-09 Geoffrey Garen <ggaren (a] apple.com> 17610 17611 Reviewed by Maciej Stachowiak. 17612 17613 Fixed fast/forms/textarea-paste-newline.html. 17614 17615 This failure was pretty funny. run-webkit-tests kills and respawns 17616 DumpRenderTree once every 1000 runs. Adding a few tests caused 17617 textarea-paste-newline.html to run right at the beginning of DumpRenderTree's 17618 lifetime, before any render tree dumps had occurred. However, WebCore 17619 used a render tree dump as the hook that set a global flag to allow 17620 pasting through the DOM API, so running before any render tree dumps had 17621 occurred caused this test to fail. 17622 17623 * DumpRenderTree/DumpRenderTree.m: 17624 (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM 17625 API, instead of hoping it will read the tea leaves. 17626 17627 2007-04-07 Mark Rowe <mrowe (a] apple.com> 17628 17629 Not reviewed. Update to match some configuration changes that have been active on build.webkit.org. 17630 17631 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: 17632 17633 2007-04-05 Anders Carlsson <andersca (a] apple.com> 17634 17635 Reviewed by Adam. 17636 17637 Add support for opening new windows in DumpRenderTree. 17638 17639 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17640 (+[LayoutTestController webScriptNameForSelector:]): 17641 (-[LayoutTestController setCallCloseOnWebViews:]): 17642 (-[LayoutTestController setCanOpenWindows]): 17643 Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test 17644 can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on 17645 web views that are about to be closed. 17646 17647 (runTest): 17648 Make sure that only the main window is around when a test has finished running. 17649 17650 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]): 17651 (-[DumpRenderTreeWindow dealloc]): 17652 Manage the set of windows. 17653 17654 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 17655 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 17656 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 17657 (NPP_Destroy): 17658 Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not. 17659 17660 * DumpRenderTree/UIDelegate.m: 17661 (-[UIDelegate webView:createWebViewWithRequest:]): 17662 Create new windows. 17663 17664 (-[UIDelegate webViewClose:]): 17665 Close windows. 17666 17667 2007-04-05 Anders Carlsson <andersca (a] apple.com> 17668 17669 Reviewed by Maciej. 17670 17671 Move WebView and NSWindow creation to a separate function in preparation of supporting opening new 17672 windows in DRT. 17673 17674 * DumpRenderTree/DumpRenderTree.m: 17675 (createWebView): 17676 (dumpRenderTree): 17677 17678 2007-04-03 Anders Carlsson <andersca (a] apple.com> 17679 17680 Reviewed by Darin Adler. 17681 17682 Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded. 17683 17684 * DumpRenderTree/DumpRenderTree.h: 17685 * DumpRenderTree/DumpRenderTree.m: 17686 (dumpRenderTree): 17687 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 17688 (+[LayoutTestController webScriptNameForSelector:]): 17689 (-[LayoutTestController addDisallowedURL:]): 17690 (runTest): 17691 * DumpRenderTree/ResourceLoadDelegate.m: 17692 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): 17693 17694 2007-04-03 Mark Rowe <mrowe (a] apple.com> 17695 17696 Reviewed by Antti. 17697 17698 * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip. 17699 17700 2007-04-02 Anders Carlsson <andersca (a] apple.com> 17701 17702 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 17703 Don't use #import in a header included by C files. 17704 17705 2007-03-31 Mark Rowe <mrowe (a] apple.com> 17706 17707 Reviewed by Mitz. 17708 17709 Fix http://bugs.webkit.org/show_bug.cgi?id=13239 17710 Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process 17711 17712 Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array 17713 rather than -[WebScriptObject count]. 17714 17715 * Drosera/DebuggerDocument.m: 17716 (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]): 17717 17718 2007-03-30 Anders Carlsson <andersca (a] apple.com> 17719 17720 Reviewed by Geoff. 17721 17722 Add an "onstreamload" attribute to the plugin which is called when a stream starts loading. 17723 17724 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 17725 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 17726 (NPP_New): 17727 Look for the onstreamload attribute. 17728 17729 (NPP_Destroy): 17730 Free the onstreamload attribute. 17731 17732 (NPP_NewStream): 17733 Call the onstreamload handler. 17734 17735 2007-03-30 Geoffrey Garen <ggaren (a] apple.com> 17736 17737 Removing an assertion I just added because it's crashing the Leopard 17738 buildbot. The related layout test will still report a failure, so we 17739 don't really need this assertion. 17740 17741 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 17742 (pluginInvoke): 17743 17744 2007-03-30 Anders Carlsson <andersca (a] apple.com> 17745 17746 Reviewed by Geoff. 17747 17748 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: 17749 (testAllocate): 17750 (testEnumerate): 17751 Add casts. 17752 17753 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: 17754 Don't use #import, use #include. 17755 17756 2007-03-30 Anders Carlsson <andersca (a] apple.com> 17757 17758 Reviewed by Alexey. 17759 17760 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 17761 (pluginInvoke): 17762 Free the identifier string. 17763 17764 2007-03-30 Anders Carlsson <andersca (a] apple.com> 17765 17766 Reviewed by Geoff. 17767 17768 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 17769 Add TestObject.c and TestObject.h 17770 17771 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 17772 (pluginGetProperty): 17773 Implement the testObject property. 17774 17775 (pluginInvoke): 17776 Implement testEnumerate which takes an object and an array and enumerates 17777 the properties of the object and adds them to the array. 17778 17779 (pluginAllocate): 17780 Allocate the test object. 17781 17782 (pluginDeallocate): 17783 Free the test object. 17784 17785 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added. 17786 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added. 17787 Add a test object with two enumerable properties. 17788 17789 2007-03-29 Geoffrey Garen <ggaren (a] apple.com> 17790 17791 Reviewed by Beth Dakin. 17792 17793 Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in 17794 -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] 17795 navigating away from page with DivX movie plug-in (13203) 17796 17797 Added hasStream property and destroyStream function, used by layout test. 17798 17799 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 17800 (pluginGetProperty): 17801 (pluginInvoke): 17802 (pluginAllocate): 17803 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 17804 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 17805 (NPP_NewStream): 17806 17807 2007-03-27 Anders Carlsson <acarlsson (a] apple.com> 17808 17809 Reviewed by Geoff. 17810 17811 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 17812 (pluginInvoke): 17813 Add new function which takes a function and calls it using NPN_InvokeDefault. 17814 17815 2007-03-27 Adele Peterson <adele (a] apple.com> 17816 17817 Adding comment. 17818 17819 * DumpRenderTree/DumpRenderTree.m: 17820 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): 17821 17822 2007-03-27 Adele Peterson <adele (a] apple.com> 17823 17824 Fix svg tests by calling displayIfNeeded. 17825 17826 * DumpRenderTree/DumpRenderTree.m: 17827 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): 17828 17829 2007-03-26 Mark Rowe <mrowe (a] apple.com> 17830 17831 Reviewed by Sam Weinig. 17832 17833 Upload crash logs from DumpRenderTree as part of the test results to ease debugging 17834 of hard-to-reproduce crashes. 17835 17836 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: 17837 17838 2007-03-23 Adam Treat <adam (a] staikos.net> 17839 17840 Reviewed and committed by George. 17841 17842 Patch by Adam Treat. Removes hardcoded path to .pro file. 17843 17844 2007-03-22 Adam Roben <aroben (a] apple.com> 17845 17846 Reviewed by Geoff. 17847 17848 Removed eventSender.mouseClick because it was only useful for AppKit 17849 controls, which we don't use anymore. 17850 17851 * DumpRenderTree/EventSendingController.m: 17852 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed 17853 mouseClick. 17854 17855 2007-03-22 Adam Roben <aroben (a] apple.com> 17856 17857 Reviewed by Ada. 17858 17859 Make eventSender.mouseClick actually send a mouse up event. 17860 17861 * DumpRenderTree/EventSendingController.m: 17862 (-[EventSendingController mouseClick]): 17863 17864 2007-03-19 David Hyatt <hyatt (a] apple.com> 17865 17866 Update the minimum font size pref to match the actual default setting in Safari. It should have been 1 17867 all this time and not 9. 17868 17869 Reviewed by aroben 17870 17871 * DumpRenderTree/DumpRenderTree.m: 17872 (dumpRenderTree): 17873 17874 2007-03-18 Dan Waylonis <waylonis (a] mac.com> 17875 17876 Reviewed by Tim Hatcher. 17877 17878 DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005 17879 Bug 13005: WebScriptObject +throwException needs NULL check. 17880 17881 Add tests to ensure that a plugin can safely throw an exception in dealloc. 17882 17883 * DumpRenderTree/ObjCPlugin.h: 17884 * DumpRenderTree/ObjCPlugin.m: 17885 (+[ObjCPlugin webScriptNameForKey:]): 17886 (+[ObjCPlugin isKeyExcludedFromWebScript:]): 17887 (-[ObjCPlugin dealloc]): 17888 17889 2007-03-13 Mark Rowe <mrowe (a] apple.com> 17890 17891 Reviewed by Maciej. 17892 17893 Have the nightly launcher prefer Safari found in /Applications or ~/Applications 17894 if present, otherwise fall back on using LaunchServices to locate it elsewhere 17895 on the system. The motivation for this is to make the behaviour of the nightly 17896 builds more predictable on machines with multiple copies of Safari present. 17897 17898 * WebKitLauncher/main.m: 17899 (locateSafariBundle): 17900 (main): 17901 17902 2007-03-12 Darin Adler <darin (a] apple.com> 17903 17904 Reviewed by Tim Hatcher. 17905 17906 - add a DumpRenderTree feature where you can get the Objective-C 17907 class name of a JavaScript object 17908 17909 * DumpRenderTree/DumpRenderTree.m: 17910 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the 17911 objCClassNameOf: selector. 17912 (+[LayoutTestController webScriptNameForSelector:]): Add the 17913 objCClassNameOf: selector, with the name "objCClassName". 17914 (-[LayoutTestController objCClassNameOf:]): Added. 17915 17916 2007-03-11 Geoffrey Garen <ggaren (a] apple.com> 17917 17918 Reviewed by Oliver Hunt. 17919 17920 Beefed up --threaded mode in light of <rdar://problem/4681051> Installer 17921 crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*) 17922 trying to install iLife 06 using Rosetta on an Intel Machine 17923 17924 --threaded mode now runs a bunch of different JavaScript threads, randomly 17925 killing and respawning them. This was sufficient for reproducing the 17926 bug on my MacBook Pro. 17927 17928 * DumpRenderTree/DumpRenderTree.m: 17929 (javaScriptThreads): 17930 (runJavaScriptThread): 17931 (startJavaScriptThreads): 17932 (stopJavaScriptThreads): 17933 (dumpRenderTree): 17934 17935 2007-03-11 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 17936 17937 Reviewed by Brady Eidson. 17938 17939 Add forward/backward/quit menus for easier testing. 17940 17941 * GdkLauncher/main.cpp: 17942 (menuMainBackCb): 17943 (menuMainForwardCb): 17944 (menuMainQuitCb): 17945 (main): 17946 17947 2007-03-09 Andrew Wellington <proton (a] wiretapped.net> 17948 17949 Reviewed by Darin Adler. 17950 17951 - fix http://bugs.webkit.org/show_bug.cgi?id=13007 17952 svn-create-patch doesn't handle UTF files with BOMs as text 17953 17954 Force diff to treat files that svn-create-patch thinks are text as text. 17955 17956 * Scripts/svn-create-patch: Added -a switch to diff command. 17957 17958 2007-03-09 Mark Rowe <mrowe (a] apple.com> 17959 17960 Unreviewed. Use the new SVN URL on the buildbot. 17961 17962 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: 17963 17964 2007-03-08 Mark Rowe <mrowe (a] apple.com> 17965 17966 Reviewed by Antti. 17967 17968 Fix compiler warnings when building Drosera as 64-bit. 17969 17970 * Drosera/DebuggerDocument.m: 17971 (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method. 17972 (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type. 17973 (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant. 17974 17975 2007-03-07 Mark Rowe <mrowe (a] apple.com> 17976 17977 Reviewed by Maciej. 17978 17979 Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o. 17980 17981 * Scripts/check-for-global-initializers: 17982 17983 2007-03-07 Anders Carlsson <acarlsson (a] apple.com> 17984 17985 Reviewed by Adam. 17986 17987 Add some assertions. 17988 17989 * DumpRenderTree/DumpRenderTree.m: 17990 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]): 17991 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): 17992 (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]): 17993 (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]): 17994 17995 2007-03-07 David Kilzer <ddkilzer (a] webkit.org> 17996 17997 Reviewed by Darin Adler. 17998 17999 - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463 18000 WebArchiver - attempt to insert nil exception when archive empty iframe 18001 18002 The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating 18003 a webarchive while the dumpSourceAsWebArchive() test method uses the original 18004 dataSource (page source) to create a webarchive. Most tests currently use 18005 dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a 18006 webarchive. 18007 18008 * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive. 18009 Added dumpSourceAsWebArchive. 18010 (dump): 18011 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 18012 (-[LayoutTestController dumpDOMAsWebArchive]): 18013 (-[LayoutTestController dumpSourceAsWebArchive]): 18014 (runTest): 18015 18016 2007-03-05 Kevin McCullough <kmccullough (a] apple.com> 18017 18018 Reviewed by Mark and Dave H. 18019 18020 - rdar://problem/4922454 18021 - This fixes a security issue by making remote referrers not able to access local 18022 resources, unless they register their schemes to be treated as local. The result is 18023 that those schemes can access local resources and cannot be accessed by remote 18024 referrers. 18025 Because this behavior is new a link-on-or-after check is made to determine if the 18026 app should use the older, less safe, behavior. 18027 18028 * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT. 18029 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 18030 (+[LayoutTestController webScriptNameForSelector:]): 18031 (-[LayoutTestController setUserStyleSheetLocation:]): 18032 (-[LayoutTestController setUserStyleSheetEnabled:]): 18033 18034 2007-03-05 Anders Carlsson <acarlsson (a] apple.com> 18035 18036 Reviewed by Adam, Darin. 18037 18038 <rdar://problem/5025212> 18039 In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object 18040 18041 Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function 18042 to be run when the URL has finished (or failed) loading. 18043 18044 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 18045 (pluginInvoke): 18046 (handleCallback): 18047 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 18048 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 18049 (NPP_URLNotify): 18050 18051 2007-03-04 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 18052 18053 Reviewed by Nikolas Zimmermann. 18054 18055 Load a url given on a command line in a way that also 18056 works for local (file://) urls. 18057 18058 * GdkLauncher/main.cpp: 18059 (main): 18060 18061 2007-03-02 Geoffrey Garen <ggaren (a] apple.com> 18062 18063 Tweaked parse-malloc-history to work with new malloc_history output format. 18064 18065 * Scripts/parse-malloc-history: 18066 18067 2007-02-28 Vladimir Olexa <vladimir.olexa (a] gmail.com> 18068 18069 Reviewed by Tim H. 18070 18071 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887 18072 Bug#12887: [Drosera] Add ability to close loaded files 18073 18074 * Drosera/DebuggerDocument.h: 18075 * Drosera/DebuggerDocument.m: 18076 (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files 18077 * Drosera/Drosera.xcodeproj/project.pbxproj: 18078 * Drosera/English.lproj/MainMenu.nib/classes.nib: 18079 * Drosera/English.lproj/MainMenu.nib/info.nib: 18080 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item 18081 * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style 18082 * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file 18083 18084 2007-02-28 Nikolas Zimmermann <zimmermann (a] kde.org> 18085 18086 Reviewed by Maciej. 18087 18088 Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily. 18089 18090 * Scripts/build-webkit: 18091 18092 2007-02-27 Geoffrey Garen <ggaren (a] apple.com> 18093 18094 Small tweak to run-webkit-tests. 18095 18096 * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than 18097 1000 MallocStackLogging tests at a time. 18098 18099 2007-02-26 Maciej Stachowiak <mjs (a] apple.com> 18100 18101 Reviewed by Lars. 18102 18103 - set ENABLE_XSLT even when compiling without SVG support, since that is no 18104 longer hardcoded into config.h. 18105 18106 * Scripts/build-webkit: 18107 18108 2007-02-26 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 18109 18110 Reviewed by Adam Roben. 18111 18112 Rename *_SUPPORT defines to ENABLE_*. 18113 18114 * GdkLauncher/gdklauncher.bkl: 18115 18116 2007-02-24 Geoffrey Garen <ggaren (a] apple.com> 18117 18118 Reviewed by Darin Adler. 18119 18120 * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're 18121 fixed. 18122 18123 2007-02-24 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 18124 18125 Reviewed by Adam Roben. 18126 18127 Improve gdklauncher: add text field for entering url. 18128 18129 * GdkLauncher/gdklauncher.bkl: 18130 * GdkLauncher/main.cpp: 18131 (strEmpty): 18132 (strEq): 18133 (handleGdkEvent): 18134 (goToUrlBarText): 18135 (goButtonClickedCb): 18136 (urlBarEnterCb): 18137 (registerRenderingAreaEvents): 18138 (frameResizeCb): 18139 (frameDestroyCb): 18140 (main): 18141 18142 2007-02-22 Vladimir Olexa <vladimir.olexa (a] gmail.com> 18143 18144 Reviewed by Tim H. 18145 18146 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852 18147 Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up 18148 * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names. 18149 18150 2007-02-22 Adele Peterson <adele (a] apple.com> 18151 18152 Reviewed by Darin Adler. 18153 18154 Added option in layoutTestController to setTabKeyCyclesThroughElements, so we 18155 can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body 18156 18157 * DumpRenderTree/DumpRenderTree.m: 18158 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 18159 (+[LayoutTestController webScriptNameForSelector:]): 18160 (-[LayoutTestController setTabKeyCyclesThroughElements:]): 18161 18162 2007-02-22 Geoffrey Garen <ggaren (a] apple.com> 18163 18164 Used svn merge -r19786:19785 to roll out previous hack to work around 18165 SVG painting issue in DRT. 18166 18167 Implemented new work-around, which makes --paint paint *after* dumping 18168 the render tree instead of before, so that painting doesn't influence 18169 the SVG render tree. 18170 18171 This should fix the ~400 new pixel failures introduced in r19786. 18172 18173 * DumpRenderTree/DumpRenderTree.m: 18174 (dump): 18175 * Scripts/run-webkit-tests: 18176 18177 2007-02-22 Geoffrey Garen <ggaren (a] apple.com> 18178 18179 Resetting --leaks mode default to run 1000 tests at a time because setting it 18180 to 750 didn't stop the stack logging related crashes, and running more tests 18181 at a time is faster. The crashes seem to be a real bug in stack logging, 18182 not an out of memory condition. 18183 18184 * Scripts/run-webkit-tests: 18185 18186 2007-02-21 Geoffrey Garen <ggaren (a] apple.com> 18187 18188 Reviewed by Adam Roben. 18189 18190 Added hack to force painting when running an SVG test. This is a work-around 18191 for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at 18192 paint time instead of style resolution time. 18193 18194 We need this so that --leaks mode, which always paints, doesn't appear to 18195 fail SVG tests. We also need this if we ever want to test style application 18196 in SVG, since many SVGs don't apply style to their renderers until they paint. 18197 18198 * Scripts/run-webkit-tests: 18199 18200 2007-02-21 Geoffrey Garen <ggaren (a] apple.com> 18201 18202 Reduced --leaks mode to running only 750 tests at a time, in the hopes 18203 of fixing intermittent crasher that may be caused by out of memory 18204 conditions. 18205 18206 * Scripts/run-webkit-tests: 18207 18208 2007-02-21 Geoffrey Garen <ggaren (a] apple.com> 18209 18210 Reviewed by Darin Adler. 18211 18212 Made DRT paint when running run-webkit-tests in --leaks mode, to check 18213 for painting leaks. 18214 18215 * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since 18216 that's the default for statics. 18217 (dumpRenderTree): Added --paint command line option, which specifies that 18218 DRT should paint at the end of every test. 18219 (displayWebView): New function, called by dump() and -[LayoutTestController display]. 18220 * Scripts/run-webkit-tests: Use the --paint command line option when checking 18221 for leaks. 18222 18223 * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list. 18224 Removed stale comment about THRD leaks -- we now ignore them reliably. 18225 18226 2007-02-21 Geoffrey Garen <ggaren (a] apple.com> 18227 18228 Tools tweak. No review necessary. 18229 18230 * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line 18231 arguments. Changed command line argument variables from special implicit 18232 no-op values to specific empty values that we test explicitly. 18233 18234 2007-02-21 Vladimir Olexa <vladimir.olexa (a] gmail.com> 18235 18236 Reviewed by Tim H. 18237 18238 Bug 12834: Drosera should remember scroll position of open files like Xcode 18239 http://bugs.webkit.org/show_bug.cgi?id=12834 18240 18241 * Drosera/debugger.js: Implemented scrolling memory 18242 18243 2007-02-20 Geoffrey Garen <ggaren (a] apple.com> 18244 18245 Tools tweak. No review necessary. 18246 18247 Made parse-malloc-history executable. (Oops!) 18248 18249 Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history" 18250 output. 18251 18252 Added the ability to merge callstacks by regexp, not just depth, so you 18253 can ask questions like, "How many of these allocations were due to that one 18254 call to ...?" 18255 18256 * Scripts/parse-malloc-history: 18257 18258 2007-02-20 Geoffrey Garen <ggaren (a] apple.com> 18259 18260 * Scripts/parse-malloc-history: Added copyright info. 18261 18262 2007-02-20 Geoffrey Garen <ggaren (a] apple.com> 18263 18264 Reviewed by Darin Adler. 18265 18266 New script to parse the output from malloc_history, so we can determine 18267 what's using memory in WebKit. 18268 18269 * Scripts/parse-malloc-history: Added. 18270 18271 2007-02-20 Graham Dennis <graham.dennis (a] gmail.com> 18272 18273 Reviewed by Darin Adler. 18274 18275 Fix for http://bugs.webkit.org/show_bug.cgi?id=12802 18276 WebKit.framework is built with SVG_SUPPORT for No-SVG build 18277 18278 * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well. 18279 18280 2007-02-19 Geoffrey Garen <ggaren (a] apple.com> 18281 18282 Build fix. 18283 18284 * Scripts/check-for-global-initializers: Ignore the global counter I added 18285 for SubresourceLoaders. 18286 18287 2007-02-19 Darin Adler <darin (a] apple.com> 18288 18289 Reviewed by Tim Hatcher. 18290 18291 * Scripts/check-for-global-initializers: Delete the linked executable if the check fails. 18292 Without this, you only see the global initializer error once, which makes it very easy 18293 to miss them. 18294 18295 2007-02-16 Mark Rowe <mrowe (a] apple.com> 18296 18297 Not reviewed. 18298 18299 <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode 18300 18301 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests. 18302 18303 2007-02-15 Geoffrey Garen <ggaren (a] apple.com> 18304 18305 Reviewed by Beth Dakin. 18306 18307 * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node 18308 leaks anymore, either, since r19486 fixed them, too. 18309 (shouldIgnoreWebCoreNodeLeaks): 18310 18311 2007-02-15 Darin Adler <darin (a] apple.com> 18312 18313 * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were 18314 fixed by change 19486. 18315 18316 2007-02-15 Geoffrey Garen <ggaren (a] apple.com> 18317 18318 Reviewed by Beth Dakin. 18319 18320 Ignore another leak, seen recently on the buildbot. 18321 18322 * Scripts/run-webkit-tests: 18323 18324 2007-02-14 Geoffrey Garen <ggaren (a] apple.com> 18325 18326 Reviewed by Beth Dakin. 18327 18328 Ignore another leak, seen recently on the buildbot. 18329 18330 * Scripts/run-webkit-tests: 18331 18332 2007-02-13 Darin Adler <darin (a] apple.com> 18333 18334 * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one 18335 giant line. 18336 18337 2007-02-11 Maciej Stachowiak <mjs (a] apple.com> 18338 18339 Reviewed by Mitz. 18340 18341 - add contextClick() operation to eventSender to be able to test this 18342 18343 * DumpRenderTree/EventSendingController.m: 18344 (+[EventSendingController isSelectorExcludedFromWebScript:]): 18345 (-[EventSendingController contextClick]): 18346 18347 2007-02-11 Darin Adler <darin (a] apple.com> 18348 18349 * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all 18350 so it doesn't give a perl exception (happens in clean builds, for example). 18351 18352 2007-02-10 David Kilzer <ddkilzer (a] webkit.org> 18353 18354 Reviewed by Adam. 18355 18356 * Scripts/svn-create-patch: 18357 (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate 18358 a relative path to the copied file. 18359 18360 2007-02-10 Timothy Hatcher <timothy (a] apple.com> 18361 18362 Reviewed by Sam Weinig. 18363 18364 * Drosera/Drosera.icns: updated the icon with 512px and 256px variants 18365 18366 2007-02-10 David Kilzer <ddkilzer (a] webkit.org> 18367 18368 Reviewed by Timothy. 18369 18370 * Scripts/svn-apply: 18371 (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64 18372 encoded text. 18373 18374 2007-02-10 Brady Eidson <beidson (a] apple.com> 18375 18376 Reviewed by Maciej 18377 18378 <rdar://problem/4965133> WebKit sends file:// url referrers 18379 18380 * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests 18381 on local files, but have an httpd for remote resources 18382 18383 2007-02-08 Geoffrey Garen <ggaren (a] apple.com> 18384 18385 Reviewed by Beth Dakin. 18386 18387 Ignore another false leak report. 18388 18389 * Scripts/run-webkit-tests: 18390 18391 2007-02-08 Geoffrey Garen <ggaren (a] apple.com> 18392 18393 Reviewed by Kevin McCullough. 18394 18395 * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it 18396 already exists, to avoid confusing error message. 18397 18398 Also, remove /tmp/LayoutTests after running so unsupecting fools don't 18399 try to rm -rf it, only later to discover that they have completely hosed 18400 their machines. 18401 18402 2007-02-08 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 18403 18404 Reviewed by Adam Roben. 18405 18406 Linux/gdk build fixes. 18407 18408 * GdkLauncher/main.cpp: Add -exit-after-loading and 18409 -dump-render-tree as debugging aid. 18410 (strEq): 18411 (main): 18412 18413 2007-02-08 Geoffrey Garen <ggaren (a] apple.com> 18414 18415 Minor fixup based on Maciej's review last night. 18416 18417 * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior, 18418 and do a little math to make it work. 18419 18420 2007-02-08 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 18421 18422 Reviewed by Adam Roben. 18423 18424 Linux/gdk build fixes. 18425 18426 * GdkLauncher/gdklauncher.bkl: 18427 18428 2007-02-08 Kevin McCullough <KMcCullough (a] apple.com> 18429 18430 - Fix layout test failures. 18431 18432 * Scripts/run-webkit-tests: 18433 18434 2007-02-08 Darin Adler <darin (a] apple.com> 18435 18436 Reviewed by Anders. 18437 18438 * Scripts/check-for-global-initializers: For speed, only check files that 18439 have been modified since the last time we linked. For tidiness, capture 18440 stderr from nm, and prevent "nm: no name list" messages from going out. 18441 18442 2007-02-08 Geoffrey Garen <ggaren (a] apple.com> 18443 18444 Reviewed by Maciej Stachowiak, Adam Roben. 18445 18446 Added 'nthly' support to run-webkit-tests. It's like 'singly', for an 18447 arbitrary number n. 18448 18449 Plus some renames: 18450 - DumpRenderTree => "dumpTool" (to match abstraction elsewhere) 18451 - checkLeaks => "shouldCheckLeaks" (to match style guidelines) 18452 - tool => dumpTool (to match abstraction elsewhere) 18453 - httpdOpen => isHttpdOpen (to match style guidelines) 18454 18455 Plus a few logic fixups: 18456 - Don't check isDumpToolOpen when we know we've called openDumpTool(). 18457 - Use a single code path to decide when to shut down dumpTool and 18458 when to check for leaks, since the operations are coincidental. 18459 - Use a single code path for running the leaks tool, since the only 18460 thing that varies between configurations is the output file name. 18461 - Increment $count after each test finishes, instead of at the end 18462 of the loop, to help with comparing to the length of the array 18463 and %-ing by n. 18464 - Use a more robust test inside the loop to determine if we need to 18465 close dumpTool, instead of copying the closing code outside the loop. 18466 18467 Layout tests pass. 18468 18469 * Scripts/run-webkit-tests: 18470 18471 2007-02-06 Geoffrey Garen <ggaren (a] apple.com> 18472 18473 Reviewed by Beth Dakin, evil twin to Bethany P. Dakin. 18474 18475 Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can 18476 catch all reports of them, not just those inside pthread_create. 18477 18478 Also, use "\\" instead of "\" because we need the actual \ to get into the 18479 regexp string if it's going to do any escaping. (Oops!) 18480 18481 * Scripts/run-webkit-tests: 18482 18483 2007-02-06 Geoffrey Garen <ggaren (a] apple.com> 18484 18485 Reviewed by Bethany P. Dakin. 18486 18487 The 's' is optional when the leaks tool reports 'leaks'. 18488 18489 * Scripts/run-leaks: 18490 18491 2007-02-06 Geoffrey Garen <ggaren (a] apple.com> 18492 18493 Reviewed by Bethany P. Dakin. 18494 18495 Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet. 18496 18497 * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions. 18498 18499 2007-02-06 David Smith <catfish.man (a] gmail.com> 18500 18501 Reviewed by Darin Adler. 18502 18503 Patch for http://bugs.webkit.org/show_bug.cgi?id=12566 18504 [Drosera] Console history fixups 18505 18506 * Drosera/console.js: assorted cleanups and fixes 18507 18508 2007-02-05 Geoffrey Garen <ggaren (a] apple.com> 18509 18510 Reviewed by Darin Adler. 18511 18512 New script that allows you to ignore leaks by regular expression. 18513 18514 * Scripts/run-leaks: Added. 18515 18516 2007-02-03 Sam Weinig <sam (a] webkit.org> 18517 18518 Reviewed by Mark. 18519 18520 Patch for http://bugs.webkit.org/show_bug.cgi?id=12555 18521 Drosera doesn't handle CR ( carriage returns ) well 18522 18523 - Normalize all the line endings. 18524 18525 * Drosera/debugger.js: 18526 18527 2007-02-02 Geoffrey Garen <ggaren (a] apple.com> 18528 18529 Reviewed by Darin Adler. 18530 18531 Added some more known leaks to the leaks ignore list. 18532 18533 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode 18534 hate itself so much? 18535 * Scripts/run-webkit-tests: 18536 18537 2007-02-02 Geoffrey Garen <ggaren (a] apple.com> 18538 18539 Even better build fix than the last. 18540 18541 * ChangeLog: 18542 * DumpRenderTree/DumpRenderTree.m: 18543 (shouldIgnoreWebCoreNodeLeaks): 18544 18545 2007-02-02 Geoffrey Garen <ggaren (a] apple.com> 18546 18547 Fixed build. Added work-around for GCC bug. 18548 18549 * DumpRenderTree/DumpRenderTree.m: 18550 (shouldIgnoreWebCoreNodeLeaks): 18551 18552 2007-02-01 Geoffrey Garen <ggaren (a] apple.com> 18553 18554 Reviewed by Maciej Stachowiak. 18555 18556 Added support for selectively ignoring WebCore::Node leaks during layout 18557 tests, so that we can ignore known leaks in other components. 18558 18559 * DumpRenderTree/DumpRenderTree.m: 18560 (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose 18561 WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook 18562 confuse anyone else? 18563 (runTest): 18564 18565 2007-02-01 Anders Carlsson <acarlsson (a] apple.com> 18566 18567 Reviewed by Darin Adler. 18568 18569 * DumpRenderTree/UIDelegate.m: 18570 (-[UIDelegate webView:addMessageToConsole:]): 18571 Dump console messages. 18572 18573 2007-01-31 Anders Carlsson <acarlsson (a] apple.com> 18574 18575 * DumpRenderTree/ResourceLoadDelegate.m: 18576 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): 18577 Use an NSString here so we can guarantee that -description always returns the same value. 18578 18579 2007-01-31 Geoffrey Garen <ggaren (a] apple.com> 18580 18581 Reviewed by Darin Adler. 18582 18583 Added Selection::toRange to the leaks -exclude list, since it comes up 18584 as a false positive (Radar 4967949). 18585 18586 Also added RangeCounter to the global initializer exclude list. I added 18587 a RangeCounter since leaks won't detect all Range leaks anymore. 18588 18589 * Scripts/check-for-global-initializers: 18590 * Scripts/run-webkit-tests: 18591 18592 2007-01-31 Anders Carlsson <acarlsson (a] apple.com> 18593 18594 * DumpRenderTree/ResourceLoadDelegate.m: 18595 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): 18596 Don't try to create an identifier if resource loads shouldn't be dumped. 18597 18598 2007-01-31 Anders Carlsson <acarlsson (a] apple.com> 18599 18600 Reviewed by Geoff. 18601 18602 Add dumping of resource loads. This isn't completely tweaked yet since the test results would 18603 rely on resources being delivered in the same order which might not always be true. However, it works good 18604 enough for the simple webarchive tests I want to do right now. 18605 18606 * DumpRenderTree/DumpRenderTree.h: 18607 * DumpRenderTree/DumpRenderTree.m: 18608 (dumpRenderTree): 18609 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 18610 (-[LayoutTestController dumpResourceLoadCallbacks]): 18611 (runTest): 18612 18613 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 18614 * DumpRenderTree/ResourceLoadDelegate.h: Added. 18615 * DumpRenderTree/ResourceLoadDelegate.m: Added. 18616 Add new resource load delegate. 18617 18618 2007-01-31 Geoffrey Garen <ggaren (a] apple.com> 18619 18620 Backing out the CFRunLoopRunSpecific exclude command because it was overly 18621 broad. We'll either need to work around this leak in DRT, or do some 18622 custom grep-based leak ignoring. 18623 18624 * Scripts/run-webkit-tests: 18625 18626 2007-01-30 Geoffrey Garen <ggaren (a] apple.com> 18627 18628 Reviewed by Beth Dakin. 18629 18630 Filed some more Radars in other components, added some more leaks to the 18631 exclusion list. 18632 18633 * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver, 18634 CFRunLoopRunSpecific, and NSSpellChecker. 18635 18636 2007-01-30 David Kilzer <ddkilzer (a] webkit.org> 18637 18638 Reviewed by Darin Adler. 18639 18640 http://bugs.webkit.org/show_bug.cgi?id=11882 18641 Need a way to regression test .webarchive output files 18642 18643 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format. 18644 Alters WebResourceResponse and WebResourceURL properties within WebArchive format 18645 to normalize URLs to remove path where WebKit was checked out. Also converts 18646 WebDataResource properties from data to string if the corresponding 18647 WebResourceMIMEType property starts with "text/" or equals 18648 "application/x-javascript". 18649 18650 * DumpRenderTree/DumpRenderTree.m: 18651 (convertWebResourceDataToString): Added. 18652 (normalizeWebResourceURL): Added. 18653 (normalizeWebResourceResponse): Added. 18654 (serializeWebArchiveToXML): Added. 18655 (dump): 18656 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 18657 (-[LayoutTestController dumpAsWebArchive]): Added. 18658 (runTest): 18659 18660 2007-01-30 David Kilzer <ddkilzer (a] webkit.org> 18661 18662 Reviewed by Mark Rowe. 18663 18664 http://bugs.webkit.org/show_bug.cgi?id=12470 18665 svn-create-patch creates duplicate patches for files within an added/modified directory 18666 18667 * Scripts/svn-create-patch: 18668 (sub generateFileList($\%\%)): Ignore directories when generating the file list. 18669 18670 2007-01-29 Geoffrey Garen <ggaren (a] apple.com> 18671 18672 Reviewed by Maciej Stachowiak. 18673 18674 Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines 18675 18676 No more mollycoddling for you, FastMalloc.o! 18677 18678 * Scripts/check-for-global-initializers: 18679 18680 2007-01-29 Graham Dennis <graham.dennis (a] gmail.com> 18681 18682 Reviewed by Maciej. 18683 18684 Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725 18685 Image data in from RTFD clipboard data thrown away 18686 18687 - This method is needed because NSArrays are bridged to JS Arrays, 18688 which in turn are bridged back to WebScriptObjects when passed from 18689 JS to ObjC. Hence it is not possbile to pass an NSArray from JS. 18690 18691 * DumpRenderTree/DumpRenderTree.m: 18692 (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS. 18693 18694 2007-01-25 Geoffrey Garen <ggaren (a] apple.com> 18695 18696 Reviewed by Maciej Stachowiak. 18697 18698 Added support for test for <rdar://problem/4608404> WebScriptObject's 18699 _rootObject lack of ownership policy causes crashes (e.g., in Dashcode) 18700 18701 * DumpRenderTree/DumpRenderTree.m: 18702 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 18703 (+[LayoutTestController webScriptNameForSelector:]): 18704 (-[LayoutTestController storeWebScriptObject:]): 18705 (-[LayoutTestController accessStoredWebScriptObject]): 18706 (-[LayoutTestController dealloc]): 18707 18708 2007-01-26 Lars Knoll <lars (a] trolltech.com> 18709 18710 Reviewed by Zack 18711 18712 Small hack to ensure that our top level frame actually has the 18713 correct size. Unfortunately this means I'll have to regenerate 18714 all test cases :/ 18715 18716 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 18717 (WebCore::DumpRenderTree::DumpRenderTree): 18718 18719 2007-01-25 Lars Knoll <lars (a] trolltech.com> 18720 18721 Reviewed by Darin and Zack 18722 18723 Move the test results for Qt into a directory of it's own 18724 (WebKit/LayoutTestResults/qt). Leave the Mac results where 18725 they are for now and share the text only results between 18726 Mac and Qt. 18727 18728 Add support for a LayoutTestResults/platform/Skipped file 18729 to run-webkit-tests to be able to ignore certain tests 18730 18731 Remove the old tests-skipped.txt from Qts DumpRenderTree 18732 implementation. 18733 18734 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 18735 (WebCore::DumpRenderTree::DumpRenderTree): 18736 (WebCore::DumpRenderTree::open): 18737 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 18738 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed. 18739 * Scripts/run-webkit-tests: 18740 18741 2007-01-24 Darin Adler <darin (a] apple.com> 18742 18743 Reviewed by Oliver. 18744 18745 - fix crash seen in layout tests 18746 18747 * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]): 18748 Add back the line of code that sets savedMouseEvents to nil. I thought it was 18749 a field of the EventSendingController, but it's actually a global. 18750 18751 2007-01-24 Darin Adler <darin (a] apple.com> 18752 18753 Reviewed by Maciej. 18754 18755 - changed dragMode to be a property instead of a function 18756 18757 * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode. 18758 * DumpRenderTree/EventSendingController.m: 18759 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode. 18760 (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode. 18761 (-[EventSendingController init]): Updated for name change. 18762 (-[EventSendingController leapForward:]): Ditto. 18763 (-[EventSendingController mouseUp]): Ditto. 18764 (-[EventSendingController mouseMoveToX:Y:]): Ditto. 18765 18766 2007-01-24 Darin Adler <darin (a] apple.com> 18767 18768 Reviewed by Maciej. 18769 18770 - made the deferral of mouse events until drag completes conditional 18771 it's needed for drag testing, and harmful for selection testing 18772 18773 * DumpRenderTree/EventSendingController.h: Added inDragMode boolean. 18774 * DumpRenderTree/EventSendingController.m: 18775 (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:. 18776 (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode, 18777 and remove unneeded clearKillRing name. 18778 (-[EventSendingController init]): Initialize inDragMode to true. 18779 (-[EventSendingController dealloc]): Removed overzealous assertions -- we should 18780 not be asserting things that are dependent on the test content! 18781 (-[EventSendingController leapForward:]): Only queue events in drag mode. 18782 (-[EventSendingController setDragMode:]): Added. 18783 (-[EventSendingController mouseDown]): Removed overzealous assertion. 18784 (-[EventSendingController mouseUp]): Removed overzealous assertions. 18785 Only queue events in drag mode. 18786 (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode. 18787 18788 2007-01-24 Lars Knoll <lars (a] trolltech.com> 18789 18790 Reviewed by Zack 18791 18792 Add a signal handler, always dump immediately if we get an 18793 error during a page load and raise the timeout to 5 seconds 18794 (as we get a lot less such failures now) 18795 18796 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 18797 (WebCore::DumpRenderTree::DumpRenderTree): 18798 (WebCore::DumpRenderTree::maybeDump): 18799 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 18800 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 18801 (LayoutTestController::waitUntilDone): 18802 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 18803 (crashHandler): 18804 (main): 18805 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: 18806 18807 2007-01-22 Darin Adler <darin (a] apple.com> 18808 18809 Reviewed by Mitz. 18810 18811 - a couple tiny tweaks to make --reset-results work better 18812 18813 * Scripts/run-webkit-tests: Always generate results when --reset-results is specified. 18814 Don't make a separate "new" entry while generating results when --reset-results 18815 is specified since new results are the norm in that case. 18816 18817 2007-01-21 Sanjay Madhav <sanjay12 (a] gmail.com> 18818 18819 Reviewed by Darin Adler. 18820 18821 Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig 18822 18823 This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage. 18824 18825 * DumpRenderTree/GCController.h: 18826 * DumpRenderTree/GCController.mm: 18827 (+[GCController isSelectorExcludedFromWebScript:]): 18828 (-[GCController getJSObjectCount]): 18829 18830 2007-01-20 Mark Rowe <mrowe (a] apple.com> 18831 18832 Reviewed by Maciej. 18833 18834 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests, 18835 catch single regressions, and don't generate tests results for new tests. 18836 18837 2007-01-20 Adam Roben <aroben (a] apple.com> 18838 18839 Rubberstamped by Maciej. 18840 18841 * Scripts/run-webkit-tests: Change the default behavior back to 18842 generating results for new tests (this can be disabled with 18843 --no-new-test-results) 18844 18845 2007-01-19 Lars Knoll <lars (a] trolltech.com> 18846 18847 Reviewed by Adam Roben. 18848 18849 run-webkit-tests does now not generate new results by default anymore. 18850 You'll have to pass the --new-tests flag to it to force it to do so. 18851 18852 This is required to make it possible to have tests running on multiple 18853 platforms peacefully together. 18854 18855 * Scripts/run-webkit-tests: 18856 18857 2007-01-18 Darin Adler <darin (a] apple.com> 18858 18859 Reviewed by John Sullivan. 18860 18861 * Scripts/run-webkit-tests: Fix handling of configuration so it 18862 does the right thing when no explicit configuration is passed in. 18863 The old code assumed that the result of setConfiguration() was the 18864 configuration, but it's undefined when no configuration is 18865 explicitly passed in. The correct function to use is 18866 configuration(), and I also streamlined the code. 18867 18868 2007-01-17 Lars Knoll <lars (a] trolltech.com> 18869 18870 Fix my last commit to actually work in all cases. 18871 18872 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 18873 (WebCore::DumpRenderTree::readStdin): 18874 18875 2007-01-17 Lars Knoll <lars (a] trolltech.com> 18876 18877 Reviewed by Maciej 18878 18879 Make sure DumpRenderTree exits when run-webkit-tests 18880 is done. 18881 18882 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 18883 (WebCore::DumpRenderTree::readStdin): 18884 18885 2007-01-17 Lars Knoll <lars (a] trolltech.com> 18886 18887 Reviewed by Zack 18888 18889 Small fixes in DumpRenderTree, so we don't by 18890 accident dump twice for the same test. 18891 18892 Exclude one more test as it currently causes DumpRenderTree to 18893 hang forever. 18894 18895 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 18896 (WebCore::DumpRenderTree::readStdin): 18897 (WebCore::DumpRenderTree::dump): 18898 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 18899 (LayoutTestController::notifyDone): 18900 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: 18901 18902 2007-01-17 Lars Knoll <lars (a] trolltech.com> 18903 18904 Reviewed by Zack 18905 18906 Add a message handler to DumpRenderTree that will 18907 suppress all debug output coming from qDebug() statements. 18908 Like this we can get rid of all the noise coming 18909 from the notImplemented() macro when running the 18910 layout tests. You can get it back by adding -v to 18911 DumpRenderTree's command line. 18912 18913 Changed run-webkit-tests slightly, so we by default 18914 don't fail anymore when our output differs from what 18915 is generated on the Mac. Added a --strict option, so 18916 that we can still see this cases and fix them one by one. 18917 18918 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 18919 (messageHandler): 18920 (main): 18921 * Scripts/run-webkit-tests: 18922 18923 2007-01-16 Lars Knoll <lars (a] trolltech.com> 18924 18925 Reviewed by Zack 18926 18927 Use the new public API for the Qt build, and don't rely on 18928 WebKit internals anymore. 18929 18930 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 18931 (WebCore::DumpRenderTree::DumpRenderTree): 18932 (WebCore::DumpRenderTree::~DumpRenderTree): 18933 (WebCore::DumpRenderTree::open): 18934 (WebCore::DumpRenderTree::readStdin): 18935 (WebCore::DumpRenderTree::initJSObjects): 18936 (WebCore::DumpRenderTree::dump): 18937 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 18938 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: 18939 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed. 18940 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed. 18941 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 18942 (LayoutTestController::notifyDone): 18943 (LayoutTestController::timerEvent): 18944 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 18945 (main): 18946 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: 18947 18948 2007-01-15 Justin Garcia <justin.garcia (a] apple.com> 18949 18950 Reviewed by mjs 18951 18952 <rdar://problem/4810960> 18953 Gmail Editor: window.focus() called on keyDown (9640) 18954 18955 * DumpRenderTree/EventSendingController.m: Send the keyDown event 18956 to the firstResponder, not the event's locationInWindow. A 18957 key press's locationInWindow is meaningless and just a dummy 18958 coordinate. 18959 18960 2007-01-15 Eric Seidel <eric (a] webkit.org> 18961 18962 Reviewed by bdash. 18963 18964 Add a script to keep our header guards squeaky clean. 18965 18966 * Scripts/clean-header-guards: Added. 18967 18968 2007-01-15 Lars Knoll <lars (a] trolltech.com> 18969 18970 Reviewed by Zack 18971 18972 Fix a few smaller issues in here, and update 18973 our list of skipped tests. 18974 18975 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 18976 (WebCore::DumpRenderTree::DumpRenderTree): 18977 (WebCore::DumpRenderTree::readStdin): 18978 (WebCore::DumpRenderTree::dump): 18979 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 18980 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: 18981 (LayoutTestController::LayoutTestController): 18982 (LayoutTestController::reset): 18983 (LayoutTestController::waitUntilDone): 18984 (LayoutTestController::notifyDone): 18985 (LayoutTestController::dumpEditingCallbacks): 18986 (LayoutTestController::timerEvent): 18987 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: 18988 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: 18989 18990 2007-01-14 Mark Rowe <mrowe (a] apple.com> 18991 18992 Reviewed by Adam. 18993 18994 <rdar://problem/4908909> Need to create Leopard nightly build 18995 18996 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK. The disk images don't mount pre-10.4 so we aren't losing anything here. 18997 * WebKitLauncher/WebKitNightlyEnabler.m: 18998 (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables. The smaller timeframe where the 18999 CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed. 19000 (enableWebKitNightlyBehaviour): 19001 * WebKitLauncher/main.m: 19002 (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation. 19003 * Drosera/launcher.m: 19004 (main): Ditto 19005 19006 2007-01-12 Lars Knoll <lars (a] trolltech.com> 19007 19008 Reviewed by Zack 19009 19010 Get DumpRenderTree to work again for the Qt build. 19011 19012 Make run-webkit-tests a little less verbose when testing 19013 Qt, and add an option to run DumpRenderTree inside valgrind 19014 (useful for debugging) 19015 19016 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19017 (WebCore::DumpRenderTree::DumpRenderTree): 19018 (WebCore::DumpRenderTree::~DumpRenderTree): 19019 (WebCore::DumpRenderTree::open): 19020 (WebCore::DumpRenderTree::dump): 19021 (WebCore::DumpRenderTree::maybeDump): 19022 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 19023 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: 19024 (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents): 19025 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: 19026 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: 19027 * Scripts/run-webkit-tests: 19028 19029 2007-01-12 Zack Rusin <zack (a] kde.org> 19030 19031 Add WEBKIT_FULLBUILD env variable to get the 19032 build do a make clean before make to cleanout the 19033 stale depenendencies (for buildbot mainly). 19034 19035 * Scripts/webkitdirs.pm: 19036 19037 2007-01-11 Mitz Pettel <mitz (a] webkit.org> 19038 19039 Reviewed by Hyatt. 19040 19041 - http://bugs.webkit.org/show_bug.cgi?id=10249 19042 Temporarily disable tests that are causing kernel panics 19043 19044 Changed the ImageDiff tool not to use CoreImage filters. 19045 19046 * DumpRenderTree/ImageDiff.m: 19047 (main): 19048 (createImageFromStdin): 19049 (compareImages): 19050 (getDifferenceBitmap): 19051 19052 2007-01-11 Lars Knoll <lars (a] trolltech.com> 19053 19054 Fix compilation 19055 19056 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: 19057 19058 2007-01-11 Lars Knoll <lars (a] trolltech.com> 19059 19060 Reviewed by Darin Adler. 19061 19062 Adjust to loader changes. 19063 19064 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19065 (WebCore::DumpRenderTree::DumpRenderTree): 19066 19067 2007-01-06 George Staikos <staikos (a] kde.org> 19068 19069 This doesn't build on all unix platforms! 19070 19071 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: 19072 19073 2007-01-05 Zack Rusin <zack (a] kde.org> 19074 19075 Reviewed by Simon. 19076 19077 Fix the undefined warnings and try to detect 19078 the DISPLAY properly. 19079 19080 * Scripts/run-webkit-tests: 19081 19082 2007-01-05 David Kilzer <ddkilzer (a] webkit.org> 19083 19084 Reviewed by Mark Rowe. 19085 19086 Speed up svn-create-patch for copied and moved files. 19087 19088 * Scripts/svn-create-patch: 19089 (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN' 19090 so svn pulls original from local disk. 19091 19092 2007-01-04 Lars Knoll <lars (a] trolltech.com> 19093 19094 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: 19095 Link with RPATH to (hopefully) get the automatic tests working. 19096 19097 2007-01-03 Mark Rowe <bdash (a] webkit.org> 19098 19099 Reviewed by Anders. 19100 19101 * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used. 19102 19103 2007-01-02 Zack Rusin <zack (a] kde.org> 19104 19105 Make it work after javascriptcore/bindings changes. 19106 19107 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19108 (WebCore::DumpRenderTree::initJSObjects): 19109 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: 19110 19111 2007-01-01 David Kilzer <ddkilzer (a] webkit.org> 19112 19113 Reviewed by Darin Adler. 19114 19115 http://bugs.webkit.org/show_bug.cgi?id=12023 19116 svn-create-patch and friends should handle moved/copied files 19117 19118 * Scripts/svn-apply: Identify copied files and handle those before all other patches. 19119 * Scripts/svn-create-patch: Generate patches with subtle changes for copied files. 19120 (findMimeType($)): Added. 19121 (findModificationTime($)): Added. 19122 (findSourceFileAndRevision($)): Added. 19123 (generateDiff($$$)): Changed to use svn stat instead of svn diff. 19124 (isBinaryMimeType($)): Added. 19125 (manufacturePatchForAdditionWithHistory($$)): Added. 19126 * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches. 19127 19128 2006-12-29 Eric Seidel <eric (a] webkit.org> 19129 19130 Reviewed by olliej. 19131 19132 Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage 19133 19134 * DumpRenderTree/DumpRenderTree.m: 19135 (dumpRenderTree): clear WebCore cache before exiting 19136 19137 2006-12-29 David Kilzer <ddkilzer (a] webkit.org> 19138 19139 Reverted last commit until WebResourceData issue is fixed. 19140 19141 http://bugs.webkit.org/show_bug.cgi?id=11882 19142 Need a way to regression test .webarchive output files 19143 19144 * DumpRenderTree/DumpRenderTree.m: 19145 (serializeWebArchiveToXML): Removed. 19146 (dump): 19147 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 19148 (-[LayoutTestController dumpAsWebArchive]): Removed. 19149 (runTest): 19150 19151 2006-12-28 David Kilzer <ddkilzer (a] webkit.org> 19152 19153 Reviewed by Darin Adler. 19154 19155 http://bugs.webkit.org/show_bug.cgi?id=11882 19156 Need a way to regression test .webarchive output files 19157 19158 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format. 19159 Saves WebArchive plist in xml format, then alters file:// URLs to remove path 19160 where WebKit was checked out. 19161 19162 * DumpRenderTree/DumpRenderTree.m: 19163 (serializeWebArchiveToXML): Added. 19164 (dump): 19165 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 19166 (-[LayoutTestController dumpAsWebArchive]): Added. 19167 (runTest): 19168 19169 2006-12-28 George Staikos <staikos (a] kde.org> 19170 19171 Reviewed by Olliej. 19172 19173 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11 19174 19175 2006-12-27 Geoffrey Garen <ggaren (a] apple.com> 19176 19177 Reviewed by Eric Seidel. Prose edited by Mitz Pettel. 19178 19179 Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html. 19180 19181 No behavior change. Layout tests pass. 19182 19183 * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the 19184 doneLoading() accessor function. This matches the rest of DRT's exports and 19185 makes it easier to search for clients who check (!done). 19186 19187 * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so 19188 it would cover both code paths for calling runTest(). 19189 19190 (dumpRenderTree): "doneLoading()" => "done" 19191 (dump): ditto 19192 * DumpRenderTree/EditingDelegate.m: ditto 19193 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto 19194 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto 19195 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto 19196 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto 19197 (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto 19198 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto 19199 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto 19200 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto 19201 (-[EditingDelegate webViewDidBeginEditing:]): ditto 19202 (-[EditingDelegate webViewDidChange:]): ditto 19203 (-[EditingDelegate webViewDidEndEditing:]): ditto 19204 (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto 19205 (-[EditingDelegate webViewDidChangeSelection:]): ditto 19206 * DumpRenderTree/UIDelegate.m: ditto 19207 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto 19208 19209 2006-12-26 Eric Seidel <eric (a] webkit.org> 19210 19211 Reviewed by bradee-oh. 19212 19213 Add very simple run-pageloadtest script for running SVG page load test. 19214 19215 * Scripts/run-pageloadtest: Added. 19216 19217 2006-12-26 Geoffrey Garen <ggaren (a] apple.com> 19218 19219 Reviewed by Eric Seidel. 19220 19221 Some cleanup in preparation for fixing <rdar://problem/4740328> Safari 19222 crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance 19223 19224 (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase." 19225 19226 2006-12-23 Geoffrey Garen <ggaren (a] apple.com> 19227 19228 Reviewed by Maciej Stachowiak. 19229 19230 Added --threaded support to run-webkit-tests and DumpRenderTree. 19231 19232 In "threaded" mode, DRT runs a concurrent JavaScript thread with each test, 19233 stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore 19234 interface. This is useful for tracking down bugs you might see on a system 19235 configured to use a PAC file. 19236 19237 Ironically, I can proudly state that very few layout tests pass. 19238 19239 * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions 19240 for starting and stopping it. 19241 (runJavaScriptThread): helper function 19242 (startJavaScriptThread): helper function 19243 (stopJavaScriptThread): helper function 19244 19245 (dumpRenderTree): Added --threaded command line argument. 19246 * Scripts/run-webkit-tests: ditto 19247 19248 2006-12-22 Mark Rowe <bdash (a] webkit.org> 19249 19250 Reviewed by Brady. 19251 19252 Fix for <rdar://problem/4265976> 19253 prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method 19254 19255 * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration. 19256 19257 2006-12-21 Mark Rowe <bdash (a] webkit.org> 19258 19259 Reviewed by Tim Hatcher. 19260 19261 http://bugs.webkit.org/show_bug.cgi?id=11922 19262 Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame 19263 19264 * Drosera/DebuggerDocument.m: 19265 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to 19266 ensure that the properties are being retrieved from the correct scope object. 19267 19268 2006-12-21 Lars Knoll <lars (a] trolltech.com> 19269 19270 Reviewed by Zack 19271 19272 Add support for the layoutTestController JavaScript object 19273 to be able to get textOnly dumps. 19274 Added a Qt specific hack to always get the same fonts (the ones 19275 added in this submit) and the same dpi when running the layout tests. 19276 Modified the run-webkit-tests script to also do a comparison to the 19277 Mac generated outputs (by stripping out positioning information). 19278 19279 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19280 (WebCore::DumpRenderTree::DumpRenderTree): 19281 (WebCore::DumpRenderTree::open): 19282 (WebCore::DumpRenderTree::resetJSObjects): 19283 (WebCore::DumpRenderTree::initJSObjects): 19284 (WebCore::DumpRenderTree::dump): 19285 (WebCore::DumpRenderTree::checkLoaded): 19286 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 19287 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: 19288 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: 19289 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient): 19290 (WebCore::DumpRenderTreeClient::partClearedInBegin): 19291 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: 19292 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added. 19293 (QX11Info::appDpiY): 19294 (QX11Info::appDpiX): 19295 (qt_x11ft_convert_pattern): 19296 (LayoutTestController::LayoutTestController): 19297 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added. 19298 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added. 19299 (LayoutTestController::shouldDumpAsText): 19300 (LayoutTestController::shouldWaitUntilDone): 19301 (LayoutTestController::reset): 19302 (LayoutTestController::dumpAsText): 19303 (LayoutTestController::waitUntilDone): 19304 (LayoutTestController::notifyDone): 19305 * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added. 19306 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added. 19307 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added. 19308 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added. 19309 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added. 19310 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added. 19311 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added. 19312 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added. 19313 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added. 19314 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added. 19315 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added. 19316 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added. 19317 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added. 19318 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added. 19319 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added. 19320 * Scripts/run-webkit-tests: 19321 19322 2006-12-21 Mark Rowe <bdash (a] webkit.org> 19323 19324 Reviewed by Geoff. 19325 19326 http://bugs.webkit.org/show_bug.cgi?id=11888 19327 Bug 11888: REGRESSION (r18320): Web Inspector panes broken 19328 19329 * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value. 19330 19331 2006-12-18 Geoffrey Garen <ggaren (a] apple.com> 19332 19333 Reviewed by Beth Dakin. 19334 19335 Updated EventSender to be able to send mouse up events outside the WebView. 19336 This is a minor tweak to a hackish implementation. The real solution 19337 should be to use NSApplication's event sending model instead of rolling 19338 our own, but I don't have time for that right now. 19339 19340 * DumpRenderTree/EventSendingController.m: 19341 (-[EventSendingController mouseUp]): 19342 19343 2006-12-15 Marvin Decker <marv.decker (a] gmail.com> 19344 19345 Reviewed by Darin and Alexey. 19346 19347 Fix the Windows build, move various Client implementations out of 19348 WebCore and into WebKit. 19349 19350 * Spinneret/Spinneret.sln: 19351 19352 2006-12-14 Timothy Hatcher <timothy (a] apple.com> 19353 19354 Reviewed by Brady. 19355 19356 * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status 19357 19358 2006-12-13 Zack Rusin <zack (a] kde.org> 19359 19360 Reviewed by rwlbuis 19361 19362 Use the qmake build by default with Qt - it's the one that works 19363 currently. 19364 19365 * Scripts/build-webkit: 19366 * Scripts/webkitdirs.pm: 19367 19368 2006-12-10 Lars Knoll <lars (a] trolltech.com> 19369 19370 Reviewed by Zack 19371 19372 Some more fixes to the dumprendertree application. 19373 Fix the run-webkit-tests script for Qt. 19374 19375 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19376 (WebCore::DumpRenderTree::open): 19377 (WebCore::DumpRenderTree::readStdin): 19378 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 19379 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added. 19380 * Scripts/run-webkit-tests: 19381 * Scripts/webkitdirs.pm: 19382 19383 2006-12-10 Rob Buis <buis (a] kde.org> 19384 19385 Reviewed by Darin Adler. 19386 19387 * DumpRenderTree/DumpRenderTree.m: 19388 (dump): 19389 19390 2006-12-10 Lars Knoll <lars (a] trolltech.com> 19391 19392 Reviewed by Zack 19393 19394 Get the DumpRenderTree app to compile again 19395 19396 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19397 (WebCore::DumpRenderTree::DumpRenderTree): 19398 (WebCore::DumpRenderTree::open): 19399 (WebCore::DumpRenderTree::readStdin): 19400 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added. 19401 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: 19402 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient): 19403 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: 19404 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 19405 (main): 19406 19407 2006-12-09 George Staikos <staikos (a] kde.org> 19408 19409 Reviewed by Zack. 19410 19411 Repair QMake build on OS X. 19412 19413 * Scripts/build-webkit: 19414 19415 2006-12-09 Zack Rusin <zack (a] kde.org> 19416 19417 Fixing small mistakes in the build scripts for 19418 the qmake builds. 19419 19420 * Scripts/build-webkit: 19421 * Scripts/webkitdirs.pm: 19422 19423 2006-12-09 Simon Hausmann <hausmann (a] kde.org> 19424 19425 Reviewed by hyatt. 19426 19427 Add support for a QMake build using build-webkit --qmake 19428 19429 * Scripts/build-webkit: 19430 * Scripts/webkitdirs.pm: 19431 19432 2006-12-09 George Staikos <staikos (a] kde.org> 19433 19434 Reviewed by Zack. 19435 19436 Remove reference to Unity. 19437 19438 * Scripts/webkitdirs.pm: 19439 19440 2006-12-08 Zack Rusin <zack (a] kde.org> 19441 19442 Reviewed by Maciej. 19443 19444 Fix the compile after recent API changes. 19445 19446 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19447 (WebCore::DumpRenderTree::DumpRenderTree): 19448 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 19449 (main): 19450 19451 2006-12-08 George Staikos <staikos (a] kde.org> 19452 19453 Reviewed by Maciej. 19454 19455 Build Qt webkit on non-linux, and prefer it if $QTDIR is set 19456 19457 * Scripts/build-webkit: 19458 * Scripts/webkitdirs.pm: 19459 19460 2006-12-06 Steve Falkenburg <sfalken (a] apple.com> 19461 19462 Support C strings for localization 19463 19464 * Scripts/extract-localizable-strings: 19465 19466 2006-12-04 Steve Falkenburg <sfalken (a] apple.com> 19467 19468 Reviewed by Darin Adler. 19469 19470 Make extract-localizable-strings compatible with cpp file extensions. 19471 19472 * Scripts/extract-localizable-strings: 19473 19474 2006-11-21 Darin Adler <darin (a] apple.com> 19475 19476 Reviewed by Maciej. 19477 19478 - a couple changes to reduce the chance of false positives on the leakbot 19479 19480 * DumpRenderTree/DumpRenderTree.m: 19481 (dumpRenderTree): Move the main function into a separate function so we can run 19482 a final garbage collect afterward without any stray values on the stack. Replaced 19483 the old way of closing down a WebView (setting the delegates to nil) with the new 19484 way (calling the close method), which does a more complete job of shutting 19485 everything down without waiting for the WebView object to be deallocated. 19486 (main): Put auto-release pool here and added an explicit call to garbage collect. 19487 With a separate function, we greatly reduce the chance that a stray address on the 19488 stack will keep an object alive. 19489 19490 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing, 19491 because I don't have what it takes to fight the power. 19492 19493 2006-11-17 Zack Rusin <zack (a] kde.org> 19494 19495 Reviewed by Mitz. Landed by Niko. 19496 19497 Fixing compilation. 19498 19499 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19500 (WebCore::DumpRenderTree::DumpRenderTree): Adding 19501 ContextMenuClient to the constructor 19502 19503 2006-11-12 Mark Rowe <bdash (a] webkit.org> 19504 19505 Reviewed by Mitz. 19506 19507 Clean up of GdkLauncher bakefile. 19508 19509 * GdkLauncher/gdklauncher.bkl: 19510 19511 2006-11-11 Nikolas Zimmermann <zimmermann (a] kde.org> 19512 19513 Reviewed and landed by Anders. 19514 19515 Make DRT work again on Qt/Linux. 19516 19517 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19518 (WebCore::DumpRenderTree::DumpRenderTree): 19519 19520 2006-11-10 Zack Rusin <zack (a] kde.org> 19521 19522 Reviewed and landed by Anders. 19523 19524 Adjusting to the recent loader changes, making it compile 19525 and work. 19526 19527 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19528 (WebCore::DumpRenderTree::DumpRenderTree): 19529 (WebCore::DumpRenderTree::checkLoaded): 19530 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 19531 19532 2006-11-10 Zack Rusin <zack (a] kde.org> 19533 19534 Reviewed by Anders. 19535 19536 Making the Qt code work after refactorings in WebCore. 19537 19538 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19539 (WebCore::DumpRenderTree::DumpRenderTree): 19540 (WebCore::DumpRenderTree::checkLoaded): 19541 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: 19542 19543 2006-11-08 Darin Adler <darin (a] apple.com> 19544 19545 Reviewed by Anders. 19546 19547 - same change as below, only tested this time 19548 19549 * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links" 19550 mode off. I think we need to do this because WebPreferences saves things 19551 for us automatically. It would be good to turn that off for DumpRenderTree, 19552 but for now lets handle this like the other preferences (set it explicitly 19553 each time). 19554 19555 2006-11-08 Darin Adler <darin (a] apple.com> 19556 19557 Reviewed by Anders. 19558 19559 * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on 19560 "tab to links" mode. No current tests depend on this, and there's a new 19561 test I want to land that depends on the default setting. 19562 19563 2006-11-06 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 19564 19565 Reviewed by Maciej. 19566 19567 Linux\gdk build fixes. 19568 19569 * GdkLauncher/main.cpp: 19570 (LauncherFrameGdk::LauncherFrameGdk): 19571 (main): 19572 19573 2006-11-06 Alexey Proskuryakov <ap (a] nypop.com> 19574 19575 Build fix, approved in principle by Tim H. 19576 19577 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 19578 Disable deprecated warnings for main.c (TestNetscapePlugin), 19579 as it now uses QuickDraw to convert mouse event coordinates. 19580 19581 2006-11-05 Timothy Hatcher <timothy (a] apple.com> 19582 19583 Reviewed by Maciej. 19584 19585 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax 19586 http://bugs.webkit.org/show_bug.cgi?id=11525 19587 19588 * Drosera/debugger.js: imporved the function name code 19589 19590 2006-11-06 Alexey Proskuryakov <ap (a] webkit.org> 19591 19592 Reviewed by Maciej. 19593 19594 Make sure that alerts and delegate output made after notifyDone() are ignored, rather than 19595 being attributed to the next test. 19596 19597 * DumpRenderTree/EditingDelegate.m: 19598 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): 19599 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): 19600 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): 19601 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): 19602 (-[EditingDelegate webView:shouldDeleteDOMRange:]): 19603 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): 19604 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): 19605 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): 19606 (-[EditingDelegate webViewDidBeginEditing:]): 19607 (-[EditingDelegate webViewDidChange:]): 19608 (-[EditingDelegate webViewDidEndEditing:]): 19609 (-[EditingDelegate webViewDidChangeTypingStyle:]): 19610 (-[EditingDelegate webViewDidChangeSelection:]): 19611 * DumpRenderTree/UIDelegate.m: 19612 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): 19613 19614 2006-11-06 Mark Rowe <bdash (a] webkit.org> 19615 19616 Reviewed by Alexey. 19617 19618 Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails. 19619 19620 * Scripts/run-webkit-tests: import the POSIX module. 19621 19622 2006-11-06 Alexey Proskuryakov <ap (a] webkit.org> 19623 19624 Reviewed by Maciej. 19625 19626 Test for http://bugs.webkit.org/show_bug.cgi?id=11517 19627 REGRESSION: Flash clicks/interactivity not working properly 19628 19629 Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true: 19630 19631 <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed> 19632 <script> 19633 plg.eventLoggingEnabled = true; 19634 // use eventSender to simulate events... 19635 </script> 19636 19637 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 19638 (pluginGetProperty): 19639 (pluginSetProperty): 19640 (pluginAllocate): 19641 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 19642 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 19643 (NPP_HandleEvent): 19644 19645 2006-11-04 David Smith <catfish.man (a] gmail.com> 19646 19647 Reviewed by Tim H. 19648 19649 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521 19650 Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open 19651 19652 * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document. 19653 19654 2006-11-04 David Smith <catfish.man (a] gmail.com> 19655 19656 Reviewed by Tim H. 19657 19658 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513 19659 Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas. 19660 19661 * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control. 19662 19663 2006-11-04 David Smith <catfish.man (a] gmail.com> 19664 19665 Reviewed by Tim H. 19666 19667 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512 19668 Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup. 19669 19670 * Drosera/debugger.js: blur() the function popup when we're done with it. 19671 19672 2006-11-04 Mark Rowe <bdash (a] webkit.org> 19673 19674 Reviewed by Darin Adler. 19675 19676 Fix use of uninitialized value in pattern match. 19677 19678 * Scripts/webkitdirs.pm: 19679 19680 2006-11-04 Darin Adler <darin (a] apple.com> 19681 19682 Reviewed by Tim Hatcher. 19683 19684 * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative. 19685 19686 2006-11-03 David Smith <catfish.man (a] gmail.com> 19687 19688 Reviewed by Tim H. 19689 19690 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510 19691 Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item. 19692 19693 * Drosera/DebuggerApplication.m: 19694 (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view 19695 19696 2006-11-03 Vladimir Olexa <vladimir.olexa (a] gmail.com> 19697 19698 Reviewed by Tim H. 19699 19700 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596 19701 Bug 9596: [Drosera] add a function popup to the source pane 19702 19703 * Drosera/debugger.css: Added styles for function popup 19704 * Drosera/debugger.html: Added function popup button and select 19705 * Drosera/debugger.js: Added function popup functionality 19706 19707 2006-11-03 Michael Emmel <mike.emmel (a] gmail.com> 19708 19709 Reviewed by Maciej. 19710 19711 http://bugs.webkit.org/show_bug.cgi?id=9671 19712 19713 * Scripts/wkstyle: 19714 Adds astyle sed script formats according to most of the style guidelines. 19715 19716 2006-11-03 Alexey Proskuryakov <ap (a] nypop.com> 19717 19718 Reviewed by Adele. 19719 19720 http://bugs.webkit.org/show_bug.cgi?id=7323 19721 REGRESSION (10.4.4): ondrag* events don't fire on page in a frame 19722 19723 When dragging, do not send EventSendingController's events immediately. Dragging 19724 is supposed to be modal, so we need to perform it from within the delegate, without 19725 returning to JS to make the next mouse movement. 19726 19727 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent. 19728 19729 * DumpRenderTree/EventSendingController.h: 19730 * DumpRenderTree/EventSendingController.m: 19731 (-[EventSendingController dealloc]): 19732 (-[EventSendingController leapForward:]): 19733 (-[EventSendingController mouseDown]): 19734 (-[EventSendingController mouseUp]): 19735 (-[EventSendingController mouseMoveToX:Y:]): 19736 (+[EventSendingController saveEvent:]): 19737 (+[EventSendingController replaySavedEvents]): 19738 * DumpRenderTree/UIDelegate.m: 19739 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): 19740 19741 2006-11-02 Geoffrey Garen <ggaren (a] apple.com> 19742 19743 Reviewed by Justin Garcia. 19744 19745 Made dumping of editing callbacks opt-in, so that editing spew doesn't 19746 cloud non-editing tests. 19747 19748 * DumpRenderTree/DumpRenderTree.m: 19749 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 19750 (-[LayoutTestController shouldDumpEditingCallbacks]): 19751 (runTest): 19752 * DumpRenderTree/EditingDelegate.m: 19753 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): 19754 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): 19755 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): 19756 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): 19757 (-[EditingDelegate webView:shouldDeleteDOMRange:]): 19758 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): 19759 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): 19760 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): 19761 (-[EditingDelegate webViewDidBeginEditing:]): 19762 (-[EditingDelegate webViewDidChange:]): 19763 (-[EditingDelegate webViewDidEndEditing:]): 19764 (-[EditingDelegate webViewDidChangeTypingStyle:]): 19765 (-[EditingDelegate webViewDidChangeSelection:]): 19766 19767 2006-11-02 Alexey Proskuryakov <ap (a] nypop.com> 19768 19769 Reviewed by Maciej, landed by Anders. 19770 19771 - http://bugs.webkit.org/show_bug.cgi?id=7802 19772 devenv.com not available in VC++ Express installations 19773 19774 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express. 19775 * Scripts/install-win-extras: Make setx.exe actually run. 19776 19777 2006-11-01 Stephanie Lewis <slewis (a] apple.com> 19778 19779 Reviewed by Kevin. 19780 19781 Fixed bug where additional arguments got fed to xcode and jsdriver.pl 19782 Since testkjs is being built before the tests are run, we don't need 19783 to build it with webkit. 19784 19785 Fixes bugs 19786 http://bugs.webkit.org/show_bug.cgi?id=11462 19787 http://bugs.webkit.org/show_bug.cgi?id=6168 19788 19789 * Scripts/build-webkit: 19790 * Scripts/run-javascriptcore-tests: 19791 19792 2006-11-01 Brady Eidson <beidson (a] apple.com> 19793 19794 Reviewed by Tim Hatcher 19795 19796 Added accessor to get the source directory for use in client scripts 19797 19798 * Scripts/webkitdirs.pm: 19799 19800 2006-11-01 Mark Rowe <bdash (a] webkit.org> 19801 19802 Reviewed by Mitz. 19803 19804 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app. 19805 19806 * Spinneret/Spinneret/Spinneret.cpp: 19807 (_tWinMain): 19808 * WebKitLauncher/WebKitNightlyEnabler.m: 19809 (cleanUpAfterOurselves): 19810 19811 2006-10-31 Mark Rowe <bdash (a] webkit.org> 19812 19813 Reviewed by Stephanie. 19814 19815 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time. 19816 19817 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock. 19818 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory. 19819 19820 2006-10-31 Darin Adler <darin (a] apple.com> 19821 19822 * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local 19823 pasteboard, allocate any number of local pasteboards. 19824 (main): Allocate the dictionary of pasteboards. 19825 (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard, 19826 given a name. 19827 (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject 19828 explicitly elsewhere. 19829 (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds 19830 to the selector rather than calling unconditionally. 19831 19832 2006-10-30 Darin Adler <darin (a] apple.com> 19833 19834 - fixed build 19835 19836 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]): 19837 Don't use CFPasteboard. 19838 19839 2006-10-30 Vladimir Olexa <vladimir.olexa (a] gmail.com> 19840 19841 Reviewed by Tim H. 19842 19843 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353 19844 19845 * Drosera/debugger.js: ParsedURL() object now recognizes local files 19846 19847 2006-10-30 Darin Adler <darin (a] apple.com> 19848 19849 Reviewed by Tim Hatcher. 19850 19851 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard. 19852 This should make our buildbot tests no longer need a pasteboard server. 19853 19854 2006-10-30 Geoffrey Garen <ggaren (a] apple.com> 19855 19856 Reviewed by Beth. 19857 19858 Reorganized project file into Delegates and Controllers groups, and split 19859 UIDelegate stuff into a UIDelegate class. 19860 19861 A little birdy told me that I might end up adding some UIDelegate methods 19862 to DRT soon. 19863 19864 * DumpRenderTree/DumpRenderTree.m: 19865 (main): 19866 (runTest): 19867 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 19868 19869 2006-10-31 Nikolas Zimmermann <zimmermann (a] kde.org> 19870 19871 Reviewed by Oliver. 19872 19873 Add new platform/graphics include directory. 19874 19875 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: 19876 19877 2006-10-30 Timothy Hatcher <timothy (a] apple.com> 19878 19879 Reviewed by Stephanie. 19880 19881 Add a special case for the Internal makefiles, so it can find the OepnSource. 19882 19883 * Scripts/webkitdirs.pm: 19884 19885 2006-10-30 Stephanie Lewis <slewis (a] apple.com> 19886 19887 Reviewed by Darin Adler. 19888 19889 Change Makefiles to return non-zero when module make fails. 19890 Fix bug where if xcode options are not set, modules can build in the 19891 wrong directory. 19892 19893 * Makefile: 19894 * Scripts/webkitdirs.pm: 19895 19896 2006-10-30 Matt Lilek <pewtermoose (a] gmail.com> 19897 19898 Reviewed by Tim H. 19899 19900 Fix for http://bugs.webkit.org/show_bug.cgi?id=10468 19901 [Drosera] The Console toolbar button should bring the console window to the front. 19902 19903 The console now gets focus when its activated but already open. Command + L also 19904 now activates/focuses the console. 19905 19906 * Drosera/English.lproj/MainMenu.nib/classes.nib: 19907 * Drosera/English.lproj/MainMenu.nib/info.nib: 19908 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: 19909 * Drosera/debugger.js: 19910 19911 2006-10-29 Darin Adler <darin (a] apple.com> 19912 19913 * Scripts/do-file-rename: Renames done, ready for the next round. 19914 * Scripts/do-webcore-rename: Ditto. 19915 19916 2006-10-29 Darin Adler <darin (a] apple.com> 19917 19918 * Scripts/do-file-rename: And again. 19919 19920 2006-10-29 Darin Adler <darin (a] apple.com> 19921 19922 * Scripts/do-webcore-rename: Tweaked plans for renaming again. 19923 19924 2006-10-29 Darin Adler <darin (a] apple.com> 19925 19926 Reviewed by Mitz. 19927 19928 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]): 19929 Added. Does nothing, which prevents a beep. 19930 19931 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit. 19932 19933 2006-10-27 Brady Eidson <beidson (a] apple.com> 19934 19935 Rubber stamped by Tim Hatcher 19936 19937 Added "make universal" to build universal binaries 19938 19939 * Makefile: 19940 * Makefile.shared: 19941 19942 2006-10-26 Sam Weinig <sam.weinig (a] gmail.com> 19943 19944 Reviewed by Geoff. 19945 19946 Fix for http://bugs.webkit.org/show_bug.cgi?id=11419 19947 REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView] 19948 ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests 19949 19950 * DumpRenderTree/EventSendingController.m: 19951 (-[EventSendingController mouseMoveToX:Y:]): 19952 19953 2006-10-26 Nikolas Zimmermann <zimmermann (a] kde.org> 19954 19955 Reviewed by Darin Adler. 19956 19957 Fix Qt/Linux build. 19958 19959 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 19960 (WebCore::DumpRenderTree::open): 19961 19962 2006-10-24 Stephanie Lewis <slewis (a] apple.com> 19963 19964 Reviewed by Maciej. 19965 19966 - Changed run-javascriptcore tests to build testkjs before running. 19967 19968 * Scripts/run-javascriptcore-tests: 19969 19970 2006-10-24 Nikolas Zimmermann <zimmermann (a] kde.org> 19971 19972 Reviewed by Maciej. 19973 19974 Fix Qt/Linux build. 19975 19976 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt. 19977 - Fix CMakeLists.txt to include platform/network. 19978 19979 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: 19980 19981 2006-10-24 David Smith <catfish.man (a] gmail.com> 19982 19983 Reviewed by Tim H. 19984 19985 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor 19986 http://bugs.webkit.org/show_bug.cgi?id=11382 19987 19988 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned. 19989 19990 2006-10-21 Darin Adler <darin (a] apple.com> 19991 19992 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory. 19993 This was still using "symroots" so it almost never worked! 19994 19995 2006-10-21 Darin Adler <darin (a] apple.com> 19996 19997 * Makefile: Build DumpRenderTree too. 19998 * Scripts/do-webcore-rename: Removed bogus comment. 19999 20000 2006-10-20 David Smith <catfish.man (a] gmail.com> 20001 20002 Reviewed by Tim H. 20003 20004 Bug 11367: Inline Breakpoint Editor Improvements: Act III 20005 http://bugs.webkit.org/show_bug.cgi?id=11367 20006 20007 Major breakpoint editor changes: 20008 * Breakpoints can now either pause or log to console 20009 * Code cleanup through use of XPath and converting breakpoints to objects 20010 * Breakpoints now track how many times they've been reached 20011 * UI tweaks 20012 * The breakpoint editor now saves changes as they're entered 20013 * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed) 20014 * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement. 20015 20016 * Drosera/DebuggerDocument.m: 20017 (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline. 20018 * Drosera/Drosera.xcodeproj/project.pbxproj: 20019 * Drosera/Images/close.tif: Added. 20020 * Drosera/Images/close_active.tif: Added. 20021 * Drosera/Images/close_hover.tif: Added. 20022 * Drosera/breakpointEditor.html: Added. 20023 * Drosera/console.js: Added a way to append messages from outside the console window. 20024 * Drosera/debugger.js: 20025 * Drosera/viewer.css: 20026 * Drosera/viewer.html: 20027 20028 2006-10-18 David Smith <catfish.man (a] gmail.com> 20029 20030 Reviewed by Tim H. 20031 20032 Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state. 20033 20034 * Drosera/DebuggerDocument.m: 20035 (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it 20036 * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime() 20037 * Drosera/debugger.js: 20038 20039 2006-10-18 Timothy Hatcher <timothy (a] apple.com> 20040 20041 Reviewed by Anders. 20042 20043 Bug 10851: Crash with Drosera 20044 http://bugs.webkit.org/show_bug.cgi?id=10851 20045 20046 This crash results in an assert in debug builds. 20047 20048 assert(implementsCall()); 20049 20050 The __drosera_introspection propery was not callable. Now we just assign 20051 this.__drosera_introspection in the evaluateWebScript call. 20052 This change also removes one DO message. 20053 20054 * Drosera/DebuggerDocument.m: 20055 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): 20056 20057 2006-10-18 Mark Rowe <bdash (a] webkit.org> 20058 20059 Reviewed by Tim H. 20060 20061 http://bugs.webkit.org/show_bug.cgi?id=11304 20062 Bug 11304: Drosera fails to link as universal binary on PowerPC machine 20063 20064 * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly 20065 when they are not part of the WebKit umbrella framework. 20066 20067 2006-10-18 Adam Roben <aroben (a] apple.com> 20068 20069 fixo el buildo II: Release's Pride. 20070 20071 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 20072 20073 2006-10-18 Geoffrey Garen <ggaren (a] apple.com> 20074 20075 fixo el buildo. 20076 20077 Work around #import of <PDFKit/PDFView.h>. 20078 20079 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 20080 20081 2006-10-18 David Smith <catfish.man (a] gmail.com> 20082 20083 Reviewed by Tim H. 20084 20085 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly. 20086 20087 * Drosera/Drosera.xcodeproj/project.pbxproj: 20088 * Drosera/Images/breakpointeditor.png: Added. 20089 * Drosera/breakpointEditor.css: Removed. 20090 * Drosera/breakpointEditor.html: Removed. 20091 * Drosera/breakpointEditor.js: Removed. 20092 * Drosera/debugger.js: 20093 * Drosera/viewer.css: 20094 20095 2006-10-18 David Harrison <harrison (a] apple.com> 20096 20097 Reviewed by Tim H. 20098 20099 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing 20100 http://bugs.webkit.org/show_bug.cgi?id=11341 20101 20102 Link editing behavior became a preference. DumpRenderTree needs to specify the 20103 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey). 20104 20105 * DumpRenderTree/DumpRenderTree.m: 20106 (main): 20107 20108 2006-10-15 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 20109 20110 Reviewed by Anders. 20111 20112 Make compiler not complain about unused gk. SpinneretWebHost was not setting 20113 initial refcount upon creation, so it is completely bogus. 20114 20115 * GdkLauncher/main.cpp: 20116 (main): 20117 * Spinneret/Spinneret/Spinneret.h: 20118 (SpinneretWebHost::SpinneretWebHost): 20119 20120 2006-10-15 Nikolas Zimmermann <zimmermann (a] kde.org> 20121 20122 Reviewed by Oliver. 20123 20124 Add another hanging test, to the "to be skipped" list. 20125 20126 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: 20127 20128 2006-10-14 Nikolas Zimmermann <zimmermann (a] kde.org> 20129 20130 Reviewed by Anders. 20131 20132 Some fixes to get the Qt BuildSlave to run the LayoutTests. 20133 20134 * Scripts/build-dumprendertree: No need to call cmake again. 20135 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH. 20136 20137 2006-10-13 Nikolas Zimmermann <zimmermann (a] kde.org> 20138 20139 Reviewed by Eric. 20140 20141 Force --no-http on Qt/Linux. 20142 20143 * Scripts/run-webkit-tests: 20144 20145 2006-10-13 Kevin McCullough <KMcCullough (a] apple.com> 20146 20147 Reviewed by Adam. 20148 20149 Gets JavaScripCore tests running on windows. 20150 20151 * Scripts/run-javascriptcore-tests: 20152 * Scripts/webkitdirs.pm: 20153 20154 2006-10-12 Nikolas Zimmermann <zimmermann (a] kde.org> 20155 20156 Reviewed by Maciej. 20157 20158 Exclude some tests which crash or hang from Qt/Linux DRT. 20159 These are known to fail, and will be fixed at some point :-) 20160 20161 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 20162 (WebCore::DumpRenderTree::DumpRenderTree): 20163 (WebCore::DumpRenderTree::open): 20164 (WebCore::DumpRenderTree::readStdin): 20165 (WebCore::DumpRenderTree::readSkipFile): 20166 (WebCore::DumpRenderTree::checkLoaded): 20167 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 20168 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added. 20169 20170 2006-10-12 Nikolas Zimmermann <zimmermann (a] kde.org> 20171 20172 Reviewed by Maciej. 20173 20174 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box. 20175 20176 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: 20177 (WebCore::DumpRenderTreeClient::runJavaScriptAlert): 20178 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: 20179 20180 2006-10-12 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 20181 20182 Reviewed by Maciej. 20183 20184 Also regenerate GdkLauncher makefiles, since not doing that might 20185 lead to mismatch between WebCore and GdkLauncher compiler settings. 20186 20187 * Scripts/regenerate-makefiles: 20188 20189 2006-10-10 David Smith <catfish.man (a] gmail.com> 20190 20191 Reviewed by Tim H. 20192 20193 Bug 11246: Minor Drosera code cleanup 20194 http://bugs.webkit.org/show_bug.cgi?id=11246 20195 20196 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument. 20197 20198 2006-10-10 Vladimir Olexa <vladimir.olexa (a] gmail.com> 20199 20200 Reviewed by Tim H. 20201 20202 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778 20203 20204 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files 20205 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView 20206 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView 20207 * Drosera/Images/SourceArrowOpen.png: Added. 20208 * Drosera/Images/fileIcon.jpg: Added. 20209 * Drosera/Images/siteCollapsed.tif: Added. 20210 * Drosera/Images/siteExpanded.tif: Added. 20211 * Drosera/Images/siteIcon.tif: Added. 20212 * Drosera/debugger.css: Added File Browser styles 20213 * Drosera/debugger.html: Added File Browser UI 20214 * Drosera/debugger.js: Added File Browser functionality 20215 20216 2006-10-10 Darin Adler <darin (a] apple.com> 20217 20218 * Scripts/do-file-rename: Added. 20219 20220 2006-10-09 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 20221 20222 Reviewed by Geoff. 20223 20224 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering 20225 a page. This allows automatic testing via e.g. valgrind. 20226 20227 * GdkLauncher/gdklauncher.bkl: 20228 * GdkLauncher/main.cpp: 20229 (LauncherFrameGdk::LauncherFrameGdk): 20230 (LauncherFrameGdk::setExitAfterLoading): 20231 (LauncherFrameGdk::handledOnloadEvents): 20232 (handle_event): 20233 (main): 20234 20235 2006-10-06 David Smith <catfish.man (a] gmail.com> 20236 20237 Reviewed by Timothy. 20238 20239 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665 20240 20241 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files 20242 * Drosera/breakpointEditor.css: Added. 20243 * Drosera/breakpointEditor.html: Added. 20244 * Drosera/breakpointEditor.js: Added. 20245 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint. 20246 20247 2006-10-06 Nikolas Zimmermann <zimmermann (a] kde.org> 20248 20249 Reviewed by Tim H. 20250 20251 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes. 20252 20253 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 20254 (WebCore::DumpRenderTree::DumpRenderTree): 20255 20256 2006-10-05 Oliver Hunt <ohunt (a] apple.com> 20257 20258 Reviewed by Anders. 20259 20260 * Scripts/run-webkit-tests: 20261 Fix pixel tests. 20262 20263 2006-10-04 Anders Carlsson <acarlsson (a] apple.com> 20264 20265 Reviewed by Darin Adler. 20266 20267 * Scripts/run-webkit-tests: 20268 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test 20269 results should be. 20270 20271 2006-10-05 Nikolas Zimmermann <zimmermann (a] kde.org> 20272 20273 Reviewed and landed by ap. 20274 20275 Cmake: make it possible to install the libraries after having built using 'build-webkit'. 20276 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix. 20277 20278 * Scripts/webkitdirs.pm: 20279 20280 2006-10-04 Mark Rowe <bdash (a] webkit.org> 20281 20282 Reviewed by Stephanie. 20283 20284 Switch the Qt buildbot to the standard set of build steps. 20285 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to 20286 see if any regressions were spotted, and fail the test if so. 20287 20288 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: 20289 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: 20290 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: 20291 20292 2006-10-04 Timothy Hatcher <timothy (a] apple.com> 20293 20294 Reviewed by Mitz Pettel! 20295 20296 Bug 10708: [Drosera] Make the console input plaintext-only 20297 http://bugs.webkit.org/show_bug.cgi?id=10708 20298 20299 Change the console input -webkit-user-modify property to 20300 read-write-plaintext-only. 20301 20302 * Drosera/console.css: 20303 20304 2006-10-04 David Smith <catfish.man (a] gmail.com> 20305 20306 Reviewed by Tim H. 20307 20308 Bug 10473: [Drosera] Overlapping text in JavaScript Console 20309 http://bugs.webkit.org/show_bug.cgi?id=10473 20310 20311 Using min-height instead of height to avoid overlapping text. 20312 20313 * Drosera/console.css: 20314 20315 2006-10-04 David Smith <catfish.man (a] gmail.com> 20316 20317 Reviewed by Tim H. 20318 20319 Added a bash-style command history. 20320 20321 * Drosera/console.js: 20322 20323 2006-10-03 Anders Carlsson <acarlsson (a] apple.com> 20324 20325 Reviewed by Adam and Brady. 20326 20327 * DumpRenderTree/DumpRenderTree.m: 20328 (main): 20329 Update URL to Ahem.ttf 20330 20331 2006-10-03 Darin Adler <darin (a] apple.com> 20332 20333 * Scripts/commit-log-editor: Added missing "close" call. Oops! 20334 20335 2006-10-03 Nikolas Zimmermann <zimmermann (a] kde.org> 20336 20337 Reviewed by eseidel. Landed by eseidel. 20338 20339 Offer a way for BuildBot to not colorize the cmake output, when building 20340 with the 'build-webkit' script. Add "--color" / "--no-color" option pair. 20341 20342 Default is colorize output, though only Qt platform handles this for now. 20343 20344 * Scripts/build-dumprendertree: 20345 * Scripts/build-webkit: 20346 * Scripts/webkitdirs.pm: 20347 20348 2006-10-03 Nikolas Zimmermann <zimmermann (a] kde.org> 20349 20350 Reviewed by eseidel. Landed by eseidel. 20351 20352 Make all important scripts work with Qt/Linux. 20353 20354 You can safely use this now: 20355 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests 20356 20357 * Scripts/build-dumprendertree: 20358 * Scripts/run-javascriptcore-tests: 20359 * Scripts/run-webkit-tests: 20360 * Scripts/webkitdirs.pm: 20361 20362 2006-10-03 Nikolas Zimmermann <zimmermann (a] kde.org> 20363 20364 Reviewed by Eric. 20365 20366 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug). 20367 20368 * Scripts/webkitdirs.pm: 20369 20370 2006-10-02 Nikolas Zimmermann <zimmermann (a] kde.org> 20371 20372 Reviewed/landed by Adam. 20373 20374 Proper build-webkit support for Qt/Linux. 20375 20376 Compilation process is similar to OSX now, aka. 20377 the build directory is RootCheckoutDir/WebKitBuild now. 20378 20379 * Scripts/build-webkit: Recognize Qt. 20380 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic. 20381 20382 2006-10-01 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20383 20384 Reviewed by Maciej. 20385 20386 Add QT build slave to Buildbot. 20387 20388 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors. 20389 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory. 20390 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming. Use the IRC bot in #webkit-build instead. 20391 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step. 20392 20393 2006-09-28 David Harrison <harrison (a] apple.com> 20394 20395 Suggested by Darin Adler. 20396 20397 Moved an extern declaration from inside a method to the top of the file. 20398 20399 * DumpRenderTree/EventSendingController.m: 20400 (-[EventSendingController clearKillRing]): 20401 20402 2006-09-28 David Harrison <harrison (a] apple.com> 20403 20404 Reviewed by Justin. 20405 20406 Add clearKillRing so we can test emacs support with empty kill ring. 20407 20408 * DumpRenderTree/EventSendingController.m: 20409 (+[EventSendingController isSelectorExcludedFromWebScript:]): 20410 (+[EventSendingController webScriptNameForSelector:]): 20411 (-[EventSendingController clearKillRing]): 20412 20413 2006-09-27 MorganL <morganl.webkit (a] yahoo.com> 20414 20415 Reviewed by Maciej, landed by Brady 20416 20417 Fix URL bar updating. 20418 20419 * Spinneret/Spinneret/Spinneret.h: 20420 (SpinneretWebHost::didStartProvisionalLoadForFrame): 20421 (SpinneretWebHost::didCommitLoadForFrame): 20422 (SpinneretWebHost::didFinishLoadForFrame): 20423 20424 2006-09-23 Sam Weinig <sam.weinig (a] gmail.com> 20425 20426 Reviewed by Eric. 20427 20428 Build Fix. 20429 20430 * DumpRenderTree/EventSendingController.m: 20431 (-[EventSendingController enableDOMUIEventLogging:]): 20432 20433 2006-09-22 Justin Garcia <justin.garcia (a] apple.com> 20434 20435 Reviewed by darin 20436 20437 * Scripts/do-webcore-rename: 20438 20439 2006-09-21 Timothy Hatcher <timothy (a] apple.com> 20440 20441 Reviewed by Adam. 20442 20443 Bug 10923: Frame scroll layout test failures on the buildbot 20444 http://bugs.webkit.org/show_bug.cgi?id=10923 20445 20446 Added a new method that will toggle on the recursive dump of 20447 child frame scroll positions. 20448 20449 * DumpRenderTree/DumpRenderTree.m: 20450 (dumpFrameScrollPosition): 20451 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 20452 (-[LayoutTestController dumpChildFrameScrollPositions]): 20453 20454 2006-09-19 Krzysztof Kowalczyk <kkowalczyk (a] gmail.com> 20455 20456 Reviewed by eseidel. Landed by eseidel. 20457 20458 Detect that close button was pressed and exit cleanly. 20459 20460 * GdkLauncher/main.cpp: 20461 (handle_event): 20462 (main): 20463 20464 2006-09-17 Adam Roben <aroben (a] apple.com> 20465 20466 Reviewed by hyatt, sfalken. 20467 20468 Get DumpRenderTree compiling and limping along on Windows. 20469 20470 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 20471 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit 20472 (main): Add NULL argument to Page constructor. 20473 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines 20474 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path 20475 20476 2006-09-15 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20477 20478 Reviewed by Brady. 20479 20480 http://bugs.webkit.org/show_bug.cgi?id=10635 20481 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org 20482 20483 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly. 20484 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses. 20485 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds. 20486 20487 2006-09-09 Sam Weinig <sam.weinig (a] gmail.com> 20488 20489 Reviewed by Eric. 20490 20491 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791 20492 Even More Objective-C DOM auto-generation cleanup 20493 20494 - Change to use new, more Objectice-C'ish version of 20495 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with 20496 regression test for fast/events/dblclick-addEventListener.html. 20497 20498 * DumpRenderTree/EventSendingController.m: 20499 (-[EventSendingController fireKeyboardEventsToElement:]): 20500 20501 2006-09-04 Nikolas Zimmermann <zimmermann (a] kde.org> 20502 20503 Reviewed by Tim H. 20504 20505 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644 20506 Move QtLauncher down to WebKitQt. 20507 20508 * QtLauncher/CMakeLists.txt: Removed. 20509 * QtLauncher/main.cpp: Removed. 20510 20511 2006-09-04 Nikolas Zimmermann <zimmermann (a] kde.org> 20512 20513 Reviewed by Darin Adler. 20514 20515 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644 20516 Adjust DumpRenderTree to the FrameQtClient changes. 20517 20518 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: 20519 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 20520 (WebCore::DumpRenderTree::DumpRenderTree): 20521 (WebCore::DumpRenderTree::~DumpRenderTree): 20522 (WebCore::DumpRenderTree::frame): 20523 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: 20524 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added. 20525 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient): 20526 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient): 20527 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added. 20528 20529 2006-09-03 Darin Adler <darin (a] apple.com> 20530 20531 * Scripts/do-webcore-rename: More renaming plans. 20532 20533 2006-09-03 Alexey Proskuryakov <ap (a] nypop.com> 20534 20535 Reviewed by Tim H. 20536 20537 http://bugs.webkit.org/show_bug.cgi?id=10693 20538 Convert JavaScript arrays to AppleScript lists 20539 20540 * DumpRenderTree/AppleScriptController.m: 20541 (convertAEDescToObject): 20542 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists. 20543 20544 2006-08-31 Darin Adler <darin (a] apple.com> 20545 20546 * Scripts/do-webcore-rename: Prepare for another round of renaming. 20547 20548 2006-08-29 Dan Waylonis <waylonis (a] google.com> 20549 20550 Reviewed by ggaren. 20551 20552 - Verification of exceptions thrown in a plugin. Test for bug 10114. 20553 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 20554 * DumpRenderTree/ObjCPlugin.m: 20555 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): 20556 (+[ObjCPlugin webScriptNameForSelector:]): 20557 (-[ObjCPlugin throwIfArgumentIsNotHello:]): 20558 20559 2006-08-30 Nikolas Zimmermann <zimmermann (a] kde.org> 20560 20561 Reviewed by Tim H. 20562 20563 Commit KDE related tweaks, to be able to 20564 differentiate between a Qt-only or a KDE build. 20565 20566 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes. 20567 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes. 20568 20569 2006-08-29 Darin Adler <darin (a] apple.com> 20570 20571 Reviewed by Tim Hatcher. 20572 20573 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment 20574 to work around what seems to be a bug in some versions of gdb. 20575 20576 2006-08-16 Tim Omernick <timo (a] apple.com> 20577 20578 Reviewed by John Sullivan. 20579 20580 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319) 20581 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work 20582 in Firefox 20583 20584 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 20585 (NPP_GetValue): 20586 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values 20587 are expected to be retained by the plug-in, and released by the caller. 20588 20589 2006-08-28 Nikolas Zimmermann <zimmermann (a] kde.org> 20590 20591 Reviewed by Tim Hatcher. 20592 20593 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604 20594 20595 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: 20596 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in 20597 Qt's DumpRenderTree. 20598 20599 * Scripts/run-webkit-tests: 20600 Use -expected-qt.txt etc.. output in run-webkit-test if isQt(). 20601 20602 2006-08-28 Darin Adler <darin (a] apple.com> 20603 20604 Reviewed by Tim Hatcher. 20605 20606 * Scripts/build-drosera: Fix behavior when there are multiple options. 20607 20608 2006-08-27 Timothy Hatcher <timothy (a] apple.com> 20609 20610 Reviewed by Anders. 20611 20612 Drosera will be built when you type make. 20613 20614 * Drosera/Makefile: Added. 20615 * Makefile: Added. 20616 * Makefile.shared: Added. 20617 20618 2006-08-27 Anders Carlsson <acarlsson (a] apple.com> 20619 20620 Forgot to add these. 20621 20622 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added. 20623 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added. 20624 (WebCore::DumpRenderTree::DumpRenderTree): 20625 (WebCore::DumpRenderTree::~DumpRenderTree): 20626 (WebCore::DumpRenderTree::open): 20627 (WebCore::DumpRenderTree::readStdin): 20628 (WebCore::DumpRenderTree::checkLoaded): 20629 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added. 20630 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added. 20631 (main): 20632 20633 2006-08-27 Nikolas Zimmermann <zimmermann (a] kde.org> 20634 20635 Reviewed by Eric, landed by Anders. 20636 20637 Add DumpRenderTree support for Qt/Linux. 20638 20639 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added. 20640 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added. 20641 (WebCore::DumpRenderTree::DumpRenderTree): 20642 (WebCore::DumpRenderTree::~DumpRenderTree): 20643 (WebCore::DumpRenderTree::open): 20644 (WebCore::DumpRenderTree::readStdin): 20645 (WebCore::DumpRenderTree::checkLoaded): 20646 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added. 20647 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added. 20648 (main): 20649 * Scripts/build-dumprendertree: 20650 * Scripts/run-webkit-tests: 20651 * Scripts/webkitdirs.pm: 20652 20653 2006-08-24 Nikolas Zimmermann <zimmermann (a] kde.org> 20654 20655 Reviewed by Eric. Landed by rwlbuis. 20656 20657 Add QtLauncher (was testunity before), which provides a 20658 standalone "browser" to test the Qt platform stuff. 20659 20660 * QtLauncher/CMakeLists.txt: Added. 20661 * QtLauncher/main.cpp: Added. 20662 (main): 20663 20664 2006-08-22 Trey Matteson <trey (a] usa.net> 20665 20666 Reviewed by ggaren. 20667 20668 Added support for a new set of browser navigation tests. The main feature 20669 is the ability for a test to queue up a set of future actions that will 20670 happen after that first page is loaded. This is used to simulate a sequence 20671 of user actions such as filling out forms, loading additional pages or 20672 going back. In addition we can now dump out the state of the back/forward 20673 list, and the scroll position is dumped if not at 0,0. 20674 20675 * DumpRenderTree/DumpRenderTree.m: 20676 (main): Init new state 20677 (compareHistoryItems): New utility to support sorting. 20678 (dumpHistoryItem): Write out a WebHistoryItem and kids. 20679 (dumpFrameScrollPosition): Write out the scroll position. 20680 (dump): Optionally write b/f list or scroll position. 20681 (-[WaitUntilDoneDelegate processWork:]): Perform queued work. 20682 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): 20683 Kick off any queued actions. Fixed for the case of loads started in 20684 a subframe instead of the root frame. 20685 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]): 20686 Grab the topmost frame that is being loaded. Do this as early as possible, 20687 instead of in didCommitLoadForFrame. 20688 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): 20689 Noting a load has started now happens in previous method. 20690 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate 20691 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate 20692 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by 20693 topFrameLoading 20694 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit. 20695 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]): 20696 Add new work to the queue. 20697 (-[LayoutTestController _doLoad:target:]): Do a queued load. 20698 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward. 20699 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions 20700 (-[LayoutTestController scheduleForwardNav:]): 20701 (-[LayoutTestController scheduleReload]): 20702 (-[LayoutTestController scheduleScript:]): 20703 (-[LayoutTestController scheduleLoad:target:]): 20704 (runTest): Clear new state for each test. Renamed from "dumpRenderTree" 20705 since it's not one of the functions that does any dumping. 20706 20707 2006-08-15 Jonas Witt <jonas.witt (a] gmail.com> 20708 20709 Reviewed by Darin Adler. 20710 20711 - added a function to create a few DOMKeyboardEvents and dispatch 20712 them to a specified HTML element 20713 http://bugs.webkit.org/show_bug.cgi?id=9736 20714 20715 * DumpRenderTree/EventSendingController.m: 20716 (+[EventSendingController isSelectorExcludedFromWebScript:]): 20717 (+[EventSendingController webScriptNameForSelector:]): 20718 (-[EventSendingController fireKeyboardEventsToElement:]): 20719 20720 2006-08-15 Duncan Wilcox <duncan (a] mclink.it> 20721 20722 Reviewed and tweaked by Darin Adler. 20723 20724 - added DumpRenderTree support so editing delegate can be made to refuse edits 20725 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129 20726 20727 * DumpRenderTree/DumpRenderTree.m: 20728 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing: 20729 to the list of methods. 20730 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing, 20731 without the colon, for the JavaScript name. 20732 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing 20733 delegate. 20734 (dumpRenderTree): Set the acceptsEditing flag to YES before each test. 20735 20736 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and 20737 setter methods to the class. 20738 * DumpRenderTree/EditingDelegate.m: 20739 (-[EditingDelegate init]): Initialize acceptsEditing to YES. 20740 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES, 20741 return the value of acceptsEditing. 20742 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto. 20743 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto. 20744 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto. 20745 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto. 20746 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): 20747 Ditto. 20748 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto. 20749 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto. 20750 (-[EditingDelegate setAcceptsEditing:]): Added. 20751 20752 2006-08-03 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20753 20754 Reviewed by Darin Adler. 20755 20756 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds 20757 http://bugs.webkit.org/show_bug.cgi?id=10224 20758 20759 * Drosera/Drosera.xcodeproj/project.pbxproj: 20760 * Drosera/LauncherInfo.plist: 20761 20762 2006-08-03 Mitz Pettel <opendarwin.org (a] mitzpettel.com> 20763 20764 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc] 20765 when a test performs an unsuccessful drag and drop operation. 20766 20767 * DumpRenderTree/EventSendingController.m: 20768 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the 20769 drag operation for the mouse release is NSDragOperationNone. 20770 20771 2006-08-02 Timothy Hatcher <timothy (a] apple.com> 20772 20773 Reviewed by Darin Adler. 20774 20775 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang) 20776 http://bugs.webkit.org/show_bug.cgi?id=9632 20777 20778 Do not change the file source when normalizing the line endings. 20779 We use this file source to compare against new versions of the source 20780 as it comes in, so we can skip re-syntax highlighting if they are the same. 20781 The problem is apparent on yahoo.com since they have mixed line endings and 20782 once we normalize them the source will always be different. This was 20783 compounded by the fact that yahoo has around 40 inline scripts. Each 20784 inline script causes us to check if the main document has more loaded, 20785 that is when we compare the source strings. Since they are always different 20786 we would syntax highlight yahoo.com 40 times! We do check source length before 20787 doing a more expensive string comparison, but the lengths were the same. 20788 20789 * Drosera/debugger.js: 20790 20791 2006-08-02 Niels Leenheer <niels.leenheer (a] gmail.com> 20792 20793 Reviewed by Timothy. 20794 20795 Bug 9931: [Drosera] Needs a cool icon 20796 http://bugs.webkit.org/show_bug.cgi?id=9931 20797 20798 * Drosera/Drosera.icns: Added. 20799 * Drosera/Drosera.xcodeproj/project.pbxproj: 20800 * Drosera/Info.plist: 20801 20802 2006-08-01 Darin Adler <darin (a] apple.com> 20803 20804 - fix a bug in my recent change where the mouse position at the end of 20805 the last test would affect the results of the next test 20806 20807 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0. 20808 20809 2006-07-31 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20810 20811 Reviewed by Maciej. 20812 20813 http://bugs.webkit.org/show_bug.cgi?id=10182 20814 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables 20815 20816 * Drosera/console.js: String.indexOf returns -1 when the string is not found. 20817 Correct the logic to not reload local variable list unless an '=' character is in the expression. 20818 20819 2006-07-31 Darin Adler <darin (a] apple.com> 20820 20821 Reviewed by Maciej. 20822 20823 - fix http://bugs.webkit.org/show_bug.cgi?id=10171 20824 REGRESSION: failing layout test: fast/events/objc-event-api.html 20825 20826 * DumpRenderTree/DumpRenderTree.m: 20827 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable 20828 location in flipped coordinates, since those are the coordinates that we use. 20829 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling 20830 inside WebHTMLView. 20831 20832 * DumpRenderTree/EventSendingController.m: 20833 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array. 20834 (-[EventSendingController init]): Removed, since the whole thing was a no-op. 20835 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code 20836 probably worked OK, but this is needed to be correct. 20837 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping 20838 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the 20839 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just 20840 dump the screenY as-is. 20841 20842 2006-07-31 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20843 20844 Reviewed by Darin Adler. 20845 20846 http://bugs.webkit.org/show_bug.cgi?id=10178 20847 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source 20848 20849 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer 20850 frames. Use this stack to determine which file and line to highlight when a stack frame is selected. 20851 20852 2006-07-31 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20853 20854 Reviewed by Darin Adler. 20855 20856 http://bugs.webkit.org/show_bug.cgi?id=10175 20857 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list 20858 20859 * Drosera/DebuggerDocument.m: 20860 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope. 20861 20862 2006-07-31 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20863 20864 Reviewed by Darin Adler. 20865 20866 http://bugs.webkit.org/show_bug.cgi?id=10167 20867 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests 20868 20869 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag 20870 in keyDown handler. 20871 20872 2006-07-30 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20873 20874 Reviewed by Maciej. 20875 20876 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions 20877 http://bugs.webkit.org/show_bug.cgi?id=9686 20878 20879 * Drosera/DebuggerDocument.m: 20880 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to 20881 ensure that the server does not try and notify us of events related to the resumption. 20882 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate 20883 call through to JavaScript. 20884 * Drosera/debugger.js: Pause debugger when exception is raised. 20885 20886 2006-07-29 Mike Emmel <mike.emmel (a] gmail.com> 20887 20888 Reviewed by Darin Adler. 20889 20890 - fixes for Linux build 20891 20892 * GdkLauncher/mk: Added call to bakefile_gen before calling make. 20893 * GdkLauncher/gdklauncher.bkl: Tweak comment. 20894 20895 2006-07-24 Dan Waylonis <waylonis (a] google.com> 20896 20897 Reviewed and tweaked a bit by Darin Adler. 20898 20899 * DumpRenderTree/ObjCPlugin.m: 20900 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:". 20901 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for 20902 "echo:" so it's nice to call from JavaScript. 20903 (-[ObjCPlugin echo:]): Just returns the same object -- can be used 20904 to test a round trip through Objective-C types. 20905 20906 2006-07-24 Alexey Proskuryakov <ap (a] nypop.com> 20907 20908 Reviewed by Darin Adler. 20909 20910 Fix http://bugs.webkit.org/show_bug.cgi?id=10060 20911 Improve iExploder results parsing 20912 20913 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results 20914 in random mode, too. 20915 20916 2006-07-18 David Kilzer <ddkilzer (a] kilzer.net> 20917 20918 Reviewed by Timothy. 20919 20920 - fix http://bugs.webkit.org/show_bug.cgi?id=9964 20921 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files 20922 20923 * Scripts/prepare-ChangeLog: Added --[no-]update switch. 20924 20925 2006-07-16 David Kilzer <ddkilzer (a] kilzer.net> 20926 20927 Reviewed by Darin Adler. 20928 20929 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: 20930 Removed "No newline at end of file" that snuck in as part of the "apply patch" process. 20931 * GdkLauncher/mk: 20932 Removed "Property changes" that snuck in as part of the "apply patch" process. 20933 20934 2006-07-16 David Kilzer <ddkilzer (a] kilzer.net> 20935 20936 Reviewed by Darin Adler. 20937 20938 - fix http://bugs.webkit.org/show_bug.cgi?id=9875 20939 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions 20940 20941 * Scripts/svn-apply: 20942 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn. 20943 (checksum): Added. 20944 (patch): Use patch(1) for non-binary additions and deletions. 20945 * Scripts/svn-unapply: 20946 (checksum): Added. 20947 (patch): Use patch(1) for reverting non-binary additions and deletions. 20948 (revertDirectories): Don't try to revert a directory that hasn't changed in svn. 20949 20950 2006-07-13 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20951 20952 Reviewed by Timothy. 20953 20954 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame 20955 http://bugs.webkit.org/show_bug.cgi?id=9889 20956 20957 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If 20958 so, have stepOut pause on the next call to willExecuteStatement rather than second. 20959 20960 2006-07-12 David Kilzer <ddkilzer (a] kilzer.net> 20961 20962 Reviewed by Darin Adler. 20963 20964 - fix http://bugs.webkit.org/show_bug.cgi?id=9848 20965 Teach svn-create-patch and friends to fix ChangeLog patches 20966 20967 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place. 20968 * Scripts/svn-create-patch: Ditto. 20969 * Scripts/svn-unapply: Ditto. 20970 20971 2006-07-12 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20972 20973 Reviewed by ggaren. 20974 20975 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope 20976 http://bugs.webkit.org/show_bug.cgi?id=9869 20977 20978 * Drosera/DebuggerDocument.m: 20979 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack. 20980 20981 2006-07-12 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20982 20983 Reviewed by ggaren. 20984 20985 Bug 9863: Drosera needs to show something at launch 20986 http://bugs.webkit.org/show_bug.cgi?id=9863 20987 20988 * Drosera/DebuggerApplication.m: 20989 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch. 20990 20991 2006-07-12 Mark Rowe <opendarwin.org (a] bdash.net.nz> 20992 20993 Reviewed by Timothy. 20994 20995 Lets Drosera build universal for the nightlies. Right now it is not 20996 possible to build a universal binary on a PPC machine because of a 20997 conflict with the universal SDK. 20998 20999 * BuildSlaveSupport/build-launcher-app: 21000 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: 21001 21002 2006-07-11 Alexey Proskuryakov <ap (a] nypop.com> 21003 21004 Reviewed by Tim O. 21005 21006 - test for http://bugs.webkit.org/show_bug.cgi?id=7808 21007 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL 21008 21009 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 21010 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL - 21011 should open a new stream and deliver the data to the current instance. 21012 21013 2006-07-11 Timothy Hatcher <timothy (a] apple.com> 21014 21015 Reviewed by Darin Adler. 21016 21017 Bug 9598: [Drosera] add a JavaScript evaluator console 21018 http://bugs.webkit.org/show_bug.cgi?id=9598 21019 21020 * Drosera/DebuggerApplication.h: 21021 * Drosera/DebuggerApplication.m: 21022 (-[DebuggerApplication knownServers]): 21023 * Drosera/DebuggerDocument.h: 21024 * Drosera/DebuggerDocument.m: 21025 (-[WebScriptObject evaluateScript:inCallFrame:]): 21026 (-[WebScriptObject showConsole:]): 21027 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]): 21028 (-[WebScriptObject toolbarDefaultItemIdentifiers:]): 21029 (-[WebScriptObject toolbarAllowedItemIdentifiers:]): 21030 (-[WebScriptObject webView:createWebViewWithRequest:]): 21031 (-[WebScriptObject webViewShow:]): 21032 (-[WebScriptObject webViewAreToolbarsVisible:]): 21033 (-[WebScriptObject webView:setToolbarsVisible:]): 21034 (-[WebScriptObject webView:setResizable:]): 21035 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]): 21036 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]): 21037 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): 21038 (-[WebScriptObject webView:windowScriptObjectAvailable:]): 21039 (-[WebScriptObject webView:didFinishLoadForFrame:]): 21040 (-[WebScriptObject webView:didReceiveTitle:forFrame:]): 21041 * Drosera/Drosera.xcodeproj/project.pbxproj: 21042 * Drosera/Images/console.png: Added. 21043 * Drosera/console.css: Added. 21044 * Drosera/console.html: Added. 21045 * Drosera/console.js: Added. 21046 21047 2006-07-11 Timothy Hatcher <timothy (a] apple.com> 21048 21049 Reviewed by a tired Geoff. 21050 21051 Bug 9597: [Drosera] hook up the variables table to show stack variables 21052 http://bugs.webkit.org/show_bug.cgi?id=9597 21053 21054 * Drosera/DebuggerDocument.m: 21055 (-[WebScriptObject isSelectorExcludedFromWebScript:]): 21056 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): 21057 (-[WebScriptObject localScopeVariableNamesForCallFrame:]): 21058 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]): 21059 (-[WebScriptObject webView:didReceiveTitle:forFrame:]): 21060 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]): 21061 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]): 21062 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]): 21063 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]): 21064 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]): 21065 * Drosera/debugger.css: 21066 * Drosera/debugger.html: 21067 * Drosera/debugger.js: 21068 21069 2006-07-10 Tim Omernick <timo (a] apple.com> 21070 21071 Reviewed by Beth Dakin. 21072 21073 <http://bugs.webkit.org/show_bug.cgi?id=9844>: 21074 Add DOM access test to DumpRenderTree's Netscape plug-in 21075 21076 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 21077 (testDOMAccess): 21078 (pluginInvoke): 21079 21080 2006-07-10 Mark Rowe <opendarwin.org (a] bdash.net.nz> 21081 21082 Reviewed by Darin Adler. 21083 21084 - http://bugs.webkit.org/show_bug.cgi?id=9839 21085 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load 21086 21087 Now track three states: initializing, running, and closed. If we are launched and the previous 21088 state was initializing then we likely just experienced a crash on launch. 21089 21090 * WebKitLauncher/WebKitNightlyEnabler.m: 21091 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state. 21092 (myApplicationWillTerminate): Update to use new states. 21093 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as 21094 initializing as early as practical. 21095 (symbol_lookup): Bring code up to speed with formatting guidelines. 21096 (GDSymbolLookup): Ditto. 21097 21098 2006-07-10 Darin Adler <darin (a] apple.com> 21099 21100 - try to fix Windows build 21101 21102 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: 21103 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore. 21104 21105 2006-07-09 David Kilzer <ddkilzer (a] kilzer.net> 21106 21107 Build fix. 21108 21109 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802 21110 devenv.com not available in VC++ Express installations 21111 21112 * Scripts/webkitdirs.pm: Backed out previous change. 21113 21114 2006-07-09 David Kilzer <ddkilzer (a] kilzer.net> 21115 21116 Reviewed by Darin Adler. 21117 21118 - http://bugs.webkit.org/show_bug.cgi?id=9693 21119 svn-apply should set ChangeLog date correctly when applying patches 21120 21121 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone 21122 before applying the patch. 21123 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch. 21124 21125 2006-07-09 Darin Adler <darin (a] apple.com> 21126 21127 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity. 21128 21129 2006-07-09 Darin Adler <darin (a] apple.com> 21130 21131 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.) 21132 21133 2006-07-09 David Kilzer <ddkilzer (a] kilzer.net> 21134 21135 - http://bugs.webkit.org/show_bug.cgi?id=7802 21136 devenv.com not available in VC++ Express installations 21137 21138 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot 21139 work again. Add VC++ Express check as the fallback. 21140 21141 2006-07-09 Bjoern Graf <bjoern.graf (a] gmail.com> 21142 21143 Reviewed by Timothy Hatcher. 21144 21145 - http://bugs.webkit.org/show_bug.cgi?id=7802 21146 devenv.com not available in VC++ Express installations 21147 21148 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express. 21149 21150 2006-07-09 Joost de Valk <jdevalk (a] opendarwin.org> 21151 21152 Reviewed by Eric. 21153 21154 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 . 21155 Patch by coldwinter (a] katamail.com. 21156 21157 In the congratulations message, "capatibilies" should be "capabilities". 21158 21159 * Scripts/build-webkit: 21160 21161 2006-07-09 David Kilzer <ddkilzer (a] kilzer.net> 21162 21163 Reviewed by Timothy Hatcher. 21164 21165 - http://bugs.webkit.org/show_bug.cgi?id=9794 21166 Teach run-webkit-tests how to ignore tests with performance improvements 21167 21168 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests 21169 feature, and minor clean up. 21170 21171 2006-07-08 Darin Adler <darin (a] apple.com> 21172 21173 Reviewed by Geoff (well, half of it at least). 21174 21175 - http://bugs.webkit.org/show_bug.cgi?id=9788 21176 storage leaks in Objective-C tests 21177 21178 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]): 21179 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]): 21180 Add a release to fix a storage leak. 21181 21182 2006-07-08 Darin Adler <darin (a] apple.com> 21183 21184 * Scripts/do-webcore-rename: A few more. 21185 21186 2006-07-08 Darin Adler <darin (a] apple.com> 21187 21188 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today). 21189 21190 2006-07-04 Maciej Stachowiak <mjs (a] apple.com> 21191 21192 Reviewed by Darin Adler. 21193 21194 http://bugs.webkit.org/show_bug.cgi?id=9734 21195 - add support for dumping non-HTML as text - in this case use textContent 21196 instead of innerText 21197 21198 * DumpRenderTree/DumpRenderTree.m: 21199 (dump): 21200 21201 2006-07-02 Timothy Hatcher <timothy (a] apple.com> 21202 21203 Reviewed by Eric. 21204 21205 Bug 9631: [Drosera] Add "Step Over" and "Step Out" 21206 http://bugs.webkit.org/show_bug.cgi?id=9631 21207 21208 Adds step over and step out. Along with a little code cleanup 21209 that was minor enough to piggyback on this fix. 21210 21211 * Drosera/DebuggerDocument.h: 21212 * Drosera/DebuggerDocument.m: 21213 (-[DebuggerDocument stepOver:]): 21214 (-[DebuggerDocument stepOut:]): 21215 (-[DebuggerDocument windowDidLoad]): 21216 (-[DebuggerDocument windowWillClose:]): 21217 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]): 21218 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]): 21219 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]): 21220 (-[DebuggerDocument validateUserInterfaceItem:]): 21221 * Drosera/Drosera.xcodeproj/project.pbxproj: 21222 * Drosera/debugger.html: 21223 * Drosera/debugger.js: 21224 * Drosera/viewer.css: 21225 21226 2006-07-02 Timothy Hatcher <timothy (a] apple.com> 21227 21228 Reviewed by Eric. 21229 21230 Bug 9628: [Drosera] Split Views acting oddly 21231 http://bugs.webkit.org/show_bug.cgi?id=9628 21232 21233 Only update the last X or Y coordinate if the new 21234 size was not constrained. Also adds the resize cursor to 21235 the body during the drag incase there is a constrained 21236 over drag off of the resizer element. 21237 21238 * Drosera/debugger.js: 21239 21240 2006-07-02 Mark Rowe <opendarwin.org (a] bdash.net.nz> 21241 21242 Reviewed by Alexey Proskuryakov. 21243 21244 Bug 9692: Warning about Safari extensions on every launch is obnoxious 21245 http://bugs.webkit.org/show_bug.cgi?id=9692 21246 21247 * WebKitLauncher/WebKitNightlyEnabler.m: 21248 (myApplicationWillTerminate): Note that we are exiting cleanly. 21249 (cleanUpAfterOurselves): Install bundle load tracking only if we failed 21250 to exit cleanly on our last invocation. This doesn't play nicely with 21251 multiple concurrent instances of WebKit.app so it can be disabled via 21252 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO. 21253 21254 2006-07-02 Mark Rowe <opendarwin.org (a] bdash.net.nz> 21255 21256 Reviewed by Alexey Proskuryakov. 21257 21258 Bug 9654: Refresh Loop when accessing feed URLs 21259 http://bugs.webkit.org/show_bug.cgi?id=9654 21260 21261 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs. 21262 21263 2006-07-02 Mark Rowe <opendarwin.org (a] bdash.net.nz> 21264 21265 Reviewed by Timothy Hatcher. 21266 21267 Bug 9689: Nightly builds should warn a user about potential problems when using 21268 "Safari extensions" 21269 http://bugs.webkit.org/show_bug.cgi?id=9689 21270 21271 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: 21272 * WebKitLauncher/WebKitNightlyEnabler.m: 21273 (myBundleDidLoad): Keep track of if any bundles that are loaded. 21274 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded. 21275 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and 21276 NSApplicationWillFinishLaunchingNotification notifications so that we can 21277 track bundle loads and notify the user at launch completion. 21278 21279 2006-06-30 Mike Emmel <mike.emmel (a] gmail.com> 21280 21281 Reviewed by Darin Adler. 21282 21283 - first check-in of a Gdk shell for testing WebKit 21284 21285 * GdkLauncher: Added. 21286 21287 2006-06-29 Timothy Hatcher <timothy (a] apple.com> 21288 21289 Reviewed by Darin Adler. 21290 21291 Need to call window close so WebView tears-down completly. 21292 21293 * DumpRenderTree/DumpRenderTree.m: 21294 (main): call [window close] 21295 21296 2006-06-29 Mark Rowe <opendarwin.org (a] bdash.net.nz> 21297 21298 Reviewed by Darin Adler. 21299 21300 Bug 9615: Buildbot configuration should be in SVN repository 21301 http://bugs.webkit.org/show_bug.cgi?id=9615 21302 21303 Import BuildBot configuration files as used by build.webkit.org. 21304 auth.py has been stubbed out so that slave passwords are not disclosed. 21305 21306 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added. 21307 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added. 21308 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added. 21309 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added. 21310 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added. 21311 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added. 21312 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added. 21313 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added. 21314 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added. 21315 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added. 21316 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added. 21317 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added. 21318 21319 2006-06-29 Mark Rowe <opendarwin.org (a] bdash.net.nz> 21320 21321 Reviewed by Darin Adler. 21322 21323 Bug 9614: Nightly builds should notify user if a newer build is available 21324 http://bugs.webkit.org/show_bug.cgi?id=9614 21325 21326 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file. 21327 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance 21328 script so it can keep track of the latest revision. 21329 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly. 21330 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number 21331 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: 21332 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to 21333 the nightly start page. 21334 21335 2006-06-26 Jonas Witt <jonas.witt (a] gmail.com> 21336 21337 Reviewed by Darin Adler. 21338 21339 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output 21340 http://bugs.webkit.org/show_bug.cgi?id=9579 21341 21342 Report screenY values as (height of zero screen - screenY) 21343 21344 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]): 21345 21346 2006-06-25 Timothy Hatcher <timothy (a] apple.com> 21347 21348 Reviewed by Geoff. 21349 21350 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter 21351 http://bugs.webkit.org/show_bug.cgi?id=9591 21352 21353 Makes breakpoints dragable. If dragged off the gutter they are deleted. 21354 21355 * Drosera/debugger.js: 21356 * Drosera/viewer.css: 21357 21358 2006-06-25 Timothy Hatcher <timothy (a] apple.com> 21359 21360 Reviewed by Darin Adler. 21361 21362 Bug 9568: assertion failure in Safari after quitting Drosera 21363 http://bugs.webkit.org/show_bug.cgi?id=9568 21364 21365 Call switchToServerNamed:nil and not removeLister to make sure 21366 the server object is set to nil to prevent further removeListener calls. 21367 21368 * Drosera/DebuggerDocument.m: 21369 (-[DebuggerDocument applicationTerminating:]): 21370 21371 2006-06-25 David Kilzer <ddkilzer (a] kilzer.net> 21372 21373 Reviewed by Darin Adler. 21374 21375 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find 21376 that the directory is not empty instead of reading in every single file and directory first, 21377 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not 21378 defined. 21379 21380 2006-06-25 Darin Adler <darin (a] apple.com> 21381 21382 * Scripts/svn-apply: Tweak comments. 21383 * Scripts/svn-create-patch: Ditto. 21384 * Scripts/svn-unapply: Ditto. 21385 21386 2006-06-25 David Kilzer <ddkilzer (a] kilzer.net> 21387 21388 Formatting fix per Bug 9571 Comment #2. 21389 21390 http://bugs.webkit.org/show_bug.cgi?id=9571#c2 21391 21392 * Scripts/svn-apply: Formatting fix. 21393 21394 2006-06-25 David Kilzer <ddkilzer (a] kilzer.net> 21395 21396 Reviewed by Darin Adler. 21397 21398 http://bugs.webkit.org/show_bug.cgi?id=9571 21399 Teach svn-apply and svn-unapply to handle directory adds and removes better 21400 21401 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes. 21402 * Scripts/svn-unapply: Handle undoing both directory adds and removes. 21403 21404 2006-06-25 Timothy Hatcher <timothy (a] apple.com> 21405 21406 Reviewed by Darin Adler. 21407 21408 Bug 9574: Drosera should show inline scripts within the original HTML 21409 http://bugs.webkit.org/show_bug.cgi?id=9574 21410 21411 Refactor the JavaScript code to have a distinction between files 21412 and scripts. Show the script in the context of the HTML file if 21413 it's URL is the same as the frame's main resource. At the time of 21414 the disParseScript callback the main resource might not be completely 21415 loaded, but Drosera needs to show whatever we have at the time. Once 21416 the main resource is finished, update the file source and reload the file. 21417 21418 * Drosera/DebuggerDocument.m: 21419 (-[DebuggerDocument pause]): 21420 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]): 21421 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]): 21422 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]): 21423 * Drosera/debugger.css: 21424 * Drosera/debugger.js: 21425 21426 2006-06-24 David Kilzer <ddkilzer (a] kilzer.net> 21427 21428 Reviewed by Darin Adler. 21429 21430 http://bugs.webkit.org/show_bug.cgi?id=9570 21431 Teach prepare-ChangeLog to operate on a list of files or directories 21432 21433 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running. 21434 * Scripts/svn-create-patch: Code refactoring. 21435 21436 2006-06-24 James G. Speth <speth (a] end.com> 21437 21438 Reviewed by Darin Adler. 21439 21440 - http://bugs.webkit.org/show_bug.cgi?id=8843 21441 add a way to build Objective-C test cases in HTML 21442 21443 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge 21444 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do 21445 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c 21446 objects, etc... ) 21447 21448 * DumpRenderTree/ObjCPlugin.h: 21449 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree 21450 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): 21451 (+[ObjCPlugin webScriptNameForSelector:]): 21452 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing 21453 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script 21454 (+[NSObject allowsScriptsFullAccess]): 21455 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded 21456 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation 21457 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]): 21458 (+[JSObjC webScriptNameForSelector:]): 21459 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes 21460 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name 21461 (-[JSObjC log:]): access to NSLog function 21462 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript 21463 (-[JSObjC classOfObject:]): 21464 (-[JSObjC classNameOfObject:]): 21465 21466 2006-06-24 David Kilzer <ddkilzer (a] kilzer.net> 21467 21468 Reviewed by Timothy. 21469 21470 * DrawTest/Info.plist: Added copyright statement. 21471 * Drosera/Info.plist: Ditto. 21472 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto. 21473 * WebKitLauncher/Info.plist: Ditto. 21474 21475 2006-06-24 David Kilzer <ddkilzer (a] kilzer.net> 21476 21477 Build fix. 21478 21479 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802 21480 devenv.com not available in VC++ Express installations 21481 21482 * Scripts/webkitdirs.pm: Backed out previous change. 21483 21484 2006-06-24 Bjoern Graf <bjoern.graf (a] gmail.com> 21485 21486 Reviewed by Maciej. 21487 21488 - http://bugs.webkit.org/show_bug.cgi?id=7802 21489 devenv.com not available in VC++ Express installations 21490 21491 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express. 21492 21493 2006-06-24 Alexey Proskuryakov <ap (a] nypop.com> 21494 21495 Reviewed by Darin Adler. 21496 21497 - http://bugs.webkit.org/show_bug.cgi?id=9564 21498 A bunch of fixes to run-webkit-httpd 21499 21500 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just 21501 127.0.0.1. Useful for testing with WinIE running on another machine; 21502 - don't call checkFrameworks() - we do not need a built WebKit here; 21503 - changed tabs to spaces; 21504 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in 21505 interactive mode, they were a hassle when testing with several browsers, as one 21506 had to wait for connection to expire); 21507 - remove httpd.pid when done, so that Apache doesn't complain next time. 21508 21509 * Scripts/run-webkit-httpd: 21510 21511 2006-06-24 Jonas Witt <jonas.witt (a] gmail.com> 21512 21513 Reviewed by ggaren, landed by ap. 21514 21515 - http://bugs.webkit.org/show_bug.cgi?id=9181 21516 Complete DOMUIEvent Obj-C API to reflect UIEvent 21517 21518 Add function to enable logging of all events of one DOM node to stdout. 21519 21520 * DumpRenderTree/EventSendingController.h: 21521 * DumpRenderTree/EventSendingController.m: 21522 (+[EventSendingController initialize]): 21523 (+[EventSendingController isSelectorExcludedFromWebScript:]): 21524 (+[EventSendingController webScriptNameForSelector:]): 21525 (-[EventSendingController enableDOMUIEventLogging:]): 21526 (-[EventSendingController handleEvent:]): 21527 21528 2006-06-23 Kevin Decker <kdecker (a] apple.com> 21529 21530 Reviewed by Tim Hatcher. 21531 21532 - Made column headers in Drosera resizable. 21533 21534 2006-06-22 Alexey Proskuryakov <ap (a] nypop.com> 21535 21536 Reviewed by ggaren. 21537 21538 - see http://bugs.webkit.org/show_bug.cgi?id=9539 21539 Another case error preventing build 21540 21541 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3. 21542 21543 2006-06-22 Timothy Hatcher <timothy (a] apple.com> 21544 21545 Reviewed by Eric. 21546 21547 Adds a native toolbar to Drosera to be a good citizen. 21548 Adds a Debug menu with key-commands for Continue, Pause and Step Into. 21549 Fixes a dragging bug from an earlier fix to the divider code. 21550 Fixes some poor indenting in debugger.js. 21551 21552 * Drosera/DebuggerDocument.h: 21553 * Drosera/DebuggerDocument.m: 21554 (-[DebuggerDocument stepInto]): 21555 (-[DebuggerDocument pause:]): 21556 (-[DebuggerDocument resume:]): 21557 (-[DebuggerDocument stepInto:]): 21558 (-[DebuggerDocument windowDidLoad]): 21559 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]): 21560 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]): 21561 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]): 21562 (-[DebuggerDocument validateUserInterfaceItem:]): 21563 * Drosera/English.lproj/MainMenu.nib/classes.nib: 21564 * Drosera/English.lproj/MainMenu.nib/info.nib: 21565 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: 21566 * Drosera/debugger.css: 21567 * Drosera/debugger.html: 21568 * Drosera/debugger.js: 21569 * Drosera/viewer.html: 21570 21571 2006-06-22 Kevin Decker <kdecker (a] apple.com> 21572 21573 Reviewed by Anders. 21574 21575 - Added pressed column header image. 21576 - Made column headers behave more like Xcode. 21577 21578 2006-06-22 Timothy Hatcher <timothy (a] apple.com> 21579 21580 Reviewed by Kevin Decker. 21581 21582 Code clean up. Adds the stackframe and makes only the body 21583 of the tables scrollable keeping the header visible. 21584 Shows the current function stack when paused or stepping. 21585 21586 * Drosera/DebuggerApplication.m: 21587 (-[DebuggerApplication awakeFromNib]): 21588 (-[DebuggerApplication numberOfRowsInTableView:]): 21589 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): 21590 * Drosera/DebuggerDocument.h: 21591 * Drosera/DebuggerDocument.m: 21592 (-[DebuggerDocument dealloc]): 21593 (-[DebuggerDocument currentFrame]): 21594 (-[DebuggerDocument currentFrameFunctionName]): 21595 (-[DebuggerDocument currentFunctionStack]): 21596 (-[DebuggerDocument log:]): 21597 (-[DebuggerDocument windowWillClose:]): 21598 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]): 21599 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]): 21600 * Drosera/Drosera.xcodeproj/project.pbxproj: 21601 * Drosera/debugger.css: 21602 * Drosera/debugger.html: 21603 * Drosera/debugger.js: 21604 21605 2006-06-22 Alexey Proskuryakov <ap (a] nypop.com> 21606 21607 Reviewed by Anders. 21608 21609 Teach run-webkit-httpd to properly look for webkitdirs.pm. 21610 21611 * Scripts/run-webkit-httpd: 21612 21613 2006-06-22 Kevin Decker <kdecker (a] apple.com> 21614 21615 Reviewed by Tim Hatcher. 21616 21617 - More progress toward Javascript Debugger. 21618 - Added some new images to the project. 21619 21620 2006-06-21 Alexey Proskuryakov <ap (a] nypop.com> 21621 21622 Reviewed by Anders. 21623 21624 - http://bugs.webkit.org/show_bug.cgi?id=9516 21625 Would like a script to run a httpd server with the same configuration as run-webkit-tests http 21626 21627 * Scripts/run-webkit-httpd: Added. 21628 21629 2006-06-20 Timothy Hatcher <timothy (a] apple.com> 21630 21631 Reviewed by Eric. 21632 21633 Builds Drosera and a launcher to include with the nightly. 21634 21635 * BuildSlaveSupport/build-launcher-app: 21636 * BuildSlaveSupport/build-launcher-dmg: 21637 * Drosera/Drosera.xcodeproj/project.pbxproj: 21638 * Drosera/Info.plist: 21639 * Drosera/LauncherInfo.plist: Added. 21640 * Drosera/launcher.m: Added. 21641 (displayErrorAndQuit): 21642 (checkMacOSXVersion): 21643 (myExecve): 21644 (main): 21645 * Scripts/build-drosera 21646 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: 21647 * WebKitLauncher/main.m: 21648 (main): 21649 21650 2006-06-20 Timothy Hatcher <timothy (a] apple.com> 21651 21652 Reviewed by Darin Adler. 21653 21654 Adds a JavaScript debugger, called Drosera. Named after 21655 a genus of bug eating plants. 21656 21657 * Drosera/DebuggerApplication.h: Added. 21658 * Drosera/DebuggerApplication.m: Added. 21659 (-[DebuggerApplication applicationDidFinishLaunching:]): 21660 (-[DebuggerApplication serverLoaded:]): 21661 (-[DebuggerApplication serverUnloaded:]): 21662 (-[DebuggerApplication awakeFromNib]): 21663 (-[DebuggerApplication showAttachPanel:]): 21664 (-[DebuggerApplication attach:]): 21665 (-[DebuggerApplication numberOfRowsInTableView:]): 21666 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): 21667 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]): 21668 (-[DebuggerApplication tableViewSelectionDidChange:]): 21669 * Drosera/DebuggerDocument.h: Added. 21670 * Drosera/DebuggerDocument.m: Added. 21671 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]): 21672 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]): 21673 (+[DebuggerDocument isSelectorExcludedFromWebScript:]): 21674 (+[DebuggerDocument isKeyExcludedFromWebScript:]): 21675 (-[DebuggerDocument initWithServerName:]): 21676 (-[DebuggerDocument windowWillClose:]): 21677 (-[DebuggerDocument dealloc]): 21678 (-[DebuggerDocument isPaused]): 21679 (-[DebuggerDocument pause]): 21680 (-[DebuggerDocument resume]): 21681 (-[DebuggerDocument step]): 21682 (-[DebuggerDocument windowNibName]): 21683 (-[DebuggerDocument windowDidLoad]): 21684 (-[DebuggerDocument switchToServerNamed:]): 21685 (-[DebuggerDocument applicationTerminating:]): 21686 (-[DebuggerDocument serverConnectionDidDie:]): 21687 (-[DebuggerDocument webView:windowScriptObjectAvailable:]): 21688 (-[DebuggerDocument webView:didFinishLoadForFrame:]): 21689 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]): 21690 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]): 21691 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]): 21692 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]): 21693 * Drosera/Drosera.pch: Added. 21694 * Drosera/Drosera.xcodeproj/project.pbxproj: Added. 21695 * Drosera/English.lproj/Debugger.nib/classes.nib: Added. 21696 * Drosera/English.lproj/Debugger.nib/info.nib: Added. 21697 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added. 21698 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added. 21699 * Drosera/English.lproj/MainMenu.nib/info.nib: Added. 21700 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added. 21701 * Drosera/Images/breakPoint.tif: Added. 21702 * Drosera/Images/breakPointDisabled.tif: Added. 21703 * Drosera/Images/continue.tif: Added. 21704 * Drosera/Images/finishFunction.tif: Added. 21705 * Drosera/Images/glossyFooterFill.tif: Added. 21706 * Drosera/Images/glossyHeader.png: Added. 21707 * Drosera/Images/gradientBackground.png: Added. 21708 * Drosera/Images/gutter.png: Added. 21709 * Drosera/Images/navLeftDisabled.png: Added. 21710 * Drosera/Images/navLeftNormal.png: Added. 21711 * Drosera/Images/navLeftPressed.png: Added. 21712 * Drosera/Images/navRightDisabled.png: Added. 21713 * Drosera/Images/navRightNormal.png: Added. 21714 * Drosera/Images/navRightPressed.png: Added. 21715 * Drosera/Images/pause.tif: Added. 21716 * Drosera/Images/popUpArrows.png: Added. 21717 * Drosera/Images/programCounter.tif: Added. 21718 * Drosera/Images/programCounterBreakPoint.tif: Added. 21719 * Drosera/Images/programCounterBreakPointDisabled.tif: Added. 21720 * Drosera/Images/run.tif: Added. 21721 * Drosera/Images/splitterBar.tif: Added. 21722 * Drosera/Images/splitterDimple.tif: Added. 21723 * Drosera/Images/step.tif: Added. 21724 * Drosera/Images/stepOver.tif: Added. 21725 * Drosera/Images/stop.tif: Added. 21726 * Drosera/Images/toolbarBackground.png: Added. 21727 * Drosera/Info.plist: Added. 21728 * Drosera/debugger.css: Added. 21729 * Drosera/debugger.html: Added. 21730 * Drosera/debugger.js: Added. 21731 * Drosera/main.m: Added. 21732 (main): 21733 * Drosera/viewer.css: Added. 21734 * Drosera/viewer.html: Added. 21735 21736 2006-06-18 David Kilzer <ddkilzer (a] kilzer.net> 21737 21738 Reviewed by darin. 21739 21740 http://bugs.webkit.org/show_bug.cgi?id=9485 21741 Teach svn-apply and svn-unapply to use full path names 21742 21743 * Scripts/svn-apply: Changed to use full path names. Cleaned up code. 21744 * Scripts/svn-unapply: Ditto. 21745 21746 2006-06-18 David Kilzer <ddkilzer (a] kilzer.net> 21747 21748 Reviewed by ggaren. 21749 21750 - http://bugs.webkit.org/show_bug.cgi?id=9150 21751 DumpRenderTree should be able to keep URL history during runs 21752 21753 Test: LayoutTests/fast/history/clicked-link-is-visited.html 21754 21755 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController 21756 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory. 21757 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if 21758 it is currently nil since keepWebHistory() might be called more than once incidentally 21759 for the same test. 21760 (dumpRenderTree): Set optional shared history in WebHistory to nil by default. 21761 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up. 21762 21763 2006-06-11 David Kilzer <ddkilzer (a] kilzer.net> 21764 21765 Reviewed by darin. 21766 21767 http://bugs.webkit.org/show_bug.cgi?id=9395 21768 Make prepare-ChangeLog faster 21769 21770 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files, 21771 then save the diff output for reuse. Keep a status variable if changes are made to 21772 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when 21773 WebCore is updated. Added -h|--help command-line switch and help message. Move test 21774 for no changed files closer to the beginning of the program. 21775 21776 2006-06-10 Mitz Pettel <opendarwin.org (a] mitzpettel.com> 21777 21778 Reviewed and landed by ap. 21779 21780 - make DumpRenderTree build 21781 21782 * DumpRenderTree/DumpRenderTree.m: 21783 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState 21784 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto. 21785 (-[LayoutTestController setWindowIsKey:]): Ditto. 21786 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto. 21787 21788 2006-06-09 David Kilzer <ddkilzer (a] kilzer.net> 21789 21790 Reviewed by Darin, landed by Geoff. 21791 21792 http://bugs.webkit.org/show_bug.cgi?id=9350 21793 Use pathcmp() when sorting paths in svn-create-patch 21794 21795 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex. 21796 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests. 21797 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line 21798 switch and printUsage() subroutine. 21799 21800 2006-06-06 David Kilzer <ddkilzer (a] kilzer.net> 21801 21802 Reviewed by darin. 21803 21804 http://bugs.webkit.org/show_bug.cgi?id=9322 21805 Teach svn-create-patch to sort its output 21806 21807 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically 21808 by text files first, then by binary files. 21809 21810 2006-06-04 David Kilzer <ddkilzer (a] kilzer.net> 21811 21812 Reviewed by darin. 21813 21814 http://bugs.webkit.org/show_bug.cgi?id=9299 21815 Teach svn-create-patch and friends to work with binary files 21816 21817 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches. 21818 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches. 21819 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches. 21820 21821 2006-06-03 David Kilzer <ddkilzer (a] kilzer.net> 21822 21823 Reviewed by Maciej. 21824 21825 http://bugs.webkit.org/show_bug.cgi?id=9296 21826 Performance improvement for svn-create-patch 21827 21828 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch. 21829 21830 2006-06-03 David Kilzer <ddkilzer (a] kilzer.net> 21831 21832 Reviewed by darin. 21833 21834 http://bugs.webkit.org/show_bug.cgi?id=9290 21835 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly 21836 21837 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing. 21838 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion. 21839 21840 2006-06-03 Steve Falkenburg <sfalken (a] apple.com> 21841 21842 Reviewed by hyatt. 21843 21844 Switch Spinneret to new hosting mechanism 21845 21846 * Spinneret/Spinneret.sln: 21847 * Spinneret/Spinneret/Spinneret.cpp: 21848 (SpinneretWebHost::updateAddressBar): 21849 (SpinneretWebHost::QueryInterface): 21850 (SpinneretWebHost::AddRef): 21851 (SpinneretWebHost::Release): 21852 (resizeSubViews): 21853 (_tWinMain): 21854 (WndProc): 21855 (MyEditProc): 21856 (About): 21857 (loadURL): 21858 * Spinneret/Spinneret/Spinneret.h: 21859 (SpinneretWebHost::didStartProvisionalLoadForFrame): 21860 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame): 21861 (SpinneretWebHost::didFailProvisionalLoadWithError): 21862 (SpinneretWebHost::didCommitLoadForFrame): 21863 (SpinneretWebHost::didReceiveTitle): 21864 (SpinneretWebHost::didReceiveIcon): 21865 (SpinneretWebHost::didFinishLoadForFrame): 21866 (SpinneretWebHost::didFailLoadWithError): 21867 (SpinneretWebHost::didChangeLocationWithinPageForFrame): 21868 (SpinneretWebHost::willPerformClientRedirectToURL): 21869 (SpinneretWebHost::didCancelClientRedirectForFrame): 21870 (SpinneretWebHost::willCloseFrame): 21871 (SpinneretWebHost::windowScriptObjectAvailable): 21872 * Spinneret/Spinneret/Spinneret.vcproj: 21873 21874 2006-06-02 Steve Falkenburg <sfalken (a] apple.com> 21875 21876 Reviewed by darin. 21877 21878 Updated build script 21879 21880 * Scripts/build-webkit: 21881 21882 2006-06-01 Anders Carlsson <acarlsson (a] apple.com> 21883 21884 Reviewed by Darin Adler. 21885 21886 * DumpRenderTree/DumpRenderTree.m: 21887 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 21888 (-[LayoutTestController clearBackForwardList]): 21889 Add clearBackForwardList function to layoutTestController 21890 21891 2006-06-01 Anders Carlsson <acarlsson (a] apple.com> 21892 21893 Reviewed by Darin Adler. 21894 21895 http://bugs.webkit.org/show_bug.cgi?id=8996 21896 slow-utf8-text layout test case failing (no longer deterministic?) 21897 21898 * DumpRenderTree/DumpRenderTree.m: 21899 (dump): 21900 Dump as text when the response MIME type is text/plain 21901 21902 2006-05-26 Steve Falkenburg <sfalken (a] apple.com> 21903 21904 Build fixes/tweaks 21905 21906 * Spinneret/Spinneret.sln: 21907 * Spinneret/Spinneret/Spinneret.vcproj: 21908 21909 2006-05-24 Geoffrey Garen <ggaren (a] apple.com> 21910 21911 Reviewed by mjs. 21912 21913 Added 'GCController' to DRT to support garbage collection layout tests. 21914 21915 GCController.collect() and GCController.collectOnAlternateThread() do 21916 what you would expect. The latter takes a boolean argument sepcifying 21917 whether to wait for garbage collection to finish before continuing to 21918 execute script. 21919 21920 * DumpRenderTree/DumpRenderTree.m: 21921 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): 21922 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 21923 * DumpRenderTree/GCController.h: Added. 21924 * DumpRenderTree/GCController.mm: Added. 21925 (+[GCController isSelectorExcludedFromWebScript:]): 21926 (+[GCController webScriptNameForSelector:]): 21927 (-[GCController collect]): 21928 (-[GCController collectOnAlternateThread:]): 21929 21930 2006-05-23 John Sullivan <sullivan (a] apple.com> 21931 21932 Reviewed by Maciej. 21933 21934 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 21935 Newer Xcode removed some obsolete cruft 21936 21937 * DumpRenderTree/TextInputController.m: 21938 (-[TextInputController textInput]): 21939 added (id) cast to make newer compiler happy 21940 21941 2006-05-22 Steve Falkenburg <sfalken (a] apple.com> 21942 21943 Reviewed by adele. 21944 21945 Fix build. 21946 21947 * Spinneret/Spinneret.sln: 21948 21949 2006-05-18 Darin Adler <darin (a] apple.com> 21950 21951 - try to fix no-SVG, no-XPATH build, again 21952 21953 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''. 21954 21955 2006-05-18 Darin Adler <darin (a] apple.com> 21956 21957 - try to fix no-SVG, no-XPATH build 21958 21959 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS, 21960 since the former is what's used in the WebCore project now. 21961 21962 2006-05-17 Darin Adler <darin (a] apple.com> 21963 21964 * Scripts/do-webcore-rename: Some more future renames. 21965 21966 2006-05-16 Adele Peterson <adele (a] apple.com> 21967 21968 Reviewed by Hyatt. 21969 21970 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and 21971 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames. 21972 21973 2006-05-15 Alexey Proskuryakov <ap (a] nypop.com> 21974 21975 * Scripts/install-unix-extras: Changed to be executable and removed 21976 text in the file generated by "svn diff". 21977 * Scripts/regenerate-makefiles: Ditto. 21978 21979 2006-05-13 Kevin M. Ollivier <kevino (a] theolliviers.com> 21980 21981 Reviewed by Darin, landed by ap. 21982 21983 - http://bugs.webkit.org/show_bug.cgi?id=8528 21984 Bakefiles (and generated Makefiles) for wx and gdk ports 21985 21986 * Scripts/install-unix-extras: Added. 21987 * Scripts/regenerate-makefiles: Added. 21988 21989 2006-05-10 Steve Falkenburg <sfalken (a] apple.com> 21990 21991 Reviewed by Maciej. 21992 21993 Fix registry usage from perl script. Turns out libwin32's 21994 SetRegValueEx, even for REG_DWORD, always takes its value as a string! 21995 21996 * Scripts/install-win-extras: 21997 21998 2006-05-09 Steve Falkenburg <sfalken (a] apple.com> 21999 22000 Fix Windows build. 22001 Add load ended callback. 22002 22003 Reviewed by kevin. 22004 22005 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths 22006 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly). 22007 * Spinneret/Spinneret/Spinneret.cpp: 22008 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load. 22009 (_tWinMain): Load built-in test content here instead of in lower-level code. 22010 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback. 22011 22012 2006-05-08 Maciej Stachowiak <mjs (a] apple.com> 22013 22014 Reviewed by Anders. 22015 22016 * Scripts/extract-localizable-strings: Update for correct names of log macros. 22017 22018 2006-05-09 Anders Carlsson <acarlsson (a] apple.com> 22019 22020 Reviewed by Maciej. 22021 22022 * Scripts/check-dom-results: 22023 Add XPath to the list of results. 22024 22025 2006-05-08 Darin Adler <darin (a] apple.com> 22026 22027 * Scripts/do-webcore-rename: Add another rename. 22028 22029 2006-05-01 Steve Falkenburg <sfalken (a] apple.com> 22030 22031 Reviewed by eric. 22032 22033 Spinneret now links against the new separate lib. 22034 22035 * Spinneret/Spinneret.sln: 22036 * Spinneret/Spinneret/Spinneret.cpp: 22037 (SpinneretWebHost::updateLocationBar): 22038 (_tWinMain): 22039 * Spinneret/Spinneret/Spinneret.h: 22040 * Spinneret/Spinneret/Spinneret.vcproj: 22041 * Spinneret/Spinneret/WebFrame.cpp: Removed. 22042 * Spinneret/Spinneret/WebFrame.h: Removed. 22043 * Spinneret/Spinneret/WebView.cpp: Removed. 22044 * Spinneret/Spinneret/WebView.h: Removed. 22045 22046 2006-04-28 Steve Falkenburg <sfalken (a] apple.com> 22047 22048 Reviewed by kdecker 22049 22050 Modify error reporting registry keys to disable Dr. Watson. 22051 This allows Javascript test cases to complete without blocking UI. 22052 22053 * Scripts/install-win-extras: 22054 - Use Perl Win32 registry functions to disable blocking UI 22055 22056 22057 2006-04-28 Steve Falkenburg <sfalken (a] apple.com> 22058 22059 Reviewed by eric. 22060 22061 Turned off C++ exceptions, fixed memory leaks 22062 22063 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: 22064 * Spinneret/Spinneret.sln: 22065 * Spinneret/Spinneret/Spinneret.cpp: 22066 (_tWinMain): 22067 * Spinneret/Spinneret/Spinneret.vcproj: 22068 * Spinneret/Spinneret/WebFrame.cpp: 22069 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate): 22070 (WebKit::WebFrame::WebFrame): 22071 (WebKit::WebFrame::~WebFrame): 22072 (WebKit::WebFrame::impl): 22073 * Spinneret/Spinneret/WebFrame.h: 22074 * Spinneret/Spinneret/WebView.cpp: 22075 * Spinneret/Spinneret/stdafx.h: 22076 22077 2006-04-28 Alexey Proskuryakov <ap (a] nypop.com> 22078 22079 Reviewed by Darin Adler. 22080 22081 - http://bugs.webkit.org/show_bug.cgi?id=8633 22082 DumpRenderTree should reset the URL cache 22083 22084 * DumpRenderTree/DumpRenderTree.m: 22085 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses]. 22086 22087 2006-04-28 Eric Seidel <eseidel (a] apple.com> 22088 22089 Reviewed by andersca. 22090 22091 * Scripts/do-webcore-rename: rename KCanvasContainer too 22092 * Scripts/run-webkit-tests: output total time 22093 22094 2006-04-26 Mitz Pettel <opendarwin.org (a] mitzpettel.com> 22095 22096 Reviewed by hyatt. Landed by eseidel. 22097 22098 - http://bugs.webkit.org/show_bug.cgi?id=8549 22099 Enable detection of excessive repainting with DumpRenderTree 22100 22101 * DumpRenderTree/DumpRenderTree.m: 22102 (-[LayoutTestController display]): 22103 22104 2006-04-23 Mitz Pettel <opendarwin.org (a] mitzpettel.com> 22105 22106 Reviewed by Darin Adler. 22107 22108 - http://bugs.webkit.org/show_bug.cgi?id=6905 22109 DumpRenderTree needs a way to force painting (to allow invalidation tests) 22110 22111 * DumpRenderTree/DumpRenderTree.m: 22112 (dump): If display() has been called during the test, grab the pixels from 22113 the view, after letting it repaint invalidated rects. 22114 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 22115 (-[LayoutTestController display]): Added. Calls -display on the view 22116 and changes the subsequent behavior of dump(). 22117 (dumpRenderTree): 22118 22119 2006-04-22 Alexey Proskuryakov <ap (a] nypop.com> 22120 22121 Reviewed by Maciej. 22122 22123 - http://bugs.webkit.org/show_bug.cgi?id=8532 22124 Update iExploder to 1.3.2 22125 22126 Test case numbers are not compatible with iExploder 1.2. 22127 22128 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed. 22129 22130 * iExploder/CHANGELOG.txt: Added. 22131 * iExploder/LICENSE.txt: Changed to a standard zlib/png license. 22132 * iExploder/README.txt: Added some performance hints. 22133 22134 * iExploder/htdocs/config.rb: Added. 22135 * iExploder/htdocs/cssproperties.in: 22136 * iExploder/htdocs/cssvalues.in: 22137 * iExploder/htdocs/htmlattrs.in: 22138 * iExploder/htdocs/htmltags.in: 22139 * iExploder/htdocs/iexploder.cgi: 22140 - Updated to support the latest HTML & CSS tags, properties, and values from both 22141 the WebKit and Mozilla CVS tree 22142 - cssproperties.in cleanup 22143 - Modularized the code a little bit. 22144 - Fix subtest bug that was causing last 5 tags to be missed 22145 - new subtest algorithm to deal better with larger tag counts 22146 - default HTML_MAX_TAGS increased from 32 to 96 22147 22148 * iExploder/htdocs/index.html: Updated version to 1.3.2. 22149 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an 22150 alternative to our run-iexploder-tests. 22151 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get. 22152 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb. 22153 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days. 22154 22155 2006-04-22 Alexey Proskuryakov <ap (a] nypop.com> 22156 22157 - commit Scripts/run-mangleme-tests (missed it the previous time). 22158 22159 2006-04-18 Darin Adler <darin (a] apple.com> 22160 22161 - attempt to fix Windows buildbot 22162 22163 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net. 22164 We need a better long-term solution for this. 22165 22166 2006-04-17 Alexey Proskuryakov <ap (a] nypop.com> 22167 22168 Reviewed by Darin Adler. 22169 22170 - http://bugs.webkit.org/show_bug.cgi?id=8444 22171 Integrate mangleme test script. 22172 22173 Works in a similar way to run-iexploder-tests. 22174 22175 * Scripts/run-mangleme-tests: Added. 22176 * mangleme: Added. 22177 * mangleme/Makefile: Added. 22178 * mangleme/README: Added. 22179 * mangleme/mangle.cgi.c: Added. 22180 * mangleme/remangle.cgi.c: Added. 22181 * mangleme/tags.h: Added. 22182 22183 2006-04-17 Alexey Proskuryakov <ap (a] nypop.com> 22184 22185 Reviewed by Darin Adler. 22186 22187 - http://bugs.webkit.org/show_bug.cgi?id=8443 22188 An easier way to save iExploder tests. 22189 22190 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file. 22191 22192 2006-04-17 Alexey Proskuryakov <ap (a] nypop.com> 22193 22194 Reviewed by Darin Adler. 22195 22196 - http://bugs.webkit.org/show_bug.cgi?id=8421 22197 Integrate iExploder test script. 22198 22199 This script generates artificially mangled HTML documents, to test that the browser 22200 doesn't crash when handling ill-formed code. 22201 22202 How to use: 22203 run-iexploder-tests Open an interactive test page in Safari+ToT. 22204 run-iexploder-tests nnnnn Open test #nnnnn. 22205 22206 Command line options: 22207 --guard-malloc (-g) Use Guard Malloc. 22208 --port=nnnn Run Apache on port nnnn (default is 8000). 22209 22210 To save a crashing test, you can use curl while the crash reporter dialog is on the screen 22211 (thus, Apache is still running), e.g.: 22212 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293" 22213 22214 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory. 22215 22216 * Scripts/run-iexploder-tests: Added. 22217 * iExploder: Added. 22218 * iExploder/LICENSE.txt: Added. 22219 * iExploder/README.txt: Added. 22220 * iExploder/htdocs: Added. 22221 * iExploder/htdocs/cssproperties.in: Added. 22222 * iExploder/htdocs/cssvalues.in: Added. 22223 * iExploder/htdocs/htmlattrs.in: Added. 22224 * iExploder/htdocs/htmltags.in: Added. 22225 * iExploder/htdocs/htmlvalues.in: Added. 22226 * iExploder/htdocs/iexploder.cgi: Added. 22227 * iExploder/htdocs/index.html: Added. 22228 * iExploder/tools: Added. 22229 * iExploder/tools/lasthit.rb: Added. 22230 * iExploder/tools/osx_last_crash.rb: Added. 22231 22232 2006-04-16 Alexey Proskuryakov <ap (a] nypop.com> 22233 22234 Reviewed by Darin Adler. 22235 22236 - fix http://bugs.webkit.org/show_bug.cgi?id=8412 22237 Restore color profile after a crash 22238 22239 * DumpRenderTree/DumpRenderTree.m: 22240 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate 22241 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because 22242 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash, 22243 and this code may change significantly. 22244 22245 (main): Install crashHandler. 22246 22247 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer 22248 (CFStringGetCStringPtr should NEVER EVER be used!). 22249 22250 2006-04-15 Darin Adler <darin (a] apple.com> 22251 22252 Reviewed by Eric. 22253 22254 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here. 22255 Seems xmlsoft.org's HTTP no longer has what we need. 22256 22257 2006-04-13 Mark Rowe <opendarwin.org (a] bdash.net.nz> 22258 22259 Rubber-stamped by Darin Adler. 22260 22261 - fix http://bugs.webkit.org/show_bug.cgi?id=8348 22262 upload-disk-image stage on buildslaves fail with "No space left on device" 22263 22264 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to 22265 'hdiutil create'. This creates the initial disk image based on the size of 22266 the source folder, and copies the contents to the new disk image. The file 22267 extension on the temporary uncompressed disk image has also been altered from 22268 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when 22269 the extension is not ".dmg". 22270 22271 2006-04-12 Eric Seidel <eseidel (a] apple.com> 22272 22273 Reviewed by Tim H. 22274 22275 * Scripts/update-webkit: Make this return non-zero when svn fails. 22276 22277 2006-04-10 Alexey Proskuryakov <ap (a] nypop.com> 22278 22279 Reviewed by Darin Adler. 22280 22281 - fix http://bugs.webkit.org/show_bug.cgi?id=8157 22282 Make HTTP tests using Perl use .pl extension 22283 22284 * Scripts/run-webkit-tests: Added support for running .pl and .php tests, 22285 removed support for .text. Reduced the number of places that explicitly list supported 22286 extensions. Some of the changes come from bug 8121, the patch for which got landed only 22287 partially. 22288 22289 2006-04-06 Darin Adler <darin (a] apple.com> 22290 22291 Changes requested by Mark Rowe. 22292 22293 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change 22294 trash at the end of the file. 22295 * BuildSlaveSupport/build-launcher-dmg: Ditto. 22296 22297 * WebKitLauncher/main.m: Removed trash at end of file. 22298 22299 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments 22300 to make name match. 22301 22302 2006-04-06 Mark Rowe <opendarwin.org (a] bdash.net.nz> 22303 22304 Reviewed by Darin, landed by Maciej. 22305 22306 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher 22307 and bundles the WebKit frameworks inside it. 22308 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image 22309 containing WebKit.app. 22310 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision. 22311 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision 22312 number of the SVN working copy. 22313 * WebKitLauncher: Added. 22314 * WebKitLauncher/Info.plist: Added. 22315 * WebKitLauncher/WebKitLauncher.xcodeproj: Added. 22316 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added. 22317 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes 22318 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space 22319 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from 22320 the nightly launcher. 22321 * WebKitLauncher/main.m: Added. The WebKit.app launcher. 22322 It sets up the environment to have Safari use the bundled frameworks 22323 and load the WebKitNightlyEnabler dylib before exec'ing Safari 22324 * WebKitLauncher/start.html: Added. 22325 * WebKitLauncher/webkit.icns: Added. 22326 22327 2006-04-05 Darin Adler <darin (a] apple.com> 22328 22329 Reviewed by Maciej. 22330 22331 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that 22332 are allowed to have global initializers. 22333 22334 2006-04-05 Geoffrey Garen <ggaren (a] apple.com> 22335 22336 Reviewed by OMG BETH 22337 22338 * Scripts/run-testkjs: 22339 - pipe STDERR to /dev/null by default; new --verbose option overrides 22340 this behavior 22341 - set DYLD_FRAMEWORK_PATH to the webkit-configured path 22342 - output run command in a format that can be copied and pasted into the 22343 terminal to run manually 22344 22345 2006-04-03 Justin Garcia <justin.garcia (a] apple.com> 22346 22347 Reviewed by harrison 22348 22349 <http://bugs.webkit.org/show_bug.cgi?id=7567> 22350 A drag and drop in DumpRenderTree copies the source, instead of cutting it 22351 22352 Tell the source that the drag is over after the drag is performed, not before. 22353 22354 * DumpRenderTree/EventSendingController.m: 22355 (-[EventSendingController mouseUp]): 22356 22357 2006-04-01 Darin Adler <darin (a] apple.com> 22358 22359 Reviewed by Justin. 22360 22361 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]): 22362 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if 22363 elements in that array are not strings. 22364 22365 2006-03-31 Darin Adler <darin (a] apple.com> 22366 22367 Reviewed by John Sullivan. 22368 22369 - added a "--reset-results" option to run-webkit-tests so you can reset 22370 the results without first deleting expected results 22371 - <rdar://problem/4185878> add scroll position to dumpRenderTree 22372 22373 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence 22374 more logical. Moved all the subroutines to the end of the file. Added a 22375 "--force" option. 22376 22377 * DumpRenderTree/DumpRenderTree.m: 22378 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests 22379 to generate new output for all tests it runs. 22380 (dump): Dump the scroll position if it's non-zero. Always dump the image when 22381 the --dump-all-pixels option is passed. Also tightened up the image dumping 22382 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState] 22383 with code to save and restore the context. 22384 22385 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void). 22386 * DumpRenderTree/EventSendingController.m: Added now-needed include. 22387 22388 2006-03-30 Tim Omernick <timo (a] apple.com> 22389 22390 * DumpRenderTree/ObjCPlugin.h: 22391 Fixed copyright. 22392 * DumpRenderTree/ObjCPlugin.m: ditto 22393 * DumpRenderTree/ObjCPluginFunction.h: ditto 22394 * DumpRenderTree/ObjCPluginFunction.m: ditto 22395 22396 2006-03-30 Tim Omernick <timo (a] apple.com> 22397 22398 Reviewed by Geoff. 22399 22400 * DumpRenderTree/DumpRenderTree.m: 22401 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): 22402 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates 22403 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method 22404 exposed to JS as a callable object. 22405 22406 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 22407 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm]. 22408 22409 * DumpRenderTree/ObjCPlugin.h: Added. 22410 * DumpRenderTree/ObjCPlugin.m: Added. 22411 * DumpRenderTree/ObjCPluginFunction.h: Added. 22412 * DumpRenderTree/ObjCPluginFunction.m: Added. 22413 22414 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 22415 Added a new method, "removeDefaultMethod", which removes the default method from the 22416 plugin object's class. The effect is that the plugin object is mutated from a callable 22417 function to a simple object. 22418 (pluginInvoke): 22419 Handle "removeDefaultMethod". 22420 (pluginInvokeDefault): 22421 Made the default method actually do something (return 1). 22422 22423 2006-03-30 Eric Seidel <eseidel (a] apple.com> 22424 22425 Reviewed by ggaren. 22426 22427 Remove WebFrame::viewImpl(), setMainFrame on page. 22428 22429 * Spinneret/Spinneret/WebFrame.cpp: 22430 (WebKit::WebFrame::WebFrame): 22431 * Spinneret/Spinneret/WebFrame.h: 22432 * Spinneret/Spinneret/WebView.cpp: 22433 (WebKit::WebView::mouseMoved): 22434 (WebKit::WebView::mouseDown): 22435 (WebKit::WebView::mouseUp): 22436 (WebKit::WebView::mouseDoubleClick): 22437 (WebKit::WebViewWndProc): 22438 22439 2006-03-30 Eric Seidel <eseidel (a] apple.com> 22440 22441 Reviewed by hyatt. 22442 22443 Fix html editing input & basic form submission. 22444 22445 * Spinneret/Spinneret/WebFrame.cpp: 22446 (WebKit::WebFrame::submitForm): 22447 (WebKit::WebFrame::loadURL): 22448 * Spinneret/Spinneret/WebFrame.h: 22449 * Spinneret/Spinneret/WebView.cpp: 22450 (WebKit::WebView::keyPress): 22451 (WebKit::WebViewWndProc): 22452 22453 2006-03-28 Justin Garcia <justin.garcia (a] apple.com> 22454 22455 Reviewed by darin 22456 22457 <rdar://problem/4402375> 22458 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images 22459 22460 Added an option to draw the selectionRect. 22461 22462 * DumpRenderTree/DumpRenderTree.m: 22463 (dump): 22464 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 22465 (-[LayoutTestController dumpSelectionRect]): 22466 (dumpRenderTree): 22467 22468 2006-03-29 Darin Adler <darin (a] apple.com> 22469 22470 Reviewed by Tim Hatcher. 22471 22472 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2) 22473 22474 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH. 22475 22476 2006-03-28 Eric Seidel <eseidel (a] apple.com> 22477 22478 Reviewed by darin. 22479 22480 * Scripts/check-for-global-initializers: remove svg exceptions. 22481 22482 2006-03-28 Timothy Hatcher <timothy (a] apple.com> 22483 22484 Reviewed by Darin Adler. 22485 22486 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change. 22487 22488 * Scripts/check-for-global-initializers: 22489 22490 2006-03-28 Timothy Hatcher <timothy (a] apple.com> 22491 22492 Build fix. Turn off uninitialized warnings for the first block of code. 22493 22494 * Scripts/check-for-global-initializers: 22495 22496 2006-03-28 Darin Adler <darin (a] apple.com> 22497 22498 Reviewed by Geoff. 22499 22500 * Scripts/check-for-global-initializers: Added. 22501 22502 2006-03-24 Mitz Pettel <opendarwin.org (a] mitzpettel.com> 22503 22504 Reviewed by darin. Landed by eseidel. 22505 22506 - http://bugs.webkit.org/show_bug.cgi?id=7947 22507 Add repaint testing support to run-webkit-tests 22508 22509 * DumpRenderTree/DumpRenderTree.m: 22510 (main): Added --repaint and --horizontal-sweep options. 22511 (dump): Repaint line-by-line or column-by-column when the appropriate option 22512 is selected. 22513 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint() 22514 and repaintSweepHorizontally() methods to layoutTestController. 22515 (-[LayoutTestController testRepaint]): 22516 (-[LayoutTestController repaintSweepHorizontally]): 22517 (dumpRenderTree): 22518 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options 22519 to force these settings on tests that do not ask for them. 22520 22521 2006-03-24 Eric Seidel <eseidel (a] apple.com> 22522 22523 Reviewed by mjs. 22524 22525 Build fix. 22526 22527 * Spinneret/Spinneret/WebFrame.cpp: 22528 (WebKit::WebFrame::openURL): replace QString with DeprecatedString 22529 22530 2006-03-21 Beth Dakin <bdakin (a] apple.com> 22531 22532 Reviewed by Maciej 22533 22534 Add support for keyDown() to DumpRenderTree. 22535 22536 * DumpRenderTree/DumpRenderTree.m: 22537 (main): Set the preference for tabbing to links. 22538 * DumpRenderTree/EventSendingController.m: 22539 (+[EventSendingController isSelectorExcludedFromWebScript:]): 22540 (+[EventSendingController webScriptNameForSelector:]): 22541 (-[EventSendingController keyDown:withModifiers:]): 22542 22543 2006-03-20 Eric Seidel <eseidel (a] apple.com> 22544 22545 Reviewed by hyatt. 22546 22547 Fix win32 build. 22548 22549 * Spinneret/Spinneret/Spinneret.vcproj: 22550 * Spinneret/Spinneret/WebFrame.h: 22551 * Spinneret/Spinneret/WebView.cpp: 22552 (WebKit::WebView::mouseMoved): 22553 (WebKit::WebView::mouseDown): 22554 (WebKit::WebView::mouseUp): 22555 (WebKit::WebView::mouseDoubleClick): 22556 (WebKit::WebView::keyPress): 22557 (WebKit::WebViewWndProc): 22558 22559 2006-03-19 Darin Adler <darin (a] apple.com> 22560 22561 Reviewed by Anders. 22562 22563 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that 22564 we can test it in layout tests. We don't really need tests that run with 22565 pop-up blocking off at the moment. If we do some day, we can add some 22566 API for turning it off in the layout test controller. 22567 22568 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more, 22569 don't ignore the leak; it should no longer show up. 22570 22571 2006-03-17 Anders Carlsson <andersca (a] mac.com> 22572 22573 Reviewed by Eric. 22574 22575 * Scripts/install-win-extras: 22576 Fetch "Program Files" location from the environment. 22577 22578 2006-03-17 Eric Seidel <eseidel (a] apple.com> 22579 22580 Reviewed by ggaren. 22581 22582 Fix Spinneret to pass Events as const & not as pointers. 22583 22584 * Spinneret/Spinneret/WebView.cpp: 22585 (WebKit::WebView::mouseMoved): 22586 (WebKit::WebView::mouseDown): 22587 (WebKit::WebView::mouseUp): 22588 (WebKit::WebView::mouseDoubleClick): 22589 (WebKit::WebView::keyPress): 22590 22591 2006-03-17 Eric Seidel <eseidel (a] apple.com> 22592 22593 Reviewed by justing. 22594 22595 Add support for basic HTML editing. 22596 22597 * Spinneret/Spinneret/WebView.cpp: 22598 (WebKit::WebView::WebView): 22599 (WebKit::WebView::keyPress): 22600 22601 2006-03-17 Eric Seidel <eseidel (a] apple.com> 22602 22603 Rubber-stamped by ggaren. 22604 22605 Break DumpRenderTree.m up into several files to make the code more readable. 22606 22607 * DumpRenderTree/DumpRenderTree.h: Added. 22608 * DumpRenderTree/DumpRenderTree.m: 22609 (doneLoading): new accessor function for "done" global. 22610 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 22611 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added. 22612 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added. 22613 * DumpRenderTree/EditingDelegate.h: Added. 22614 * DumpRenderTree/EditingDelegate.m: Added. 22615 (-[EditingDelegate webViewDidChangeSelection:]): 22616 * DumpRenderTree/EventSendingController.h: Added. 22617 * DumpRenderTree/EventSendingController.m: Added. 22618 22619 2006-03-16 Eric Seidel <eseidel (a] apple.com> 22620 22621 Reviewed by darin. 22622 22623 Add resize, scroll event support. 22624 22625 * Spinneret/Spinneret/WebView.cpp: 22626 (WebKit::WebView::mouseMoved): 22627 (WebKit::WebView::mouseDown): 22628 (WebKit::WebView::mouseUp): 22629 (WebKit::WebView::mouseDoubleClick): 22630 (WebKit::WebView::keyPress): 22631 (WebKit::WebViewWndProc): 22632 * Spinneret/Spinneret/WebView.h: 22633 22634 2006-03-16 Eric Seidel <eseidel (a] apple.com> 22635 22636 Reviewed by darin. 22637 22638 Make build-webkit print correctly to stdout on windows. 22639 22640 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe 22641 22642 2006-03-15 Eric Seidel <eseidel (a] apple.com> 22643 22644 Reviewed by mjs. 22645 22646 Fix eventSender.mouseClick() to update lastClick timestamp. 22647 22648 * DumpRenderTree/DumpRenderTree.m: 22649 (-[EventSendingController mouseClick]): 22650 22651 2006-03-15 Darin Adler <darin (a] apple.com> 22652 22653 Reviewed by Maciej. 22654 22655 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path 22656 that had a lowercase "i" in it so this builds on case-sensitive 22657 file systems. 22658 22659 2006-03-15 Geoffrey Garen <ggaren (a] apple.com> 22660 22661 Reviewed by Eric. 22662 22663 Added run-testkjs and compare-timing-files scripts, to support super 22664 accurate JS iBench. 22665 22666 * Scripts/compare-timing-files: Added. 22667 * Scripts/run-testkjs: Added. 22668 22669 2006-03-14 Eric Seidel <eseidel (a] apple.com> 22670 22671 Reviewed by mjs. 22672 22673 Make the URL bar relinquish focus on page load. 22674 22675 * Spinneret/Spinneret/Spinneret.cpp: 22676 (MyEditProc): 22677 22678 2006-03-14 Eric Seidel <eseidel (a] apple.com> 22679 22680 Reviewed by mjs. 22681 22682 Fix WebView to allow KeyFocus. 22683 Add handling of space and shift-space for scrolling. 22684 22685 * Spinneret/Spinneret/WebView.cpp: 22686 (WebKit::scrollMessageForKey): 22687 (WebKit::WebViewWndProc): 22688 22689 2006-03-10 Eric Seidel <eseidel (a] apple.com> 22690 22691 Reviewed by hyatt. 22692 22693 Add scrolling support into Spinneret. 22694 22695 * Spinneret/Spinneret/WebFrame.cpp: 22696 (WebKit::WebFrame::paint): 22697 * Spinneret/Spinneret/WebView.cpp: 22698 (WebKit::WebView::createWebView): 22699 (WebKit::calculateScrollDelta): 22700 (WebKit::scrollMessageForKey): 22701 (WebKit::WebViewWndProc): 22702 22703 2006-03-13 Eric Seidel <eseidel (a] apple.com> 22704 22705 Reviewed by mjs. 22706 22707 Fix checksum generation on Intel machines. 22708 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly 22709 give a small speed boost now that it uses a shared buffer. 22710 22711 * DumpRenderTree/DumpRenderTree.m: 22712 (main): 22713 (dump): 22714 (md5HashStringForBitmap): 22715 * DumpRenderTree/ImageDiff.m: 22716 (computePercentageDifferent): 22717 22718 2006-03-13 Darin Adler <darin (a] apple.com> 22719 22720 Reviewed by Tim Hatcher. 22721 22722 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that 22723 have it named httpd-1.3 instead. 22724 22725 2006-03-13 Alexey Proskuryakov <ap (a] nypop.com> 22726 22727 Fix proposed by Mitz Pettel, reviewed by Darin Adler. 22728 22729 - fix http://bugs.webkit.org/show_bug.cgi?id=7718 22730 run-webkit-tests fast/dom/HTMLObjectElement/ hangs 22731 22732 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs 22733 (sequences of slashes are equivalent to a single slash in POSIX paths, but not 22734 in URLs). 22735 22736 2006-03-09 Darin Adler <darin (a] apple.com> 22737 22738 Reviewed by John Sullivan. 22739 22740 - fix http://bugs.webkit.org/show_bug.cgi?id=7681 22741 memory leak in the plug-in tests 22742 22743 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: 22744 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix. 22745 (NPP_SetWindow): Remove unneeded code to store the window pointer. 22746 22747 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 22748 Moved the browser global in here since it's declared in this file's header. 22749 Changed the code to set up the pluginClass structure to not use function 22750 pointer casts. Those are dangerous because they can hide many types of mismatch. 22751 And indeed when I did this I discovered that many functions were missing their 22752 boolean return values or had parameter declarations with the wrong types. 22753 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and 22754 clarity. Added boolean return value: return true when successful and false when not. 22755 (pluginSetProperty): Added boolean return value, return false since we have no 22756 properties we can set. 22757 (pluginInvoke): Added boolean return value. Return true when successful and false 22758 when not. Use NPVARIANT macros where appropriate. Added a missing release for the 22759 return value from calling the browser. Changed code to put the strings in malloc 22760 buffers instead of relying on GCC's extension that allows variable-sized arrays 22761 on the stack. 22762 (pluginInvokeDefault): Added boolean return value, return false since we have no 22763 default function to call. 22764 (pluginInvalidate): Added missing parameter. Removed comment. 22765 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have 22766 to cast the result of malloc. 22767 (pluginDeallocate): Removed uneeded cast. 22768 22769 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded 22770 includes. Changed our PluginObject to use NPObject instead of re-declaring fields 22771 that match NPObject's fields. Removed unused NPWindow pointer. 22772 22773 2006-03-09 Mitz Pettel <opendarwin.org (a] mitzpettel.com> 22774 22775 Test: fast/events/event-sender-mouse-click.html 22776 22777 Reviewed by Darin Adler. 22778 22779 - fix http://bugs.webkit.org/show_bug.cgi?id=7583 22780 DRT hangs when doing eventSender.mouseDown on native widgets 22781 22782 * DumpRenderTree/DumpRenderTree.m: 22783 (+[EventSendingController isSelectorExcludedFromWebScript:]): 22784 (-[EventSendingController mouseClick]): Simulates a click in a native 22785 widget by queueing a mouseUp before sending the mouseDown, so that 22786 the widget's mouse tracking event loop doesn't hang indefinitely. 22787 22788 2006-03-09 Maciej Stachowiak <mjs (a] apple.com> 22789 22790 Reviewed by Eric. 22791 22792 - make link clicks work by handling link click requests 22793 from WebCore 22794 22795 * Spinneret/Spinneret/Spinneret.cpp: 22796 (updateLocationBar): 22797 * Spinneret/Spinneret/Spinneret.h: 22798 * Spinneret/Spinneret/WebFrame.cpp: 22799 (WebKit::WebFrame::WebFrame): 22800 (WebKit::WebFrame::openURL): 22801 (WebKit::WebFrame::loadURL): 22802 * Spinneret/Spinneret/WebFrame.h: 22803 22804 2006-03-08 Eric Seidel <eseidel (a] apple.com> 22805 22806 Reviewed by mjs. 22807 22808 Focus URL bar on Spinneret launch, remove border from WebView. 22809 Stop WebFrame from deleting the job (prevent crash). 22810 22811 * Spinneret/Spinneret/Spinneret.cpp: 22812 (_tWinMain): 22813 * Spinneret/Spinneret/WebFrame.cpp: 22814 (WebKit::WebFrame::receivedAllData): 22815 (WebKit::WebFrame::paint): 22816 * Spinneret/Spinneret/WebView.cpp: 22817 (WebKit::WebView::createWebView): 22818 22819 2006-03-09 Alexey Proskuryakov <ap (a] nypop.com> 22820 22821 Reviewed by Darin Adler. 22822 22823 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: 22824 (pluginInvoke): Added a method to test getURL. 22825 22826 2006-03-08 Maciej Stachowiak <mjs (a] apple.com> 22827 22828 Reviewed by Eric. 22829 22830 - load URLs, not file paths, in Spinneret 22831 22832 * Spinneret/Spinneret/Spinneret.cpp: 22833 (MyEditProc): 22834 * Spinneret/Spinneret/Spinneret.vcproj: 22835 * Spinneret/Spinneret/WebFrame.cpp: 22836 (WebKit::WebFrame::loadURL): 22837 (WebKit::WebFrame::receivedData): 22838 (WebKit::WebFrame::receivedAllData): 22839 * Spinneret/Spinneret/WebFrame.h: 22840 * Spinneret/Spinneret/WebView.cpp: 22841 (WebKit::WebView::WebView): 22842 22843 2006-03-08 Darin Adler <darin (a] apple.com> 22844 22845 Reviewed by Eric. 22846 22847 - fixed AppleScript layout test results to not be endian-dependent 22848 (Hyatt complained to me about this one) 22849 22850 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]): 22851 Added specific code for dumping LongDateTime, instead of dumping the raw bytes 22852 (which are endian-dependent). 22853 22854 2006-03-07 Darin Adler <darin (a] apple.com> 22855 22856 Reviewed by Anders. 22857 22858 - fix http://bugs.webkit.org/show_bug.cgi?id=7655 22859 unwanted output while running layout tests 22860 22861 * DumpRenderTree/DumpRenderTree.m: 22862 (checkedMalloc): Added. 22863 (checkedRealloc): Added. 22864 (makeLargeMallocFailSilently): Added. 22865 (main): Call makeLargeMallocFailSilently. 22866 22867 2006-03-06 Darin Adler <darin (a] apple.com> 22868 22869 * Scripts/do-webcore-rename: Add some more planned renaming. 22870 22871 2006-03-06 Eric Seidel <eseidel (a] apple.com> 22872 22873 Reviewed by hyatt. 22874 22875 * Spinneret/Spinneret/WebFrame.cpp: 22876 (WebKit::WebFrame::paint): force layout before painting 22877 22878 2006-03-06 Justin Garcia <justin.garcia (a] apple.com> 22879 22880 Reviewed by darin 22881 22882 Sent the windowNumber when sending events. 22883 Added leapForward so that we don't have to spend time waiting 22884 in layout tests that do mouse operations that require delays. 22885 22886 * DumpRenderTree/DumpRenderTree.m: 22887 (+[EventSendingController isSelectorExcludedFromWebScript:]): 22888 (+[EventSendingController webScriptNameForSelector:]): 22889 (-[EventSendingController currentEventTime]): 22890 (-[EventSendingController leapForward:]): 22891 (-[EventSendingController mouseDown]): 22892 (-[EventSendingController mouseUp]): 22893 (-[EventSendingController mouseMoveToX:Y:]): 22894 22895 2006-03-05 Darin Adler <darin (a] apple.com> 22896 22897 * Scripts/do-webcore-rename: Fix a couple of things found while testing. 22898 Script now works (after landing my two pending patches). 22899 22900 2006-03-05 Darin Adler <darin (a] apple.com> 22901 22902 - check in a script to do a "big" rename in WebCore 22903 (can be run whenever we're ready to do it) 22904 22905 * Scripts/do-webcore-rename: Added. 22906 22907 2006-03-05 Maciej Stachowiak <mjs (a] apple.com> 22908 22909 Reviewed by Eric. 22910 22911 * Spinneret/Spinneret/WebFrame.cpp: 22912 (WebKit::WebFrame::loadFilePath): Close file when done. 22913 22914 2006-03-05 Mitz Pettel <opendarwin.org (a] mitzpettel.com> 22915 22916 Reviewed by Darin, landed by ap. 22917 22918 - fix http://bugs.webkit.org/show_bug.cgi?id=7589 22919 Mouse moved events do not work in DumpRenderTree 22920 22921 Test: fast/events/event-sender-mouse-moved.html 22922 22923 * DumpRenderTree/DumpRenderTree.m: 22924 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event. 22925 22926 2006-03-04 Eric Seidel <eseidel (a] apple.com> 22927 22928 Reviewed by hyatt. 22929 22930 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing. 22931 Disable background erase to avoid tearing. 22932 Fix potential memory smasher from extra long urls. 22933 22934 * Spinneret/Spinneret/Spinneret.cpp: 22935 (MyRegisterClass): 22936 * Spinneret/Spinneret/Spinneret.vcproj: 22937 * Spinneret/Spinneret/WebFrame.cpp: 22938 (WebKit::WebFrame::loadFilePath): 22939 (WebKit::WebFrame::paint): 22940 * Spinneret/Spinneret/WebView.cpp: 22941 (WebKit::registerWebViewWithInstance): 22942 22943 2006-03-04 Eric Seidel <eseidel (a] apple.com> 22944 22945 Reviewed by ggaren. 22946 22947 Hang WebView pointer off of HWND (gets rid of global hack). 22948 Remove MessageBox displayed on url change. 22949 22950 * Spinneret/Spinneret/Spinneret.cpp: 22951 (WndProc): 22952 (MyEditProc): 22953 * Spinneret/Spinneret/WebView.cpp: 22954 (WebKit::registerWebViewWithInstance): 22955 (WebKit::WebView::createWebView): 22956 (WebKit::WebViewWndProc): 22957 22958 2006-03-04 Alexey Proskuryakov <ap (a] nypop.com> 22959 22960 Reviewed by Eric. 22961 22962 Automatically kill httpd if it appears to be already running. 22963 22964 * Scripts/run-webkit-tests: 22965 22966 2006-03-04 Maciej Stachowiak <mjs (a] apple.com> 22967 22968 Reviewed by Eric. 22969 22970 * Spinneret/Spinneret/WebFrame.cpp: 22971 (WebKit::WebFrame::loadFilePath): Improved local file loading. 22972 22973 2006-03-03 Eric Seidel <eseidel (a] apple.com> 22974 22975 Reviewed by hyatt. 22976 22977 A few more fixes to make run-webkit-tests really work on win32. 22978 22979 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 22980 (localFileTest): 22981 * Scripts/run-webkit-tests: 22982 22983 2006-03-03 Eric Seidel <eseidel (a] apple.com> 22984 22985 Reviewed by darin. 22986 22987 Make run-webkit-tests work on win32. 22988 22989 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 22990 (localFileTest): 22991 (dumpRenderTreeMain): 22992 (dumpRenderTreeToStdOut): 22993 (serializeToStdOut): 22994 (main): 22995 * Scripts/run-webkit-tests: 22996 * Scripts/webkitdirs.pm: 22997 * Spinneret/Spinneret/WebView.cpp: 22998 (WebKit::WebView::WebView): 22999 23000 2006-03-03 Eric Seidel <eseidel (a] apple.com> 23001 23002 Reviewed by mjs. 23003 23004 Add WebFrame class (to hold Frame and FrameView). 23005 Add Location bar support to Spinneret. 23006 23007 * Spinneret/Spinneret/Spinneret.cpp: 23008 (resizeSubViews): 23009 (_tWinMain): 23010 (WndProc): 23011 (MyEditProc): 23012 * Spinneret/Spinneret/Spinneret.vcproj: 23013 * Spinneret/Spinneret/WebFrame.cpp: Added. 23014 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate): 23015 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate): 23016 (WebKit::WebFrame::WebFrame): 23017 (WebKit::WebFrame::loadFilePath): 23018 (WebKit::WebFrame::loadHTMLString): 23019 (WebKit::WebFrame::paint): 23020 (WebKit::WebFrame::impl): 23021 (WebKit::WebFrame::viewImpl): 23022 * Spinneret/Spinneret/WebFrame.h: Added. 23023 * Spinneret/Spinneret/WebView.cpp: 23024 (WebKit::WebView::WebViewPrivate::~WebViewPrivate): 23025 (WebKit::WebView::WebView): 23026 (WebKit::WebView::windowHandle): 23027 (WebKit::WebView::mainFrame): 23028 (WebKit::WebView::mouseMoved): 23029 (WebKit::WebView::mouseDown): 23030 (WebKit::WebView::mouseUp): 23031 (WebKit::WebView::mouseDoubleClick): 23032 (WebKit::WebViewWndProc): 23033 * Spinneret/Spinneret/WebView.h: 23034 23035 2006-03-02 Eric Seidel <eseidel (a] apple.com> 23036 23037 Reviewed by ggaren. 23038 23039 * Spinneret/Spinneret/WebView.cpp: 23040 (WebKit::registerWebViewWithInstance): 23041 (WebKit::WebView::WebView): 23042 (WebKit::WebView::mouseMoved): 23043 (WebKit::WebView::mouseDown): 23044 (WebKit::WebView::mouseUp): 23045 (WebKit::WebView::mouseDoubleClick): 23046 (WebKit::WebViewWndProc): 23047 * Spinneret/Spinneret/WebView.h: 23048 23049 2006-03-01 Eric Seidel <eseidel (a] apple.com> 23050 23051 Reviewed by andersca. 23052 23053 Make spinneret take advantage of the new GraphicsContextCairo. 23054 23055 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 23056 (main): updated to match style guidelines. 23057 * Spinneret/Spinneret/Spinneret.cpp: 23058 (_tWinMain): 23059 * Spinneret/Spinneret/WebView.cpp: 23060 (WebKit::registerWebViewWithInstance): 23061 (WebKit::WebView::WebView): 23062 (WebKit::WebView::~WebView): 23063 (WebKit::WebView::drawRect): 23064 (WebKit::WndProc): 23065 * Spinneret/Spinneret/WebView.h: 23066 23067 2006-03-01 Justin Garcia <justin.garcia (a] apple.com> 23068 23069 Reviewed by darin 23070 23071 Give the events that eventSender sends a unique eventNumber 23072 23073 * DumpRenderTree/DumpRenderTree.m: 23074 (-[EventSendingController mouseDown]): 23075 (-[EventSendingController mouseUp]): 23076 (-[EventSendingController mouseMoveToX:Y:]): 23077 23078 2006-03-01 Eric Seidel <eseidel (a] apple.com> 23079 23080 Reviewed by hyatt. 23081 23082 Add a stub win32 application to test WebCore drawing on windows. 23083 23084 * Spinneret: Added. 23085 * Spinneret/Spinneret: Added. 23086 * Spinneret/Spinneret.sln: Added. 23087 * Spinneret/Spinneret/Resource.h: Added. 23088 * Spinneret/Spinneret/Spinneret.cpp: Added. 23089 (_tWinMain): 23090 (MyRegisterClass): 23091 (InitInstance): 23092 (WndProc): 23093 (About): 23094 * Spinneret/Spinneret/Spinneret.h: Added. 23095 * Spinneret/Spinneret/Spinneret.ico: Added. 23096 * Spinneret/Spinneret/Spinneret.rc: Added. 23097 * Spinneret/Spinneret/Spinneret.vcproj: Added. 23098 * Spinneret/Spinneret/WebView.cpp: Added. 23099 (WebKit::WebView::WebViewPrivate::WebViewPrivate): 23100 (WebKit::WebView::WebViewPrivate::~WebViewPrivate): 23101 (WebKit::registerWebViewWithInstance): 23102 (WebKit::WebView::createWebView): 23103 (WebKit::WebView::WebView): 23104 (WebKit::WebView::~WebView): 23105 (WebKit::WebView::drawRect): 23106 (WebKit::WebView::windowHandle): 23107 (WebKit::WndProc): 23108 * Spinneret/Spinneret/WebView.h: Added. 23109 * Spinneret/Spinneret/small.ico: Added. 23110 * Spinneret/Spinneret/stdafx.cpp: Added. 23111 * Spinneret/Spinneret/stdafx.h: Added. 23112 23113 2006-02-28 Eric Seidel <eseidel (a] apple.com> 23114 23115 Reviewed by mjs. 23116 23117 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 23118 (main): add ability to dump render tree and read from a local file. 23119 23120 2006-02-27 Eric Seidel <eseidel (a] apple.com> 23121 23122 Reviewed by darin. 23123 23124 * Scripts/install-win-extras: fix dll permissions & download zlib too. 23125 23126 2006-02-27 Eric Seidel <eseidel (a] apple.com> 23127 23128 Reviewed by ggaren. 23129 23130 Test new KConfig -> PlugInInfoStore change. 23131 http://bugs.webkit.org/show_bug.cgi?id=7498 23132 23133 * DumpRenderTree/DumpRenderTree.m: 23134 (main): load test netscape plugin 23135 * Scripts/run-webkit-tests: style update 23136 23137 2006-02-24 Eric Seidel <eseidel (a] apple.com> 23138 23139 Reviewed by mjs. 23140 23141 Make DumpRenderTree link against icu. 23142 23143 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: 23144 23145 2006-02-24 Eric Seidel <eseidel (a] apple.com> 23146 23147 Reviewed by mjs. 23148 23149 Make DumpRenderTree link against libxml, etc. 23150 23151 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: 23152 23153 2006-02-24 Mitz Pettel <opendarwin.org (a] mitzpettel.com> 23154 23155 Reviewed and landed by Anders. 23156 23157 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was 23158 getting called from the run loop, making the view render each test and thus slowing 23159 down the tests. 23160 23161 * DumpRenderTree/DumpRenderTree.m: 23162 (main): Set the offscreen window to not autodisplay. 23163 23164 2006-02-23 Alexey Proskuryakov <ap (a] nypop.com> 23165 23166 Reviewed by Darin Adler. 23167 23168 - Turn http tests back on by default. 23169 - Wait for Apache to actually start serving requests. 23170 - Get user id from a built-in variable rather than an external command; 23171 don't pass the group. 23172 23173 * Scripts/run-webkit-tests: 23174 23175 2006-02-23 Alexey Proskuryakov <ap (a] nypop.com> 23176 23177 Suggested by Mitz Pettel, reviewed by Darin Adler. 23178 23179 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache 23180 can run CGIs even if the permissions are 700 or 600. 23181 23182 2006-02-23 Darin Adler <darin (a] apple.com> 23183 23184 Collaborating with Alexey. 23185 23186 - turn off http tests by default until we figure out how to get them 23187 to run even when permissions on CGI files are 700 instead of 755 23188 23189 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now. 23190 23191 2006-02-23 Eric Seidel <eseidel (a] apple.com> 23192 23193 Add *.user to ignore list. 23194 23195 2006-02-23 Eric Seidel <eseidel (a] apple.com> 23196 23197 Remove binary file which shouldn't have been commited (and add to ignore list). 23198 23199 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed. 23200 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed. 23201 23202 2006-02-22 Alexey Proskuryakov <ap (a] nypop.com> 23203 23204 Reviewed by Eric. 23205 23206 * Scripts/run-webkit-tests: Put Apache log files in the right directory. 23207 23208 2006-02-22 Eric Seidel <eseidel (a] apple.com> 23209 23210 Reviewed by Tim Hatcher. 23211 23212 Fix install-win-extras to not try to re-install setx if installed. 23213 23214 * Scripts/install-win-extras: 23215 23216 2006-02-22 Eric Seidel <eseidel (a] apple.com> 23217 23218 One more file possibly missing from previous commit? 23219 23220 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: 23221 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: 23222 23223 2006-02-22 Eric Seidel <eseidel (a] apple.com> 23224 23225 Reviewed by justing. 23226 23227 Files missing from previous commit. 23228 23229 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: 23230 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: 23231 23232 2006-02-22 Eric Seidel <eseidel (a] apple.com> 23233 23234 Rubber-stamped by justing. 23235 23236 Corrected path for DumpRenderTree.intermediate files 23237 23238 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: 23239 23240 2006-02-22 Eric Seidel <eseidel (a] apple.com> 23241 23242 Reviewed by justing. 23243 23244 Fixed build-dumprendertree to exit with correct error codes. 23245 23246 * Scripts/build-dumprendertree: 23247 23248 2006-02-22 Eric Seidel <eseidel (a] apple.com> 23249 23250 Reviewed by justing. 23251 23252 Update build scripts to generalize building on Win32, and allow 23253 building of DumpRenderTree on Win32 from build-dumprendertree. 23254 23255 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: 23256 (main): 23257 * Scripts/build-dumprendertree: 23258 * Scripts/build-webkit: 23259 * Scripts/webkitdirs.pm: 23260 23261 2006-02-22 Eric Seidel <eseidel (a] apple.com> 23262 23263 Reviewed by hyatt. 23264 23265 * DumpRenderTree/DumpRenderTree.vcproj: Added. 23266 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added. 23267 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added. 23268 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added. 23269 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added. 23270 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added. 23271 (_tmain): 23272 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added. 23273 * Scripts/build-webkit: make build-webkit cleanup after itself 23274 23275 2006-02-22 Alexey Proskuryakov <ap (a] nypop.com> 23276 23277 Reviewed by Darin Adler. 23278 23279 - http://bugs.webkit.org/show_bug.cgi?id=7409 23280 Some minor fixes to http tests. 23281 23282 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd. 23283 23284 2006-02-21 Alexey Proskuryakov <ap (a] nypop.com> 23285 23286 Reviewed by Darin Adler. 23287 23288 - http://bugs.webkit.org/show_bug.cgi?id=6197 23289 Would like to use locally installed Apache for testing. 23290 23291 Added two run-webkit-tests options: 23292 --http (--nohttp) - whether to launch Apache (defaults to yes); 23293 --port - which port to listen on (defaults to 8000). 23294 23295 Tests in LayoutTests/http are not run directly, and Apache is used instead. 23296 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as 23297 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html. 23298 23299 Also added support for .shtml and .text files. Text files give an empty 23300 *-expected.txt, but a correct image. 23301 23302 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit. 23303 23304 * Scripts/run-webkit-tests: 23305 23306 2006-02-21 Darin Adler <darin (a] apple.com> 23307 23308 Suggested by Mark Rowe. 23309 23310 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when 23311 reporting leak counts. 23312 23313 2006-02-18 Maciej Stachowiak <mjs (a] apple.com> 23314 23315 Reviewed by Darin Adler. 23316 23317 - Added install-win-extras script which installs some extra 23318 programs and libraries, and does Windows first-time setup. 23319 23320 * Scripts/build-webkit: Add a newline between build results. 23321 * Scripts/install-win-extras: Added. 23322 23323 2006-02-19 Alexey Proskuryakov <ap (a] nypop.com> 23324 23325 Reviewed by Darin Adler. 23326 23327 - http://bugs.webkit.org/show_bug.cgi?id=7308 23328 DumpRenderTree should be able to load files via HTTP 23329 23330 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): 23331 Handle tests starting with "http://" as real URLs, not file system paths. 23332 23333 2006-02-19 Alexey Proskuryakov <ap (a] nypop.com> 23334 23335 Reviewed by Maciej. 23336 23337 - fix http://bugs.webkit.org/show_bug.cgi?id=7357 23338 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined 23339 23340 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured. 23341 23342 2006-02-18 Darin Adler <darin (a] apple.com> 23343 23344 * Scripts/commit-log-editor: Added. 23345 23346 2006-02-17 Eric Seidel <eseidel (a] apple.com> 23347 23348 Reviewed by hyatt. 23349 23350 Make Win32 have the same default "WebKitBuild" directory behavior. 23351 23352 * Scripts/build-webkit: 23353 * Scripts/webkitdirs.pm: 23354 23355 2006-02-17 Eric Seidel <eseidel (a] apple.com> 23356 23357 Reviewed by Beth. 23358 23359 * Scripts/build-webkit: make win32 actually report errors 23360 23361 2006-02-17 Eric Seidel <eseidel (a] apple.com> 23362 23363 Reviewed by adele. 23364 23365 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks 23366 23367 2006-02-17 Eric Seidel <eseidel (a] apple.com> 23368 23369 Reviewed by adele. 23370 23371 * Scripts/run-webkit-tests: Ignore flash leaks 23372 23373 2006-02-15 Justin Garcia <justin.garcia (a] apple.com> 23374 23375 Reviewed by darin 23376 23377 <http://bugs.webkit.org/show_bug.cgi?id=7148> 23378 Add drag and drop support to DumpRenderTree 23379 23380 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo, 23381 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window. 23382 23383 * DumpRenderTree/DumpRenderTree.m: 23384 (main): 23385 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): 23386 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): 23387 (-[WaitUntilDoneDelegate webViewFocus:]): 23388 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 23389 (+[LayoutTestController webScriptNameForSelector:]): 23390 (-[LayoutTestController setWindowIsKey:]): 23391 (-[LayoutTestController setMainFrameIsFirstResponder:]): 23392 (-[EventSendingController init]): 23393 (-[EventSendingController mouseDown]): 23394 (-[EventSendingController mouseUp]): 23395 (-[EventSendingController mouseMoveToX:Y:]): 23396 (dumpRenderTree): 23397 (-[DumpRenderTreeWindow isKeyWindow]): 23398 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]): 23399 (-[DumpRenderTreeDraggingInfo dealloc]): 23400 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]): 23401 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]): 23402 (-[DumpRenderTreeDraggingInfo draggingLocation]): 23403 (-[DumpRenderTreeDraggingInfo draggedImageLocation]): 23404 (-[DumpRenderTreeDraggingInfo draggedImage]): 23405 (-[DumpRenderTreeDraggingInfo draggingPasteboard]): 23406 (-[DumpRenderTreeDraggingInfo draggingSource]): 23407 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]): 23408 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]): 23409 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]): 23410 * DumpRenderTree/TextInputController.m: 23411 (-[TextInputController firstRectForCharactersFrom:length:]): 23412 (-[TextInputController characterIndexForPointX:Y:]): 23413 23414 2006-02-15 Geoffrey Garen <ggaren (a] apple.com> 23415 23416 Reviewed by Eric. 23417 23418 * DumpRenderTree/DumpRenderTree.m: 23419 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]): 23420 Added a dummy method for the sake of LayoutTests/plugins/ 23421 undefined-property-crash.html. (It tests a crash due to fallback 23422 object use. WebCore won't create a fallback object if the method is 23423 not defined.) 23424 23425 2006-02-14 Eric Seidel <eseidel (a] apple.com> 23426 23427 Reviewed by adele. 23428 23429 * Scripts/run-webkit-tests: added --results-directory (-o) option 23430 23431 2006-02-09 Eric Seidel <eseidel (a] apple.com> 23432 23433 Rubber-stamped by mjs. 23434 23435 Renamed split-class to split-file-by-class. 23436 23437 * Scripts/build-webkit: Updated copyright. 23438 * Scripts/split-class: Removed. 23439 * Scripts/split-file-by-class: Added. 23440 23441 2006-02-08 Eric Seidel <eseidel (a] apple.com> 23442 23443 Rubber-stamped by mjs. 23444 23445 Adding new script for splitting multi-class files. 23446 Also adding supporting perl module with space removing heuristics. 23447 23448 * Scripts/SpacingHeuristics.pm: Added. 23449 * Scripts/build-drawtest: updated copyright header 23450 * Scripts/split-class: Added. 23451 23452 2006-02-08 Justin Garcia <justin.garcia (a] apple.com> 23453 23454 Reviewed by thatcher 23455 23456 Changes to test fix for: 23457 <http://bugs.webkit.org/show_bug.cgi?id=3982> 23458 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate 23459 23460 * DumpRenderTree/DumpRenderTree.m: 23461 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): 23462 (+[LayoutTestController isSelectorExcludedFromWebScript:]): 23463 (+[LayoutTestController webScriptNameForSelector:]): 23464 (-[LayoutTestController setWindowHasFocus:]): 23465 (-[LayoutTestController setDisplaysWithFocusAttributes:]): 23466 23467 2006-02-07 Alexey Proskuryakov <ap (a] nypop.com> 23468 23469 Reviewed by Timothy. 23470 23471 Support automated testing of AppleScript "do JavaScript" command 23472 http://bugs.webkit.org/show_bug.cgi?id=7012 23473 23474 * DumpRenderTree/AppleScriptController.h: Added. 23475 * DumpRenderTree/AppleScriptController.m: Added. 23476 * DumpRenderTree/DumpRenderTree.m: 23477 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): 23478 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 23479 23480 2006-02-06 Eric Seidel <eseidel (a] apple.com> 23481 23482 Reviewed by hyatt. 23483 23484 Fix build-webkit for use on win32 (unblocks buildbot usage). 23485 http://bugs.webkit.org/show_bug.cgi?id=7122 23486 23487 * Scripts/build-webkit: use ifCygwin() to conditionalize builds 23488 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin() 23489 23490 2006-02-06 Eric Seidel <eseidel (a] apple.com> 23491 23492 Rubber-stamped by darin & mjs. 23493 23494 Added new support directory for build slave scripts. 23495 Committing the first script, for use by the PLT's build slave. 23496 This script is used to kick of the PLT (Page Load Test) slave. 23497 23498 * BuildSlaveSupport: Added. 23499 * BuildSlaveSupport/run-performance-tests: Added. 23500 23501 2006-02-06 Eric Seidel <eseidel (a] apple.com> 23502 23503 Rubber-stamped by darin. 23504 23505 Adding setSourceDir for scripts stored in non-standard locations. 23506 23507 * Scripts/webkitdirs.pm: 23508 23509 2006-02-04 Darin Adler <darin (a] apple.com> 23510 23511 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old 23512 Configuration files that say Development or Deployment in them. 23513 23514 2006-02-04 Darin Adler <darin (a] apple.com> 23515 23516 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled 23517 wrapper already in the directory. 23518 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing 23519 these haven't been working at all. 23520 * Scripts/svn-unapply: Ditto. 23521 23522 2006-02-03 Timothy Hatcher <timothy (a] apple.com> 23523 23524 Reviewed by Justin. 23525 23526 Renamed configuration names to Debug, Release and Production. 23527 23528 * DrawTest/DrawTest.xcodeproj/project.pbxproj: 23529 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 23530 * Scripts/set-webkit-configuration: 23531 * Scripts/webkitdirs.pm: 23532 23533 2006-02-02 Justin Garcia <justin.garcia (a] apple.com> 23534 23535 Reviewed by thatcher 23536 23537 Enabled spell checking for layout tests. 23538 23539 * DumpRenderTree/DumpRenderTree.m: 23540 (main): 23541 23542 2006-01-29 Darin Adler <darin (a] apple.com> 23543 23544 * Scripts/svn-apply: Added comments about things we should do to improve. 23545 * Scripts/svn-create-patch: Ditto. 23546 * Scripts/svn-unapply: Ditto. 23547 23548 2006-01-28 Darin Adler <darin (a] apple.com> 23549 23550 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not 23551 already there, even if the checksum is correct. 23552 23553 2006-01-27 Eric Seidel <eseidel (a] apple.com> 23554 23555 Reviewed by adele. 23556 23557 * Scripts/run-webkit-tests: make new tests use absolute urls 23558 23559 2006-01-27 Eric Seidel <eseidel (a] apple.com> 23560 23561 Reviewed by mjs. 23562 23563 make run-webkit-tests output total leaks count 23564 23565 * Scripts/run-webkit-tests: 23566 23567 2006-01-27 Eric Seidel <eseidel (a] apple.com> 23568 23569 Reviewed by mjs. 23570 23571 run-webkit-test --leaks crashes (malloc logging runs out of memory) 23572 http://bugs.webkit.org/show_bug.cgi?id=6869 23573 23574 * Scripts/run-webkit-tests: fix --leaks to not crash 23575 23576 2006-01-26 Eric Seidel <eseidel (a] apple.com> 23577 23578 Reviewed by darin. 23579 23580 run-webkit-tests should produce a self-contained results directory 23581 http://bugs.webkit.org/show_bug.cgi?id=6864 23582 23583 * Scripts/run-webkit-tests: copy failing items to results dir. 23584 23585 2006-01-23 Darin Adler <darin (a] apple.com> 23586 23587 - fix http://bugs.webkit.org/show_bug.cgi?id=3608 23588 need script to update localizable strings file in WebKit 23589 23590 * Scripts/update-webkit-localizable-strings: Added. 23591 23592 2006-01-23 Darin Adler <darin (a] apple.com> 23593 23594 - added a couple of scripts -- more about these two soon 23595 23596 * Scripts/extract-localizable-strings: Added. 23597 * Scripts/merge-changelog: Added. 23598 23599 2006-01-22 Mark Rowe <opendarwin.org (a] bdash.net.nz> 23600 23601 Reviewed by Anders. 23602 23603 Build fix. build-webkit dies with "invalid build action: (empty string)" 23604 23605 * Scripts/build-webkit: 23606 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument. 23607 23608 2006-01-22 Eric Seidel <eseidel (a] apple.com> 23609 23610 Reviewed by anders. 23611 23612 Fix --no-svg option to use XCode flags instead of gcc flags. 23613 23614 * Scripts/build-webkit: 23615 23616 2006-01-22 Eric Seidel <eseidel (a] apple.com> 23617 23618 Reviewed by anders. 23619 23620 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target. 23621 23622 * Scripts/build-webkit: 23623 23624 2006-01-20 David Kilzer <ddkilzer (a] kilzer.net> 23625 23626 Reviewed by eseidel. 23627 23628 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682 23629 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest 23630 23631 * Scripts/build-drawtest: Changed bareword 'true' to 1. 23632 * Scripts/run-drawtest: Changed bareword 'true' to 1. 23633 23634 2006-01-19 Darin Adler <darin (a] apple.com> 23635 23636 * Scripts/report-include-statistics: Added a new script. 23637 23638 2006-01-19 Timothy Hatcher <timothy (a] apple.com> 23639 23640 * Scripts/build-webkit: include JavaScriptGlue in the build 23641 23642 2006-01-19 Darin Adler <darin (a] apple.com> 23643 23644 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has 23645 spaces in it by using the form of open that treats each argument as a string 23646 rather than backtick syntax for reading the output of the nm tool. 23647 23648 2006-01-12 Maciej Stachowiak <mjs (a] apple.com> 23649 23650 Reviewed by Darin Adler. 23651 23652 - make prepare-ChangeLog way faster by using svn diff instead of svn status to 23653 detect if there are any new tests 23654 23655 * Scripts/prepare-ChangeLog: 23656 23657 2006-01-12 Darin Adler <darin (a] apple.com> 23658 23659 - removed some of the cvs-specific scripts -- not needed for this project any more 23660 23661 * Scripts/cvs-abandon: Removed. 23662 * Scripts/cvs-apply: Removed. 23663 * Scripts/cvs-create-patch: Removed. 23664 * Scripts/cvs-unapply: Removed. 23665 23666 2006-01-10 Mark Rowe <opendarwin.org (a] bdash.net.nz> 23667 23668 Reviewed by eseidel. Committed by eseidel. 23669 23670 - run-webkit-tests always launches Safari when tests fail 23671 http://bugs.webkit.org/show_bug.cgi?id=6456 23672 23673 * Scripts/run-webkit-tests: 23674 Add a command-line flag to prevent Safari being launched to display failed 23675 tests. Always exit with non-zero status when tests have failed. 23676 23677 2006-01-10 Mark Rowe <opendarwin.org (a] bdash.net.nz> 23678 23679 Reviewed by eseidel. Committed by eseidel. 23680 23681 - build-webkit should exit with non-zero status when build fails 23682 http://bugs.webkit.org/show_bug.cgi?id=6459 23683 23684 * Scripts/build-webkit: 23685 Use correct bits of subprocess exit code when passing back through 23686 as build-webkit's exit code. 23687 23688 2006-01-10 Eric Seidel <eseidel (a] apple.com> 23689 23690 Restored corrupted nibs from TOT CVS. 23691 23692 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced. 23693 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced. 23694 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced. 23695 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced. 23696 * DrawTest/English.lproj/Inspector.nib: Replaced. 23697 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced. 23698 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced. 23699 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced. 23700 * DrawTest/English.lproj/MainMenu.nib: Replaced. 23701 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced. 23702 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced. 23703 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced. 23704 * DrawTest/English.lproj/TestViewer.nib: Replaced. 23705 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced. 23706 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced. 23707 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced. 23708 23709 2006-01-10 Nefaur Khandker <nefaurk (a] gmail.com> 23710 23711 Reviewed by eseidel. Committed by eseidel. 23712 23713 DrawTestView now subclasses WebView instead of DrawView. 23714 23715 * DrawTest/DrawTest.xcodeproj/project.pbxproj: 23716 * DrawTest/DrawTestDocument.h: 23717 * DrawTest/DrawTestDocument.m: 23718 (-[DrawTestDocument dealloc]): 23719 (-[DrawTestDocument readFromFile:ofType:]): 23720 (-[DrawTestDocument windowControllerDidLoadNib:]): 23721 (-[DrawTestDocument dumpSVGToConsole:]): 23722 (-[DrawTestDocument openSourceForSelection:]): 23723 (-[DrawTestDocument dataRepresentationOfType:]): 23724 * DrawTest/DrawTestToolbarController.h: 23725 * DrawTest/DrawTestToolbarController.m: 23726 (-[DrawTestToolbarController initWithDrawView:]): 23727 (-[DrawTestToolbarController clickedToolbarItem:]): 23728 (-[DrawTestToolbarController validateToolbarItem:]): 23729 * DrawTest/DrawTestView.h: 23730 * DrawTest/DrawTestView.m: 23731 (-[DrawTestView initWithFrame:]): 23732 (-[DrawTestView setDocument:]): 23733 * DrawTest/SVGTest.h: 23734 * DrawTest/SVGTest.m: 23735 (+[SVGTest sharedDrawView]): 23736 (-[SVGTest generateCompositeIfNecessary]): 23737 * DrawTest/TestController.h: 23738 * DrawTest/TestController.m: 23739 (-[TestController awakeFromNib]): 23740 (-[TestController setSelectedTest:]): 23741 (-[TestController openTestViewerForSelection:]): 23742 (-[TestController toggleViewersScaleRule:]): 23743 * DrawTest/TestViewerSplitView.m: 23744 (-[TestViewerSplitView drawRect:]): 23745 23746 2006-01-10 Anders Carlsson <andersca (a] mac.com> 23747 23748 Reviewed by Timothy. 23749 23750 * DumpRenderTree/DumpRenderTree.m: 23751 (main): Set the default language to "en", so language tests will work. 23752 23753 2006-01-08 Maciej Stachowiak <mjs (a] apple.com> 23754 23755 Reviewed by Eric. 23756 23757 - script to generate HTML wrappers for JS tests 23758 http://bugs.webkit.org/show_bug.cgi?id=6441 23759 23760 * Scripts/make-js-test-wrappers: Added. 23761 23762 2006-01-08 Maciej Stachowiak <mjs (a] apple.com> 23763 23764 Reviewed by Eric. 23765 23766 * Scripts/svn-create-patch: Fix to work when passed directory names. 23767 23768 2006-01-08 Geoffrey Garen <ggaren (a] apple.com> 23769 23770 Reviewed by Eric. 23771 23772 - Added back/forward navigation support to DumpRenderTree. Hopefully we 23773 can start writing automated loader tests now. I have one in the works. 23774 23775 * DumpRenderTree/DumpRenderTree.m: 23776 (main): Construct global navigationController on entry, destroy on exit. 23777 Set frame to nil on exit too, to match all the other global objects. 23778 (Probably academic, since the process is exiting, anyway.) 23779 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the 23780 navigationController, in case it wants to kick off a load. 23781 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose 23782 the navigationController to scripting. 23783 23784 New class, should be straightforward: 23785 23786 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 23787 * DumpRenderTree/NavigationController.h: Added. 23788 * DumpRenderTree/NavigationController.m: Added. 23789 23790 (+[NavigationController isSelectorExcludedFromWebScript:]): 23791 (+[NavigationController webScriptNameForSelector:]): 23792 (-[NavigationController setPendingScript:]): 23793 (-[NavigationController setPendingRequest:]): 23794 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]): 23795 (-[NavigationController webView:didFinishLoadForFrame:]): 23796 (-[NavigationController dealloc]): 23797 23798 2006-01-08 Timothy Hatcher <timothy (a] apple.com> 23799 23800 Removed this script, no longer needs with the Subversion switch. 23801 23802 * checkout: Removed. 23803 23804 2006-01-08 Timothy Hatcher <timothy (a] apple.com> 23805 23806 Removes some stray tabs. 23807 23808 * Scripts/update-webkit: 23809 23810 2005-01-07 Eric Seidel <eseidel (a] apple.com> 23811 23812 Reviewed by darin. 23813 23814 build-webkit should pass on build arguments from command line 23815 http://bugs.webkit.org/show_bug.cgi?id=5854 23816 23817 * Scripts/build-webkit: 23818 23819 2006-01-07 Eric Seidel <eseidel (a] apple.com> 23820 23821 Reviewed by mjs & xenon. 23822 23823 * Scripts/update-webkit: support Internal updates as well 23824 23825 2006-01-06 Geoffrey Garen <ggaren (a] apple.com> 23826 23827 Temporarily rolling out plugin support from DumpRenderTree because it 23828 caused lots of layout test regressions. 23829 23830 * DumpRenderTree/DumpRenderTree.m: 23831 (main): Remove invisible window added to support plugins. 23832 23833 2006-01-06 Geoffrey Garen <ggaren (a] apple.com> 23834 23835 Reviewed by darin. 23836 23837 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361 23838 Add plugin support to DumpRenderTree 23839 23840 Also wrote first test plugin. 23841 23842 * DumpRenderTree/DumpRenderTree.m: 23843 (main): 23844 (1) Put the WebView in an invisible window, because PlugIns are 23845 optimized not to load if there's no parent window. 23846 (2) Tell WebKit to load any PlugIns in the directory from which we 23847 loaded. This means we can build nasty PlugIns alongside DumpRenderTree 23848 and they'll load automagically during layout testing, but they won't be 23849 added to the user's system, hosing apps like Safari. 23850 23851 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new 23852 test PlugIn to project. 23853 23854 PlugIn added to project: 23855 23856 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added. 23857 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added. 23858 (getPluginClass): 23859 (initializeIdentifiers): 23860 (pluginHasProperty): 23861 (pluginHasMethod): 23862 (pluginGetProperty): 23863 (pluginSetProperty): 23864 (pluginInvoke): 23865 (pluginInvokeDefault): 23866 (pluginInvalidate): 23867 (pluginAllocate): 23868 (pluginDeallocate): 23869 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added. 23870 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added. 23871 (NP_Initialize): 23872 (NP_GetEntryPoints): 23873 (NP_Shutdown): 23874 (NPP_New): 23875 (NPP_Destroy): 23876 (NPP_SetWindow): 23877 (NPP_NewStream): 23878 (NPP_DestroyStream): 23879 (NPP_WriteReady): 23880 (NPP_Write): 23881 (NPP_StreamAsFile): 23882 (NPP_Print): 23883 (NPP_HandleEvent): 23884 (NPP_URLNotify): 23885 (NPP_GetValue): 23886 (NPP_SetValue): 23887 23888 2006-01-04 Timothy Hatcher <timothy (a] apple.com> 23889 23890 Reviewed by Darin Adler. 23891 Created by Eric. 23892 Tweaked and tested by me. 23893 23894 New scripts to work with Subversion when the switch happens. 23895 These will replace cvs-apply, cvs-unapply, and cvs-create-patch. 23896 23897 * Scripts/svn-apply: Added. 23898 * Scripts/svn-create-patch: Added. 23899 * Scripts/svn-unapply: Added. 23900 23901 2005-12-30 Eric Seidel <eseidel (a] apple.com> 23902 23903 Reviewed by mjs. 23904 23905 Move WebView width/height logic into DumpRenderTree to support 23906 running the W3C SVG 1.1 tests along side other tests. The W3C 23907 SVG 1.1 tests require a 480x360 view. 23908 23909 * DumpRenderTree/DumpRenderTree.m: 23910 (main): don't accept width/height 23911 (dump): override width/height for SVG/W3C 23912 * Scripts/run-webkit-tests: don't pass width/height 23913 23914 2005-12-30 Eric Seidel <eseidel (a] apple.com> 23915 23916 No review, only removing dead code. 23917 23918 * DumpKCanvasTree/DumpKCanvasTree.m: Removed. 23919 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed. 23920 23921 2005-12-30 Eric Seidel <eseidel (a] apple.com> 23922 23923 Reviewed by darin. 23924 23925 DumpRenderTree should set a consistent color profile while running 23926 http://bugs.webkit.org/show_bug.cgi?id=6155 23927 23928 Creates consistent colormatched renderings on every test machine 23929 using the only way possible with Tiger APIs: by setting the 23930 system color profile on the test machine for the duration of the 23931 tests. This will (unfortunately) cause colors to change while 23932 running DumpRenderTree. This can also cause "permanent" color 23933 changes to occur if DRT is to crash (SIGSEGV, etc.) while running. 23934 This is far from ideal, but it's be best way we've found to deal 23935 with the issue for now. 23936 23937 * DumpRenderTree/DumpRenderTree.m: 23938 (restoreColorSpace): 23939 (setDefaultColorProfileToRGB): 23940 (main): 23941 23942 2005-12-20 Alexey Proskuryakov <ap (a] nypop.com> 23943 23944 Reviewed by Darin Adler. 23945 23946 - fix http://bugs.webkit.org/show_bug.cgi?id=5846 23947 cvs-create-patch --include produces incorrect paths 23948 23949 * Scripts/cvs-create-patch: Handle newly-added directories using chdir. 23950 23951 2005-12-19 Eric Seidel <eseidel (a] apple.com> 23952 23953 Reviewed by darin. 23954 23955 * Scripts/run-webkit-tests: stop /etc/catalog warnings 23956 23957 2005-12-19 Darin Adler <darin (a] apple.com> 23958 23959 Reviewed by Eric Seidel. 23960 23961 - fix http://bugs.webkit.org/show_bug.cgi?id=4990 23962 WebKit needs to use a local pasteboard during testing 23963 23964 * DumpRenderTree/DumpRenderTree.m: 23965 (main): Call poseAs to substitute our NSPasteboard class for the default one. 23966 Create a local pasteboard (really a global one with a unique name) and release 23967 it when exiting from the function so we don't leave it in the pasteboard server. 23968 (dumpRenderTree): Added an autorelease pool around one small bit of code that 23969 ddn't have one. Fixed a leak in an unlikely error case. 23970 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version 23971 of this method to return our local pasteboard. 23972 23973 2005-12-15 Eric Seidel <eseidel (a] apple.com> 23974 23975 Reviewed by Tim Hatcher. 23976 23977 * Scripts/build-webkit: --svg is now default! 23978 23979 2005-12-15 Eric Seidel <eseidel (a] apple.com> 23980 23981 Reviewed by mjs. 23982 23983 Don't run svg test automatically if +SVG is built (yet). 23984 23985 * Scripts/run-webkit-tests: 23986 23987 2005-12-15 Darin Adler <darin (a] apple.com> 23988 23989 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG 23990 support is not compiled in. Report the 10 slowest tests if "--slowest" is 23991 passed on the command line. 23992 23993 2005-12-06 John Sullivan <sullivan (a] apple.com> 23994 23995 Reviewed by Darin Adler. 23996 23997 * Scripts/prepare-ChangeLog: 23998 Remove special-case handling for nib files. This avoided trouble with cvs diff 23999 when we were using wrappers for nib files. Now that we aren't using wrappers, 24000 there's no reason to avoid adding the modified nib files to the file list that 24001 gets diffed. 24002 24003 2005-12-05 Eric Seidel <eseidel (a] apple.com> 24004 24005 Reviewed by mjs. 24006 24007 Script updates for SVG files move (remove references to SVGSupport) 24008 24009 * Scripts/build-webkit: remove SVGSupport 24010 * Scripts/run-webkit-tests: Resources -> resources for --svg 24011 * Scripts/update-webkit: remove SVGSupport 24012 24013 2005-12-05 Eric Seidel <eseidel (a] apple.com> 24014 24015 Reviewed mjs. 24016 24017 * checkout: remove --svg support, SVG is now checked out by default 24018 24019 2005-11-29 Eric Seidel <eseidel (a] apple.com> 24020 24021 Reviewed by darin. 24022 24023 Update scripts to run SVG tests automatically (w/o --svg) if 24024 WebCore is built with SVG support. 24025 24026 * Scripts/build-drawtest: SVG support required 24027 * Scripts/build-dumpkcanvastree: Removed. 24028 * Scripts/run-drawtest: SVG support required to run 24029 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support 24030 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport 24031 24032 2005-11-28 Alexey Proskuryakov <ap (a] nypop.com> 24033 24034 Reviewed by Darin Adler. Committed by Maciej. 24035 24036 - fixed "DumpRenderTree should test for Ahem before doing anything else" 24037 (http://bugs.webkit.org/show_bug.cgi?id=5838) 24038 24039 * DumpRenderTree/DumpRenderTree.m: 24040 (main): 24041 24042 2005-11-28 Eric Seidel <eseidel (a] apple.com> 24043 24044 Reviewed by sullivan and GGAREN. 24045 24046 Minor additions to make error messages more clear from cvs-apply. 24047 24048 * Scripts/cvs-apply: make errors more clear 24049 24050 2005-11-27 Oliver Hunt <ojh16 (a] student.canterbury.ac.nz> 24051 24052 Reviewed and committed by Maciej. 24053 24054 - fixed cvs-create-patch --include produces incorrect paths 24055 (http://bugs.webkit.org/show_bug.cgi?id=5846) 24056 24057 * Scripts/cvs-create-patch: produce proper paths for new files. 24058 24059 2005-11-21 Eric Seidel <eseidel (a] apple.com> 24060 24061 Reviewed by hyatt. 24062 24063 Some simple fixes to the build/test scripts now that SVG uses the 24064 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support 24065 or symlinks for KDOM. 24066 24067 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG 24068 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory 24069 * Scripts/run-webkit-tests: now runs SVG tests using DRT 24070 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI 24071 * checkout: no longer symlink kdom 24072 24073 2005-11-10 Eric Seidel <eseidel (a] apple.com> 24074 24075 Reviewed by ggaren. 24076 24077 * Scripts/build-webkit: Pass through options to xcodebuild 24078 24079 2005-11-07 Darin Adler <darin (a] apple.com> 24080 24081 * Scripts/cvs-apply: Fix case where the patch has files at the top level. 24082 24083 2005-11-03 John Sullivan <sullivan (a] apple.com> 24084 24085 Reviewed by Darin Adler. 24086 24087 * Scripts/run-safari: 24088 changed message to say "Starting Safari" instead of odd "Start Safari" 24089 * Scripts/run-webkit-tests: 24090 changed the way we pass the file parameter to use -NSOpen rather than relying on 24091 unlabeled arguments being treated as files. This was failing on some machines that 24092 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist. 24093 24094 2005-10-27 Geoffrey Garen <ggaren (a] apple.com> 24095 24096 Patch by Alexey Proskuryakov. 24097 24098 Reviewed by Maciej. 24099 24100 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303 24101 TextInputController should support attributed strings 24102 24103 * DumpRenderTree/TextInputController.m: 24104 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]): 24105 (+[NSMutableAttributedString webScriptNameForSelector:]): 24106 (-[NSMutableAttributedString getLength]): 24107 (-[NSMutableAttributedString attributeNamesAtIndex:]): 24108 (-[NSMutableAttributedString valueOfAttribute:atIndex:]): 24109 (-[NSMutableAttributedString addAttribute:value:]): 24110 (-[NSMutableAttributedString addAttribute:value:from:length:]): 24111 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]): 24112 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]): 24113 (-[NSMutableAttributedString addFontAttribute:fontName:size:]): 24114 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]): 24115 (+[TextInputController isSelectorExcludedFromWebScript:]): 24116 (+[TextInputController webScriptNameForSelector:]): 24117 (-[TextInputController insertText:]): 24118 (-[TextInputController attributedSubstringFrom:length:]): 24119 (-[TextInputController attributedStringWithString:]): 24120 24121 2005-10-11 Eric Seidel <eseidel (a] apple.com> 24122 24123 Reviewed by hyatt. 24124 24125 Checks for leaks in ImageDiff too. 24126 24127 * Scripts/run-webkit-tests: 24128 24129 2005-10-09 Darin Adler <darin (a] apple.com> 24130 24131 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory. 24132 * Scripts/cvs-apply: Handle added/deleted files in the current directory. 24133 * Scripts/cvs-unapply: Ditto. 24134 * Scripts/run-webkit-tests: Add a few more false-positive leaks. 24135 24136 2005-10-08 Alexey Proskuryakov <ap (a] nypop.com> 24137 24138 Reviewed, rearranged and landed by Darin Adler. 24139 24140 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707 24141 Need a way to automatically test for regressions in NSTextInput implementation 24142 24143 * DumpRenderTree/DumpRenderTree.m: 24144 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): 24145 Create a text input controller and put it in a property of the window object. 24146 24147 * DumpRenderTree/TextInputController.h: Added. 24148 * DumpRenderTree/TextInputController.m: Added. 24149 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files. 24150 24151 2005-10-06 Darin Adler <darin (a] apple.com> 24152 24153 * Scripts/cvs-apply: Fixed merge option to work better when not all directories 24154 are controlled by cvs, or when changes cross multiple repositories. 24155 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set. 24156 24157 2005-10-03 Eric Seidel <eseidel (a] apple.com> 24158 24159 Reviewed by mjs. 24160 24161 Make mouseDown and mouseUp force layout before acting. 24162 This is used by a new test case for 4233558. 24163 24164 * DumpRenderTree/DumpRenderTree.m: 24165 (-[EventSendingController mouseDown]): force layout 24166 (-[EventSendingController mouseUp]): force layout 24167 24168 2005-09-30 Eric Seidel <eseidel (a] apple.com> 24169 24170 Reviewed by xenon. 24171 24172 Updated all the scripts for the move: 24173 WebCore/layout-tests -> LayoutTests 24174 24175 * Scripts/check-dom-results: 24176 * Scripts/prepare-ChangeLog: 24177 * Scripts/run-webkit-tests: 24178 * Scripts/update-webkit: added --no-tests 24179 * checkout: added --no-tests 24180 24181 2005-09-28 Darin Adler <darin (a] apple.com> 24182 24183 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144 24184 pixel test should run even if render trees differ 24185 24186 * Scripts/run-webkit-tests: Don't check if the text dump matches. 24187 24188 2005-09-27 Eric Seidel <eseidel (a] apple.com> 24189 24190 No review needed, SVG build fix only. 24191 24192 * DumpKCanvasTree/DumpKCanvasTree.m: 24193 Missed one in my previous checkin. 24194 http://bugs.webkit.org/show_bug.cgi?id=5141 24195 24196 2005-09-26 Eric Seidel <eseidel (a] apple.com> 24197 24198 No review needed, SVG build fix only. 24199 24200 * DrawTest/DrawTestDocument.m: 24201 * DrawTest/DrawTestToolbarController.m: 24202 * DrawTest/DrawTestView.h: 24203 * DrawTest/DrawTestView.m: 24204 * DrawTest/SVGTest.m: 24205 * DrawTest/TestController.m: 24206 Updated for WebCore+SVG -> WebCore rename. 24207 http://bugs.webkit.org/show_bug.cgi?id=5141 24208 24209 2005-09-26 Eric Seidel <eseidel (a] apple.com> 24210 24211 Reviewed by hyatt. 24212 24213 * DumpRenderTree/DumpRenderTree.m: 24214 (dump): updated error message 24215 * Scripts/check-dom-results: now includes xhtml 24216 Tool updates for xhtml. 24217 http://bugs.webkit.org/show_bug.cgi?id=4907 24218 24219 2005-09-22 Duncan Wilcox <duncan (a] mclink.it> 24220 24221 Reviewed by Maciej. 24222 Landed by Darin Adler. 24223 24224 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963> 24225 "Would like to simulate human interaction with webview" 24226 24227 * DumpRenderTree/DumpRenderTree.m: 24228 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): 24229 (+[EventSendingController isSelectorExcludedFromWebScript:]): 24230 (+[EventSendingController webScriptNameForSelector:]): 24231 (-[EventSendingController init]): 24232 (-[EventSendingController mouseDown]): 24233 (-[EventSendingController mouseUp]): 24234 (-[EventSendingController mouseMoveToX:Y:]): 24235 Add eventSender javascript object, that sends fake mouse events to the webview. 24236 24237 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 24238 link with Carbon.framework 24239 24240 2005-09-22 Eric Seidel <eseidel (a] apple.com> 24241 24242 Reviewed by mjs. 24243 24244 Update tools for WebCore+SVG -> WebCore rename. 24245 Also fold several SVG specific tools into their original 24246 WebCore counterparts. 24247 http://bugs.webkit.org/show_bug.cgi?id=5003 24248 24249 * DrawTest/DrawTest.xcodeproj/project.pbxproj: 24250 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: 24251 * Scripts/build-drawtest: 24252 * Scripts/build-dumpkcanvastree: 24253 * Scripts/build-webcore-svg: Removed. 24254 * Scripts/build-webkit: added --svg option 24255 * Scripts/run-drawtest: 24256 * Scripts/run-webkit-tests: 24257 * Scripts/webkitdirs.pm: various additions. 24258 * checkout: added --svg option 24259 * checkout-svg: Removed. 24260 24261 2005-09-19 Eric Seidel <eseidel (a] apple.com> 24262 24263 Reviewed by darin. 24264 24265 * Scripts/run-webkit-tests: added --guard-malloc option 24266 http://bugs.webkit.org/show_bug.cgi?id=4613 24267 24268 2005-09-16 Justin Garcia <justin.garcia (a] apple.com> 24269 24270 Reviewed by geoff 24271 24272 Removed a script that is only used by apple internal developers 24273 24274 * Scripts/update-webkitsysteminterface: Removed. 24275 24276 2005-09-16 Adele Peterson <adele (a] apple.com> 24277 24278 Reviewed by Maciej. 24279 24280 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too. 24281 24282 2005-09-14 Darin Adler <darin (a] apple.com> 24283 24284 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291 24285 dumpAsText doesn't work with XHTML documents 24286 24287 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element 24288 rather than of the body element. This works with typical XHTML documents. We can probably 24289 do something even better in the long run, but this fixes the immediate issue. 24290 24291 - separate tweak 24292 24293 * Scripts/run-webkit-tests: Show the results in the current built Safari by using 24294 run-safari instead of just using "open", which often runs another copy of Safari instead. 24295 24296 2005-09-11 Mark Rowe <opendarwin.org (a] bdash.net.nz> 24297 24298 Reviewed, tweaked, and landed by Darin Adler. 24299 24300 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286 24301 .Mac prefpane crashes when Safari using CVS WebKit is running 24302 24303 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH. 24304 * Scripts/run-webkit-app: Ditto. 24305 24306 2005-09-11 Darin Adler <darin (a] apple.com> 24307 24308 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs. 24309 24310 2005-09-11 Darin Adler <darin (a] apple.com> 24311 24312 Reviewed by Eric. 24313 24314 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in 24315 two ways: 1) puts all files in a directory before any files in a subdirectory, and 24316 2) sort file names with numeric digits in them in a logical way, so test-33 will come 24317 before test-3. 24318 24319 2005-09-08 Justin Garcia <justin.garcia (a] apple.com> 24320 24321 Reviewed by darin 24322 24323 * Scripts/update-webkitsysteminterface: Added. 24324 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries 24325 24326 2005-09-01 John Sullivan <sullivan (a] apple.com> 24327 24328 * Scripts/run-webkit-tests: 24329 Excluded a known system leak to reduce noise; added comments about which leaks 24330 are being excluded. 24331 24332 2005-09-01 Tim Omernick <tomernick (a] apple.com> 24333 24334 Change made by Darin, reviewed by John and myself. 24335 24336 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations). 24337 24338 * Scripts/prepare-ChangeLog: 24339 24340 2005-08-31 Maciej Stachowiak <mjs (a] apple.com> 24341 24342 Reviewed by Darin Adler. 24343 24344 - set color variant and font settings to a consistent value. 24345 (http://bugs.webkit.org/show_bug.cgi?id=4769) 24346 24347 * DumpRenderTree/DumpRenderTree.m: 24348 (main): 24349 24350 2005-08-30 Eric Seidel <eseidel (a] apple.com> 24351 24352 Reviewed by mjs. 24353 24354 * Scripts/build-svg2png: Removed. 24355 * svg2png/ImageDiff.h: Removed. 24356 * svg2png/ImageDiff.m: Removed. 24357 * svg2png/svg2png.m: Removed. 24358 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed. 24359 * svg2png/svg2png_Prefix.pch: Removed. 24360 svg2png is no longer needed. 24361 24362 2005-08-30 Darin Adler <darin (a] apple.com> 24363 24364 * Scripts/check-dom-results: Special case 100% to say something nice. 24365 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before 24366 applying the patch (need a better name). 24367 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes. 24368 24369 2005-08-30 Darin Adler <darin (a] apple.com> 24370 24371 * Scripts/run-webkit-tests: Small formatting fix for leaks mode. 24372 24373 2005-08-29 Maciej Stachowiak <mjs (a] apple.com> 24374 24375 Reviewed by Darin Adler. 24376 24377 - fixed http://bugs.webkit.org/show_bug.cgi?id=4723 24378 (some pixel tests fail when AA settings are changed) 24379 24380 * DumpRenderTree/DumpRenderTree.m: 24381 (main): set AA settings to the default values 24382 24383 2005-08-29 Darin Adler <darin (a] apple.com> 24384 24385 Reviewed by John Sullivan. 24386 24387 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate 24388 executable -- much slower but can help pinpoint leaks. Changed formatting of some 24389 messages too. 24390 24391 2005-08-28 Maciej Stachowiak <mjs (a] apple.com> 24392 24393 Reviewed by Eric. 24394 24395 - fixed http://bugs.webkit.org/show_bug.cgi?id=4720 24396 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting) 24397 24398 * DumpRenderTree/DumpRenderTree.m: 24399 (main): set scrollbar arrow setting to a consistent value 24400 24401 2005-08-27 Jussi Hagman <juhagman (a] abo.fi> 24402 24403 Reviewed and landed by Darin Adler. 24404 24405 - fixed http://bugs.webkit.org/show_bug.cgi?id=4676 24406 output of update-webkit is too verbose 24407 24408 * Scripts/update-webkit: 24409 Added option --quiet (-q) to decrease the amount of output. 24410 24411 2005-08-27 Darin Adler <darin (a] apple.com> 24412 24413 - fixed http://bugs.webkit.org/show_bug.cgi?id=4596 24414 cvs-create-patch --include-unknowns should ignore hidden files 24415 24416 * Scripts/cvs-create-patch: Add code to check for files starting with ".". 24417 24418 2005-08-25 Ben La Monica <ben.lamonica (a] gmail.com> 24419 24420 Reviewed, tweaked, and landed by Darin Adler. 24421 24422 - fixed http://bugs.webkit.org/show_bug.cgi?id=4585 24423 update-webkit doesn't notice when you have SVGSupport and update properly 24424 24425 * Scripts/update-webkit: Build SVGSupport directory if it's present. 24426 24427 2005-08-25 Anders Carlsson <andersca (a] mac.com> 24428 24429 Reviewed and landed by Darin Adler. 24430 24431 - fixed http://bugs.webkit.org/show_bug.cgi?id=4572 24432 layout test machinery can't handle tests with applets that have code attributes 24433 24434 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests. 24435 24436 2005-08-24 Darin Adler <darin (a] apple.com> 24437 24438 Reviewed by Maciej. 24439 24440 - fixed http://bugs.webkit.org/show_bug.cgi?id=4625 24441 DumpRenderTree --pixel-tests crash 24442 - landed some other small changes I had sitting in my tree 24443 24444 * DumpRenderTree/DumpRenderTree.m: 24445 (main): Don't bother saving and restoring the preferences. Not sure 24446 why this was ever done since the preferences are specific to DumpRenderTree. 24447 Clear delegates before releasing the WebView, because you can't count on the 24448 order of object deallocation. 24449 (dumpRenderTree): Fix code that releases a string before storing it in a 24450 global variable. 24451 24452 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size 24453 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead. 24454 24455 2005-08-23 Eric Seidel <eseidel (a] apple.com> 24456 24457 Reviewed by mjs. 24458 24459 * Scripts/run-webkit-tests: 24460 Made --leaks option more readable by printing to a file. 24461 http://bugs.webkit.org/show_bug.cgi?id=4590 24462 24463 2005-08-22 Eric Seidel <eseidel (a] apple.com> 24464 Fix by Tobias Lidskog <tobiaslidskog (a] mac.com> 24465 24466 Reviewed by darin. 24467 24468 * Scripts/run-webkit-tests: hides "expected actual diffs" links 24469 when they are not needed (for pixel-only failures) 24470 http://bugs.webkit.org/show_bug.cgi?id=4584 24471 24472 2005-08-22 Eric Seidel <eseidel (a] apple.com> 24473 24474 Reviewed by darin. 24475 24476 * Scripts/run-webkit-tests: Added the ability to display more than 24477 just two images as part of the image-diff "slideshow". 24478 Added display of "-w3c.png" baseline images for SVG. 24479 http://bugs.webkit.org/show_bug.cgi?id=4581 24480 24481 2005-08-20 Eric Seidel <eseidel (a] apple.com> 24482 24483 * Scripts/run-webkit-tests: 24484 "build" fix after committing incorrect version. 24485 24486 2005-08-20 Eric Seidel <eseidel (a] apple.com> 24487 24488 Reviewed by darin. 24489 24490 * DumpRenderTree/DumpRenderTree.m: 24491 (main): cleans up delegates 24492 (dumpRenderTree): closes CFString/CFURL leak 24493 * Scripts/run-webkit-tests: 24494 Adds --leaks option to run-webkit-tests 24495 http://bugs.webkit.org/show_bug.cgi?id=4542 24496 24497 2005-08-19 Ben La Monica <ben.lamonica (a] gmail.com> 24498 24499 Reviewed by Darin Adler. 24500 24501 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause 24502 new files to be included in the patch even without "cvs add". 24503 24504 2005-08-19 Darin Adler <darin (a] apple.com> 24505 24506 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and 24507 non-cvs-generated patches. Anders has been creating these, so it's bad that 24508 the script can't handle them. 24509 * Scripts/cvs-unapply: Ditto. 24510 24511 2005-08-18 Darin Adler <darin (a] apple.com> 24512 24513 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with 24514 "." in them -- based on complaint by someone here at Apple. 24515 24516 2005-08-18 Eric Seidel <eseidel (a] apple.com> 24517 24518 Reviewed by mjs. 24519 24520 * Scripts/run-webkit-tests: 24521 Made --svg imply --pixel-tests (pixel tests on-by-default for svg). 24522 24523 2005-08-17 Maciej Stachowiak <mjs (a] apple.com> 24524 24525 - add file that I forgot in the last checkin 24526 24527 * DumpRenderTree/ImageDiff.m: Added. 24528 (main): 24529 (getImageFromStdin): 24530 (compareImages): 24531 (getDifferenceBitmap): 24532 (computePercentageDifferent): 24533 24534 2005-08-17 Maciej Stachowiak <mjs (a] apple.com> 24535 24536 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and 24537 somewhat by me, and also tweaked by me a little bit. 24538 24539 - better support for pixel-dumping 24540 - use checksums of the images so the tests are fast 24541 - change output format to make the tests run faster 24542 - don't dump pixel results for tests that dump as text 24543 24544 * DumpKCanvasTree/DumpKCanvasTree.m: 24545 (main): 24546 (dumpRenderTree): 24547 (md5HashStringForBitmap): 24548 (dumpPixelTests): 24549 (constrainSizeToMaximum): 24550 (getBitmapImageRepForSVGDocument): 24551 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: 24552 * DumpRenderTree/DumpRenderTree.m: 24553 (main): 24554 (dump): 24555 (dumpRenderTree): 24556 (md5HashStringForBitmap): 24557 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 24558 * Scripts/run-webkit-tests: 24559 24560 2005-08-17 Maciej Stachowiak <mjs (a] apple.com> 24561 24562 Reviewed by Darin Adler. 24563 24564 - hacked DumpRenderTree to make the scrollbars appear and disappear properly. 24565 24566 * DumpRenderTree/DumpRenderTree.m: 24567 (main): 24568 24569 2005-08-14 Oliver Hunt <ojh16 (a] student.canterbury.ac.nz> 24570 24571 Reviewed and landed by Darin Adler. 24572 24573 - fixed http://bugs.webkit.org/show_bug.cgi?id=4251 24574 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts 24575 24576 * Scripts/run-safari: Pass arguments through to Safari on command line. 24577 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line. 24578 24579 2005-08-11 Eric Seidel <eseidel (a] apple.com> 24580 Fix by Tobias Lidskog <tobiaslidskog (a] mac.com> 24581 24582 Reviewed by eseidel. 24583 24584 * DrawTest/TestController.m: 24585 (-[TestController imagePathForSVGPath:]): 24586 Fixed support for using TextViewer with the layout-tests. 24587 http://bugs.webkit.org/show_bug.cgi?id=4385 24588 24589 2005-08-11 Maciej Stachowiak <mjs (a] apple.com> 24590 24591 At Least Roughly Glanced At by Anders. 24592 24593 - fix change with totally breaks the layout tests. 24594 24595 * DumpRenderTree/DumpRenderTree.m: 24596 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another 24597 load, to avoid dumping twice accidentally. 24598 24599 2005-08-10 Eric Seidel <eseidel (a] apple.com> 24600 Fixed made by Mitz Pettel <opendarwin.org (a] mitzpettel.com> 24601 24602 Reviewed by darin. 24603 24604 * DumpRenderTree/DumpRenderTree.m: 24605 Added support for rendering to a PNG file. 24606 http://bugs.webkit.org/show_bug.cgi?id=3840 24607 24608 2005-08-07 Eric Seidel <eseidel (a] apple.com> 24609 24610 Reviewed by darin. 24611 24612 * Scripts/run-webkit-tests: added --svg option 24613 * Scripts/run-webkit-tests-svg: Removed. 24614 http://bugs.webkit.org/show_bug.cgi?id=4300 24615 24616 2005-08-07 Eric Seidel <eseidel (a] apple.com> 24617 Changes by Ben La Monica <ben.lamonica (a] gmail.com> 24618 24619 Reviewed by darin. 24620 24621 * svg2png/ImageDiff.h: Added. 24622 * svg2png/ImageDiff.m: Added. 24623 (getDifferenceBitmap): 24624 (computePercentageDifferent): 24625 (saveAnimatedGIFToFile): 24626 * svg2png/svg2png.m: 24627 (usage): added several new options 24628 (getBitmapForSVG): added NSBitmapImageRep generation 24629 (main): various argument changes. 24630 * svg2png/svg2png.xcodeproj/project.pbxproj: 24631 Several additions to provide image differencing functionality. 24632 http://bugs.webkit.org/show_bug.cgi?id=4193 24633 24634 2005-08-07 Eric Seidel <eseidel (a] apple.com> 24635 24636 Reviewed by darin. 24637 24638 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests 24639 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests 24640 Adding the first SVG layout tests: 24641 http://bugs.webkit.org/show_bug.cgi?id=4303 24642 24643 2005-08-07 Darin Adler <darin (a] apple.com> 24644 24645 * Scripts/cvs-create-patch: Do all the directories at once, for speed. 24646 24647 2005-08-06 Eric Seidel <eseidel (a] apple.com> 24648 24649 Reviewed by darin. 24650 24651 * DumpKCanvasTree/DumpKCanvasTree.m: Added. 24652 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added. 24653 * Scripts/build-dumpkcanvastree: Added. 24654 * Scripts/run-webkit-tests-svg: Added. 24655 Adds a DumpRenderTree-like tool for SVG which allows us to do 24656 text-based layout regression testing. This (like most of the 24657 SVG specific stuff) is temporary and will be replaced by 24658 DumpRenderTree once the DOMs and RenderTrees merge. 24659 http://bugs.webkit.org/show_bug.cgi?id=3917 24660 24661 2005-08-06 Eric Seidel <eseidel (a] apple.com> 24662 24663 Reviewed by darin. 24664 24665 * DrawTest/DrawTestView.m: 24666 (-[DrawTestView toggleFilterSupport:]): missing negation. 24667 One half of fix for toggling filter support. 24668 http://bugs.webkit.org/show_bug.cgi?id=4252 24669 24670 2005-08-04 Eric Seidel <eseidel (a] apple.com> 24671 24672 Reviewed by darin. 24673 24674 * Scripts/build-drawtest: 24675 * Scripts/build-dumprendertree: 24676 * Scripts/build-svg2png: 24677 * Scripts/build-webcore-svg: 24678 * Scripts/build-webkit: 24679 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig() 24680 Added checkRequiredSystemConfig and made all the build-* scripts 24681 use it to print a pretty warning when trying to compile on an 24682 unsupported system (less than 10.4, Xcode 2.1). 24683 http://bugs.webkit.org/show_bug.cgi?id=4280 24684 24685 2005-08-04 Darin Adler <darin (a] apple.com> 24686 24687 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from 24688 the dead. It was removed by accident when someone was trying to work on the branch. 24689 24690 2005-07-31 Darin Adler <darin (a] apple.com> 24691 24692 - a little tools cleanup 24693 24694 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to 24695 project as a whole. Removed unused Default configuration. 24696 24697 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool. 24698 24699 2005-07-31 Duncan Wilcox <duncan (a] mclink.it> 24700 24701 Reviewed and landed by Darin Adler. 24702 24703 Add logging of editing delegate calls for regression checking. 24704 24705 * DumpRenderTree/DumpRenderTree.m: 24706 (main): 24707 setup editing delegate 24708 24709 (-[DOMNode dumpPath]): 24710 (-[DOMRange dump]): 24711 utility for editing delegate logging 24712 24713 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): 24714 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): 24715 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): 24716 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): 24717 (-[EditingDelegate webView:shouldDeleteDOMRange:]): 24718 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): 24719 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): 24720 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): 24721 (-[EditingDelegate webViewDidBeginEditing:]): 24722 (-[EditingDelegate webViewDidChange:]): 24723 (-[EditingDelegate webViewDidEndEditing:]): 24724 (-[EditingDelegate webViewDidChangeTypingStyle:]): 24725 log corresponding editing delegate methods 24726 24727 (-[EditingDelegate webViewDidChangeSelection:]): 24728 log selection except when clearing selection after end of test (uses existing "done" flag) 24729 24730 (dumpRenderTree): 24731 added clearing of selection after test 24732 24733 2005-07-31 Eric Seidel <eseidel (a] apple.com> 24734 24735 Reviewed by hyatt. 24736 24737 * Scripts/build-drawtest: Added. 24738 * Scripts/build-svg2png: Added. 24739 * Scripts/build-webcore-svg: Added. 24740 * Scripts/run-drawtest: Added. 24741 * Scripts/webkitdirs.pm: added checkSVGFrameworks 24742 Made it much easier to build WebCore+SVG. 24743 http://bugs.webkit.org/show_bug.cgi?id=4208 24744 24745 2005-07-29 Eric Seidel <eseidel (a] apple.com> 24746 24747 Reviewed by vicki. 24748 24749 * DrawTest/DrawTest.xcodeproj/project.pbxproj: 24750 Build fix. Removed bad path. 24751 24752 2005-07-29 Eric Seidel <eseidel (a] apple.com> 24753 24754 Reviewed by sullivan. 24755 24756 * DrawTest/AppDelegate.h: Added. 24757 * DrawTest/AppDelegate.m: Added. 24758 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added. 24759 * DrawTest/DrawTestDocument.h: Added. 24760 * DrawTest/DrawTestDocument.m: Added. 24761 * DrawTest/DrawTestInspectorController.h: Added. 24762 * DrawTest/DrawTestInspectorController.m: Added. 24763 * DrawTest/DrawTestToolbarController.h: Added. 24764 * DrawTest/DrawTestToolbarController.m: Added. 24765 * DrawTest/DrawTestView.h: Added. 24766 * DrawTest/DrawTestView.m: Added. 24767 * DrawTest/DrawTest_Prefix.pch: Added. 24768 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added. 24769 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added. 24770 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added. 24771 * DrawTest/English.lproj/InfoPlist.strings: Added. 24772 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added. 24773 * DrawTest/English.lproj/Inspector.nib/info.nib: Added. 24774 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added. 24775 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added. 24776 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added. 24777 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added. 24778 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added. 24779 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added. 24780 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added. 24781 * DrawTest/Info.plist: Added. 24782 * DrawTest/SVGTest.h: Added. 24783 * DrawTest/SVGTest.m: Added. 24784 * DrawTest/ScalingImageView.h: Added. 24785 * DrawTest/ScalingImageView.m: Added. 24786 * DrawTest/TestController.h: Added. 24787 * DrawTest/TestController.m: Added. 24788 * DrawTest/TestViewerSplitView.h: Added. 24789 * DrawTest/TestViewerSplitView.m: Added. 24790 * DrawTest/main.m: Added. 24791 Adding simple cocoa app for testing SVG rendering, interaction. 24792 http://bugs.webkit.org/show_bug.cgi?id=4157 24793 24794 2005-07-28 Eric Seidel <eseidel (a] apple.com> 24795 24796 Reviewed by ggaren. 24797 24798 * svg2png/svg2png.m: Added. 24799 * svg2png/svg2png.xcodeproj/project.pbxproj: Added. 24800 * svg2png/svg2png_Prefix.pch: Added. 24801 Added a simple test tool which dumps a PNG from an SVG using 24802 WebCore+SVG's SVG rendering support. 24803 http://bugs.webkit.org/show_bug.cgi?id=4156 24804 24805 2005-07-26 Maciej Stachowiak <mjs (a] apple.com> 24806 24807 Reviewed by Darin Adler. 24808 24809 - new script to review the DOM layout test results and see where we stand 24810 on actual success and failure 24811 24812 * Scripts/check-dom-results: Added. 24813 24814 2005-07-25 Darin Adler <darin (a] apple.com> 24815 24816 * Scripts/webkitdirs.pm: Check in missing line of code. 24817 24818 2005-07-25 Darin Adler <darin (a] apple.com> 24819 24820 - fixed problem that was causing JavaScriptCore test to fail 24821 (except for people who had set DYLD_FRAMEWORK_PATH) 24822 24823 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH. 24824 Add code to parse configuration parameter so you can pass --deployment if you like. 24825 * Scripts/run-webkit-tests: Add code to parse configuration parameter. 24826 24827 * Scripts/update-javascriptcore-test-results: Add license header. 24828 24829 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it 24830 from @ARGV. This lets us use this option in commands that take other options and 24831 pass them along to a subsequent tool. 24832 24833 2005-07-25 Darin Adler <darin (a] apple.com> 24834 24835 Reviewed by Geoff Garen. 24836 24837 - Fixed run-safari and gdb-safari to use the Safari application in the build results 24838 directory, if any, falling back to the one in the Applications directory otherwise. 24839 Does no harm for open source contributors who don't build Safari, and helps out the 24840 Safari team, since we do build Safari. 24841 24842 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment 24843 variable, and if that's not present, looks in either the build results directory or 24844 /Applications; factors code that was in both scripts before into a shared function. 24845 Also removed some Xcode 2.0 support which is no longer relevant since our projects are 24846 now in Xcode 2.1 format and incompatible with older versions of Xcode. 24847 24848 * Scripts/gdb-safari: Use safariPath. 24849 * Scripts/run-safari: Use safariPath. 24850 24851 2005-07-22 Geoffrey Garen <ggaren (a] apple.com> 24852 24853 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests. 24854 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl 24855 24856 Moved Tools/Scripts/update-mozilla-js-test-results to 24857 WebKitTools/Scripts/update-javascriptcore-test-results. 24858 24859 Reviewed by darin. 24860 24861 * Scripts/run-javascriptcore-tests: Added. 24862 24863 2005-07-21 Geoffrey Garen <ggaren (a] apple.com> 24864 24865 Reviewed by Darin Adler. 24866 24867 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1 24868 24869 2005-07-21 Geoffrey Garen <ggaren (a] apple.com> 24870 24871 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed. 24872 24873 2005-07-21 Geoffrey Garen <ggaren (a] apple.com> 24874 24875 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed. 24876 24877 2005-07-21 Geoffrey Garen <ggaren (a] apple.com> 24878 24879 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added. 24880 24881 2005-07-21 Geoffrey Garen <ggaren (a] apple.com> 24882 24883 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added. 24884 24885 2005-07-21 Geoffrey Garen <ggaren (a] apple.com> 24886 24887 * Scripts/build-webkit: 24888 24889 2005-07-12 Eric Seidel <eseidel (a] apple.com> 24890 24891 Reviewed by mjs. 24892 24893 * checkout-svg: Fixed error with symlink creation. 24894 24895 2005-07-12 Eric Seidel <eseidel (a] apple.com> 24896 24897 Reviewed by mjs. 24898 24899 * checkout-svg: Added. 24900 Script to check out WebCore+SVG 24901 24902 2005-06-30 Darin Adler <darin (a] apple.com> 24903 24904 Changes based on input from Michael Kahl. 24905 24906 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that 24907 specify different style of "diff". 24908 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that 24909 determineConfigurationProductDir works in all cases. 24910 24911 2005-06-29 Darin Adler <darin (a] apple.com> 24912 24913 - fixed bug which would result in multiple unwanted dumps in a single layout test 24914 24915 * DumpRenderTree/DumpRenderTree.m: 24916 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new 24917 "readyToDump" flag. 24918 (-[LayoutTestController waitUntilDone]): Update for name change. 24919 (-[LayoutTestController notifyDone]): Dump only if ready. 24920 (dumpRenderTree): Set up new boolean and update for name change. 24921 24922 2005-06-29 Darin Adler <darin (a] apple.com> 24923 24924 Changes by Timothy Hatcher. 24925 Reviewed by me. 24926 24927 * Scripts/run-webkit-app: Added script to open an arbritrary application with 24928 a CVS built WebKit. Example: ./run-webkit-app Colloquy 24929 24930 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify 24931 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location. 24932 * Scripts/run-safari: Ditto. 24933 24934 2005-06-26 Darin Adler <darin (a] apple.com> 24935 24936 * Scripts/build-dumprendertree: Pass -project option so that having a second 24937 copy of the project (like the one Xcode 2.1 offers to make for you) that's 24938 out of date won't screw you up. 24939 * Scripts/build-webkit: Ditto. 24940 24941 2005-06-23 Darin Adler <darin (a] apple.com> 24942 24943 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed. 24944 24945 2005-06-23 Darin Adler <darin (a] apple.com> 24946 24947 Changes based on input from Michael Kahl. 24948 24949 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level 24950 directory passed in. 24951 24952 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using 24953 getcwd() in the code to find the base product dir. Added code to handle unusual 24954 base product directory values that use SRCROOT. 24955 24956 2005-06-22 Darin Adler <darin (a] apple.com> 24957 24958 Change by Anders Carlsson. 24959 24960 - added support for dumping title changes 24961 24962 * DumpRenderTree/DumpRenderTree.m: 24963 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change 24964 if requested by JavaScript. 24965 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges. 24966 (-[LayoutTestController dumpTitleChanges]): Added, sets flag. 24967 (dumpRenderTree): Start flag as NO. 24968 24969 2005-06-20 Darin Adler <darin (a] apple.com> 24970 24971 Reviewed by Justin Garcia. 24972 24973 * Scripts/run-webkit-tests: Report number of tests when they succeed. 24974 24975 2005-06-18 Darin Adler <darin (a] apple.com> 24976 24977 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools 24978 in the hope of making the tool use less memory and run faster. 24979 24980 2005-06-18 Darin Adler <darin (a] apple.com> 24981 24982 * Scripts/cvs-apply: Improve handling of patches with CR characters in them. 24983 * Scripts/cvs-unapply: Ditto. 24984 24985 2005-06-17 Maciej Stachowiak <mjs (a] apple.com> 24986 24987 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for 24988 benefit of all WebKit hackerdom 24989 24990 * Scripts/prepare-ChangeLog: Added. 24991 24992 2005-06-16 Darin Adler <darin (a] apple.com> 24993 24994 - recent changes to XcodeOptions made it depend on the current directory 24995 The intent was to have the WebKitBuild directory be next to WebKitTools, 24996 not inside the various build directories. Workaround for now is to call 24997 XcodeOptions when the directory is set to the WebKit directory. 24998 24999 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it 25000 at the start of the script. 25001 * Scripts/build-webkit: Ditto. 25002 25003 2005-06-15 Darin Adler <darin (a] apple.com> 25004 25005 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0. 25006 25007 2005-06-14 Darin Adler <darin (a] apple.com> 25008 25009 Changes by Anders Carlsson. 25010 Reviewed by me. 25011 25012 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3496> 25013 Add gdb-safari script to launch Safari under gdb 25014 25015 * Scripts/gdb-safari: Added. 25016 25017 2005-06-12 Darin Adler <darin (a] apple.com> 25018 25019 Changes by Stuart Morgan. 25020 Reviewed by me. 25021 25022 * Scripts/cvs-abandon: Use cwd instead of `pwd`. 25023 * Scripts/cvs-apply: Ditto. 25024 * Scripts/cvs-create-patch: Ditto. 25025 * Scripts/cvs-unapply: Ditto. 25026 * Scripts/run-webkit-tests: Ditto. 25027 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file. 25028 25029 2005-06-12 Darin Adler <darin (a] apple.com> 25030 25031 * Scripts/cvs-apply: Handle case of an empty patch better. 25032 * Scripts/cvs-unapply: Ditto. 25033 25034 2005-06-12 Darin Adler <darin (a] apple.com> 25035 25036 Changes by Michael Gaiman. 25037 Reviewed by me. 25038 25039 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3487> 25040 WebKit no longer builds after configuration supporting build changes 25041 25042 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file. 25043 25044 2005-06-12 Darin Adler <darin (a] apple.com> 25045 25046 * Scripts/update-webkit: Make this script work when called from any directory. 25047 25048 2005-06-12 Darin Adler <darin (a] apple.com> 25049 25050 Reviewed by Maciej. 25051 Includes changes by Stuart Morgan as well as my own. 25052 25053 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of 25054 symrootXcodeOptions to set the -buildstyle option. 25055 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option. 25056 The new --development option does the same thing. 25057 * Scripts/run-safari: Ditto. 25058 * Scripts/run-webkit-tests: Ditto. 25059 * Scripts/update-webkit: Ditto. 25060 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment. 25061 25062 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current 25063 directory is when invoking a script. Add code to determine the Xcode version so we can do the right 25064 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration 25065 product directory. Read the default configuration from a file, overridable by a passed-in command-line 25066 option. 25067 25068 2005-06-11 Darin Adler <darin (a] apple.com> 25069 25070 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory 25071 to execute the cvs diff commands. 25072 25073 2005-06-11 Darin Adler <darin (a] apple.com> 25074 25075 - added first cuts at some cvs scripts 25076 25077 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS 25078 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files 25079 cvs-apply is for applying patches; runs patch and cvs add and cvs rm 25080 cvs-unapply is for unapplying patches; does the opposite of cvs-apply 25081 25082 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while. 25083 25084 * Scripts/cvs-abandon: Added. 25085 * Scripts/cvs-apply: Added. 25086 * Scripts/cvs-create-patch: Added. 25087 * Scripts/cvs-unapply: Added. 25088 25089 2005-06-09 Darin Adler <darin (a] apple.com> 25090 25091 Reviewed by Maciej. 25092 25093 - fixed http://bugs.webkit.org/show_bug.cgi?id=3397 25094 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc 25095 25096 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework" 25097 for Foundation.framework. How was it ever wrong? 25098 25099 - finally, I tested making the default build directory work; it works now 25100 25101 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function 25102 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences. 25103 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode. 25104 * Scripts/build-dumprendertree: Ditto. 25105 25106 2005-06-09 Darin Adler <darin (a] apple.com> 25107 25108 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild 25109 work. Someone should try building without setting the Xcode build product directory now, 25110 and let me know if it works. 25111 25112 2005-06-08 Darin Adler <darin (a] apple.com> 25113 25114 - quick fix to try to get build scripts working again 25115 25116 * Scripts/build-dumprendertree: Add FindBin. 25117 * Scripts/build-webkit: Ditto. 25118 * Scripts/run-safari: Ditto. 25119 * Scripts/run-webkit-tests: Ditto. 25120 * Scripts/update-webkit: Ditto. 25121 25122 2005-06-08 Darin Adler <darin (a] apple.com> 25123 25124 Reviewed by Maciej. 25125 25126 - some build script enhancements 25127 25128 * Scripts/build-dumprendertree: Changed to use webkitdirs. 25129 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if 25130 they are newer. 25131 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development 25132 before Deplyment in that case. 25133 * Scripts/run-webkit-tests: Changed to use webkitdirs. 25134 * Scripts/update-webkit: Changed to use webkitdirs. 25135 25136 * Scripts/webkitdirs.pm: Added. 25137 25138 2005-06-08 Maciej Stachowiak <mjs (a] apple.com> 25139 25140 Code change by Toby Peterson <toby (a] opendarwin.org> 25141 Reviewed by me. 25142 25143 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would 25144 get confused because build-webkit now makes even 2.0 build directories look 25145 like 2.1. 25146 25147 2005-06-07 Darin Adler <darin (a] apple.com> 25148 25149 Reviewed by Adele Peterson. 25150 25151 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style. 25152 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things 25153 so we can run tests with Xcode 2.1. 25154 25155 2005-06-07 Darin Adler <darin (a] apple.com> 25156 25157 Reviewed by Adele Peterson. 25158 25159 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the 25160 layout-tests directory to include additional sets of tests. 25161 25162 2005-06-07 Darin Adler <darin (a] apple.com> 25163 25164 * checkout: Added license. 25165 * Scripts/build-dumprendertree: Ditto. 25166 * Scripts/run-webkit-tests: Ditto. 25167 * Scripts/update-webkit: Ditto. 25168 25169 2005-06-07 Darin Adler <darin (a] apple.com> 25170 25171 Change by Toby Peterson <toby (a] opendarwin.org>. 25172 Reviewed by me. 25173 25174 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.) 25175 * Scripts/run-safari: Ditto. 25176 25177 2005-06-06 Maciej Stachowiak <mjs (a] apple.com> 25178 25179 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a 25180 25181 2005-06-06 Maciej Stachowiak <mjs (a] apple.com> 25182 25183 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther. 25184 25185 2005-06-06 Maciej Stachowiak <mjs (a] apple.com> 25186 25187 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir. 25188 25189 2005-06-05 Darin Adler <darin (a] apple.com> 25190 25191 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify. 25192 * Scripts/build-dumprendertree: Added. 25193 * Scripts/build-webkit: Build All in the JavaScriptCore directory. 25194 * Scripts/run-webkit-tests: Build DumpRenderTree before running. 25195 25196 2005-06-05 Darin Adler <darin (a] apple.com> 25197 25198 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks. 25199 25200 2005-06-05 Darin Adler <darin (a] apple.com> 25201 25202 - add run-webkit-tests script; not working yet but the pieces are there 25203 25204 * Scripts/run-webkit-tests: Added. 25205 25206 * DumpRenderTree/DumpRenderTree.m: Added. 25207 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added. 25208 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added. 25209 * DumpRenderTree/DumpRenderTreePrefix.h: Added. 25210 25211 2005-06-05 Darin Adler <darin (a] apple.com> 25212 25213 - created module, first cut at Web Kit Open Source Project scripts 25214 25215 * ChangeLog: Added. 25216 * Scripts/build-webkit: Added. 25217 * Scripts/run-safari: Added. 25218 * Scripts/update-webkit: Added. 25219 * checkout: Added. 25220 25221 === creation of WebKitTools module === 25222