1 2010-05-24 Ojan Vafai <ojan (a] chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 add tests to ensure that --git-commit ranges are exclusive of the start of the range 6 https://bugs.webkit.org/show_bug.cgi?id=39612 7 8 * Scripts/webkitpy/common/checkout/scm_unittest.py: 9 10 2010-05-24 Eric Seidel <eric (a] webkit.org> 11 12 Reviewed by Adam Barth. 13 14 Add a temporary script for testing the html5 parser until it can run more layout tests 15 https://bugs.webkit.org/show_bug.cgi?id=39611 16 17 * Scripts/test-html5-parser: Added. 18 19 2010-05-24 Eric Seidel <eric (a] webkit.org> 20 21 Reviewed by Chris Jerdonek. 22 23 webkit-patch needs --verbose flag to enable DEBUG logging 24 https://bugs.webkit.org/show_bug.cgi?id=39208 25 26 I also added some code to print out how long commands take to run. 27 28 * Scripts/webkit-patch: 29 - Add hackish -v/--verbose parsing (similar to check-webkit-style) 30 * Scripts/webkitpy/common/system/executive.py: 31 - Log how long commands take to run. 32 * Scripts/webkitpy/tool/main.py: 33 - Add -v/--verbose option to global options. 34 35 2010-05-23 Eric Seidel <eric (a] webkit.org> 36 37 Reviewed by Daniel Bates. 38 39 Split PatchReader out into its own file 40 https://bugs.webkit.org/show_bug.cgi?id=39576 41 42 This is in preparation for making check-webkit-style 43 support being passed paths to patch files on the command line. 44 45 * Scripts/check-webkit-style: 46 * Scripts/webkitpy/style/checker.py: 47 * Scripts/webkitpy/style/checker_unittest.py: 48 * Scripts/webkitpy/style/patchreader.py: Added. 49 * Scripts/webkitpy/style/patchreader_unittest.py: Added. 50 * Scripts/webkitpy/style_references.py: 51 52 2010-05-23 Adam Barth <abarth (a] webkit.org> 53 54 Reviewed by Daniel Bates. 55 56 webkit-patch should let you add a comment when uploading a patch 57 https://bugs.webkit.org/show_bug.cgi?id=39552 58 59 As requested by Dan "the man" Bates. 60 61 * Scripts/webkitpy/tool/steps/options.py: 62 * Scripts/webkitpy/tool/steps/postdiff.py: 63 64 2010-05-23 Adam Barth <abarth (a] webkit.org> 65 66 Reviewed by Eric Seidel. 67 68 webkit-patch should assign newly created bugs to their creator 69 https://bugs.webkit.org/show_bug.cgi?id=39548 70 71 As requested on webkit-dev. 72 73 * Scripts/webkitpy/common/net/bugzilla.py: 74 75 2010-05-23 Adam Barth <abarth (a] webkit.org> 76 77 Reviewed by Eric Seidel. 78 79 Hide prepare and post commands for webkit-patch 80 https://bugs.webkit.org/show_bug.cgi?id=39539 81 82 It turns out these commands aren't very popular and they confuse new 83 users. They'll still be there for advanced users, however. 84 85 * Scripts/webkitpy/tool/commands/upload.py: 86 87 2010-05-23 Jesus Sanchez-Palencia <jesus (a] webkit.org> 88 89 Reviewed by Laszlo Gombos. 90 91 [Qt] QtTestBrowser has two graphicsview options that aren't enabled correctly 92 https://bugs.webkit.org/show_bug.cgi?id=39491 93 94 Making toggleResizesToContents and toggleTiledBackingStore checkable when 95 QtTestBrowser is started on graphics view mode. 96 97 * QtTestBrowser/main.cpp: 98 (LauncherWindow::createChrome): 99 100 2010-05-23 Jesus Sanchez-Palencia <jesus (a] webkit.org> 101 102 Reviewed by Laszlo Gombos. 103 104 [Qt] QtTestBrowser is still called QtLauncher in the code 105 https://bugs.webkit.org/show_bug.cgi?id=39488 106 107 Finish the name change of QtLauncher to QtTestBrowser. 108 109 * QtTestBrowser/main.cpp: 110 (LauncherApplication::LauncherApplication): 111 (LauncherApplication::handleUserOptions): 112 * QtTestBrowser/mainwindow.cpp: 113 (MainWindow::MainWindow): 114 * QtTestBrowser/useragentlist.txt: 115 116 2010-05-23 Marcus Bulach <bulach (a] chromium.org> 117 118 Reviewed by Kent Tamura. 119 120 [chromium] Adds Geolocation support to DumpRenderTree. 121 https://bugs.webkit.org/show_bug.cgi?id=39440 122 123 Existing LayoutTests/fast/dom/Geolocation/* should pass. 124 125 * DumpRenderTree/chromium/LayoutTestController.cpp: 126 (LayoutTestController::LayoutTestController): 127 (LayoutTestController::setGeolocationPermission): 128 (LayoutTestController::setMockGeolocationPosition): 129 (LayoutTestController::setMockGeolocationError): 130 * DumpRenderTree/chromium/LayoutTestController.h: 131 * DumpRenderTree/chromium/TestShell.cpp: 132 (TestShell::TestShell): 133 * DumpRenderTree/chromium/WebViewHost.cpp: 134 (WebViewHost::geolocationService): 135 * DumpRenderTree/chromium/WebViewHost.h: 136 137 2010-05-22 Adam Barth <abarth (a] webkit.org> 138 139 Unreviewed. 140 141 Re-order Yong's email addresses because his gmail account is the one he 142 uses for bugs.webkit.org. 143 144 * Scripts/webkitpy/common/config/committers.py: 145 146 2010-05-22 Daniel Bates <dbates (a] rim.com> 147 148 Reviewed by Chris Jerdonek. 149 150 Add infrastructure to parse SVN property changes 151 https://bugs.webkit.org/show_bug.cgi?id=38885 152 153 Adds function VCSUtils::parseSvnDiffFooter to parse an SVN footer 154 that consists of one or more properties. 155 156 Note, the first line of an SVN footer begins with "Property changes on". 157 158 * Scripts/VCSUtils.pm: 159 - Added function parseSvnDiffFooter. Will use this function 160 towards resolving Bug #39409 <https://bugs.webkit.org/show_bug.cgi?id=39409>. 161 - Removed FIXME comment above function parseSvnProperty, since 162 it is being used by parseSvnDiffFooter. 163 * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl: Added. 164 - Added unit tests. 165 166 2010-05-22 Eric Seidel <eric (a] webkit.org> 167 168 Unreviewed, fixing test results only. 169 170 Disable compositing tests on the commit-queue as a workaround for bug 38912 171 https://bugs.webkit.org/show_bug.cgi?id=39067 172 173 * Scripts/webkitpy/tool/steps/steps_unittest.py: 174 - Update test results after my previous change. 175 176 2010-05-22 Eric Seidel <eric (a] webkit.org> 177 178 Unreviewed. 179 180 Disable compositing tests on the commit-queue as a workaround for bug 38912 181 https://bugs.webkit.org/show_bug.cgi?id=39067 182 183 * Scripts/webkitpy/tool/steps/runtests.py: 184 - Disable all of compositing, not just compositing/iframes 185 186 2010-05-22 Kent Tamura <tkent (a] chromium.org> 187 188 Reviewed by Dimitri Glazkov. 189 190 [DRT/Chromium] Link resources and load Ahem font for Windows 191 https://bugs.webkit.org/show_bug.cgi?id=39473 192 193 * DumpRenderTree/chromium/DumpRenderTree.cpp: 194 (main): Call platformInit(). 195 * DumpRenderTree/chromium/TestShell.h: 196 Declare platformInit(). It is not related to TestShell class, but the 197 implementation of paltformInit() is placed at TestShell*.{cpp,mm}. 198 * DumpRenderTree/chromium/TestShellGtk.cpp: 199 (platformInit): 200 * DumpRenderTree/chromium/TestShellMac.mm: 201 (platformInit): 202 * DumpRenderTree/chromium/TestShellWin.cpp: 203 (platformInit): 204 - Make stdout/stderr binary mode 205 - Load Ahem font 206 207 2010-05-21 Eric Seidel <eric (a] webkit.org> 208 209 Unreviewed, EWS build fix only. 210 211 QueueStatusServer returns 500 error when EWS bots post empty queues 212 https://bugs.webkit.org/show_bug.cgi?id=39523 213 214 Mac python seems to have some built-in timezone support 215 however other python installs don't. So we need to ignore 216 timezones in our parsing. 217 218 Date parsing is tested by existing unit tests. 219 220 * QueueStatusServer/handlers/updateworkitems.py: 221 - Fix typo causing exception on server. 222 * Scripts/webkitpy/common/net/bugzilla.py: 223 - Fix exception due to python's lack of timezone support. 224 225 2010-05-21 Eric Seidel <eric (a] webkit.org> 226 227 Reviewed by Adam Barth. 228 229 QueueStatusServer returns 500 error when EWS bots post empty queues 230 https://bugs.webkit.org/show_bug.cgi?id=39523 231 232 updateworkitems handler was raising an exception because 233 int() couldn't convert "" to a number. 234 235 I attempted to unit test this but we don't yet have a system by 236 which to load unit tests for appengine classes which depend on 237 google.appengine libraries which are not in the python default install. 238 239 We'll need to write a wrapper script to load those into the python path 240 and then run the unit test files. 241 242 * QueueStatusServer/handlers/statusbubble.py: 243 - Hide cr-win-ews since we're not currently running this bot. 244 * QueueStatusServer/handlers/updateworkitems.py: 245 - Fix the parsing logic to be able to understand "". 246 * Scripts/webkitpy/common/net/statusserver.py: 247 - Only log the work items posted to the server to the debug log channel. 248 249 2010-05-21 Eric Seidel <eric (a] webkit.org> 250 251 Unreviewed, fixing the commit-queue to run again. 252 253 Make the EWSes report queue position in white bubbles 254 https://bugs.webkit.org/show_bug.cgi?id=39519 255 256 * Scripts/webkitpy/common/net/statusserver.py: 257 - Fix exception in _post_work_items_to_server when passed 258 integers. Unfortunately we have no good way to mock 259 the Browser object yet, and after several attempts I was 260 not able to create a good one, so no tests. :( 261 262 2010-05-14 Ojan Vafai <ojan (a] chromium.org> 263 264 Reviewed by Eric Seidel. 265 266 webkit-patch land --squash commits too much if branch is not up to date 267 https://bugs.webkit.org/show_bug.cgi?id=38852 268 269 * Scripts/webkitpy/common/checkout/scm.py: 270 * Scripts/webkitpy/common/checkout/scm_unittest.py: 271 272 2010-05-21 Eric Seidel <eric (a] webkit.org> 273 274 Reviewed by Adam Barth. 275 276 Make the EWSes report queue position in white bubbles 277 https://bugs.webkit.org/show_bug.cgi?id=39519 278 279 This also fixes sorting of commit-queue patches 280 to be in order of patch attachment. 281 https://bugs.webkit.org/show_bug.cgi?id=33395 282 283 This makes the various Queues post what patches they are about to process 284 so that we can display a list of patches on status server pages, as well 285 as report queue position in status bubbles. 286 287 This is the first step towards creating a control-channel for the queues. 288 Next step will be to have them read back the patches in order from the server 289 and finally we will add the ability for the server to control that order. 290 291 * Scripts/webkitpy/common/net/bugzilla.py: 292 - Teach bugzilla how to parse attach_date for attachments. 293 * Scripts/webkitpy/common/net/bugzilla_unittest.py: 294 - Test that we're parsing dates correctly. 295 This may have timezone issues for non-PST contributers, unsure. 296 * Scripts/webkitpy/common/net/statusserver.py: 297 - Post work items to the status server for display. 298 * Scripts/webkitpy/tool/bot/patchcollection.py: 299 - Call StatusServer.update_work_items 300 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: 301 - Update unit test results now that we're posting work item list. 302 * Scripts/webkitpy/tool/commands/queues.py: 303 - Call StatusSever.update_work_items 304 - Sort patches so that the server's list understands 305 that the commit-queue gives priority to rollout patches. 306 - I also fixed patch sorting per bug 33395 while I was here. 307 * Scripts/webkitpy/tool/commands/queues_unittest.py: 308 - Update results after update_work_items changes. 309 - Test attachment sorting. 310 * Scripts/webkitpy/tool/mocktool.py: 311 - Add mock for update_work_items 312 313 2010-05-21 Robin Cao <robin.cao (a] torchmobile.com.cn> 314 315 Reviewed by Adam Roben. 316 317 fast/dom/HTMLObjectElement/children-changed.html times out on Windows run-webkit-tests 318 https://bugs.webkit.org/show_bug.cgi?id=31315 319 320 * DumpRenderTree/win/FrameLoadDelegate.cpp: 321 (FrameLoadDelegate::didFailProvisionalLoadWithError): Need to invoke locationChangeDone here as mac port does. 322 323 2010-05-20 Mark Rowe <mrowe (a] apple.com> 324 325 Rubber-stamped by Dan Bernstein. 326 327 <rdar://problem/7848154> Remove the dependency on Foundation's private __COCOA_FORMAL_PROTOCOLS_2__ define. 328 329 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 330 331 2010-05-20 Tony Gentilcore <tonyg (a] chromium.org> 332 333 Reviewed by Daniel Bates. 334 335 Look in /proc/registry64 for the Platform SDK on 64-bit Windows. 336 https://bugs.webkit.org/show_bug.cgi?id=39296 337 338 The build-webkit script failed for me on Vista 64. A web search turned 339 up this blog post with a patch that worked for me: 340 http://www.nicholaswilson.me.uk/2010/04/hacking-webkit-fail/ 341 342 * Scripts/webkitdirs.pm: 343 344 2010-05-20 Eric Seidel <eric (a] webkit.org> 345 346 Reviewed by Adam Barth. 347 348 ThreadedMessageQueue should use with_statement for exception safety 349 https://bugs.webkit.org/show_bug.cgi?id=39233 350 351 * Scripts/webkitpy/common/thread/threadedmessagequeue.py: 352 353 2010-05-20 Diego Gonzalez <diegohcg (a] webkit.org> 354 355 Reviewed by Kenneth Rohde Christiansen. 356 357 [Qt] QtTestBrowser does not support websites which requires HTTP Authentication via dialogs 358 https://bugs.webkit.org/show_bug.cgi?id=38456 359 360 * QtTestBrowser/webpage.cpp: 361 (WebPage::WebPage): 362 (WebPage::authenticationRequired): 363 * QtTestBrowser/webpage.h: 364 365 2010-05-20 Martin Robinson <mrobinson (a] igalia.com> 366 367 Reviewed by Eric Seidel. 368 369 editingBehavior settings needs to be set back to a reasonable default between tests 370 https://bugs.webkit.org/show_bug.cgi?id=39433 371 372 For now, hard code the default setting during reset, so that the serialized 373 version of the setting stays in sync with expectations. 374 375 * DumpRenderTree/mac/DumpRenderTree.mm: 376 (resetDefaultsToConsistentValues): Reset editing behavior to the appropriate platform default. 377 * DumpRenderTree/win/DumpRenderTree.cpp: 378 (resetDefaultsToConsistentValues): Ditto. 379 380 2010-05-20 Brent Fulgham <bfulgham (a] webkit.org> 381 382 Build fix. No review. 383 384 The WebKitAPITest targets do not use the "_debug" suffix needed 385 by the WinCairo port. Added Debug_Cairo target to correct this. 386 387 * WebKitAPITest/WebKitAPITest.vcproj: 388 389 2010-05-20 Martin Robinson <mrobinson (a] igalia.com> 390 391 Reviewed by Ojan Vafai. 392 393 editing/selection/extend-selection-after-double-click.html crashes on the Leopard Intel release bot 394 https://bugs.webkit.org/show_bug.cgi?id=39431 395 396 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 397 (LayoutTestController::setEditingBehavior): 398 Prevent a double-free by not having this variable be in the auto-release pool. 399 400 2010-05-20 Martin Robinson <mrobinson (a] webkit.org> 401 402 Reviewed by Ojan Vafai. 403 404 Expose the editing behavior setting in DRT to test all editing code paths 405 https://bugs.webkit.org/show_bug.cgi?id=38603 406 407 * DumpRenderTree/LayoutTestController.cpp: 408 (setEditingBehaviorCallback): Added. 409 (LayoutTestController::staticFunctions): Expose the setEditingBehaviorCallback function. 410 * DumpRenderTree/LayoutTestController.h: 411 * DumpRenderTree/chromium/LayoutTestController.cpp: Add callback method for setting editing behavior. 412 * DumpRenderTree/chromium/LayoutTestController.h: Declaration for this method. 413 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 414 (LayoutTestController::setEditingBehavior): Implementation of editing behavior control. 415 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 416 (LayoutTestController::setEditingBehavior): Ditto 417 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 418 (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control. 419 * DumpRenderTree/qt/LayoutTestControllerQt.h: 420 (LayoutTestController::setEditingBehavior): Add slot for controlling editor behavior. 421 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 422 (LayoutTestController::setEditingBehavior): Implementation of editing behavior control. 423 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 424 (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control. 425 426 2010-05-20 Kent Tamura <tkent (a] chromium.org> 427 428 Reviewed by Eric Seidel. 429 430 [DRT/Chromium] Increase the time out value 431 https://bugs.webkit.org/show_bug.cgi?id=39203 432 433 Change the time out value of Chromium DRT to 30 seconds, which is 434 the same as other ports. 435 If a DRT process exits before new-run-webkit-tests detects time 436 out, new-run-webkit-tests assumes the DRT process crashed. 437 438 * DumpRenderTree/chromium/TestShell.cpp: 439 (TestShell::layoutTestTimeout): 440 Change the time out value from 10 seconds to 30 seconds. 441 442 2010-05-20 Chris Evans <cevans (a] google.com> 443 444 Unreviewed. 445 446 Marking myself as a committer. 447 448 * Scripts/webkitpy/common/config/committers.py: Add cevans (a] google.com. 449 450 2010-05-20 Simon Hausmann <simon.hausmann (a] nokia.com> 451 452 Reviewed by Tor Arne Vestbo. 453 454 [Qt] Weekly binary builds on Mac OS X don't work when launched in the Finder 455 https://bugs.webkit.org/show_bug.cgi?id=37273 456 457 * QtTestBrowser/QtTestBrowser.pro: Build QtLauncher as bundle in package builds 458 459 2010-05-20 Fumitoshi Ukai <ukai (a] chromium.org> 460 461 Unreviewed fix for websocket test failures. 462 463 * Scripts/new-run-webkit-websocketserver: 464 options is named parameter for factory.get(). 465 466 2010-05-20 Fumitoshi Ukai <ukai (a] chromium.org> 467 468 Reviewed by Shinichiro Hamaji. 469 470 Chromium: Add --chromium option to new-run-webkit-websocketserver 471 https://bugs.webkit.org/show_bug.cgi?id=37664 472 473 Missed to pass options to factory.get() in r59595 474 475 * Scripts/new-run-webkit-websocketserver: 476 Pass options to factory.get(). 477 478 2010-05-19 Eric Seidel <eric (a] webkit.org> 479 480 Reviewed by Adam Roben. 481 482 WinEWS should build Debug instead of Release 483 https://bugs.webkit.org/show_bug.cgi?id=39242 484 485 This is a workaround for 486 https://bugs.webkit.org/show_bug.cgi?id=39197 487 Adam Roben and Brian Weinstein believe this may 488 also make building faster since Debug builds 489 take less time to link. 490 491 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 492 493 2010-05-19 Dirk Pranke <dpranke (a] chromium.org> 494 495 Unreviewed, build fix. 496 497 * DumpRenderTree/chromium/NotificationPresenter.cpp: 498 (NotificationPresenter::show): 499 500 2010-05-19 Eric Seidel <eric (a] webkit.org> 501 502 Reviewed by Adam Barth. 503 504 user.py throws exception when readline module is missing 505 https://bugs.webkit.org/show_bug.cgi?id=39239 506 507 * Scripts/webkitpy/common/system/user.py: 508 - The error handling path requires the "sys" module, 509 so added an import sys at the top of the file. 510 511 2010-05-18 Kent Tamura <tkent (a] chromium.org> 512 513 Reviewed by Dimitri Glazkov. 514 515 [DRT/Chromium] Fix a repaint issue and textarea tests 516 https://bugs.webkit.org/show_bug.cgi?id=39054 517 518 * DumpRenderTree/chromium/WebViewHost.cpp: 519 (WebViewHost::canvas): Remove m_paintRect initialization in canvas(). 520 This line updated m_paintRect unexpectedly during paintRect(). 521 We don't need to initialize m_paintRect because show() does it. 522 523 2010-05-18 Tony Chang <tony (a] chromium.org> 524 525 Reviewed by Kent Tamura. 526 527 [chromium] new-run-webkit-tests --use-drt should run on Linux 528 https://bugs.webkit.org/show_bug.cgi?id=37845 529 530 * Scripts/webkitpy/layout_tests/port/chromium.py: 531 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 532 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 533 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py: 534 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 535 536 2010-05-18 Kent Tamura <tkent (a] chromium.org> 537 538 Reviewed by Dimitri Glazkov. 539 540 [DRT/Chromium] Fix some initialization/reset issues 541 https://bugs.webkit.org/show_bug.cgi?id=39281 542 543 * DumpRenderTree/chromium/LayoutTestController.cpp: 544 (LayoutTestController::reset): Reset m_userStyleSheetLocation. 545 * DumpRenderTree/chromium/LayoutTestController.h: 546 Remove unused variable, m_workQueueFrozen. 547 (LayoutTestController::WorkQueue::WorkQueue): Initialize m_frozen. 548 * DumpRenderTree/chromium/TestShell.cpp: 549 (TestShell::resetTestController): Reset WebSettings too. 550 551 2010-05-18 Dirk Pranke <dpranke (a] chromium.org> 552 553 Reviewed by Ojan Vafai. 554 555 new-run-webkit-tests: implement '--reset-results' flag to complement 556 the '--new-baseline' flag. '--new-baseline' will always write the 557 results into the platform directory; '--reset-results' will update the 558 existing baseline wherever it happens to be. Both sets of behavior 559 are useful in different circumstances. 560 561 https://bugs.webkit.org/show_bug.cgi?id=38879 562 563 * Scripts/webkitpy/layout_tests/data/image/canvas-bg.html: Added. 564 * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.checksum: Added. 565 * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.png: Added. 566 * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.txt: Added. 567 * Scripts/webkitpy/layout_tests/data/image/canvas-zoom.html: Added. 568 * Scripts/webkitpy/layout_tests/data/misc/crash-expected.txt: Added. 569 * Scripts/webkitpy/layout_tests/data/misc/crash.html: Added. 570 * Scripts/webkitpy/layout_tests/data/misc/missing-expectation.html: Added. 571 * Scripts/webkitpy/layout_tests/data/misc/passing-expected.txt: Added. 572 * Scripts/webkitpy/layout_tests/data/misc/passing.html: Added. 573 * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.checksum: Added. 574 * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.png: Added. 575 * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.txt: Added. 576 * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt: Added. 577 * Scripts/webkitpy/layout_tests/data/text/article-element-expected.txt: Added. 578 * Scripts/webkitpy/layout_tests/data/text/article-element.html: Added. 579 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py: 580 * Scripts/webkitpy/layout_tests/port/test.py: 581 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 582 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 583 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py: 584 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 585 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 586 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 587 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 588 * Scripts/webkitpy/layout_tests/port/test.py: 589 * Scripts/webkitpy/layout_tests/port/dryrun.py: 590 591 2010-05-18 Eric Seidel <eric (a] webkit.org> 592 593 Reviewed by Adam Roben. 594 595 Add an --html5-parser option to DumpRenderTree to allow testing the new HTML5Lexer 596 https://bugs.webkit.org/show_bug.cgi?id=39311 597 598 This flag allows us to run the new HTML5Lexer code. 599 Right now all documents parse as empty documents, but 600 now that we're able to run the code we can fix that. 601 602 Once we're able to lex a few basic documents I'll add 603 an --html5-parser flag to run-webkit-tests so that we test 604 running all of the layout tests with the HTML5 parser. 605 606 * DumpRenderTree/mac/DumpRenderTree.mm: 607 (resetDefaultsToConsistentValues): 608 (initializeGlobalsFromCommandLineOptions): 609 610 2010-05-08 Robert Hogan <robert (a] roberthogan.net> 611 612 Reviewed by Simon Hausmann. 613 614 [Qt] Fix http/tests/xmlhttprequest/cross-origin-no-authorization.html 615 and http/tests/xmlhttprequest/cross-origin-authorization.html 616 617 QHttpNetworkRequest adds Authorization and Cookie headers to XHRs 618 without knowing if this is valid behaviour or not. In order to allow 619 Qt to decide whether Cookie/Authorization headers should be added 620 to an XHR QtWebKit needs to use an attribute added to QNetworkRequest. 621 These new attributes are: QNetworkRequest::CookieLoadControlAttribute, 622 QNetworkRequest::CookieSaveControlAttribute,and 623 QNetworkRequest::AuthenticationReuseControlAttribute. 624 625 In order to properly support the tests, Qt's DRT needs to use one 626 NetworkAccessManager for all pages. This allows it to use cached 627 credentials where appropriate. 628 629 The tests now pass when run individually but there seems to be a problem with 630 leaking the results of requests across tests when run with the others in 631 http/tests. This will be addressed in a separate patch. 632 633 https://bugs.webkit.org/show_bug.cgi?id=32967 634 635 636 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 637 (WebCore::WebPage::WebPage): 638 (WebCore::DumpRenderTree::DumpRenderTree): 639 * DumpRenderTree/qt/DumpRenderTreeQt.h: 640 641 642 2010-05-18 Fumitoshi Ukai <ukai (a] chromium.org> 643 644 Reviewed by Eric Seidel. 645 646 run_webkit_tests_unittest fails on SnowLeopard 647 https://bugs.webkit.org/show_bug.cgi?id=39279 648 649 * Scripts/webkitpy/layout_tests/port/base.py: 650 Return copy of os.environ. 651 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py: 652 Check os.environ was not modified. 653 654 2010-05-18 Fumitoshi Ukai <ukai (a] chromium.org> 655 656 Reviewed by Eric Seidel. 657 658 Chromium: new-run-webkit-httpd fails to setup_mount 659 https://bugs.webkit.org/show_bug.cgi?id=39257 660 661 * Scripts/webkitpy/common/system/executive.py: 662 Assert type of args in run_command. 663 * Scripts/webkitpy/common/system/executive_unittest.py: 664 Add test_run_command_args_type 665 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 666 Executive.run_command takes array for command line. 667 * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py: 668 Test if setup_environ_for_server() run setup_mount.bat. 669 670 2010-05-17 Kent Tamura <tkent (a] chromium.org> 671 672 Reviewed by David Levin. 673 674 Chromium Windows build system does not rebuild correctly when 675 enabling/disabling a feature 676 https://bugs.webkit.org/show_bug.cgi?id=38926 677 678 Add a workaround of this issue. 679 680 * Scripts/update-webkit: 681 Chromium-Windows only: If WebKit/chromium/features.gyp has been 682 updated, remove WebKit/chromium/Debug and WebKit/chromium/Release. 683 684 2010-05-17 Sheriff Bot <webkit.review.bot (a] gmail.com> 685 686 Unreviewed, rolling out r59631. 687 http://trac.webkit.org/changeset/59631 688 https://bugs.webkit.org/show_bug.cgi?id=39255 689 690 chromium canaries can no longer run webkit_tests, suspect this 691 change. (Requested by atwilson on #webkit). 692 693 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 694 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 695 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 696 697 2010-05-17 Eric Seidel <eric (a] webkit.org> 698 699 Reviewed by Adam Barth. 700 701 Attempt to make new-run-webkit-tests --help more sane 702 https://bugs.webkit.org/show_bug.cgi?id=37836 703 704 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 705 - Add a FIXME about options.singly and options.batch_size being different. 706 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 707 - Add support for hidden options. 708 - Add option groupings to attempt to simplify --help. 709 - Fix a bunch of option helps to start with a capitalized verb. 710 - Hide a bunch of options which make no sense to users. 711 - Sort options in --help. 712 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 713 - Add tests for option sorting. 714 715 2010-05-17 Robert Hogan <robert (a] webkit.org> 716 717 Reviewed by Kenneth Rohde Christiansen. 718 719 [Qt] Disable Icon Database by default in Qt DRT 720 721 Unskip: 722 http/tests/misc/favicon-loads-with-images-disabled.html 723 http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html 724 http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html 725 http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag.html 726 727 https://bugs.webkit.org/show_bug.cgi?id=37382 728 729 Add support for layoutTestController.setIconDatabaseEnabled and layoutTestController.disableImageLoading(). 730 The XFrameOptions tests were failing because of an extra resource load callback for favicon.ico requests. 731 These extra callbacks are removed by supporting both of the above layoutTestContoller commands. 732 733 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 734 (WebCore::WebPage::resetSettings): 735 (WebCore::DumpRenderTree::DumpRenderTree): 736 * DumpRenderTree/qt/DumpRenderTreeQt.h: 737 (WebCore::DumpRenderTree::drtStoragePath): 738 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 739 (LayoutTestController::reset): 740 (LayoutTestController::disableImageLoading): 741 (LayoutTestController::setIconDatabaseEnabled): 742 * DumpRenderTree/qt/LayoutTestControllerQt.h: 743 744 2010-05-17 Fumitoshi Ukai <ukai (a] chromium.org> 745 746 Reviewed by Eric Seidel. 747 748 Chromium: Add --chromium option to new-run-webkit-websocketserver 749 https://bugs.webkit.org/show_bug.cgi?id=37664 750 751 os.environ setup and setup_mount for cygwin are moved in ChromiumWinPort.setup_environ_for_server. 752 753 * Scripts/new-run-webkit-httpd: 754 Remove passing register_cygwin. 755 * Scripts/new-run-webkit-websocketserver: 756 Add --chromium flag. 757 Remove passing register_cygwin. 758 Create port object using options. 759 * Scripts/webkitpy/layout_tests/port/base.py: 760 Add setup_environ_for_server(). 761 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 762 Ditto. 763 * Scripts/webkitpy/layout_tests/port/factory_unittest.py: Added. 764 * Scripts/webkitpy/layout_tests/port/http_server.py: 765 Remove register_cygwin_parameter. 766 Call setup_environ_for_server(). 767 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 768 Ditto. 769 770 2010-05-16 Daniel Bates <dbates (a] rim.com> 771 772 Reviewed by Chris Jerdonek. 773 774 https://bugs.webkit.org/show_bug.cgi?id=39184 775 776 Adds function VCSUtils::parseSvnProperty to parse an SVN property with 777 either a single-line or multi-line value change. 778 779 * Scripts/VCSUtils.pm: 780 - Added function parseSvnProperty. We will use this function 781 towards resolving Bug #38885 <https://bugs.webkit.org/show_bug.cgi?id=38885>. 782 - Removed FIXME comment above function parseSvnPropertyValue, since 783 it is being used by parseSvnProperty. 784 - Modified function parseSvnPropertyValue to break out of "while (<$fileHandle>)" 785 loop when it encounters the start of the next property so that it can be 786 processed by its caller, parseSvnPropertyValue. We reference this bullet below 787 by (*). 788 * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl: Added. 789 - Added unit tests. 790 * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl: 791 - Changed the name of the unit test "simple multi-line '-' change" to 792 "single-line '-' change followed by empty line" since the former was an 793 incorrect description of this test. 794 - Added unit test "single-line '-' change followed by the next property", and 795 "multi-line '-' change followed by the next property" to test (*) above. 796 797 2010-05-16 Tony Chang <tony (a] chromium.org> 798 799 Not reviewed, fixing layout test. 800 801 Don't output Inspect Element since this is not enabled on the bots, 802 but most developers probably have it installed. 803 804 * DumpRenderTree/mac/EventSendingController.mm: 805 (-[EventSendingController contextClick:]): 806 807 2010-05-12 Tony Chang <tony (a] chromium.org> 808 809 Reviewed by Darin Adler. 810 811 Spellcheck disabling does not disable context menu 812 https://bugs.webkit.org/show_bug.cgi?id=25639 813 814 * DumpRenderTree/mac/EventSendingController.mm: 815 (+[EventSendingController isSelectorExcludedFromWebScript:]): 816 (+[EventSendingController webScriptNameForSelector:]): 817 (-[EventSendingController contextClick:]): add a bool parameter that 818 when true, dumps the context menu items to stdout. 819 820 2010-05-16 Robert Hogan <robert (a] webkit.org> 821 822 Reviewed by Kenneth Rohde Christiansen. 823 824 [Qt] Unskip fast/loader/main-document-url-for-non-http-loads.html 825 826 Update Qt DRT to use frame loader, editor client and notification presenter 827 functions in DumpRenderTreeSupportQt. 828 829 https://bugs.webkit.org/show_bug.cgi?id=38867 830 831 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 832 (WebCore::DumpRenderTree::open): 833 (WebCore::DumpRenderTree::dump): 834 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 835 (LayoutTestController::LayoutTestController): 836 (LayoutTestController::reset): 837 (LayoutTestController::dumpEditingCallbacks): 838 (LayoutTestController::dumpFrameLoadCallbacks): 839 (LayoutTestController::dumpResourceLoadCallbacks): 840 (LayoutTestController::setWillSendRequestReturnsNullOnRedirect): 841 (LayoutTestController::setWillSendRequestReturnsNull): 842 (LayoutTestController::setWillSendRequestClearHeader): 843 844 2010-05-16 Eric Seidel <eric (a] webkit.org> 845 846 Unreviewed, rolling out r59571. 847 http://trac.webkit.org/changeset/59571 848 https://bugs.webkit.org/show_bug.cgi?id=39054 849 850 Broke Cr Win, but we didn't notice immediately due to 851 https://bugs.webkit.org/show_bug.cgi?id=38926. It's possible 852 that this didn't actually break Cr Win, but rather that bug 853 38926 necessitates a clean compile after this and sucessive 854 checkins only produced a partial recompile and thus failed to 855 build. 856 857 * DumpRenderTree/chromium/WebViewHost.cpp: 858 (WebViewHost::canvas): 859 860 2010-05-16 Robert Hogan <robert (a] webkit.org> 861 862 Reviewed by Kenneth Rohde Christiansen. 863 864 [Qt]Unskip security/set-form-autocomplete-attribute.html 865 866 Add support for layoutTestController.elementDoesAutoCompleteForElementWithId(). 867 868 https://bugs.webkit.org/show_bug.cgi?id=38859 869 870 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 871 (LayoutTestController::elementDoesAutoCompleteForElementWithId): 872 * DumpRenderTree/qt/LayoutTestControllerQt.h: 873 874 2010-05-16 Kent Tamura <tkent (a] chromium.org> 875 876 Reviewed by Dimitri Glazkov. 877 878 [DRT/Chromium] Fix repaint, WebGL, textarea tests 879 https://bugs.webkit.org/show_bug.cgi?id=39054 880 881 * DumpRenderTree/chromium/WebViewHost.cpp: 882 (WebViewHost::canvas): Remove m_paintRect initialization in canvas(). 883 This line updated m_paintRect unexpectedly during paintRect(). 884 We don't need to initialize m_paintRect because show() does it. 885 886 2010-05-16 Sergio Villar Senin <svillar (a] igalia.com> 887 888 Reviewed by Gustavo Noronha Silva. 889 890 [GTK] Improve reporting of frame loader callbacks in DRT 891 https://bugs.webkit.org/show_bug.cgi?id=36454 892 893 * DumpRenderTree/gtk/DumpRenderTree.cpp: 894 (webViewLoadStatusNotified): 895 (createWebView): added connection to notify::load-status and 896 signal callback 897 898 2010-05-15 Daniel Bates <dbates (a] rim.com> 899 900 Reviewed by Chris Jerdonek. 901 902 https://bugs.webkit.org/show_bug.cgi?id=39170 903 904 Add function parseSvnPropertyValue to parse single-line and multi-line 905 property values of an SVN property change. 906 907 * Scripts/VCSUtils.pm: 908 Added function parseSvnPropertyValue. We will use this as part of 909 Bug #38885 <https://bugs.webkit.org/show_bug.cgi?id=38885>. 910 * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl: Added. 911 912 2010-05-15 Jochen Eisinger <jochen (a] chromium.org> 913 914 Reviewed by Dmitry Titov. 915 916 Add allowDatabase method to TestWebWorker. 917 https://bugs.webkit.org/show_bug.cgi?id=38742 918 919 * DumpRenderTree/chromium/TestWebWorker.h: 920 (TestWebWorker::allowDatabase): 921 922 2010-05-15 Simon Hausmann <simon.hausmann (a] nokia.com> 923 924 Rubber-stamped by Antti Koivisto. 925 926 [Qt] Rename QtLauncher to QtTestBrowser 927 https://bugs.webkit.org/show_bug.cgi?id=37665 928 929 Forgot to remove the original directory after the rename. 930 931 * QtLauncher: Removed. 932 933 2010-05-15 Sheriff Bot <webkit.review.bot (a] gmail.com> 934 935 Unreviewed, rolling out r59544. 936 http://trac.webkit.org/changeset/59544 937 https://bugs.webkit.org/show_bug.cgi?id=39165 938 939 Cased LayoutTest to start crashing (Requested by abarth on 940 #webkit). 941 942 * Scripts/old-run-webkit-tests: 943 944 2010-05-15 Mario Sanchez Prada <msanchez (a] igalia.com> 945 946 Reviewed by Xan Lopez. 947 948 Ensure DRT loads GAIL (Gtk+ module), for a11y tests 949 https://bugs.webkit.org/show_bug.cgi?id=38648 950 951 Add the GTK_MODULES envvar (set to "gail") to the clean 952 environment when running DRT for the Gtk+ port 953 954 * Scripts/old-run-webkit-tests: 955 956 2010-05-15 Eric Seidel <eric (a] webkit.org> 957 958 Reviewed by Maciej Stachowiak. 959 960 Add script to check for minimum python version and install if missing on Tiger 961 https://bugs.webkit.org/show_bug.cgi?id=38886 962 963 Per Maciej's request on webkit-dev: 964 https://lists.webkit.org/pipermail/webkit-dev/2010-May/012785.html 965 provide a script which can automatically install Python on Tiger where 966 the system provided version is too old to be of use. 967 968 Note this uses the official Mac Python installer from python.org. 969 This installs a copy of Python in /Library/Frameworks/Python.framework. 970 It also makes symlinks from /usr/local/bin to the Python.framework/bin. 971 972 I have tested this script on Leopard and it worked fine. I have not 973 tested it on Tiger as I do not have access to a Tiger machine. In 974 either case this should provide a great starting point for someone 975 wishing to upgrade their copy of Python on Tiger. 976 977 Future patches can make our scripts depend on a success return from this 978 script and then they can either skip tests/sections for which python is 979 insufficient, or they can fail themselves. 980 981 * Scripts/ensure-valid-python: Added. 982 983 2010-05-15 Eric Seidel <eric (a] webkit.org> 984 985 Reviewed by Adam Barth. 986 987 Display queue position inside EWS bubbles 988 https://bugs.webkit.org/show_bug.cgi?id=38979 989 990 This ended up being a lot of clean-up to our status server code. 991 992 Added a new WorkItems model, a form with which to fill it, 993 and taught the Attachment class how to calculate the current queue 994 postion for an attachment using the data in WorkItems. 995 996 I also finally made statusbubble.* and dashboard.* not use copy-paste code. 997 998 The Attachment class has this summary() method which is very 999 controller/view-like and does not belong in a model class. 1000 This patch got rid of all direct uses of summary(). 1001 1002 * QueueStatusServer/handlers/dashboard.py: 1003 - Build row objects to hand off to the view instead of handing off a 1004 summary object and expecting the view to process it directly. 1005 * QueueStatusServer/handlers/statusbubble.py: 1006 - Build bubble object and hand them off to the view. 1007 * QueueStatusServer/handlers/updatestatus.py: 1008 - Code cleanup. Just move some code into _queue_status_from_request 1009 to make the main put() handler easier to read. 1010 * QueueStatusServer/handlers/updateworkitems.py: Added. 1011 - Controller to handle storing WorkItems model objects. 1012 * QueueStatusServer/main.py: 1013 - Add route for /update-work-items 1014 * QueueStatusServer/model/attachment.py: 1015 - Add new methods to replace direct summary() access. 1016 - Teach attachment how to calculate queue positions from WorkItems data. 1017 * QueueStatusServer/model/queues.py: 1018 - Move name_with_underscores here for easier re-use. 1019 * QueueStatusServer/model/workitems.py: Added. 1020 - New model for storing what items are currently queue for any bot. 1021 * QueueStatusServer/templates/dashboard.html: 1022 - Kill the copy/paste code! 1023 * QueueStatusServer/templates/statusbubble.html: 1024 - Kill the copy/paste code! 1025 * QueueStatusServer/templates/updateworkitems.html: Added. 1026 - Simple form for updating a queue's current work items. 1027 1028 2010-05-15 Joanmarie Diggs <joanmarie.diggs (a] gmail.com> 1029 1030 Reviewed by Xan Lopez. 1031 1032 https://bugs.webkit.org/show_bug.cgi?id=30500 1033 [Gtk] Find a way for WebKit to "announce" itself so that ATs can readily distinguish it from true Gtk/Gail 1034 1035 The "announcement" is now made in the form of an object attribute 1036 associated with the AtkObject. 1037 1038 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 1039 (AccessibilityUIElement::allAttributes): 1040 (attributeSetToString): 1041 1042 2010-05-15 Mario Sanchez Prada <msanchez (a] igalia.com> 1043 1044 Reviewed by Xan Lopez. 1045 1046 Accessibility: Implement isSelected in DRT for GTK 1047 https://bugs.webkit.org/show_bug.cgi?id=31018 1048 1049 Implement AccessibilityUIElement::isSelected() for Gtk 1050 1051 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 1052 (AccessibilityUIElement::isSelected): 1053 1054 2010-05-14 Adam Barth <abarth (a] webkit.org> 1055 1056 Reviewed by Eric Seidel. 1057 1058 scm.py should use self.run instead of run_command 1059 https://bugs.webkit.org/show_bug.cgi?id=38957 1060 1061 We've wanted to do this for a while, but it's a prerequiste for running 1062 SVN from the cwd instead of the checkout_root. 1063 1064 * Scripts/webkitpy/common/checkout/scm.py: 1065 1066 2010-05-14 Anton Muhin <antonm (a] chromium.org> 1067 1068 Reviewed by Darin Fisher. 1069 1070 [Chromium] Consider implementing addOriginAccessWhitelistEntry method 1071 https://bugs.webkit.org/show_bug.cgi?id=37578 1072 1073 Remove deprecated methods. 1074 1075 * DumpRenderTree/chromium/LayoutTestController.cpp 1076 * DumpRenderTree/chromium/LayoutTestController.h 1077 1078 2010-05-14 Kenneth Russell <kbr (a] google.com> 1079 1080 Reviewed by Darin Adler. 1081 1082 Rename WebGLArray types to TypedArray types 1083 https://bugs.webkit.org/show_bug.cgi?id=39091 1084 1085 Extended functionality of do-webcore-rename script and used it to 1086 rename the WebGLArray types to the TypedArray naming convention. 1087 The only source files which were touched by hand, and which are 1088 being manually reviewed, are: 1089 WebCore/page/DOMWindow.idl 1090 WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone) 1091 WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp 1092 WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp 1093 These only needed to be touched to update the aliases between the 1094 WebGLArray and TypedArray names introduced in bug 39036. (It was 1095 not feasible to have do-webcore-rename handle this as it would 1096 introduce circular renamings.) These aliases will be removed in 1097 roughly a month once existing WebGL content has been updated. 1098 1099 No new tests; covered under existing WebGL tests. Updated 1100 constructed-objects-prototypes and prototype-inheritance-2 tests. 1101 Ran all layout tests in Safari and all WebGL tests in Chromium. 1102 1103 * Scripts/do-webcore-rename: 1104 Handle the case where some renames are substrings of others. 1105 Support renaming files containing custom JS bindings. If 1106 isDOMTypeRename is non-zero, expand the regexp which rewrites 1107 the file's contents in order to support custom JS bindings. 1108 1109 2010-05-14 Eric Seidel <eric (a] webkit.org> 1110 1111 Reviewed by Adam Barth. 1112 1113 webkit-patch rollout throws exception if bug is already open 1114 https://bugs.webkit.org/show_bug.cgi?id=38803 1115 1116 This was caused by someone incorrectly wrapping the code. :p 1117 I'm going to have to start demanding unit tests for wrapping changes... 1118 1119 I also fixed the code to be able to reopen bugs which were never confirmed. 1120 Before it regressed, the code would just log in that case. Now it actually 1121 will reopen the bug, but there is a FIXME about how the logic is a bit backwards. 1122 1123 * Scripts/webkitpy/common/net/bugzilla.py: 1124 * Scripts/webkitpy/common/net/bugzilla_unittest.py: 1125 - Yay testing! 1126 1127 2010-05-14 Simon Hausmann <simon.hausmann (a] nokia.com> 1128 1129 Rubber-stamped by Antti Koivisto. 1130 1131 [Qt] Rename QtLauncher to QtTestBrowser 1132 1133 * QtTestBrowser: Copied from WebKitTools/QtLauncher. 1134 * QtTestBrowser/QtLauncher.pro: Removed. 1135 * QtTestBrowser/QtLauncher.qrc: Removed. 1136 * QtTestBrowser/QtTestBrowser.pro: Copied from WebKitTools/QtLauncher/QtLauncher.pro. 1137 * QtTestBrowser/QtTestBrowser.qrc: Copied from WebKitTools/QtLauncher/QtLauncher.qrc. 1138 * Scripts/run-launcher: 1139 * Scripts/webkitdirs.pm: 1140 1141 2010-05-14 Adam Barth <abarth (a] webkit.org> 1142 1143 Reviewed by Eric Seidel. 1144 1145 Stop CCing webkit-bot-watchers 1146 https://bugs.webkit.org/show_bug.cgi?id=39020 1147 1148 webkit-bot-watchers is somewhat of a failed experiment. No one 1149 subscribed to the list (not even me). Removing it from the code 1150 because wms says it bounces email sometimes. 1151 1152 * Scripts/webkitpy/tool/commands/queues.py: 1153 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 1154 1155 2010-05-14 Eric Seidel <eric (a] webkit.org> 1156 1157 Reviewed by Adam Barth. 1158 1159 REGRESSION: webkit-patch commit-message throws exception 1160 https://bugs.webkit.org/show_bug.cgi?id=38997 1161 1162 * Scripts/webkitpy/tool/commands/upload.py: 1163 - Fix to respect and pass the --squash and --git-commit options. 1164 * Scripts/webkitpy/tool/commands/upload_unittest.py: 1165 - Fix the unit test to use the central MockCheckout instead of 1166 its own custom Mock which didn't require enough parameters. 1167 1168 2010-05-13 Diego Gonzalez <diegohcg (a] webkit.org> 1169 1170 Reviewed by Kenneth Rohde Christiansen. 1171 1172 [Qt] Improve QtLauncher user agent dialog resize 1173 https://bugs.webkit.org/show_bug.cgi?id=39062 1174 1175 * QtLauncher/main.cpp: 1176 (LauncherWindow::showUserAgentDialog): 1177 1178 2010-05-13 Eric Seidel <eric (a] webkit.org> 1179 1180 Reviewed by Ojan Vafai. 1181 1182 Disable compositing/iframes tests on the commit-queue as a workaround for bug 38912 1183 https://bugs.webkit.org/show_bug.cgi?id=39067 1184 1185 Fix yet another typo in my original hack. 1186 I also added another unit test for this fix. 1187 1188 * Scripts/webkitpy/common/config/ports.py: 1189 * Scripts/webkitpy/common/config/ports_unittest.py: 1190 1191 2010-05-13 Eric Seidel <eric (a] webkit.org> 1192 1193 Reviewed by Ojan Vafai. 1194 1195 Disable compositing/iframes tests on the commit-queue as a workaround for bug 38912 1196 https://bugs.webkit.org/show_bug.cgi?id=39067 1197 1198 My previous (unreviewed) hack didn't actually work due to checking "mac" instead of "Mac". 1199 This change fixes my hack, and unit tests it. 1200 1201 * Scripts/webkitpy/tool/mocktool.py: 1202 - Make it possible to make run_command log too. 1203 * Scripts/webkitpy/tool/steps/runtests.py: 1204 - Fix my hack to actually work. 1205 * Scripts/webkitpy/tool/steps/steps_unittest.py: 1206 - Test my hack (and basic RunTests behavior as well). 1207 1208 2010-05-13 Antonio Gomes <tonikitoo (a] webkit.org>, Yi Shen <yi.4.shen (a] nokia.com> 1209 1210 Reviewed by Kenneth Christiansen. 1211 1212 [Qt] Add LayoutTestController interface: computedStyleIncludingVisitedInfo 1213 https://bugs.webkit.org/show_bug.cgi?id=37759 1214 1215 WebKitTools: 1216 1217 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 1218 (LayoutTestController::computedStyleIncludingVisitedInfo): 1219 * DumpRenderTree/qt/LayoutTestControllerQt.h: 1220 1221 2010-05-10 Adam Roben <aroben (a] apple.com> 1222 1223 Convert status bar text to UTF-8 before logging it on Windows 1224 1225 We were previously logging the text using printf("%S", bstr). This 1226 converts the UTF-16 BSTR to a multibyte string using wctomb, which 1227 uses the codepage for the current locale to perform the conversion. 1228 The conversion was failing, causing printf to bail and truncate the 1229 string. By converting to UTF-8 manually before logging, we avoid this 1230 issue (and also end up with UTF-8 output, which is what the expected 1231 results contain). We may have to do this in other places in DRT, 1232 eventually. 1233 1234 Fixes <http://webkit.org/b/38849> REGRESSION (r59016): 1235 plugins/set-status.html fails on Windows 1236 1237 Reviewed by Alexey Proskuryakov. 1238 1239 * DumpRenderTree/win/DumpRenderTree.cpp: 1240 (toUTF8): Moved this here from FrameLoadDelegate. Renamed from 1241 BSTRtoString. 1242 1243 * DumpRenderTree/win/DumpRenderTreeWin.h: Added declaration of toUTF8. 1244 1245 * DumpRenderTree/win/FrameLoadDelegate.cpp: Removed BSTRtoString. 1246 (descriptionSuitableForTestResult): Updated for rename. 1247 1248 * DumpRenderTree/win/UIDelegate.cpp: 1249 (UIDelegate::setStatusText): Convert the status bar text to UTF-8 1250 before logging it so that Windows won't try (and fail) to convert it 1251 to the current locale's codepage. 1252 1253 2010-05-13 Eric Seidel <eric (a] webkit.org> 1254 1255 Unreviewed hack, attempting to get the commit-queue running again. 1256 1257 Disable compositing/iframes tests on the commit-queue as a workaround for bug 38912 1258 https://bugs.webkit.org/show_bug.cgi?id=39067 1259 1260 I had this hack locally on the commit-queue, but it's fragile 1261 and broke this morning. It will work much better if committed 1262 to the repository. In either case it's temporary while we 1263 work up a real fix for bug 38912. 1264 1265 * Scripts/webkitpy/common/config/ports.py: 1266 - Expose an is_leopard() method. 1267 * Scripts/webkitpy/tool/steps/runtests.py: 1268 - Don't run compositing/iframes tests on the commit-queue under leopard. 1269 1270 2010-05-13 Fumitoshi Ukai <ukai (a] chromium.org> 1271 1272 Unreviewed fix. Revert previous change. 1273 1274 Even if with-statments are changed in websocket_server.py, it also claims syntax error for with statement in http_server.py. 1275 Until python 2.5 is installed on tiger bot, skips websocket/tests on tiger. 1276 1277 * Scripts/webkitpy/layout_tests/port/websocket_server.py: use with statement 1278 1279 2010-05-13 Fumitoshi Ukai <ukai (a] chromium.org> 1280 1281 Unreviewed fix. 1282 1283 On tiger bot, it claims syntax error for with statement. 1284 1285 * Scripts/webkitpy/layout_tests/port/websocket_server.py: rewrite with statement with try-finally. 1286 1287 2010-05-13 Fumitoshi Ukai <ukai (a] chromium.org> 1288 1289 Reviewed by David Levin. 1290 1291 WebSocket: pywebsocket 0.5 1292 https://bugs.webkit.org/show_bug.cgi?id=38034 1293 1294 Remove pywebsocket from webkitpy/thirdparty. 1295 Make pywebsocket autoinstalled. 1296 1297 * Scripts/new-run-webkit-websocketserver: 1298 Add --output-dir option. 1299 * Scripts/old-run-webkit-tests: 1300 Use new-run-webkit-websocketserver, rather than directly run pywebsocket's standalone.py 1301 * Scripts/run-webkit-websocketserver: 1302 Ditto. 1303 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 1304 Use autoinstalled pywebsocket. 1305 * Scripts/webkitpy/thirdparty/__init__.py: 1306 Autoinstall pywebsocket 1307 * Scripts/webkitpy/thirdparty/pywebsocket: Removed. 1308 1309 2010-05-12 Chris Jerdonek <cjerdonek (a] webkit.org> 1310 1311 Reviewed by Daniel Bates. 1312 1313 Fixed a bug in svn-apply whereby the reviewer would not get set if 1314 the portion of the patch for the ChangeLog contains "NOBODY (**PS!)" 1315 in the leading junk. 1316 1317 https://bugs.webkit.org/show_bug.cgi?id=38998 1318 1319 * Scripts/VCSUtils.pm: 1320 - Added the $changeLogTimeZone variable from svn-apply. 1321 - Added setChangeLogDateAndReviewer() from svn-apply. 1322 - Added a localTimeInProjectTimeZone() subroutine. 1323 - In setChangeLogDateAndReviewer(): 1324 - Added an $epochTime parameter to make the subroutine more testable. 1325 - Made the "NOBODY (**PS!)" regular expression more specific so that 1326 it will not apply to text in the leading junk. 1327 - Updated to call localTimeInProjectTimeZone(). 1328 * Scripts/svn-apply: 1329 - Removed the $changeLogTimeZone file variable. 1330 - Added an $epochTime file variable to represent the current time. 1331 - Removed the setChangeLogDateAndReviewer() subroutine. 1332 - Updated patch() to use the new setChangeLogDateAndReviewer() syntax. 1333 * Scripts/webkitperl/VCSUtils_unittest/setChangeLogDateAndReviewer.pl: Added. 1334 - Added unit tests. 1335 1336 2010-05-12 Eric Seidel <eric (a] webkit.org> 1337 1338 Reviewed by Adam Barth. 1339 1340 test-webkitpy fails on windows due to lack of readline module 1341 https://bugs.webkit.org/show_bug.cgi?id=38884 1342 1343 Win32 Python does not have a readline module, so we should 1344 not exit(1) if the import fails. 1345 1346 Also the failure message is mac-specific and doesn't need to be. 1347 Only print the mac-specific install instructions on mac. 1348 1349 * Scripts/webkitpy/common/system/user.py: 1350 1351 2010-05-12 Kent Tamura <tkent (a] chromium.org> 1352 1353 Reviewed by Nate Chapin. 1354 1355 [DRT/Chromium] Add a missing Sans-serif font setting 1356 https://bugs.webkit.org/show_bug.cgi?id=38981 1357 1358 * DumpRenderTree/chromium/TestShell.cpp: 1359 (TestShell::resetWebSettings): 1360 Set "Helvetica" for Sans-serif. It is the same as the default setting of test_shell. 1361 1362 2010-05-10 Ojan Vafai <ojan (a] chromium.org> 1363 1364 Reviewed by Adam Barth. 1365 1366 webkit-patch upload --fancy-review now uses the bugzilla bug ID as the rietveld ID 1367 https://bugs.webkit.org/show_bug.cgi?id=38866 1368 1369 wkrietveld.appspot.com has already been updated to allow you to 1370 pass --issue for the issue creation as well as subsequent uploads. 1371 1372 Also, remove the extra code for trying to read out the issue ID 1373 from the changelog description since we just use the bugzilla ID now. 1374 1375 * Scripts/webkitpy/common/config/__init__.py: 1376 * Scripts/webkitpy/common/net/rietveld.py: 1377 * Scripts/webkitpy/tool/steps/postcodereview.py: 1378 * Scripts/webkitpy/tool/steps/postdiff.py: 1379 1380 2010-05-12 Ojan Vafai <ojan (a] chromium.org> 1381 1382 No review needed. 1383 1384 Marking myself as a reviewer. 1385 1386 * Scripts/webkitpy/common/config/committers.py: 1387 1388 2010-05-12 Dirk Pranke <dpranke (a] chromium.org> 1389 1390 Reviewed by Eric Seidel. 1391 1392 new-run-webkit-tests: add a --print default option so that you can 1393 easily get the default output plus something (e.g., you can say 1394 '--print default,config' instead of '--print misc,one-line-progress, 1395 one-line-summary,unexpected,unexpected-results,updates,config'. 1396 1397 Also, add more unit tests for --verbose, --print everything, etc. 1398 1399 https://bugs.webkit.org/show_bug.cgi?id=38877 1400 1401 * Scripts/webkitpy/layout_tests/layout_package/printing.py: 1402 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py: 1403 1404 2010-05-12 Csaba Osztrogonc <ossy (a] webkit.org> 1405 1406 Reviewed by Adam Barth. 1407 1408 Qt build failures cause SheriffBot false positives 1409 https://bugs.webkit.org/show_bug.cgi?id=38969 1410 1411 Add Qt bots back to the core builders, because bug fixed by r59261. 1412 1413 * Scripts/webkitpy/common/net/buildbot.py: 1414 * Scripts/webkitpy/common/net/buildbot_unittest.py: 1415 1416 2010-05-12 Csaba Osztrogonc <ossy (a] webkit.org> 1417 1418 Reviewed by Kenneth Rohde Christiansen. 1419 1420 [Qt] Slave losts cause build break on bots 1421 https://bugs.webkit.org/show_bug.cgi?id=38980 1422 1423 * Scripts/build-webkit: Remove 0 byte sized files from productDir before build. 1424 1425 2010-05-12 Csaba Osztrogonc <ossy (a] webkit.org> 1426 1427 Unreviewed trivial fix after r59254. 1428 1429 * Scripts/old-run-webkit-tests: 1430 1431 2010-05-12 Csaba Osztrogonc <ossy (a] webkit.org> 1432 1433 Reviewed by Eric Seidel. 1434 1435 run-webkit-tests --exit-after-N-failures should not count new tests as failures 1436 https://bugs.webkit.org/show_bug.cgi?id=31829 1437 1438 * Scripts/old-run-webkit-tests: 1439 1440 2010-05-12 James Robinson <jamesr (a] chromium.org> 1441 1442 Reviewed by Simon Fraser. 1443 1444 Disable smooth scrolling on OS X when running tests 1445 https://bugs.webkit.org/show_bug.cgi?id=38964 1446 1447 Some tests (like fast/repaint/fixed-move-after-keyboard-scroll.html) 1448 depend on smooth scrolling behavior. Since this is off by default 1449 in Leopard and on by default in Snow Leopard, DRT should turn it 1450 off always to ensure a consistent test environment. 1451 1452 * DumpRenderTree/mac/DumpRenderTree.mm: 1453 (resetDefaultsToConsistentValues): 1454 1455 2010-05-10 Rodrigo Belem <rodrigo.belem (a] openbossa.org> 1456 1457 Reviewed by Kenneth Christiansen , Simon Hausmann and Gustavo Noronha. 1458 1459 [Qt, Gtk] Allows build-webkit script to receive an install prefix as parameter 1460 https://bugs.webkit.org/show_bug.cgi?id=26224 1461 1462 Added more parameters to build-webkit script, the --prefix for gkt 1463 and --install-libs, --install-headers for qt. Now it is possible 1464 to change the install prefix for gtk and install path for qt. 1465 1466 * Scripts/build-webkit: 1467 * Scripts/webkitdirs.pm: 1468 1469 2010-05-12 Philippe Normand <pnormand (a] igalia.com> 1470 1471 Unreviewed, added my IRC nickname. 1472 1473 * Scripts/webkitpy/common/config/committers.py: 1474 1475 2010-05-11 Chris Jerdonek <cjerdonek (a] webkit.org> 1476 1477 Reviewed by Eric Seidel. 1478 1479 Fixed two FIXME's in svn-apply: eliminated the unnecessary %copiedFiles 1480 variable and changed gitKnowsOfFile() to use exitStatus(). 1481 1482 https://bugs.webkit.org/show_bug.cgi?id=38862 1483 1484 * Scripts/svn-apply: 1485 1486 2010-05-11 Eric Seidel <eric (a] webkit.org> 1487 1488 Unreviewed, just fixing python typo. 1489 1490 EWS bots should poll more often than every 5 minutes 1491 https://bugs.webkit.org/show_bug.cgi?id=38968 1492 1493 Typo in _now(), add a unittest to prove I fixed it. 1494 1495 * Scripts/webkitpy/tool/bot/queueengine.py: 1496 * Scripts/webkitpy/tool/bot/queueengine_unittest.py: 1497 1498 2010-05-11 Adam Barth <abarth (a] webkit.org> 1499 1500 Reviewed by Eric Seidel. 1501 1502 Qt build failures cause SheriffBot false positives 1503 https://bugs.webkit.org/show_bug.cgi?id=38969 1504 1505 The Qt buildbot randomly fails to compile occasionally because its 1506 network connection causes SVn to leave zero-byte files around. These 1507 compile failures confuse SheriffBot into thinking someone's patch 1508 caused a build break. 1509 1510 In this patch, I've temporarily removed Qt from the list of core 1511 builders. Ossy is working on a script to clean up the zero byte files. 1512 Once that goes in, we can add Qt back to the core builders. 1513 1514 * Scripts/webkitpy/common/net/buildbot.py: 1515 * Scripts/webkitpy/common/net/buildbot_unittest.py: 1516 1517 2010-05-11 Adam Barth <abarth (a] webkit.org> 1518 1519 Reviewed by Eric Seidel. 1520 1521 sheriffbot is spammy. 1522 https://bugs.webkit.org/show_bug.cgi?id=38936 1523 1524 Reduce sheriffbot spam by not warning about new blameworthy revisions 1525 that can be explained by previously blamed revisions. This might cause 1526 us to not warn about some real failures, but we're getting too much 1527 spam from slow builders that have large blamelists (and we've already 1528 poked the responsible folks using data from a fast builder). 1529 1530 * Scripts/webkitpy/tool/bot/sheriff_unittest.py: 1531 - Removed unneeded import 1532 * Scripts/webkitpy/tool/commands/sheriffbot.py: 1533 - The logic change 1534 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 1535 - Tests of the change 1536 * Scripts/webkitpy/tool/mocktool.py: 1537 - Merged two declarations of MockBuilder 1538 1539 2010-05-11 Tony Chang <tony (a] chromium.org> 1540 1541 Reviewed by David Levin. 1542 1543 [chromium] detect num processors to pass to make -j on Linux 1544 https://bugs.webkit.org/show_bug.cgi?id=38833 1545 1546 * Scripts/webkitdirs.pm: 1547 1548 2010-05-11 Eric Seidel <eric (a] webkit.org> 1549 1550 Reviewed by Adam Barth. 1551 1552 EWS bots should poll more often than every 5 minutes 1553 https://bugs.webkit.org/show_bug.cgi?id=38968 1554 1555 We'll make them poll every 2 minutes to start with. 1556 I'm going to re-write how polling works soon, so this is 1557 a stop-gap to try and make the bots more responsive. 1558 1559 If Bill notices any additional load on bugzilla we'll drop 1560 the polling frequency back to 5 minutes. He's historically said 1561 that the EWS bots appear to be a drop in the bucket and thus 1562 should be able to poll much more frequently w/o causing trouble. 1563 1564 * Scripts/webkitpy/tool/bot/queueengine.py: 1565 * Scripts/webkitpy/tool/bot/queueengine_unittest.py: 1566 - Add a test for sleep_message 1567 1568 2010-05-11 Eric Seidel <eric (a] webkit.org> 1569 1570 Reviewed by Adam Barth. 1571 1572 commit-queue should commit rollouts without running tests 1573 https://bugs.webkit.org/show_bug.cgi?id=38940 1574 1575 Most of this change is improving our test coverage for the commit-queue. 1576 The only functional change is removing the --test flag when the commit-queue 1577 is running in rollouts mode. 1578 1579 I added test coverage for status updates, and updated the commit-queue status 1580 messages to distinguish rollout vs. normal landing mode in its empty queue 1581 and land patch messages. 1582 1583 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: 1584 - Got rid of a bunch of copy/paste code using _default_expected_stderr 1585 * Scripts/webkitpy/tool/commands/queues.py: 1586 - Moved rollout patch filtering out of _validate_patches_in_commit_queue 1587 so that we only have to check if the builders are green in one place. 1588 - Make the "empty queue" message note which queue it is referring to. 1589 - Don't pass --text to land-attachment when in rollout mode. 1590 * Scripts/webkitpy/tool/commands/queues_unittest.py: 1591 - Update results now that we're testing status updates. 1592 - Test _can_build_and_test since I made a typo in that call while 1593 writing this change and the unit tests failed to catch it! 1594 * Scripts/webkitpy/tool/mocktool.py: 1595 - Log status updates to make them testable in our unit tests. 1596 1597 2010-05-11 Kent Tamura <tkent (a] chromium.org> 1598 1599 Reviewed by Dimitri Glazkov. 1600 1601 [DRT/Chromium] Apply recent changes of test_shell to DRT 1602 https://bugs.webkit.org/show_bug.cgi?id=38895 1603 1604 Port the changes to test_shell during (r40492, r46810] of Chromium. 1605 Highlights: 1606 - Introduce NotificationPresenter 1607 - Fix parameter mismatch of WebViewClient::startDragging() 1608 1609 This change fixes dozens of unexpected behaviors. 1610 1611 * DumpRenderTree/DumpRenderTree.gypi: 1612 Add NotificationPresenter.{cpp,h} 1613 * DumpRenderTree/chromium/EventSender.cpp: 1614 (applyKeyModifier): 1615 (EventSender::EventSender): 1616 (EventSender::reset): 1617 (EventSender::webview): 1618 (EventSender::doDragDrop): 1619 (EventSender::keyDown): 1620 (EventSender::addTouchPoint): 1621 (EventSender::clearTouchPoints): 1622 (EventSender::releaseTouchPoint): 1623 (EventSender::setTouchModifier): 1624 (EventSender::updateTouchPoint): 1625 (EventSender::cancelTouchPoint): 1626 (EventSender::sendCurrentTouchEvent): 1627 (EventSender::touchEnd): 1628 (EventSender::touchMove): 1629 (EventSender::touchStart): 1630 (EventSender::touchCancel): 1631 * DumpRenderTree/chromium/EventSender.h: 1632 * DumpRenderTree/chromium/LayoutTestController.cpp: 1633 (LayoutTestController::LayoutTestController): 1634 (LayoutTestController::reset): 1635 (LayoutTestController::showWebInspector): 1636 (LayoutTestController::setAuthorAndUserStylesEnabled): 1637 (LayoutTestController::setScrollbarPolicy): 1638 (LayoutTestController::setWillSendRequestClearHeader): 1639 (LayoutTestController::callShouldCloseOnWebView): 1640 (LayoutTestController::grantDesktopNotificationPermission): 1641 (LayoutTestController::removeOriginAccessWhitelistEntry): 1642 (LayoutTestController::addUserScript): 1643 (LayoutTestController::addUserStyleSheet): 1644 * DumpRenderTree/chromium/LayoutTestController.h: 1645 * DumpRenderTree/chromium/NotificationPresenter.cpp: Added. 1646 * DumpRenderTree/chromium/NotificationPresenter.h: Added. 1647 * DumpRenderTree/chromium/TestShell.cpp: 1648 (TestShell::TestShell): 1649 (TestShell::runFileTest): 1650 (TestShell::resetTestController): 1651 * DumpRenderTree/chromium/TestShell.h: 1652 (TestShell::eventSender): 1653 (TestShell::notificationPresenter): 1654 (TestShell::showDevTools): 1655 * DumpRenderTree/chromium/WebViewHost.cpp: 1656 (WebViewHost::createView): 1657 (WebViewHost::createPopupMenu): 1658 (WebViewHost::startDragging): 1659 (WebViewHost::notificationPresenter): 1660 (WebViewHost::createApplicationCacheHost): 1661 (WebViewHost::willSendRequest): 1662 (WebViewHost::updateAddressBar): 1663 (WebViewHost::updateURL): 1664 * DumpRenderTree/chromium/WebViewHost.h: 1665 (WebViewHost::addClearHeader): 1666 (WebViewHost::clearHeaders): 1667 1668 2010-05-10 Dirk Pranke <dpranke (a] chromium.org> 1669 1670 Reviewed by Eric Seidel. 1671 1672 new-run-webkit-tests: fix a path-handling bug that was breaking the 1673 dryrun ports on windows, and add a comment about why we don't run 1674 the chromium dryrun tests by default on every port. 1675 1676 https://bugs.webkit.org/show_bug.cgi?id=38796 1677 1678 * Scripts/webkitpy/layout_tests/port/dryrun.py: 1679 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 1680 1681 2010-05-11 Mark Rowe <mrowe (a] apple.com> 1682 1683 Reviewed by Darin Adler. 1684 1685 <http://webkit.org/b/38941> build-webkit shouldn't always override ENABLE_FOO Xcode configuration settings 1686 1687 * Scripts/build-webkit: Don't pass the ENABLE setting to xcodebuild if the value matches the default. 1688 This will lead to xcodebuild picking up the settings from FeatureDefines.xcconfig, and will aid in 1689 revealing problems that are due to inconsistent values for settings across projects. 1690 1691 2010-05-11 Mark Rowe <mrowe (a] apple.com> 1692 1693 Build fix. 1694 1695 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 1696 1697 2010-05-10 Ojan Vafai <ojan (a] chromium.org> 1698 1699 Reviewed by David Levin. 1700 1701 CheckStyle was eating script errors when there were local-commits and working copy changes 1702 https://bugs.webkit.org/show_bug.cgi?id=38880 1703 1704 * Scripts/webkitpy/tool/steps/checkstyle.py: 1705 * Scripts/webkitpy/tool/steps/checkstyle_unittest.py: Added. 1706 1707 2010-05-11 Jian Li <jianli (a] chromium.org> 1708 1709 Reviewed by Dmitry Titov. 1710 1711 Expose FileReader interface. 1712 https://bugs.webkit.org/show_bug.cgi?id=38609 1713 1714 * Scripts/build-webkit: turn on building FileReader for Apple's WebKit. 1715 1716 2010-05-10 Tony Chang <tony (a] chromium.org> 1717 1718 Reviewed by Kent Tamura. 1719 1720 [chromium] Build DRT when running build-webkit --chromium 1721 https://bugs.webkit.org/show_bug.cgi?id=38730 1722 1723 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Removed. 1724 * Scripts/build-dumprendertree: This does nothing now. 1725 1726 2010-05-10 Jon Honeycutt <jhoneycutt (a] apple.com> 1727 1728 REGRESSION(r59100): Added test is broken on many platforms. 1729 https://bugs.webkit.org/show_bug.cgi?id=38881 1730 1731 Reviewed by Eric Seidel. 1732 1733 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: 1734 (NPP_Destroy): 1735 Use pluginLog, rather than printf, to match other platforms. 1736 1737 2010-05-10 Dirk Pranke <dpranke (a] chromium.org> 1738 1739 Unreviewed, build fix. 1740 1741 Fix a build failure caused by assuming the default platform in 1742 a unit test for new-run-webkit-tests instead of specifying 1743 --platform test. 1744 1745 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 1746 1747 2010-05-10 Dirk Pranke <dpranke (a] chromium.org> 1748 1749 Unreviewed, build-fix 1750 1751 new-run-webkit-tests: fix test failure caused by me failing to update 1752 the expected output. Also, run '--platform test' instead of 1753 'platform dryrun' since the former is guaranteed to work and the 1754 latter isn't. 1755 1756 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 1757 1758 2010-05-10 Dirk Pranke <dpranke (a] chromium.org> 1759 1760 Reviewed by David Levin. 1761 1762 new-run-webkit-tests: looks like the unicode conversion broke 1763 --print-last-failures and --retest-last-failures. Fixing. 1764 1765 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 1766 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 1767 1768 2010-05-10 Dirk Pranke <dpranke (a] chromium.org> 1769 1770 Reviewed by David Levin. 1771 1772 Re-attempt to fix 38616 - newline handling in new-run-webkit-tests. 1773 I didn't handle some cases correctly before and the solution was 1774 confusing. The new patch assumes all calls to the printing module 1775 don't have newlines, and will append newlines where necessary, just 1776 like logging does. 1777 1778 https://bugs.webkit.org/show_bug.cgi?id=38790 1779 1780 * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: 1781 * Scripts/webkitpy/layout_tests/layout_package/metered_stream_unittest.py: 1782 * Scripts/webkitpy/layout_tests/layout_package/printing.py: 1783 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py: 1784 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 1785 1786 2010-05-10 Kent Tamura <tkent (a] chromium.org> 1787 1788 Reviewed by Adam Barth. 1789 1790 Make tkent a reviewer 1791 https://bugs.webkit.org/show_bug.cgi?id=38875 1792 1793 * Scripts/webkitpy/common/config/committers.py: 1794 1795 2010-05-07 Jon Honeycutt <jhoneycutt (a] apple.com> 1796 1797 Crash closing window containing Flash plug-in 1798 https://bugs.webkit.org/show_bug.cgi?id=38797 1799 <rdar://problem/7935266> 1800 1801 Reviewed by Eric Seidel. 1802 1803 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 1804 (pluginAllocate): 1805 Initialize new member to false. 1806 1807 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 1808 Added a new member. 1809 1810 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: 1811 (NPP_New): 1812 Check whether the element has the "testGetURLOnDestroy" attribute, and 1813 record that. 1814 (NPP_Destroy): 1815 If "testGetURLOnDestroy" is set, perform a load while destroying the 1816 plug-in. 1817 1818 2010-05-10 Eric Seidel <eric (a] webkit.org> 1819 1820 Reviewed by David Levin. 1821 1822 Executive.kill_* do not work with windows python 1823 https://bugs.webkit.org/show_bug.cgi?id=38872 1824 1825 http://trac.webkit.org/changeset/57444 is where the original 1826 breakage occurred. 1827 http://trac.webkit.org/changeset/58314 is where the regression 1828 started affecting chromium. 1829 1830 I have since learned that sys.platform has no "windows" value. 1831 "win32" is always the value, under 32 or 64 bit windows 1832 1833 The tests for this code are not run anywhere because 1834 test-webkitpy does not yet work on "win32". Mostly due to 1835 depending on unixisms like "cat" and "yes". 1836 1837 * Scripts/webkitpy/common/system/executive.py: 1838 * Scripts/webkitpy/common/system/executive_unittest.py: 1839 1840 2010-05-10 Dirk Pranke <dpranke (a] chromium.org> 1841 1842 Reviewed by Eric Seidel. 1843 1844 Fix a bug in rebaseline-chromium-webkit-tests where we would crash 1845 instead of logging an error and exiting if it couldn't find either a 1846 debug or a release build of the image diff binary. 1847 1848 https://bugs.webkit.org/show_bug.cgi?id=38692 1849 1850 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 1851 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py: Added. 1852 1853 2010-05-10 Eric Seidel <eric (a] webkit.org> 1854 1855 Reviewed by Adam Barth. 1856 1857 new-run-webkit-tests fails when run under sys.platform == "windows" due to undefined signal.SIGKILL 1858 https://bugs.webkit.org/show_bug.cgi?id=38861 1859 1860 * Scripts/webkitpy/common/system/executive.py: 1861 * Scripts/webkitpy/common/system/executive_unittest.py: 1862 1863 2010-05-10 Jer Noble <jer.noble (a] apple.com> 1864 1865 Unreviewed. 1866 1867 Adding myself as a committer. 1868 1869 * Scripts/webkitpy/common/config/committers.py: 1870 1871 2010-05-10 Hans Wennborg <hans (a] chromium.org> 1872 1873 Reviewed by Jeremy Orlow. 1874 1875 [Chromium] Add quota parameter to WebViewClient::createSessionStorageNamespace() 1876 https://bugs.webkit.org/show_bug.cgi?id=38750 1877 1878 Put a per-origin quota on session storage since it is using memory in 1879 the browser process, and should not be allowed to grow arbitrarily 1880 large. See also http://trac.webkit.org/changeset/58828. 1881 1882 * DumpRenderTree/chromium/WebViewHost.cpp: 1883 (WebViewHost::createSessionStorageNamespace): 1884 * DumpRenderTree/chromium/WebViewHost.h: 1885 1886 2010-05-10 Csaba Osztrogonc <ossy (a] webkit.org> 1887 1888 Rubber-stamped by Simon Hausmann. 1889 1890 [Qt] Roll-out r59020 and r59021, because the Qt part of these changes 1891 haven't been landed in Qt trunk yet. Should be rolled-in again after the merge. 1892 1893 https://bugs.webkit.org/show_bug.cgi?id=32967 1894 1895 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 1896 (WebCore::WebPage::WebPage): 1897 (WebCore::DumpRenderTree::DumpRenderTree): 1898 * DumpRenderTree/qt/DumpRenderTreeQt.h: 1899 1900 2010-05-09 Daniel Bates <dbates (a] rim.com> 1901 1902 Reviewed by Chris Jerdonek. 1903 1904 https://bugs.webkit.org/show_bug.cgi?id=38812 1905 1906 Make the regular expressions for parsing the start of an SVN 1907 and Git header global variables since they are used throughout 1908 VCSUtils.pm. 1909 1910 * Scripts/VCSUtils.pm: 1911 1912 2010-05-09 Chris Jerdonek <cjerdonek (a] webkit.org> 1913 1914 Reviewed by Daniel Bates. 1915 1916 Finished moving the header-parsing logic from svn-apply and -unapply 1917 to VCSUtils.pm's parsing methods. 1918 1919 https://bugs.webkit.org/show_bug.cgi?id=38802 1920 1921 * Scripts/VCSUtils.pm: 1922 - Added to parseGitDiffHeader() the ability to parse and store 1923 whether a file is new or deleted. 1924 - Also reordered in parseGitDiffHeader() some of the else statements 1925 to a more readable ordering. 1926 - Added to parseSvnDiffHeader() the ability to parse and store 1927 whether a file is new. 1928 * Scripts/svn-apply: 1929 - Changed handleGitBinaryChange() to use the new "isNew" and "isDeletion" 1930 diffHash key-values. 1931 - Changed patch() to use the new "isNew" diffHash key-value. 1932 * Scripts/svn-unapply: 1933 - Changed patch() to use the new "isNew" and "isDeletion" diffHash key-values. 1934 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: 1935 - Added unit tests for new and deleted files. 1936 * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl: 1937 - Updated the unit tests as necessary. 1938 - Added a unit test for a deleted file. 1939 * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl: 1940 - Updated the unit tests as necessary. 1941 1942 2010-05-08 Chris Jerdonek <cjerdonek (a] webkit.org> 1943 1944 Reviewed by Daniel Bates. 1945 1946 Added to svn-apply support for git renames and copies with similarity 1947 index less than 100%. 1948 1949 https://bugs.webkit.org/show_bug.cgi?id=32834 1950 1951 * Scripts/VCSUtils.pm: 1952 - Added to parseGitDiffHeader() support for renames and similarity 1953 index less than 100%. 1954 - Added to parseDiff() support for processing renames, renames with 1955 changes, and copies with changes. 1956 - Added to parsePatch() the ability to process multiple return 1957 values from parseDiff(). 1958 * Scripts/svn-apply: 1959 - Added to patch() the ability to process diff hashes with the 1960 isDeletion key-value set. 1961 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: 1962 - Updated the unit tests as necessary. 1963 - Added unit tests for rename with similarity index 100%, 1964 rename with similarity index < 100%, and rename with a change 1965 to the executable bit. 1966 * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl: 1967 - Added unit tests for rename with similarity index 100%, 1968 rename with similarity index < 100%, and rename with a change 1969 to the executable bit. 1970 * Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl: 1971 - Updated the unit tests as necessary. 1972 * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl: 1973 - Simplified the carriage-return unit test to more narrowly test 1974 only carriage returns. 1975 1976 2010-05-08 Chris Jerdonek <cjerdonek (a] webkit.org> 1977 1978 Reviewed by Daniel Bates. 1979 1980 This revision suppresses the misleading "error: pathspec..." messages 1981 when using svn-apply to add a binary file from a Git diff. 1982 1983 https://bugs.webkit.org/show_bug.cgi?id=38047 1984 1985 When adding a new binary file from a Git diff, svn-apply prints 1986 a misleading error of the form -- "error: pathspec '<filename>' did 1987 not match any file(s) known to git. Did you forget to 'git add'?" 1988 This patch suppresses these messages since they are normal. 1989 1990 * Scripts/VCSUtils.pm: 1991 Added the callSilently() subroutine from runPatchCommand.pl, which 1992 executes a Perl function while suppressing STDERR. 1993 * Scripts/svn-apply: 1994 Refactored the Git portion of scmKnowsOfFile() into a 1995 gitKnowsOfFile(), and called this new subroutine using callSilently(). 1996 * Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl: 1997 Removed callSilently() since it was moved to VCSUtils.pm in this patch. 1998 1999 2010-05-08 Victor Wang <victorw (a] chromium.org> 2000 2001 Reviewed by Adam Barth. 2002 2003 [chromium]: Upload test results json files to app engine server 2004 Add an option to run_webkit_tests.py to upload generated 2005 JSON files to app engine server. These JSON files will be used 2006 by chromium layout test falkiness dashboard. 2007 2008 https://bugs.webkit.org/show_bug.cgi?id=36063 2009 2010 * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py: Added. 2011 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 2012 2013 2010-05-08 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 2014 2015 Reviewed by Kenneth Rohde Christiansen. 2016 2017 [Qt] Build the ImageDiff tool for all platforms including Windows and Symbian 2018 https://bugs.webkit.org/show_bug.cgi?id=38706 2019 2020 Use qmath.h instead of math.h to make it portable. 2021 2022 * DumpRenderTree/qt/ImageDiff.cpp: 2023 (main): 2024 2025 2010-05-08 Robert Hogan <robert (a] roberthogan.net> 2026 2027 Reviewed by Simon Hausmann. 2028 2029 [Qt] Fix http/tests/xmlhttprequest/cross-origin-no-authorization.html 2030 and http/tests/xmlhttprequest/cross-origin-authorization.html 2031 2032 QHttpNetworkRequest adds Authorization and Cookie headers to XHRs 2033 without knowing if this is valid behaviour or not. In order to allow 2034 Qt to decide whether Cookie/Authorization headers should be added 2035 to an XHR QtWebKit needs to use an attribute added to QNetworkRequest. 2036 These new attributes are: QNetworkRequest::CookieLoadControlAttribute, 2037 QNetworkRequest::CookieSaveControlAttribute,and 2038 QNetworkRequest::AuthenticationReuseControlAttribute. 2039 2040 In order to properly support the tests, Qt's DRT needs to use one 2041 NetworkAccessManager for all pages. This allows it to use cached 2042 credentials where appropriate. 2043 2044 The tests now pass when run individually but there seems to be a problem with 2045 leaking the results of requests across tests when run with the others in 2046 http/tests. This will be addressed in a separate patch. 2047 2048 https://bugs.webkit.org/show_bug.cgi?id=32967 2049 2050 2051 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 2052 (WebCore::WebPage::WebPage): 2053 (WebCore::DumpRenderTree::DumpRenderTree): 2054 * DumpRenderTree/qt/DumpRenderTreeQt.h: 2055 2056 2057 2010-05-04 Robert Hogan <robert (a] webkit.org> 2058 2059 Reviewed by Eric Seidel. 2060 2061 [Qt] unskip http/tests/plugins/npapi-response-headers.html 2062 2063 Turns out this failed because run-webkit-tests was eating the first occurrence 2064 of 'Content-Type: text/plain' in the test output as a header. Strange but true. 2065 So do as Chromium does and preface all text dumps with the 2066 'Content-Type: text/plain' header. 2067 2068 https://bugs.webkit.org/show_bug.cgi?id=38541 2069 2070 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 2071 (WebCore::DumpRenderTree::dump): 2072 2073 2010-05-08 Eric Seidel <eric (a] webkit.org> 2074 2075 Reviewed by Daniel Bates. 2076 2077 test-webkitpy fails under cygwin 2078 https://bugs.webkit.org/show_bug.cgi?id=38718 2079 2080 * Scripts/webkitpy/common/system/executive.py: 2081 - Add _KILL_PROCESS_KILLED_PROCESS_EXIT_CODE and 2082 _KILL_ALL_KILLED_PROCESS_EXIT_CODE to store the expected 2083 exit codes of processes killed by kill_process and kill_all. 2084 These two constants are only used by the unit tests but are 2085 stored in executive.py so they can be right next to the platform ifs. 2086 - Remove unnecessary str() conversion, run_command does that for us. 2087 - Make os.kill retry on cygwin on EAGAIN. It's unclear why CYGWIN 2088 throws EAGAIN, but it only does so sometimes. 3 may not be enough 2089 retries, but we'll try it to start with. 2090 - Add _windows_image_name to automatically convert "yes" to "yes.exe" 2091 for use with taskkill.exe /im. Various callers to kill_all could 2092 be updated to remove the .exe, but that can be done in another patch. 2093 - Use taskkill.exe for killall on cygwin. 2094 * Scripts/webkitpy/common/system/executive_unittest.py: 2095 - Use the new *_KILLED_PROCESS_EXIT_CODE constants which are correctly 2096 set to 0 on windows/cygwin systems where taskkill.exe is used. 2097 - Test _windows_image_name 2098 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 2099 - Add FIXME about including mac-snowleopard in baseline_search_path. 2100 * Scripts/webkitpy/layout_tests/port/webkit.py: 2101 - Make default_configuration actually read from the Configuration file. 2102 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added. 2103 - Test default_configuration 2104 * Scripts/webkitpy/layout_tests/port/win.py: 2105 - Need a basic baseline_search_path if --platform dryrun is to work. 2106 2107 2010-05-08 Eric Seidel <eric (a] webkit.org> 2108 2109 Unreviewed, just reverting commit. 2110 2111 REGRESSION(59000): r59000 contained all sorts of changes it should not have, needs revert. 2112 https://bugs.webkit.org/show_bug.cgi?id=38798 2113 2114 * Scripts/webkitpy/common/system/executive.py: 2115 * Scripts/webkitpy/common/system/executive_unittest.py: 2116 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 2117 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 2118 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 2119 * Scripts/webkitpy/layout_tests/port/mac.py: 2120 * Scripts/webkitpy/layout_tests/port/webkit.py: 2121 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Removed. 2122 * Scripts/webkitpy/layout_tests/port/win.py: 2123 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 2124 * Scripts/webkitpy/tool/commands/download.py: 2125 * Scripts/webkitpy/tool/commands/download_unittest.py: 2126 2127 2010-05-06 Eric Seidel <eric (a] webkit.org> 2128 2129 Reviewed by Daniel Bates. 2130 2131 test-webkitpy fails under cygwin 2132 https://bugs.webkit.org/show_bug.cgi?id=38718 2133 2134 * Scripts/webkitpy/common/system/executive.py: 2135 - Add _KILL_PROCESS_KILLED_PROCESS_EXIT_CODE and 2136 _KILL_ALL_KILLED_PROCESS_EXIT_CODE to store the expected 2137 exit codes of processes killed by kill_process and kill_all. 2138 These two constants are only used by the unit tests but are 2139 stored in executive.py so they can be right next to the platform ifs. 2140 - Remove unnecessary str() conversion, run_command does that for us. 2141 - Make os.kill retry on cygwin on EAGAIN. It's unclear why CYGWIN 2142 throws EAGAIN, but it only does so sometimes. 3 may not be enough 2143 retries, but we'll try it to start with. 2144 - Add _windows_image_name to automatically convert "yes" to "yes.exe" 2145 for use with taskkill.exe /im. Various callers to kill_all could 2146 be updated to remove the .exe, but that can be done in another patch. 2147 - Use taskkill.exe for killall on cygwin. 2148 * Scripts/webkitpy/common/system/executive_unittest.py: 2149 - Use the new *_KILLED_PROCESS_EXIT_CODE constants which are correctly 2150 set to 0 on windows/cygwin systems where taskkill.exe is used. 2151 - Test _windows_image_name 2152 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 2153 - Add FIXME about including mac-snowleopard in baseline_search_path. 2154 * Scripts/webkitpy/layout_tests/port/webkit.py: 2155 - Make default_configuration actually read from the Configuration file. 2156 * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added. 2157 - Test default_configuration 2158 * Scripts/webkitpy/layout_tests/port/win.py: 2159 - Need a basic baseline_search_path if --platform dryrun is to work. 2160 2161 2010-05-07 Eric Seidel <eric (a] webkit.org> 2162 2163 Reviewed by Nikolas Zimmermann. 2164 2165 DryrunTest fails on every platform other than mac 2166 https://bugs.webkit.org/show_bug.cgi?id=38796 2167 2168 The test uses the port detection logic to find a suitable 2169 port to use results from. However that detection logic assumes 2170 chromium on linux, which requires a chromium checkout which the 2171 bots don't have. The test is broken and we'll need to fix it. 2172 For now I'm just going to disable the test on all platforms besides mac. 2173 2174 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 2175 2176 2010-05-07 Eric Seidel <eric (a] webkit.org> 2177 2178 Reviewed by Daniel Bates. 2179 2180 Clean up baseline_search_path to use map to reduce copy/paste code 2181 https://bugs.webkit.org/show_bug.cgi?id=38792 2182 2183 Reading which portnames a port falls back to is easier if 2184 we convert port names to paths with map instead of using copy/paste code. 2185 2186 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 2187 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 2188 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 2189 * Scripts/webkitpy/layout_tests/port/mac.py: 2190 2191 2010-05-07 Eric Seidel <eric (a] webkit.org> 2192 2193 Reviewed by Daniel Bates. 2194 2195 rollout commands fail when commit is missing bug number 2196 https://bugs.webkit.org/show_bug.cgi?id=38791 2197 2198 * Scripts/webkitpy/tool/commands/download.py: 2199 - _commit_info failed to actually return the CommitInfo in the no-bug-id case. 2200 * Scripts/webkitpy/tool/commands/download_unittest.py: 2201 - Test that the fix worked. 2202 2203 2010-05-07 Darin Fisher <darin (a] chromium.org> 2204 2205 Fix build bustage: toElement<T> should be to<T>. 2206 2207 * DumpRenderTree/chromium/LayoutTestController.cpp: 2208 (LayoutTestController::elementDoesAutoCompleteForElementWithId): 2209 2210 2010-05-07 Chris Jerdonek <cjerdonek (a] webkit.org> 2211 2212 Reviewed by Daniel Bates. 2213 2214 Refactored VCSUtils.pm's parse-related methods to leave inapplicable 2215 hash values unset instead of setting them to "undef". 2216 2217 https://bugs.webkit.org/show_bug.cgi?id=38724 2218 2219 Preferring "not set" over "undef" keeps the unit tests smaller and 2220 easier to maintain. Otherwise, we would have to update every unit 2221 test case each time we add support for a new key-value pair -- 2222 instead of just the relevant ones. 2223 2224 * Scripts/VCSUtils.pm: 2225 - In parseGitDiffHeader(), adjusted the handling of these key-values: 2226 executableBitDelta and isBinary. 2227 - In parseSvnDiffHeader(), adjusted the handling of these key-values: 2228 copiedFromPath, isBinary, and sourceRevision. 2229 - In parseDiffHeader(), adjusted the handling of these key-values: 2230 isGit and isSvn. 2231 - In parseDiff(), adjusted the handling of these key-values: 2232 isBinary, isGit, isSvn, and sourceRevision. 2233 2234 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: 2235 - Updated the unit tests as necessary. 2236 2237 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: 2238 - Updated the unit tests as necessary. 2239 2240 * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl: 2241 - Updated the unit tests as necessary. 2242 2243 * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl: 2244 - Updated the unit tests as necessary. 2245 2246 2010-05-06 Mark Rowe <mrowe (a] apple.com> 2247 2248 Rubber-stamped by Dan Bernstein. 2249 2250 Exclude leaks due to <rdar://problem/7815391> from the output. 2251 2252 * Scripts/old-run-webkit-tests: 2253 2254 2010-05-06 Sheriff Bot <webkit.review.bot (a] gmail.com> 2255 2256 Unreviewed, rolling out r58933. 2257 http://trac.webkit.org/changeset/58933 2258 https://bugs.webkit.org/show_bug.cgi?id=38717 2259 2260 "Broke all websocket tests on Tiger" (Requested by eseidel on 2261 #webkit). 2262 2263 * Scripts/new-run-webkit-websocketserver: 2264 * Scripts/old-run-webkit-tests: 2265 * Scripts/run-webkit-websocketserver: 2266 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 2267 * Scripts/webkitpy/thirdparty/__init__.py: 2268 * Scripts/webkitpy/thirdparty/pywebsocket/COPYING: Added. 2269 * Scripts/webkitpy/thirdparty/pywebsocket/MANIFEST.in: Added. 2270 * Scripts/webkitpy/thirdparty/pywebsocket/README: Added. 2271 * Scripts/webkitpy/thirdparty/pywebsocket/README.webkit: Added. 2272 * Scripts/webkitpy/thirdparty/pywebsocket/example/echo_client.py: Added. 2273 * Scripts/webkitpy/thirdparty/pywebsocket/example/echo_wsh.py: Added. 2274 * Scripts/webkitpy/thirdparty/pywebsocket/example/handler_map.txt: Added. 2275 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/__init__.py: Added. 2276 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/dispatch.py: Added. 2277 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/handshake.py: Added. 2278 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/headerparserhandler.py: Added. 2279 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/memorizingfile.py: Added. 2280 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/msgutil.py: Added. 2281 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/standalone.py: Added. 2282 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/util.py: Added. 2283 * Scripts/webkitpy/thirdparty/pywebsocket/setup.py: Added. 2284 * Scripts/webkitpy/thirdparty/pywebsocket/test/config.py: Added. 2285 * Scripts/webkitpy/thirdparty/pywebsocket/test/mock.py: Added. 2286 * Scripts/webkitpy/thirdparty/pywebsocket/test/run_all.py: Added. 2287 * Scripts/webkitpy/thirdparty/pywebsocket/test/test_dispatch.py: Added. 2288 * Scripts/webkitpy/thirdparty/pywebsocket/test/test_handshake.py: Added. 2289 * Scripts/webkitpy/thirdparty/pywebsocket/test/test_memorizingfile.py: Added. 2290 * Scripts/webkitpy/thirdparty/pywebsocket/test/test_mock.py: Added. 2291 * Scripts/webkitpy/thirdparty/pywebsocket/test/test_msgutil.py: Added. 2292 * Scripts/webkitpy/thirdparty/pywebsocket/test/test_util.py: Added. 2293 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/README: Added. 2294 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/blank_wsh.py: Added. 2295 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added. 2296 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added. 2297 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added. 2298 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added. 2299 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added. 2300 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added. 2301 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added. 2302 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/hello.pl: Added. 2303 2304 2010-05-06 Fumitoshi Ukai <ukai (a] chromium.org> 2305 2306 Reviewed by David Levin. 2307 2308 WebSocket: pywebsocket 0.5 2309 https://bugs.webkit.org/show_bug.cgi?id=38034 2310 2311 Remove pywebsocket from webkitpy/thirdparty. 2312 Make pywebsocket autoinstalled. 2313 2314 * Scripts/new-run-webkit-websocketserver: 2315 Add --output-dir option. 2316 * Scripts/old-run-webkit-tests: 2317 Use new-run-webkit-websocketserver, rather than directly run pywebsocket's standalone.py 2318 * Scripts/run-webkit-websocketserver: 2319 Ditto. 2320 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 2321 Use autoinstalled pywebsocket. 2322 * Scripts/webkitpy/thirdparty/__init__.py: 2323 Autoinstall pywebsocket 2324 * Scripts/webkitpy/thirdparty/pywebsocket: Removed. 2325 2326 2010-05-06 Chris Jerdonek <cjerdonek (a] webkit.org> 2327 2328 Reviewed by Daniel Bates. 2329 2330 svn-apply now understands the Git diff "copy from" syntax when the 2331 similarity index is 100%. 2332 2333 https://bugs.webkit.org/show_bug.cgi?id=38628 2334 2335 * Scripts/VCSUtils.pm: 2336 - Adjusted parseGitDiffHeader() to parse the "copy from" and 2337 "similarity index" lines. 2338 2339 * Scripts/svn-unapply: 2340 - Adjusted the patch() subroutine so that copies are recognized 2341 as file additions. 2342 2343 * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl: 2344 - Added unit tests for the cases of a copy with similarity index 2345 100% and less than 100%. 2346 2347 2010-05-06 Chris Jerdonek <cjerdonek (a] webkit.org> 2348 2349 Reviewed by Daniel Bates. 2350 2351 Removed the need for svn-apply and -unapply to re-parse whether 2352 a diff is binary or not. 2353 2354 https://bugs.webkit.org/show_bug.cgi?id=38320 2355 2356 * Scripts/VCSUtils.pm: 2357 - Adjusted parseGitDiffHeader() to set the isBinary key. 2358 - Adjusted parseSvnDiffHeader() to set the isBinary key. 2359 - Adjusted parseDiffHeader() to set the isBinary key. 2360 - Changed the scmFormat key set by parseDiffHeader() to 2361 isGit and isSvn keys. 2362 - Adjusted parseDiff() to set the isBinary, isGit, and isSvn keys. 2363 2364 * Scripts/svn-apply: 2365 - Updated the patch() method to use the isBinary, isGit, and 2366 isSvn keys. 2367 2368 * Scripts/svn-unapply: 2369 - Updated the patch() method to use the isBinary and isSvn keys. 2370 2371 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: 2372 - Updated the unit tests as necessary. 2373 - Added a test case to test that the isBinary key is getting set properly. 2374 2375 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: 2376 - Updated the unit tests as necessary. 2377 2378 * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl: 2379 - Updated the unit tests as necessary. 2380 2381 * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl: 2382 - Updated the unit tests as necessary. 2383 2384 2010-05-06 Kent Tamura <tkent (a] chromium.org> 2385 2386 Reviewed by Dimitri Glazkov. 2387 2388 [DRT/Chromium] Add support for resources on Mac 2389 https://bugs.webkit.org/show_bug.cgi?id=38637 2390 2391 Repack webkit_chromium_resources.pak, webkit_strings_en-US.pak, 2392 and webkit_resources.pak, and put them as Mac bundle resource. 2393 The 'actions' section is almost same as a part of test_shell.gypi. 2394 2395 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 2396 2397 2010-05-06 Csaba Osztrogonc <ossy (a] webkit.org> 2398 2399 [Qt] Unreviewed buildfix after r58917. 2400 2401 * DumpRenderTree/qt/LayoutTestControllerQt.h: Missing function declaration added. 2402 2403 2010-05-06 Anders Carlsson <andersca (a] apple.com> 2404 2405 Reviewed by Darin Adler and Dan Bernstein.. 2406 2407 REGRESSION (r51617): when plugins are disabled, plugins show up as garbage characters 2408 https://bugs.webkit.org/show_bug.cgi?id=38698 2409 <rdar://problem/7942075> 2410 2411 Add a 'setPluginsEnabled' layoutTestController function for disabling plug-ins. This is only implemented on Mac currently 2412 because the bug that needs this functionality is mac specific. 2413 2414 * DumpRenderTree/LayoutTestController.cpp: 2415 (setPluginsEnabledCallback): 2416 (LayoutTestController::staticFunctions): 2417 * DumpRenderTree/LayoutTestController.h: 2418 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 2419 (LayoutTestController::setPluginsEnabled): 2420 * DumpRenderTree/mac/DumpRenderTree.mm: 2421 (resetDefaultsToConsistentValues): 2422 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 2423 (LayoutTestController::setPluginsEnabled): 2424 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 2425 (LayoutTestController::setPluginsEnabled): 2426 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 2427 (LayoutTestController::setPluginsEnabled): 2428 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 2429 (LayoutTestController::setPluginsEnabled): 2430 2431 2010-05-06 Jochen Eisinger <jochen (a] chromium.org> 2432 2433 Reviewed by Dimitri Glazkov. 2434 2435 Make ImageDiff depend on WebKit. When compiled from within Chromium, WTF is not a standalone dynamic library but depends on WebKit. 2436 https://bugs.webkit.org/show_bug.cgi?id=38632 2437 2438 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 2439 2440 2010-05-06 Simon Hausmann <simon.hausmann (a] nokia.com> 2441 2442 Reviewed by Kenneth Rohde Christiansen. 2443 2444 [Qt] Replace public inspector url with private property for QtLauncher 2445 https://bugs.webkit.org/show_bug.cgi?id=35340 2446 2447 Replace the public API with a private dynamic property until this feature 2448 is ready. 2449 2450 * QtLauncher/main.cpp: 2451 (LauncherWindow::init): 2452 2453 2010-05-05 Joseph Pecoraro <joepeck (a] webkit.org> 2454 2455 Reviewed by Pavel Feldman. 2456 2457 Web Inspector: build-webkit --inspector-frontend Should Exclude *.re2js 2458 https://bugs.webkit.org/show_bug.cgi?id=38449 2459 2460 * Scripts/webkitdirs.pm: 2461 2462 2010-05-05 Charles Wei <charles.wei (a] torchmobile.com.cn> 2463 2464 Reviewed by George Staikos 2465 2466 This patch adds WCSS -wap-input-format and -wap-input-required support to WebKit 2467 Make the test cases in fast/wcss optionional only when WCSS is enabled. 2468 2469 https://bugs.webkit.org/show_bug.cgi?id=37848 2470 2471 * Scripts/old-run-webkit-tests: 2472 * Scripts/webkitperl/features.pm: 2473 2474 2010-05-05 Kent Tamura <tkent (a] chromium.org> 2475 2476 Reviewed by Eric Seidel. 2477 2478 [DRT/Chromium] Remove InitWebCoreSystemInterface() call 2479 https://bugs.webkit.org/show_bug.cgi?id=38624 2480 2481 Chromium r45167 <http://src.chromium.org/viewvc/chrome?view=rev&revision=45167> 2482 added InitWebCoreSystemInterface() to webkit/support/platform_support_mac.mm. 2483 So we don't need to call it from DumpRenderTree.cpp anymore. 2484 2485 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 2486 * DumpRenderTree/chromium/DumpRenderTree.cpp: 2487 (main): Remove InitWebCoreSystemInterface(). 2488 2489 2010-05-05 Dirk Pranke <dpranke (a] chromium.org> 2490 2491 Reviewed by Eric Seidel. 2492 2493 new-run-webkit-tests: clean up newline handling in printing 2494 2495 The new printing module seems to handle newlines somewhat 2496 inconsistently, especially in --verbose mode. This change cleans up 2497 the code to make things more consistent and adds a bunch of unit tests. 2498 2499 https://bugs.webkit.org/show_bug.cgi?id=38616 2500 2501 * Scripts/webkitpy/common/array_stream.py: Added. 2502 * Scripts/webkitpy/common/array_stream_unittest.py: Added. 2503 * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: 2504 * Scripts/webkitpy/layout_tests/layout_package/metered_stream_unittest.py: Added. 2505 * Scripts/webkitpy/layout_tests/layout_package/printing.py: 2506 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py: 2507 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 2508 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 2509 2510 2010-05-05 James Robinson <jamesr (a] chromium.org> 2511 2512 Reviewed by Adam Barth. 2513 2514 Ban the single letter 'l' as an identifier name 2515 http://trac.webkit.org/changeset/58844 2516 2517 Add a lint rule to ban the single letter 'l' as an identifier name 2518 since it is very easy to confuse with the numeral '1', especially 2519 in code like WebCore/css/CSSHelper.cpp. 2520 2521 See http://trac.webkit.org/changeset/58844 as an example of a bug 2522 caused by confusing short variable names. 2523 2524 * Scripts/webkitpy/style/checkers/cpp.py: 2525 * Scripts/webkitpy/style/checkers/cpp_unittest.py: 2526 2527 2010-05-04 Eric Seidel <eric (a] webkit.org> 2528 2529 Reviewed by Shinichiro Hamaji. 2530 2531 PrettyPatch.pretty_diff("") should not hang 2532 https://bugs.webkit.org/show_bug.cgi?id=38552 2533 2534 Also found a bug in PrettyPatch.pretty_diff where it would 2535 hang when passed "" as input. 2536 2537 I suspect there may be bugs in prettify.rb (or our use there-of) 2538 where it can hang, which would then cause the testing thread to hang. 2539 2540 * Scripts/webkitpy/common/prettypatch.py: 2541 - Don't hang when passed "" 2542 * Scripts/webkitpy/common/prettypatch_unittest.py: 2543 - Test that we don't hang when passed "" 2544 * Scripts/webkitpy/layout_tests/port/base.py: 2545 - Add a FIXME that we should share code with prettypatch.rb 2546 2547 2010-05-04 Dirk Pranke <dpranke (a] chromium.org> 2548 2549 Reviewed by Eric Seidel. 2550 2551 new-run-webkit-tests: turn off threading on the Chromium Mac port until 2552 we can stabilize the port more and figure out why it is hanging so 2553 frequently. 2554 2555 https://bugs.webkit.org/show_bug.cgi?id=38553 2556 2557 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 2558 - override default_child_processes() and log a warning 2559 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 2560 - fix a typo that caused us to print a method object instead of the 2561 value the method object returns in the case where there is only 2562 one child process. 2563 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 2564 - Add unit tests for the output of run_webkit_tests - in this case, 2565 the handling of --child-processes and --print config 2566 2567 2010-05-04 Timothy Hatcher <timothy (a] apple.com> 2568 2569 Fix the find command in extract-localizable-strings so skip 2570 directories are correctly skipped and header files are searched. 2571 2572 https://bugs.webkit.org/show_bug.cgi?id=38545 2573 rdar://problem/7941295 2574 2575 Reviewed by Darin Adler. 2576 2577 * Scripts/extract-localizable-strings: Append -o after each -prune 2578 so -and isn't implied. Surround all the -name arguments so they get 2579 an implied -print action. Removed check for "icu". Skip any header that 2580 ends in LocalizableStrings.h, so SafariLocalizableStrings.h is skipped. 2581 * Scripts/update-webkit-localizable-strings: Add the two icu directories 2582 to the skip list. 2583 2584 2010-05-04 Jesus Sanchez-Palencia <jesus (a] webkit.org> 2585 2586 Reviewed by Eric Seidel. 2587 2588 Wrong documentation on 'webkit-patch help land'. 2589 https://bugs.webkit.org/show_bug.cgi?id=37871 2590 2591 Small fix on the help documentation for webkit-patch 2592 land. 2593 2594 * Scripts/webkitpy/tool/commands/download.py: 2595 2596 2010-05-04 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 2597 2598 Reviewed by Kenneth Rohde Christiansen. 2599 2600 [Qt] QWebPage viewMode property 2601 https://bugs.webkit.org/show_bug.cgi?id=38119 2602 2603 Rename the property from wrt_viewMode to _q_viewMode. 2604 2605 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 2606 (LayoutTestController::setViewModeMediaFeature): 2607 2608 2010-05-04 Jochen Eisinger <jochen (a] chromium.org> 2609 2610 Reviewed by Jeremy Orlow. 2611 2612 Fix typo in run_webkit_tests.py: s/_print\./_printer./ 2613 https://bugs.webkit.org/show_bug.cgi?id=38515 2614 2615 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 2616 2617 2010-05-04 Chris Jerdonek <cjerdonek (a] webkit.org> 2618 2619 Reviewed by Eric Seidel. 2620 2621 This revision completes the terminology change from "processor" to 2622 "checker" for the CarriageReturnProcessor, CppProcessor, 2623 PythonProcessor, and TextProcessor classes, etc. 2624 2625 https://bugs.webkit.org/show_bug.cgi?id=38262 2626 2627 The word "processor" currently has two uses in our code. This 2628 revision renames the lower-level use to "checker" and preserves the 2629 word "processor" for higher-level, more general uses. This 2630 revision also makes whatever other name changes that logically 2631 followed from this change. 2632 2633 * Scripts/check-webkit-style: 2634 - Updated references to PatchChecker. 2635 2636 * Scripts/webkitpy/style/checker.py: 2637 - Renamed the StyleCheckerConfiguration class to 2638 StyleProcessorConfiguration. 2639 - Renamed the ProcessorDispatcher class to CheckerDispatcher, and 2640 made similar changes for the class's method names. 2641 - Renamed the PatchChecker class to PatchReader. 2642 - Updated the file as necessary to accommodate the other class 2643 renames in this patch. 2644 2645 * Scripts/webkitpy/style/checker_unittest.py: 2646 - Updated the unit test code as necessary. 2647 2648 * Scripts/webkitpy/style/checkers/common.py: 2649 - Renamed the CarriageReturnProcessor class to CarriageReturnChecker, 2650 and changed its process() method to check(). 2651 2652 * Scripts/webkitpy/style/checkers/common_unittest.py: 2653 - Updated the unit test code as necessary. 2654 2655 * Scripts/webkitpy/style/checkers/cpp.py: 2656 - Renamed the CppProcessor class to CppChecker, and renamed its 2657 process() method to check(). 2658 2659 * Scripts/webkitpy/style/checkers/cpp_unittest.py: 2660 - Updated the unit test code as necessary. 2661 2662 * Scripts/webkitpy/style/checkers/python.py: 2663 - Renamed the PythonProcessor class to PythonChecker, and renamed 2664 its process() method to check(). 2665 2666 * Scripts/webkitpy/style/checkers/python_unittest.py: 2667 - Updated the unit test code as necessary. 2668 2669 * Scripts/webkitpy/style/checkers/text.py: 2670 - Renamed the TextProcessor class to TextChecker, and renamed 2671 its process() method to check(). 2672 2673 * Scripts/webkitpy/style/checkers/text_unittest.py: 2674 - Updated the unit test code as necessary. 2675 2676 * Scripts/webkitpy/style/error_handlers.py: 2677 - Updated the code as necessary. 2678 2679 * Scripts/webkitpy/style/error_handlers_unittest.py: 2680 - Updated the unit test code as necessary. 2681 2682 2010-05-04 Chris Jerdonek <cjerdonek (a] webkit.org> 2683 2684 Reviewed by Eric Seidel. 2685 2686 Adjusted svn-apply and -unapply to accept git diffs generated 2687 using the --no-prefix flag. 2688 2689 https://bugs.webkit.org/show_bug.cgi?id=32438 2690 2691 * Scripts/VCSUtils.pm: 2692 - Loosened the regular expression for the "diff --git" line to 2693 match when the --no-prefix flag is used with "git diff". 2694 - Also refactored the code parsing the first line so that the 2695 script exits with an error message if the first line cannot 2696 be parsed. 2697 * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl: 2698 - Added a unit test case for the --no-prefix case. 2699 2700 2010-05-04 Chris Jerdonek <cjerdonek (a] webkit.org> 2701 2702 Reviewed by Daniel Bates. 2703 2704 Changed VCSUtils.pm's parseDiffHeader() to call the new 2705 parseGitDiffHeader() method. 2706 2707 https://bugs.webkit.org/show_bug.cgi?id=38454 2708 2709 This revision makes more progress towards adding executable-bit 2710 support to svn-apply and svn-unapply. It also makes more progress 2711 towards refactoring the code into a more maintainable form. 2712 2713 * Scripts/VCSUtils.pm: 2714 - Removed gitdiff2svndiff(). 2715 - Removed the Git-specific logic from parseDiffHeader() and 2716 renamed it parseSvnDiffHeader(). 2717 - Added a new parseDiffHeader() subroutine which calls 2718 parseSvnDiffHeader() or parseGitDiffHeader() depending on 2719 the format of the first header line. 2720 2721 * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl: Removed. 2722 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: 2723 - Removed most of the test cases since these cases are now 2724 covered by the unit tests for parseSvnDiffHeader() and 2725 parseGitDiffHeader(). 2726 2727 * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl: Added. 2728 - Copied the SVN unit tests from parseDiffHeader.pl and updated 2729 them as necessary. 2730 2731 2010-05-03 Eric Seidel <eric (a] webkit.org> 2732 2733 Reviewed by Adam Barth. 2734 2735 Builders should run the perl and python unit tests on every commit 2736 https://bugs.webkit.org/show_bug.cgi?id=37976 2737 2738 The unit tests take a few seconds to run, so they should not 2739 have any noticable effect on builder speed. 2740 2741 We're running the tests everywhere but Tiger as Tiger's 2742 Python version is ancient. 2743 I would have rather have detected the python version of the 2744 slave but I couldn't find any API to do that, and I didn't want 2745 to hack version detection into test-webkitpy (at least not yet). 2746 2747 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 2748 2749 2010-05-03 Chris Jerdonek <cjerdonek (a] webkit.org> 2750 2751 Reviewed by Adam Barth. 2752 2753 Fixed a recent REGRESSION that caused svn-apply and -unapply to 2754 skip over changes to the first file in a diff if leading junk was 2755 present (like in an e-mail diff) and if the --force option was used. 2756 2757 https://bugs.webkit.org/show_bug.cgi?id=38507 2758 2759 * Scripts/svn-apply: 2760 - Removed the bit of code at the beginning of the patch() 2761 subroutine that checks for the "Index:" line at the beginning 2762 of a file diff (since the parsePatch() subroutine already 2763 checks this). 2764 2765 * Scripts/svn-unapply: 2766 - Removed the bit of code at the beginning of the patch() 2767 subroutine that checks for the "Index:" line at the beginning 2768 of a file diff (since the parsePatch() subroutine already 2769 checks this). 2770 2771 2010-05-03 Chris Jerdonek <cjerdonek (a] webkit.org> 2772 2773 Unreviewed. 2774 2775 Adjusted the ChangeLog entry below for r58732 (bug 35804) to reflect 2776 the fact that the change will not become active until the patch 2777 for bug 38454 lands. 2778 2779 2010-05-03 Chris Jerdonek <cjerdonek (a] webkit.org> 2780 2781 Reviewed by Eric Seidel. 2782 2783 Added code for svn-apply and -unapply to display an instructive error 2784 message if the --binary flag is left off the "git diff" command 2785 for diffs containing binary file differences. 2786 2787 https://bugs.webkit.org/show_bug.cgi?id=35804 2788 2789 This change will become active when parseDiffHeader() is modified 2790 to call parseGitDiffHeader (see bug 38454). 2791 2792 * Scripts/VCSUtils.pm: 2793 - Adjusted parseDiffHeader() to exit with an appropriate error message 2794 if it encounters a line of the form "Binary files <path1> and 2795 <path2> differ". 2796 2797 2010-05-03 Dirk Pranke <dpranke (a] chromium.org> 2798 2799 Unreviewed, build fix. 2800 2801 new-run-webkit-tests: r58728 broke the buildbot logic for parsing the 2802 output of the log; specifying --verbose should basically be equivalent 2803 to --print everything, but instead it was equivalent to not specifying 2804 --print and getting the default set. Now, --verbose acts as if 2805 --print everything was implicitly specified as the default (you can 2806 still override it if you specify both; this is a somewhat debatable 2807 call). 2808 2809 https://bugs.webkit.org/show_bug.cgi?id=38504 2810 2811 * Scripts/webkitpy/layout_tests/layout_package/printing.py: 2812 2813 2010-05-03 Dirk Pranke <dpranke (a] chromium.org> 2814 2815 Unreviewed, build fix. 2816 2817 new-run-webkit-tests: Fix minor precedence bug introduced in r58728 where we printed 2818 "-\n" 78 times instead of "-" 78 times followed by a single "\n". 2819 2820 * Scripts/webkitpy/layout_tests/layout_package/printing.py: 2821 2822 2010-05-03 Dirk Pranke <dpranke (a] chromium.org> 2823 2824 Reviewed by Eric Seidel. 2825 2826 new-run-webkit-tests: refactor a large chunk of the printing/logging 2827 code out of run-webkit-tests py (almost 300 lines out of 1900). 2828 2829 This change also renames --log to --print (to be slightly more 2830 descriptive). I've also added better help messages for printing. 2831 2832 The new code has unit tests! 2833 2834 There is still more code to be moved, but this patch is big enough as 2835 it is. Namely, still to move are the printing of the actual results 2836 and the timing statistics, which should move another 300-400 lines 2837 out of the file. 2838 2839 Notable changes to run_webkit_tests.py beyond code simply moving: 2840 * MeteredStream is now hidden under the new printing.Printer class. 2841 All the references to self._meter now point to self._printer. 2842 * All logging configuration is done in printing.configure_logging() 2843 * Instead of using write() lambdas to control what is and isn't 2844 printed, we use separate methods on the printer object. This will 2845 make it easier to grep which print statements are printed 2846 under protection of each flag. 2847 * The print_results flag I added a few revs back to suppress printing 2848 in the unit tests has been replaced with --print nothing. 2849 * The ResultSummary class now stores the entire TestResult for each 2850 test, not just the actual result type. 2851 * summarize_unexpected_results() got moved from a method on TestRunner 2852 to a standalone function. This should move into a separate file 2853 along with the ResultSummary class and the TestResult class 2854 * The --trace option added recently has been replaced by 2855 '--print trace-everything' and '--print trace-unexpected' 2856 2857 https://bugs.webkit.org/show_bug.cgi?id=38018 2858 2859 * Scripts/new-run-webkit-tests: 2860 - update to new entry points in run_webkit_tests.py 2861 * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: 2862 - fix a minor nit where we were printing an empty string where 2863 we didn't need to 2864 * Scripts/webkitpy/layout_tests/layout_package/printing.py: Added. 2865 * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py: Added 2866 * Scripts/webkitpy/layout_tests/port/test.py: 2867 - implement relative_test_filename() and expected_filename() so 2868 we can test printing unexpected results in a platform-neutral 2869 way 2870 * Scripts/webkitpy/run_webkit_test.py: 2871 - move a lot of the printing code into printing.py 2872 - change the signatures of the exported entry points for easier 2873 unit testing 2874 * Scripts/webkitpy/run_webkit_tests_unittest.py: 2875 - update w/ changes to run_webkit_tests entry points. 2876 2877 2010-05-03 Kevin Watters <kevinwatters (a] gmail.com> 2878 2879 Reviewed by Kevin Ollivier. 2880 2881 [wx] Build and use Mac's ComplexTextController to support complex text in wx. 2882 https://bugs.webkit.org/show_bug.cgi?id=38482 2883 2884 * wx/build/settings.py: 2885 2886 2010-05-03 Abhishek Arya <inferno (a] chromium.org> 2887 2888 Reviewed by Adam Barth. 2889 2890 Add support for controlling clipboard access from javascript. 2891 Clipboard access from javascript is enabled in test framework. 2892 https://bugs.webkit.org/show_bug.cgi?id=27751 2893 2894 * DumpRenderTree/LayoutTestController.cpp: 2895 (setJavaScriptCanAccessClipboardCallback): 2896 (LayoutTestController::staticFunctions): 2897 * DumpRenderTree/LayoutTestController.h: 2898 * DumpRenderTree/chromium/LayoutTestController.cpp: 2899 (LayoutTestController::LayoutTestController): 2900 (LayoutTestController::setJavaScriptCanAccessClipboard): 2901 (LayoutTestController::overridePreference): 2902 * DumpRenderTree/chromium/LayoutTestController.h: 2903 * DumpRenderTree/chromium/TestShell.cpp: 2904 (TestShell::resetWebSettings): 2905 * DumpRenderTree/gtk/DumpRenderTree.cpp: 2906 (resetDefaultsToConsistentValues): 2907 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 2908 (LayoutTestController::setJavaScriptCanAccessClipboard): 2909 * DumpRenderTree/mac/DumpRenderTree.mm: 2910 (resetDefaultsToConsistentValues): 2911 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 2912 (LayoutTestController::setJavaScriptCanAccessClipboard): 2913 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 2914 (WebCore::WebPage::WebPage): 2915 (WebCore::WebPage::resetSettings): 2916 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 2917 (LayoutTestController::setJavaScriptCanAccessClipboard): 2918 * DumpRenderTree/qt/LayoutTestControllerQt.h: 2919 * DumpRenderTree/win/DumpRenderTree.cpp: 2920 (resetDefaultsToConsistentValues): 2921 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 2922 (LayoutTestController::setJavaScriptCanAccessClipboard): 2923 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 2924 (LayoutTestController::setJavaScriptCanAccessClipboard): 2925 2926 2010-05-03 Anders Carlsson <andersca (a] apple.com> 2927 2928 Reviewed by Adam Roben. 2929 2930 Maui MiniBrowser: Add an option to show/hide the web view 2931 https://bugs.webkit.org/show_bug.cgi?id=38486 2932 2933 * MiniBrowser/win/BrowserWindow.cpp: 2934 (BrowserWindow::createWindow): 2935 Set the background brush to something other than null. 2936 2937 (BrowserWindow::onCommand): 2938 Show and hide the web view accordingly. 2939 2940 * MiniBrowser/win/MiniBrowser.rc: 2941 * MiniBrowser/win/resource.h: 2942 Add new menu item. 2943 2944 2010-05-03 Chris Jerdonek <cjerdonek (a] webkit.org> 2945 2946 Reviewed by Daniel Bates. 2947 2948 Added a parseGitDiffHeader() subroutine to VCSUtils.pm that 2949 parses any changes to the executable bit in a Git diff. 2950 2951 https://bugs.webkit.org/show_bug.cgi?id=38425 2952 2953 This revision is more preparation towards adding "executable bit" 2954 support to svn-apply and svn-unapply. No code is going "live" in 2955 this change except for the new unit tests in test-webkitperl. 2956 2957 * Scripts/VCSUtils.pm: 2958 - Added isExecutable() to determine whether a file mode has the 2959 executable bit set or not. 2960 - Added parseGitDiffHeader() to parse the header of a Git diff. 2961 2962 * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl: Added. 2963 - Added unit tests for parseGitDiffHeader(). 2964 2965 2010-05-03 Daniel Bates <dbates (a] rim.com> 2966 2967 Reviewed by Chris Jerdonek. 2968 2969 https://bugs.webkit.org/show_bug.cgi?id=38447 2970 2971 Refactor the unit tests in VCSUtils_unittest/parseDiff.pl to use 2972 Test::More::is_deeply like we do in VCSUtils_unittest/parseDiffHeader.pl. 2973 2974 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: 2975 2976 2010-05-02 Chris Jerdonek <cjerdonek (a] webkit.org> 2977 2978 Unreviewed. 2979 2980 Corrected a file path in the ChangeLog entry for r58663 (bug 38319) below. 2981 2982 2010-05-02 Chris Jerdonek <cjerdonek (a] webkit.org> 2983 2984 Reviewed by Eric Seidel. 2985 2986 https://bugs.webkit.org/show_bug.cgi?id=38319 2987 2988 * Scripts/VCSUtils.pm: 2989 - In parseDiffHeader()-- 2990 - Added an "scmFormat" hash key to the return value to represent 2991 whether the diff is Git or SVN formatted. 2992 - Adjusted the code so the value of "copiedFromPath" will 2993 be undef rather than "does not exist" if the file was not 2994 copied. 2995 2996 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: 2997 - Added a FIXME to refactor these unit tests to use is_deeply(). 2998 2999 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: 3000 - Updated the unit tests to test the "scmFormat" value. 3001 - Simplified the unit tests by refactoring them to use is_deeply(). 3002 3003 2010-05-01 Daniel Bates <dbates (a] rim.com> 3004 3005 Reviewed by Chris Jerdonek. 3006 3007 https://bugs.webkit.org/show_bug.cgi?id=38423 3008 3009 Adds infrastructure to change the file mode of a file using 3010 the appropriate SCM-specific routines. 3011 3012 No functionality was changed, so no new tests. 3013 3014 * Scripts/VCSUtils.pm: Added subroutines scmToggleExecutableBit, 3015 scmAddExecutableBit, and scmRemoveExecutableBit. 3016 * Scripts/svn-apply: Check for the hash key executableBitDelta 3017 and toggle the executable bit. 3018 * Scripts/svn-unapply: Ditto. 3019 3020 2010-04-30 Chris Marrin <cmarrin (a] apple.com> 3021 3022 Reviewed by Simon Fraser. 3023 3024 Enabled accelerated compositing in DRT for Windows 3025 https://bugs.webkit.org/show_bug.cgi?id=38404 3026 3027 * DumpRenderTree/win/DumpRenderTree.cpp: 3028 (main): 3029 3030 2010-04-30 Anders Carlsson <andersca (a] apple.com> 3031 3032 Try to fix GTK+ build. 3033 3034 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: 3035 (webkit_test_plugin_new_stream): 3036 3037 2010-04-30 Anders Carlsson <andersca (a] apple.com> 3038 3039 Fix build. 3040 3041 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: 3042 3043 2010-04-30 Anders Carlsson <andersca (a] apple.com> 3044 3045 Reviewed by Timothy Hatcher. 3046 3047 Next step towards fixing 3048 3049 https://bugs.webkit.org/show_bug.cgi?id=20784 3050 move npapi.h to C99 integer types 3051 3052 Use the C99 types everywhere. The "old" types are still around but will be removed 3053 in a subsequent commit. 3054 3055 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 3056 (int32VariantToIdentifier): 3057 (doubleVariantToIdentifier): 3058 (testIdentifierToInt): 3059 (testGetIntIdentifier): 3060 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 3061 (NPP_New): 3062 (NPP_NewStream): 3063 (NPP_WriteReady): 3064 (NPP_Write): 3065 (NPP_HandleEvent): 3066 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: 3067 (NPP_New): 3068 (NPP_NewStream): 3069 (NPP_WriteReady): 3070 (NPP_Write): 3071 (NPP_HandleEvent): 3072 3073 2010-04-30 Steve Block <steveblock (a] google.com> 3074 3075 Reviewed by Jeremy Orlow. 3076 3077 Changed Steve Block from committer to reviewer. 3078 3079 * Scripts/webkitpy/common/config/committers.py: 3080 3081 2010-04-28 Ojan Vafai <ojan (a] chromium.org> 3082 3083 Reviewed by Eric Seidel. 3084 3085 webkit-patch doesn't work if a git repo is tracking multiple svn repos 3086 https://bugs.webkit.org/show_bug.cgi?id=38290 3087 3088 Getting the tests to pass required getting our SVN repo to more closely 3089 match the real svn.webkit.org repo by having a trunk directory. 3090 That involved adding an extra commit at the beginning and thus changing 3091 all the commit numbers in the tests. 3092 3093 * Scripts/webkitpy/common/checkout/scm.py: 3094 3095 2010-04-29 Eric Seidel <eric (a] webkit.org> 3096 3097 Reviewed by Adam Barth. 3098 3099 new-run-webkit-tests can deadlock with Chromium's TestShell 3100 https://bugs.webkit.org/show_bug.cgi?id=38298 3101 3102 Fix _write_command_and_read_line to never send unicode() to 3103 test_shell, instead to always encode as utf-8. This was causing 3104 random hangs because if test_shell ever encounters a \0 in the 3105 stream it can deadlock with NRWT. 3106 3107 There is still a deadlock bug to fix in NRWT/test_shell design, however 3108 this fix should make the deadlock occur less often. 3109 3110 * Scripts/webkitpy/layout_tests/port/chromium.py: 3111 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py: 3112 3113 2010-04-29 Chris Jerdonek <cjerdonek (a] webkit.org> 3114 3115 Reviewed by Eric Seidel. 3116 3117 Refactored svn-apply and svn-unapply to use the new 3118 parsePatch() subroutine. 3119 3120 https://bugs.webkit.org/show_bug.cgi?id=34033 3121 3122 * Scripts/VCSUtils.pm: 3123 - Consolidated %diffHash documentation. 3124 - Added prepareParsedPatch(). 3125 3126 * Scripts/svn-apply: 3127 - Replaced main while loop with calls to parsePatch() and 3128 prepareParsedPatch(). 3129 3130 * Scripts/svn-unapply: 3131 - Replaced main while loop with calls to parsePatch() and 3132 prepareParsedPatch(). 3133 3134 * Scripts/test-webkitperl: 3135 - Changed to render relative test paths rather than absolute 3136 test paths. 3137 3138 * Scripts/webkitperl/VCSUtils_unittest/prepareParsedPatch.pl: Added. 3139 - Added unit tests for prepareParsedPatch(). 3140 3141 2010-04-28 Chris Jerdonek <cjerdonek (a] webkit.org> 3142 3143 Reviewed by Eric Seidel. 3144 3145 Added to VCSUtils's parseDiffHeader() support for binary patches. 3146 3147 https://bugs.webkit.org/show_bug.cgi?id=38094 3148 3149 The parseDiffHeader() function is part of new patch-parsing code 3150 for svn-apply and svn-unapply that will go live in a subsequent 3151 revision. 3152 3153 * Scripts/VCSUtils.pm: 3154 - Added logic to parseDiffHeader() to recognize the ending of 3155 the header portion of a binary diff. 3156 3157 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: 3158 - Added unit test cases for SVN and Git binary diffs. 3159 3160 2010-04-28 Eric Seidel <eric (a] webkit.org> 3161 3162 Reviewed by David Levin. 3163 3164 Document that subprocess.poll/wait are not threadsafe 3165 https://bugs.webkit.org/show_bug.cgi?id=38289 3166 3167 * Scripts/webkitpy/common/system/executive.py: 3168 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 3169 * Scripts/webkitpy/layout_tests/port/chromium.py: 3170 * Scripts/webkitpy/layout_tests/port/http_server.py: 3171 * Scripts/webkitpy/layout_tests/port/server_process.py: 3172 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 3173 3174 2010-04-28 Chris Jerdonek <cjerdonek (a] webkit.org> 3175 3176 Reviewed by Daniel Bates. 3177 3178 Removed the dividing line (i.e. "====...") logic from the code 3179 called by svn-apply and svn-unapply. 3180 3181 https://bugs.webkit.org/show_bug.cgi?id=38093 3182 3183 The dividing line logic is unnecessary. Removing it simplifies the 3184 code and makes some subsequent changes easier. 3185 3186 * Scripts/VCSUtils.pm: 3187 - Removed the logic in gitdiff2svndiff() to convert the git 3188 "index" line to an SVN dividing line. 3189 - Adjusted the logic similarly in parseDiffHeader(). 3190 3191 * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl: 3192 - Updated the unit tests as necessary. 3193 3194 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: 3195 - Updated the unit tests as necessary. 3196 - Corrected an error in the unit tests whereby all elements 3197 of an array were referencing the same element rather than 3198 distinct elements -- causing unit test failures to be masked. 3199 3200 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: 3201 - Updated the unit tests as necessary. 3202 - Made the same unit test correction as above for parseDiff.pl. 3203 3204 2010-04-28 Evan Stade <estade (a] chromium.org> 3205 3206 Unreviewed. 3207 3208 * Scripts/webkitpy/common/config/committers.py: adding myself as a committer 3209 3210 2010-04-28 Sam Weinig <sam (a] webkit.org> 3211 3212 Reviewed by Mark Rowe. 3213 3214 Add MiniBrowser to the lists of modules to build and only build it on 3215 SnowLeopard and later. 3216 3217 * Makefile: 3218 * MiniBrowser/Makefile: 3219 3220 2010-04-28 Sam Weinig <sam (a] webkit.org> 3221 3222 Reviewed by Mark Rowe. 3223 3224 Make running MiniBrowser.app without explicitly setting DYLD_FRAMEWORK_PATH. 3225 3226 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: 3227 * MiniBrowser/mac/make-launchable.sh: Added. 3228 3229 2010-04-28 Eric Seidel <eric (a] webkit.org> 3230 3231 Reviewed by David Levin. 3232 3233 Audit all uses of subprocess in webkitpy 3234 https://bugs.webkit.org/show_bug.cgi?id=38284 3235 3236 After further discussions with Jeffrey Yasskin 3237 about http://bugs.python.org/issue2320 3238 and related issues of using subprocess from 3239 multiple threads, I have learned that subprocess 3240 is known to be non-threadsafe through recent 3241 Python 2.7 builds. 3242 3243 I'm attempting to lessen our exposure to these 3244 subprocess bugs by auditing each use of subprocess 3245 in webkitpy. I did not find any unsafe calls 3246 in my audit, but I did remove numerous unneeded 3247 import subprocess lines. 3248 3249 * Scripts/webkitpy/common/checkout/api.py: 3250 * Scripts/webkitpy/common/net/bugzilla.py: 3251 * Scripts/webkitpy/common/system/deprecated_logging_unittest.py: 3252 * Scripts/webkitpy/common/system/user.py: 3253 * Scripts/webkitpy/layout_tests/port/base.py: 3254 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 3255 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 3256 * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py: Added. 3257 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 3258 * Scripts/webkitpy/layout_tests/port/gtk.py: 3259 * Scripts/webkitpy/layout_tests/port/mac.py: 3260 * Scripts/webkitpy/layout_tests/port/qt.py: 3261 * Scripts/webkitpy/layout_tests/port/webkit.py: 3262 * Scripts/webkitpy/layout_tests/port/win.py: 3263 3264 2010-04-28 Darin Adler <darin (a] apple.com> 3265 3266 Ignore a directory the Python tools creates. 3267 3268 * Scripts/webkitpy/style: Modified property svn:ignore. 3269 3270 2010-04-28 Darin Adler <darin (a] apple.com> 3271 3272 * Scripts/extract-localizable-strings: Fix minor mistake in 3273 argument checking. 3274 3275 2010-04-28 Luiz Agostini <luiz.agostini (a] openbossa.org> 3276 3277 Reviewed by Kenneth Rohde Christiansen. 3278 3279 [Qt] QWebPage viewMode property 3280 https://bugs.webkit.org/show_bug.cgi?id=38119 3281 3282 Replacing method qt_wrt_setViewMode by wrt_viewMode property. 3283 3284 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 3285 (LayoutTestController::setViewModeMediaFeature): 3286 3287 2010-04-28 Chris Jerdonek <cjerdonek (a] webkit.org> 3288 3289 Reviewed by Shinichiro Hamaji. 3290 3291 Adjusted check-webkit-style so that files with file type NONE 3292 are automatically skipped without warning. 3293 3294 https://bugs.webkit.org/show_bug.cgi?id=38197 3295 3296 This change simplifies configuring which files to skip. It also 3297 addresses an issue whereby check-webkit-style was unintentionally 3298 checking .vcproj files for carriage returns. 3299 3300 * Scripts/webkitpy/style/checker.py: 3301 - Moved the C++, Python, and text file extensions to new 3302 module-level configuration variables. 3303 - Removed .pyc from the _SKIPPED_FILES_WITHOUT_WARNING configuration 3304 variable. 3305 - Changed the numeric values of the FileType enum so that 3306 FileType.NONE evaluates to False. 3307 - For ProcessorDispatcher.should_skip_without_warning(): 3308 - Changed the method to return True for FileType.NONE files. 3309 - Made ChangeLog files an exception to getting skipped. 3310 - Changed the StyleProcessor.process() method to raise an 3311 exception if given a file path that should not be processed. 3312 3313 * Scripts/webkitpy/style/checker_unittest.py: 3314 - Updated the unit tests and added more test cases as necessary. 3315 3316 2010-04-28 Eric Seidel <eric (a] webkit.org> 3317 3318 Reviewed by Jeremy Orlow. 3319 3320 webkitpy: ScriptError('Failed to run "[u\'taskkill.exe\', u\'/f\', u\'/im\', u\'httpd.exe\']" exit_code: 128',) 3321 https://bugs.webkit.org/show_bug.cgi?id=38248 3322 3323 The previous code did not check the return code of taskkill. 3324 When I moved that callsite from using subprocess.call to 3325 Executive.run_command having a non-zero return code became an error. 3326 3327 In this change I've centralized our killall handling in executive, 3328 and added tests for it to make sure it works. 3329 3330 Currently kill_process and kill_all swallow exceptions in the cases 3331 where the process(es) to be killed do(es) not exist. 3332 3333 * Scripts/webkitpy/common/system/executive.py: 3334 * Scripts/webkitpy/common/system/executive_unittest.py: 3335 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 3336 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 3337 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 3338 * Scripts/webkitpy/layout_tests/port/gtk.py: 3339 * Scripts/webkitpy/layout_tests/port/mac.py: 3340 * Scripts/webkitpy/layout_tests/port/qt.py: 3341 * Scripts/webkitpy/layout_tests/port/win.py: 3342 3343 2010-04-28 Eric Seidel <eric (a] webkit.org> 3344 3345 Reviewed by Shinichiro Hamaji. 3346 3347 wdiff_text throws ScriptError because wdiff returns non-zero when files differ 3348 https://bugs.webkit.org/show_bug.cgi?id=38246 3349 3350 wdiff returns 0 when files are the same, 1 when they differ. 3351 run_command by default raises ScriptError if the return code is non-zero. 3352 Fixed this by adding a custom error handler which only raises if the 3353 return code is not 1. 3354 3355 I broke up the huge wdiff_text() method into little pieces 3356 for easier unit testing. There is only one functional change here 3357 and that is the addition of the custom error handler. 3358 3359 * Scripts/webkitpy/layout_tests/port/base.py: 3360 * Scripts/webkitpy/layout_tests/port/base_unittest.py: 3361 3362 2010-04-28 Fumitoshi Ukai <ukai (a] chromium.org> 3363 3364 Unreviewed build fix. 3365 3366 * DumpRenderTree/chromium/TestShell.cpp: 3367 (TestShell::dumpImage): format '%u' expects type 'unsigned int', but argument 2 has type 'size_t'. 3368 * DumpRenderTree/chromium/WebViewHost.cpp: 3369 (WebViewHost::willSendRequest): too few arguments for format. 3370 3371 2010-04-27 Shinichiro Hamaji <hamaji (a] chromium.org> 3372 3373 Reviewed by Darin Adler and Eric Seidel. 3374 3375 Add layoutTestController.setPrinting() 3376 https://bugs.webkit.org/show_bug.cgi?id=37203 3377 3378 * DumpRenderTree/LayoutTestController.cpp: 3379 (LayoutTestController::LayoutTestController): 3380 (setPrintingCallback): 3381 (LayoutTestController::staticFunctions): 3382 * DumpRenderTree/LayoutTestController.h: 3383 (LayoutTestController::isPrinting): 3384 (LayoutTestController::setIsPrinting): 3385 * DumpRenderTree/mac/DumpRenderTree.mm: 3386 (dump): 3387 3388 2010-04-27 Michael Nordman <michaeln (a] google.com> 3389 3390 Reviewed by Dmitry Titov. 3391 3392 [Chromium] Add two things to the webkit API to support appcaches in workers. 3393 1) WebURLRequest TargetTypes for worker and shared worker main resources. 3394 2) Factory method on class WebCommonWorkerClient to 3395 createApplicationCacheHost() for the associated worker. 3396 3397 https://bugs.webkit.org/show_bug.cgi?id=38147 3398 3399 * DumpRenderTree/chromium/TestWebWorker.h add a stub impl of the factory method 3400 (TestWebWorker::createApplicationCacheHost): 3401 3402 2010-04-27 Adam Barth <abarth (a] webkit.org> 3403 3404 Reviewed by Eric Seidel. 3405 3406 run-bindings-tests doesn't work in an SVN checkout 3407 https://bugs.webkit.org/show_bug.cgi?id=38225 3408 3409 Previously detect_scm_system needed an absolute path for SVN. Now we 3410 accept a relative path. 3411 3412 * Scripts/webkitpy/common/checkout/scm.py: 3413 * Scripts/webkitpy/common/checkout/scm_unittest.py: 3414 3415 2010-04-27 Sam Weinig <sam (a] webkit.org> 3416 3417 Reviewed by Stephanie Lewis. 3418 3419 Always build WebKit2 when building on SnowLeopard and later. 3420 3421 * Scripts/build-webkit: 3422 3423 2010-04-27 Sam Weinig <sam (a] webkit.org> 3424 3425 Reviewed by Maciej Stachowiak. 3426 3427 Fix for https://bugs.webkit.org/show_bug.cgi?id=38238 3428 Allow both WebKit and WebKit2 to link to the same WebCore.framework 3429 3430 * Scripts/build-webkit: Remove the UMBRELLA_LDFLAGS override when building 3431 WebCore for WebKit2, it is no longer necessary. 3432 3433 2010-04-27 James Robinson <jamesr (a] chromium.org> 3434 3435 Reviewed by David Levin. 3436 3437 Fix a typo in chromium.py that causes NRWT to fail in --verbose 3438 mode in a Chromium checkout. 3439 https://bugs.webkit.org/show_bug.cgi?id=38234 3440 3441 * Scripts/webkitpy/layout_tests/port/chromium.py: 3442 3443 2010-04-27 Darin Fisher <darin (a] chromium.org> 3444 3445 Reviewed by Dimitri Glazkov. 3446 3447 [Chromium] Remove deprecated form of didChangeLocationWithinPage 3448 https://bugs.webkit.org/show_bug.cgi?id=38178 3449 3450 Switch over to implementing didNavigateWithinPage. 3451 3452 * DumpRenderTree/chromium/WebViewHost.cpp: 3453 (TestWebViewDelegate::didNavigateWithinPage): 3454 (WebViewHost::didChangeLocationWithinPage): 3455 * DumpRenderTree/chromium/WebViewHost.h: 3456 3457 2010-04-27 Evan Martin <evan (a] chromium.org> 3458 3459 Unreviewed. 3460 3461 Adding myself to commmitters list. 3462 3463 * Scripts/webkitpy/common/config/committers.py: 3464 3465 2010-04-27 Adam Barth <abarth (a] webkit.org> 3466 3467 Reviewed by Darin Adler. 3468 3469 run-bindings-tests should use --reset-results instead of --overwrite 3470 https://bugs.webkit.org/show_bug.cgi?id=38200 3471 3472 As requested by Ojan. 3473 3474 * Scripts/run-bindings-tests: 3475 3476 2010-04-27 Adam Barth <abarth (a] webkit.org> 3477 3478 Reviewed by Eric Seidel. 3479 3480 REGRESSION(r58261): webkit-patch edit-changelogs is broken 3481 https://bugs.webkit.org/show_bug.cgi?id=38204 3482 3483 In 58261, we added code to abstract step that interrogates the squash 3484 and git_commit options, but it doesn't declare that it uses those 3485 options. That means any command that doesn't happen to declare those 3486 options might be broken if it uses the cached_lookup mechanism. 3487 3488 * Scripts/webkitpy/tool/steps/abstractstep.py: 3489 * Scripts/webkitpy/tool/steps/applypatch.py: 3490 * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py: 3491 * Scripts/webkitpy/tool/steps/build.py: 3492 * Scripts/webkitpy/tool/steps/checkstyle.py: 3493 * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py: 3494 * Scripts/webkitpy/tool/steps/closebug.py: 3495 * Scripts/webkitpy/tool/steps/closebugforlanddiff.py: 3496 * Scripts/webkitpy/tool/steps/commit.py: 3497 * Scripts/webkitpy/tool/steps/confirmdiff.py: 3498 * Scripts/webkitpy/tool/steps/createbug.py: 3499 * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py: 3500 * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py: 3501 * Scripts/webkitpy/tool/steps/obsoletepatches.py: 3502 * Scripts/webkitpy/tool/steps/postcodereview.py: 3503 * Scripts/webkitpy/tool/steps/postdiff.py: 3504 * Scripts/webkitpy/tool/steps/preparechangelog.py: 3505 * Scripts/webkitpy/tool/steps/runtests.py: 3506 * Scripts/webkitpy/tool/steps/update.py: 3507 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: 3508 * Scripts/webkitpy/tool/steps/validatereviewer.py: 3509 3510 2010-04-27 Eric Seidel <eric (a] webkit.org> 3511 3512 Reviewed by David Levin. 3513 3514 prepare-ChangeLog --bug fails on some CYGWIN installs due to missing certs 3515 https://bugs.webkit.org/show_bug.cgi?id=38212 3516 3517 * Scripts/prepare-ChangeLog: 3518 - Pass --insecure to curl to work around CYGWIN missing certs. 3519 3520 2010-04-27 Sam Weinig <sam (a] webkit.org> 3521 3522 Rubber-stamped by Beth Dakin. 3523 3524 It is no longer necessary to set ENABLE_EXPERIMENTAL_SINGLE_VIEW_MODE 3525 or WTF_USE_WEB_THREAD. Remove them. 3526 3527 * Scripts/build-webkit: 3528 3529 2010-04-27 Chris Jerdonek <cjerdonek (a] webkit.org> 3530 3531 Reviewed by David Levin. 3532 3533 Changed Chris Jerdonek from committer to reviewer. 3534 3535 * Scripts/webkitpy/common/config/committers.py: 3536 3537 2010-04-27 Benjamin Poulain <benjamin.poulain (a] nokia.com> 3538 3539 Reviewed by Kenneth Rohde Christiansen. 3540 3541 [Qt] QGraphicsWebView: Arrow keys scroll the graphics-view instead of the web-page 3542 https://bugs.webkit.org/show_bug.cgi?id=35834 3543 3544 The scene should always have the size of the web view otherwhise it is 3545 possible to scroll the graphics view. 3546 3547 * QtLauncher/webview.cpp: 3548 (WebViewGraphicsBased::resizeEvent): 3549 3550 2010-04-27 Diego Gonzalez <diegohcg (a] webkit.org> 3551 3552 Unreviewed. 3553 3554 Adding myself to committers.py 3555 3556 * Scripts/webkitpy/common/config/committers.py: 3557 3558 2010-04-27 Eric Seidel <eric (a] webkit.org> 3559 3560 Reviewed by Adam Barth. 3561 3562 [chromium] new-run-webkit-tests hangs on Chromium Bots (OS X and Linux) 3563 https://bugs.webkit.org/show_bug.cgi?id=37987 3564 3565 After further research, I believe the hang is caused by: 3566 http://bugs.python.org/issue2320 3567 Basically Popen() is not reentrant. 3568 The workaround is to pass close_fds=True to Popen() on Mac/Linux. 3569 3570 I fixed our main Popen wrapper "Executive.run_command" to use close_fds=True 3571 when appropriate. 3572 3573 I audited all places we call Popen() and either moved them to run_command 3574 or left a FIXME that they are not thread safe. A few places I added the 3575 close_fds workaround there and left an explanitory note. 3576 3577 * Scripts/webkitpy/common/checkout/scm_unittest.py: 3578 - Added note that this Popen use is not threadsafe. 3579 * Scripts/webkitpy/common/system/executive.py: 3580 - Fixed our Executive.run_* to workaround python bug 2320. 3581 * Scripts/webkitpy/common/system/user.py: 3582 _ Added note that this Popen use is not threadsafe. 3583 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: ditto. 3584 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: ditto. 3585 * Scripts/webkitpy/layout_tests/port/base.py: 3586 - Change wdiff back to using run_command now that we believe it 3587 to be threadsafe. 3588 * Scripts/webkitpy/layout_tests/port/chromium.py: 3589 - Fix to use Executive in places. 3590 - Pass self._executive down to the Driver for easier unit testing. 3591 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 3592 - Re-factor to use a _kill_all method. 3593 - Made the _kill_all method use run_command to be threadsafe. 3594 * Scripts/webkitpy/layout_tests/port/http_server.py: 3595 - Add FIXME about using Executive. 3596 * Scripts/webkitpy/layout_tests/port/server_process.py: 3597 - Use Executive to be threadsafe. 3598 * Scripts/webkitpy/layout_tests/port/webkit.py: 3599 - Pass self._executive down to the Driver. 3600 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 3601 - Add note about Popen not being threadsafe. 3602 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 3603 - Move one caller to run_command add notes about moving others. 3604 3605 2010-04-27 Adam Barth <abarth (a] webkit.org> 3606 3607 Reviewed by Maciej Stachowiak. 3608 3609 REGRESSION(r58261): webkit-patch upload does not work in an SVN checkout. 3610 https://bugs.webkit.org/show_bug.cgi?id=38186 3611 3612 Unfortunately, we don't have a good way of testing this change because 3613 our test coverage of the scm.py API is poor... 3614 3615 * Scripts/webkitpy/common/checkout/scm.py: 3616 * Scripts/webkitpy/tool/steps/preparechangelog.py: 3617 3618 2010-04-26 Eric Seidel <eric (a] webkit.org> 3619 3620 Reviewed by Adam Barth. 3621 3622 Remove unused code from text_diff.py 3623 https://bugs.webkit.org/show_bug.cgi?id=38170 3624 3625 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 3626 - Remove is_render_tree_dump which appears unused. 3627 3628 2010-04-26 Adam Barth <abarth (a] webkit.org> 3629 3630 Reviewed by Eric Seidel. 3631 3632 webkit-patch pretty-diff is broken 3633 https://bugs.webkit.org/show_bug.cgi?id=38172 3634 3635 We need to register for these options because they're used when we look 3636 up the diff. 3637 3638 * Scripts/webkitpy/tool/steps/confirmdiff.py: 3639 3640 2010-04-26 Adam Barth <abarth (a] webkit.org> 3641 3642 Reviewed by Eric Seidel. 3643 3644 Add ObjC and GObject to run-bindings-test 3645 https://bugs.webkit.org/show_bug.cgi?id=38168 3646 3647 * Scripts/run-bindings-tests: 3648 3649 2010-04-26 Adam Barth <abarth (a] webkit.org> 3650 3651 Reviewed by Eric Seidel. 3652 3653 Add testing infrastructure for JSC bindings generator 3654 https://bugs.webkit.org/show_bug.cgi?id=38167 3655 3656 Add support for testing more than one bindings. Also, converted the 3657 script to PEP8 style. 3658 3659 * Scripts/run-bindings-tests: 3660 3661 2010-04-26 Eric Seidel <eric (a] webkit.org> 3662 3663 Reviewed by Adam Barth. 3664 3665 Refactor results.html generation out into a new method and test it 3666 https://bugs.webkit.org/show_bug.cgi?id=38164 3667 3668 Hopefully this results in no change in functionality. 3669 3670 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 3671 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 3672 3673 2010-04-26 Adam Barth <abarth (a] webkit.org> 3674 3675 Unreviewed, rolling out r58265. 3676 http://trac.webkit.org/changeset/58265 3677 https://bugs.webkit.org/show_bug.cgi?id=38021 3678 3679 This change prevents me from uploading patches. It also breaks sheriff-bot. 3680 3681 * Scripts/webkitpy/tool/steps/options.py: 3682 3683 2010-04-26 Eric Seidel <eric (a] webkit.org> 3684 3685 Reviewed by Adam Barth. 3686 3687 [chromium] new-run-webkit-tests hangs on Chromium Bots (OS X and Linux) 3688 https://bugs.webkit.org/show_bug.cgi?id=37987 3689 3690 Rolled out: 3691 http://trac.webkit.org/changeset/58062 3692 http://trac.webkit.org/changeset/58060 3693 http://trac.webkit.org/changeset/58059 3694 http://trac.webkit.org/changeset/58055 3695 http://trac.webkit.org/changeset/58054 3696 and parts of: 3697 http://trac.webkit.org/changeset/58050 3698 3699 I also wrote some new comments and a tiny amount of new 3700 code to help make ChromiumDriver.run_test easier to read. 3701 3702 In order to unit-test my new code, I had to change ChromiumDriver 3703 to not automatically start itself when created. That ended up 3704 being a lot of plumbing, but is hopefully easier to understand now. 3705 3706 There are no tests for the (restored) wdiff code. wdiff does not 3707 exist on all systems, so for now we will assume it worked since 3708 it is just old code being reverted. 3709 3710 * Scripts/webkitpy/layout_tests/driver_test.py: 3711 - Use create_driver instead of start_driver, and be sure to call .stop() 3712 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 3713 - Use create_driver instead of start_driver 3714 * Scripts/webkitpy/layout_tests/port/base.py: 3715 - Added a comment to explain that diffs are binary files. 3716 - Various patch reverts relating to wdiff 3717 - Add Driver._command_wrapper to share code between WebKitDriver and ChromiumDriver. 3718 - Made _command_wrapper use shlex.split to get rid of the FIXME. 3719 * Scripts/webkitpy/layout_tests/port/base_unittest.py: Added. 3720 - test the new _command_wrapper 3721 * Scripts/webkitpy/layout_tests/port/chromium.py: 3722 - Use _command_wrapper to get rid of a bunch of ugly code. 3723 - Make __init__ stop auto-starting. 3724 - Rename create_driver to start_driver. 3725 - Added _write_command_and_read_line to make it possible to 3726 put a FIXME next to read_line() w/o having to put it in two places. 3727 - Moved test_shell command building into _test_shell_command and tested it. 3728 - Fix comments to say test_shell since ChromiumDriver is test_shell only. 3729 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py: Added. 3730 - Test the new test_shell_command method. 3731 * Scripts/webkitpy/layout_tests/port/dryrun.py: 3732 - Rename create_driver to start_driver. 3733 * Scripts/webkitpy/layout_tests/port/test.py: 3734 - Rename create_driver to start_driver. 3735 * Scripts/webkitpy/layout_tests/port/webkit.py: 3736 - Rename create_driver to start_driver. 3737 - Treat output as binary arrays. 3738 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 3739 - Treat diff files as binary. 3740 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 3741 - Treat diff files as binary. 3742 3743 2010-04-26 Adam Barth <abarth (a] webkit.org> 3744 3745 Reviewed by Eric Seidel. 3746 3747 Move bindings test directory into the scripts directory 3748 https://bugs.webkit.org/show_bug.cgi?id=38161 3749 3750 Change script to point to the new location of these data files. 3751 3752 * Scripts/run-bindings-tests: 3753 3754 2010-04-26 Adam Barth <abarth (a] webkit.org> 3755 3756 Unreviewed. Mark run-bindings-tests executable so we can execute it. 3757 3758 * Scripts/run-bindings-tests: 3759 3760 2010-04-26 Tony Chang <tony (a] chromium.org> 3761 3762 Reviewed by David Levin. 3763 3764 [chromium] build-webkit --chromium should build release by default 3765 https://bugs.webkit.org/show_bug.cgi?id=38028 3766 3767 * Scripts/build-dumprendertree: Also should build release by default 3768 * Scripts/build-webkit: Make sure to pass command line args through 3769 * Scripts/webkitdirs.pm: Build the right configuration 3770 3771 2010-04-26 Ojan Vafai <ojan (a] chromium.org> 3772 3773 Reviewed by Eric Seidel. 3774 3775 complete rietveld bugzilla integration 3776 https://bugs.webkit.org/show_bug.cgi?id=38021 3777 3778 Makes --fancy-review the default. All this means is that the patch will 3779 be uploaded to rietveld in addition to bugs.webkit.org. 3780 3781 * Scripts/webkitpy/tool/steps/options.py: 3782 3783 2010-04-26 Chris Jerdonek <cjerdonek (a] webkit.org> 3784 3785 Reviewed by Shinichiro Hamaji. 3786 3787 For check-webkit-style, renamed the style/processors/ directory 3788 to style/checkers/. 3789 3790 https://bugs.webkit.org/show_bug.cgi?id=38122 3791 3792 * Scripts/webkitpy/style/checker.py: 3793 - Updated import statements. 3794 3795 * Scripts/webkitpy/style/checker_unittest.py: 3796 - Updated import statements. 3797 3798 * Scripts/webkitpy/style/checkers: Copied from WebKitTools/Scripts/webkitpy/style/processors. 3799 * Scripts/webkitpy/style/processors: Removed. 3800 * Scripts/webkitpy/style/processors/__init__.py: Removed. 3801 * Scripts/webkitpy/style/processors/common.py: Removed. 3802 * Scripts/webkitpy/style/processors/common_unittest.py: Removed. 3803 * Scripts/webkitpy/style/processors/cpp.py: Removed. 3804 * Scripts/webkitpy/style/processors/cpp_unittest.py: Removed. 3805 * Scripts/webkitpy/style/processors/python.py: Removed. 3806 * Scripts/webkitpy/style/processors/python_unittest.py: Removed. 3807 * Scripts/webkitpy/style/processors/python_unittest_input.py: Removed. 3808 * Scripts/webkitpy/style/processors/text.py: Removed. 3809 * Scripts/webkitpy/style/processors/text_unittest.py: Removed. 3810 3811 2010-04-06 Ojan Vafai <ojan (a] chromium.org> 3812 3813 Reviewed by Adam Barth. 3814 3815 Include git commits in the diff for webkit-patch upload/land. 3816 https://bugs.webkit.org/show_bug.cgi?id=36394 3817 3818 Adds --squash, --no-squash and --git-commit. 3819 3820 --git-commit will use a specific local commit for land/upload. 3821 If a commit-range is specified, then that range is treated as 3822 a single squashed commit. 3823 3824 --squash will squash all local changes including working copy changes 3825 into a single patch. 3826 3827 --no-squash is the legacy behavior (upload only considers the working copy, 3828 land commits the working copy and then each local commit separately to SVN) 3829 3830 If neither is specified, then an informative error is raised if there is 3831 more than one local commit or when there are local commit(s) and working 3832 copy changes. 3833 3834 If the webkit-patch.squash git config parameter is set, then 3835 that will be respected instead of raising an error. 3836 3837 * Scripts/check-webkit-style: 3838 * Scripts/webkitpy/common/checkout/api.py: 3839 * Scripts/webkitpy/common/checkout/api_unittest.py: 3840 * Scripts/webkitpy/common/checkout/scm.py: 3841 * Scripts/webkitpy/common/checkout/scm_unittest.py: 3842 * Scripts/webkitpy/style/optparser.py: 3843 --git-since is removed and --git-commit no longer implies commit_id.. 3844 Instead, it treats that individual commit, but also supports commit ranges 3845 (e.g. commit_id..) as arguments. 3846 * Scripts/webkitpy/style/optparser_unittest.py: 3847 * Scripts/webkitpy/style_references.py: 3848 * Scripts/webkitpy/tool/commands/download.py: 3849 * Scripts/webkitpy/tool/commands/upload.py: 3850 * Scripts/webkitpy/tool/main.py: 3851 * Scripts/webkitpy/tool/mocktool.py: 3852 * Scripts/webkitpy/tool/steps/abstractstep.py: 3853 * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py: 3854 * Scripts/webkitpy/tool/steps/checkstyle.py: 3855 * Scripts/webkitpy/tool/steps/commit.py: 3856 * Scripts/webkitpy/tool/steps/options.py: 3857 * Scripts/webkitpy/tool/steps/postdiff.py: 3858 * Scripts/webkitpy/tool/steps/preparechangelog.py: 3859 * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py: 3860 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: 3861 * Scripts/webkitpy/tool/steps/validatereviewer.py: 3862 3863 2010-04-26 Chris Jerdonek <cjerdonek (a] webkit.org> 3864 3865 Reviewed by Shinichiro Hamaji. 3866 3867 Deleted the StyleChecker-related classes that are no longer 3868 being used. 3869 3870 https://bugs.webkit.org/show_bug.cgi?id=38118 3871 3872 * Scripts/webkitpy/style/checker.py: 3873 - Deleted the DeprecatedStyleChecker class. 3874 3875 * Scripts/webkitpy/style/checker_unittest.py: 3876 - Deleted the StyleCheckerTest, StyleCheckerCheckFileBase, 3877 StyleCheckerCheckFileTest, and StyleCheckerCheckPathsTest classes. 3878 3879 2010-04-26 Chris Jerdonek <cjerdonek (a] webkit.org> 3880 3881 Reviewed by Shinichiro Hamaji. 3882 3883 Changed the StyleChecker class to use the new TextFileReader class. 3884 3885 https://bugs.webkit.org/show_bug.cgi?id=37066 3886 3887 This revision separates the code responsible for reading and iterating 3888 over text files from the rest of check-webkit-style. 3889 3890 * Scripts/check-webkit-style: 3891 - Changed the script to use the new StyleProcessor and 3892 TextFileReader classes instead of the StyleChecker class. 3893 3894 * Scripts/webkitpy/style/checker.py: 3895 - Added a FIXME to rename many of uses of the word "processor" to 3896 "checker". We did this to clarify the difference between 3897 ProcessorBase instances passed to the TextFileReader and 3898 classes that process and check lines for style. 3899 - Added a FIXME to remove FileType.NONE as a possible return value 3900 of ProcessorDispatcher._file_type(). This will better consolidate 3901 the logic of which files should be skipped. 3902 - Added a FIXME to delete the StyleChecker class. 3903 - Added the StyleProcessor class which implements ProcessorBase. 3904 This class is responsible for processing lines to check style 3905 (but not for reading files). For each file, this class creates 3906 creates both a carriage-return checker and a format-specific 3907 style checker (e.g. one of C++, Python, etc). 3908 - Updated the PatchChecker class to use a TextFileReader instance 3909 instead of a StyleChecker. 3910 3911 * Scripts/webkitpy/style/checker_unittest.py: 3912 - Added the StyleProcessor_EndToEndTest class to do "end-to-end" 3913 tests of the StyleProcessor class. 3914 - Added the StyleProcessor_CodeCoverageTest to test the 3915 StyleProcessor class with more complete code coverage. 3916 Unlike the StyleProcessor_EndToEndTest class, this class makes 3917 heavy use of mock parameters. 3918 - Added FIXME's to delete the unit test classes that are no 3919 longer needed. 3920 - Updated the PatchCheckerTest class to use a MockTextFileReader 3921 instead of a MockStyleChecker. 3922 3923 * Scripts/webkitpy/style/filereader.py: 3924 - Updated the TextFileReader class to use the preferred logic 3925 of checking file existence at the beginning of the process_file() 3926 method instead of in the except block, per 3927 https://bugs.webkit.org/show_bug.cgi?id=37122 3928 3929 * Scripts/webkitpy/style/filereader_unittest.py: 3930 - In the TextFileReaderTest class: 3931 - Moved the test_process_file__should_not_process() method. 3932 - Added a test_process_file__file_stdin() method to test 3933 the file path "-". 3934 3935 2010-04-20 Robert Hogan <robert (a] webkit.org> 3936 3937 Reviewed by Simon Hausmann. 3938 3939 [Qt] Add more support for textInputController 3940 3941 Add support for selectedRange(), setMarkedText(), insertText(), 3942 and firstRectForCharacterRange(). 3943 3944 Unskip tests: 3945 3946 fast/forms/input-maxlength-ime-preedit.html 3947 fast/forms/input-maxlength-ime-completed.html 3948 fast/text/international/thai-cursor-position.html 3949 fast/events/ime-composition-events-001.html 3950 editing/selection/5825350-1.html 3951 editing/selection/5825350-2.html 3952 editing/selection/mixed-editability-10.html 3953 3954 https://bugs.webkit.org/show_bug.cgi?id=35702 3955 3956 * DumpRenderTree/qt/TextInputControllerQt.cpp: 3957 (TextInputController::setMarkedText): 3958 (TextInputController::insertText): 3959 (TextInputController::selectedRange): 3960 (TextInputController::firstRectForCharacterRange): 3961 * DumpRenderTree/qt/TextInputControllerQt.h: 3962 3963 2010-04-23 Eric Seidel <eric (a] webkit.org> 3964 3965 Reviewed by Adam Barth. 3966 3967 check-webkit-style complains about non-utf8 data in layout test result 3968 https://bugs.webkit.org/show_bug.cgi?id=38027 3969 3970 The problem was we were assuming patch files/diff output as utf-8. 3971 Turns out they're not. We have to treat them as binary data because 3972 a single patch may have multiple text files in it with conflicting encodings! 3973 3974 * Scripts/webkitpy/common/checkout/api.py: 3975 - contents_at_revision returns a byte array, so decode it to unicode 3976 before passing it to parse_latest_entry_from_file 3977 * Scripts/webkitpy/common/checkout/api_unittest.py: 3978 - Update our mock mock_contents_at_revision to match the encoding 3979 semantics of the real one. 3980 * Scripts/webkitpy/common/checkout/scm.py: 3981 - Be careful not to decode output which may contain file contents 3982 (like diff, cat or show) as the encoding for that content is unknown. 3983 * Scripts/webkitpy/common/checkout/scm_unittest.py: 3984 - Update our tests to use both latin1 and utf-8 encoded data. 3985 * Scripts/webkitpy/common/net/bugzilla.py: 3986 - _fill_attachment_form should not assume unicode data. Callers 3987 may wish to attach other types of files to bugs. 3988 * Scripts/webkitpy/common/prettypatch.py: 3989 - Diffs are byte arrays, deal with them as such. 3990 * Scripts/webkitpy/common/prettypatch_unittest.py: 3991 - Test to make sure we handle diffs with multiple conflicting encodings. 3992 * Scripts/webkitpy/common/system/executive_unittest.py: 3993 - Make sure that our unicode support does not break our 3994 byte array input support for run_command. 3995 3996 2010-04-23 Sam Weinig <sam (a] webkit.org> 3997 3998 Reviewed by David Levin. 3999 4000 Fix for https://bugs.webkit.org/show_bug.cgi?id=38060 4001 Split up Threading.h 4002 4003 Add necessary forwarding headers. 4004 4005 * DumpRenderTree/ForwardingHeaders/wtf/Atomics.h: Added. 4006 * DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeShared.h: Added. 4007 * DumpRenderTree/ForwardingHeaders/wtf/ThreadingPrimitives.h: Added. 4008 4009 2010-04-23 Xiaomei Ji <xji (a] chromium.org> 4010 4011 No need to review. 4012 4013 Add xji as committer. 4014 4015 * Scripts/webkitpy/common/config/committers.py: 4016 4017 2010-04-23 Kevin Ollivier <kevino (a] theolliviers.com> 4018 4019 [wx] Build fix, add platform stub for new LayoutTestController method. 4020 4021 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 4022 (LayoutTestController::markerTextForListItem): 4023 4024 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 4025 4026 Reviewed by Adam Barth. 4027 4028 new-run-webkit-tests: add a "--retry-failures" flag and a 4029 "--no-retry-failures" flag (the former is the default). Also, rename 4030 "--print-unexpected-results" and "--retry-unexpected-results" to 4031 "--print-last-failures" and "--retry-last-failures" because the 4032 retry flag was confusing. The new flag names aren't great, but 4033 hopefully they're less confusing. 4034 4035 https://bugs.webkit.org/show_bug.cgi?id=37838 4036 4037 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 4038 4039 2010-04-22 Sam Weinig <sam (a] webkit.org> 4040 4041 Reviewed by Anders Carlsson. 4042 4043 Fix for https://bugs.webkit.org/show_bug.cgi?id=38022 4044 Move isMainThread predicate function to MainThread.h 4045 4046 Added forwarding header for MainThread.h 4047 4048 * DumpRenderTree/ForwardingHeaders/wtf/MainThread.h: Added. 4049 4050 2010-04-23 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 4051 4052 Reviewed by Kenneth Rohde Christiansen. 4053 4054 [Qt] Disable Netscape plugin support for minimal configuration 4055 https://bugs.webkit.org/show_bug.cgi?id=38026 4056 4057 Pass the minimal configuration option to Qt build system 4058 as part of the CONFIG variable. 4059 4060 * Scripts/build-webkit: 4061 4062 2010-04-22 Fumitoshi Ukai <ukai (a] chromium.org> 4063 4064 Unreviewed fix. 4065 4066 * Scripts/webkitpy/layout_tests/port/websocket_server.py: fix NameError: global name 'f' is not defined. 4067 4068 2010-04-22 James Robinson <jamesr (a] chromium.org> 4069 4070 Reviewed by Adam Barth. 4071 4072 Revert 58077 and follow-ups. It's broken. 4073 https://bugs.webkit.org/show_bug.cgi?id=37664 4074 4075 * Scripts/new-run-webkit-httpd: 4076 * Scripts/new-run-webkit-websocketserver: 4077 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 4078 * Scripts/webkitpy/layout_tests/port/http_server.py: 4079 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 4080 4081 2010-04-22 Yaar Schnitman <yaar (a] chromium.org> 4082 4083 Reviewed by Adam Barth. 4084 4085 Integrate v8 testing utility with webkit tests 4086 https://bugs.webkit.org/show_bug.cgi?id=37731 4087 4088 * Scripts/run-bindings-tests: Added. 4089 4090 2010-04-22 Eric Seidel <eric (a] webkit.org> 4091 4092 Reviewed by Dimitri Glazkov. 4093 4094 new-run-webkit-tests --verbose shows ever-increasing #EOF lines 4095 https://bugs.webkit.org/show_bug.cgi?id=37794 4096 4097 * Scripts/webkitpy/layout_tests/port/webkit.py: 4098 - Remove the assert() since our ServerProcess code does not always 4099 seem to be reading the full stderr output (or we're not waiting for it to). 4100 4101 2010-04-22 Eric Seidel <eric (a] webkit.org> 4102 4103 Reviewed by Adam Barth. 4104 4105 Add code to help debug new-run-webkit-test hangs on the Chromium bots 4106 https://bugs.webkit.org/show_bug.cgi?id=38011 4107 4108 I can see no reasonable way to test this change. 4109 Stubbing out sys._current_frames() and traceback.extract_stack 4110 seems folly. Dumping real data would have line number 4111 (and possibly other call stack) variance between runs. 4112 4113 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 4114 - Add _dump_thread_states and _dump_thread_states_if_necessary 4115 to have our main thread dump the states of all threads every 4116 60 seconds when running in verbose mode. 4117 - Better document what is going on in our main loop. 4118 4119 2010-04-22 Sam Weinig <sam (a] webkit.org> 4120 4121 Reviewed by Anders Carlsson. 4122 4123 Fix for https://bugs.webkit.org/show_bug.cgi?id=38002 4124 Add rudimentary statistics gathering for WebKit2 4125 4126 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: 4127 * MiniBrowser/mac/AppDelegate.h: 4128 * MiniBrowser/mac/AppDelegate.m: 4129 (-[BrowserAppDelegate init]): 4130 (-[BrowserAppDelegate newWindow:]): 4131 (-[BrowserAppDelegate getCurrentPageNamespace]): 4132 (-[BrowserAppDelegate _setProcessModel:]): 4133 (-[BrowserAppDelegate showStatisticsWindow:]): 4134 (-[BrowserAppDelegate applicationWillTerminate:]): 4135 * MiniBrowser/mac/BrowserStatisticsWindow.xib: Added. 4136 * MiniBrowser/mac/BrowserStatisticsWindowController.h: Added. 4137 * MiniBrowser/mac/BrowserStatisticsWindowController.m: Added. 4138 (-[BrowserStatisticsWindowController initWithThreadedWKContextRef:processWKContextRef:]): 4139 (-[BrowserStatisticsWindowController dealloc]): 4140 (-[BrowserStatisticsWindowController windowDidLoad]): 4141 (-[BrowserStatisticsWindowController refreshStatistics:]): 4142 * MiniBrowser/mac/BrowserWindowController.h: 4143 * MiniBrowser/mac/English.lproj/MainMenu.xib: 4144 * MiniBrowser/mac/MiniBrowser_Prefix.pch: 4145 4146 2010-04-22 Dave Moore <davemoore (a] chromium.org> 4147 4148 Reviewed by Dimitri Glazkov. 4149 4150 Add test support for icon changes. 4151 4152 https://bugs.webkit.org/show_bug.cgi?id=33812 4153 4154 * DumpRenderTree/LayoutTestController.cpp: 4155 (LayoutTestController::LayoutTestController): 4156 (dumpIconChangesCallback): 4157 (LayoutTestController::staticFunctions): 4158 * DumpRenderTree/LayoutTestController.h: 4159 (LayoutTestController::dumpIconChanges): 4160 (LayoutTestController::setDumpIconChanges): 4161 * DumpRenderTree/win/FrameLoadDelegate.cpp: 4162 (FrameLoadDelegate::didChangeIcons): 4163 * DumpRenderTree/win/FrameLoadDelegate.h: 4164 * WinLauncher/WinLauncher.h: 4165 (WinLauncherWebHost::didChangeIcons): 4166 4167 2010-04-22 Eric Seidel <eric (a] webkit.org> 4168 4169 Unreviewed. Script fix. Will ask dpranke to look tomorrow. 4170 4171 new-run-webkit-tests --verbose shows ever-increasing #EOF lines 4172 https://bugs.webkit.org/show_bug.cgi?id=37794 4173 4174 The bots are seeing cases where .error is sometimes empty. 4175 Lets make the code not crash in that case for now. 4176 4177 * Scripts/webkitpy/layout_tests/port/webkit.py: 4178 4179 2010-04-22 Fumitoshi Ukai <ukai (a] chromium.org> 4180 4181 Unreviewed fix. 4182 4183 * Scripts/webkitpy/layout_tests/port/websocket_server.py: fix NameError: global name 'f' is not defined. 4184 4185 2010-04-22 Fumitoshi Ukai <ukai (a] chromium.org> 4186 4187 Unreviewed fix. 4188 4189 * Scripts/new-run-webkit-websocketserver: PyWebSocket no longer takes keyword argument 'register_cygwin'. 4190 4191 2010-04-22 Eric Seidel <eric (a] webkit.org> 4192 4193 Unreviewed. Restore the Leopard bots to using 4194 old-run-webkit-tests for now. 4195 4196 * Scripts/run-webkit-tests: 4197 4198 2010-04-22 Fumitoshi Ukai <ukai (a] chromium.org> 4199 4200 Unreviewed fix. 4201 4202 * Scripts/webkitpy/layout_tests/port/http_server.py: fix NameError: global name 'env' is not defined. 4203 4204 2010-04-22 Fumitoshi Ukai <ukai (a] chromium.org> 4205 4206 Unreviewed fix. 4207 4208 * Scripts/webkitpy/layout_tests/port/websocket_server.py: fix NameError: global name 'env' is not defined. 4209 4210 2010-04-22 Fumitoshi Ukai <ukai (a] chromium.org> 4211 4212 Reviewed by Adam Barth. 4213 4214 Chromium: Add --chromium option to new-run-webkit-websocketserver 4215 https://bugs.webkit.org/show_bug.cgi?id=37664 4216 4217 Move cygwin setup logic in chromium_win.py. 4218 4219 * Scripts/new-run-webkit-httpd: remove register_cygwin parameter to pass http_server. 4220 * Scripts/new-run-webkit-websocketserver: add --chromium flag 4221 * Scripts/webkitpy/layout_tests/port/chromium_win.py: setup for cygwin 4222 * Scripts/webkitpy/layout_tests/port/http_server.py: remove cygwin setup logic 4223 * Scripts/webkitpy/layout_tests/port/websocket_server.py: remove cygwin setup logic 4224 4225 2010-04-22 Eric Seidel <eric (a] webkit.org> 4226 4227 Reviewed by Adam Barth. 4228 4229 new-run-webkit-tests --verbose shows ever-increasing #EOF lines 4230 https://bugs.webkit.org/show_bug.cgi?id=37794 4231 4232 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 4233 - Fix the log message to explain that this is stderr output, not test output. 4234 * Scripts/webkitpy/layout_tests/port/webkit.py: 4235 - Be sure to reset the server_process.error after reading (seems like the wrong 4236 place to do this, but at least this fixes the bug and dpranke and I can talk 4237 about better designs later). 4238 - Also remove the #EOF from the stderr output before returning it. 4239 4240 2010-04-22 Eric Seidel <eric (a] webkit.org> 4241 4242 Unreviewed. Fixing new-run-webkit-tests on the bots. 4243 4244 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 4245 - Fixing _compat_shim_option to take variable keyword args. 4246 - Turns out that nargs + callback is ignored unless type is specified. 4247 So I added the type so that the option was properly consumed. 4248 This was why new-run-webkit-tests couldn't find any tests, it 4249 was looking for them under "20" because that was the argument 4250 which should have been consumed by --exit-after-n-failures. 4251 4252 2010-04-22 Tony Chang <tony (a] chromium.org> 4253 4254 Not reviewed, build fix for chromium Windows. 4255 4256 [chromium] fix ImageDiff compile on windows 4257 https://bugs.webkit.org/show_bug.cgi?id=37979 4258 4259 * DumpRenderTree/chromium/ImageDiff.cpp: 4260 4261 2010-04-22 Adam Barth <abarth (a] webkit.org> 4262 4263 Unreviewed, rolling out r58069. 4264 http://trac.webkit.org/changeset/58069 4265 https://bugs.webkit.org/show_bug.cgi?id=27751 4266 4267 Broke compile on Windows. 4268 4269 * DumpRenderTree/LayoutTestController.cpp: 4270 (LayoutTestController::staticFunctions): 4271 * DumpRenderTree/LayoutTestController.h: 4272 * DumpRenderTree/chromium/LayoutTestController.cpp: 4273 (LayoutTestController::LayoutTestController): 4274 (LayoutTestController::overridePreference): 4275 * DumpRenderTree/chromium/LayoutTestController.h: 4276 * DumpRenderTree/chromium/TestShell.cpp: 4277 (TestShell::resetWebSettings): 4278 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 4279 * DumpRenderTree/mac/DumpRenderTree.mm: 4280 (resetDefaultsToConsistentValues): 4281 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 4282 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 4283 (WebCore::WebPage::WebPage): 4284 (WebCore::WebPage::resetSettings): 4285 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 4286 * DumpRenderTree/qt/LayoutTestControllerQt.h: 4287 * DumpRenderTree/win/DumpRenderTree.cpp: 4288 (resetDefaultsToConsistentValues): 4289 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 4290 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 4291 4292 2010-04-22 Eric Seidel <eric (a] webkit.org> 4293 4294 Unreviewed. Just adding logging. 4295 4296 Adding logging to help debug why the Leopard Bot 4297 can't find any tests to run. 4298 4299 * Scripts/webkitpy/layout_tests/layout_package/test_files.py: 4300 * Scripts/webkitpy/layout_tests/port/base.py: 4301 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 4302 - Make it a fatal error to have no tests to run. 4303 4304 2010-04-22 Abhishek Arya <inferno (a] chromium.org> 4305 4306 Reviewed by Adam Barth. 4307 4308 Add support for controlling clipboard access from javascript. 4309 Clipboard access from javascript is enabled in test framework. 4310 https://bugs.webkit.org/show_bug.cgi?id=27751 4311 4312 * DumpRenderTree/LayoutTestController.cpp: 4313 (setJavaScriptCanAccessClipboardCallback): 4314 (LayoutTestController::staticFunctions): 4315 * DumpRenderTree/LayoutTestController.h: 4316 * DumpRenderTree/chromium/LayoutTestController.cpp: 4317 (LayoutTestController::LayoutTestController): 4318 (LayoutTestController::setJavaScriptCanAccessClipboard): 4319 (LayoutTestController::overridePreference): 4320 * DumpRenderTree/chromium/LayoutTestController.h: 4321 * DumpRenderTree/chromium/TestShell.cpp: 4322 (TestShell::resetWebSettings): 4323 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 4324 (LayoutTestController::setJavaScriptCanAccessClipboard): 4325 * DumpRenderTree/mac/DumpRenderTree.mm: 4326 (resetDefaultsToConsistentValues): 4327 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 4328 (LayoutTestController::setJavaScriptCanAccessClipboard): 4329 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 4330 (WebCore::WebPage::WebPage): 4331 (WebCore::WebPage::resetSettings): 4332 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 4333 (LayoutTestController::setJavaScriptCanAccessClipboard): 4334 * DumpRenderTree/qt/LayoutTestControllerQt.h: 4335 * DumpRenderTree/win/DumpRenderTree.cpp: 4336 (resetDefaultsToConsistentValues): 4337 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 4338 (LayoutTestController::setJavaScriptCanAccessClipboard): 4339 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 4340 (LayoutTestController::setJavaScriptCanAccessClipboard): 4341 4342 2010-04-21 Adam Barth <abarth (a] webkit.org> 4343 4344 Reviewed by Eric Seidel. 4345 4346 webkit-patch can't fetch attachments on security bugs 4347 https://bugs.webkit.org/show_bug.cgi?id=37975 4348 4349 Instead of calling CURL, we just need to use our Mechanize object, 4350 which understand bugs.webkit.org authentication. 4351 4352 * Scripts/webkitpy/common/checkout/api.py: 4353 * Scripts/webkitpy/common/net/bugzilla.py: 4354 4355 2010-04-21 Eric Seidel <eric (a] webkit.org> 4356 4357 Unreviewed. Temporary commit, will roll-out before morning. 4358 4359 Turning on new-run-webkit-tests for the Leopard build bot 4360 for testing of the harness. 4361 Users should not noctice (except for the results.html difference). 4362 4363 * Scripts/run-webkit-tests: 4364 4365 2010-04-21 Eric Seidel <eric (a] webkit.org> 4366 4367 Unreviewed. Fix typo in my previous fix attempt. 4368 4369 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4370 https://bugs.webkit.org/show_bug.cgi?id=37765 4371 4372 More on-the-bot debugging, sigh. I wish I had a local build. 4373 4374 * Scripts/webkitpy/layout_tests/port/base.py: 4375 4376 2010-04-21 Eric Seidel <eric (a] webkit.org> 4377 4378 Unreviewed. Fix typo in my previous fix attempt. 4379 4380 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4381 https://bugs.webkit.org/show_bug.cgi?id=37765 4382 4383 * Scripts/webkitpy/layout_tests/port/base.py: 4384 - Add self. to class variable access. 4385 4386 2010-04-21 Eric Seidel <eric (a] webkit.org> 4387 4388 Unreviewed. Another attempt to fix NRWT for chromium. 4389 4390 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4391 https://bugs.webkit.org/show_bug.cgi?id=37765 4392 4393 * Scripts/webkitpy/layout_tests/port/base.py: 4394 - wdiff_text was returning a byte array instead of a 4395 unicode string. The simple fix was to just decode 4396 the result. However, seeing so much duplicated code 4397 with Executive made me cry, so I re-wrote the function 4398 to be more like pretty_patch_text and use run_command 4399 (which already knows how to handle unicode). 4400 4401 2010-04-21 Adam Barth <abarth (a] webkit.org> 4402 4403 Reviewed by Eric Seidel. 4404 4405 Windows tests buildbots are too slow to be core builders 4406 https://bugs.webkit.org/show_bug.cgi?id=37970 4407 4408 It's 10:45. The Windows test bots are still hours behind. They're too 4409 slow to be core builders. When they get fast, we can add them back. 4410 4411 * Scripts/webkitpy/common/net/buildbot.py: 4412 * Scripts/webkitpy/common/net/buildbot_unittest.py: 4413 4414 2010-04-21 Eric Seidel <eric (a] webkit.org> 4415 4416 Unreviewed. Attempt one more time to fix NRWT for chromium. 4417 4418 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4419 https://bugs.webkit.org/show_bug.cgi?id=37765 4420 4421 I'm debugging in the blind because I don't have a chromium 4422 build on this laptop. 4423 4424 * Scripts/webkitpy/layout_tests/port/chromium.py: 4425 - Apply the previous fix to a second caller. 4426 4427 2010-04-21 Eric Seidel <eric (a] webkit.org> 4428 4429 Unreviewed. Attempt one more time to fix NRWT for chromium. 4430 4431 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4432 https://bugs.webkit.org/show_bug.cgi?id=37765 4433 4434 * Scripts/webkitpy/layout_tests/port/chromium.py: 4435 - Fix handling of test_shell output so that we always 4436 decode it as utf-8. 4437 Unlike DumpRenderTree test_shell does not ever return 4438 pixel data. It spits out the pixel dumps in a separate 4439 file, thus all output over stdout is utf-8 text. 4440 4441 2010-04-21 Eric Seidel <eric (a] webkit.org> 4442 4443 Unreviewed. Attempt one more time to fix NRWT for chromium. 4444 4445 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4446 https://bugs.webkit.org/show_bug.cgi?id=37765 4447 4448 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 4449 - Pass encoding to _save_baseline_data and write_output_files 4450 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 4451 - Make _save_baseline_data and write_output_files take an encoding. 4452 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 4453 - Pass encoding to _save_baseline_data and write_output_files 4454 4455 2010-04-21 No'am Rosenthal <noam.rosenthal (a] nokia.com> 4456 4457 Reviewed by Kenneth Rohde Christiansen. 4458 4459 [Qt] QtLauncher: make FPS measurement accurate 4460 https://bugs.webkit.org/show_bug.cgi?id=37934 4461 4462 Instead of counting paints, which are not interchangeable with frames that 4463 the user sees, we now set an arbitrary timer for FPS measurements. The idea is 4464 that if the main thread is delayed for any reason, that timer would be delayed 4465 as well. 4466 4467 * QtLauncher/QtLauncher.pro: 4468 * QtLauncher/fpstimer.cpp: Added. 4469 (FpsTimer::FpsTimer): 4470 (FpsTimer::numFrames): 4471 (FpsTimer::start): 4472 (FpsTimer::stop): 4473 (FpsTimer::timerEvent): 4474 * QtLauncher/fpstimer.h: Added. 4475 * QtLauncher/webview.cpp: 4476 (WebViewGraphicsBased::setFrameRateMeasurementEnabled): 4477 (WebViewGraphicsBased::updateFrameRate): 4478 (WebViewGraphicsBased::paintEvent): 4479 * QtLauncher/webview.h: 4480 4481 2010-04-21 Eric Seidel <eric (a] webkit.org> 4482 4483 Unreviewed, just adding missing ":" in python file. 4484 4485 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4486 https://bugs.webkit.org/show_bug.cgi?id=37765 4487 4488 new-run-webkit-tests --chromium was borked. 4489 4490 * Scripts/webkitpy/layout_tests/port/chromium.py: 4491 4492 2010-04-21 Eric Seidel <eric (a] webkit.org> 4493 4494 Reviewed by Adam Barth. 4495 4496 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4497 https://bugs.webkit.org/show_bug.cgi?id=37765 4498 4499 Third time is the charm. I've fixed all the 4500 new-run-webkit-tests regressions from previous attempts. 4501 4502 I fixed the queue to not ignore Tor as a reviwer in r57531, 4503 but instead it throws an exception every time his name is in a patch. 4504 4505 This fixes our Executive.run_command code to work around a Popen 4506 bug http://bugs.python.org/issue5290 whereby python versions before 2.6 4507 do not correctly handle unicode objects as input or output to 4508 Popen.communicate. 4509 4510 Following the advice of: 4511 http://farmdev.com/talks/unicode/ 4512 I have changed all of webkitpy to use unicode() objects as strings 4513 instead of str objects (which in Python 3 are renamed "bytes"). 4514 4515 String literals were left as "foo" instead of converting to u"foo" 4516 as u"foo" is only required if the string has a non-ascii code point. 4517 Python is smart about comparing str() and unicode() values and will 4518 log an error to the console if the comparison is ever invalid. 4519 4520 Executive.run* now correctly accept and return unicode() objects. 4521 I attempted to fix all the places that we call .write() to make sure we 4522 encode any unicode() objects into utf-8. 4523 4524 I removed several uses of StringIO. StringIO should generally always be 4525 passed a unicode() value. 4526 4527 Likewise I replaced most calls to open() with codecs.open(). 4528 codecs.open() matches Python 3 open semantics in requiring an encoding 4529 parameter. Files opened with codecs.open() with a unicode-compatible 4530 encoding will vend unicode() objects from their read() calls, like how 4531 StringIO created with a unicode() object will do. 4532 4533 I also deployed "with" statements wider (now that the project has 4534 settled on Python 2.5) to close a bunch of file descriptor leaks. 4535 4536 * Scripts/webkitpy/common/checkout/api_unittest.py: 4537 - Read/write utf-8 files instead of ascii. 4538 - Update the tests to use test for proper unicode() handling. 4539 * Scripts/webkitpy/common/checkout/changelog.py: 4540 - Document that parse_latest_entry_from_file expects 4541 file-like objects which return unicode strings. 4542 * Scripts/webkitpy/common/checkout/changelog_unittest.py: 4543 - Use unicode() strings instead of str() byte arrays. 4544 - Deploy "with" to close file descriptor leaks. 4545 * Scripts/webkitpy/common/checkout/commitinfo.py: 4546 - Remove unneeded import. 4547 * Scripts/webkitpy/common/checkout/scm.py: 4548 - Remove use of str(). 4549 * Scripts/webkitpy/common/checkout/scm_unittest.py: 4550 - Read/write utf-8 files and use unicode() strings in testing. 4551 * Scripts/webkitpy/common/config/committers.py: 4552 - Use \u instead of \x to make slightly clearer what we're doing. 4553 * Scripts/webkitpy/common/net/bugzilla.py: 4554 - Add a new _string_contents() method and explain why 4555 we have to call unicode() on the result of soup.string 4556 and why it's safe to do so w/o needing to pass a codec name. 4557 - Remove the (unused) support for passing a file object to add_patch_to_bug(). 4558 * Scripts/webkitpy/common/net/buildbot.py: 4559 - Use unicode() instead of str() when needing to coax a 4560 NavigableString object into a unicode() object. 4561 * Scripts/webkitpy/common/net/buildbot_unittest.py: 4562 - Add a test which contains a unicode builder name. 4563 * Scripts/webkitpy/common/net/statusserver.py: 4564 - Remove use of str() 4565 * Scripts/webkitpy/common/prettypatch.py: 4566 - Write out the patch file as utf-8. 4567 * Scripts/webkitpy/common/system/autoinstall.py: 4568 - Write out files with a explicit encodings. 4569 - Deploy "with" to close file descriptor leaks. 4570 * Scripts/webkitpy/common/system/deprecated_logging.py: 4571 - Write out log files as utf-8. 4572 * Scripts/webkitpy/common/system/executive.py: 4573 - Make run* properly take and return unicode() objects. 4574 - Cleaned up input handling in run_command a little by adding 4575 a _compute_input() method which can return early instead of having 4576 such a long/cluttered if-block. 4577 * Scripts/webkitpy/common/system/executive_unittest.py: 4578 - Added a unit test to make sure we don't break Tor again! 4579 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 4580 - Write out the test list as utf-8. 4581 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 4582 - Write out json files as utf-8. 4583 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: 4584 - Deploy "with" to close file descriptor leaks. 4585 * Scripts/webkitpy/layout_tests/port/chromium.py: Add Executive.py FIXME. 4586 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: ditto. 4587 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: ditto. 4588 * Scripts/webkitpy/layout_tests/port/gtk.py: ditto. 4589 * Scripts/webkitpy/layout_tests/port/mac.py: ditto. 4590 * Scripts/webkitpy/layout_tests/port/mac_unittest.py: 4591 - Make the skipped file parsing test unicode. 4592 * Scripts/webkitpy/layout_tests/port/qt.py: Add Executive.py FIXME. 4593 * Scripts/webkitpy/layout_tests/port/server_process.py: ditto. 4594 * Scripts/webkitpy/layout_tests/port/webkit.py: 4595 - Deploy "with" to close file descriptor leaks. 4596 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 4597 - Make explicit the encodings of log files and pid files. 4598 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 4599 - Make encodings explicit and deploy "with". 4600 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: ditto. 4601 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: ditto. 4602 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: ditto. 4603 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: ditto. 4604 * Scripts/webkitpy/style/filereader_unittest.py: ditto. 4605 * Scripts/webkitpy/thirdparty/__init__.py: ditto. 4606 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 4607 - Removed extra import. 4608 * Scripts/webkitpy/tool/commands/queues.py: 4609 - No need to map args to strings now that run_command does. 4610 - Update test results to match args changes. 4611 - Document our global argument hacks. 4612 * Scripts/webkitpy/tool/commands/upload.py: 4613 - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper. 4614 * Scripts/webkitpy/tool/mocktool.py: 4615 - Rename add_patch_to_bug argument to match bugzilla.py 4616 * Scripts/webkitpy/tool/steps/abstractstep.py: 4617 - Executive.run_* now require lists instead of strings. 4618 The lack of this change was what broke webkit-patch 4619 for svn users the first time this was landed. 4620 * Scripts/webkitpy/tool/steps/postdiff.py: 4621 - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper. 4622 * Scripts/webkitpy/tool/steps/postdiffforcommit.py: ditto 4623 * Scripts/webkitpy/tool/steps/postdiffforrevert.py: ditto 4624 * Scripts/webkitpy/tool/steps/steps_unittest.py: 4625 - Fixed spurious logging seen when running test-webkitpy 4626 4627 2010-04-21 Chris Fleizach <cfleizach (a] apple.com> 4628 4629 Reviewed by Alexey Proskuryakov. 4630 4631 aria-liveregion-notifications.html fails on leopard release bot 4632 https://bugs.webkit.org/show_bug.cgi?id=37112 4633 4634 Change the way that notifications are listened for by forcing clients 4635 to call a remove listener as well to match the add listener. DRT will 4636 assert if those are not done in the correct order. 4637 4638 * DumpRenderTree/AccessibilityUIElement.cpp: 4639 (removeNotificationListenerCallback): 4640 (AccessibilityUIElement::getJSClass): 4641 * DumpRenderTree/AccessibilityUIElement.h: 4642 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 4643 (AccessibilityUIElement::removeNotificationListener): 4644 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 4645 (-[AccessibilityNotificationHandler initWithPlatformElement:]): 4646 (-[AccessibilityNotificationHandler dealloc]): 4647 (-[AccessibilityNotificationHandler _notificationReceived:]): 4648 (-[AccessibilityNotificationHandler setCallback:]): 4649 (AccessibilityUIElement::AccessibilityUIElement): 4650 (AccessibilityUIElement::~AccessibilityUIElement): 4651 (AccessibilityUIElement::addNotificationListener): 4652 (AccessibilityUIElement::removeNotificationListener): 4653 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 4654 (AccessibilityUIElement::removeNotificationListener): 4655 4656 2010-04-21 Anders Carlsson <andersca (a] apple.com> 4657 4658 Reviewed by Sam Weinig. 4659 4660 Add debug menu items to show/hide the Web View. 4661 https://bugs.webkit.org/show_bug.cgi?id=37958 4662 4663 * MiniBrowser/mac/BrowserWindowController.h: 4664 * MiniBrowser/mac/BrowserWindowController.m: 4665 (-[BrowserWindowController showHideWebView:]): 4666 (-[BrowserWindowController removeReinsertWebView:]): 4667 (-[BrowserWindowController validateMenuItem:]): 4668 * MiniBrowser/mac/English.lproj/MainMenu.xib: 4669 4670 2010-04-21 Eric Seidel <eric (a] webkit.org> 4671 4672 Unreviewed. Rolling out unicode() changes as they broke NRWT for chromium. 4673 Rolling out: 4674 http://trac.webkit.org/changeset/58014 4675 http://trac.webkit.org/changeset/58016 4676 http://trac.webkit.org/changeset/58020 4677 4678 REGRESSION(57531): the commit-queue still hates Tor Arne Vestbo 4679 https://bugs.webkit.org/show_bug.cgi?id=37765 4680 4681 * Scripts/webkitpy/common/checkout/api_unittest.py: 4682 * Scripts/webkitpy/common/checkout/changelog.py: 4683 * Scripts/webkitpy/common/checkout/changelog_unittest.py: 4684 * Scripts/webkitpy/common/checkout/commitinfo.py: 4685 * Scripts/webkitpy/common/checkout/scm.py: 4686 * Scripts/webkitpy/common/checkout/scm_unittest.py: 4687 * Scripts/webkitpy/common/config/committers.py: 4688 * Scripts/webkitpy/common/net/bugzilla.py: 4689 * Scripts/webkitpy/common/net/buildbot.py: 4690 * Scripts/webkitpy/common/net/buildbot_unittest.py: 4691 * Scripts/webkitpy/common/net/statusserver.py: 4692 * Scripts/webkitpy/common/prettypatch.py: 4693 * Scripts/webkitpy/common/system/autoinstall.py: 4694 * Scripts/webkitpy/common/system/deprecated_logging.py: 4695 * Scripts/webkitpy/common/system/executive.py: 4696 * Scripts/webkitpy/common/system/executive_unittest.py: 4697 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 4698 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 4699 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: 4700 * Scripts/webkitpy/layout_tests/port/chromium.py: 4701 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 4702 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 4703 * Scripts/webkitpy/layout_tests/port/gtk.py: 4704 * Scripts/webkitpy/layout_tests/port/mac.py: 4705 * Scripts/webkitpy/layout_tests/port/mac_unittest.py: 4706 * Scripts/webkitpy/layout_tests/port/qt.py: 4707 * Scripts/webkitpy/layout_tests/port/server_process.py: 4708 * Scripts/webkitpy/layout_tests/port/webkit.py: 4709 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 4710 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 4711 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 4712 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 4713 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 4714 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 4715 * Scripts/webkitpy/style/filereader_unittest.py: 4716 * Scripts/webkitpy/thirdparty/__init__.py: 4717 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 4718 * Scripts/webkitpy/tool/commands/queues.py: 4719 * Scripts/webkitpy/tool/commands/queues_unittest.py: 4720 * Scripts/webkitpy/tool/commands/upload.py: 4721 * Scripts/webkitpy/tool/mocktool.py: 4722 * Scripts/webkitpy/tool/steps/abstractstep.py: 4723 * Scripts/webkitpy/tool/steps/postdiff.py: 4724 * Scripts/webkitpy/tool/steps/postdiffforcommit.py: 4725 * Scripts/webkitpy/tool/steps/postdiffforrevert.py: 4726 * Scripts/webkitpy/tool/steps/steps_unittest.py: 4727 4728 2010-04-21 Eric Seidel <eric (a] webkit.org> 4729 4730 Unreviewed, fixing NRWT for real this time. 4731 4732 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4733 https://bugs.webkit.org/show_bug.cgi?id=37765 4734 4735 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 4736 - Add a hack to fix new-run-webkit-tests 4737 my understanding of codecs.open(encoding=None) 4738 must have been wrong. 4739 4740 2010-04-21 Eric Seidel <eric (a] webkit.org> 4741 4742 Unreviewed, just fixing exception seen on builders. 4743 4744 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4745 https://bugs.webkit.org/show_bug.cgi?id=37765 4746 4747 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 4748 - Pass and encoding to _write_into_file_at_path 4749 4750 2010-04-21 Eric Seidel <eric (a] webkit.org> 4751 4752 Reviewed by Adam Barth. 4753 4754 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 4755 https://bugs.webkit.org/show_bug.cgi?id=37765 4756 4757 I fixed the queue to not ignore Tor as a reviwer in r57531, 4758 but instead it throws an exception every time his name is in a patch. 4759 4760 This fixes our Executive.run_command code to work around a Popen 4761 bug http://bugs.python.org/issue5290 whereby python versions before 2.6 4762 do not correctly handle unicode objects as input or output to 4763 Popen.communicate. 4764 4765 Following the advice of: 4766 http://farmdev.com/talks/unicode/ 4767 I have changed all of webkitpy to use unicode() objects as strings 4768 instead of str objects (which in Python 3 are renamed "bytes"). 4769 4770 String literals were left as "foo" instead of converting to u"foo" 4771 as u"foo" is only required if the string has a non-ascii code point. 4772 Python is smart about comparing str() and unicode() values and will 4773 log an error to the console if the comparison is ever invalid. 4774 4775 Executive.run* now correctly accept and return unicode() objects. 4776 I attempted to fix all the places that we call .write() to make sure we 4777 encode any unicode() objects into utf-8. 4778 4779 I removed several uses of StringIO. StringIO should generally always be 4780 passed a unicode() value. 4781 4782 Likewise I replaced most calls to open() with codecs.open(). 4783 codecs.open() matches Python 3 open semantics in requiring an encoding 4784 parameter. Files opened with codecs.open() with a unicode-compatible 4785 encoding will vend unicode() objects from their read() calls, like how 4786 StringIO created with a unicode() object will do. 4787 4788 I also deployed "with" statements wider (now that the project has 4789 settled on Python 2.5) to close a bunch of file descriptor leaks. 4790 4791 * Scripts/webkitpy/common/checkout/api_unittest.py: 4792 - Read/write utf-8 files instead of ascii. 4793 - Update the tests to use test for proper unicode() handling. 4794 * Scripts/webkitpy/common/checkout/changelog.py: 4795 - Document that parse_latest_entry_from_file expects 4796 file-like objects which return unicode strings. 4797 * Scripts/webkitpy/common/checkout/changelog_unittest.py: 4798 - Use unicode() strings instead of str() byte arrays. 4799 - Deploy "with" to close file descriptor leaks. 4800 * Scripts/webkitpy/common/checkout/commitinfo.py: 4801 - Remove unneeded import. 4802 * Scripts/webkitpy/common/checkout/scm.py: 4803 - Remove use of str(). 4804 * Scripts/webkitpy/common/checkout/scm_unittest.py: 4805 - Read/write utf-8 files and use unicode() strings in testing. 4806 * Scripts/webkitpy/common/config/committers.py: 4807 - Use \u instead of \x to make slightly clearer what we're doing. 4808 * Scripts/webkitpy/common/net/bugzilla.py: 4809 - Add a new _string_contents() method and explain why 4810 we have to call unicode() on the result of soup.string 4811 and why it's safe to do so w/o needing to pass a codec name. 4812 - Remove the (unused) support for passing a file object to add_patch_to_bug(). 4813 * Scripts/webkitpy/common/net/buildbot.py: 4814 - Use unicode() instead of str() when needing to coax a 4815 NavigableString object into a unicode() object. 4816 * Scripts/webkitpy/common/net/buildbot_unittest.py: 4817 - Add a test which contains a unicode builder name. 4818 * Scripts/webkitpy/common/net/statusserver.py: 4819 - Remove use of str() 4820 * Scripts/webkitpy/common/prettypatch.py: 4821 - Write out the patch file as utf-8. 4822 * Scripts/webkitpy/common/system/autoinstall.py: 4823 - Write out files with a explicit encodings. 4824 - Deploy "with" to close file descriptor leaks. 4825 * Scripts/webkitpy/common/system/deprecated_logging.py: 4826 - Write out log files as utf-8. 4827 * Scripts/webkitpy/common/system/executive.py: 4828 - Make run* properly take and return unicode() objects. 4829 - Cleaned up input handling in run_command a little by adding 4830 a _compute_input() method which can return early instead of having 4831 such a long/cluttered if-block. 4832 * Scripts/webkitpy/common/system/executive_unittest.py: 4833 - Added a unit test to make sure we don't break Tor again! 4834 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 4835 - Write out the test list as utf-8. 4836 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 4837 - Write out json files as utf-8. 4838 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: 4839 - Deploy "with" to close file descriptor leaks. 4840 * Scripts/webkitpy/layout_tests/port/chromium.py: Add Executive.py FIXME. 4841 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: ditto. 4842 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: ditto. 4843 * Scripts/webkitpy/layout_tests/port/gtk.py: ditto. 4844 * Scripts/webkitpy/layout_tests/port/mac.py: ditto. 4845 * Scripts/webkitpy/layout_tests/port/mac_unittest.py: 4846 - Make the skipped file parsing test unicode. 4847 * Scripts/webkitpy/layout_tests/port/qt.py: Add Executive.py FIXME. 4848 * Scripts/webkitpy/layout_tests/port/server_process.py: ditto. 4849 * Scripts/webkitpy/layout_tests/port/webkit.py: 4850 - Deploy "with" to close file descriptor leaks. 4851 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 4852 - Make explicit the encodings of log files and pid files. 4853 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 4854 - Make encodings explicit and deploy "with". 4855 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: ditto. 4856 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: ditto. 4857 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: ditto. 4858 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: ditto. 4859 * Scripts/webkitpy/style/filereader_unittest.py: ditto. 4860 * Scripts/webkitpy/thirdparty/__init__.py: ditto. 4861 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 4862 - Removed extra import. 4863 * Scripts/webkitpy/tool/commands/queues.py: 4864 - No need to map args to strings now that run_command does. 4865 - Update test results to match args changes. 4866 - Document our global argument hacks. 4867 * Scripts/webkitpy/tool/commands/upload.py: 4868 - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper. 4869 * Scripts/webkitpy/tool/mocktool.py: 4870 - Rename add_patch_to_bug argument to match bugzilla.py 4871 * Scripts/webkitpy/tool/steps/abstractstep.py: 4872 - Executive.run_* now require lists instead of strings. 4873 The lack of this change was what broke webkit-patch 4874 for svn users the first time this was landed. 4875 * Scripts/webkitpy/tool/steps/postdiff.py: 4876 - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper. 4877 * Scripts/webkitpy/tool/steps/postdiffforcommit.py: ditto 4878 * Scripts/webkitpy/tool/steps/postdiffforrevert.py: ditto 4879 * Scripts/webkitpy/tool/steps/steps_unittest.py: 4880 - Fixed spurious logging seen when running test-webkitpy 4881 4882 2010-04-21 Kinuko Yasuda <kinuko (a] chromium.org> 4883 4884 Unreviewed. 4885 4886 Add myself in committers.py. 4887 4888 * Scripts/webkitpy/common/config/committers.py: 4889 4890 2010-04-21 Dirk Pranke <dpranke (a] chromium.org> 4891 4892 Reviewed by Dimitri Glazkov. 4893 4894 new-run-webkit-tests: fix a bug in the Chromium port where we would 4895 try to talk to a crashed test_shell and raise exceptions that weren't 4896 being caught. 4897 4898 https://bugs.webkit.org/show_bug.cgi?id=37941 4899 4900 * Scripts/webkitpy/layout_tests/port/chromium.py: 4901 4902 2010-04-21 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 4903 4904 Unreviewed. 4905 4906 [Qt] [Symbian] Build fix. 4907 4908 Work around a Qt quirk. Some versions of Symbian port Qt 4909 QFontDatabase::removeAllApplicationFonts symbol is not available. 4910 4911 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 4912 (WebCore::DumpRenderTree::open): 4913 4914 2010-04-21 Alexey Proskuryakov <ap (a] apple.com> 4915 4916 Unreviewed. 4917 4918 https://bugs.webkit.org/show_bug.cgi?id=37933 4919 <rdar://problem/7719540> XMLHttpRequest.withCredentials should be better enforced. 4920 4921 Adding stub implementation of authenticateSession(). Depending on platform loader behavior, 4922 a real implementation may or may not be necessary for the one test that currently uses it 4923 to pass. 4924 4925 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 4926 (LayoutTestController::authenticateSession): 4927 * DumpRenderTree/qt/LayoutTestControllerQt.h: 4928 4929 2010-04-21 Alexey Proskuryakov <ap (a] apple.com> 4930 4931 Reviewed by Brady Eidson. 4932 4933 https://bugs.webkit.org/show_bug.cgi?id=37933 4934 <rdar://problem/7719540> XMLHttpRequest.withCredentials should be better enforced. 4935 4936 Adding authenticateSession() method that adds credentials to per-process credential storage 4937 (for platforms that even have such). No Windows implementation, because writing another 4938 loader for DRT is painful. 4939 4940 * DumpRenderTree/LayoutTestController.cpp: 4941 (authenticateSessionCallback): 4942 (LayoutTestController::staticFunctions): 4943 * DumpRenderTree/LayoutTestController.h: 4944 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 4945 (-[SynchronousLoader dealloc]): 4946 (-[SynchronousLoader connectionShouldUseCredentialStorage:]): 4947 (-[SynchronousLoader connection:didReceiveAuthenticationChallenge:]): 4948 (-[SynchronousLoader connection:didFailWithError:]): 4949 (-[SynchronousLoader connectionDidFinishLoading:]): 4950 (+[SynchronousLoader makeRequest:withUsername:password:]): 4951 (LayoutTestController::authenticateSession): 4952 4953 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 4954 (LayoutTestController::authenticateSession): 4955 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 4956 (LayoutTestController::authenticateSession): 4957 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 4958 (LayoutTestController::authenticateSession): 4959 Stub implementations. 4960 4961 2010-04-21 Kent Tamura <tkent (a] chromium.org> 4962 4963 Reviewed by Dimitri Glazkov. 4964 4965 [DRT/Chromium] Make DRT compilable in Chromium tree 4966 https://bugs.webkit.org/show_bug.cgi?id=37923 4967 4968 We need to use different GYPs in a case of WebKit-only checkout 4969 and a case of whole Chromium checkout because the relative paths 4970 from webkit/ to WebKit/chromium/features.gypi are different in 4971 these cases and we can't use 'conditions' for 'includes' in GYPs. 4972 4973 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 4974 4975 2010-04-21 Jakub Wieczorek <jwieczorek (a] webkit.org> 4976 4977 Reviewed by Darin Adler. 4978 4979 List item markers are not always updated after changes in the DOM. 4980 https://bugs.webkit.org/show_bug.cgi?id=37060 4981 4982 * DumpRenderTree/LayoutTestController.cpp: 4983 (markerTextForListItemCallback): A function that returns the marker text for a given list item. 4984 (LayoutTestController::staticFunctions): 4985 * DumpRenderTree/LayoutTestController.h: 4986 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 4987 (LayoutTestController::markerTextForListItem): Implement it in the GTK port. 4988 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 4989 (LayoutTestController::markerTextForListItem): Add a stub. 4990 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 4991 (LayoutTestController::LayoutTestController): 4992 (LayoutTestController::markerTextForListItem): Implement it in the Qt port. 4993 * DumpRenderTree/qt/LayoutTestControllerQt.h: 4994 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 4995 (LayoutTestController::markerTextForListItem): Add a stub. 4996 4997 2010-04-21 Adam Roben <aroben (a] apple.com> 4998 4999 Exclude leaks in CGGradientCreateWithColorComponents from 5000 run-webkit-tests leaks output 5001 5002 The leak in CG is covered by <rdar://problem/7888492>. 5003 5004 Fixes <http://webkit.org/b/37927>. 5005 5006 Reviewed by Eric Carlson. 5007 5008 * Scripts/old-run-webkit-tests: 5009 (sub countAndPrintLeaks): Exclude leaks in 5010 CGGradientCreateWithColorComponents on certain OSs. 5011 5012 2010-04-21 Kent Tamura <tkent (a] chromium.org> 5013 5014 Reviewed by Shinichiro Hamaji. 5015 5016 [DRT/Chromium] Import MockSpellCheck from Chromium 5017 https://bugs.webkit.org/show_bug.cgi?id=37910 5018 5019 Import webkit/tools/test_shell/mock_spellcheck.{cc,h} rev.37241 of Chromium. 5020 5021 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 5022 Add ICU explicitly because WTFString.h includes ICU headers. 5023 Add MockSpellCheck.{cpp,h}. 5024 * DumpRenderTree/chromium/MockSpellCheck.cpp: Added. 5025 * DumpRenderTree/chromium/MockSpellCheck.h: Added. 5026 * DumpRenderTree/chromium/WebViewHost.cpp: 5027 (WebViewHost::spellCheck): 5028 * DumpRenderTree/chromium/WebViewHost.h: 5029 * DumpRenderTree/chromium/config.h: Define JS_EXPORTDATA, which is used 5030 by wtf/text/AtomicString.h included by wtf/text/WTFString.h. 5031 5032 2010-04-21 Adam Barth <abarth (a] webkit.org> 5033 5034 Reviewed by Eric Seidel. 5035 5036 Add webkit-patch pretty-diff 5037 https://bugs.webkit.org/show_bug.cgi?id=37892 5038 5039 This is slightly lame because it asks you whether the diff is correct, 5040 but it's a starting point. 5041 5042 * Scripts/webkitpy/tool/commands/__init__.py: 5043 * Scripts/webkitpy/tool/commands/prettydiff.py: Added. 5044 * Scripts/webkitpy/tool/main.py: 5045 5046 2010-04-21 Adam Barth <abarth (a] webkit.org> 5047 5048 Reviewed by Darin Adler. 5049 5050 Remove mention of non-existant --no-build option 5051 https://bugs.webkit.org/show_bug.cgi?id=37893 5052 5053 The option doesn't exist! 5054 5055 * Scripts/webkitpy/tool/commands/stepsequence.py: 5056 5057 2010-04-21 Balazs Kelemen <kb (a] inf.u-szeged.hu> 5058 5059 Reviewed by Kenneth Rohde Christiansen. 5060 5061 [Qt] Interrupting JavaScript is cumbersome when you use QtLaucher for testing or profiling. 5062 https://bugs.webkit.org/show_bug.cgi?id=37198 5063 5064 * QtLauncher/main.cpp: 5065 (LauncherWindow::toggleInterruptingJavaScriptEnabled): 5066 (LauncherWindow::newWindow): 5067 (LauncherWindow::cloneWindow): 5068 (LauncherWindow::createChrome): 5069 (main): 5070 * QtLauncher/webpage.cpp: 5071 (WebPage::WebPage): 5072 (WebPage::shouldInterruptJavaScript): 5073 * QtLauncher/webpage.h: 5074 (WebPage::setInterruptingJavaScriptEnabled): 5075 5076 2010-04-21 Eric Seidel <eric (a] webkit.org> 5077 5078 Unreviewed, rolling out r57963. 5079 http://trac.webkit.org/changeset/57963 5080 https://bugs.webkit.org/show_bug.cgi?id=37759 5081 5082 Three tests started crashing on the Qt bot. 5083 5084 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 5085 * DumpRenderTree/qt/LayoutTestControllerQt.h: 5086 5087 2010-04-21 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 5088 5089 Reviewed by Eric Seidel. 5090 5091 Make new-run-webkit-tests work for the Qt port 5092 https://bugs.webkit.org/show_bug.cgi?id=37588 5093 5094 * Scripts/webkitpy/layout_tests/port/qt.py: 5095 5096 2010-04-21 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 5097 5098 Reviewed by Eric Seidel. 5099 5100 new-run-webkit-tests: try to detect alternate apache path 5101 https://bugs.webkit.org/show_bug.cgi?id=37587 5102 5103 _check_port_build() also needs to return true in the 5104 base implementation to not fail the check_build step. 5105 5106 * Scripts/webkitpy/layout_tests/port/webkit.py: 5107 5108 2010-04-21 Yi Shen <yi.4.shen (a] nokia.com> 5109 5110 Reviewed by Simon Hausmann. 5111 5112 [Qt] Add LayoutTestController interface: computedStyleIncludingVisitedInfo 5113 https://bugs.webkit.org/show_bug.cgi?id=37759 5114 5115 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 5116 (LayoutTestController::computedStyleIncludingVisitedInfo): 5117 * DumpRenderTree/qt/LayoutTestControllerQt.h: 5118 5119 2010-04-21 Eric Seidel <eric (a] webkit.org> 5120 5121 Unreviewed, test fix only. 5122 5123 new-run-webkit-tests: implement a --log trace message to be able to display detailed output of an individual test run 5124 https://bugs.webkit.org/show_bug.cgi?id=37726 5125 5126 This change seems to have broken a test. 5127 Attempting to handle the case where we don't have any 5128 timing information. Dirk may have to correct this change. 5129 5130 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5131 5132 2010-04-19 Eric Seidel <eric (a] webkit.org> 5133 5134 Reviewed by Adam Barth. 5135 5136 new-run-webkit-tests has much higher startup latency than run-webkit-tests 5137 https://bugs.webkit.org/show_bug.cgi?id=37643 5138 5139 I got rid of the -expected.checksum reads during startup. 5140 This makes startup noticably better on my laptop. 5141 5142 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 5143 - Use image_hash() instead of .image_hash now that expected.checksum 5144 file reads are done lazily. 5145 * Scripts/webkitpy/layout_tests/port/http_server_base.py: 5146 - Add debug logging for this sleep call. 5147 In my testing I never saw this sleep() hit. 5148 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 5149 - Sleep a shorter interval to make websocket server 5150 startup more responsive. On my machine startup was 5151 taking around 1 second. 5152 - Remove the unconditional .5s delay on startup. 5153 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5154 - Make image_hash file reads done lazily in a new image_hash() function. 5155 - Add a "Starting testing ..." meter update after DRT threads have 5156 been started, but before we get updates from the first one. 5157 - Rename variable "t" to a full english name to match WebKit style. 5158 5159 2010-04-20 Daniel Bates <dbates (a] rim.com> 5160 5161 Reviewed by Eric Seidel. 5162 5163 https://bugs.webkit.org/show_bug.cgi?id=37748 5164 5165 Make Sheriffbot more inspirational. 5166 5167 * Scripts/webkitpy/common/net/bugzilla.py: 5168 * Scripts/webkitpy/common/net/bugzilla_unittest.py: 5169 * Scripts/webkitpy/tool/bot/irc_command.py: 5170 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: 5171 * Scripts/webkitpy/tool/mocktool.py: 5172 5173 2010-04-20 Kent Tamura <tkent (a] chromium.org> 5174 5175 Reviewed by Dimitri Glazkov. 5176 5177 [DRT/Chromium] Import Chromium image_diff as ImageDiff 5178 https://bugs.webkit.org/show_bug.cgi?id=37790 5179 5180 ImageDiff.cpp is based on tools/imagediff/image_diff.cc r41911 of Chromium. 5181 5182 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 5183 * DumpRenderTree/chromium/ImageDiff.cpp: Added. 5184 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 5185 5186 2010-04-20 Dirk Pranke <dpranke (a] chromium.org> 5187 5188 This patch to new-run-webkit-tests adds a --log 'trace' option 5189 that prints out detailed info about a given test as it executes 5190 (where the baselines are, what the expectation is, what we got, 5191 how long it took). 5192 5193 https://bugs.webkit.org/show_bug.cgi?id=37726 5194 5195 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5196 - use the newly exposed TestResult class and implement 5197 --log trace 5198 * Scripts/webkitpy/layout_tests/layout_package/dump_render_thread.py: 5199 - rename TestStats to TestResult and make it more public, resulting 5200 in cleaner code 5201 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 5202 - add expectation_to_string() as a separate callable function 5203 5204 2010-04-20 Eric Seidel <eric (a] webkit.org> 5205 5206 Unreviewed, rolling out r57907. 5207 http://trac.webkit.org/changeset/57907 5208 https://bugs.webkit.org/show_bug.cgi?id=37765 5209 5210 Appears to have broken MacEWS and possibly webkit-patch upload 5211 for svn users. Needs further investigation. 5212 5213 * Scripts/webkitpy/common/checkout/api.py: 5214 * Scripts/webkitpy/common/checkout/api_unittest.py: 5215 * Scripts/webkitpy/common/checkout/changelog.py: 5216 * Scripts/webkitpy/common/checkout/changelog_unittest.py: 5217 * Scripts/webkitpy/common/checkout/commitinfo.py: 5218 * Scripts/webkitpy/common/checkout/scm.py: 5219 * Scripts/webkitpy/common/checkout/scm_unittest.py: 5220 * Scripts/webkitpy/common/config/committers.py: 5221 * Scripts/webkitpy/common/net/bugzilla.py: 5222 * Scripts/webkitpy/common/net/buildbot.py: 5223 * Scripts/webkitpy/common/net/buildbot_unittest.py: 5224 * Scripts/webkitpy/common/net/statusserver.py: 5225 * Scripts/webkitpy/common/prettypatch.py: 5226 * Scripts/webkitpy/common/system/autoinstall.py: 5227 * Scripts/webkitpy/common/system/deprecated_logging.py: 5228 * Scripts/webkitpy/common/system/executive.py: 5229 * Scripts/webkitpy/common/system/executive_unittest.py: 5230 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 5231 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 5232 * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: 5233 * Scripts/webkitpy/layout_tests/port/mac_unittest.py: 5234 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 5235 * Scripts/webkitpy/tool/commands/queues.py: 5236 * Scripts/webkitpy/tool/commands/queues_unittest.py: 5237 * Scripts/webkitpy/tool/commands/upload.py: 5238 * Scripts/webkitpy/tool/mocktool.py: 5239 * Scripts/webkitpy/tool/steps/abstractstep.py: 5240 * Scripts/webkitpy/tool/steps/postdiff.py: 5241 * Scripts/webkitpy/tool/steps/postdiffforcommit.py: 5242 * Scripts/webkitpy/tool/steps/postdiffforrevert.py: 5243 * Scripts/webkitpy/tool/steps/steps_unittest.py: 5244 5245 2010-04-20 Nate Chapin <japhet (a] chromium.org> 5246 5247 Unreviewed. 5248 5249 Update my irc handle in committers.py (natechapin -> japhet). 5250 5251 * Scripts/webkitpy/common/config/committers.py: 5252 5253 2010-04-20 Eric Seidel <eric (a] webkit.org> 5254 5255 Reviewed by Adam Barth. 5256 5257 REGRESSION(57531): the commit-queue still hates Tor Arne Vestb 5258 https://bugs.webkit.org/show_bug.cgi?id=37765 5259 5260 I fixed the queue to not ignore Tor as a reviwer in r57531, 5261 but instead it throws an exception every time his name is in a patch. 5262 5263 This fixes our Executive.run_command code to work around a Popen 5264 bug http://bugs.python.org/issue5290 whereby python versions before 2.6 5265 do not correctly handle unicode objects as input or output to 5266 Popen.communicate. 5267 5268 Following the advice of: 5269 http://farmdev.com/talks/unicode/ 5270 I'm attempting to take the python unicode plunge and use unicode() 5271 objects as strings instead of str() objects everywhere in webkitpy. 5272 5273 We do not have to use u"" instead of "" because u"a" == "a" as expected 5274 in Python. Python will generate a warning to the console in cases where 5275 a unicode() == str() operation cannot be performed. 5276 5277 I also cleaned up the input handling in run_command a little by adding 5278 a new _compute_input() method which can return early instead of having 5279 such a long/cluttered if-block. 5280 5281 Executive.run* now correctly accept and return unicode() objects. 5282 I attempted to fix all the places that we call .write() to make sure we 5283 encode any unicode() objects into utf-8. 5284 5285 All places which use StringIO need to be sure to pass StringIO a 5286 pre-encoded byte-array (str object) instead of unicode so that 5287 clients which read from the StringIO don't have encoding exceptions. 5288 To make this easier, I removed the patch_file_object support from 5289 add_patch_to_bug, and changed the 4 places which previously used 5290 StringIO to create a fake patch file. 5291 5292 I attempted to document any places where we are not correctly converting 5293 to/from bytes (str() objects) to strings (unicode() objects). 5294 5295 * Scripts/webkitpy/common/checkout/api_unittest.py: 5296 - Read/write utf-8 files instead of ascii. 5297 - Update the tests to use test for proper unicode() handling. 5298 * Scripts/webkitpy/common/checkout/changelog_unittest.py: 5299 - Use unicode() strings instead of str() byte arrays. 5300 * Scripts/webkitpy/common/checkout/scm.py: 5301 - Remove use of str(). 5302 * Scripts/webkitpy/common/checkout/scm_unittest.py: 5303 - Read/write utf-8 files and use unicode() strings in testing. 5304 * Scripts/webkitpy/common/config/committers.py: 5305 - Use \u instead of \x to make slightly clearer what we're doing. 5306 * Scripts/webkitpy/common/net/bugzilla.py: 5307 - Add a new _string_contents() method and explain why 5308 we have to call unicode() on the result of soup.string 5309 and why it's safe to do so w/o needing to pass a codec name. 5310 - Remove the (unused) support for passing a file object to add_patch_to_bug(). 5311 * Scripts/webkitpy/common/net/buildbot.py: 5312 - Use unicode() instead of str() when needing to coax a 5313 NavigableString object into a unicode() object. 5314 * Scripts/webkitpy/common/net/statusserver.py: 5315 - Remove use of str() 5316 * Scripts/webkitpy/common/prettypatch.py: 5317 - Write out the patch file as utf-8. 5318 * Scripts/webkitpy/common/system/autoinstall.py: 5319 - Add a FIXME about encoding. 5320 * Scripts/webkitpy/common/system/deprecated_logging.py: 5321 - Document that tee() works on bytes, not strings. 5322 * Scripts/webkitpy/common/system/executive.py: 5323 - Make run* properly take and return unicode() objects. 5324 * Scripts/webkitpy/common/system/executive_unittest.py: 5325 - Added a unit test to make sure we don't break Tor again! 5326 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 5327 - Write out the test list as utf-8. 5328 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 5329 - Write out json files as utf-8. 5330 * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: 5331 - Add FIXME about encoding handling. 5332 * Scripts/webkitpy/tool/commands/upload.py: 5333 - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper. 5334 * Scripts/webkitpy/tool/mocktool.py: 5335 - Rename add_patch_to_bug argument to match bugzilla.py 5336 * Scripts/webkitpy/tool/steps/postdiff.py: 5337 - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper. 5338 * Scripts/webkitpy/tool/steps/postdiffforcommit.py: ditto. 5339 * Scripts/webkitpy/tool/steps/postdiffforrevert.py: ditto. 5340 * Scripts/webkitpy/tool/steps/steps_unittest.py: 5341 - Fixed spurious logging seen when running test-webkitpy 5342 5343 2010-04-20 Chris Jerdonek <cjerdonek (a] webkit.org> 5344 5345 Reviewed by Shinichiro Hamaji. 5346 5347 For check-webkit-style, implemented __eq__() and __ne__() (the 5348 built-in equality and inequality methods) for the 5349 DefaultStyleErrorHandler class. 5350 5351 https://bugs.webkit.org/show_bug.cgi?id=37850 5352 5353 This will facilitate unit-testing for a subsequent patch, 5354 namely for https://bugs.webkit.org/show_bug.cgi?id=37850 5355 5356 * Scripts/webkitpy/style/error_handlers.py: 5357 - Added __eq__() and __ne__() to the DefaultStyleErrorHandler 5358 class. 5359 5360 * Scripts/webkitpy/style/error_handlers_unittest.py: 5361 - Added unit tests for __eq__() and __ne__(). 5362 - Also included a minor clean-up refactoring of combining the 5363 StyleErrorHandlerTestBase class (which has not needed to 5364 be separate due to previous changes) into the 5365 DefaultStyleErrorHandlerTest class. 5366 5367 2010-04-20 Jakub Wieczorek <jwieczorek (a] webkit.org> 5368 5369 Unreviewed. 5370 5371 Add my IRC nick to the committers.py list. 5372 5373 * Scripts/webkitpy/common/config/committers.py: 5374 5375 2010-04-20 Kim Grnholm <kim.gronholm (a] nomovok.com> 5376 5377 Reviewed by Simon Hausmann. 5378 5379 [Qt] Multitouch mocking in QtLauncher doesn't work with QGraphicsView 5380 https://bugs.webkit.org/show_bug.cgi?id=37816 5381 5382 Fix multi-touch mocking in QtLauncher when using QGraphicsView. 5383 Test: https://bug-32434-attachments.webkit.org/attachment.cgi?id=44955 5384 5385 * QtLauncher/main.cpp: 5386 (LauncherWindow::eventFilter): 5387 (LauncherWindow::initializeView): 5388 5389 2010-04-20 MORITA Hajime <morrita (a] google.com> 5390 5391 Unreviewed, add myself to the committers list. 5392 5393 * Scripts/webkitpy/common/config/committers.py: 5394 5395 2010-04-20 Kent Tamura <tkent (a] chromium.org> 5396 5397 Reviewed by Shinichiro Hamaji. 5398 5399 [DRT/Chromium] Fix some unexpected results of editing 5400 https://bugs.webkit.org/show_bug.cgi?id=37843 5401 5402 This change fixes about 70 unexpected results. 5403 The original test_webview_delegate.cc doesn't have this bug. 5404 The bug was introduced when I ported it to WebKit tree. 5405 5406 * DumpRenderTree/chromium/WebViewHost.cpp: 5407 (printRangeDescription): Replace the latter startContainer() with endContainer(). 5408 5409 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5410 5411 Unreviewed, build fix. 5412 5413 Turn off some unit tests for now - the new-run-webkit-tests dryrun 5414 tests for chromium won't work if you don't have a chromium checkout. 5415 5416 https://bugs.webkit.org/show_bug.cgi?id=37841 5417 5418 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 5419 5420 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5421 5422 Unreviewed, build fix. 5423 5424 (Re-)add dryrun.py; this was renamed from passing.py in the previous 5425 CL but apparently somehow didn't get checked in. 5426 5427 https://bugs.webkit.org/show_bug.cgi?id=37841 5428 5429 * Scripts/webkitpy/layout_tests/port/dryrun.py: Added. 5430 5431 2010-04-19 Shinichiro Hamaji <hamaji (a] chromium.org> 5432 5433 Reviewed by David Levin. 5434 5435 check-webkit-style: exits when encountering a deleted file 5436 https://bugs.webkit.org/show_bug.cgi?id=37122 5437 5438 This reverts the quick fix done by r57119 and makes check_patch 5439 not call check_file for deleted files. 5440 5441 Also this change fixes the behavior for "-", which should mean 5442 stdin. Before this change, the style checker just ignored "-" 5443 with a warning message. 5444 5445 * Scripts/webkitpy/style/checker.py: 5446 * Scripts/webkitpy/style/checker_unittest.py: 5447 5448 2010-04-19 Daniel Bates <dbates (a] rim.com> 5449 5450 No review, rolling out 57868. 5451 http://trac.webkit.org/changeset/57868 5452 https://bugs.webkit.org/show_bug.cgi?id=37748 5453 5454 Sheriffbot wasn't very inspirational after this patch. 5455 Instead, he was silent when you said hi :-(. Rolling 5456 out this patch so that I can debug/test this some more. 5457 5458 * Scripts/webkitpy/common/net/bugzilla.py: 5459 * Scripts/webkitpy/common/net/bugzilla_unittest.py: 5460 * Scripts/webkitpy/tool/bot/irc_command.py: 5461 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: 5462 * Scripts/webkitpy/tool/mocktool.py: 5463 5464 2010-04-19 Daniel Bates <dbates (a] rim.com> 5465 5466 Reviewed by Adam Barth. 5467 5468 https://bugs.webkit.org/show_bug.cgi?id=37748 5469 5470 Make Sheriffbot more inspirational. 5471 5472 * Scripts/webkitpy/common/net/bugzilla.py: 5473 * Scripts/webkitpy/common/net/bugzilla_unittest.py: 5474 * Scripts/webkitpy/tool/bot/irc_command.py: 5475 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: 5476 * Scripts/webkitpy/tool/mocktool.py: 5477 5478 2010-04-19 Kevin Ollivier <kevino (a] theolliviers.com> 5479 5480 [wx] Build fix, add missing header. 5481 5482 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 5483 5484 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5485 5486 Reviewed by Adam Barth. 5487 5488 new-run-webkit-tests - repurpose the "Passing" port as "Dryrun" port 5489 that can be used to test platforms other than the one you are running 5490 on. This can be useful for checking baselines and testing code 5491 coverage. 5492 5493 Note that running the code on the "wrong" port requires each 5494 port-specific implementation to actually not require any 5495 platform-specific python code (e.g., the chromium-win port must 5496 test for the existence of windows functions before calling them). 5497 5498 https://bugs.webkit.org/show_bug.cgi?id=37782 5499 5500 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 5501 * Scripts/webkitpy/layout_tests/port/dryrun.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/port/passing.py. 5502 * Scripts/webkitpy/layout_tests/port/factory.py: 5503 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: 5504 5505 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5506 5507 Reviewed by Eric Seidel. 5508 5509 new-run-webkit-tests: add --build (default) and --no-build 5510 options to make that step optional. This flag modifies what happens 5511 in port.check_build(). 5512 5513 https://bugs.webkit.org/show_bug.cgi?id=37786 5514 5515 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5516 * Scripts/webkitpy/layout_tests/port/chromium.py: 5517 * Scripts/webkitpy/layout_tests/port/webkit.py: 5518 5519 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5520 5521 Unreviewed, build fix. 5522 5523 new-run-webkit-tests - fix a typo in r57480 that caused us to stop 5524 logging the actual list of unexpected results. 5525 5526 https://bugs.webkit.org/show_bug.cgi?id=37831 5527 5528 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5529 5530 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5531 5532 Reviewed by Adam Barth. 5533 5534 From a patch by Tor Arne Vestbo <tor.arne.vestbo (a] nokia.com> 5535 5536 new-run-webkit-tests: make the retry step more explicit 5537 https://bugs.webkit.org/show_bug.cgi?id=37606 5538 5539 It might be confusing to see the test and percent counters 5540 reset without any notice of what's going on, so we make the 5541 message that a retry-run is started explicit. 5542 5543 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5544 5545 2010-04-19 Sam Weinig <weinig (a] apple.com> 5546 5547 Reviewed by Anders Carlsson. 5548 5549 Add support for opening a new window (File->New Window) to 5550 Windows MiniBrowser. Accelerator doesn't work. 5551 5552 * MiniBrowser/win/BrowserView.cpp: 5553 (createNewPage): Use BrowserView::create. 5554 * MiniBrowser/win/BrowserWindow.cpp: 5555 (BrowserWindow::onCommand): Respond to ID_FILE_NEW_WINDOW 5556 by creating a new window. 5557 * MiniBrowser/win/BrowserWindow.h: 5558 (BrowserWindow::create): Added. Don't allow creating 5559 BrowserWindows on the stack by making constructor 5560 private and exposing the create function. 5561 * MiniBrowser/win/MiniBrowser.cpp: 5562 (MiniBrowser::createNewWindow): Move new window creation 5563 logic here. 5564 * MiniBrowser/win/MiniBrowser.h: 5565 * MiniBrowser/win/MiniBrowser.rc: 5566 * MiniBrowser/win/main.cpp: 5567 (_tWinMain): Use the new MiniBrowser::createNewWindow(). 5568 5569 2010-04-19 Chris Fleizach <cfleizach (a] apple.com> 5570 5571 Reviewed by Beth Dakin. 5572 5573 AX: aria-haspopup needs to be exposed 5574 https://bugs.webkit.org/show_bug.cgi?id=37808 5575 5576 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 5577 (AccessibilityUIElement::hasPopup): 5578 5579 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5580 5581 Reviewed by Eric Seidel. 5582 5583 Submit a better workaround for r57806 than the one in r57831 - log 5584 an error and exit if you try to run new-run-webkit-tests with --use-drt 5585 on Windows. 5586 5587 https://bugs.webkit.org/show_bug.cgi?id=37822 5588 5589 * Scripts/webkitpy/layout_tests/port/chromium.py: 5590 5591 2010-04-19 Jesus Sanchez-Palencia <jesus (a] webkit.org> 5592 5593 Unreviewed. 5594 5595 Just adding myself as a committer. 5596 5597 * Scripts/webkitpy/common/config/committers.py: 5598 5599 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5600 5601 Reviewed by Eric Seidel. 5602 5603 Add slightly better logging to the websocket python wrapper script, 5604 including a --verbose flag for debug output. 5605 5606 https://bugs.webkit.org/show_bug.cgi?id=37233 5607 5608 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 5609 * Scripts/new-run-webkit-websocketserver: 5610 5611 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5612 5613 Reviewed by Eric Seidel. 5614 5615 new-run-webkit-tests: add a way (--print-unexpected-results) to 5616 (re-)print out the tests that produced unexpected results in the 5617 last run. Also add a way (--retry-unexpected-results) to 5618 automatically re-test them. 5619 5620 https://bugs.webkit.org/show_bug.cgi?id=37783 5621 5622 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5623 5624 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5625 5626 Reviewed by Eric Seidel. 5627 5628 Restructure the logging in new-run-webkit-tests so that many of log 5629 messages that were logged to the MeteredStream also get logged in 5630 --verbose mode. 5631 5632 https://bugs.webkit.org/show_bug.cgi?id=37780 5633 5634 * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: 5635 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5636 5637 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5638 5639 Reviewed by Eric Seidel. 5640 5641 new-run-webkit-tests: add 'summary' and 'unexpected-results' options 5642 to the --log flag. Also add a 'progress' flag to enable the regular 5643 progress bar (as opposed to 'detailed-progress', which enables the 5644 dots). Also add a 'nothing' flag to allow you to be explicit that 5645 you don't want any logging on the command line. 5646 5647 The default is 5648 '--log detailed-progress,summary,unexpected,unexpected-results' 5649 5650 (The default logging is unchanged by this patch, this just makes things 5651 properly configurable). 5652 5653 Note that 'nothing' doesn't work properly yet; I need a couple other 5654 patches to land to avoid rewriting things several different ways. 5655 5656 https://bugs.webkit.org/show_bug.cgi?id=37785 5657 5658 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5659 5660 2010-04-19 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 5661 5662 Reviewed by Simon Hausmann. 5663 5664 Make the URL change on committed load. 5665 5666 * QtLauncher/mainwindow.cpp: 5667 (MainWindow::buildUI): 5668 (MainWindow::setAddressUrl): 5669 * QtLauncher/mainwindow.h: 5670 5671 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5672 5673 Reviewed by Eric Seidel. 5674 5675 Fix a typo in the rebaselining tool that causes us to use "debug" 5676 instead of "Debug" in a directory path, which fails on platforms with 5677 case-sensitive filesystems. 5678 5679 https://bugs.webkit.org/show_bug.cgi?id=37819 5680 5681 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 5682 5683 2010-04-19 Dirk Pranke <dpranke (a] chromium.org> 5684 5685 Unreviewed, build fix. 5686 5687 Fix breakage of chromium-win canary bots caused by r57806. That patch 5688 introduced the option of using Chrome's new port of DumpRenderTree, 5689 but unfortunately that port relies on the webkit.py class 5690 implementation which uses non-blocking I/O that isn't available on 5691 Windows. This patch turns off that option and doesn't import the 5692 class if we're running on Windows. 5693 5694 https://bugs.webkit.org/show_bug.cgi?id=37817 5695 5696 * Scripts/webkitpy/layout_tests/port/chromium.py: 5697 5698 2010-04-19 James Robinson <jamesr (a] chromium.org> 5699 5700 Reviewed by abarth. 5701 5702 Fix a typo 5703 5704 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 5705 5706 2010-04-19 Adam Roben <aroben (a] apple.com> 5707 5708 Fix run-webkit-tests when there are spaces in the path 5709 5710 Fixes <http://webkit.org/b/37809> 5711 5712 Reviewed by Adam Barth. 5713 5714 * Scripts/run-webkit-tests: Use an "indirect object" to specify the 5715 path to the harness to exec(). According to perldoc, this usage will 5716 prohibit perl from parsing the arguments to exec() via the shell, 5717 which would incorrectly split paths with spaces in them, etc. 5718 5719 2010-04-19 Dimitri Glazkov <dglazkov (a] chromium.org> 5720 5721 Reviewed by Adam Roben. 5722 5723 WinLauncher.h should use LF line-endings and use native line-endings style. 5724 https://bugs.webkit.org/show_bug.cgi?id=37807 5725 5726 * WinLauncher/WinLauncher.h: Added property svn:eol-style, converted to LF line-endings. 5727 5728 2010-04-19 Kent Tamura <tkent (a] chromium.org> 5729 5730 Reviewed by Shinichiro Hamaji. 5731 5732 [DRT/Chromium] Fix a test initialization problem 5733 https://bugs.webkit.org/show_bug.cgi?id=37791 5734 5735 * DumpRenderTree/chromium/DumpRenderTree.cpp: 5736 (runTest): Call resetTestController() before runFileTest(). Some 5737 controllers initialize their fields in reset() and not in their 5738 constructors. 5739 5740 2010-04-19 Kent Tamura <tkent (a] chromium.org> 5741 5742 Reviewed by Eric Seidel. 5743 5744 [Chromium] new-run-webkit-tests should use WebKitDriver for --use-drt 5745 https://bugs.webkit.org/show_bug.cgi?id=37793 5746 5747 We need to use WebKitDriver instead of ChromiumDriver for Chromium 5748 DRT because its interface is different from test_shell. 5749 5750 Chromium DRT has no UI. So we can't use it to show test results. 5751 5752 * Scripts/webkitpy/layout_tests/port/chromium.py: 5753 5754 2010-04-18 Eric Seidel <eric (a] webkit.org> 5755 5756 Reviewed by Adam Roben. 5757 5758 Make failure-reason more forgiving 5759 https://bugs.webkit.org/show_bug.cgi?id=37525 5760 5761 Removed search_limit, which wasn't very useful anyway. 5762 Added a log about the long load time loading from the builders. 5763 Prompt the user for what revision to start walking from (makes it easy to restart upon failure). 5764 5765 * Scripts/webkitpy/common/net/buildbot.py: 5766 * Scripts/webkitpy/tool/commands/queries.py: 5767 5768 2010-04-18 Chris Jerdonek <cjerdonek (a] webkit.org> 5769 5770 Reviewed by Shinichiro Hamaji. 5771 5772 Created a class for check-webkit-style that encapsulates iterating 5773 over text files and reading them. 5774 5775 https://bugs.webkit.org/show_bug.cgi?id=37754 5776 5777 This revision is an intermediate step towards separating our 5778 style-checking code from the logic of iterating over files and 5779 reading them. 5780 5781 * Scripts/webkitpy/common/system/logtesting.py: 5782 - Added a logMessages() method to the LoggingTestCase class. 5783 This method provides unit tests with access to the raw list 5784 of log messages in case the tester needs to do something more 5785 than simply assert the list of existing messages. 5786 5787 * Scripts/webkitpy/style/checker.py: 5788 - Added a ProcessorBase class that processors of lists of lines 5789 should eventually inherit from. 5790 - Also added a FIXME to use the ProcessorBase class and the 5791 TextFileReader class added below. 5792 5793 * Scripts/webkitpy/style/filereader.py: Added. 5794 - Created a TextFileReader class that encapsulates reading 5795 and iterating over text files. 5796 5797 * Scripts/webkitpy/style/filereader_unittest.py: Added. 5798 - Added a TextFileReaderTest class to unit-test the 5799 new TextFileReader class. 5800 5801 2010-04-15 Tony Chang <tony (a] chromium.org> 5802 5803 Reviewed by Adam Barth. 5804 5805 [chromium] new-run-webkit-tests should be able to use chromium DRT 5806 https://bugs.webkit.org/show_bug.cgi?id=37645 5807 5808 Make sure that the lack of a chromium checkout doesn't cause the script to 5809 fail. 5810 5811 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 5812 * Scripts/webkitpy/layout_tests/port/chromium.py: 5813 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: Fix up a few paths 5814 to be relative to an upstream output dir. 5815 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Add --use-drt flag. 5816 5817 2010-04-18 Eric Seidel <eric (a] webkit.org> 5818 5819 Unreviewed, fixing the Qt bot. 5820 5821 Add a layer of indirection when calling run-webkit-tests to allow testing new-run-webkit-tests on various platforms 5822 https://bugs.webkit.org/show_bug.cgi?id=37632 5823 5824 * Scripts/run-webkit-tests: 5825 - Exit non-zero of launching the harness fails. 5826 5827 2010-04-18 Eric Seidel <eric (a] webkit.org> 5828 5829 Unreviewed, fixing the Qt bot. 5830 5831 Add a layer of indirection when calling run-webkit-tests to allow testing new-run-webkit-tests on various platforms 5832 https://bugs.webkit.org/show_bug.cgi?id=37632 5833 5834 * Scripts/run-webkit-tests: 5835 - Fix the wrapper to work for users who do not 5836 have WebKitTools/Scripts in their path. 5837 5838 2010-04-14 Eric Seidel <eric (a] webkit.org> 5839 5840 Reviewed by Adam Barth. 5841 5842 Add a layer of indirection when calling run-webkit-tests to 5843 allow testing new-run-webkit-tests on various platforms. 5844 https://bugs.webkit.org/show_bug.cgi?id=37632 5845 5846 This will let us test and fix bugs in new-run-webkit-tests 5847 without needing to restart the buildbot master between tests. 5848 5849 Currently this change leaves run-webkit-tests as-is, but once 5850 its landed we will easily be able to turn on/off 5851 new-run-webkit-tests for various ports/configurations. 5852 5853 I will send a note out to webkit-dev about how we will 5854 be using this launcher script to test on the bots. 5855 5856 * Scripts/old-run-webkit-tests: Copied from WebKitTools/Scripts/run-webkit-tests. 5857 * Scripts/run-webkit-tests: 5858 - A new script which decides whether to run new- or old- 5859 run-webkit-tests based on the platform. 5860 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 5861 - Add some dummy argument handling for arguments which 5862 old-run-webkit-tests supports but new-run-webkit-tests 5863 does not yet. 5864 5865 2010-04-18 Eric Seidel <eric (a] webkit.org> 5866 5867 Reviewed by Adam Barth. 5868 5869 Add Gtk bots to the list of "core builders" (builders which stop the commit-queue when they turn red) 5870 https://bugs.webkit.org/show_bug.cgi?id=33295 5871 5872 The Gtk builders have been green every time I've looked 5873 at them in the last 5 days or so. It would appear webkit 5874 is now keeping them green and we should update the core 5875 builder list to match reality. 5876 5877 * Scripts/webkitpy/common/net/buildbot.py: 5878 * Scripts/webkitpy/common/net/buildbot_unittest.py: 5879 5880 2010-04-18 Robert Hogan <robert (a] webkit.org> 5881 5882 Reviewed by Simon Hausmann. 5883 5884 [Qt] Add support for LayoutTestController commands: 5885 setSmartInsertDeleteEnabled 5886 setSelectTrailingWhitespaceEnabled 5887 execCommand 5888 isCommandEnabled 5889 5890 https://bugs.webkit.org/show_bug.cgi?id=35844 5891 5892 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 5893 (WebCore::WebPage::resetSettings): 5894 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 5895 (LayoutTestController::setSmartInsertDeleteEnabled): 5896 (LayoutTestController::setSelectTrailingWhitespaceEnabled): 5897 (LayoutTestController::execCommand): 5898 (LayoutTestController::isCommandEnabled): 5899 * DumpRenderTree/qt/LayoutTestControllerQt.h: 5900 5901 2010-04-17 Adam Barth <abarth (a] webkit.org> 5902 5903 Reviewed by Eric Seidel. 5904 5905 Remove steps_references and commands_references 5906 https://bugs.webkit.org/show_bug.cgi?id=37758 5907 5908 We tried using the mumble_references convention to manage our 5909 dependencies, but it doesn't seem to be providing much value for the 5910 steps and commands module because these modules are small pieces of the 5911 larger tool module. In this patch, I've removed the references file 5912 for these modules. 5913 5914 I've left the style_references file for the style module because that 5915 module seems better isolated from the rest of webkitpy and the 5916 style_references file appears to be providing some value. 5917 5918 * Scripts/webkitpy/tool/commands/commandtest.py: 5919 * Scripts/webkitpy/tool/commands/download_unittest.py: 5920 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: 5921 * Scripts/webkitpy/tool/commands/queries_unittest.py: 5922 * Scripts/webkitpy/tool/commands/queues_unittest.py: 5923 * Scripts/webkitpy/tool/commands/queuestest.py: 5924 * Scripts/webkitpy/tool/commands/upload.py: 5925 * Scripts/webkitpy/tool/commands/upload_unittest.py: 5926 * Scripts/webkitpy/tool/commands_references.py: Removed. 5927 * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py: 5928 * Scripts/webkitpy/tool/steps/steps_unittest.py: 5929 * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py: 5930 * Scripts/webkitpy/tool/steps/validatereviewer_unittest.py: 5931 * Scripts/webkitpy/tool/steps_references.py: Removed. 5932 5933 2010-04-17 Eric Seidel <eric (a] webkit.org> 5934 5935 Reviewed by Adam Barth. 5936 5937 WebKit needs a Chromium Mac EWS Builder 5938 https://bugs.webkit.org/show_bug.cgi?id=37742 5939 5940 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 5941 5942 2010-04-17 Adam Barth <abarth (a] webkit.org> 5943 5944 Fix expected results for unit test broken by 5945 http://trac.webkit.org/changeset/57772 5946 5947 * Scripts/webkitpy/common/net/buildbot_unittest.py: 5948 5949 2010-04-17 Sam Weinig <weinig (a] apple.com> 5950 5951 Reviewed by Adam Roben. 5952 5953 Teach windows MiniBrowser how to work with window.open() 5954 and targeted links. 5955 5956 * MiniBrowser/win/BrowserView.cpp: 5957 (createNewPage): Create a new BrowserWindow and return its page. 5958 (showPage): Show the page. 5959 (closePage): Empty implementation. 5960 (runJavaScriptAlert): Empty implementation. 5961 (BrowserView::create): Register a UIClient. 5962 * MiniBrowser/win/BrowserView.h: 5963 (BrowserView::webView): Added. 5964 Change create to take a BrowserWindow instead of an HWND. 5965 5966 * MiniBrowser/win/BrowserWindow.cpp: 5967 (BrowserWindow::wndProc): Respond to WM_NCDESTROY. 5968 (BrowserWindow::goToURL): Added. Forwards to BrowserView. 5969 (BrowserWindow::onCreate): Don't always go to the default 5970 url. Let the caller do this. 5971 (BrowserWindow::onNCDestroy): Delete the window. 5972 * MiniBrowser/win/BrowserWindow.h: 5973 (BrowserWindow::view): Added. 5974 (BrowserWindow::window): Added. 5975 5976 * MiniBrowser/win/main.cpp: 5977 (_tWinMain): 5978 Go to the default URL for the initial page. Allocate the initial 5979 window on the heap for correctness. 5980 5981 2010-04-16 Adam Roben <aroben (a] apple.com> 5982 5983 Add the Windows Debug (Test) builder to the list of core builders 5984 5985 It's been green for a few days now, and all the known Windows 5986 flakiness is Release-only. 5987 5988 Rubber-stamped by Mark Rowe. 5989 5990 * Scripts/webkitpy/common/net/buildbot.py: 5991 (BuildBot.core_builder_name_regexps): Added a regular expression to 5992 match the "Windows Debug (Test)" builder. 5993 5994 2010-04-16 Sam Weinig <sam (a] webkit.org> 5995 5996 Reviewed by Anders Carlsson. 5997 5998 Fix window.open() and targeted links. 5999 6000 * MiniBrowser/mac/BrowserWindowController.m: 6001 (_createNewPage): Use the correct initializer to and load the window. 6002 6003 2010-04-16 Adam Roben <aroben (a] apple.com> 6004 6005 Fix links to layout test results from build status pages 6006 6007 Reviewed by Mark Rowe. 6008 6009 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 6010 (ExtractTestResults.finished): Prepend "/" on the URL of the test 6011 results page so that it is treated as an absolute URL. 6012 6013 2010-04-16 Tony Chang <tony (a] chromium.org> 6014 6015 Reviewed by Dimitri Glazkov. 6016 6017 [chromium] build DRT on Linux 6018 https://bugs.webkit.org/show_bug.cgi?id=37690 6019 6020 * Scripts/build-dumprendertree: Add support for win and linux 6021 6022 2010-04-16 Sam Weinig <weinig (a] apple.com> 6023 6024 Reviewed by Adam Roben. 6025 6026 Use the threaded process model for MiniBrowser if holding down 6027 the shift key on startup. 6028 6029 * MiniBrowser/win/BrowserView.cpp: 6030 (BrowserView::create): 6031 6032 2010-04-15 Tony Chang <tony (a] chromium.org> 6033 6034 Reviewed by Dimitri Glazkov. 6035 6036 [chromium] Add TestShellGtk.cpp so we can link on Linux 6037 https://bugs.webkit.org/show_bug.cgi?id=37561 6038 6039 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Add new file and 6040 add platform file exceptions. 6041 * DumpRenderTree/chromium/TestShellGtk.cpp: Added. 6042 (AlarmHandler): 6043 (TestShell::waitTestFinished): 6044 6045 2010-04-15 Tony Chang <tony (a] chromium.org> 6046 6047 Reviewed by Dimitri Glazkov. 6048 6049 build DRT on chromium mac 6050 https://bugs.webkit.org/show_bug.cgi?id=37639 6051 6052 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 6053 * Scripts/build-dumprendertree: enable build-dumprendertree --chromium 6054 6055 2010-04-15 Kent Tamura <tkent (a] chromium.org> 6056 6057 Reviewed by Dimitri Glazkov. 6058 6059 [DRT/Chromium] Add LayoutTestHelper for Mac 6060 https://bugs.webkit.org/show_bug.cgi?id=37668 6061 6062 LayouTestHelper.mm is based on webkit/tools/test_shell/mac/layout_test_helper.mm 6063 of Chromium. 6064 6065 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 6066 * DumpRenderTree/chromium/LayoutTestHelper.mm: Added. 6067 6068 2010-04-15 Alexey Proskuryakov <ap (a] apple.com> 6069 6070 Reviewed by Geoff Garen. 6071 6072 https://bugs.webkit.org/show_bug.cgi?id=37494 6073 <rdar://problem/7857060> REGRESSION (r57340): fast/events/mouse-drag-from-frame-to-other-frame.html 6074 fails on Windows 6075 6076 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): 6077 * DumpRenderTree/win/EventSender.h: 6078 Tell EventSender if it's being created for a top frame. 6079 6080 * DumpRenderTree/win/FrameLoadDelegate.cpp: 6081 (FrameLoadDelegate::didClearWindowObjectForFrameInStandardWorld): We only want to reset 6082 EventSender machinery when a new test is loaded, not when an iframe (or just its global 6083 object) is created. 6084 6085 2010-04-15 Adam Roben <aroben (a] apple.com> 6086 6087 Fix Windows WebKit2 build. 6088 6089 * MiniBrowser/win/MiniBrowser.cpp: 6090 6091 2010-04-15 Ojan Vafai <ojan (a] chromium.org> 6092 6093 Reviewed by Adam Barth. 6094 6095 Include codereview issue number in patch description 6096 https://bugs.webkit.org/show_bug.cgi?id=37677 6097 6098 This lets us know which rietveld issue this patch is tied to. 6099 6100 Also, make it so that --fancy-review overrides --no-review. 6101 6102 * Scripts/webkitpy/tool/steps/postcodereview.py: 6103 * Scripts/webkitpy/tool/steps/postdiff.py: 6104 6105 2010-04-15 Adam Roben <aroben (a] apple.com> 6106 6107 Make --exit-after-n-failures work when all tests are timing out or crashing 6108 6109 Fixes <http://webkit.org/b/37679>. 6110 6111 Reviewed by Jon Honeycutt. 6112 6113 * Scripts/run-webkit-tests: 6114 (top level): When a test crashes or times out, break out of the main loop if 6115 stopRunningTestsEarlyIfNeeded returns true. Moved some code from the bottom of the main loop 6116 from here... 6117 (stopRunningTestsEarlyIfNeeded): ...to here. 6118 6119 2010-04-15 Sam Weinig <sam (a] webkit.org> 6120 6121 Reviewed by Anders Carlsson. 6122 6123 Add WebHistoryClient support. 6124 https://bugs.webkit.org/show_bug.cgi?id=37671 6125 6126 Add HistoryClient logging. 6127 6128 * MiniBrowser/mac/BrowserWindowController.m: 6129 (_didNavigateWithNavigationData): 6130 (_didPerformClientRedirect): 6131 (_didPerformServerRedirect): 6132 (_didUpdateHistoryTitle): 6133 (-[BrowserWindowController awakeFromNib]): 6134 6135 2010-04-15 Anders Carlsson <andersca (a] apple.com> 6136 6137 Reviewed by Sam Weinig. 6138 6139 Start the mini browser in threaded mode if shift is pressed during startup. 6140 https://bugs.webkit.org/show_bug.cgi?id=37670 6141 6142 * MiniBrowser/mac/AppDelegate.m: 6143 (-[BrowserAppDelegate init]): 6144 6145 2010-04-15 Chris Fleizach <cfleizach (a] apple.com> 6146 6147 Reviewed by Beth Dakin. 6148 6149 AXHelp is being appended from ancestors incorrectly 6150 https://bugs.webkit.org/show_bug.cgi?id=37659 6151 6152 * DumpRenderTree/AccessibilityUIElement.cpp: 6153 (getHelpTextCallback): 6154 (AccessibilityUIElement::getJSClass): 6155 * DumpRenderTree/AccessibilityUIElement.h: 6156 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 6157 (AccessibilityUIElement::helpText): 6158 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 6159 (AccessibilityUIElement::helpText): 6160 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 6161 (AccessibilityUIElement::helpText): 6162 6163 2010-04-15 Dirk Pranke <dpranke (a] chromium.org> 6164 6165 Reviewed by Adam Barth. 6166 6167 Re-format run-webkit-tests to fit in 80-columns for PEP-8 compliance. 6168 (broken by r57463 and r57381, at least). I've also filed bug 37477 6169 to fix check-webkit-style to catch these things. 6170 6171 https://bugs.webkit.org/show_bug.cgi?id=38586 6172 6173 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 6174 6175 2010-04-15 Dirk Pranke <dpranke (a] chromium.org> 6176 6177 Reviewed by Dimitri Glazkov. 6178 6179 Add a way to override the user-visible name for the test binary since 6180 some ports don't call it DumpRenderTree (e.g., Chromium Win uses 6181 test_shell, Chromium Mac uses TestShell) by adding a driver_name() 6182 method to the Port interface. 6183 6184 https://bugs.webkit.org/show_bug.cgi?id=37631 6185 6186 * Scripts/webkitpy/layout_tests/port/base.py: 6187 * Scripts/webkitpy/layout_tests/port/chromium.py: 6188 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 6189 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 6190 6191 2010-04-14 Anders Carlsson <andersca (a] apple.com> 6192 6193 Reviewed by Adam Roben. 6194 6195 Add "Force Repaint" to debug menu. 6196 https://bugs.webkit.org/show_bug.cgi?id=37627 6197 6198 * MiniBrowser/mac/BrowserWindowController.h: 6199 * MiniBrowser/mac/BrowserWindowController.m: 6200 (-[BrowserWindowController forceRepaint:]): 6201 * MiniBrowser/mac/English.lproj/MainMenu.xib: 6202 6203 2010-04-15 Sam Weinig <sam (a] webkit.org> 6204 6205 Reviewed by Adam Roben. 6206 6207 Add debug-minibrowser script. 6208 6209 * Scripts/debug-minibrowser: Copied from Scripts/run-minibrowser. 6210 * Scripts/webkitdirs.pm: 6211 6212 2010-04-15 Roland Steiner <rolandsteiner (a] chromium.org> 6213 6214 Reviewed by Dimitri Glazkov. 6215 6216 Bug 37636 - [DRT/Chromium] Implement DRT/Chromium for Windows 6217 https://bugs.webkit.org/show_bug.cgi?id=37636 6218 6219 Second patch: add Windows-specific implementation parts 6220 of TestShell. 6221 6222 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 6223 * DumpRenderTree/chromium/TestShell.h: 6224 (TestShell::finishedEvent): 6225 * DumpRenderTree/chromium/TestShellWin.cpp: 6226 (watchDogThread): 6227 (TestShell::waitTestFinished): 6228 6229 2010-04-15 Roland Steiner <rolandsteiner (a] chromium.org> 6230 6231 Reviewed by Dimitri Glazkov. 6232 6233 Bug 37636 - [DRT/Chromium] Implement DRT/Chromium for Windows 6234 https://bugs.webkit.org/show_bug.cgi?id=37636 6235 6236 First patch: fix compiler errors. 6237 6238 * DumpRenderTree/chromium/EventSender.cpp: 6239 (EventSender::reset): 6240 (EventSender::dispatchMessage): 6241 * DumpRenderTree/chromium/LayoutTestController.cpp: 6242 (LayoutTestController::pathToLocalResource): 6243 * DumpRenderTree/chromium/TestWebWorker.h: 6244 * DumpRenderTree/chromium/TextInputController.cpp: 6245 * DumpRenderTree/chromium/WebViewHost.h: 6246 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 6247 6248 2010-04-14 Luiz Agostini <luiz.agostini (a] openbossa.org> 6249 6250 Reviewed by Simon Hausmann. 6251 6252 [Qt] Moving setViewMode from DumpRenderTreeSupportQt to qwebpage.cpp 6253 https://bugs.webkit.org/show_bug.cgi?id=37622 6254 6255 Method qt_wrt_setViewMode was removed from qwebpage.cpp by mistake in r57433 6256 (bug 35844). Moving it back. 6257 6258 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 6259 (LayoutTestController::setViewModeMediaFeature): 6260 6261 2010-04-15 Dirk Pranke <dpranke (a] chromium.org> 6262 6263 Reviewed by Adam Barth. 6264 6265 Add some very minimal unit tests for new-run-webkit-tests. This should 6266 be enough to catch egregious brokenness like syntax errors and import 6267 declaration issues. 6268 6269 https://bugs.webkit.org/show_bug.cgi?id=37432 6270 6271 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 6272 * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: Added. 6273 6274 2010-04-14 Brian Weinstein <bweinstein (a] apple.com> 6275 6276 Reviewed by Adam Roben. 6277 6278 Add a way for the buildbot to kill any old processes that are running. This 6279 is useful because the Windows bots can get in states where a process remains 6280 running (httpd.exe, DumpRenderTree.exe), which causes the bots to get in a red 6281 state, and the processes must be killed manually. 6282 6283 * BuildSlaveSupport/build.webkit.org-config/master.cfg: If we are on Windows, kill 6284 the old processes that might be running. 6285 * BuildSlaveSupport/win/kill-old-processes: Added. 6286 6287 2010-04-14 Sam Weinig <sam (a] webkit.org> 6288 6289 Reviewed by Anders Carlsson. 6290 6291 Tear down WebKit more completely on window closing and application 6292 termination. We still don't block application termination for pending 6293 close, but this is a step in the right direction. 6294 6295 * MiniBrowser/mac/AppDelegate.m: 6296 (-[BrowserAppDelegate applicationWillTerminate:]): 6297 * MiniBrowser/mac/BrowserWindowController.h: 6298 * MiniBrowser/mac/BrowserWindowController.m: 6299 (-[BrowserWindowController dealloc]): 6300 (-[BrowserWindowController windowWillClose:]): 6301 (-[BrowserWindowController applicationTerminating]): 6302 6303 2010-04-14 Adam Barth <abarth (a] webkit.org> 6304 6305 Reviewed by Eric Seidel. 6306 6307 Use pretty patch for confirming webkit-patch diffs 6308 https://bugs.webkit.org/show_bug.cgi?id=37489 6309 6310 * Scripts/webkitpy/common/prettypatch.py: Added. 6311 * Scripts/webkitpy/tool/commands/download_unittest.py: 6312 * Scripts/webkitpy/tool/commands/upload_unittest.py: 6313 * Scripts/webkitpy/tool/mocktool.py: 6314 * Scripts/webkitpy/tool/steps/confirmdiff.py: 6315 6316 2010-04-14 Eric Seidel <eric (a] webkit.org> 6317 6318 Reviewed by Adam Barth. 6319 6320 Teach webkit-patch how to handle revisions missing ChangeLogs 6321 https://bugs.webkit.org/show_bug.cgi?id=37519 6322 6323 Make commit_info_for_revision return None when revision 6324 is missing a ChangeLog. Previously we would throw an array index 6325 exception. 6326 Teach callers how to handle None. 6327 6328 * Scripts/webkitpy/common/checkout/api.py: 6329 * Scripts/webkitpy/common/checkout/api_unittest.py: 6330 * Scripts/webkitpy/tool/commands/download.py: 6331 * Scripts/webkitpy/tool/commands/queries.py: 6332 * Scripts/webkitpy/tool/commands/sheriffbot.py: 6333 6334 2010-04-13 Eric Seidel <eric (a] webkit.org> 6335 6336 Reviewed by Adam Roben. 6337 6338 Add Qt Bot to the list of "core builders" (builders which block the commit-queue when red) 6339 https://bugs.webkit.org/show_bug.cgi?id=33297 6340 6341 This is an experiment. The bots have been green for 6342 a while. We'll see if adding them under sheriff-bot protection 6343 will keep them green. 6344 6345 * Scripts/webkitpy/common/net/buildbot.py: 6346 * Scripts/webkitpy/common/net/buildbot_unittest.py: 6347 6348 2010-04-13 Eric Seidel <eric (a] webkit.org> 6349 6350 Unreviewed, just fixing a constant in the Rietveld unit test. 6351 6352 * Scripts/webkitpy/common/net/rietveld_unittest.py 6353 6354 2010-04-13 Eric Seidel <eric (a] webkit.org> 6355 6356 Unreviewed, just adding missing Mock to fix python tests. 6357 6358 * Scripts/webkitpy/tool/mocktool.py: 6359 6360 2010-04-13 Ojan Vafai <ojan (a] chromium.org> 6361 6362 Reviewed by David Levin. 6363 6364 Add experimental prototype Rietveld integration to webkit-patch upload 6365 https://bugs.webkit.org/show_bug.cgi?id=37418 6366 6367 This patch adds bare-bones integration with Rietveld for code reviews. 6368 The behavior is hidden behind the --fancy-review command line flag. 6369 Currently, there's no support for uploading more than one patch per 6370 issue (which is a nice feature of Rietveld). The plan is to play with 6371 this for a bit and see if it's useful. 6372 6373 Modified from Adam's original patch to autoinstall the rietveld upload script. 6374 6375 * Scripts/webkitpy/common/config/__init__.py: 6376 * Scripts/webkitpy/common/net/rietveld.py: Added. 6377 * Scripts/webkitpy/common/net/rietveld_unitttest.py: Added. 6378 * Scripts/webkitpy/tool/commands/queues_unittest.py: 6379 * Scripts/webkitpy/tool/commands/upload.py: 6380 * Scripts/webkitpy/tool/commands/upload_unittest.py: 6381 * Scripts/webkitpy/tool/main.py: 6382 * Scripts/webkitpy/tool/mocktool.py: 6383 * Scripts/webkitpy/tool/steps/__init__.py: 6384 * Scripts/webkitpy/tool/steps/options.py: 6385 * Scripts/webkitpy/tool/steps/postcodereview.py: Added. 6386 * Scripts/webkitpy/tool/steps/postdiff.py: 6387 6388 2010-04-13 Sam Weinig <sam (a] webkit.org> 6389 6390 Rubber-stamped by Mark Rowe. 6391 6392 Add Makefile to MiniBrowser. 6393 6394 * MiniBrowser/Makefile: Added. 6395 6396 2010-04-13 Eric Seidel <eric (a] webkit.org> 6397 6398 Unreviewed, just adding a sanity check. 6399 6400 Add check to make sure commit-queue can never commit too short a message 6401 https://bugs.webkit.org/show_bug.cgi?id=37528 6402 6403 The commit-queue made bogus messages here: 6404 http://trac.webkit.org/changeset/57532 6405 http://trac.webkit.org/changeset/57534 6406 6407 This was a regression caused by adding unicode parsing for 6408 our ChangeLog files. Popen does not seem to play nice with 6409 unicode strings. 6410 6411 I'm also adding an "assert" to make sure short ChangeLogs never happen again. 6412 6413 * Scripts/webkitpy/common/system/executive.py: 6414 - Cast input to strings before passing to POpen 6415 * Scripts/webkitpy/tool/steps/commit.py: 6416 - Validate that commit messages are not to short. 6417 6418 2010-04-13 Adam Roben <aroben (a] apple.com> 6419 6420 Robustify new-run-webkit-tests against paths with spaces in them 6421 6422 Reviewed by Eric Seidel. 6423 6424 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: 6425 (LayoutTestApacheHttpd.__init__): Quote all paths that we pass to 6426 Apache to ensure that paths with spaces in them are interpreted 6427 correctly. 6428 6429 2010-04-13 Csaba Osztrogonc <ossy (a] webkit.org> 6430 6431 Unreviewed buildfix after r57537. 6432 6433 * DumpRenderTree/qt/LayoutTestControllerQt.h: Declaration of removeOriginAccessWhitelistEntry() added. 6434 6435 2010-04-13 Sam Weinig <sam (a] webkit.org> 6436 6437 Reviewed by Maciej Stachowiak. 6438 6439 Make building new webkit API and MiniBrowser a little easier. 6440 6441 * Scripts/build-webkit: Make building with --webkit2 build the 6442 MiniBrowser as well and tell you how to use it. 6443 * Scripts/run-minibrowser: Copied from Scripts/run-safari. 6444 * Scripts/webkitdirs.pm: Add runMiniBrowser function. 6445 6446 2010-04-12 Timothy Hatcher <timothy (a] apple.com> 6447 6448 SecurityOrigin needs a way to remove individual OriginAccessEntries 6449 https://bugs.webkit.org/show_bug.cgi?id=37449 6450 6451 Reviewed by Dave Hyatt. 6452 6453 * DumpRenderTree/LayoutTestController.cpp: 6454 (removeOriginAccessWhitelistEntryCallback): Added. Call LayoutTestController::removeOriginAccessWhitelistEntry. 6455 (LayoutTestController::staticFunctions): Added removeOriginAccessWhitelistEntry. 6456 * DumpRenderTree/LayoutTestController.h: 6457 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 6458 (LayoutTestController::removeOriginAccessWhitelistEntry): Added. FIXME to implement. 6459 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 6460 (LayoutTestController::removeOriginAccessWhitelistEntry): Added. 6461 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 6462 (LayoutTestController::removeOriginAccessWhitelistEntry): Added. FIXME to implement. 6463 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 6464 (LayoutTestController::removeOriginAccessWhitelistEntry): Added. 6465 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 6466 (LayoutTestController::whiteListAccessFromOrigin): FIXME to implement. 6467 (LayoutTestController::removeOriginAccessWhitelistEntry): Added. FIXME to implement. 6468 6469 2010-04-13 Timothy Hatcher <timothy (a] apple.com> 6470 6471 Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry. 6472 And LayoutTestController.whiteListAccessFromOrigin to addOriginAccessWhitelistEntry. 6473 And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists. 6474 6475 SecurityOrigin needs a way to remove individual OriginAccessEntries 6476 https://bugs.webkit.org/show_bug.cgi?id=37449 6477 6478 Reviewed by Dave Hyatt. 6479 6480 * DumpRenderTree/LayoutTestController.cpp: 6481 (addOriginAccessWhitelistEntryCallback): 6482 (LayoutTestController::staticFunctions): 6483 * DumpRenderTree/LayoutTestController.h: 6484 * DumpRenderTree/chromium/LayoutTestController.cpp: 6485 (LayoutTestController::LayoutTestController): 6486 (LayoutTestController::addOriginAccessWhitelistEntry): 6487 * DumpRenderTree/chromium/LayoutTestController.h: 6488 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 6489 (LayoutTestController::addOriginAccessWhitelistEntry): 6490 * DumpRenderTree/mac/DumpRenderTree.mm: 6491 (resetWebViewToConsistentStateBeforeTesting): 6492 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 6493 (LayoutTestController::addOriginAccessWhitelistEntry): 6494 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 6495 (LayoutTestController::addOriginAccessWhitelistEntry): 6496 * DumpRenderTree/qt/LayoutTestControllerQt.h: 6497 * DumpRenderTree/win/DumpRenderTree.cpp: 6498 (resetWebViewToConsistentStateBeforeTesting): 6499 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 6500 (LayoutTestController::addOriginAccessWhitelistEntry): 6501 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 6502 (LayoutTestController::addOriginAccessWhitelistEntry): 6503 6504 2010-04-13 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 6505 6506 Reviewed by Eric Seidel. 6507 6508 Remove duplicate function for new-run-webkit-tests 6509 https://bugs.webkit.org/show_bug.cgi?id=37517 6510 6511 The version() function was already implemented. 6512 6513 * Scripts/webkitpy/layout_tests/port/webkit.py: 6514 6515 2010-04-13 Eric Seidel <eric (a] webkit.org> 6516 6517 Reviewed by David Levin. 6518 6519 the commit-queue hates Tor Arne Vestb 6520 https://bugs.webkit.org/show_bug.cgi?id=37511 6521 6522 We were failing to read reviewers out of ChangeLogs 6523 when the reviewer has unicode characters in his/her name. 6524 I fixed this by explicitly decoding from utf8 every time we 6525 read in a ChangeLog file (they are always UTF8). 6526 6527 * Scripts/webkitpy/common/checkout/changelog.py: 6528 * Scripts/webkitpy/common/checkout/changelog_unittest.py: 6529 6530 2010-04-13 Adam Roben <aroben (a] apple.com> 6531 6532 Fix run-webkit-tests on Windows with spaces in the path 6533 6534 Fixes <http://webkit.org/b/37509>. 6535 6536 Reviewed by Steve Falkenburg. 6537 6538 * Scripts/run-webkit-tests: 6539 (convertPathUsingCygpath): Remove spaces from the path before passing 6540 them to cygpath, then add them back in after conversion, as some 6541 versions of cygpath seem to convert spaces into newlines. 6542 6543 2010-04-13 Adam Barth <abarth (a] webkit.org> 6544 6545 Unreviewed, but approved by Dumitru Daniliuc. (This patch is intended 6546 to fix the downstream Chromium build bots. Hopefully it will work!) 6547 6548 Add a driver script for the new websocket server 6549 https://bugs.webkit.org/show_bug.cgi?id=37495 6550 6551 websocket_server.py can't be run directly because its a module and not 6552 a standalone script. This used to work by accident because it didn't 6553 depend on any other modules. 6554 6555 * Scripts/new-run-webkit-websocketserver: Added. 6556 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 6557 6558 2010-04-12 Eric Seidel <eric (a] webkit.org> 6559 6560 Reviewed by Adam Barth. 6561 6562 Make new-run-webkit-test PrettyPatch failure reporting more awesome 6563 https://bugs.webkit.org/show_bug.cgi?id=37487 6564 6565 I also fixed an Executive/executive typo. 6566 6567 * Scripts/webkitpy/layout_tests/port/base.py: 6568 6569 2010-04-12 Eric Seidel <eric (a] webkit.org> 6570 6571 Reviewed by Adam Barth. 6572 6573 new-run-webkit-tests should only build java support files on Mac 6574 https://bugs.webkit.org/show_bug.cgi?id=37482 6575 6576 Only the mac needs java support files, so I pushed _build_java 6577 down into the Mac port using a new hook "_check_port_build". 6578 In the process I noticed a bunch of code which could be shared 6579 between all ports and thus got rid of _tests_for_disabled_features 6580 and version() copy/paste between all webkit ports. 6581 I also made check_build only bother to check for ImageDiff if we're 6582 using pixel tests. 6583 6584 * Scripts/webkitpy/layout_tests/port/gtk.py: 6585 * Scripts/webkitpy/layout_tests/port/mac.py: 6586 * Scripts/webkitpy/layout_tests/port/qt.py: 6587 * Scripts/webkitpy/layout_tests/port/webkit.py: 6588 * Scripts/webkitpy/layout_tests/port/win.py: 6589 6590 2010-04-12 Dumitru Daniliuc <dumi (a] chromium.org> 6591 6592 Unreviewed, trying to make scripts work on machines without 6593 Ruby... 6594 6595 * Scripts/webkitpy/layout_tests/port/base.py: 6596 6597 2010-04-12 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 6598 6599 Reviewed by Eric Seidel. 6600 6601 Add stub files for running new-run-webkit-tests for the Qt port 6602 6603 * Scripts/webkitpy/layout_tests/port/factory.py: 6604 * Scripts/webkitpy/layout_tests/port/qt.py: Added. 6605 6606 2010-04-12 Dirk Pranke <dpranke (a] chromium.org> 6607 6608 Reviewed by Eric Seidel. 6609 6610 Modify run_webkit_tests.py to not call sys.exit() at the end of test 6611 run; doing so makes it more difficult to embed the routine for, 6612 among other things, unit tests. We push the exit calling up into 6613 new-run-webkit-tests. 6614 6615 https://bugs.webkit.org/show_bug.cgi?id=37464 6616 6617 * Scripts/new-run-webkit-tests: 6618 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 6619 6620 2010-04-12 Eric Seidel <eric (a] webkit.org> 6621 6622 Unreviewed. 6623 6624 Add stub Gtk implementation for new-run-webkit-tests. 6625 6626 * Scripts/webkitpy/layout_tests/port/factory.py: 6627 * Scripts/webkitpy/layout_tests/port/gtk.py: Added. 6628 6629 2010-04-12 Eric Seidel <eric (a] webkit.org> 6630 6631 Reviewed by Adam Barth. 6632 6633 new-run-webkit-tests fails with exception on systems missing ruby 6634 https://bugs.webkit.org/show_bug.cgi?id=37441 6635 6636 * Scripts/webkitpy/layout_tests/port/base.py: 6637 - Catch failures similar to how wdiff code path does. 6638 - After one failure, stop trying. 6639 6640 2010-04-12 Tony Chang <tony (a] chromium.org> 6641 6642 Reviewed by Eric Seidel. 6643 6644 Fix how we import simplejson based on how it's used in this file. 6645 This fixes exceptions raised when trying to write the simplejson output. 6646 6647 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 6648 6649 2010-04-11 Chris Jerdonek <cjerdonek (a] webkit.org> 6650 6651 Reviewed by Shinichiro Hamaji. 6652 6653 Refactored check-webkit-style so that the StyleChecker class 6654 has no dependencies on patch-related concepts. 6655 6656 https://bugs.webkit.org/show_bug.cgi?id=37065 6657 6658 This patch is an intermediate step towards making the StyleChecker 6659 class a generalized file processor that can do arbitary operations 6660 on the files corresponding to a list of paths. This patch 6661 also simplifies the unit-testing of patch-checking code. 6662 6663 * Scripts/check-webkit-style: 6664 - Updated to use the new PatchChecker class. 6665 6666 * Scripts/webkitpy/style/checker.py: 6667 - Refactored the StyleChecker.check_patch() method into the 6668 check() method of a new PatchChecker class. 6669 6670 * Scripts/webkitpy/style/checker_unittest.py: 6671 - Refactored the unit tests as necessary, changing the 6672 StyleCheckerCheckPatchTest class to a PatchCheckerTest class. 6673 6674 2010-04-11 Adam Barth <abarth (a] webkit.org> 6675 6676 Unreviewed. 6677 6678 Fix new-run-webkit-tests regressions cased by Eric's option parsing patch 6679 https://bugs.webkit.org/show_bug.cgi?id=37430 6680 6681 We need some basic unit testing of this script, or we're going to keep 6682 breaking it like this. Added missing namespace qualifiers and 6683 propagated renaming of an option. 6684 6685 * Scripts/webkitpy/common/config/ports.py: 6686 * Scripts/webkitpy/layout_tests/driver_test.py: 6687 * Scripts/webkitpy/layout_tests/port/base.py: 6688 * Scripts/webkitpy/layout_tests/port/mac.py: 6689 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 6690 6691 2010-04-11 Eric Seidel <eric (a] webkit.org> 6692 6693 Reviewed by Adam Barth. 6694 6695 Break new-run-webkit-tests options into groups for easier re-use and possible relocation 6696 https://bugs.webkit.org/show_bug.cgi?id=37408 6697 6698 new-run-webkit-tests currently has one huge function for 6699 dealing with all options-parsing. 6700 This patch is a first attempt at trying to split that large 6701 function down into smaller (hopefully more readable?) chunks 6702 dealing with the different areas of options. 6703 For example, it would make sense to move configuration 6704 options off into some module which deals with the vagries of 6705 WebKit's configuration system. It would also make sense to move 6706 Chromium options off onto the Chromium port object (where they are used). 6707 It may make sense to move results.json options over to the results.json code. 6708 This change is a first iteration, and we will certainly need more 6709 refinement to this code over time. Hopefully I didn't make things 6710 harder to read here. 6711 6712 * Scripts/webkitpy/layout_tests/driver_test.py: 6713 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 6714 6715 2010-04-11 Adam Barth <abarth (a] webkit.org> 6716 6717 Reviewed by Eric Seidel. 6718 6719 create-rollout copy needs to be updated to reflect removal of --no-build 6720 https://bugs.webkit.org/show_bug.cgi?id=37425 6721 6722 Removed --no-build and --no-test from the instructions because these 6723 don't exist anymore. 6724 6725 * Scripts/webkitpy/tool/commands/download_unittest.py: 6726 - Updated the expected results to reflect the new copy. 6727 * Scripts/webkitpy/tool/steps/postdiffforrevert.py: 6728 6729 2010-04-11 Sheriff Bot <webkit.review.bot (a] gmail.com> 6730 6731 Unreviewed, rolling out r57460. 6732 http://trac.webkit.org/changeset/57460 6733 https://bugs.webkit.org/show_bug.cgi?id=37424 6734 6735 broke chromium builders (Requested by tony^work on #webkit). 6736 6737 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: 6738 6739 2010-04-11 Tony Chang <tony (a] chromium.org> 6740 6741 Reviewed by Darin Fisher. 6742 6743 [chromium] update chromium DEPS for upstream compile 6744 https://bugs.webkit.org/show_bug.cgi?id=36578 6745 6746 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Small fix to avoid a circular dependency between 6747 WebKit.gyp and webkit.gyp. 6748 6749 2010-04-11 Joseph Pecoraro <joepeck (a] webkit.org> 6750 6751 Reviewed by Eric Seidel. 6752 6753 svn-apply errors out when removing directories in git 6754 https://bugs.webkit.org/show_bug.cgi?id=34871 6755 6756 * Scripts/svn-apply: 6757 (isDirectoryEmptyForRemoval): early break if the directory doesn't exist 6758 (scmRemove): have git ignore unmatched files 6759 6760 2010-04-11 Daniel Bates <dbates (a] rim.com> 6761 6762 No review, rolling out 57440. 6763 http://trac.webkit.org/changeset/57440 6764 https://bugs.webkit.org/show_bug.cgi?id=27204 6765 6766 Did not handle Git patches that included both file and property 6767 changes to the same file. Rolling this change out while I look 6768 into this. 6769 6770 * Scripts/VCSUtils.pm: 6771 * Scripts/svn-apply: 6772 * Scripts/svn-unapply: 6773 * Scripts/webkitperl/VCSUtils_unittest/appendSVNExecutableBitChangeToPatch.pl: Removed. 6774 * Scripts/webkitperl/VCSUtils_unittest/parseGitFileMode.pl: Removed. 6775 * Scripts/webkitperl/VCSUtils_unittest/parseStartOfPatchOrPropertyChangeAndEndOfPropertyChange.pl: Removed. 6776 6777 2010-04-11 Adam Barth <abarth (a] webkit.org> 6778 6779 Reviewed by Eric Seidel. 6780 6781 Fix typo in log path for AbstractQueue 6782 https://bugs.webkit.org/show_bug.cgi?id=37414 6783 6784 * Scripts/webkitpy/tool/commands/queues.py: 6785 * Scripts/webkitpy/tool/commands/queues_unittest.py: 6786 6787 2010-04-11 Adam Barth <abarth (a] webkit.org> 6788 6789 Unreviewed. Add missing import statement. 6790 6791 * Scripts/webkitpy/common/system/executive.py: 6792 6793 2010-04-11 Robert Hogan <robert (a] webkit.org> 6794 6795 Reviewed by Simon Hausmann. 6796 6797 [Qt] Add setWillSendRequestReturnsNull and setWillSendRequestClearHeader 6798 6799 https://bugs.webkit.org/show_bug.cgi?id=37410 6800 6801 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 6802 (LayoutTestController::reset): 6803 (LayoutTestController::setWillSendRequestReturnsNull): 6804 (LayoutTestController::setWillSendRequestClearHeader): 6805 * DumpRenderTree/qt/LayoutTestControllerQt.h: 6806 6807 2010-04-11 Csaba Osztrogonc <ossy (a] webkit.org> 6808 6809 [Qt] Unreviewed buildfix for --debug build after r57433. 6810 6811 Refactor Qt DRT support in QtWebKit 6812 https://bugs.webkit.org/show_bug.cgi?id=35844 6813 6814 * QtLauncher/main.cpp: qt_drt_garbageCollector_collect(); renamed to DumpRenderTreeSupportQt::garbageCollectorCollect(); 6815 (launcherMain): 6816 6817 2010-04-11 Joseph Pecoraro <joepeck (a] webkit.org> 6818 6819 Reviewed by Mark Rowe. 6820 6821 Make commit-log-editor Rubber-stamp aware. And other minor cleanups. 6822 https://bugs.webkit.org/show_bug.cgi?id=37407 6823 6824 * Scripts/commit-log-editor: 6825 6826 2010-04-11 Eric Seidel <eric (a] webkit.org> 6827 6828 Reviewed by Adam Barth. 6829 6830 Add PrettyPatch links to new-run-webkit-tests output 6831 https://bugs.webkit.org/show_bug.cgi?id=37406 6832 6833 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: 6834 - We're leaking a file handle here, add a FIXME. 6835 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: 6836 - Add pretty diff links. 6837 * Scripts/webkitpy/layout_tests/port/base.py: 6838 - Add support for generating pretty diffs using PrettyPatch. 6839 * Scripts/webkitpy/layout_tests/port/webkit.py: 6840 - We're leaking another file handle here, another FIXME. 6841 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 6842 - Update write_output_files signature. 6843 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 6844 - Remove unused arguments from write_output_files. 6845 - Add support for dumping pretty diffs to write_output_files. 6846 - Fix a bunch of file descriptor leaks in this file. 6847 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 6848 - Update write_output_files signature. 6849 6850 2010-04-10 Adam Barth <abarth (a] webkit.org> 6851 6852 Reviewed by Eric Seidel. 6853 6854 kill_process is copy/pasted in five places 6855 https://bugs.webkit.org/show_bug.cgi?id=37405 6856 6857 We shouldn't replicate the kill_process logic in every port. Instead, 6858 we should move the process interaction to Executive. 6859 6860 Dirk mentioned that he wanted this abstraction to make it easier to 6861 mock things out for testing. It turns out this function is only used 6862 in one place where it can't be used as a mock point for testing because 6863 the corresponding create process actually creates a real process. In 6864 the long term, we should indirect both these calls through a non-static 6865 Executive as a mock point. However, we should wait on that until we 6866 actually want to write the test. 6867 6868 * Scripts/webkitpy/layout_tests/port/base.py: 6869 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 6870 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 6871 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 6872 * Scripts/webkitpy/layout_tests/port/mac.py: 6873 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 6874 * Scripts/webkitpy/layout_tests/port/win.py: 6875 6876 2010-04-10 Adam Barth <abarth (a] webkit.org> 6877 6878 Reviewed by Eric Seidel. 6879 6880 new-run-webkit-tests shouldn't alter its path to import packages 6881 https://bugs.webkit.org/show_bug.cgi?id=37404 6882 6883 * Scripts/new-run-webkit-tests: 6884 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: 6885 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 6886 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 6887 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 6888 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: 6889 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 6890 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 6891 * Scripts/webkitpy/thirdparty/simplejson/decoder.py: 6892 6893 2010-04-10 Eric Seidel <eric (a] webkit.org> 6894 6895 Reviewed by Adam Barth. 6896 6897 new-run-webkit-tests should store results to a directory under the build tree 6898 https://bugs.webkit.org/show_bug.cgi?id=37380 6899 6900 * Scripts/webkitpy/layout_tests/port/webkit.py: 6901 6902 2010-04-10 Daniel Bates <dbates (a] rim.com> 6903 6904 Reviewed by Eric Seidel. 6905 6906 https://bugs.webkit.org/show_bug.cgi?id=27204 6907 6908 Implement support for changing the executable bit of a file. 6909 The executable bit is among the most changed file properties. 6910 Future support can include other property changes. 6911 6912 Currently, if a patch changes the executable bit of a file 6913 it is not respected by svn-apply or svn-unapply. Since the 6914 commit-queue bot uses these tools as part of its workflow, 6915 such patches cannot be committed by it. That is, such patches 6916 need to be committed by hand. Instead, we should add support 6917 for the executable bit so that such patches can be committed 6918 by the commit-queue bot. 6919 6920 * Scripts/VCSUtils.pm: Also change reference to Apple Computer, Inc. 6921 in copyright to Apple, Inc. 6922 * Scripts/svn-apply: 6923 * Scripts/svn-unapply: 6924 * Scripts/webkitperl/VCSUtils_unittest/appendSVNExecutableBitChangeToPatch.pl: Added. 6925 * Scripts/webkitperl/VCSUtils_unittest/parseGitFileMode.pl: Added. 6926 * Scripts/webkitperl/VCSUtils_unittest/parseStartOfPatchOrPropertyChangeAndEndOfPropertyChange.pl: Added. 6927 6928 2010-04-10 Eric Seidel <eric (a] webkit.org> 6929 6930 Reviewed by Adam Barth. 6931 6932 WinEWS bot fails to svn update because scm.clean_working_directory leaves files around 6933 https://bugs.webkit.org/show_bug.cgi?id=37401 6934 6935 The Git-based bots don't have this trouble because 6936 Git.clean_working_directory fully removes files that were 6937 marked as "add". SVN.clean_working_directory previously just 6938 called "svn revert" which would leave added files in the 6939 working directory untracked. This patch makes 6940 SVN.clean_working_directory function more like 6941 Git.clean_working_directory by removing added files after revert. 6942 6943 * Scripts/webkitpy/common/checkout/scm.py: 6944 - Add SCM.absolute_path for easy conversion between 6945 repository-relative paths and absolute paths. 6946 - Add SCM.add and SCM.added_files 6947 - Make SVN.clean_working_directory remove any added_files after svn revert. 6948 - The new unit tests found a bug in Git.status_command, change to use git diff --name-status instead. 6949 * Scripts/webkitpy/common/checkout/scm_unittest.py: 6950 - Add tests for added code. 6951 6952 2010-04-10 Adam Barth <abarth (a] webkit.org> 6953 6954 Reviewed by Eric Seidel. 6955 6956 new-run-webkit-tests can't find ImageDiff on Windows 6957 https://bugs.webkit.org/show_bug.cgi?id=37403 6958 6959 It turns out the build directory on Windows is structured differently 6960 than it is on other platforms. Instead of assuming the normal 6961 structure, we should just ask perl to figure it out for us. 6962 6963 * Scripts/webkitpy/layout_tests/port/webkit.py: 6964 6965 2010-04-10 Adam Barth <abarth (a] webkit.org> 6966 6967 Rubber-stamped by Eric Seidel. 6968 6969 Change "Gathering files" status line to "Collecting tests". Gathering 6970 the files sounds silly to me. 6971 6972 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 6973 6974 2010-04-10 Adam Barth <abarth (a] webkit.org> 6975 6976 Reviewed by Eric Seidel. 6977 6978 Fix bugs to make new-run-webkit-tests almost run on windows 6979 https://bugs.webkit.org/show_bug.cgi?id=37400 6980 6981 Fix some minor bugs that prevent new-run-webkit-tests from being run on 6982 Windows. I still haven't run it to completion, but I'm getting 6983 further. 6984 6985 * Scripts/webkitpy/layout_tests/port/factory.py: 6986 * Scripts/webkitpy/layout_tests/port/webkit.py: 6987 6988 2010-04-10 Robert Hogan <robert (a] webkit.org> 6989 6990 Reviewed by Kenneth Rohde Christiansen. 6991 6992 Refactor Qt DRT support in QtWebKit 6993 6994 Update Qt DRT to use new DumpRenderTreeSupportQt static class. 6995 6996 https://bugs.webkit.org/show_bug.cgi?id=35844 6997 6998 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 6999 (WebCore::DumpRenderTree::DumpRenderTree): 7000 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): 7001 (WebCore::DumpRenderTree::dumpFramesAsText): 7002 * DumpRenderTree/qt/DumpRenderTreeQt.h: 7003 * DumpRenderTree/qt/GCControllerQt.cpp: 7004 (GCController::collect): 7005 (GCController::collectOnAlternateThread): 7006 (GCController::getJSObjectCount): 7007 * DumpRenderTree/qt/GCControllerQt.h: 7008 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 7009 (LayoutTestController::counterValueForElementById): 7010 (LayoutTestController::setViewModeMediaFeature): 7011 (LayoutTestController::setMediaType): 7012 (LayoutTestController::closeWebInspector): 7013 (LayoutTestController::showWebInspector): 7014 (LayoutTestController::evaluateInWebInspector): 7015 (LayoutTestController::setFrameFlatteningEnabled): 7016 (LayoutTestController::setJavaScriptProfilingEnabled): 7017 (LayoutTestController::setTimelineProfilingEnabled): 7018 (LayoutTestController::pauseAnimationAtTimeOnElementWithId): 7019 (LayoutTestController::pauseTransitionAtTimeOnElementWithId): 7020 (LayoutTestController::sampleSVGAnimationForElementAtTime): 7021 (LayoutTestController::numberOfActiveAnimations): 7022 (LayoutTestController::whiteListAccessFromOrigin): 7023 (LayoutTestController::setCaretBrowsingEnabled): 7024 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme): 7025 (LayoutTestController::workerThreadCount): 7026 (LayoutTestController::pageNumberForElementById): 7027 (LayoutTestController::numberOfPages): 7028 * DumpRenderTree/qt/LayoutTestControllerQt.h: 7029 7030 2010-04-10 Adam Barth <abarth (a] webkit.org> 7031 7032 Reviewed by Eric Seidel. 7033 7034 Move global queue log to the logs directory so it survives git clean -f 7035 https://bugs.webkit.org/show_bug.cgi?id=37395 7036 7037 * Scripts/webkitpy/tool/commands/queues.py: 7038 7039 2010-04-10 Adam Barth <abarth (a] webkit.org> 7040 7041 Reviewed by Eric Seidel. 7042 7043 SheriffBot should spam when it encounters errors 7044 https://bugs.webkit.org/show_bug.cgi?id=37329 7045 7046 We need to always update the status server so we don't get stuck in a 7047 spam loop. I tried writing a test for this change, but it kind of 7048 got out of control. We need a better way to do failure injection. 7049 7050 * Scripts/webkitpy/tool/commands/sheriffbot.py: 7051 7052 2010-04-10 Adam Barth <abarth (a] webkit.org> 7053 7054 Unreviewed attempt to fix the Chromium Mac canary. 7055 7056 * Scripts/webkitpy/common/config/ports.py: 7057 * Scripts/webkitpy/common/config/ports_unittest.py: 7058 * Scripts/webkitpy/common/system/executive.py: 7059 7060 2010-04-10 Adam Barth <abarth (a] webkit.org> 7061 7062 Unreviewed. 7063 7064 Add the Apache bits to win.py for new-run-webkit-tests 7065 https://bugs.webkit.org/show_bug.cgi?id=37397 7066 7067 I still have run this yet, but I looked around to figure out what the 7068 various paths appear to be. I'll figure out a way to remove the 7069 copy/paste code in a future patch. 7070 7071 * Scripts/webkitpy/layout_tests/port/mac.py: 7072 * Scripts/webkitpy/layout_tests/port/webkit.py: 7073 * Scripts/webkitpy/layout_tests/port/win.py: 7074 7075 2010-04-10 Adam Barth <abarth (a] webkit.org> 7076 7077 Reviewed by Eric Seidel. 7078 7079 Sketch out the win port for new-run-webkit-tests 7080 https://bugs.webkit.org/show_bug.cgi?id=37393 7081 7082 I haven't tried running this yet, but we've got to start somewhere. 7083 7084 * Scripts/webkitpy/layout_tests/port/factory.py: 7085 * Scripts/webkitpy/layout_tests/port/mac.py: 7086 * Scripts/webkitpy/layout_tests/port/webkit.py: 7087 * Scripts/webkitpy/layout_tests/port/win.py: Added. 7088 7089 2010-04-10 Ojan Vafai <ojan (a] chromium.org> 7090 7091 Reviewed by Adam Barth. 7092 7093 webkit-patch land should not build and test by default 7094 https://bugs.webkit.org/show_bug.cgi?id=33631 7095 7096 Reverse the sense of --no-build and --no-test to be --build and --test. 7097 Also, decoupled the build and test options so you can test without 7098 building. 7099 7100 (Patch manngled by Adam Barth. All bugs are his fault.) 7101 7102 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 7103 * Scripts/webkitpy/tool/commands/queues.py: 7104 * Scripts/webkitpy/tool/commands/queues_unittest.py: 7105 * Scripts/webkitpy/tool/steps/options.py: 7106 * Scripts/webkitpy/tool/steps/runtests.py: 7107 7108 2010-04-10 Adam Barth <abarth (a] webkit.org> 7109 7110 Reviewed by Eric Seidel. 7111 7112 Factor WebKitPort out of MacPort to allow for WinPort 7113 https://bugs.webkit.org/show_bug.cgi?id=37388 7114 7115 The split is a bit of a guess. We might have to adjust things once we 7116 actually have a second port to work with. 7117 7118 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: 7119 * Scripts/webkitpy/layout_tests/port/mac.py: 7120 * Scripts/webkitpy/layout_tests/port/webkit.py: Added. 7121 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 7122 7123 2010-04-10 Adam Barth <abarth (a] webkit.org> 7124 7125 Reviewed by Eric Seidel. 7126 7127 run_webkit_tests.py shouldn't have platform-specific logic 7128 https://bugs.webkit.org/show_bug.cgi?id=37387 7129 7130 Dirk Pranke pointed out that my last patch was wrong because I 7131 introduced platform-specific logic into run_webkit_tests.py, limiting 7132 the parallelism in Chromium to work around a bug in the main Mac port. 7133 7134 * Scripts/webkitpy/common/system/executive.py: 7135 - Fix a typo pointed out by Chris Jerdonek. 7136 * Scripts/webkitpy/layout_tests/port/base.py: 7137 * Scripts/webkitpy/layout_tests/port/mac.py: 7138 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 7139 7140 2010-04-10 Robert Hogan <robert (a] webkit.org> 7141 7142 Unreviewed fix to regressions in r57416. 7143 7144 [Qt] Fix regressions in http/tests/navigation from r57416 7145 7146 Reset willSendRequestReturnsNullOnRedirect after each test to 7147 prevent it leaking to subsequent tests. 7148 7149 Error pointed out by Jakub Wieczorek. 7150 7151 https://bugs.webkit.org/show_bug.cgi?id=37237 7152 7153 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 7154 (LayoutTestController::reset): 7155 7156 2010-04-11 Robert Hogan <robert (a] webkit.org> 7157 7158 Reviewed by Simon Hausmann. 7159 7160 [Qt] Update layoutTestController.DumpResourceLoadCallbacks to match other ports. 7161 7162 Add support for layoutTestController.setWillSendRequestReturnsNullOnRedirect to Qt DRT. 7163 Prevent dumping resource load callbacks once layout test has dumped. 7164 7165 https://bugs.webkit.org/show_bug.cgi?id=37237 7166 7167 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 7168 (WebCore::DumpRenderTree::dump): 7169 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 7170 (LayoutTestController::setWillSendRequestReturnsNullOnRedirect): 7171 * DumpRenderTree/qt/LayoutTestControllerQt.h: 7172 7173 2010-04-10 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 7174 7175 Reviewed by Kenneth Rohde Christiansen. 7176 7177 [Qt] Implement Desktop Notifications API for QtWebKit 7178 https://bugs.webkit.org/show_bug.cgi?id=35503 7179 7180 DRT stubs for notification. Enables to run and pass 7181 3 (currently disabled) tests. 7182 7183 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 7184 (LayoutTestController::LayoutTestController): 7185 (LayoutTestController::grantDesktopNotificationPermission): 7186 (LayoutTestController::checkDesktopNotificationPermission): 7187 * DumpRenderTree/qt/LayoutTestControllerQt.h: 7188 7189 2010-04-09 Dumitru Daniliuc <dumi (a] chromium.org> 7190 7191 Unreviewed, another change to executive.py to make it run with 7192 python 2.4. 7193 7194 * Scripts/webkitpy/common/system/executive.py: 7195 7196 2010-04-09 Dumitru Daniliuc <dumi (a] chromium.org> 7197 7198 Unreviewed, attempting to make executive.py run with python 2.4 7199 (which is still used on Chromium's Windows canary bot). 7200 7201 * Scripts/webkitpy/common/system/executive.py: 7202 7203 2010-04-09 Kevin Watters <kevinwatters (a] gmail.com> 7204 7205 Reviewed by Eric Seidel. 7206 7207 [wx] Basic implementation of SVG support for wx port. 7208 7209 * wx/build/settings.py: 7210 7211 2010-04-09 Adam Barth <abarth (a] webkit.org> 7212 7213 Reviewed by Eric Seidel. 7214 7215 Don't reinvent Executive.cpu_count for every port 7216 https://bugs.webkit.org/show_bug.cgi?id=37377 7217 7218 mac.py and chromium_mac.py had some copy/paste code. This code doesn't 7219 actually have anything to do with WebKit ports. It's really just 7220 something in the multiprocessing package. The lame bit is that package 7221 isn't available in older versions of Python, so we need to implement a 7222 fallback. However, we already have the fallback in common. We don't 7223 need to reinvent it specificly for layout_tests. 7224 7225 * Scripts/webkitpy/common/system/executive.py: 7226 * Scripts/webkitpy/layout_tests/port/base.py: 7227 * Scripts/webkitpy/layout_tests/port/chromium.py: 7228 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 7229 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 7230 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 7231 * Scripts/webkitpy/layout_tests/port/mac.py: 7232 * Scripts/webkitpy/layout_tests/port/test.py: 7233 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 7234 7235 2010-04-09 Adam Barth <abarth (a] webkit.org> 7236 7237 Reviewed by Eric Seidel. 7238 7239 new-run-webkit-tests --release fails to build release DRT when global configuration is Debug 7240 https://bugs.webkit.org/show_bug.cgi?id=37376 7241 7242 We need to explicitly pass the --release flag. I bet there are more 7243 instances of this bug. 7244 7245 * Scripts/webkitpy/layout_tests/port/base.py: 7246 * Scripts/webkitpy/layout_tests/port/mac.py: 7247 7248 2010-04-09 Tony Chang <tony (a] chromium.org> 7249 7250 Reviewed by Eric Seidel. 7251 7252 [chromium] DRT compile fix on win/linux 7253 https://bugs.webkit.org/show_bug.cgi?id=37314 7254 7255 Looks like this was missed when upstreaming. 7256 7257 * DumpRenderTree/chromium/EventSender.cpp: 7258 (applyKeyModifier): 7259 7260 2010-04-09 Adam Barth <abarth (a] webkit.org> 7261 7262 Unreviewed, but approved by Dirk Pranke. 7263 7264 rename test_expectations_test.py to test_expectations_unittest.py so it actually gets run 7265 https://bugs.webkit.org/show_bug.cgi?id=37372 7266 7267 We need to end unit tests with _unittest.py for them to be autodetected 7268 by the test harness. +6 tests. 7269 7270 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/test_expectations_test.py. 7271 7272 2010-04-09 Adam Barth <abarth (a] webkit.org> 7273 7274 Reviewed by Eric Seidel. 7275 7276 new-run-webkit-tests should talk about DumpRenderTree not test_shell 7277 https://bugs.webkit.org/show_bug.cgi?id=37371 7278 7279 test_shell is some strange Chromium thing. 7280 DumpRenderTree (tm) is the real deal. 7281 7282 * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: Added. 7283 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 7284 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: 7285 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: Removed. 7286 * Scripts/webkitpy/layout_tests/port/chromium.py: 7287 * Scripts/webkitpy/layout_tests/port/server_process.py: 7288 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 7289 7290 2010-04-09 Zoltan Horvath <zoltan (a] webkit.org> 7291 7292 Reviewed by Alexey Proskuryakov. 7293 7294 Fix 2 issues (what were introduced in r56524) in svn-create-patch's generateDiff() 7295 https://bugs.webkit.org/show_bug.cgi?id=32582 7296 7297 Add missing return variable. Initialize $patch variable and remove unnecessary condition. 7298 7299 * Scripts/svn-create-patch: 7300 7301 2010-04-09 Kevin Ollivier <kevino (a] theolliviers.com> 7302 7303 [wx] Build fix after addition of LayoutTestController method. 7304 7305 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 7306 (LayoutTestController::computedStyleIncludingVisitedInfo): 7307 7308 2010-04-09 Sam Weinig <sam (a] webkit.org> 7309 7310 Reviewed by Anders Carlsson. 7311 7312 Fix for https://bugs.webkit.org/show_bug.cgi?id=37368 7313 Add MiniBrowser. 7314 7315 * MiniBrowser: Added. 7316 * MiniBrowser/MiniBrowser.vcproj: Added. 7317 * MiniBrowser/MiniBrowser.xcodeproj: Added. 7318 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Added. 7319 * MiniBrowser/mac: Added. 7320 * MiniBrowser/mac/AppDelegate.h: Added. 7321 * MiniBrowser/mac/AppDelegate.m: Added. 7322 * MiniBrowser/mac/BrowserWindowController.h: Added. 7323 * MiniBrowser/mac/BrowserWindowController.m: Added. 7324 * MiniBrowser/mac/English.lproj: Added. 7325 * MiniBrowser/mac/English.lproj/BrowserWindow.xib: Added. 7326 * MiniBrowser/mac/English.lproj/InfoPlist.strings: Added. 7327 * MiniBrowser/mac/English.lproj/MainMenu.xib: Added. 7328 * MiniBrowser/mac/MiniBrowser-Info.plist: Added. 7329 * MiniBrowser/mac/MiniBrowser_Prefix.pch: Added. 7330 * MiniBrowser/mac/main.m: Added. 7331 * MiniBrowser/win: Added. 7332 * MiniBrowser/win/BrowserView.cpp: Added. 7333 * MiniBrowser/win/BrowserView.h: Added. 7334 * MiniBrowser/win/BrowserWindow.cpp: Added. 7335 * MiniBrowser/win/BrowserWindow.h: Added. 7336 * MiniBrowser/win/MiniBrowser.cpp: Added. 7337 * MiniBrowser/win/MiniBrowser.h: Added. 7338 * MiniBrowser/win/MiniBrowser.rc: Added. 7339 * MiniBrowser/win/Resources: Added. 7340 * MiniBrowser/win/main.cpp: Added. 7341 * MiniBrowser/win/resource.h: Added. 7342 * MiniBrowser/win/stdafx.cpp: Added. 7343 * MiniBrowser/win/stdafx.h: Added. 7344 7345 2010-04-09 Eric Seidel <eric (a] webkit.org> 7346 7347 Reviewed by Adam Barth. 7348 7349 webkit-patch attached my patch to the wrong bug 7350 https://bugs.webkit.org/show_bug.cgi?id=37015 7351 7352 The problem here is that SVN was violating SCM's implicit 7353 contract of always returning paths relative to the repository root. 7354 That can easily be fixed by telling SVN that the CWD is the repository root. 7355 7356 When fixing this I realized there are a large number of places in SCM.py where 7357 we want to consider explicitly passing self.checkout_root as the CWD. 7358 That would allow scm methods to be executed even when the CWD is not inside 7359 the scm tree at all, and would also make sure (in the case of SVN) that paths 7360 returned are relative to the root. Git (almost always) returns paths relative 7361 to the repository root. 7362 7363 * Scripts/webkitpy/common/checkout/scm.py: 7364 - Explicitly pass self.checkout_root as cwd in run_status_and_extract_filenames 7365 - Add a ton of FIXMEs about the need to go back and decide which methods require cwd=self.checkout_root 7366 and which do not. We'll probably add a helper function to scm (likely SCM._run) which 7367 always passes cwd=self.checkout_root to Executive.run_command 7368 * Scripts/webkitpy/common/checkout/scm_unittest.py: 7369 - Add a test for this change. 7370 * Scripts/webkitpy/tool/commands/upload.py: 7371 - Removed the explicit os.chdir to the repository root, since scm.py methods 7372 should be robust against the cwd not being equal to the root. 7373 7374 2010-04-09 Adam Roben <aroben (a] apple.com> 7375 7376 Don't return 0 as a JSValueRef 7377 7378 That is an illegal use of the JSC API. 7379 7380 Fixes <http://webkit.org/b/37333> REGRESSION (r57292): :visited tests 7381 are asserting on debug Windows and GTK builds 7382 7383 Reviewed by Anders Carlsson. 7384 7385 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 7386 (LayoutTestController::computedStyleIncludingVisitedInfo): 7387 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 7388 (LayoutTestController::computedStyleIncludingVisitedInfo): 7389 Return an "undefined" JSValueRef instead of 0. 7390 7391 2010-04-09 Csaba Osztrogonc <ossy (a] webkit.org> 7392 7393 Reviewed by Eric Seidel. 7394 7395 Make DumpRenderTree parallelizable 7396 https://bugs.webkit.org/show_bug.cgi?id=36899 7397 7398 * DumpRenderTree/mac/DumpRenderTree.mm: 7399 (libraryPathForDumpRenderTree): Use DUMPRENDERTREE_TEMP if exist. 7400 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 7401 (WebCore::DumpRenderTree::DumpRenderTree): Use DUMPRENDERTREE_TEMP if exist. 7402 * Scripts/run-webkit-tests: 7403 - Create a unique temporary directory and pass its path to 7404 DumpRenderTree with DUMPRENDERTREE_TEMP environment variable. 7405 7406 2010-04-09 Mark Rowe <mrowe (a] apple.com> 7407 7408 Reviewed by Oliver Hunt. 7409 7410 <http://webkit.org/b/37326> IDL files are being copied in to the WebCore framework again 7411 7412 Add a script to detect the presence of inappropriate files in the frameworks. At present 7413 it only looks for .css, .idl and .in files in the top level of WebCore.framework/Resources, 7414 as these are the only cases we've encountered recently. It can be extended to check the 7415 other frameworks or for other inappropriate files in the future. 7416 7417 * Scripts/check-for-inappropriate-files-in-framework: Added. 7418 7419 2010-04-08 Sam Weinig <sam (a] webkit.org> 7420 7421 Reviewed by Darin Adler. 7422 7423 Add option to build WebKit2 to build-webkit. 7424 7425 * Scripts/build-webkit: 7426 7427 2010-04-08 Darin Adler <darin (a] apple.com> 7428 7429 Reviewed by Alexey Proskuryakov. 7430 7431 run-webkit-tests should respect argument order 7432 https://bugs.webkit.org/show_bug.cgi?id=37257 7433 7434 * Scripts/run-webkit-tests: Changed so that sorting is done only 7435 on the results of iterating directories. Test order is based on 7436 what's passed on the command line. Removed code that aimed to 7437 eliminate duplicates since it can be useful to run the same test 7438 more than once. 7439 7440 2010-04-07 David Hyatt <hyatt (a] apple.com> 7441 7442 Reviewed by Oliver Hunt. 7443 7444 https://bugs.webkit.org/show_bug.cgi?id=24300, don't expose history info via CSS. Add a new method for 7445 obtaining computed style with :visited info included. This allows layout tests to actually tell that 7446 :visited is in effect. 7447 7448 * DumpRenderTree/LayoutTestController.cpp: 7449 (computedStyleIncludingVisitedInfoCallback): 7450 (LayoutTestController::staticFunctions): 7451 * DumpRenderTree/LayoutTestController.h: 7452 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 7453 (LayoutTestController::computedStyleIncludingVisitedInfo): 7454 7455 2010-04-07 Dirk Pranke <dpranke (a] chromium.org> 7456 7457 Reviewed by Adam Barth. 7458 7459 Enable rebaseline-chromium-webkit-tests to run from a webkit-only 7460 checkout (i.e., you don't need anything from the Chromium tree checked 7461 out). This requires us to introduce the concept of a "target" 7462 port/platform that we use to get configuration information from as well 7463 as the "running" port that we use to make directories and diff images 7464 and the "rebaselining" port we use to actually manage baselines. 7465 7466 https://bugs.webkit.org/show_bug.cgi?id=37238 7467 7468 * Scripts/webkitpy/layout_tests/port/mac.py: 7469 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 7470 7471 2010-04-05 Antonio Gomes <tonikitoo (a] webkit.org> 7472 7473 Reviewed by Simon Hausmann. 7474 7475 [Qt] REGRESSION:(r50665) QWebFrame::setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff) has no effect. 7476 https://bugs.webkit.org/show_bug.cgi?id=29431 7477 7478 Added stubs for Mac, win, gtk and wx DRTs to implement setScrollbarPolicy method. 7479 7480 * DumpRenderTree/LayoutTestController.cpp: 7481 (setScrollbarPolicyCallback): 7482 (LayoutTestController::staticFunctions): 7483 * DumpRenderTree/LayoutTestController.h: 7484 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 7485 (LayoutTestController::setScrollbarPolicy): 7486 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 7487 (LayoutTestController::setScrollbarPolicy): 7488 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 7489 (LayoutTestController::setScrollbarPolicy): 7490 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 7491 (LayoutTestController::setScrollbarPolicy): 7492 7493 2010-04-01 Antonio Gomes <tonikitoo (a] webkit.org> 7494 7495 Reviewed by David Hyatt. 7496 7497 [Qt] REGRESSION:(r50665) QWebFrame::setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff) has no effect. 7498 https://bugs.webkit.org/show_bug.cgi?id=29431 7499 7500 Make possible to DRT to set scrollbar policies (on, off or auto). 7501 7502 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 7503 (LayoutTestController::setScrollbarPolicy): 7504 * DumpRenderTree/qt/LayoutTestControllerQt.h: 7505 * QtLauncher/main.cpp: 7506 (LauncherWindow::toggleScrollbars): 7507 (LauncherWindow::createChrome): 7508 7509 2010-04-08 Adam Barth <abarth (a] webkit.org> 7510 7511 Reviewed by Eric Seidel. 7512 7513 new-run-webkit-tests should give a percent complete indication 7514 https://bugs.webkit.org/show_bug.cgi?id=37258 7515 7516 Because it's awesome. 7517 7518 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 7519 7520 2010-04-08 Adam Barth <abarth (a] webkit.org> 7521 7522 Unreviewed. 7523 7524 Add back the --target option because it's needed by the downstream 7525 Chromium bots. 7526 7527 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 7528 7529 2010-04-08 Adam Barth <abarth (a] webkit.org> 7530 7531 Reviewed by Eric Seidel. 7532 7533 new-run-webkit-tests should understand set-webkit-configuration 7534 https://bugs.webkit.org/show_bug.cgi?id=37252 7535 7536 * Scripts/webkitpy/layout_tests/port/base.py: 7537 * Scripts/webkitpy/layout_tests/port/mac.py: 7538 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 7539 7540 2010-04-08 Adam Barth <abarth (a] webkit.org> 7541 7542 Reviewed by Eric Seidel. 7543 7544 Rename target to configuration in new-run-webkit-tests to match the rest of WebKit 7545 https://bugs.webkit.org/show_bug.cgi?id=37251 7546 7547 The rest of our tools call --debug or --release the configuration. 7548 It's confusing to call it target in this script. 7549 7550 * Scripts/webkitpy/layout_tests/driver_test.py: 7551 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: 7552 * Scripts/webkitpy/layout_tests/port/base.py: 7553 * Scripts/webkitpy/layout_tests/port/chromium.py: 7554 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 7555 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 7556 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 7557 * Scripts/webkitpy/layout_tests/port/mac.py: 7558 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 7559 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 7560 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: 7561 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 7562 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 7563 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 7564 7565 2010-04-07 Adam Barth <abarth (a] webkit.org> 7566 7567 Reviewed by Eric Seidel. 7568 7569 Remove depricated op.popen2 call in new-run-webkit-tests 7570 https://bugs.webkit.org/show_bug.cgi?id=37249 7571 7572 Python complains that this API is depricated. We already solved this 7573 problem in executive.py. 7574 7575 * Scripts/webkitpy/layout_tests/port/mac.py: 7576 7577 2010-04-07 Eric Seidel <eric (a] webkit.org> 7578 7579 Reviewed by Adam Barth. 7580 7581 new-run-webkit-tests crashes when run on a 64-bit machine 7582 https://bugs.webkit.org/show_bug.cgi?id=37248 7583 7584 * Scripts/webkitpy/layout_tests/port/mac.py: 7585 - The code was trying to always run the 32-bit intel version 7586 of the DumpRenderTree binary. DRT does not build 32-bit on 64-bit 7587 machines so that makes no sense. This may have made sense for test_shell 7588 at some point, but I think we should just remove this for DRT. 7589 7590 2010-04-07 Eric Seidel <eric (a] webkit.org> 7591 7592 Reviewed by Adam Barth. 7593 7594 WebKit Apache configs only listen on IPv4 addresses, causing random timeouts 7595 https://bugs.webkit.org/show_bug.cgi?id=37104 7596 7597 Add warnings that the partial support for specifying what port numbers 7598 apache should bind to is even more broken after this fix. 7599 7600 * Scripts/run-webkit-httpd: 7601 * Scripts/run-webkit-tests: 7602 7603 2010-04-07 Shinichiro Hamaji <hamaji (a] chromium.org> 7604 7605 Reviewed by Darin Adler. 7606 7607 LayoutTestController::m_handlesAuthenticationChallenges isn't initialized 7608 https://bugs.webkit.org/show_bug.cgi?id=37190 7609 7610 * DumpRenderTree/LayoutTestController.cpp: 7611 (LayoutTestController::LayoutTestController): 7612 7613 2010-03-31 Eric Seidel <eric (a] webkit.org> 7614 7615 Reviewed by Adam Barth. 7616 7617 Add webkit-patch command to crawl buildbot history and find when tests 7618 started to fail. 7619 https://bugs.webkit.org/show_bug.cgi?id=36911 7620 7621 This is a very bare-bones implementation, which works, but isn't pretty. 7622 We will need further re-factoring and improvement to this code, but 7623 after long discussions with Adam, I think it's best that we land this 7624 and iterate from there. 7625 7626 * Scripts/webkitpy/common/net/buildbot.py: 7627 - Add revision_build_pairs_with_results for cleaner code and possible 7628 optimization of this command. 7629 - Return None if a build number can't be found for a revision in 7630 build_for_revision 7631 - Separate out suspect_revisions_for_transition for re-use by 7632 FailureReason 7633 - Add LayoutTestResults.failing_tests() and make our parsing code 7634 explict about what tables it accepts. 7635 * Scripts/webkitpy/tool/commands/queries.py: 7636 - Move _print_blame_information_for_commit out of WhatBroke for re-use 7637 by FailureReason. 7638 - Add FailureReason command which can crawl a given builder and explain 7639 why it is currently red on a per-test basis. 7640 7641 2010-04-06 Kent Tamura <tkent (a] chromium.org> 7642 7643 Reviewed by Dimitri Glazkov. 7644 7645 [DRT/Chromium] Add DumpRenderTree.gyp, and some small fixes 7646 https://bugs.webkit.org/show_bug.cgi?id=37137 7647 7648 - Add DumpRenderTree.gyp 7649 - Remove some dependencies to base/string_util.h, 7650 base/compiler_specific.h, base/file_path.h, base/file_util.h, 7651 base/message_loop.h, base/sys_string_conversions.h, 7652 7653 * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Added. 7654 * DumpRenderTree/chromium/CppVariant.cpp: 7655 (CppVariant::toStringVector): 7656 * DumpRenderTree/chromium/EventSender.cpp: 7657 (EventSender::EventSender): 7658 (EventSender::keyDown): 7659 (EventSender::scheduleAsynchronousClick): 7660 (EventSender::beginDragWithFiles): 7661 * DumpRenderTree/chromium/LayoutTestController.cpp: 7662 (LayoutTestController::setUserStyleSheetLocation): 7663 (LayoutTestController::pathToLocalResource): 7664 * DumpRenderTree/chromium/TextInputController.cpp: 7665 (TextInputController::markedRange): 7666 (TextInputController::selectedRange): 7667 7668 2010-04-06 Dirk Pranke <dpranke (a] chromium.org> 7669 7670 Reviewed by Eric Seidel. 7671 7672 Write stack traces into the results directory for new-run-webkit-tests, 7673 instead of writing them alongside the test file. 7674 7675 https://bugs.webkit.org/show_bug.cgi?id=36504 7676 7677 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: 7678 7679 2010-04-06 Dirk Pranke <dpranke (a] chromium.org> 7680 7681 Unreviewed build fix. 7682 7683 Enable pixel tests by default in new-run-webkit-tests unless 7684 explicitly set by the port or by the command line. This was broken in 7685 the fix for bug 36801 (rev. 57173). 7686 7687 https://bugs.webkit.org/show_bug.cgi?id=37184 7688 7689 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 7690 7691 2010-04-06 Dirk Pranke <dpranke (a] chromium.org> 7692 7693 Reviewed by Eric Seidel. 7694 7695 Disable pixel tests on the mac port by default. 7696 7697 Also, revamp the way we check for pixel tests being enabled or 7698 disabled. We now look for options.pixel_tests instead of 7699 options.no_pixel_tests, and we have the "--pixel-tests" (force enable) 7700 and "--no-pixel-tests" (force disable) flags. 7701 7702 https://bugs.webkit.org/show_bug.cgi?id=36801 7703 7704 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 7705 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_test.py: 7706 * Scripts/webkitpy/layout_tests/port/chromium.py: 7707 * Scripts/webkitpy/layout_tests/port/mac.py: 7708 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 7709 7710 2010-04-06 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 7711 7712 Reviewed by Laszlo Gombos. 7713 7714 [Qt] Added the iPhone and iPad latest user agent in QtLauncher UA switcher 7715 https://bugs.webkit.org/show_bug.cgi?id=37159 7716 7717 * QtLauncher/useragentlist.txt: 7718 7719 2010-04-06 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 7720 7721 Reviewed by Kenneth Rohde Christiansen. 7722 7723 [Qt] Add current user-agent string for Symbian for QtLauncher 7724 https://bugs.webkit.org/show_bug.cgi?id=37131 7725 7726 * QtLauncher/useragentlist.txt: 7727 7728 2010-04-06 Adam Barth <abarth (a] webkit.org> 7729 7730 Reviewed by Eric Seidel. 7731 7732 Explain how to handle rollout patches 7733 https://bugs.webkit.org/show_bug.cgi?id=37139 7734 7735 We need to set expectations for how long landing rollout patches with 7736 the commit-queue takes. The commit-queue is optimized for safety, not 7737 performance. Also, give folks an alternative way to land patches 7738 quickly. 7739 7740 In addition, improve our testing of add_patch_to_bug by having 7741 MockBugzilla log. This caused me to tighten a bunch of tests and 7742 notice that one of our tests wasn't being run. 7743 7744 * Scripts/webkitpy/tool/commands/download_unittest.py: 7745 * Scripts/webkitpy/tool/commands/upload_unittest.py: 7746 * Scripts/webkitpy/tool/mocktool.py: 7747 * Scripts/webkitpy/tool/steps/postdiffforrevert.py: 7748 7749 2010-04-06 Adam Barth <abarth (a] webkit.org> 7750 7751 Reviewed by Eric Seidel. 7752 7753 Turns out commit_info.committer() can be None 7754 https://bugs.webkit.org/show_bug.cgi?id=37106 7755 7756 When the committer isn't in committers.py, the committer() property on 7757 commit_info can be None. We need to handle that case gracefully. 7758 7759 * Scripts/webkitpy/common/checkout/commitinfo.py: 7760 * Scripts/webkitpy/tool/bot/sheriff.py: 7761 * Scripts/webkitpy/tool/bot/sheriff_unittest.py: 7762 * Scripts/webkitpy/tool/commands/queries.py: 7763 7764 2010-04-06 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 7765 7766 Reviewed by Kenneth Rohde Christiansen. 7767 7768 [Qt] [Symbian] Build fix for Dumprendertree if Qt printing is not supported 7769 https://bugs.webkit.org/show_bug.cgi?id=37082 7770 7771 Use the QT_NO_PRINTER guard to flag QPrinter dependent code. 7772 7773 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 7774 (WebCore::DumpRenderTree::dryRunPrint): 7775 7776 2010-04-05 Adam Barth <abarth (a] webkit.org> 7777 7778 Reviewed by Eric Seidel. 7779 7780 SheriffBot should force_build builders that are idle and have failed exactly once 7781 https://bugs.webkit.org/show_bug.cgi?id=37059 7782 7783 We can get into a deadlocked state where the commit-queue is stopped 7784 because the builders are red but the SheriffBot hasn't taken action 7785 because the builder has failed only once. The SheriffBot should force 7786 build idle builders that have failed exactly once to either turn the 7787 tree green again (if the test was flaky) or trigger the "failed twice" 7788 remedies (IRC and bug posts). 7789 7790 * Scripts/webkitpy/common/net/buildbot.py: 7791 * Scripts/webkitpy/tool/bot/sheriff.py: 7792 * Scripts/webkitpy/tool/bot/sheriff_unittest.py: 7793 * Scripts/webkitpy/tool/commands/sheriffbot.py: 7794 * Scripts/webkitpy/tool/mocktool.py: 7795 7796 2010-04-05 Chris Jerdonek <cjerdonek (a] webkit.org> 7797 7798 Reviewed by Shinichiro Hamaji. 7799 7800 Fixed check-webkit-style issue where the script was prematurely 7801 exiting when encountering deleted files in patches. 7802 7803 https://bugs.webkit.org/show_bug.cgi?id=37122 7804 7805 * Scripts/webkitpy/style/checker.py: 7806 - Changed non-existent file message from ERROR to WARN. 7807 - StyleChecker.check_file() no longer raises an exception when 7808 a file is not found. 7809 7810 * Scripts/webkitpy/style/checker_unittest.py: 7811 - Updated unit tests as necessary. 7812 7813 2010-04-05 Adam Barth <abarth (a] webkit.org> 7814 7815 Reviewed by Eric Seidel. 7816 7817 SheriffBot should include blamelist when posting to bugs 7818 https://bugs.webkit.org/show_bug.cgi?id=37113 7819 7820 When posting on bugs, we should include the full list of SVN revisions 7821 that caused the regression to folks have a better sense of whether they 7822 are to blame. 7823 7824 * Scripts/webkitpy/tool/bot/sheriff.py: 7825 * Scripts/webkitpy/tool/bot/sheriff_unittest.py: 7826 * Scripts/webkitpy/tool/commands/sheriffbot.py: 7827 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 7828 * Scripts/webkitpy/tool/commands/upload_unittest.py: 7829 * Scripts/webkitpy/tool/mocktool.py: 7830 7831 2010-04-05 Chris Jerdonek <cjerdonek (a] webkit.org> 7832 7833 Unreviewed after discussion with Adam, Darin, and Eric. 7834 7835 Deleted the auto-install directory since it is no longer needed in 7836 source control (it is auto-generated). 7837 7838 Also added webkitpy/thirdparty/autoinstalled to webkitpy/thirdparty's 7839 svn:ignore property. 7840 7841 * Scripts/webkitpy/thirdparty/autoinstalled: Removed. 7842 7843 2010-04-05 Mark Rowe <mrowe (a] apple.com> 7844 7845 Reviewed by Adele Peterson. 7846 7847 Test case for <http://webkit.org/b/37115> / <rdar://problem/7829331>. 7848 REGRESSION(r56989): Crash in Mail in WebCore::Position::isCandidate when deleting block using block deletion UI 7849 7850 Add a JavaScript hook in DRT to call through to WebView's -setEditable:. This is required in order to reproduce 7851 the crash. 7852 7853 * DumpRenderTree/LayoutTestController.cpp: 7854 (setWebViewEditableCallback): 7855 (LayoutTestController::staticFunctions): 7856 * DumpRenderTree/LayoutTestController.h: 7857 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 7858 (LayoutTestController::setWebViewEditable): 7859 * DumpRenderTree/mac/DumpRenderTree.mm: 7860 (resetWebViewToConsistentStateBeforeTesting): 7861 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 7862 (LayoutTestController::setWebViewEditable): 7863 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 7864 (LayoutTestController::setWebViewEditable): 7865 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 7866 (LayoutTestController::setWebViewEditable): 7867 (LayoutTestController::layerTreeAsText): 7868 7869 2010-04-05 Darin Adler <darin (a] apple.com> 7870 7871 Ignore more files the Python tools strew about the working directory. 7872 7873 * Scripts/webkitpy: Added property svn:ignore. 7874 * Scripts/webkitpy/common: Added property svn:ignore. 7875 * Scripts/webkitpy/common/checkout: Added property svn:ignore. 7876 * Scripts/webkitpy/common/config: Added property svn:ignore. 7877 * Scripts/webkitpy/common/net: Added property svn:ignore. 7878 * Scripts/webkitpy/common/thread: Added property svn:ignore. 7879 * Scripts/webkitpy/python24: Added property svn:ignore. 7880 * Scripts/webkitpy/thirdparty/autoinstalled: Modified property svn:ignore. 7881 * Scripts/webkitpy/tool/bot: Added property svn:ignore. 7882 7883 2010-04-05 Adam Barth <abarth (a] webkit.org> 7884 7885 Unreviewed. Add Vitaly Repeshko as a committer. 7886 7887 * Scripts/webkitpy/common/config/committers.py: 7888 7889 2010-04-05 Adam Barth <abarth (a] webkit.org> 7890 7891 Unreviewed. Update kenne's IRC nick to his registered nick. 7892 7893 * Scripts/webkitpy/common/config/committers.py: 7894 7895 2010-04-05 Ojan Vafai <ojan (a] chromium.org> 7896 7897 Reviewed by Eric Seidel. 7898 7899 assorted helper functions and cleanup of git utilities 7900 https://bugs.webkit.org/show_bug.cgi?id=37103 7901 7902 * Scripts/webkitpy/common/checkout/scm.py: 7903 No code currently uses the optional dry_run argument. So removing it. 7904 Change all uses of "trunk" to read the correct value out of the git config. 7905 Made the dcommit call actually get called when dry_run==true. 7906 * Scripts/webkitpy/common/checkout/scm_unittest.py: 7907 * Scripts/webkitpy/common/net/credentials.py: 7908 Move the git config call into scm. 7909 * Scripts/webkitpy/common/net/credentials_unittest.py: 7910 * Scripts/webkitpy/common/system/executive.py: 7911 If return_exit_code==true, don't error out, just return the exit_code. 7912 7913 2010-04-05 Ojan Vafai <ojan (a] chromium.org> 7914 7915 Reviewed by Eric Seidel. 7916 7917 prepare-ChangeLog should take a merge-base for which git branch to diff against. 7918 https://bugs.webkit.org/show_bug.cgi?id=36394 7919 7920 * Scripts/prepare-ChangeLog: 7921 7922 2010-04-05 Chris Jerdonek <cjerdonek (a] webkit.org> 7923 7924 Reviewed by Shinichiro Hamaji. 7925 7926 Removed the PatchStyleErrorHandler class and incorporated its 7927 functionality into the DefaultStyleErrorHandler class. 7928 7929 https://bugs.webkit.org/show_bug.cgi?id=37067 7930 7931 * Scripts/webkitpy/style/checker.py: 7932 - In the StyleChecker class: 7933 - Added a line_number parameter to the check_file() method. 7934 - Renamed the handle_style_error parameter to 7935 mock_handle_style_error to be consistent with the other mock_* 7936 parameter names. 7937 - Added a mock_check_file parameter to the check_patch() method 7938 to facilitate unit testing the changes in this patch. 7939 - Rewrote the check_patch() method with the patch-parsing logic 7940 taken from the PatchStyleErrorHandler class. 7941 7942 * Scripts/webkitpy/style/checker_unittest.py: 7943 - Added a StyleCheckerCheckFileBase class and sub-classed the 7944 existing StyleCheckerCheckFileTest class from it. 7945 - Added a StyleCheckerCheckPatchTest class to unit-test the 7946 rewritten check_patch() method. 7947 - Removed the vestigial __main__ code at the bottom of the file. 7948 This is left over from when check-webkit-style was implemented 7949 as a module and a wrapper module. 7950 7951 * Scripts/webkitpy/style/error_handlers.py: 7952 - Added an optional line_numbers parameter to the 7953 DefaultStyleErrorHandler class constructor and adjusted the 7954 __call__() method as necessary. 7955 - Removed the PatchStyleErrorHandler class. 7956 7957 * Scripts/webkitpy/style/error_handlers_unittest.py: 7958 - Removed the PatchStyleErrorHandlerTest class which unit-tested 7959 the PatchStyleErrorHandler class which is being removed in this 7960 patch. 7961 - Added a test_line_numbers() test method to the 7962 DefaultStyleErrorHandlerTest class to test use of the 7963 DefaultStyleErrorHandler's new line_numbers attribute. 7964 7965 2010-04-05 Adam Barth <abarth (a] webkit.org> 7966 7967 Unreviewed. 7968 7969 Tighten SheriffBot's flaky test detector 7970 https://bugs.webkit.org/show_bug.cgi?id=37063 7971 7972 Instead of just looking for two sequential red builds, look for two 7973 sequential failures of the same test. This should reduce sheriffbot 7974 false positive substantially. 7975 7976 I'm landing this change unreviewed because I've noticed SheriffBot 7977 triggering a lot more false positives now that we've expanded the set 7978 of core builders. I've tried to take Eric's comments on Bug 37063 into 7979 account. I'm happy to iterate on this patch tomorrow once Eric wakes 7980 up. 7981 7982 * Scripts/webkitpy/common/net/buildbot.py: 7983 * Scripts/webkitpy/common/net/buildbot_unittest.py: 7984 * Scripts/webkitpy/tool/commands/queries.py: 7985 7986 2010-04-04 John Gregg <johnnyg (a] google.com> 7987 7988 Unreviewed, add myself to the committers list. 7989 7990 * Scripts/webkitpy/common/config/committers.py: 7991 7992 2010-04-04 Robert Hogan <robert (a] webkit.org> 7993 7994 Unreviewed, add myself to the committers list. 7995 7996 * Scripts/webkitpy/common/config/committers.py: 7997 7998 2010-04-04 Dumitru Daniliuc <dumi (a] chromium.org> 7999 8000 Unreviewed, adding my IRC nickname to committers.py 8001 8002 * Scripts/webkitpy/common/config/committers.py: 8003 8004 2010-04-04 Chris Jerdonek <cjerdonek (a] webkit.org> 8005 8006 Reviewed by Shinichiro Hamaji. 8007 8008 Refactored check-webkit-style's option-parsing code. 8009 8010 https://bugs.webkit.org/show_bug.cgi?id=37064 8011 8012 * Scripts/check-webkit-style: 8013 - Moved the "WebKit checkout not found" check from 8014 ArgumentParser.parse() to the calling code. 8015 - Moved the --git-commit argument validation from the calling 8016 code to ArgumentParser.parse(). 8017 8018 * Scripts/webkitpy/style/checker_unittest.py: 8019 - Updated a unit test as necessary. 8020 8021 * Scripts/webkitpy/style/optparser.py: 8022 - Renamed ArgumentParser._exit_with_help() to _parse_error() 8023 and made its error_message parameter required. 8024 - Removed the found_checkout parameter from ArgumentParser.parse(). 8025 - Removed the "WebKit checkout not found" check and moved it 8026 to the calling code. 8027 - Added --git-commit argument checking. 8028 8029 * Scripts/webkitpy/style/optparser_unittest.py: 8030 - Adjusted the import statements to be fully qualified. 8031 - Changed the ArgumentParserTest class to inherit from 8032 LoggingTestCase, and updated the class as necessary. 8033 - Added a unit-test for the --git-commit validation. 8034 - Added unit tests for the --git-diff and --git-since variants 8035 of --git-commit. 8036 8037 2010-04-03 Chris Jerdonek <cjerdonek (a] webkit.org> 8038 8039 Reviewed by Shinichiro Hamaji. 8040 8041 The check-webkit-style script now logs an ERROR and exits when 8042 encountering a file path that does not exist. Previously, it failed 8043 silently on such paths. 8044 8045 https://bugs.webkit.org/show_bug.cgi?id=36957 8046 8047 * Scripts/webkitpy/common/system/logtesting.py: 8048 - Added a FIXME to rename the LoggingTestCase class to 8049 LoggingTestCaseBase. 8050 8051 * Scripts/webkitpy/style/checker.py: 8052 - In the StyleChecker.check_file() method: 8053 - Added a mock_os_path_exists parameter. 8054 - Renamed the process_file parameter to mock_process_file. 8055 - Added logic to log an error and exist if the given path does 8056 not exist. 8057 8058 * Scripts/webkitpy/style/checker_unittest.py: 8059 - Refactored the StyleCheckerCheckFileTest class slightly to 8060 inherit from LoggingTestCase. 8061 - Added a test method to unit-test the case of a file that 8062 does not exist. 8063 - Adjusted the other test methods as necessary. 8064 8065 2010-04-03 Adam Barth <abarth (a] webkit.org> 8066 8067 Reviewed by Eric Seidel. 8068 8069 Add Tiger Bot to the list of "core builders" (builders which block the commit-queue when red) 8070 https://bugs.webkit.org/show_bug.cgi?id=33289 8071 8072 Add Tiger and SnowLeopard Tests to the core builders. This is a bit of 8073 an experiment now that the bots are green. Hopefully we can keep them 8074 on the list and have the tree stay greener. 8075 8076 * Scripts/webkitpy/common/net/buildbot.py: 8077 8078 2010-04-02 Adam Barth <abarth (a] webkit.org> 8079 8080 Unreviewed. 8081 8082 Have Eric and Adam watch the SheriffBot 8083 https://bugs.webkit.org/show_bug.cgi?id=37054 8084 8085 * Scripts/webkitpy/tool/bot/sheriff.py: 8086 * Scripts/webkitpy/tool/bot/sheriff_unittest.py: 8087 * Scripts/webkitpy/tool/commands/sheriffbot.py: 8088 8089 2010-04-02 Adam Barth <abarth (a] webkit.org> 8090 8091 Reviewed by Darin Adler. 8092 8093 commit-queue should ignore builders when landing rollouts 8094 https://bugs.webkit.org/show_bug.cgi?id=37051 8095 8096 When we moved the "builders are red" check into the master process, we 8097 forgot about rollouts. I thought we had a test covering this case, but 8098 looking at the test, it was a bit too loose. I added a new test and 8099 introduced some new logging technology into MockTool to make the test 8100 tighter. 8101 8102 * Scripts/webkitpy/tool/commands/queues.py: 8103 * Scripts/webkitpy/tool/commands/queues_unittest.py: 8104 * Scripts/webkitpy/tool/mocktool.py: 8105 8106 2010-04-02 David Levin <levin (a] chromium.org> 8107 8108 Reviewed by Adam Barth. 8109 8110 sherrifbot should ensure that the rollout reason doesn't start with - (and fix webkit-patch upload). 8111 https://bugs.webkit.org/show_bug.cgi?id=37030 8112 8113 * Scripts/webkitpy/tool/bot/sheriff.py: Ensure that the rollout reason doesn't 8114 start with -. 8115 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: A test with a rollout 8116 reason which starts with -. 8117 * Scripts/webkitpy/tool/steps/createbug.py: Fix webkit-patch upload. 8118 8119 2010-04-02 Chris Jerdonek <cjerdonek (a] webkit.org> 8120 8121 Unreviewed. 8122 8123 Fixed check-webkit-style to recognize the short form of the 8124 --verbose option, as stated in --help. 8125 8126 * Scripts/check-webkit-style: 8127 - Tweaked one line. 8128 8129 2010-04-02 Kevin Ollivier <kevino (a] theolliviers.com> 8130 8131 [wx] Build fix for DumpRenderTree after addition of layerTreeAsText. 8132 8133 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 8134 (LayoutTestController::layerTreeAsText): 8135 8136 2010-04-02 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 8137 8138 Reviewed by Eric Seidel. 8139 8140 Accept XHTML-MP content type as XHTML content 8141 https://bugs.webkit.org/show_bug.cgi?id=34262 8142 8143 Register xhtmlmp file extension as the new type 8144 for XHTML-MP test content. 8145 8146 * Scripts/run-webkit-tests: 8147 * Scripts/webkitpy/layout_tests/layout_package/test_files.py: 8148 * Scripts/webkitpy/layout_tests/port/lighttpd.conf: 8149 8150 2010-04-02 Adam Barth <abarth (a] webkit.org> 8151 8152 Reviewed by Eric Seidel. 8153 8154 create-rollout doesn't fill out ChangeLog 8155 https://bugs.webkit.org/show_bug.cgi?id=37010 8156 8157 The contract between apply_reverse_diff and PrepareChangeLogForRevert 8158 was unclear. I broke filling out the ChangeLog during rollout earlier 8159 when I changed apply_reverse_diff to revert the ChangeLogs because 8160 PrepareChangeLogForRevert thought that it was supposed to do that. 8161 I've now taught PrepareChangeLogsForRevert the new contract. 8162 8163 It's unclear to me how to test this change because it's essentially an 8164 integration issue that requires the file system. At some point we 8165 should think about a testing strategy for integration. As the system 8166 becomes larger, we're running into more of these issues. 8167 8168 * Scripts/webkitpy/common/checkout/api.py: 8169 * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py: 8170 8171 2010-04-02 Adam Barth <abarth (a] webkit.org> 8172 8173 Reviewed by Eric Seidel. 8174 8175 Add cr-win-ews to QueueStatusServer 8176 https://bugs.webkit.org/show_bug.cgi?id=37004 8177 8178 * QueueStatusServer/model/queues.py: 8179 * QueueStatusServer/templates/dashboard.html: 8180 * QueueStatusServer/templates/statusbubble.html: 8181 8182 2010-04-02 Chris Jerdonek <cjerdonek (a] webkit.org> 8183 8184 Reviewed by Adam Barth. 8185 8186 Unit-test networktransaction.py's log messages, and add a base 8187 class to make unit-testing log messages even easier. 8188 8189 https://bugs.webkit.org/show_bug.cgi?id=36958 8190 8191 The purpose of this patch is also to provide a mini-tutorial on 8192 how to unit-test Python logging.py messages. 8193 8194 * Scripts/webkitpy/common/net/networktransaction_unittest.py: 8195 - Unit-tested the log messages in test_retry(). 8196 8197 * Scripts/webkitpy/common/system/logtesting.py: 8198 - Adjusted the LogTesting class by moving the code that clears 8199 the array of log messages into a finally block. This prevents 8200 redundant AssertionErrors from getting rendered to the screen 8201 while running unit tests. 8202 - Added a LoggingTestCase class so the setUp() and tearDown() 8203 methods do not need to be implemented in order to test logging. 8204 Rather, TestCase classes can simply inherit from this class. 8205 8206 2010-04-02 Chris Jerdonek <cjerdonek (a] webkit.org> 8207 8208 Reviewed by Shinichiro Hamaji. 8209 8210 Re-wrote check-webkit-style's argument parsing code to use 8211 Python's optparser module and more uniform error-handling logic. 8212 8213 https://bugs.webkit.org/show_bug.cgi?id=34676 8214 8215 * Scripts/webkitpy/style/optparser.py: 8216 - Removed "option help" from check-webkit-style's usage string 8217 since that is provided separately by the OptionParser class. 8218 - Also changed the usage string from a function to a constant 8219 string _USAGE. 8220 - Added an _EPILOG string which renders after OptionParser's 8221 usage string and option help. 8222 - In the ArgumentParser class: 8223 - Changed the constructor's stderr_write parameter to a 8224 mock_stderr since the OptionParser accepts a sys.stderr 8225 substitute rather than a sys.stderr.write substitute. 8226 - Changed the constructor to set a _parser data attribute with 8227 an OptionParser instance. 8228 - Added a _create_option_parser() method which instantiates 8229 the OptionParser. 8230 - Updated _exit_with_help() to interact with the OptionParser's 8231 help method. 8232 - Updated the parse() method as necessary. Also changed the 8233 raising of ValueErrors to calls to _exit_with_help(). 8234 8235 * Scripts/webkitpy/style/optparser_unittest.py: 8236 - Removed the CreateUsageTest class since the create_usage method 8237 was replaced by a constant string. 8238 - Added a _MockStdErr class to the ArgumentParserTest class. 8239 - Updated the unit tests as necessary. 8240 8241 8242 2010-04-02 Adam Barth <abarth (a] webkit.org> 8243 8244 Reviewed by Eric Seidel. 8245 8246 The master commit-queue process should take responsibility for checking that the builders are green 8247 https://bugs.webkit.org/show_bug.cgi?id=37009 8248 8249 We had a failure where the child process noticed that the builders were 8250 red. We've always had this race condition, but the new optimistic 8251 design made it easier to trigger. 8252 8253 * Scripts/webkitpy/tool/commands/queues.py: 8254 8255 2010-04-02 Adam Barth <abarth (a] webkit.org> 8256 8257 Reviewed by Eric Seidel. 8258 8259 Tweak rollout changelog to pass ValidateReviewer check 8260 https://bugs.webkit.org/show_bug.cgi?id=37019 8261 8262 We need to use the magic word "unreviewed" to make the commit-queue 8263 happy when landing rollouts. 8264 8265 * Scripts/webkitpy/common/checkout/changelog.py: 8266 * Scripts/webkitpy/common/checkout/changelog_unittest.py: 8267 8268 2010-04-02 Chris Jerdonek <cjerdonek (a] webkit.org> 8269 8270 Unreviewed. 8271 8272 Removed duplicate ChangeLog entry. 8273 8274 2010-04-02 Chris Jerdonek <cjerdonek (a] webkit.org> 8275 8276 Rubber-stamped by Eric Seidel. 8277 8278 To the Python 2.4 error message, added a link to the wiki page 8279 that contains instructions on how to upgrade. 8280 8281 * Scripts/test-webkitpy: 8282 - Eliminated a use of the ternary operator in configure_logging() 8283 to let the version warning display in case of Python 2.4. 8284 8285 * Scripts/webkitpy/python24/versioning.py: 8286 - Added this link to the error text: 8287 http://trac.webkit.org/wiki/PythonGuidelines 8288 8289 * Scripts/webkitpy/python24/versioning_unittest.py: 8290 - Updated unit test text. 8291 8292 2010-04-02 Adam Barth <abarth (a] webkit.org> 8293 8294 Reviewed by Eric Seidel. 8295 8296 Record the IRC nick of folks who request rollouts 8297 https://bugs.webkit.org/show_bug.cgi?id=36999 8298 8299 * Scripts/webkitpy/common/net/irc/ircbot.py: 8300 * Scripts/webkitpy/tool/bot/irc_command.py: 8301 * Scripts/webkitpy/tool/bot/sheriffircbot.py: 8302 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: 8303 8304 2010-04-01 Adam Barth <abarth (a] webkit.org> 8305 8306 Reviewed by Eric Seidel. 8307 8308 Add cr-win-ews 8309 https://bugs.webkit.org/show_bug.cgi?id=36974 8310 8311 Adds support for an Early Warning System for Chromium on Linux. The 8312 interface to the Chromium port is the same on every platform, so we 8313 don't need to create a new Port object for this queue. 8314 8315 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 8316 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: 8317 8318 2010-04-01 Adam Barth <abarth (a] webkit.org> 8319 8320 Reviewed by Eric Seidel. 8321 8322 Using a failure exit code when failing to load a required import 8323 https://bugs.webkit.org/show_bug.cgi?id=37000 8324 8325 Well spotted by Mark Rowe. 8326 8327 * Scripts/webkitpy/common/system/user.py: 8328 8329 2010-04-01 Chris Jerdonek <cjerdonek (a] webkit.org> 8330 8331 Reviewed by Eric Seidel. 8332 8333 Rewrote the revision (r56942) to disable the 79 character line 8334 length limit Python/PEP8 style check. 8335 8336 https://bugs.webkit.org/show_bug.cgi?id=33639#c39 8337 8338 This rewrite puts the disabling not in the PythonProcessor but 8339 in the calling code's default filter rule configuration. This 8340 allows the user to check line-length style from the command-line 8341 if desired. 8342 8343 * Scripts/webkitpy/style/checker.py: 8344 - Added "-pep8/E501" to the _BASE_FILTER_RULES configuration 8345 variable to disable the line-length check. 8346 - Added "-pep8/E501" to the list of recognized style categories 8347 to permit the category to be checked from the command line. 8348 8349 * Scripts/webkitpy/style/processors/python.py: 8350 - Reverted r56942: http://trac.webkit.org/changeset/56942 8351 8352 2010-04-01 Kinuko Yasuda <kinuko (a] chromium.org> 8353 8354 Reviewed by Dmitry Titov. 8355 8356 Add FileThread for async file operation support in FileReader and FileWriter 8357 https://bugs.webkit.org/show_bug.cgi?id=36896 8358 8359 Add options to enable FILE_READER and FILE_WRITER support. 8360 8361 * Scripts/build-webkit: 8362 8363 2010-04-01 Kent Tamura <tkent (a] chromium.org> 8364 8365 Unreviewed. Add missing license header. 8366 8367 * DumpRenderTree/chromium/TestShellMac.mm: 8368 8369 2010-04-01 Adam Barth <abarth (a] webkit.org> 8370 8371 Reviewed by Eric Seidel. 8372 8373 Improve the error handling in rollout a bit 8374 https://bugs.webkit.org/show_bug.cgi?id=36995 8375 8376 This patch does a few things to make the error handling in rollout a 8377 bit more robust. 8378 8379 * Scripts/webkitpy/common/checkout/api.py: 8380 The old logic here was wrong. We don't want to resolve the 8381 ChangeLogs (that would remove the old ChangeLog entry). Instead, 8382 we want to revert the ChangeLogs so we can fill them with the new 8383 message. 8384 * Scripts/webkitpy/tool/commands/download_unittest.py: 8385 Update test expectations because we're using a different mock object. 8386 * Scripts/webkitpy/tool/commands/download.py: 8387 - Added an update command to make updating from the SheriffBot more 8388 robust. 8389 - Now that we have CommitInfo, we can automatically CC the 8390 responsible parties on the bug we create. 8391 - Re-ordered the steps in create-rollout. Our original thinking 8392 was that we always wanted to create the bug, but that's not 8393 really true given how things appear to be playing out. If we 8394 fail to apply the reverse diff, we don't want to create the bug. 8395 * Scripts/webkitpy/tool/commands/sheriffbot.py: 8396 - Use the new, more robust update command. 8397 * Scripts/webkitpy/tool/steps/createbug.py: 8398 Allow commands to pre-load who they want to be CCed on a new bug. 8399 8400 2010-04-01 Kent Tamura <tkent (a] chromium.org> 8401 8402 Reviewed by Dimitri Glazkov. 8403 8404 [DRT/Chromium] Add TestShell and WebViewHost class, main(), and so on 8405 https://bugs.webkit.org/show_bug.cgi?id=36814 8406 8407 This change introduces: 8408 - WebViewHost class 8409 It's an implementation of some delegates required by Chromium 8410 WebKit API, and manages painting of a WebView. It's base on 8411 src/webkit/tools/test_shell/test_webview_delegate.{cc,h} of 8412 Chromium rev.40492. 8413 - TestShell class 8414 The TestShell instance holds global states of DumpRenderTree process. 8415 Unlike TestShell class of Chromium test_shell, TestShell instance is 8416 created just once. 8417 - DumpRenderTree.cpp 8418 The program entry. 8419 8420 * DumpRenderTree/chromium/DumpRenderTree.cpp: Added. 8421 * DumpRenderTree/chromium/TestShell.cpp: Added. 8422 * DumpRenderTree/chromium/TestShell.h: Added. 8423 * DumpRenderTree/chromium/TestShellMac.mm: Added. 8424 * DumpRenderTree/chromium/WebViewHost.cpp: Added. 8425 * DumpRenderTree/chromium/WebViewHost.h: Added. 8426 * DumpRenderTree/chromium/config.h: Added. 8427 8428 2010-04-01 David Levin <levin (a] chromium.org> 8429 8430 Reviewed by Adam Barth. 8431 8432 sheriffbot rollout should verify that the svn revision is a number. 8433 https://bugs.webkit.org/show_bug.cgi?id=37001 8434 8435 * Scripts/webkitpy/common/net/bugzilla.py: Allow for the message to be None. 8436 * Scripts/webkitpy/tool/bot/sheriff.py: Did verification that svn revision 8437 is a number. Fixed the imports (since the files uses ScriptError and log) 8438 and a typo. 8439 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: Added a test to verify 8440 the behavior. 8441 8442 2010-04-01 Adam Barth <abarth (a] webkit.org> 8443 8444 Reviewed by Eric Seidel. 8445 8446 Print an error message for readline bogosity in MacPorts 8447 https://bugs.webkit.org/show_bug.cgi?id=36979 8448 8449 * Scripts/webkitpy/common/system/user.py: 8450 8451 2010-04-01 Adam Barth <abarth (a] webkit.org> 8452 8453 Reviewed by Eric Seidel. 8454 8455 Don't pass --non-interactive to create-rollout 8456 https://bugs.webkit.org/show_bug.cgi?id=36989 8457 8458 It turns out you can't pass --non-interactive to create-rollout. Also, 8459 improve our error reporting slighly to catch the case where we error 8460 out after creating the rollout bug. 8461 8462 * Scripts/webkitpy/tool/bot/irc_command.py: 8463 * Scripts/webkitpy/tool/bot/sheriff.py: 8464 8465 2010-04-01 Ojan Vafai <ojan (a] chromium.org> 8466 8467 Reviewed by Eric Seidel. 8468 8469 webkit-patch can incorrectly think the working directory is modified 8470 https://bugs.webkit.org/show_bug.cgi?id=36985 8471 8472 If a file's modification time is modified, but the contents are not, 8473 then diff-index will think the file has been modified unless you do 8474 some crazy update-index call. Instead, call diff --name-only, which 8475 has the index update builtin. 8476 8477 Tried to write a test, but could not reproduce this in a unittest. 8478 To test manually: 8479 touch file-in-repo 8480 git diff-index HEAD 8481 git diff HEAD --name-only 8482 8483 The diff-index call incorrectly shows file-in-repo as modified. 8484 8485 * Scripts/webkitpy/common/checkout/scm.py: 8486 8487 2010-04-01 Adam Barth <abarth (a] webkit.org> 8488 8489 Reviewed by Eric Seidel. 8490 8491 Add rollout command to sheriffbot 8492 https://bugs.webkit.org/show_bug.cgi?id=36986 8493 8494 This IRC command creates a new bug an attaches a rollout patch. To 8495 actually commit the rollout, a committer needs to mark the patch 8496 commit-queue+ in bugs.webkit.org. 8497 8498 Also, factored out some of the logic from the queue into a separate 8499 object for easier testing. 8500 8501 * Scripts/webkitpy/common/system/executive.py: 8502 * Scripts/webkitpy/tool/bot/irc_command.py: 8503 * Scripts/webkitpy/tool/bot/sheriff.py: Added. 8504 * Scripts/webkitpy/tool/bot/sheriff_unittest.py: Added. 8505 * Scripts/webkitpy/tool/bot/sheriffircbot.py: 8506 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: 8507 * Scripts/webkitpy/tool/commands/queues.py: 8508 * Scripts/webkitpy/tool/commands/sheriffbot.py: 8509 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 8510 8511 2010-04-01 Eric Seidel <eric (a] webkit.org> 8512 8513 Unreviewed, only ignoring chatty style errors. 8514 8515 check-webkit-style: WebKit needs a python style checker 8516 https://bugs.webkit.org/show_bug.cgi?id=33639 8517 8518 Remove the 79 char line limit by ignoring 8519 pep8/E501. Because we have our own report_error 8520 implementation we have to ignore E501 by hand 8521 instead of passing --ignore=E501. 8522 8523 Right now over 1400 lines of our existing python 8524 fail E501 so this rule just generates needless noise. 8525 The rest of WebKit has no wrapping rule so it makes 8526 little sense for our Python to differ here. 8527 8528 * Scripts/webkitpy/style/processors/python.py: 8529 8530 2010-04-01 Adam Barth <abarth (a] webkit.org> 8531 8532 Unreviewed. Add cmarrin's IRC nickname. 8533 8534 * Scripts/webkitpy/common/config/committers.py: 8535 8536 2010-04-01 Adam Barth <abarth (a] webkit.org> 8537 8538 Unreviewed. 8539 8540 EWS spins hot when unable to build 8541 https://bugs.webkit.org/show_bug.cgi?id=36981 8542 8543 The problem is that the queue engine things we have more work to do, 8544 but the bot isn't actually able to do anything. After this change, we 8545 back off the usual amount. 8546 8547 * Scripts/webkitpy/tool/bot/queueengine.py: 8548 * Scripts/webkitpy/tool/bot/queueengine_unittest.py: 8549 * Scripts/webkitpy/tool/commands/queues.py: 8550 * Scripts/webkitpy/tool/commands/sheriffbot.py: 8551 8552 2010-04-01 Chris Marrin <cmarrin (a] apple.com> 8553 8554 Reviewed by Simon Fraser. 8555 8556 Added layerTreeAsText function to DRT (for Mac) 8557 https://bugs.webkit.org/show_bug.cgi?id=36782 8558 8559 This is the DRT side. It exposes the call to JavaScript 8560 through the LayoutTestController. 8561 8562 * DumpRenderTree/LayoutTestController.cpp:Platform independent JavaScript shim 8563 (layerTreeAsTextCallback): 8564 (LayoutTestController::staticFunctions): 8565 * DumpRenderTree/LayoutTestController.h: 8566 * DumpRenderTree/mac/LayoutTestControllerMac.mm:Mac specific plumbing to WebKit 8567 (LayoutTestController::layerTreeAsText): 8568 * DumpRenderTree/win/LayoutTestControllerWin.cpp:Windows specific plumbing to WebKit 8569 (LayoutTestController::layerTreeAsText): 8570 8571 2010-04-01 Kevin Ollivier <kevino (a] theolliviers.com> 8572 8573 [wx] Build fix after addition of JavaScriptCore/wtf/text directory. 8574 8575 * wx/build/settings.py: 8576 8577 2010-04-01 Jian Li <jianli (a] chromium.org> 8578 8579 Rubber-stamped by David Levin. 8580 8581 Add myself to the reviewers list. 8582 8583 * Scripts/webkitpy/common/config/committers.py: 8584 8585 2010-04-01 Adam Barth <abarth (a] webkit.org> 8586 8587 Unreviewed. 8588 8589 Turns out the Chromium Windows bots don't have pdevenv installed. 8590 8591 * Scripts/webkitdirs.pm: 8592 8593 2010-04-01 Adam Barth <abarth (a] webkit.org> 8594 8595 Reviewed by Dimitri Glazkov. 8596 8597 Let Chromium Windows build with Visual Studio Express 8598 https://bugs.webkit.org/show_bug.cgi?id=36919 8599 8600 This is horrible, horrible copy/paste code, but that seems to be the 8601 way of webkitdirs.pm. :( 8602 8603 Someone needs to go through an cleanup this code, but I don't have the 8604 heart to do it in this patch. 8605 8606 * Scripts/webkitdirs.pm: 8607 8608 2010-04-01 Ilya Tikhonovsky <loislo (a] chromium.org> 8609 8610 Reviewed by Yury Semikhatsky. 8611 8612 Add myself to the committers list. 8613 https://bugs.webkit.org/show_bug.cgi?id=36953 8614 8615 * Scripts/webkitpy/common/config/committers.py: 8616 8617 2010-04-01 Eric Seidel <eric (a] webkit.org> 8618 8619 Rubber-stamped by Adam Barth. 8620 8621 Add Snow Leopard Release bot to the list of "core builders" (builders which stop the commit-queue when they turn red) 8622 https://bugs.webkit.org/show_bug.cgi?id=33292 8623 8624 Just adding the "Build" builder for now. 8625 We'll add the "Test" builders when the tests 8626 are less flaky. 8627 8628 * Scripts/webkitpy/common/net/buildbot.py: 8629 * Scripts/webkitpy/common/net/buildbot_unittest.py: 8630 8631 2010-04-01 Yury Semikhatsky <yurys (a] chromium.org> 8632 8633 Reviewed by David Levin. 8634 8635 Add myself to the reviewers list. 8636 8637 https://bugs.webkit.org/show_bug.cgi?id=36935 8638 8639 * Scripts/webkitpy/common/config/committers.py: 8640 8641 2010-03-31 Chris Jerdonek <cjerdonek (a] webkit.org> 8642 8643 Reviewed by Dave Levin. 8644 8645 Added Python style checking to check-webkit-style using 8646 the third-party pep8 module (via autoinstall). 8647 8648 https://bugs.webkit.org/show_bug.cgi?id=33639 8649 8650 * Scripts/webkitpy/style/checker.py: 8651 - Added PYTHON to FileType. 8652 - Updated ProcessorDispatcher to return a PythonProcessor 8653 for *.py files. 8654 8655 * Scripts/webkitpy/style/checker_unittest.py: 8656 - Updated the ProcessorDispatcher unit tests for *.py files. 8657 8658 * Scripts/webkitpy/style/processors/python.py: Added. 8659 - Added PythonProcessor class. 8660 8661 * Scripts/webkitpy/style/processors/python_unittest.py: Added. 8662 - Added PythonProcessor unit tests. 8663 8664 * Scripts/webkitpy/style/processors/python_unittest_input.py: Added. 8665 - Added a sample Python file to test the PythonProcessor.process() 8666 code path (since pep8 accepts a file path). 8667 8668 * Scripts/webkitpy/style/unittests.py: 8669 - Updated the style unit test file to import python_unittest.py. 8670 8671 * Scripts/webkitpy/style_references.py: 8672 - Adjusted style references to import pep8. 8673 8674 2010-03-31 Chris Jerdonek <cjerdonek (a] webkit.org> 8675 8676 Reviewed by Dave Levin. 8677 8678 Rewrote autoinstall.py to support unzipping *.zip files after 8679 download, unzipping and extracting *.tar.gz files after download, 8680 and copying installed files to a given destination directory. 8681 8682 https://bugs.webkit.org/show_bug.cgi?id=35163 8683 8684 These changes will let us autoinstall pep8.py from the web and put 8685 our third-party autoinstalled code in an explicit directory like 8686 webkitpy/thirdparty/autoinstalled. These changes should also speed 8687 up the execution of autoinstalled *.zip packages slightly since 8688 *.pyc files cannot be generated when importing from zipped 8689 packages using the current autoinstall. 8690 8691 * Scripts/test-webkitpy: 8692 - Addressed the FIXME to enable auto-install logging once 8693 autoinstall was rewritten not to log as verbosely. 8694 8695 * Scripts/webkitpy/common/net/bugzilla.py: 8696 - Updated mechanize import statement. 8697 8698 * Scripts/webkitpy/common/net/buildbot.py: 8699 - Updated mechanize import statement. 8700 8701 * Scripts/webkitpy/common/net/irc/ircbot.py: 8702 - Updated ircbot and irclib import statements. 8703 8704 * Scripts/webkitpy/common/net/networktransaction.py: 8705 - Updated mechanize import statement. 8706 8707 * Scripts/webkitpy/common/net/networktransaction_unittest.py: 8708 - Updated mechanize import statement. 8709 8710 * Scripts/webkitpy/common/net/statusserver.py: 8711 - Updated mechanize import statement. 8712 8713 * Scripts/webkitpy/common/system/autoinstall.py: Added. 8714 - Added AutoInstaller class. 8715 - Added sample/testing usage to the __main__ block. 8716 8717 * Scripts/webkitpy/thirdparty/__init__.py: 8718 - Updated the autoinstall lines to use the new autoinstall methods. 8719 - Added pep8.py to the list of auto-installed packages. 8720 - Added a README file to the target autoinstallation directory 8721 so users know that the directory is safe to delete. 8722 8723 * Scripts/webkitpy/thirdparty/autoinstall.py: Removed. 8724 - This is replaced by the rewritten autoinstall 8725 webkitpy/common/system/autoinstall.py. 8726 8727 * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py: Removed. 8728 - The target autoinstallation directory is now auto-generated. 8729 8730 2010-03-31 Chris Jerdonek <cjerdonek (a] webkit.org> 8731 8732 Reviewed by Shinichiro Hamaji. 8733 8734 Tweak webkitpy's logtesting.LogTesting class to get more mileage out 8735 of our unit tests that test log messages. 8736 8737 https://bugs.webkit.org/show_bug.cgi?id=36886 8738 8739 This patch adds to the LogTesting class's tearDown() method a line 8740 asserting that the array of remaining log messages is empty. This 8741 ensures that no extra log messages are getting logged that the caller 8742 might not be aware of or may have forgotten to check for. 8743 8744 * Scripts/webkitpy/common/system/logtesting.py: 8745 - Modified the tearDown() method as described above. 8746 - Also modified the assertMessages() method to clear the array 8747 of log messages after asserting. 8748 8749 2010-03-31 Chris Jerdonek <cjerdonek (a] webkit.org> 8750 8751 Reviewed by Adam Barth. 8752 8753 Added support for a --verbose-logging flag to test-webkitpy. 8754 8755 https://bugs.webkit.org/show_bug.cgi?id=36429 8756 8757 Verbose logging is useful for debugging test-webkitpy code that 8758 runs before the actual unit tests -- things like autoinstalling and 8759 unit-test auto-detection logic. This is different from verbose 8760 logging of the unit tests themselves (which corresponds to the 8761 unittest module's --verbose flag). 8762 8763 * Scripts/test-webkitpy: 8764 - In the configure_logging() method-- 8765 - Added an is_verbose_logging parameter that sets the logging 8766 level to logging.DEBUG instead of logging.INFO. 8767 - Changed the method to throttle the logging level on the 8768 root logger's handler instead of directly on the root logger 8769 itself. 8770 - Enabled logging of the autoinstall module when the flag is set. 8771 8772 * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py: 8773 - Added a work-around for a bug in Python 2.6's logging module 8774 that was discovered while working on this patch. 8775 8776 2010-03-31 Chris Jerdonek <cjerdonek (a] webkit.org> 8777 8778 Reviewed by Adam Barth. 8779 8780 Enabled Python's logging module for webkit-patch, and replaced 8781 deprecated_logging with Python logging in networktransaction.py. 8782 This eliminates some spurious output when running test-webkitpy. 8783 8784 https://bugs.webkit.org/show_bug.cgi?id=36725 8785 8786 * Scripts/webkit-patch: 8787 - Replaced the configure_logging() function with a call to 8788 the new logutils.configure_logging() function. 8789 8790 * Scripts/webkitpy/common/net/networktransaction.py: 8791 - Replaced the use of deprecated_logging with Python logging. 8792 8793 * Scripts/webkitpy/common/system/logutils.py: 8794 - Added _default_handlers() which creates the default logging 8795 handler for webkitpy. 8796 - Added configure_logging() which configures default logging 8797 for webkitpy. 8798 8799 * Scripts/webkitpy/common/system/logutils_unittest.py: 8800 - Added unit tests for logutils.configure_logging(). 8801 8802 * Scripts/webkitpy/style/checker.py: 8803 - Refactored check-webkit-style's configure_logging() method 8804 to call the new logutils.configure_logging(). 8805 8806 * Scripts/webkitpy/style_references.py: 8807 - Updated references as necessary. 8808 8809 2010-03-31 Eric Seidel <eric (a] webkit.org> 8810 8811 Reviewed by Adam Barth. 8812 8813 webkit-patch land fails if not run from the root directory 8814 https://bugs.webkit.org/show_bug.cgi?id=35822 8815 8816 The root of the problem was that ChangeLog.__init__ expects a path 8817 relative to the current working directory, and SCM expects to 8818 return paths relative to the SCM root. Fix it by converting from 8819 SCM-relative to absolute paths in Checkout.modified_changelogs 8820 8821 * Scripts/webkitpy/common/checkout/api.py: 8822 * Scripts/webkitpy/common/checkout/api_unittest.py: 8823 8824 2010-03-31 Adam Barth <abarth (a] webkit.org> 8825 8826 Reviewed by Eric Seidel. 8827 8828 Add more tests for webkitpy.common.checkout 8829 https://bugs.webkit.org/show_bug.cgi?id=36926 8830 8831 We don't have a great way of testing checkout, sadly. 8832 8833 * Scripts/webkitpy/common/checkout/api_unittest.py: 8834 8835 2010-03-31 Adam Barth <abarth (a] webkit.org> 8836 8837 Reviewed by Eric Seidel. 8838 8839 REGRESSION: EWS crashes on failure 8840 https://bugs.webkit.org/show_bug.cgi?id=36924 8841 8842 Turns out we need to pass one more argument. My test is kind of lame, 8843 but at least it's there. 8844 8845 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 8846 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: 8847 8848 2010-03-31 Chris Jerdonek <cjerdonek (a] webkit.org> 8849 8850 Unreviewed. 8851 8852 Fixed typo in WebKitTools/ChangeLog: opsys -> ospath. 8853 8854 2010-03-31 Adam Barth <abarth (a] webkit.org> 8855 8856 Reviewed by Eric Seidel. 8857 8858 Make the EWS go faster by being optimistic 8859 https://bugs.webkit.org/show_bug.cgi?id=36916 8860 8861 Have the EWS be optimistic that a patch will correctly build. This 8862 should speed up the common case by not requiring two builds for every 8863 patch. 8864 8865 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 8866 * Scripts/webkitpy/tool/commands/queues.py: 8867 8868 2010-03-31 Adam Barth <abarth (a] webkit.org> 8869 8870 Reviewed by Eric Seidel. 8871 8872 Add the ability to restart sheriffbot from IRC 8873 https://bugs.webkit.org/show_bug.cgi?id=36909 8874 8875 * Scripts/webkitpy/tool/bot/irc_command.py: 8876 * Scripts/webkitpy/tool/bot/queueengine.py: 8877 * Scripts/webkitpy/tool/bot/sheriffircbot.py: 8878 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: 8879 8880 2010-03-31 Adam Barth <abarth (a] webkit.org> 8881 8882 Reviewed by Eric Seidel. 8883 8884 Add win-ews to QueueStatusServer 8885 https://bugs.webkit.org/show_bug.cgi?id=36876 8886 8887 The win-ews is still experimental, but it seems to be more or less 8888 running. We should show its results to the people. 8889 8890 * QueueStatusServer/model/queues.py: 8891 * QueueStatusServer/templates/dashboard.html: 8892 * QueueStatusServer/templates/statusbubble.html: 8893 8894 2010-03-30 Victor Wang <victorw (a] chromium.org> 8895 8896 Reviewed by Eric Seidel. 8897 8898 Update rebaseline tool to check the release image diff binary and 8899 fallback to debug if the release version does not exist. 8900 8901 https://bugs.webkit.org/show_bug.cgi?id=36245 8902 8903 * Scripts/webkitpy/layout_tests/port/base.py: 8904 * Scripts/webkitpy/layout_tests/port/chromium.py: 8905 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 8906 8907 2010-03-31 Eric Seidel <eric (a] webkit.org> 8908 8909 Reviewed by Adam Barth. 8910 8911 Teach buildbot.py how to parse builder activity from /one_box_per_builder 8912 https://bugs.webkit.org/show_bug.cgi?id=36898 8913 8914 I also removed some obsolete FIXMEs and 8915 refactored one_box_per_builder parsing into multiple 8916 methods for easier reading. 8917 8918 * Scripts/webkitpy/common/net/buildbot.py: 8919 * Scripts/webkitpy/common/net/buildbot_unittest.py: 8920 8921 2010-03-31 Dirk Pranke <dpranke (a] chromium.org> 8922 8923 Reviewed by Eric Seidel. 8924 8925 Fix logging in new-run-webkit-tests so that we don't report IMAGE 8926 expected failures as unexpected passes when we run with pixel tests 8927 disabled. 8928 8929 This change splits some of the logic embedded into the TestExpectations 8930 classes out into separate pure functions (result_was_expected, 8931 remove_image_failures) to make them easier to test. This also adds 8932 a parameter to matches_an_expected_result() to indicate whether or 8933 not pixel test results should be included in the expectations. 8934 8935 https://bugs.webkit.org/show_bug.cgi?id=36771 8936 8937 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 8938 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_test.py: 8939 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 8940 8941 2010-03-31 Chris Jerdonek <cjerdonek (a] webkit.org> 8942 8943 Reviewed by Eric Seidel. 8944 8945 In webkitpy, refactored two calls to os.path.relpath() replacements 8946 to use a common method. 8947 8948 https://bugs.webkit.org/show_bug.cgi?id=36891 8949 8950 * Scripts/webkitpy/common/net/bugzilla.py: 8951 - Replaced the relpath implementation with a call to 8952 webkitpy.common.system.ospath.relpath(). 8953 8954 * Scripts/webkitpy/common/system/ospath.py: Added. 8955 - Moved the relpath() implementation from style/main.py. 8956 8957 * Scripts/webkitpy/common/system/ospath_unittest.py: Added. 8958 - Moved the relpath() unit tests from style/main_unittest.py. 8959 8960 * Scripts/webkitpy/style/main.py: 8961 - Replaced the relpath implementation with a call to 8962 webkitpy.common.system.ospath.relpath(). 8963 8964 * Scripts/webkitpy/style/main_unittest.py: 8965 - Moved the relpath unit tests to ospath_unittest.py. 8966 8967 2010-03-31 Adam Barth <abarth (a] webkit.org> 8968 8969 Reviewed by Eric Seidel. 8970 8971 Add a Builder.force_build method 8972 https://bugs.webkit.org/show_bug.cgi?id=36875 8973 8974 We plan to eventually use this in SheriffBot to break deadlocks created 8975 by flaky tests. 8976 8977 * Scripts/webkitpy/common/net/buildbot.py: 8978 8979 2010-03-31 Adam Barth <abarth (a] webkit.org> 8980 8981 Reviewed by Eric Seidel. 8982 8983 webkit-patch reads wrong bug url from unified diff context 8984 https://bugs.webkit.org/show_bug.cgi?id=36477 8985 8986 Instead of trying to figure out the bug_id from the diff, we should 8987 just get the information from the Checkout object, which understands 8988 these concepts. 8989 8990 * Scripts/webkitpy/common/checkout/api.py: 8991 * Scripts/webkitpy/common/checkout/commitinfo.py: 8992 * Scripts/webkitpy/tool/commands/download.py: 8993 * Scripts/webkitpy/tool/commands/upload.py: 8994 * Scripts/webkitpy/tool/mocktool.py: 8995 8996 2010-03-31 Adam Barth <abarth (a] webkit.org> 8997 8998 Reviewed by Eric Seidel. 8999 9000 webkit-patch commit-queue should land patches optimistically 9001 https://bugs.webkit.org/show_bug.cgi?id=34187 9002 9003 This patch adds an optimistic path to commit-queue and a "fail twice" 9004 requirement for rejecting patches. That means we'll land good patches 9005 faster (via the optmistic first run) and we'll reject many fewer 9006 patches due to flaky tests. 9007 9008 * Scripts/webkitpy/tool/commands/queues.py: 9009 9010 2010-03-31 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 9011 9012 Reviewed by Kenneth Rohde Christiansen. 9013 9014 [Qt] Custom user agent for user agent switcher 9015 https://bugs.webkit.org/show_bug.cgi?id=36757 9016 9017 * QtLauncher/main.cpp: 9018 (LauncherWindow::showUserAgentDialog): 9019 9020 2010-03-31 Eric Seidel <eric (a] webkit.org> 9021 9022 Reviewed by Adam Barth. 9023 9024 path to committers.py in commit-queue rejection message is wrong 9025 https://bugs.webkit.org/show_bug.cgi?id=36865 9026 9027 This fix would have only been 3 lines long if we had 9028 1. Had access to an SCM object or tool to give us the checkout root 9029 2. Been able to depend on Python 2.6 9030 Instead I've added a bunch of hack code, but at least now 9031 we should never have to update this string again as the location 9032 of committers.py is fully dynamically discovered. :p 9033 9034 * Scripts/webkitpy/common/net/bugzilla.py: 9035 * Scripts/webkitpy/common/net/bugzilla_unittest.py: 9036 9037 2010-03-31 Shinichiro Hamaji <hamaji (a] chromium.org> 9038 9039 Unreviewed test fix for r56809. 9040 9041 webkit-patch what-broke throws exception 9042 https://bugs.webkit.org/show_bug.cgi?id=36852 9043 9044 * Scripts/webkitpy/common/checkout/api_unittest.py: 9045 9046 2010-03-30 Chris Jerdonek <cjerdonek (a] webkit.org> 9047 9048 Rubber stamped by Dave Levin. 9049 9050 Made check-webkit-style less chatty. 9051 9052 Examples include: 9053 - https://bugs.webkit.org/show_bug.cgi?id=36866#c4 9054 - https://bugs.webkit.org/show_bug.cgi?id=36472#c9 9055 9056 * Scripts/webkitpy/style/checker.py: 9057 - Changed unrecognized file type log message from info to debug. 9058 9059 2010-03-30 Kevin Ollivier <kevino (a] theolliviers.com> 9060 9061 [wx] Build fix after new method added. 9062 9063 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 9064 (LayoutTestController::callShouldCloseOnWebView): 9065 9066 2010-03-30 Eric Seidel <eric (a] webkit.org> 9067 9068 Reviewed by Adam Barth. 9069 9070 webkit-patch what-broke throws exception 9071 https://bugs.webkit.org/show_bug.cgi?id=36852 9072 9073 * Scripts/webkitpy/common/checkout/api.py: Add missing import StringIO. 9074 * Scripts/webkitpy/common/checkout/api_unittest.py: Test the function which previously threw and exception. 9075 9076 2010-03-30 Alexey Proskuryakov <ap (a] apple.com> 9077 9078 Reviewed by Darin Adler. 9079 9080 https://bugs.webkit.org/show_bug.cgi?id=36616 9081 Dvorak-Qwerty keyboard layout gives unexpected results in javascript keydown 9082 9083 https://bugs.webkit.org/show_bug.cgi?id=36797 9084 For non-Roman layouts, keydown Event.keyCode is always 0 9085 9086 * DumpRenderTree/mac/EventSendingController.mm: 9087 (-[EventSendingController keyDown:withModifiers:withLocation:]): Generate a correct keyCode 9088 for keys used in tests (we used to always pass 0 for 'A'). 9089 9090 2010-03-30 Adam Barth <abarth (a] webkit.org> 9091 9092 Reviewed by Eric Seidel. 9093 9094 Implement win-ews 9095 https://bugs.webkit.org/show_bug.cgi?id=36809 9096 9097 * Scripts/webkitpy/common/config/ports.py: 9098 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 9099 9100 2010-03-30 Chris Jerdonek <cjerdonek (a] webkit.org> 9101 9102 Reviewed by Eric Seidel. 9103 9104 Adjusted test-webkitpy to delete all orphaned *.pyc files 9105 from webkitpy/ prior to importing any modules from webkitpy. 9106 This ensures that no import statements in webkitpy falsely 9107 succeed because of leftover *.pyc files. 9108 9109 https://bugs.webkit.org/show_bug.cgi?id=36599 9110 9111 * Scripts/test-webkitpy: 9112 - Added _clean_pyc_files() to delete orphaned *.pyc files 9113 from a directory. 9114 - Added _clean_webkitpy_with_test() to call and test 9115 _clean_pyc_files(). 9116 - Moved the "import webkitpy.python24.versioning" statement 9117 from the top of the module to the init() method -- immediately 9118 after the call to _clean_webkitpy_with_test(). 9119 9120 2010-03-30 Fumitoshi Ukai <ukai (a] chromium.org> 9121 9122 Reviewed by Shinichiro Hamaji. 9123 9124 [Chromium-Win] subprocess.call should be called with stdin=open(os.devnull,'r') 9125 https://bugs.webkit.org/show_bug.cgi?id=36811 9126 9127 subproess.Popen() on Python 2.4/Windows with stdout,stdout, but no stdin will fail, because it uses return value of GetStdHandle(STD_INPUT_HANDLE), but DuplicateHandle requires integer, not the handle. 9128 We don't need stdin, so use devnull as stdin. 9129 Same as https://bugs.webkit.org/show_bug.cgi?id=36586 9130 9131 * Scripts/webkitpy/layout_tests/port/chromium_win.py: open os.devnull for stdin 9132 9133 2010-03-29 Eric Seidel <eric (a] webkit.org> 9134 9135 Unreviewed, build fix only. 9136 9137 * Scripts/webkitpy/tool/steps/validatereviewer.py: Add missing import. 9138 9139 2010-03-29 Hayato Ito <hayato (a] chromium.org> 9140 9141 Reviewed by Shinichiro Hamaji. 9142 9143 Remove '_flymake' suffix from base part of file name so that 9144 check-webkit-style uses a correct header guard name when it is called from Emacs's flymake. 9145 9146 https://bugs.webkit.org/show_bug.cgi?id=36573 9147 9148 * Scripts/webkitpy/style/processors/cpp.py: 9149 * Scripts/webkitpy/style/processors/cpp_unittest.py: 9150 9151 2010-03-29 Chris Jerdonek <cjerdonek (a] webkit.org> 9152 9153 Reviewed by Eric Seidel. 9154 9155 Get the following test-webkitpy unit test working again: 9156 scm_unittest.SVNTest.test_svn_apply(). 9157 9158 https://bugs.webkit.org/show_bug.cgi?id=36696 9159 9160 * Scripts/webkitpy/common/checkout/scm_unittest.py: 9161 - Add leading spaces to the empty lines of the ChangeLog strings. 9162 - Manually set the _reviewer attribute on the Attachment object 9163 to get the tests to pass. 9164 9165 2010-03-29 Martin Robinson <mrobinson (a] webkit.org> 9166 9167 Reviewed by Holger Freyther. 9168 9169 [GTK] suppress (un)desired launcher output that can make layout test to fail with stderr 9170 https://bugs.webkit.org/show_bug.cgi?id=36390 9171 9172 Suppress debugging messages sent to the GLib logger during DRT runs. 9173 9174 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9175 (logHandler): Added. 9176 (main): Use logHandler as the default GLib log message handler. 9177 9178 2010-03-29 Eric Seidel <eric (a] webkit.org> 9179 9180 Reviewed by Adam Barth. 9181 9182 sheriff-bot should comment on bugs when builders break 9183 https://bugs.webkit.org/show_bug.cgi?id=36786 9184 9185 * Scripts/webkitpy/tool/commands/sheriffbot.py: 9186 - Add a new _post_blame_comment_to_bug and all it from process_work_item 9187 - Move commit-queue logic into _post_rollout_patch to make its api match the other _post commands. 9188 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 9189 - Test the new _post_blame_comment_to_bug call 9190 9191 2010-03-29 Eric Seidel <eric (a] webkit.org> 9192 9193 Reviewed by Adam Barth. 9194 9195 sheriff-bot fails to get information about certain builds 9196 https://bugs.webkit.org/show_bug.cgi?id=36768 9197 9198 This seems to be caused by: 9199 http://buildbot.net/trac/ticket/753 9200 I have no work-around, but for now at least we're logging 9201 the error better. I also added allow_none to our ServerProxy 9202 creation in case that fixes things for other versions of python. 9203 9204 * Scripts/webkitpy/common/net/buildbot.py: 9205 9206 2010-03-29 Victor Wang <victorw (a] chromium.org> 9207 9208 Reviewed by Adam Barth. 9209 9210 Add sign in/out link to TestResults appengine 9211 9212 Add a link to main menu for sign in/out to this appengine. 9213 People signed in with admin privilege could perform 9214 actions that are only allowed to admins like deleting files. 9215 9216 https://bugs.webkit.org/show_bug.cgi?id=36767 9217 9218 * TestResultServer/handlers/menu.py: 9219 * TestResultServer/stylesheets/menu.css: 9220 (.sign): 9221 * TestResultServer/templates/menu.html: 9222 9223 2010-03-29 Eric Seidel <eric (a] webkit.org> 9224 9225 Reviewed by Adam Barth. 9226 9227 ValidateReviewer step is draconian and un-tested 9228 https://bugs.webkit.org/show_bug.cgi?id=36792 9229 9230 ValidateReviewer logic was commented out in 9231 http://trac.webkit.org/changeset/56744 9232 That was a symptom of the fact that validatereviewer.py 9233 is too inflexible to be used when real humans are driving webkit-patch. 9234 For now we just disable ValidateReviewer when humans are at the keyboard. 9235 9236 * Scripts/webkitpy/tool/steps/validatereviewer.py: 9237 - Only run when in non-interactive mode. 9238 * Scripts/webkitpy/tool/steps/validatereviewer_unittest.py: Added. 9239 - Test our validation logic to make sure it's sane. 9240 9241 2010-03-29 Chris Jerdonek <cjerdonek (a] webkit.org> 9242 9243 Reviewed by Shinichiro Hamaji. 9244 9245 Eliminate explicit slash characters from check-webkit-style's 9246 _rel_path() method to make its implementation more platform 9247 independent. 9248 9249 https://bugs.webkit.org/show_bug.cgi?id=36759 9250 9251 * Scripts/webkitpy/style/main.py: 9252 - Changed to use os.sep instead of slash_chars "/\\". This can 9253 be done since os.path.abspath() converts slashes to os.sep. 9254 9255 2010-03-29 Dirk Pranke <dpranke (a] chromium.org> 9256 9257 Reviewed by Dimitri Glazkov. 9258 9259 Change new-run-webkit-tests to not use more than four threads by 9260 default on the mac port until 9261 https://bugs.webkit.org/show_bug.cgi?id=36622 is fixed. 9262 9263 https://bugs.webkit.org/show_bug.cgi?id=36687 9264 9265 * Scripts/webkitpy/layout_tests/port/mac.py: 9266 9267 2010-03-29 Dirk Pranke <dpranke (a] chromium.org> 9268 9269 Reviewed by Dimitri Glazkov. 9270 9271 Reformat port/mac.py to fit witin 80 columns for PEP-8 compliance. 9272 9273 https://bugs.webkit.org/show_bug.cgi?id=36691 9274 9275 * Scripts/webkitpy/layout_tests/port/mac.py: 9276 9277 2010-03-29 Eric Seidel <eric (a] webkit.org> 9278 9279 Reviewed by Adam Barth. 9280 9281 new-run-webkit-tests fails java/lc3 on a clean checkout 9282 https://bugs.webkit.org/show_bug.cgi?id=36078 9283 9284 * Scripts/webkitpy/layout_tests/port/mac.py: 9285 - Build the java support files in check_build 9286 - Unwrap a line which would still fit under 80col 9287 9288 2010-02-26 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 9289 9290 Reviewed by Simon Fraser. 9291 9292 Add support for Widgets 1.0: View Mode Media Feature 9293 https://bugs.webkit.org/show_bug.cgi?id=35446 9294 9295 Add hooks to the Qt DRT for testing the view mode media feature. 9296 9297 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 9298 (LayoutTestController::setViewModeMediaFeature): 9299 * DumpRenderTree/qt/LayoutTestControllerQt.h: 9300 9301 2010-03-29 Adam Barth <abarth (a] webkit.org> 9302 9303 Unreviewed. Update expected results for unit tests. 9304 9305 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: 9306 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 9307 9308 2010-03-29 Adam Barth <abarth (a] webkit.org> 9309 9310 Unreviewed. I think Eric meant svn_revision. 9311 9312 * Scripts/webkitpy/tool/commands/sheriffbot.py: 9313 9314 2010-03-26 Eric Seidel <eric (a] webkit.org> 9315 9316 Reviewed by Adam Barth. 9317 9318 webkit-patch commit-queue should notice if it breaks builders (and roll out its own changes) 9319 https://bugs.webkit.org/show_bug.cgi?id=29311 9320 9321 Now that we have sheriff-bot watching the tree, it can post 9322 rollout patches on behalf of the commit queue. 9323 9324 * Scripts/webkitpy/common/checkout/commitinfo.py: add responsible_parties() 9325 * Scripts/webkitpy/common/checkout/commitinfo_unittest.py: test responsible_parties() 9326 * Scripts/webkitpy/tool/commands/sheriffbot.py: 9327 - Break IRC logic out into _post_irc_warning for easier testing. 9328 - Add _post_rollout_patch for posting rollout patches to bugzilla. 9329 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 9330 - Test _rollout_reason 9331 * Scripts/webkitpy/tool/grammar.py: 9332 - Fix join_with_separators to not add Adam's "oxford comma" for two item lists. 9333 * Scripts/webkitpy/tool/grammar_unittest.py: 9334 - Test join_with_separators 9335 9336 2010-03-29 Adam Barth <abarth (a] webkit.org> 9337 9338 Reviewed by Eric Seidel. 9339 9340 Sheriffbot should actually run commands 9341 https://bugs.webkit.org/show_bug.cgi?id=36776 9342 9343 Some minor changes to Sheriffbot: 9344 9345 1) We should actually run commands (by giving control back to the 9346 command processing object. 9347 9348 2) Use URLs instead of just numbers to represent SVN revisions (making 9349 it easier to folks in IRC ot followup). 9350 9351 * Scripts/webkitpy/tool/bot/irc_command.py: 9352 * Scripts/webkitpy/tool/bot/queueengine.py: 9353 * Scripts/webkitpy/tool/commands/sheriffbot.py: 9354 9355 2010-03-26 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 9356 9357 Reviewed by Antti Koivisto. 9358 9359 Renaming of frame flattening LayoutTestController method 9360 to setFrameFlatteningEnabled(bool) 9361 9362 * DumpRenderTree/LayoutTestController.cpp: 9363 (setFrameFlatteningEnabledCallback): 9364 (LayoutTestController::staticFunctions): 9365 * DumpRenderTree/LayoutTestController.h: 9366 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 9367 (LayoutTestController::setFrameFlatteningEnabled): 9368 * DumpRenderTree/mac/DumpRenderTree.mm: 9369 (resetDefaultsToConsistentValues): 9370 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 9371 (LayoutTestController::setFrameFlatteningEnabled): 9372 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 9373 (WebCore::WebPage::resetSettings): 9374 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 9375 (LayoutTestController::setFrameFlatteningEnabled): 9376 * DumpRenderTree/qt/LayoutTestControllerQt.h: 9377 * DumpRenderTree/win/DumpRenderTree.cpp: 9378 (resetDefaultsToConsistentValues): 9379 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 9380 (LayoutTestController::setFrameFlatteningEnabled): 9381 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 9382 (LayoutTestController::setFrameFlatteningEnabled): 9383 9384 2010-03-28 Gustavo Noronha Silva <gns (a] gnome.org> 9385 9386 No review, rolling out r56679. 9387 http://trac.webkit.org/changeset/56679 9388 https://bugs.webkit.org/show_bug.cgi?id=36454 9389 9390 Lots of tests broken. 9391 9392 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9393 (createWebView): 9394 9395 2010-03-28 Chris Jerdonek <cjerdonek (a] webkit.org> 9396 9397 Unreviewed. 9398 9399 Fixed typo in deprecated_logging_unittest.py, which is masking 9400 sys.stderr while running test-webkitpy. 9401 9402 See also-- https://bugs.webkit.org/show_bug.cgi?id=36725#c3 9403 9404 * Scripts/webkitpy/common/system/deprecated_logging_unittest.py: 9405 9406 2010-03-28 Chris Jerdonek <cjerdonek (a] webkit.org> 9407 9408 Reviewed by Shinichiro Hamaji. 9409 9410 Renamed check-webkit-style's --debug flag to --verbose to be more 9411 in line with other WebKit scripts. Also renamed the current 9412 --verbose flag to --min-confidence to allow the --debug rename. 9413 9414 https://bugs.webkit.org/show_bug.cgi?id=36521 9415 9416 We also renamed the internal "verbose" variables to "confidence" or 9417 "min_confidence," as appropriate, to avoid confusion with the 9418 --verbose flag, and because the new names are more accurate. 9419 9420 * Scripts/check-webkit-style: 9421 - Renamed is_debug to is_verbose. 9422 9423 * Scripts/webkitpy/style/checker.py: 9424 - Renamed _DEFAULT_VERBOSITY to _DEFAULT_CONFIDENCE. 9425 - Renamed "verbosity" parameters to "min_confidence" throughout. 9426 - Renamed configure_logging()'s is_debug parameter to is_verbose. 9427 9428 * Scripts/webkitpy/style/checker_unittest.py: 9429 - Updated the unit tests as necessary. 9430 9431 * Scripts/webkitpy/style/error_handlers.py: 9432 - Updated the call to StyleCheckerConfiguration.write_style_error(). 9433 9434 * Scripts/webkitpy/style/error_handlers_unittest.py: 9435 - Updated the unit tests as necessary. 9436 9437 * Scripts/webkitpy/style/optparser.py: 9438 - Updated the usage string with the new flag names. 9439 - Renamed the verbosity parameter to min_confidence throughout. 9440 - Renamed the is_debug parameter to is_verbose throughout. 9441 9442 * Scripts/webkitpy/style/optparser_unittest.py: 9443 - Updated the unit tests as necessary. 9444 9445 * Scripts/webkitpy/style/processors/cpp.py: 9446 - Renamed the verbosity parameter to min_confidence throughout. 9447 9448 * Scripts/webkitpy/style/processors/cpp_unittest.py: 9449 - Updated the unit tests as necessary. 9450 9451 2010-03-28 Chris Jerdonek <cjerdonek (a] webkit.org> 9452 9453 Unreviewed. 9454 9455 Added back a line that accidentally got deleted in r56690. 9456 9457 * Scripts/check-webkit-style: 9458 9459 2010-03-28 Chris Jerdonek <cjerdonek (a] webkit.org> 9460 9461 Reviewed by Shinichiro Hamaji. 9462 9463 Add to check-webkit-style support for checking directories. 9464 9465 https://bugs.webkit.org/show_bug.cgi?id=35234 9466 9467 * Scripts/check-webkit-style: 9468 - Replaced the call to check_file() with a call to check_paths(). 9469 9470 * Scripts/webkitpy/style/checker.py: 9471 - In the StyleChecker class: 9472 - Added a check_paths() method that accepts a list of paths 9473 to files and directories. 9474 - Added a _check_directory() method that checks the files 9475 in a directory. 9476 9477 * Scripts/webkitpy/style/checker_unittest.py: 9478 - Added a StyleCheckerCheckPathsTest to unit-test the new 9479 check_paths() method. 9480 9481 * Scripts/webkitpy/style/optparser.py: 9482 - Updated the usage string. 9483 9484 2010-03-28 Chris Jerdonek <cjerdonek (a] webkit.org> 9485 9486 Reviewed by Shinichiro Hamaji. 9487 9488 Changed check-webkit-style to convert paths to paths relative to 9489 the checkout root when invoking check-webkit-style with path 9490 arguments. Also added warning messages where appropriate. 9491 9492 https://bugs.webkit.org/show_bug.cgi?id=35498 9493 9494 Converting paths to paths relative to the checkout root ensures 9495 that style checking will behave as expected (since path-specific 9496 rules assume input paths are relative to a source root). 9497 9498 * Scripts/check-webkit-style: 9499 - Added debug logging of whether the current directory was found 9500 to be in a WebKit checkout. 9501 - Added the found_checkout parameter to the call to parser.parse(). 9502 - Renamed the files variable to paths. 9503 - Added a call to change_directory() prior to checking style. 9504 9505 * Scripts/webkitpy/style/checker.py: 9506 - For StyleChecker.check_file(): 9507 - Updated the docstring. 9508 - Added two log messages. 9509 9510 * Scripts/webkitpy/style/checker_unittest.py: 9511 - Updated a call to parser.parse() with the found_checkout parameter. 9512 9513 * Scripts/webkitpy/style/main.py: Added. 9514 - Added a new file so the code in this patch could be unit-tested, 9515 as opposed to adding new code to check-webkit-style. 9516 - Added the method _rel_path() as a substitute for os.path.relpath(), 9517 which is available only in Python 2.6. 9518 - Added the method change_directory(), which contains most of the 9519 new functionality in this patch. 9520 9521 * Scripts/webkitpy/style/main_unittest.py: Added. 9522 - Added RelPathTest to test main._rel_path(). 9523 - Added ChangeDirectoryTest to test main.change_directory(). 9524 9525 * Scripts/webkitpy/style/optparser.py: 9526 - Updated check-webkit-style's usage string. 9527 - For the ArgumentParser.parse() method: 9528 - Added a found_checkout parameter. 9529 - Renamed filenames to paths. 9530 - Added logic so that an error is raised if no paths are passed 9531 if found_checkout is False. 9532 9533 * Scripts/webkitpy/style/optparser_unittest.py: 9534 - Updated the ArgumentParser.parse() unit tests to include 9535 coverage for the new found_checkout parameter. 9536 9537 * Scripts/webkitpy/style/unittests.py: 9538 - Added an import statement for main_unittest. 9539 9540 * Scripts/webkitpy/style_references.py: 9541 - Renamed SimpleScm to WebKitCheckout. 9542 - Added a detect_checkout() function to allow returning None 9543 instead of a WebKitCheckout instance if no checkout is found. 9544 - Renamed checkout_root to root_path. 9545 9546 2010-03-27 Sergio Villar Senin <svillar (a] igalia.com> 9547 9548 Reviewed by Eric Seidel. 9549 9550 Print didHandleOnloadEventsForFrame in the callback of 9551 onload-event signal comming from frame loader 9552 9553 [GTK] Improve reporting of frame loader callbacks in DRT 9554 https://bugs.webkit.org/show_bug.cgi?id=36454 9555 9556 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9557 (webViewOnloadEvent): 9558 (createWebView): added connection to signal::onload-event and 9559 signal callback 9560 9561 2010-03-27 Sergio Villar Senin <svillar (a] igalia.com> 9562 9563 Reviewed by Eric Seidel. 9564 9565 Print didCommitLoadForFrame in the callback of signal::load-committed 9566 9567 [GTK] Improve reporting of frame loader callbacks in DRT 9568 https://bugs.webkit.org/show_bug.cgi?id=36454 9569 9570 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9571 (webViewLoadCommitted): 9572 (createWebView): added connection to sinal::load-committed and 9573 signal callback 9574 9575 2010-03-27 Sergio Villar Senin <svillar (a] igalia.com> 9576 9577 Reviewed by Eric Seidel. 9578 9579 Print didStartProvisionalLoadForFrame in the callback of 9580 notify::load-status property change notification 9581 9582 [GTK] Improve reporting of frame loader callbacks in DRT 9583 https://bugs.webkit.org/show_bug.cgi?id=36454 9584 9585 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9586 (webInspectorCloseWindow): 9587 (webInspectorInspectWebView): 9588 (createWebView): added connection to notify::load-status and 9589 signal callback 9590 9591 2010-03-27 Chris Jerdonek <cjerdonek (a] webkit.org> 9592 9593 Reviewed by Adam Barth. 9594 9595 In webkitpy/, deleted the /unittests.py files since test-webkitpy 9596 now auto-detects all *_unittest.py files. 9597 9598 https://bugs.webkit.org/show_bug.cgi?id=36712 9599 9600 * Scripts/webkitpy/common/net/irc/unittests.py: Removed. 9601 * Scripts/webkitpy/common/system/unittests.py: Removed. 9602 * Scripts/webkitpy/common/thread/unittests.py: Removed. 9603 * Scripts/webkitpy/common/unittests.py: Removed. 9604 * Scripts/webkitpy/python24/unittests.py: Removed. 9605 * Scripts/webkitpy/style/unittests.py: Removed. 9606 * Scripts/webkitpy/tool/unittests.py: Removed. 9607 * Scripts/webkitpy/unittests.py: Removed. 9608 9609 2010-03-27 Sergio Villar Senin <svillar (a] igalia.com> 9610 9611 Reviewed by Eric Seidel. 9612 9613 Add a CR after printing didFinishDocumentLoadForFrame 9614 9615 [GTK] Improve reporting of frame loader callbacks in DRT 9616 https://bugs.webkit.org/show_bug.cgi?id=36454 9617 9618 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9619 (webViewLoadFinished): 9620 9621 2010-03-27 Chris Jerdonek <cjerdonek (a] webkit.org> 9622 9623 Rubber-stamped by Adam Barth. 9624 9625 Fixed the name of a unit test file in webkitpy. 9626 9627 * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py: Copied from WebKitTools/Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py. 9628 * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py: Removed. 9629 9630 2010-03-26 Chris Jerdonek <cjerdonek (a] webkit.org> 9631 9632 Reviewed by Adam Barth. 9633 9634 The test-webkitpy script now automatically detects all unit-test 9635 files in webkitpy/. This lets us eliminate the need to have and 9636 maintain all of the unittests.py files. 9637 9638 https://bugs.webkit.org/show_bug.cgi?id=36591 9639 9640 * Scripts/test-webkitpy: 9641 - Replaced the "from webkitpy.unittests import *" with a call 9642 to webkitpy.test.main.Tester().run_tests(). 9643 9644 * Scripts/webkitpy/test/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py. 9645 - Required file for the new webkitpy/test/ directory. 9646 9647 * Scripts/webkitpy/test/main.py: Added. 9648 - Added a Tester class that contains the following methods: 9649 - _find_unittest_files() to detect all the unit-test files. 9650 - _modules_from_paths() to convert the paths to the unit-test 9651 files to fully-qualified module names. 9652 - run_tests() which calls the above two methods and then passes 9653 the module names to Python's unittest module. 9654 9655 2010-03-27 Robert Hogan <robert (a] webkit.org> 9656 9657 Reviewed by Simon Fraser. 9658 9659 [Qt/Win] Add support to unix and windows NS plugin for executing scripts on setWindow. 9660 9661 https://bugs.webkit.org/show_bug.cgi?id=36701 9662 9663 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: 9664 (webkit_test_plugin_new_instance): Add onSetWindow. 9665 (webkit_test_plugin_destroy_instance): Add onSetWindow. 9666 (webkit_test_plugin_set_window): Add onSetWindow. 9667 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: 9668 (NPP_New): Add onSetWindow. 9669 (NPP_Destroy): Add onSetWindow. 9670 (NPP_SetWindow): Add onSetWindow. 9671 9672 2010-03-26 Robert Hogan <robert (a] roberthogan.net> 9673 9674 Reviewed by Simon Hausmann. 9675 9676 Allow plugins implemented by the application, such as mimetype 'x-qt-plugin', 9677 when pluginsEnabled is false. 9678 9679 Add support for LayoutTestController.WebKitPluginsEnabled 9680 9681 https://bugs.webkit.org/show_bug.cgi?id=32196 9682 9683 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9684 (resetDefaultsToConsistentValues): 9685 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 9686 (copyWebSettingKey): 9687 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 9688 (WebCore::WebPage::resetSettings): 9689 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 9690 (LayoutTestController::overridePreference): 9691 9692 2010-03-26 Adam Barth <abarth (a] webkit.org> 9693 9694 Reviewed by Eric Seidel. 9695 9696 Add some basic IRC commands to sheriffbot 9697 https://bugs.webkit.org/show_bug.cgi?id=36684 9698 9699 Adds support for sheriffbot to respond to a "hi" command and a 9700 "last-green-revision" command. It's lame that we're rebuilding 9701 MultiCommandTool, but as discussed in person we'll intergrate the two 9702 once we see what the requirements are. 9703 9704 * Scripts/webkitpy/tool/bot/irc_command.py: Added. 9705 * Scripts/webkitpy/tool/bot/queueengine.py: 9706 * Scripts/webkitpy/tool/bot/queueengine_unittest.py: 9707 * Scripts/webkitpy/tool/bot/sheriffircbot.py: 9708 * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: Added. 9709 * Scripts/webkitpy/tool/commands/queues.py: 9710 * Scripts/webkitpy/tool/commands/queuestest.py: 9711 * Scripts/webkitpy/tool/commands/sheriffbot.py: 9712 * Scripts/webkitpy/tool/main.py: 9713 * Scripts/webkitpy/tool/mocktool.py: 9714 * Scripts/webkitpy/tool/unittests.py: 9715 9716 2010-03-26 Adam Barth <abarth (a] webkit.org> 9717 9718 Unreviewed. More errors in the IRC module. I have no idea how to test 9719 ircbot.py, which is too bad. Hopefully we've abstracted it away enough 9720 that we don't have to touch it very much after this patch. 9721 9722 * Scripts/webkitpy/common/net/irc/ircbot.py: 9723 9724 2010-03-26 Adam Barth <abarth (a] webkit.org> 9725 9726 Unreviewed. Add a missing "_". 9727 9728 * Scripts/webkitpy/common/net/irc/ircproxy.py: 9729 * Scripts/webkitpy/common/net/irc/ircproxy_unittest.py: Added. 9730 * Scripts/webkitpy/common/net/irc/unittests.py: 9731 9732 2010-03-26 Adam Barth <abarth (a] webkit.org> 9733 9734 Unreviewed. Fix a the commit queue after my recent change. 9735 9736 * Scripts/webkitpy/tool/bot/queueengine.py: 9737 9738 2010-03-26 Dirk Pranke <dpranke (a] chromium.org> 9739 9740 Unreviewed fix. 9741 9742 Fix the return value for port/base.diff_image (changed from 1/0 to 9743 True/False in bug 34826. 9744 9745 * Scripts/webkitpy/layout_tests/port/base.py: 9746 9747 2010-03-26 Dirk Pranke <dpranke (a] chromium.org> 9748 9749 Reviewed by Eric Seidel. 9750 9751 Change the Mac port of new-run-webkit-tests to look for a 9752 test_expectations.txt file in addition to the Skipped files, so we 9753 can track pixel failures. 9754 9755 https://bugs.webkit.org/show_bug.cgi?id=36619 9756 9757 * Scripts/webkitpy/layout_tests/port/mac.py: 9758 9759 2010-03-26 Dirk Pranke <dpranke (a] chromium.org> 9760 9761 Reviewed by Eric Seidel. 9762 9763 Implement pixel tests (image diff) properly on the Mac port. 9764 9765 This change introduces a new "ServerPocess" class that can be used 9766 to manage processes that the run-webkit-tests harness forks off and 9767 expects to stay up for longer than a single request/response session. 9768 Both DumpRenderTree and ImageDiff use this style of communication, 9769 although the current code forks off a new ImageDiff for each diff 9770 (We need to restructure other parts of the code to be able to do this 9771 safely in a multi-threaded environment). 9772 9773 Also, now that the ServerProcess abstraction exists, we can probably 9774 clean up and simplify some of the thread management logic in 9775 test_shell_thread as well. 9776 9777 https://bugs.webkit.org/show_bug.cgi?id=34826 9778 9779 * Scripts/webkitpy/layout_tests/port/mac.py: 9780 * Scripts/webkitpy/layout_tests/port/server_process.py: 9781 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 9782 9783 2010-03-26 Sergio Villar Senin <svillar (a] igalia.com> 9784 9785 Reviewed by Eric Seidel. 9786 9787 Print didFinishLoadForFrame outcome in DRT 9788 9789 [GTK] Improve reporting of frame loader callbacks in DRT 9790 https://bugs.webkit.org/show_bug.cgi?id=36454 9791 9792 * DumpRenderTree/gtk/DumpRenderTree.cpp: 9793 (webViewLoadCommitted): 9794 9795 2010-03-26 Eric Seidel <eric (a] webkit.org> 9796 9797 Unreviewed test fix. 9798 My change conflicted with one of Adam's causing test-webkitpy to fail. 9799 9800 Move commit_message_for_this_commit from scm to checkout 9801 https://bugs.webkit.org/show_bug.cgi?id=36629 9802 9803 * Scripts/webkitpy/common/checkout/api_unittest.py: 9804 - modified_changelogs is now on Checkout instead of scm. 9805 9806 2010-03-26 Adam Barth <abarth (a] webkit.org> 9807 9808 Reviewed by Eric Seidel. 9809 9810 Refactor IRCBot controller logic to allow for commands 9811 https://bugs.webkit.org/show_bug.cgi?id=36676 9812 9813 We need to move the controller logic into the tool package so it can 9814 know about commands. The changes to queueengine could go in a 9815 different patch, but we're going to need it anyway. 9816 9817 * Scripts/webkitpy/common/config/irc.py: Added. 9818 * Scripts/webkitpy/common/net/irc/ircbot.py: 9819 * Scripts/webkitpy/common/net/irc/ircproxy.py: 9820 * Scripts/webkitpy/tool/bot/queueengine.py: 9821 * Scripts/webkitpy/tool/bot/sheriffircbot.py: Added. 9822 * Scripts/webkitpy/tool/commands/sheriffbot.py: 9823 * Scripts/webkitpy/tool/main.py: 9824 * Scripts/webkitpy/tool/mocktool.py: 9825 9826 2010-03-26 Adam Barth <abarth (a] webkit.org> 9827 9828 Rubber stamped by Eric Seidel. 9829 9830 Move the threading code into its own module. (It has nothing to do with IRC.) 9831 9832 * Scripts/webkitpy/common/net/irc/ircbot.py: 9833 * Scripts/webkitpy/common/net/irc/ircproxy.py: 9834 * Scripts/webkitpy/common/net/irc/messagepump.py: Removed. 9835 * Scripts/webkitpy/common/net/irc/messagepump_unittest.py: Removed. 9836 * Scripts/webkitpy/common/net/irc/threadedmessagequeue.py: Removed. 9837 * Scripts/webkitpy/common/net/irc/threadedmessagequeue_unittest.py: Removed. 9838 * Scripts/webkitpy/common/net/irc/unittests.py: 9839 * Scripts/webkitpy/common/thread: Added. 9840 * Scripts/webkitpy/common/thread/__init__.py: Added. 9841 * Scripts/webkitpy/common/thread/messagepump.py: Copied from Scripts/webkitpy/common/net/irc/messagepump.py. 9842 * Scripts/webkitpy/common/thread/messagepump_unittest.py: Copied from Scripts/webkitpy/common/net/irc/messagepump_unittest.py. 9843 * Scripts/webkitpy/common/thread/threadedmessagequeue.py: Copied from Scripts/webkitpy/common/net/irc/threadedmessagequeue.py. 9844 * Scripts/webkitpy/common/thread/threadedmessagequeue_unittest.py: Copied from Scripts/webkitpy/common/net/irc/threadedmessagequeue_unittest.py. 9845 * Scripts/webkitpy/common/thread/unittests.py: Added. 9846 * Scripts/webkitpy/common/unittests.py: 9847 9848 2010-03-26 Eric Seidel <eric (a] webkit.org> 9849 9850 Reviewed by Adam Barth. 9851 9852 Move commit_message_for_this_commit from scm to checkout 9853 https://bugs.webkit.org/show_bug.cgi?id=36629 9854 9855 Finally add some basic unit testing for Checkout.commit_message_for_this_commit 9856 9857 * Scripts/webkitpy/common/checkout/api.py: 9858 * Scripts/webkitpy/common/checkout/api_unittest.py: Added. 9859 * Scripts/webkitpy/common/unittests.py: 9860 9861 2010-03-26 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 9862 9863 [Qt] User Agent Switcher on QtLauncher 9864 https://bugs.webkit.org/show_bug.cgi?id=36451 9865 9866 Patch by Diego Gonzalez <diego.gonzalez (a] openbossa.org> on 2010-03-26 9867 Reviewed by Simon Hausmann. 9868 9869 Make possible to change the QtLauncher user agent via 9870 a predefined list. 9871 9872 * QtLauncher/QtLauncher.pro: 9873 * QtLauncher/QtLauncher.qrc: Added. 9874 * QtLauncher/main.cpp: 9875 (LauncherWindow::showUserAgentDialog): 9876 (LauncherWindow::createChrome): 9877 * QtLauncher/useragentlist.txt: Added. 9878 * QtLauncher/webpage.cpp: 9879 (WebPage::userAgentForUrl): 9880 * QtLauncher/webpage.h: 9881 (WebPage::setUserAgent): 9882 9883 2010-03-26 Victor Wang <victorw (a] chromium.org> 9884 9885 Reviewed by Adam Barth. 9886 9887 Host layout test flakiness dashboard in TestResultServer appengine. 9888 9889 Flakiness dashboard is a tool to monitor layout test status and 9890 help layout test regression diagnostics. 9891 9892 https://bugs.webkit.org/show_bug.cgi?id=36195 9893 9894 * TestResultServer/handlers/dashboardhandler.py: Added. 9895 - New handler to handle dashboard request 9896 * TestResultServer/handlers/menu.py: 9897 - Add new dashboard links 9898 * TestResultServer/handlers/testfilehandler.py: 9899 - Request routes refactory 9900 * TestResultServer/index.yaml: 9901 * TestResultServer/main.py: 9902 - Add new dashboard request routes and refactor test result file rountes. 9903 * TestResultServer/model/dashboardfile.py: Added. 9904 - Model to access datastore for dashboard files 9905 * TestResultServer/model/testfile.py: 9906 * TestResultServer/stylesheets/dashboardfile.css: Added. 9907 * TestResultServer/templates/dashboardfilelist.html: Added. 9908 * TestResultServer/templates/showfilelist.html: 9909 9910 2010-03-26 Adam Barth <abarth (a] webkit.org> 9911 9912 Reviewed by Eric Seidel. 9913 9914 Remove some evil statics from CommitInfo 9915 https://bugs.webkit.org/show_bug.cgi?id=36637 9916 9917 These methods should really be on checkout. You can tell because they 9918 know about ChangeLogs and take an SCM as an argument. :) 9919 9920 * Scripts/webkitpy/common/checkout/api.py: 9921 * Scripts/webkitpy/common/checkout/changelog.py: 9922 * Scripts/webkitpy/common/checkout/commitinfo.py: 9923 * Scripts/webkitpy/tool/commands/queries.py: 9924 9925 2010-03-23 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 9926 9927 Reviewed by Simon Hausmann. 9928 9929 Add an option to QtLauncher to enable/disable a QGLWidget as Viewport 9930 of the QGraphicsView when the launcher is running on graphicsview mode. 9931 9932 [Qt] QtLauncher needs an option to Enable/Disable a QGLWidget as Viewport 9933 https://bugs.webkit.org/show_bug.cgi?id=36270 9934 9935 * QtLauncher/QtLauncher.pro: 9936 * QtLauncher/main.cpp: 9937 (LauncherWindow::toggleQGLWidgetViewport): 9938 (LauncherWindow::createChrome): 9939 9940 2010-03-26 Fumitoshi Ukai <ukai (a] chromium.org> 9941 9942 Reviewed by Shinichiro Hamaji. 9943 9944 [Chromium-Win] websocket_server.py failed to start 9945 https://bugs.webkit.org/show_bug.cgi?id=36586 9946 9947 subproess.Popen() on Python 2.4/Windows with stdout,stdout, but no stdin will fail, because it uses return value of GetStdHandle(STD_INPUT_HANDLE), but DuplicateHandle requires integer, not the handle. 9948 We don't need stdin, so use devnull as stdin. 9949 9950 * Scripts/webkitpy/layout_tests/port/websocket_server.py: open os.devnull for stdin 9951 9952 2010-03-26 Kent Tamura <tkent (a] chromium.org> 9953 9954 Reviewed by Dimitri Glazkov. 9955 9956 [DRT/Chromium] Add TestNavigationController and TestWebWorker 9957 https://bugs.webkit.org/show_bug.cgi?id=36520 9958 9959 Add LayoutTestController class, which is going to be used by 9960 DumpRenderTree Chromium port. These files are based on: 9961 - src/webkit/tools/test_shell/layout_test_controller.cc 9962 - src/webkit/tools/test_shell/layout_test_controller.h 9963 of Chromium rev.40492. 9964 9965 * DumpRenderTree/chromium/LayoutTestController.cpp: Added. 9966 * DumpRenderTree/chromium/LayoutTestController.h: Added. 9967 9968 2010-03-25 Charlie Reis <creis (a] chromium.org> 9969 9970 Reviewed by Adam Barth. 9971 9972 onbeforeunload not called at window close + frame or iframe focused 9973 https://bugs.webkit.org/show_bug.cgi?id=27481 9974 9975 Adds a callShouldCloseOnWebView method to LayoutTestController, 9976 to allow automated testing for bug 27481. 9977 9978 * DumpRenderTree/LayoutTestController.cpp: 9979 (callShouldCloseOnWebViewCallback): 9980 (LayoutTestController::staticFunctions): 9981 * DumpRenderTree/LayoutTestController.h: 9982 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 9983 (LayoutTestController::callShouldCloseOnWebView): 9984 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 9985 (LayoutTestController::callShouldCloseOnWebView): 9986 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 9987 (LayoutTestController::callShouldCloseOnWebView): 9988 * DumpRenderTree/qt/LayoutTestControllerQt.h: 9989 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 9990 (LayoutTestController::callShouldCloseOnWebView): 9991 9992 2010-03-25 Eric Seidel <eric (a] webkit.org> 9993 9994 Reviewed by Adam Barth. 9995 9996 Add webkit-patch lkgr for finding last known good revision 9997 https://bugs.webkit.org/show_bug.cgi?id=36626 9998 9999 This is rather slow for now because the command 10000 has to compute this information from the buildbot. 10001 A better long-term solution would be to have a server 10002 somewhere store a pre-computed LKGR and then any 10003 script (like webkit-patch) could just fetch it. 10004 10005 * Scripts/webkitpy/common/net/buildbot.py: 10006 * Scripts/webkitpy/tool/commands/queries.py: 10007 10008 2010-03-25 Adam Barth <abarth (a] webkit.org> 10009 10010 Reviewed by Eric Seidel. 10011 10012 Move modified_changelogs (and friends) from scm to checkout 10013 https://bugs.webkit.org/show_bug.cgi?id=36636 10014 10015 These functions know about ChangeLogs, which is forbidden knowledge in 10016 scm.py. 10017 10018 * Scripts/webkitpy/common/checkout/api.py: 10019 * Scripts/webkitpy/common/checkout/changelog.py: 10020 * Scripts/webkitpy/common/checkout/scm.py: 10021 * Scripts/webkitpy/tool/mocktool.py: 10022 * Scripts/webkitpy/tool/steps/abstractstep.py: 10023 * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py: 10024 * Scripts/webkitpy/tool/steps/revertrevision.py: 10025 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: 10026 * Scripts/webkitpy/tool/steps/validatereviewer.py: 10027 10028 2010-03-25 Adam Barth <abarth (a] webkit.org> 10029 10030 Reviewed by Eric Seidel. 10031 10032 Move apply_patch from scm to checkout 10033 https://bugs.webkit.org/show_bug.cgi?id=36635 10034 10035 SCM shouldn't have any knowledge of WebKit scripts. 10036 10037 * Scripts/webkitpy/common/checkout/api.py: 10038 * Scripts/webkitpy/common/checkout/scm.py: 10039 * Scripts/webkitpy/common/checkout/scm_unittest.py: 10040 * Scripts/webkitpy/tool/mocktool.py: 10041 * Scripts/webkitpy/tool/steps/applypatch.py: 10042 10043 2010-03-25 Eric Seidel <eric (a] webkit.org> 10044 10045 Unreviewed build fix to un-break webkit-patch land. 10046 Test-case coming in follow-up commit. 10047 10048 Move commit_message_for_this_commit from scm to checkout 10049 https://bugs.webkit.org/show_bug.cgi?id=36629 10050 10051 * Scripts/webkitpy/common/checkout/api.py: import scm.CommitMessage 10052 10053 2010-03-25 Dan Bernstein <mitz (a] apple.com> 10054 10055 Reviewed by Darin Adler. 10056 10057 <rdar://problem/7728903> Support color bitmap fonts 10058 10059 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added ColorBits.ttf 10060 and ColorBits-A.png. 10061 * DumpRenderTree/fonts/ColorBits-A.png: Copied from WebCore/inspector/front-end/Images/successGreenDot.png. 10062 * DumpRenderTree/fonts/ColorBits.ttf: Added. 10063 * DumpRenderTree/mac/DumpRenderTree.mm: 10064 (activateFonts): Activate ColorBits.ttf. 10065 10066 2010-03-25 Mark Rowe <mrowe (a] apple.com> 10067 10068 Remove a printf that was causing commit-log-editor to spew the name of the editor 10069 to the terminal many times during a commit. 10070 10071 * Scripts/commit-log-editor: 10072 10073 2010-03-25 Adam Barth <abarth (a] webkit.org> 10074 10075 Reviewed by Eric Seidel. 10076 10077 Move commit_message_for_this_commit from scm to checkout 10078 https://bugs.webkit.org/show_bug.cgi?id=36629 10079 10080 This function requires knowledge of ChangeLogs, but scm shouldn't know 10081 about ChangeLogs. 10082 10083 * Scripts/webkitpy/common/checkout/api.py: 10084 * Scripts/webkitpy/common/checkout/scm.py: 10085 * Scripts/webkitpy/tool/commands/upload.py: 10086 * Scripts/webkitpy/tool/commands/upload_unittest.py: 10087 * Scripts/webkitpy/tool/mocktool.py: 10088 * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py: 10089 * Scripts/webkitpy/tool/steps/commit.py: 10090 10091 2010-03-25 Adam Barth <abarth (a] webkit.org> 10092 10093 Reviewed by Eric Seidel. 10094 10095 REGRESSION: webkit-patch land can't land "rubber-stamped" patches 10096 https://bugs.webkit.org/show_bug.cgi?id=36582 10097 10098 Allow a "-" in rubber stamped. 10099 10100 * Scripts/webkitpy/tool/steps/validatereviewer.py: 10101 10102 2010-03-25 Adam Barth <abarth (a] webkit.org> 10103 10104 Unreviewed. Fix some copyright lines to remove extraneous comma and 10105 python directive. 10106 10107 * Scripts/webkitpy/tool/bot/patchcollection.py: 10108 * Scripts/webkitpy/tool/bot/patchcollection_unittest.py: 10109 * Scripts/webkitpy/tool/bot/queueengine.py: 10110 * Scripts/webkitpy/tool/bot/queueengine_unittest.py: 10111 * Scripts/webkitpy/tool/commands/download.py: 10112 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: 10113 * Scripts/webkitpy/tool/commands/queries.py: 10114 * Scripts/webkitpy/tool/commands/queues.py: 10115 * Scripts/webkitpy/tool/commands/sheriffbot.py: 10116 * Scripts/webkitpy/tool/comments.py: 10117 * Scripts/webkitpy/tool/grammar.py: 10118 * Scripts/webkitpy/tool/multicommandtool.py: 10119 * Scripts/webkitpy/tool/multicommandtool_unittest.py: 10120 10121 2010-03-25 Simon Fraser <simon.fraser (a] apple.com> 10122 10123 Reviewed by Darin Adler, Alexey Proskuryakov. 10124 10125 https://bugs.webkit.org/show_bug.cgi?id=36631 10126 Allow the test plugin to run scripts in response to NPP_SetWindow calls 10127 10128 Hook up the ability for the TestNetscapePlugIn to run JavaScript in 10129 response to NPP_SetWindow. 10130 10131 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 10132 (pluginAllocate): 10133 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 10134 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 10135 (NPP_New): 10136 (NPP_Destroy): 10137 (NPP_SetWindow): 10138 10139 2010-03-25 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 10140 10141 Unreviewed, build fix. 10142 10143 [Qt] Fix QtLauncher guards. 10144 10145 * QtLauncher/main.cpp: 10146 (LauncherWindow::showFPS): 10147 (LauncherWindow::updateFPS): 10148 10149 2010-03-25 Yury Semikhatsky <yurys (a] chromium.org> 10150 10151 Reviewed by Pavel Feldman. 10152 10153 Allow running tests with enabled developer extras and closed Web Inspector. Tests that have inspector-enabled/ in their path/url will have developer extras enabled. 10154 10155 https://bugs.webkit.org/show_bug.cgi?id=36610 10156 10157 * DumpRenderTree/LayoutTestController.h: 10158 * DumpRenderTree/gtk/DumpRenderTree.cpp: 10159 (shouldEnableDeveloperExtras): 10160 (runTest): 10161 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 10162 (LayoutTestController::setJavaScriptProfilingEnabled): 10163 (LayoutTestController::setDeveloperExtrasEnabled): 10164 (LayoutTestController::showWebInspector): 10165 (LayoutTestController::closeWebInspector): 10166 * DumpRenderTree/mac/DumpRenderTree.mm: 10167 (shouldEnableDeveloperExtras): 10168 (runTest): 10169 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 10170 (LayoutTestController::setJavaScriptProfilingEnabled): 10171 (LayoutTestController::setDeveloperExtrasEnabled): 10172 (LayoutTestController::showWebInspector): 10173 (LayoutTestController::closeWebInspector): 10174 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 10175 (WebCore::shouldEnableDeveloperExtras): 10176 (WebCore::DumpRenderTree::open): 10177 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 10178 (LayoutTestController::closeWebInspector): 10179 (LayoutTestController::setDeveloperExtrasEnabled): 10180 (LayoutTestController::showWebInspector): 10181 (LayoutTestController::setJavaScriptProfilingEnabled): 10182 * DumpRenderTree/win/DumpRenderTree.cpp: 10183 (shouldEnableDeveloperExtras): 10184 (runTest): 10185 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 10186 (LayoutTestController::setJavaScriptProfilingEnabled): 10187 (LayoutTestController::setDeveloperExtrasEnabled): 10188 (LayoutTestController::showWebInspector): 10189 (LayoutTestController::closeWebInspector): 10190 10191 2010-03-25 Adam Barth <abarth (a] webkit.org> 10192 10193 Rubber stamped by Eric Seidel. 10194 10195 Tweaks to sheriffbot to improve latency by keeping the working copy up 10196 to date even when there's no build break. Also, officially move 10197 sheriffbot to #webkit. 10198 10199 (Also teach ValidateReviewer to understand rubber stamps.) 10200 10201 * Scripts/webkitpy/common/net/irc/ircbot.py: 10202 * Scripts/webkitpy/tool/commands/sheriffbot.py: 10203 * Scripts/webkitpy/tool/steps/validatereviewer.py: 10204 10205 2010-03-22 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 10206 10207 Reviewed by Simon Hausmann. 10208 10209 Not displaying FPS info on the terminal. On S60 and Maemo the 10210 Window title will be used and Status bar will used on desktop. 10211 10212 [Qt] QtLauncher's FPS info should not be displayed on the terminal 10213 https://bugs.webkit.org/show_bug.cgi?id=36244 10214 10215 * QtLauncher/main.cpp: 10216 (LauncherWindow::initializeView): 10217 (LauncherWindow::showFPS): 10218 (LauncherWindow::updateFPS): 10219 * QtLauncher/webview.cpp: 10220 (WebViewGraphicsBased::setFrameRateMeasurementEnabled): 10221 (WebViewGraphicsBased::updateFrameRate): 10222 * QtLauncher/webview.h: 10223 (WebViewGraphicsBased::frameRateMeasurementEnabled): 10224 10225 2010-03-25 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 10226 10227 Reviewed by Kenneth Christiansen. 10228 10229 Added missing frame flattening activation on 10230 fast/frames/flattening/frameset-flattening-grid.html; 10231 removed unnecessary CONSOLE MESSAGE from the expected file; 10232 reset the setFrameSetFlatteningEnabled for each test. 10233 10234 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 10235 (WebCore::WebPage::resetSettings): 10236 10237 2010-03-25 Chris Jerdonek <cjerdonek (a] webkit.org> 10238 10239 Reviewed by Adam Barth. 10240 10241 Moved deprecated_logging unit test import statement from 10242 webkitpy/unittests.py to webkitpy/common/system/unittests.py. 10243 10244 https://bugs.webkit.org/show_bug.cgi?id=36093 10245 10246 This is part of the master bug to reorganize webkitpy. 10247 10248 * Scripts/webkitpy/common/system/unittests.py: 10249 * Scripts/webkitpy/unittests.py: 10250 10251 2010-03-25 Chris Jerdonek <cjerdonek (a] webkit.org> 10252 10253 Reviewed by Adam Barth. 10254 10255 Moved webkit_logging.py to common/system/deprecated_logging.py 10256 inside webkitpy. 10257 10258 https://bugs.webkit.org/show_bug.cgi?id=36093 10259 10260 This is part of the master bug to reorganize webkitpy. 10261 10262 * Scripts/validate-committer-lists: 10263 * Scripts/webkitpy/common/checkout/changelog.py: 10264 * Scripts/webkitpy/common/checkout/scm.py: 10265 * Scripts/webkitpy/common/net/bugzilla.py: 10266 * Scripts/webkitpy/common/net/buildbot.py: 10267 * Scripts/webkitpy/common/net/credentials.py: 10268 * Scripts/webkitpy/common/net/irc/ircproxy.py: 10269 * Scripts/webkitpy/common/net/networktransaction.py: 10270 * Scripts/webkitpy/common/net/statusserver.py: 10271 * Scripts/webkitpy/common/system/deprecated_logging.py: Copied from WebKitTools/Scripts/webkitpy/webkit_logging.py. 10272 * Scripts/webkitpy/common/system/deprecated_logging_unittest.py: Copied from WebKitTools/Scripts/webkitpy/webkit_logging_unittest.py. 10273 * Scripts/webkitpy/common/system/executive.py: 10274 * Scripts/webkitpy/tool/bot/queueengine.py: 10275 * Scripts/webkitpy/tool/commands/download.py: 10276 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: 10277 * Scripts/webkitpy/tool/commands/openbugs.py: 10278 * Scripts/webkitpy/tool/commands/queries.py: 10279 * Scripts/webkitpy/tool/commands/queues.py: 10280 * Scripts/webkitpy/tool/commands/sheriffbot.py: 10281 * Scripts/webkitpy/tool/commands/stepsequence.py: 10282 * Scripts/webkitpy/tool/commands/upload.py: 10283 * Scripts/webkitpy/tool/main.py: 10284 * Scripts/webkitpy/tool/mocktool.py: 10285 * Scripts/webkitpy/tool/multicommandtool.py: 10286 * Scripts/webkitpy/tool/steps/abstractstep.py: 10287 * Scripts/webkitpy/tool/steps/applypatch.py: 10288 * Scripts/webkitpy/tool/steps/build.py: 10289 * Scripts/webkitpy/tool/steps/checkstyle.py: 10290 * Scripts/webkitpy/tool/steps/closebug.py: 10291 * Scripts/webkitpy/tool/steps/closebugforlanddiff.py: 10292 * Scripts/webkitpy/tool/steps/confirmdiff.py: 10293 * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py: 10294 * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py: 10295 * Scripts/webkitpy/tool/steps/obsoletepatches.py: 10296 * Scripts/webkitpy/tool/steps/preparechangelog.py: 10297 * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py: 10298 * Scripts/webkitpy/tool/steps/runtests.py: 10299 * Scripts/webkitpy/tool/steps/update.py: 10300 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: 10301 * Scripts/webkitpy/tool/steps/validatereviewer.py: 10302 * Scripts/webkitpy/unittests.py: 10303 * Scripts/webkitpy/webkit_logging.py: Removed. 10304 * Scripts/webkitpy/webkit_logging_unittest.py: Removed. 10305 10306 2010-03-25 Julien Chaffraix <jchaffraix (a] webkit.org> 10307 10308 Reviewed by Kenneth Rohde Christiansen. 10309 10310 commit-log-editor can call itself in an infinite loop 10311 https://bugs.webkit.org/show_bug.cgi?id=35291 10312 10313 if $editor ends up being commit-log-editor, the script will exec itself 10314 in an infinite loop. 10315 10316 To avoid this, we now check that the $editor variable is not 10317 commit-log-editor to avoid this case. 10318 10319 * Scripts/commit-log-editor: Added an isCommitLogEditor method and 10320 reworked the $editor setting to add this check. 10321 10322 2010-03-25 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 10323 10324 Reviewed by Kenneth Rohde Christiansen. 10325 10326 Add a Toggle Frame Flattening option to QtLauncher. 10327 It will be enabled by default on Maemo5 and S60 platforms. 10328 10329 [Qt] Add enable/disable Frame Flattening option to QtLauncher 10330 https://bugs.webkit.org/show_bug.cgi?id=36558 10331 10332 * QtLauncher/main.cpp: 10333 (LauncherWindow::applyPrefs): 10334 (LauncherWindow::toggleFrameFlattening): 10335 (LauncherWindow::createChrome): 10336 10337 2010-03-25 Zoltan Horvath <zoltan (a] webkit.org> 10338 10339 Reviewed by Eric Seidel. 10340 10341 svn-create-patch prints a warning for large patches 10342 https://bugs.webkit.org/show_bug.cgi?id=32582 10343 10344 svn-create-patch prints a warning message for larger patches than 20k. 10345 10346 * Scripts/svn-create-patch: 10347 10348 2010-03-25 Adam Barth <abarth (a] webkit.org> 10349 10350 Unreviewed. Renamed early_warning_system.py to earlywarningsystem.py. 10351 https://bugs.webkit.org/show_bug.cgi?id=36093 10352 10353 * Scripts/webkitpy/tool/commands/early_warning_system.py: Removed. 10354 * Scripts/webkitpy/tool/commands/early_warning_system_unittest.py: Removed. 10355 * Scripts/webkitpy/tool/commands/earlywarningsystem.py: Copied from Scripts/webkitpy/tool/commands/early_warning_system.py. 10356 * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: Copied from Scripts/webkitpy/tool/commands/early_warning_system_unittest.py. 10357 * Scripts/webkitpy/tool/main.py: 10358 * Scripts/webkitpy/tool/unittests.py: 10359 10360 2010-03-25 Chris Jerdonek <cjerdonek (a] webkit.org> 10361 10362 Reviewed by Adam Barth. 10363 10364 In webkitpy, pushed the unit test import statements in 10365 webkitpy/unittests.py into appropriate unittests.py files in the 10366 new root-level packages beneath webkitpy. 10367 10368 https://bugs.webkit.org/show_bug.cgi?id=36093 10369 10370 This is part of the master bug to reorganize webkitpy. 10371 10372 * Scripts/webkitpy/common/system/unittests.py: 10373 * Scripts/webkitpy/common/unittests.py: Added. 10374 * Scripts/webkitpy/python24/unittests.py: Added. 10375 * Scripts/webkitpy/tool/unittests.py: Added. 10376 * Scripts/webkitpy/unittests.py: 10377 10378 2010-03-25 Adam Barth <abarth (a] webkit.org> 10379 10380 Unreviewed. Move WebKitCheckout into the webkitpy.common.checkout 10381 package. 10382 https://bugs.webkit.org/show_bug.cgi?id=36093 10383 10384 * Scripts/webkitpy/common/checkout/api.py: Copied from Scripts/webkitpy/webkitcheckout.py. 10385 * Scripts/webkitpy/tool/main.py: 10386 * Scripts/webkitpy/tool/mocktool.py: 10387 * Scripts/webkitpy/webkitcheckout.py: Removed. 10388 10389 2010-03-25 Adam Barth <abarth (a] webkit.org> 10390 10391 Unreviewed. Move OutputCapture to webkitpy.common.system. 10392 https://bugs.webkit.org/show_bug.cgi?id=36093 10393 10394 * Scripts/webkitpy/common/net/bugzilla_unittest.py: 10395 * Scripts/webkitpy/common/net/credentials_unittest.py: 10396 * Scripts/webkitpy/common/system/outputcapture.py: Copied from Scripts/webkitpy/outputcapture.py. 10397 * Scripts/webkitpy/outputcapture.py: Removed. 10398 * Scripts/webkitpy/tool/commands/commandtest.py: 10399 * Scripts/webkitpy/tool/commands/queues_unittest.py: 10400 * Scripts/webkitpy/tool/commands/queuestest.py: 10401 * Scripts/webkitpy/tool/multicommandtool_unittest.py: 10402 * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py: 10403 * Scripts/webkitpy/tool/steps/steps_unittest.py: 10404 * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py: 10405 10406 2010-03-25 Adam Barth <abarth (a] webkit.org> 10407 10408 Unreviewed. Move user.py to webkitpy.common.system. 10409 10410 * Scripts/webkitpy/common/checkout/scm.py: 10411 * Scripts/webkitpy/common/net/bugzilla.py: 10412 * Scripts/webkitpy/common/net/credentials.py: 10413 * Scripts/webkitpy/common/system/user.py: Copied from Scripts/webkitpy/user.py. 10414 * Scripts/webkitpy/common/system/user_unittest.py: Copied from Scripts/webkitpy/user_unittest.py. 10415 * Scripts/webkitpy/tool/commands/upload.py: 10416 * Scripts/webkitpy/tool/main.py: 10417 * Scripts/webkitpy/unittests.py: 10418 * Scripts/webkitpy/user.py: Removed. 10419 * Scripts/webkitpy/user_unittest.py: Removed. 10420 10421 2010-03-25 Adam Barth <abarth (a] webkit.org> 10422 10423 Unreviewed. Move executive.py to webkitpy.common.system. 10424 https://bugs.webkit.org/show_bug.cgi?id=36093 10425 10426 * Scripts/webkitpy/common/checkout/scm.py: 10427 * Scripts/webkitpy/common/checkout/scm_unittest.py: 10428 * Scripts/webkitpy/common/config/ports.py: 10429 * Scripts/webkitpy/common/config/ports_unittest.py: 10430 * Scripts/webkitpy/common/net/credentials.py: 10431 * Scripts/webkitpy/common/net/credentials_unittest.py: 10432 * Scripts/webkitpy/common/system/executive.py: Copied from Scripts/webkitpy/executive.py. 10433 * Scripts/webkitpy/common/system/executive_unittest.py: Copied from Scripts/webkitpy/executive_unittest.py. 10434 * Scripts/webkitpy/executive.py: Removed. 10435 * Scripts/webkitpy/executive_unittest.py: Removed. 10436 * Scripts/webkitpy/layout_tests/port/mac.py: 10437 * Scripts/webkitpy/tool/bot/queueengine.py: 10438 * Scripts/webkitpy/tool/bot/queueengine_unittest.py: 10439 * Scripts/webkitpy/tool/commands/download.py: 10440 * Scripts/webkitpy/tool/commands/early_warning_system.py: 10441 * Scripts/webkitpy/tool/commands/queues.py: 10442 * Scripts/webkitpy/tool/commands/stepsequence.py: 10443 * Scripts/webkitpy/tool/main.py: 10444 * Scripts/webkitpy/tool/steps/checkstyle.py: 10445 * Scripts/webkitpy/tool/steps/preparechangelog.py: 10446 * Scripts/webkitpy/unittests.py: 10447 * Scripts/webkitpy/webkit_logging_unittest.py: 10448 10449 2010-03-25 Adam Barth <abarth (a] webkit.org> 10450 10451 Unreviewed. Move grammary.py into webkitpy.tool. 10452 https://bugs.webkit.org/show_bug.cgi?id=36093 10453 10454 * Scripts/webkitpy/grammar.py: Removed. 10455 * Scripts/webkitpy/grammar_unittest.py: Removed. 10456 * Scripts/webkitpy/tool/commands/download.py: 10457 * Scripts/webkitpy/tool/commands/queries.py: 10458 * Scripts/webkitpy/tool/commands/queues.py: 10459 * Scripts/webkitpy/tool/commands/upload.py: 10460 * Scripts/webkitpy/tool/grammar.py: Copied from Scripts/webkitpy/grammar.py. 10461 * Scripts/webkitpy/tool/grammar_unittest.py: Copied from Scripts/webkitpy/grammar_unittest.py. 10462 * Scripts/webkitpy/tool/multicommandtool.py: 10463 * Scripts/webkitpy/tool/steps/obsoletepatches.py: 10464 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: 10465 * Scripts/webkitpy/unittests.py: 10466 10467 2010-03-25 Chris Jerdonek <cjerdonek (a] webkit.org> 10468 10469 Reviewed by Adam Barth. 10470 10471 In webkitpy, moved init/ to common/system/. 10472 10473 https://bugs.webkit.org/show_bug.cgi?id=36093 10474 10475 This is part of the master bug to reorganize webkitpy. 10476 10477 * Scripts/webkitpy/common/system: Copied from WebKitTools/Scripts/webkitpy/init. 10478 * Scripts/webkitpy/common/system/logutils.py: 10479 * Scripts/webkitpy/common/system/logutils_unittest.py: 10480 * Scripts/webkitpy/init: Removed. 10481 * Scripts/webkitpy/init/__init__.py: Removed. 10482 * Scripts/webkitpy/init/logtesting.py: Removed. 10483 * Scripts/webkitpy/init/logutils.py: Removed. 10484 * Scripts/webkitpy/init/logutils_unittest.py: Removed. 10485 * Scripts/webkitpy/init/unittests.py: Removed. 10486 * Scripts/webkitpy/python24/versioning_unittest.py: 10487 * Scripts/webkitpy/style_references.py: 10488 * Scripts/webkitpy/unittests.py: 10489 10490 2010-03-25 Adam Barth <abarth (a] webkit.org> 10491 10492 Unreviewed. Move stepsequence to webkitpy.tool.commands. 10493 https://bugs.webkit.org/show_bug.cgi?id=36093 10494 10495 * Scripts/webkitpy/stepsequence.py: Removed. 10496 * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py: 10497 * Scripts/webkitpy/tool/commands/download.py: 10498 * Scripts/webkitpy/tool/commands/queues.py: 10499 * Scripts/webkitpy/tool/commands/stepsequence.py: Copied from Scripts/webkitpy/stepsequence.py. 10500 10501 2010-03-25 Adam Barth <abarth (a] webkit.org> 10502 10503 Unreviewed. Create webkitpy.common.checkout as described in 10504 https://bugs.webkit.org/show_bug.cgi?id=36093 10505 10506 * Scripts/webkitpy/changelogs.py: Removed. 10507 * Scripts/webkitpy/changelogs_unittest.py: Removed. 10508 * Scripts/webkitpy/commitinfo.py: Removed. 10509 * Scripts/webkitpy/commitinfo_unittest.py: Removed. 10510 * Scripts/webkitpy/common/checkout: Added. 10511 * Scripts/webkitpy/common/checkout/__init__.py: Copied from Scripts/webkitpy/common/__init__.py. 10512 * Scripts/webkitpy/common/checkout/changelog.py: Copied from Scripts/webkitpy/changelogs.py. 10513 * Scripts/webkitpy/common/checkout/changelog_unittest.py: Copied from Scripts/webkitpy/changelogs_unittest.py. 10514 * Scripts/webkitpy/common/checkout/commitinfo.py: Copied from Scripts/webkitpy/commitinfo.py. 10515 * Scripts/webkitpy/common/checkout/commitinfo_unittest.py: Copied from Scripts/webkitpy/commitinfo_unittest.py. 10516 * Scripts/webkitpy/common/checkout/diff_parser.py: Copied from Scripts/webkitpy/diff_parser.py. 10517 * Scripts/webkitpy/common/checkout/diff_parser_unittest.py: Copied from Scripts/webkitpy/diff_parser_unittest.py. 10518 * Scripts/webkitpy/common/checkout/scm.py: Copied from Scripts/webkitpy/scm.py. 10519 * Scripts/webkitpy/common/checkout/scm_unittest.py: Copied from Scripts/webkitpy/scm_unittest.py. 10520 * Scripts/webkitpy/common/net/credentials.py: 10521 * Scripts/webkitpy/diff_parser.py: Removed. 10522 * Scripts/webkitpy/diff_parser_unittest.py: Removed. 10523 * Scripts/webkitpy/layout_tests/port/base.py: 10524 * Scripts/webkitpy/scm.py: Removed. 10525 * Scripts/webkitpy/scm_unittest.py: Removed. 10526 * Scripts/webkitpy/stepsequence.py: 10527 * Scripts/webkitpy/style_references.py: 10528 * Scripts/webkitpy/tool/commands/download.py: 10529 * Scripts/webkitpy/tool/commands/queries.py: 10530 * Scripts/webkitpy/tool/comments.py: 10531 * Scripts/webkitpy/tool/main.py: 10532 * Scripts/webkitpy/tool/mocktool.py: 10533 * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py: 10534 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: 10535 * Scripts/webkitpy/tool/steps/validatereviewer.py: 10536 * Scripts/webkitpy/unittests.py: 10537 * Scripts/webkitpy/webkitcheckout.py: 10538 10539 2010-03-25 Chris Jerdonek <cjerdonek (a] webkit.org> 10540 10541 Reviewed by Adam Barth. 10542 10543 In webkitpy, moved init/versioning.py to python24/. 10544 10545 https://bugs.webkit.org/show_bug.cgi?id=36093 10546 10547 This is part of the master bug to reorganize webkitpy. 10548 10549 * Scripts/test-webkitpy: 10550 * Scripts/webkit-patch: 10551 * Scripts/webkitpy/init/unittests.py: 10552 * Scripts/webkitpy/init/versioning.py: Removed. 10553 * Scripts/webkitpy/init/versioning_unittest.py: Removed. 10554 * Scripts/webkitpy/python24: Added. 10555 * Scripts/webkitpy/python24/__init__.py: Copied from WebKitTools/Scripts/webkitpy/tool/__init__.py. 10556 * Scripts/webkitpy/python24/versioning.py: Copied from WebKitTools/Scripts/webkitpy/init/versioning.py. 10557 * Scripts/webkitpy/python24/versioning_unittest.py: Copied from WebKitTools/Scripts/webkitpy/init/versioning_unittest.py. 10558 * Scripts/webkitpy/unittests.py: 10559 10560 2010-03-25 Adam Barth <abarth (a] webkit.org> 10561 10562 Unreviewed. 10563 10564 Create webkitpy.common.net as described in 10565 https://bugs.webkit.org/show_bug.cgi?id=36093 10566 10567 * Scripts/webkitpy/bugzilla.py: Removed. 10568 * Scripts/webkitpy/bugzilla_unittest.py: Removed. 10569 * Scripts/webkitpy/buildbot.py: Removed. 10570 * Scripts/webkitpy/buildbot_unittest.py: Removed. 10571 * Scripts/webkitpy/commitinfo.py: 10572 * Scripts/webkitpy/common/net: Added. 10573 * Scripts/webkitpy/common/net/__init__.py: Added. 10574 * Scripts/webkitpy/common/net/bugzilla.py: Copied from Scripts/webkitpy/bugzilla.py. 10575 * Scripts/webkitpy/common/net/bugzilla_unittest.py: Copied from Scripts/webkitpy/bugzilla_unittest.py. 10576 * Scripts/webkitpy/common/net/buildbot.py: Copied from Scripts/webkitpy/buildbot.py. 10577 * Scripts/webkitpy/common/net/buildbot_unittest.py: Copied from Scripts/webkitpy/buildbot_unittest.py. 10578 * Scripts/webkitpy/common/net/credentials.py: Copied from Scripts/webkitpy/credentials.py. 10579 * Scripts/webkitpy/common/net/credentials_unittest.py: Copied from Scripts/webkitpy/credentials_unittest.py. 10580 * Scripts/webkitpy/common/net/irc: Copied from Scripts/webkitpy/irc. 10581 * Scripts/webkitpy/common/net/irc/ircbot.py: 10582 * Scripts/webkitpy/common/net/irc/ircproxy.py: 10583 * Scripts/webkitpy/common/net/irc/messagepump_unittest.py: 10584 * Scripts/webkitpy/common/net/irc/threadedmessagequeue_unittest.py: 10585 * Scripts/webkitpy/common/net/irc/unittests.py: 10586 * Scripts/webkitpy/common/net/networktransaction.py: Copied from Scripts/webkitpy/networktransaction.py. 10587 * Scripts/webkitpy/common/net/networktransaction_unittest.py: Copied from Scripts/webkitpy/networktransaction_unittest.py. 10588 * Scripts/webkitpy/common/net/statusserver.py: Copied from Scripts/webkitpy/statusserver.py. 10589 * Scripts/webkitpy/credentials.py: Removed. 10590 * Scripts/webkitpy/credentials_unittest.py: Removed. 10591 * Scripts/webkitpy/irc: Removed. 10592 * Scripts/webkitpy/irc/__init__.py: Removed. 10593 * Scripts/webkitpy/irc/ircbot.py: Removed. 10594 * Scripts/webkitpy/irc/ircproxy.py: Removed. 10595 * Scripts/webkitpy/irc/messagepump.py: Removed. 10596 * Scripts/webkitpy/irc/messagepump_unittest.py: Removed. 10597 * Scripts/webkitpy/irc/threadedmessagequeue.py: Removed. 10598 * Scripts/webkitpy/irc/threadedmessagequeue_unittest.py: Removed. 10599 * Scripts/webkitpy/irc/unittests.py: Removed. 10600 * Scripts/webkitpy/networktransaction.py: Removed. 10601 * Scripts/webkitpy/networktransaction_unittest.py: Removed. 10602 * Scripts/webkitpy/scm_unittest.py: 10603 * Scripts/webkitpy/statusserver.py: Removed. 10604 * Scripts/webkitpy/tool/bot/queueengine.py: 10605 * Scripts/webkitpy/tool/commands/download.py: 10606 * Scripts/webkitpy/tool/commands/queries.py: 10607 * Scripts/webkitpy/tool/commands/queries_unittest.py: 10608 * Scripts/webkitpy/tool/commands/queues.py: 10609 * Scripts/webkitpy/tool/commands/queues_unittest.py: 10610 * Scripts/webkitpy/tool/commands/queuestest.py: 10611 * Scripts/webkitpy/tool/commands/upload.py: 10612 * Scripts/webkitpy/tool/main.py: 10613 * Scripts/webkitpy/tool/mocktool.py: 10614 * Scripts/webkitpy/tool/steps/postdiffforrevert.py: 10615 * Scripts/webkitpy/unittests.py: 10616 10617 2010-03-25 Chris Jerdonek <cjerdonek (a] webkit.org> 10618 10619 Reviewed by Adam Barth. 10620 10621 In webkitpy, renamed MockBugzillaTool to MockTool. 10622 10623 * Scripts/webkitpy/tool/commands/commandtest.py: 10624 * Scripts/webkitpy/tool/commands/queries_unittest.py: 10625 * Scripts/webkitpy/tool/commands/queues_unittest.py: 10626 * Scripts/webkitpy/tool/commands/queuestest.py: 10627 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 10628 * Scripts/webkitpy/tool/commands/upload_unittest.py: 10629 * Scripts/webkitpy/tool/mocktool.py: 10630 * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py: 10631 * Scripts/webkitpy/tool/steps/steps_unittest.py: 10632 * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py: 10633 10634 2010-03-25 Chris Jerdonek <cjerdonek (a] webkit.org> 10635 10636 Reviewed by Adam Barth. 10637 10638 In Scripts/webkitpy, moved webkitport.py and committers.py into 10639 common/config/ (also creating common/config/). 10640 10641 https://bugs.webkit.org/show_bug.cgi?id=36093 10642 10643 This is part of the master bug to reorganize webkitpy. 10644 10645 * Scripts/validate-committer-lists: 10646 * Scripts/webkitpy/bugzilla.py: 10647 * Scripts/webkitpy/bugzilla_unittest.py: 10648 * Scripts/webkitpy/changelogs.py: 10649 * Scripts/webkitpy/commitinfo.py: 10650 * Scripts/webkitpy/commitinfo_unittest.py: 10651 * Scripts/webkitpy/committers.py: Removed. 10652 * Scripts/webkitpy/committers_unittest.py: Removed. 10653 * Scripts/webkitpy/common: Added. 10654 * Scripts/webkitpy/common/__init__.py: Copied from WebKitTools/Scripts/webkitpy/style/__init__.py. 10655 * Scripts/webkitpy/common/config: Added. 10656 * Scripts/webkitpy/common/config/__init__.py: Copied from WebKitTools/Scripts/webkitpy/style/__init__.py. 10657 * Scripts/webkitpy/common/config/committers.py: Copied from WebKitTools/Scripts/webkitpy/committers.py. 10658 * Scripts/webkitpy/common/config/committers_unittest.py: Copied from WebKitTools/Scripts/webkitpy/committers_unittest.py. 10659 * Scripts/webkitpy/common/config/ports.py: Copied from WebKitTools/Scripts/webkitpy/webkitport.py. 10660 * Scripts/webkitpy/common/config/ports_unittest.py: Copied from WebKitTools/Scripts/webkitpy/webkitport_unittest.py. 10661 * Scripts/webkitpy/mock_bugzillatool.py: 10662 * Scripts/webkitpy/tool/commands/early_warning_system.py: 10663 * Scripts/webkitpy/tool/commands/queries.py: 10664 * Scripts/webkitpy/tool/commands/sheriffbot.py: 10665 * Scripts/webkitpy/tool/commands/upload.py: 10666 * Scripts/webkitpy/tool/steps/abstractstep.py: 10667 * Scripts/webkitpy/unittests.py: 10668 * Scripts/webkitpy/webkitport.py: Removed. 10669 * Scripts/webkitpy/webkitport_unittest.py: Removed. 10670 10671 2010-03-25 Adam Barth <abarth (a] webkit.org> 10672 10673 Unreviewed. Move mock_bugzillatool.py to tool/mocktool.py. 10674 10675 * Scripts/webkitpy/mock_bugzillatool.py: Removed. 10676 * Scripts/webkitpy/tool/commands/commandtest.py: 10677 * Scripts/webkitpy/tool/commands/queries_unittest.py: 10678 * Scripts/webkitpy/tool/commands/queues_unittest.py: 10679 * Scripts/webkitpy/tool/commands/queuestest.py: 10680 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 10681 * Scripts/webkitpy/tool/commands/upload_unittest.py: 10682 * Scripts/webkitpy/tool/mocktool.py: Copied from Scripts/webkitpy/mock_bugzillatool.py. 10683 * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py: 10684 * Scripts/webkitpy/tool/steps/steps_unittest.py: 10685 * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py: 10686 10687 2010-03-24 Adam Barth <abarth (a] webkit.org> 10688 10689 Unreviewed. Move comments.py and multicommandtool.py to their new 10690 home. 10691 10692 * Scripts/webkitpy/comments.py: Removed. 10693 * Scripts/webkitpy/multicommandtool.py: Removed. 10694 * Scripts/webkitpy/multicommandtool_unittest.py: Removed. 10695 * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py: 10696 * Scripts/webkitpy/tool/commands/download.py: 10697 * Scripts/webkitpy/tool/commands/openbugs.py: 10698 * Scripts/webkitpy/tool/commands/queries.py: 10699 * Scripts/webkitpy/tool/commands/queues.py: 10700 * Scripts/webkitpy/tool/commands/upload.py: 10701 * Scripts/webkitpy/tool/comments.py: Copied from Scripts/webkitpy/comments.py. 10702 * Scripts/webkitpy/tool/main.py: 10703 * Scripts/webkitpy/tool/multicommandtool.py: Copied from Scripts/webkitpy/multicommandtool.py. 10704 * Scripts/webkitpy/tool/multicommandtool_unittest.py: Copied from Scripts/webkitpy/multicommandtool_unittest.py. 10705 * Scripts/webkitpy/tool/steps/closebugforlanddiff.py: 10706 * Scripts/webkitpy/tool/steps/closepatch.py: 10707 * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py: 10708 * Scripts/webkitpy/unittests.py: 10709 10710 2010-03-24 Adam Barth <abarth (a] webkit.org> 10711 10712 Unreviewed. Fixup one import statement I didn't find because the .pyc 10713 masked the error. 10714 10715 * Scripts/webkitpy/stepsequence.py: 10716 10717 2010-03-24 Adam Barth <abarth (a] webkit.org> 10718 10719 Unreviewed. Move queueengine.py to its new home. 10720 10721 * Scripts/webkitpy/queueengine.py: Removed. 10722 * Scripts/webkitpy/queueengine_unittest.py: Removed. 10723 * Scripts/webkitpy/tool/bot/queueengine.py: Copied from Scripts/webkitpy/queueengine.py. 10724 * Scripts/webkitpy/tool/bot/queueengine_unittest.py: Copied from Scripts/webkitpy/queueengine_unittest.py. 10725 * Scripts/webkitpy/tool/commands/early_warning_system.py: 10726 * Scripts/webkitpy/tool/commands/queues.py: 10727 * Scripts/webkitpy/unittests.py: 10728 10729 2010-03-24 Adam Barth <abarth (a] webkit.org> 10730 10731 Unreviewed. Move patchcollection.py to its new home. 10732 10733 * Scripts/webkitpy/patchcollection.py: Removed. 10734 * Scripts/webkitpy/patchcollection_unittest.py: Removed. 10735 * Scripts/webkitpy/tool/bot: Added. 10736 * Scripts/webkitpy/tool/bot/__init__.py: Added. 10737 * Scripts/webkitpy/tool/bot/patchcollection.py: Copied from WebKitTools/Scripts/webkitpy/patchcollection.py. 10738 * Scripts/webkitpy/tool/bot/patchcollection_unittest.py: Copied from WebKitTools/Scripts/webkitpy/patchcollection_unittest.py. 10739 * Scripts/webkitpy/tool/commands/queues.py: 10740 * Scripts/webkitpy/unittests.py: 10741 10742 2010-03-24 Chris Jerdonek <cjerdonek (a] webkit.org> 10743 10744 Reviewed by Adam Barth. 10745 10746 In Scripts/webkitpy, moved steps_references.py and the steps 10747 folder into webkitpy/patch. 10748 10749 https://bugs.webkit.org/show_bug.cgi?id=36093 10750 10751 * Scripts/webkitpy/steps: Removed. 10752 * Scripts/webkitpy/steps/__init__.py: Removed. 10753 * Scripts/webkitpy/steps/abstractstep.py: Removed. 10754 * Scripts/webkitpy/steps/applypatch.py: Removed. 10755 * Scripts/webkitpy/steps/applypatchwithlocalcommit.py: Removed. 10756 * Scripts/webkitpy/steps/build.py: Removed. 10757 * Scripts/webkitpy/steps/checkstyle.py: Removed. 10758 * Scripts/webkitpy/steps/cleanworkingdirectory.py: Removed. 10759 * Scripts/webkitpy/steps/cleanworkingdirectorywithlocalcommits.py: Removed. 10760 * Scripts/webkitpy/steps/closebug.py: Removed. 10761 * Scripts/webkitpy/steps/closebugforlanddiff.py: Removed. 10762 * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py: Removed. 10763 * Scripts/webkitpy/steps/closepatch.py: Removed. 10764 * Scripts/webkitpy/steps/commit.py: Removed. 10765 * Scripts/webkitpy/steps/confirmdiff.py: Removed. 10766 * Scripts/webkitpy/steps/createbug.py: Removed. 10767 * Scripts/webkitpy/steps/editchangelog.py: Removed. 10768 * Scripts/webkitpy/steps/ensurebuildersaregreen.py: Removed. 10769 * Scripts/webkitpy/steps/ensurelocalcommitifneeded.py: Removed. 10770 * Scripts/webkitpy/steps/metastep.py: Removed. 10771 * Scripts/webkitpy/steps/obsoletepatches.py: Removed. 10772 * Scripts/webkitpy/steps/options.py: Removed. 10773 * Scripts/webkitpy/steps/postdiff.py: Removed. 10774 * Scripts/webkitpy/steps/postdiffforcommit.py: Removed. 10775 * Scripts/webkitpy/steps/postdiffforrevert.py: Removed. 10776 * Scripts/webkitpy/steps/preparechangelog.py: Removed. 10777 * Scripts/webkitpy/steps/preparechangelogforrevert.py: Removed. 10778 * Scripts/webkitpy/steps/promptforbugortitle.py: Removed. 10779 * Scripts/webkitpy/steps/reopenbugafterrollout.py: Removed. 10780 * Scripts/webkitpy/steps/revertrevision.py: Removed. 10781 * Scripts/webkitpy/steps/runtests.py: Removed. 10782 * Scripts/webkitpy/steps/steps_unittest.py: Removed. 10783 * Scripts/webkitpy/steps/update.py: Removed. 10784 * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py: Removed. 10785 * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: Removed. 10786 * Scripts/webkitpy/steps/validatereviewer.py: Removed. 10787 * Scripts/webkitpy/steps_references.py: Removed. 10788 * Scripts/webkitpy/stepsequence.py: 10789 * Scripts/webkitpy/tool/commands/download.py: 10790 * Scripts/webkitpy/tool/commands/upload.py: 10791 * Scripts/webkitpy/tool/steps: Copied from WebKitTools/Scripts/webkitpy/steps. 10792 * Scripts/webkitpy/tool/steps/__init__.py: 10793 * Scripts/webkitpy/tool/steps/applypatch.py: 10794 * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py: 10795 * Scripts/webkitpy/tool/steps/build.py: 10796 * Scripts/webkitpy/tool/steps/checkstyle.py: 10797 * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py: 10798 * Scripts/webkitpy/tool/steps/cleanworkingdirectorywithlocalcommits.py: 10799 * Scripts/webkitpy/tool/steps/closebug.py: 10800 * Scripts/webkitpy/tool/steps/closebugforlanddiff.py: 10801 * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py: 10802 * Scripts/webkitpy/tool/steps/closepatch.py: 10803 * Scripts/webkitpy/tool/steps/commit.py: 10804 * Scripts/webkitpy/tool/steps/confirmdiff.py: 10805 * Scripts/webkitpy/tool/steps/createbug.py: 10806 * Scripts/webkitpy/tool/steps/editchangelog.py: 10807 * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py: 10808 * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py: 10809 * Scripts/webkitpy/tool/steps/metastep.py: 10810 * Scripts/webkitpy/tool/steps/obsoletepatches.py: 10811 * Scripts/webkitpy/tool/steps/postdiff.py: 10812 * Scripts/webkitpy/tool/steps/postdiffforcommit.py: 10813 * Scripts/webkitpy/tool/steps/postdiffforrevert.py: 10814 * Scripts/webkitpy/tool/steps/preparechangelog.py: 10815 * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py: 10816 * Scripts/webkitpy/tool/steps/promptforbugortitle.py: 10817 * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py: 10818 * Scripts/webkitpy/tool/steps/revertrevision.py: 10819 * Scripts/webkitpy/tool/steps/runtests.py: 10820 * Scripts/webkitpy/tool/steps/steps_unittest.py: 10821 * Scripts/webkitpy/tool/steps/update.py: 10822 * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py: 10823 * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: 10824 * Scripts/webkitpy/tool/steps/validatereviewer.py: 10825 * Scripts/webkitpy/tool/steps_references.py: Copied from WebKitTools/Scripts/webkitpy/steps_references.py. 10826 * Scripts/webkitpy/unittests.py: 10827 10828 2010-03-24 Eric Seidel <eric (a] webkit.org> 10829 10830 Unreviewed, build fix only. 10831 10832 Abstract LayoutTestResults logic for easier reuse 10833 https://bugs.webkit.org/show_bug.cgi?id=36579 10834 10835 * Scripts/webkitpy/buildbot_unittest.py: Add a missing import. 10836 10837 2010-03-24 Adam Barth <abarth (a] webkit.org> 10838 10839 Unreviewed. Fix a stray comma to test landing an patch without review. 10840 10841 * Scripts/webkitpy/commitinfo.py: 10842 10843 2010-03-24 Chris Jerdonek <cjerdonek (a] webkit.org> 10844 10845 Reviewed by Adam Barth. 10846 10847 In Scripts/webkitpy, moved commands_references.py and the commands 10848 folder into webkitpy/patch. 10849 10850 https://bugs.webkit.org/show_bug.cgi?id=36483 10851 10852 This is part of master bug 36093 to organize webkitpy. 10853 10854 * Scripts/webkitpy/commands: Removed. 10855 * Scripts/webkitpy/commands/__init__.py: Removed. 10856 * Scripts/webkitpy/commands/abstractsequencedcommand.py: Removed. 10857 * Scripts/webkitpy/commands/commandtest.py: Removed. 10858 * Scripts/webkitpy/commands/download.py: Removed. 10859 * Scripts/webkitpy/commands/download_unittest.py: Removed. 10860 * Scripts/webkitpy/commands/early_warning_system.py: Removed. 10861 * Scripts/webkitpy/commands/early_warning_system_unittest.py: Removed. 10862 * Scripts/webkitpy/commands/openbugs.py: Removed. 10863 * Scripts/webkitpy/commands/openbugs_unittest.py: Removed. 10864 * Scripts/webkitpy/commands/queries.py: Removed. 10865 * Scripts/webkitpy/commands/queries_unittest.py: Removed. 10866 * Scripts/webkitpy/commands/queues.py: Removed. 10867 * Scripts/webkitpy/commands/queues_unittest.py: Removed. 10868 * Scripts/webkitpy/commands/queuestest.py: Removed. 10869 * Scripts/webkitpy/commands/sheriffbot.py: Removed. 10870 * Scripts/webkitpy/commands/sheriffbot_unittest.py: Removed. 10871 * Scripts/webkitpy/commands/upload.py: Removed. 10872 * Scripts/webkitpy/commands/upload_unittest.py: Removed. 10873 * Scripts/webkitpy/commands_references.py: Removed. 10874 * Scripts/webkitpy/tool/commands: Copied from WebKitTools/Scripts/webkitpy/commands. 10875 * Scripts/webkitpy/tool/commands/commandtest.py: 10876 * Scripts/webkitpy/tool/commands/download.py: 10877 * Scripts/webkitpy/tool/commands/download_unittest.py: 10878 * Scripts/webkitpy/tool/commands/early_warning_system.py: 10879 * Scripts/webkitpy/tool/commands/early_warning_system_unittest.py: 10880 * Scripts/webkitpy/tool/commands/openbugs_unittest.py: 10881 * Scripts/webkitpy/tool/commands/queries_unittest.py: 10882 * Scripts/webkitpy/tool/commands/queues_unittest.py: 10883 * Scripts/webkitpy/tool/commands/queuestest.py: 10884 * Scripts/webkitpy/tool/commands/sheriffbot.py: 10885 * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py: 10886 * Scripts/webkitpy/tool/commands/upload.py: 10887 * Scripts/webkitpy/tool/commands/upload_unittest.py: 10888 * Scripts/webkitpy/tool/commands_references.py: Copied from WebKitTools/Scripts/webkitpy/commands_references.py. 10889 * Scripts/webkitpy/tool/main.py: 10890 * Scripts/webkitpy/unittests.py: 10891 10892 2010-03-24 Adam Barth <abarth (a] webkit.org> 10893 10894 Reviewed by Eric Seidel. 10895 10896 Rename webkitpy.patch to webkitpy.tool 10897 https://bugs.webkit.org/show_bug.cgi?id=36580 10898 10899 This is in preparation for the great webkitpy naming cleanup. 10900 10901 * Scripts/webkit-patch: 10902 * Scripts/webkitpy/patch: Removed. 10903 * Scripts/webkitpy/patch/__init__.py: Removed. 10904 * Scripts/webkitpy/patch/patcher.py: Removed. 10905 * Scripts/webkitpy/tool: Copied from WebKitTools/Scripts/webkitpy/patch. 10906 * Scripts/webkitpy/tool/main.py: Copied from WebKitTools/Scripts/webkitpy/patch/patcher.py. 10907 * Scripts/webkitpy/tool/patcher.py: Removed. 10908 10909 2010-03-24 Eric Seidel <eric (a] webkit.org> 10910 10911 Reviewed by Adam Barth. 10912 10913 Abstract LayoutTestResults logic for easier reuse 10914 https://bugs.webkit.org/show_bug.cgi?id=36579 10915 10916 * Scripts/webkitpy/buildbot.py: 10917 - Split out logic into new LayoutTestResults class. 10918 * Scripts/webkitpy/buildbot_unittest.py: 10919 - Rename the testing class to match. 10920 * Scripts/webkitpy/commands/queries.py: 10921 - Use the new LayoutTestResults class. 10922 10923 2010-03-24 Eric Seidel <eric (a] webkit.org> 10924 10925 Reviewed by Eric Seidel. 10926 10927 Move Bugzilla.prompt_for_component to User.prompt_with_list for re-use 10928 https://bugs.webkit.org/show_bug.cgi?id=36577 10929 10930 * Scripts/webkitpy/bugzilla.py: 10931 - Move prompt_for_component to User 10932 * Scripts/webkitpy/commands/queries.py: 10933 - Add a missing argument_names declaration. 10934 * Scripts/webkitpy/user.py: 10935 - Add prompt_with_list 10936 - Make staticmethods classmethods for easier mocking 10937 10938 2010-03-24 David Kilzer <ddkilzer (a] apple.com> 10939 10940 <http://webkit.org/b/36572> commit-log-editor: thinks mergeChangeLogs.pl is a ChangeLog file 10941 10942 Reviewed by Eric Seidel. 10943 10944 Fixes the following error when committing a file with 10945 "ChangeLog" in the name that isn't a ChangeLog (like 10946 mergeChangeLogs.pl from r56471 and r56472): 10947 10948 $ git commit . 10949 Can't open WebKitTools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLog at commit-log-editor line 132. 10950 error: There was a problem with the editor 'commit-log-editor'. 10951 Please supply the message using either -m or -F option. 10952 10953 * Scripts/commit-log-editor: Added '$' to anchor "ChangeLog" to 10954 the end of the file name when searching for ChangeLog files in a 10955 commit. 10956 10957 2010-03-24 David Kilzer <ddkilzer (a] apple.com> 10958 10959 <http://webkit.org/b/36570> resolve-ChangeLogs: fall back to git-merge-file if ChangeLog can't be merged 10960 10961 Reviewed by Eric Seidel. 10962 10963 * Scripts/resolve-ChangeLogs: Switched to exec git-merge-file if 10964 the merge attempt fails. 10965 10966 2010-03-24 Adam Barth <abarth (a] webkit.org> 10967 10968 Reviewed by Eric Seidel. 10969 10970 webkit-patch or pre-commit hook should validate reviewer lines before committing 10971 https://bugs.webkit.org/show_bug.cgi?id=26927 10972 10973 Validate that patches have valid reivewers listed in their ChangeLogs 10974 before landing. For patches without reviewers can be landed if their 10975 ChangeLogs state that they are unreviewed. 10976 10977 * Scripts/webkitpy/changelogs.py: 10978 * Scripts/webkitpy/commands/download.py: 10979 * Scripts/webkitpy/commitinfo.py: 10980 * Scripts/webkitpy/commitinfo_unittest.py: 10981 * Scripts/webkitpy/mock_bugzillatool.py: 10982 * Scripts/webkitpy/steps/__init__.py: 10983 * Scripts/webkitpy/steps/validatereviewer.py: Added. 10984 10985 2010-03-19 Holger Hans Peter Freyther <zecke (a] selfish.org> 10986 10987 Reviewed by David Levin. 10988 10989 Undefined names reported by pyflakes in python scripts 10990 https://bugs.webkit.org/show_bug.cgi?id=36403 10991 10992 Attempt to use names that exist or can exist in the lexical 10993 scope instead of not being available at all. 10994 10995 * Scripts/webkitpy/changelogs.py: Use self._content. 10996 * Scripts/webkitpy/layout_tests/port/base.py: Use os.stat 10997 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: Use self._port 10998 * Scripts/webkitpy/style/processors/cpp_unittest.py: Use expected_message_re 10999 11000 2010-03-24 David Kilzer <ddkilzer (a] apple.com> 11001 11002 <http://webkit.org/b/36560> resolve-ChangeLogs: git-rebase fails when resolve-ChangeLogs can't merge 11003 11004 Reviewed by Eric Seidel. 11005 11006 When resolve-ChangeLogs fails to merge a patch while running as 11007 a git merge driver, it deletes the original file, which causes 11008 an internal failure and stops git mid-merge: 11009 11010 fatal: Failed to execute internal merge 11011 11012 The fix is to use the --force switch with patch so that it will 11013 always attempt to apply the patch. (The change in 11014 mergeChangeLogs() for the previous commit also fixed this, but 11015 adding --force also prevents any potential user interaction that 11016 patch may want to display.) 11017 11018 * Scripts/VCSUtils.pm: 11019 (mergeChangeLogs): Added --force switch to patch command. Also 11020 changed to use the exit status from the patch command to 11021 determine the return value for this method. 11022 * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl: Added 11023 test to cover this bug. 11024 11025 2010-03-24 David Kilzer <ddkilzer (a] apple.com> 11026 11027 <http://webkit.org/b/36560> resolve-ChangeLogs: move mergeChanges() into VCSUtils package 11028 11029 Reviewed by Eric Seidel. 11030 11031 * Scripts/VCSUtils.pm: 11032 (mergeChangeLogs): Copied from mergeChanges() in 11033 resolve-ChangeLogs and renamed. Added method documentation. 11034 Fixed bug found by new tests where the original file to be 11035 patched was deleted when cleaning up after a traditinal rejected 11036 patch failed to apply. 11037 * Scripts/resolve-ChangeLogs: Switched to using 11038 mergeChangeLogs(). 11039 (mergeChanges): Moved to VCSUtils.pm and renamed to 11040 mergeChangeLogs(). 11041 * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl: Added. 11042 11043 2010-03-24 Eric Seidel <eric (a] webkit.org> 11044 11045 Reviewed by Adam Barth. 11046 11047 Add support for qt's unassigned list to webkit-patch assign-to-committer 11048 https://bugs.webkit.org/show_bug.cgi?id=36559 11049 11050 * Scripts/webkitpy/bugzilla.py: 11051 - Move Bugzilla.unassigned_email into Bug and make it a set. 11052 * Scripts/webkitpy/bugzilla_unittest.py: 11053 - Test the new Bug.is_unassigned method 11054 * Scripts/webkitpy/commands/upload.py: 11055 - Use the new Bug.is_unassigned method instead of an explicit == 11056 * Scripts/webkitpy/mock_bugzillatool.py: 11057 - Bugzilla.unassigned_email no longer needs mocking 11058 11059 2010-03-24 Kent Hansen <kent.hansen (a] nokia.com> 11060 11061 Reviewed by Simon Hausmann. 11062 11063 [Qt] Rename QWebSettings::XSSAuditorEnabled to XSSAuditingEnabled 11064 https://bugs.webkit.org/show_bug.cgi?id=36522 11065 11066 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 11067 (LayoutTestController::setXSSAuditorEnabled): Use the new name. 11068 11069 2010-03-24 Chris Jerdonek <cjerdonek (a] webkit.org> 11070 11071 Reviewed by Shinichiro Hamaji. 11072 11073 Added to check-webkit-style support for a --debug flag. 11074 11075 https://bugs.webkit.org/show_bug.cgi?id=36100 11076 11077 The --debug flag adjusts the logging level to DEBUG and 11078 includes the logger name and level in each log message. 11079 11080 * Scripts/check-webkit-style: 11081 - Changed the code to check for the --debug flag and pass 11082 the result to the configure_logging() method. 11083 * Scripts/webkitpy/style/checker.py: 11084 - Added an is_debug parameter to configure_logging(). 11085 - Refactored configure_logging() by adding calls to 11086 the following two methods: _create_log_handlers() and 11087 _create_debug_log_handlers(). 11088 * Scripts/webkitpy/style/checker_unittest.py: 11089 - Added unit tests for configure_logging() with is_debug True 11090 by splitting the ConfigureLoggingTest class into 11091 ConfigureLoggingTest and ConfigureLoggingTestBase, and 11092 adding ConfigureLoggingDebugTest. 11093 * Scripts/webkitpy/style/optparser.py: 11094 - Updated the usage string. 11095 - Added an is_debug data attribute to the CommandOptionValues 11096 class. 11097 - Added support for the --debug flag to the ArgumentParser.parse() 11098 method. 11099 - Also added extra error information to the parse() method in 11100 the case of an invalid flag. 11101 * Scripts/webkitpy/style/optparser_unittest.py: 11102 - Updated the unit tests as necessary. 11103 - Also fixed an issue with the CommandOptionValuesTest.test_eq() 11104 unit test. 11105 11106 2010-03-23 Kent Tamura <tkent (a] chromium.org> 11107 11108 Reviewed by Dimitri Glazkov. 11109 11110 [DRT/Chromium] Add TestNavigationController and TestWebWorker 11111 https://bugs.webkit.org/show_bug.cgi?id=36489 11112 11113 Add TestNavigationController and TestWebWorker classes, which are 11114 going to be used by DumpRenderTree Chromium port. These files are 11115 based on: 11116 - src/webkit/tools/test_shell/test_navigation_controller.{cc,h} 11117 - src/webkit/tools/test_shell/test_web_worker.h 11118 of Chromium rev.40492. 11119 11120 TestNavigationController has non-style changes. 11121 - Change ContentState type: binary string -> WebHistoryItem 11122 - Remove TestShell dependency by introducing NavigationHost interface. 11123 11124 * DumpRenderTree/chromium/TestNavigationController.cpp: Added. 11125 * DumpRenderTree/chromium/TestNavigationController.h: Added. 11126 * DumpRenderTree/chromium/TestWebWorker.h: Added. 11127 11128 2010-03-23 Eric Seidel <eric (a] webkit.org> 11129 11130 Reviewed by Adam Barth. 11131 11132 Add support for revision -> build lookup in buildbot.py and layout test result parsing 11133 https://bugs.webkit.org/show_bug.cgi?id=36474 11134 11135 * Scripts/webkitpy/bugzilla_unittest.py: Added a FIXME about sharing code. 11136 * Scripts/webkitpy/buildbot.py: 11137 - Add support for looking up builds by revision number. 11138 - Add support for fetching and parsing results.html files from buildbot. 11139 - build_for_revision has an allow_failed_lookups option to work around the fact that 11140 our buildbot's xmlrpc calls return failure on old revision numbers. 11141 - Add parsing support for twisted directory listings. 11142 * Scripts/webkitpy/buildbot_unittest.py: 11143 - Unit test all the new code. 11144 * Scripts/webkitpy/commands/queries.py: 11145 - Add a new results-for command which prints all the results for a given revision (very slow due to slow revision lookup) 11146 11147 2010-03-23 Daniel Bates <dbates (a] rim.com> 11148 11149 Reviewed by Adam Roben. 11150 11151 https://bugs.webkit.org/show_bug.cgi?id=36048 11152 11153 Detect if the Windows Platform SDK is missing when building with 11154 Visual C++ Express Edition and inform the user to download it. 11155 11156 * Scripts/webkitdirs.pm: 11157 11158 2010-03-23 Darin Adler <darin (a] apple.com> 11159 11160 Tell Subversion about more directories that expect to have .pyc files. 11161 11162 * Scripts/webkitpy: Modified property svn:ignore. 11163 * Scripts/webkitpy/irc: Added property svn:ignore. 11164 11165 2010-03-23 Daniel Bates <dbates (a] rim.com> 11166 11167 Reviewed by Adam Barth. 11168 11169 https://bugs.webkit.org/show_bug.cgi?id=36149 11170 11171 Import the GNU readline interface to modify the behavior 11172 of raw_input so as to provide line editing support. In 11173 particular this will prevent "delete" characters from 11174 appearing in the returned value for function raw_input. 11175 11176 * Scripts/webkitpy/user.py: 11177 11178 2010-03-23 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 11179 11180 Reviewed by Kenneth Rohde Christiansen. 11181 11182 [Qt] Remove support for Qt v4.4 11183 https://bugs.webkit.org/show_bug.cgi?id=36389 11184 11185 * DumpRenderTree/qt/main.cpp: 11186 (main): 11187 * QtLauncher/mainwindow.cpp: 11188 (MainWindow::MainWindow): 11189 11190 2010-03-22 Csaba Osztrogonc <ossy (a] webkit.org> 11191 11192 Reviewed by Adam Barth. 11193 11194 Make build_webkit_command() pass MAKEFLAGS environment variable to make. 11195 https://bugs.webkit.org/show_bug.cgi?id=36440 11196 11197 * Scripts/webkitpy/webkitport.py: 11198 * Scripts/webkitpy/webkitport_unittest.py: 11199 11200 2010-03-22 Dirk Pranke <dpranke (a] chromium.org> 11201 11202 Reviewed by Dimitri Glazkov. 11203 11204 Change baseline_path() to point to the upstream locations for the 11205 Chromium ports. Also change the reabselining scripts to use the 11206 correct functions to get the baseline directories, and fix the 11207 script's sys.path to pull in simplejson correctly. 11208 11209 https://bugs.webkit.org/show_bug.cgi?id=36417 11210 11211 * Scripts/rebaseline-chromium-webkit-tests: 11212 - fix sys.path to pick up simplejson properly 11213 * Scripts/webkitpy/layout_tests/port/chromium.py: 11214 - change baseline_path() to use webkit_baseline_path() 11215 - error out correctly if we can't find the chromium base dir 11216 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 11217 - call baseline_path(), not chromium_baseline_path() 11218 11219 2010-03-22 Chris Jerdonek <cjerdonek (a] webkit.org> 11220 11221 Reviewed by Adam Barth. 11222 11223 Refactored the cpu_count() code in executive.py. 11224 11225 https://bugs.webkit.org/show_bug.cgi?id=36437 11226 11227 * Scripts/webkitpy/executive.py: 11228 - Moved the import of the multiprocessing module to the top 11229 of the file rather than importing from within a function. 11230 11231 2010-03-22 Antonio Gomes <tonikitoo (a] webkit.org> 11232 11233 Unreviewed. 11234 11235 Rolling out r56183: http://trac.webkit.org/changeset/56183 11236 11237 https://bugs.webkit.org/show_bug.cgi?id=36244 11238 11239 Need to roll out because this patch will be re-worked by the author 11240 and other reviewers agreed on it. 11241 11242 2010-03-22 Chris Jerdonek <cjerdonek (a] webkit.org> 11243 11244 Reviewed by Adam Barth. 11245 11246 Created a function for getting a module-specific logging.logger 11247 based on the __file__ value of the module. 11248 11249 https://bugs.webkit.org/show_bug.cgi?id=35821 11250 11251 This function allows us to get the module-specific logger for 11252 a module without having to hard-code the fully-qualified name 11253 of the module in the module itself. The code can be the same 11254 in every case: "_log = logutils.get_logger(__file__)". 11255 11256 * Scripts/webkitpy/init/logutils.py: Added. 11257 - Added a module with a get_logger() function to return 11258 a module-specific logger based on the module's __file__ 11259 variable. 11260 11261 * Scripts/webkitpy/init/logutils_unittest.py: Added. 11262 - Added unit tests for logutils.py. 11263 11264 * Scripts/webkitpy/init/unittests.py: 11265 - Added logutils_unittest to the list of imports. 11266 11267 2010-03-22 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 11268 11269 Reviewed by Simon Hausmann. 11270 11271 [Qt] REGRESSION (r56209): fast/media/print-restores-previous-mediatype.htm crashes 11272 https://bugs.webkit.org/show_bug.cgi?id=36386 11273 11274 Fix the regression by implementing a null printer for Qt DRT. 11275 11276 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 11277 (WebCore::NullPrinter::NullPaintEngine::begin): 11278 (WebCore::NullPrinter::NullPaintEngine::end): 11279 (WebCore::NullPrinter::NullPaintEngine::type): 11280 (WebCore::NullPrinter::NullPaintEngine::drawPixmap): 11281 (WebCore::NullPrinter::NullPaintEngine::updateState): 11282 (WebCore::NullPrinter::paintEngine): 11283 (WebCore::DumpRenderTree::dryRunPrint): 11284 11285 2010-03-20 Martin Robinson <mrobinson (a] webkit.org> 11286 11287 Reviewed by Xan Lopez. 11288 11289 [GTK] eventSender.zoomPageOut() bug? 11290 https://bugs.webkit.org/show_bug.cgi?id=30575 11291 11292 Make zoomPage{In/Out}Callback respect the 1.2f zoom factor that DRT should be using. 11293 11294 * DumpRenderTree/gtk/EventSender.cpp: 11295 (zoomIn): Added. 11296 (zoomOut): Added. 11297 (textZoomInCallback): Use zoomIn helper function. 11298 (textZoomOutCallback): Use zoomOut helper function. 11299 (zoomPageInCallback): Use zoomIn helper function, which respects zoom factor. 11300 (zoomPageOutCallback): Use zoomOut helper function, which respects zoom factor. 11301 11302 2010-03-20 Kevin Ollivier <kevino (a] theolliviers.com> 11303 11304 [wx] Build fix after recent database API change. 11305 11306 * wx/browser/browser.cpp: 11307 (MyApp::OnInit): 11308 11309 2010-03-20 Chris Jerdonek <cjerdonek (a] webkit.org> 11310 11311 Reviewed by Adam Barth. 11312 11313 Renamed UnitTestLogStream to TestLogStream in webkitpy. 11314 11315 https://bugs.webkit.org/show_bug.cgi?id=36099 11316 11317 TestLogStream is more concise and more consistent with the name of 11318 the module (logtesting rather than logunittesting) and its main 11319 class (LogTesting rather than LogUnitTesting). 11320 11321 * Scripts/webkitpy/init/logtesting.py: 11322 - Renamings. 11323 11324 * Scripts/webkitpy/style/checker_unittest.py: 11325 - Renamings. 11326 11327 * Scripts/webkitpy/style_references.py: 11328 - Renamings. 11329 11330 2010-03-20 Kevin Ollivier <kevino (a] theolliviers.com> 11331 11332 [wx] Build fixes for new method in LayoutTestController. 11333 11334 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 11335 (LayoutTestController::setSpatialNavigationEnabled): 11336 * wx/build/settings.py: 11337 11338 2010-03-20 Dimitri Glazkov <dglazkov (a] chromium.org> 11339 11340 Unreviewed, tool fix. 11341 11342 Remove vestiges of downstream directory names to unbreak rebaselining tool. 11343 11344 * Scripts/webkitpy/layout_tests/port/chromium.py: Changed paths to use WebKit repo. 11345 11346 2010-03-20 Dirk Pranke <dpranke (a] chromium.org> 11347 11348 Reviewed by Dimitri Glazkov. 11349 11350 Re-enable the downstream test_expectations overrides file that was 11351 disabled in bug 36396 / r56287. 11352 11353 https://bugs.chromium.org/show_bug.cgi?id=36401 11354 11355 * Scripts/webkitpy/layout_tests/port/chromium.py: 11356 11357 2010-03-19 Dirk Pranke <dpranke (a] chromium.org> 11358 11359 Reviewed by Dimitri Glazkov. 11360 11361 Disable the downstream override expectations temporarily to allow 11362 us to test that we've upstreamed everything correctly. Also, stop 11363 looking at the downstream baselines at all (now you will only be 11364 able to update baselines upstream). In theory this should work, but 11365 if we need to we can always add the downstream dirs back in. 11366 11367 https://bugs.webkit.org/show_bug.cgi?id=36396 11368 11369 * Scripts/webkitpy/layout_tests/port/chromium.py: 11370 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 11371 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 11372 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 11373 11374 2010-03-19 Dirk Pranke <dpranke (a] chromium.org> 11375 11376 Reviewed by Dimitri Glazkov. 11377 11378 fix typo in chromium test expectations overrides routine 11379 https://bugs.webkit.org/show_bug.cgi?id=36397 11380 11381 * Scripts/webkitpy/layout_tests/port/chromium.py: 11382 11383 2010-03-19 Dirk Pranke <dpranke (a] chromium.org> 11384 11385 Reviewed by Dimitri Glazkov. 11386 11387 Flip the Chromium ports to look first for the test expectations 11388 in LayoutTests/platform/chromium and only afterwards look in the 11389 Chromium repo downstream for overrides. 11390 11391 https://bugs.webkit.org/show_bug.cgi?id=36326 11392 11393 * Scripts/webkitpy/layout_tests/port/chromium.py: 11394 11395 2010-03-19 James Hawkins <jhawkins (a] chromium.org> 11396 11397 Unreviewed. 11398 11399 Add myself to the committers list. 11400 11401 * Scripts/webkitpy/committers.py: 11402 11403 2010-03-19 Adam Barth <abarth (a] webkit.org> 11404 11405 Unreviewed. 11406 11407 Fix SheriffBot exception lock when we can't retrieve the first build 11408 from buildbot. (I'll ask Eric to review this change after the fact, 11409 but he's at lunch and I want to get the bot unlocked.) 11410 11411 * Scripts/webkitpy/buildbot.py: 11412 * Scripts/webkitpy/buildbot_unittest.py: 11413 11414 2010-03-19 Alexey Proskuryakov <ap (a] apple.com> 11415 11416 Reviewed by Darin Adler. 11417 11418 https://bugs.webkit.org/show_bug.cgi?id=36380 11419 websocket/tests/frame-lengths.html times out on Tiger bot 11420 11421 https://bugs.webkit.org/show_bug.cgi?id=35041 11422 websocket/tests/frame-lengths.html / websocket/tests/simple-stress.html fail on Windows bot 11423 11424 Double the timeout (from 15 seconds to 30 seconds). We can increase it more, if necessary - 11425 sampling the DRT process on Mac OS X takes much longer anyway, so it's better to avoid 11426 timing out than to detect it early. 11427 11428 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 11429 (LayoutTestController::setWaitToDump): 11430 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 11431 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 11432 (LayoutTestController::waitUntilDone): 11433 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 11434 * Scripts/run-webkit-tests: 11435 11436 2010-03-19 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 11437 11438 Unreviewed. 11439 11440 Buildfix for Qt v4.5. 11441 11442 * QtLauncher/main.cpp: 11443 (LauncherWindow::LauncherWindow): 11444 (LauncherWindow::applyZoom): 11445 11446 2010-03-19 Adam Barth <abarth (a] webkit.org> 11447 11448 Reviewed by Eric Seidel. 11449 11450 Operational tweaks to SheriffBot 11451 https://bugs.webkit.org/show_bug.cgi?id=36385 11452 11453 These changes aren't pretty, but they're helpful to make SheriffBot 11454 work operationally. I plan to iterate in these areas, but I wanted to 11455 get this patch landed so I could be running the bot against TOT. 11456 11457 * Scripts/webkitpy/commands/sheriffbot.py: 11458 * Scripts/webkitpy/irc/ircbot.py: 11459 * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py: 11460 11461 2010-03-19 Eric Seidel <eric (a] webkit.org> 11462 11463 Reviewed by Adam Barth. 11464 11465 Help sheriff-bot avoid warning about flaky tests (and add more unit testing) 11466 https://bugs.webkit.org/show_bug.cgi?id=36354 11467 11468 * Scripts/webkitpy/buildbot.py: 11469 - Make Build creation easier to Mock and test 11470 * Scripts/webkitpy/buildbot_unittest.py: 11471 - Test finding green to red transitions and suspect revisions 11472 * Scripts/webkitpy/commands/queries.py: 11473 - Make what-broke note when builders have only failed once. 11474 11475 2010-03-19 Dirk Pranke <dpranke (a] chromium.org> 11476 11477 Reviewed by Dimitri Glazkov. 11478 11479 Fix the rebaselining tool, which was broken by r36324 when I 11480 added the concept of overridding expectations. 11481 11482 https://bugs.webkit.org/show_bug.cgi?id=36374 11483 11484 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 11485 11486 2010-03-19 Adam Barth <abarth (a] webkit.org> 11487 11488 Reviewed by Eric Seidel. 11489 11490 Misc bug fixes to make the SheriffBot actually work 11491 https://bugs.webkit.org/show_bug.cgi?id=36355 11492 11493 With these changes, I can actually run the sheriff-bot from start to 11494 finish. 11495 11496 * Scripts/webkitpy/irc/ircproxy.py: 11497 * Scripts/webkitpy/patch/patcher.py: 11498 * Scripts/webkitpy/statusserver.py: 11499 11500 2010-03-19 Adam Barth <abarth (a] webkit.org> 11501 11502 Unreviewed. 11503 11504 Actually import the sheriff-bot command so we can run it. Also, move 11505 the bot to #webkit-test so it doesn't cause a ruckus while we test it. 11506 11507 * Scripts/webkitpy/patch/patcher.py: 11508 * Scripts/webkitpy/irc/ircbot.py: 11509 11510 2010-03-19 Adam Barth <abarth (a] webkit.org> 11511 11512 Reviewed by Eric Seidel. 11513 11514 Second cut at SheriffBot 11515 https://bugs.webkit.org/show_bug.cgi?id=36353 11516 11517 This patch should contain a complete SheriffBot that's capable of 11518 saying reasonable things on IRC. I had to refactor the use of 11519 CommitInfo to make the SheriffBot testable, but I did the minimum 11520 necessary. We should grow webkitcheckout over time to contain the 11521 knowledge of ChangeLogs from scm. 11522 11523 * Scripts/webkitpy/commands/sheriffbot.py: 11524 * Scripts/webkitpy/commands/sheriffbot_unittest.py: 11525 * Scripts/webkitpy/mock_bugzillatool.py: 11526 * Scripts/webkitpy/patch/patcher.py: 11527 * Scripts/webkitpy/webkitcheckout.py: Added. 11528 11529 2010-03-19 Adam Barth <abarth (a] webkit.org> 11530 11531 Unreviewed. 11532 11533 Fix Hyatt's IRC nickname. 11534 11535 * Scripts/webkitpy/committers.py: 11536 11537 2010-03-19 Adam Barth <abarth (a] webkit.org> 11538 11539 Unreviewed. 11540 11541 Add IRC nicknames for the non-reviewer committers. 11542 11543 * Scripts/webkitpy/committers.py: 11544 11545 2010-03-19 Adam Barth <abarth (a] webkit.org> 11546 11547 Unreviewed. 11548 11549 More reviewer IRC nicknames. 11550 11551 * Scripts/webkitpy/committers.py: 11552 11553 2010-03-19 Adam Barth <abarth (a] webkit.org> 11554 11555 Unreviewed. 11556 11557 Add a bunch of IRC nicknames for reviewers. 11558 11559 * Scripts/webkitpy/committers.py: 11560 11561 2010-03-19 Zoltan Horvath <zoltan (a] webkit.org> 11562 11563 Reviewed by Oliver Hunt. 11564 11565 Added USE_SYSTEM_MALLOC flag to build-webkit 11566 https://bugs.webkit.org/show_bug.cgi?id=21272 11567 11568 Add system-alloc flag to build-webkit. It makes easy to switch 11569 between system allocator and TCmalloc. 11570 11571 * Scripts/build-webkit: 11572 11573 2010-03-19 Adam Barth <abarth (a] webkit.org> 11574 11575 Unreviewed "build" fix. 11576 11577 Of course, I caused a regression in the file that isn't tested. :( 11578 11579 * Scripts/webkitpy/statusserver.py: 11580 11581 2010-03-19 Eric Seidel <eric (a] webkit.org> 11582 11583 Reviewed by Adam Barth. 11584 11585 Add basic "who-broke-it" command and revision -> broken builder association code 11586 https://bugs.webkit.org/show_bug.cgi?id=36352 11587 11588 The "what-broke" command prints builders and what revisions we suspect 11589 broke them. who-broke-it prints revisions and what builders we suspect 11590 they broke. The sheriff-bot needs this revision to broken builder mapping 11591 so this change adds it! 11592 11593 * Scripts/webkitpy/buildbot.py: 11594 * Scripts/webkitpy/commands/queries.py: 11595 11596 2010-03-19 Eric Seidel <eric (a] webkit.org> 11597 11598 Reviewed by Adam Barth. 11599 11600 Simplify BuildBot core builder code for easier re-use 11601 https://bugs.webkit.org/show_bug.cgi?id=36350 11602 11603 I simply couldn't see anything through all this Yak-hair. 11604 11605 * Scripts/webkitpy/buildbot.py: 11606 * Scripts/webkitpy/commands/queries.py: 11607 11608 2010-03-19 Adam Barth <abarth (a] webkit.org> 11609 11610 Reviewed by Eric Seidel. 11611 11612 committers.py should know IRC nicknames 11613 https://bugs.webkit.org/show_bug.cgi?id=36349 11614 11615 I'll add the actual nicknames in another patch. 11616 11617 * Scripts/webkitpy/committers.py: 11618 * Scripts/webkitpy/committers_unittest.py: 11619 11620 2010-03-18 Anders Bakken <agbakken (a] gmail.com> 11621 11622 Reviewed by Simon Hausmann. 11623 11624 https://bugs.webkit.org/show_bug.cgi?id=36318 11625 11626 QtLauncher runs as a GuiClient by default in Qt Embedded which will 11627 make it try to connect to an existing GuiServer. This patch makes it 11628 run like a stand-alone app. 11629 11630 * QtLauncher/main.cpp: 11631 (LauncherApplication::LauncherApplication): 11632 11633 2010-03-19 Eric Seidel <eric (a] webkit.org> 11634 11635 Reviewed by Adam Barth. 11636 11637 Move find_green_to_red_transition out of "what-broke" onto Builder for easier re-use 11638 https://bugs.webkit.org/show_bug.cgi?id=36345 11639 11640 * Scripts/webkitpy/buildbot.py: 11641 * Scripts/webkitpy/commands/queries.py: 11642 11643 2010-03-19 Adam Barth <abarth (a] webkit.org> 11644 11645 Reviewed by Adam Barth. 11646 11647 Actually pass the IRC password to the IRC object 11648 https://bugs.webkit.org/show_bug.cgi?id=36346 11649 11650 I wanted to do this before, but both patches were in flight. This 11651 patch finally closes the loop and makes the IRCProxy system complete. 11652 11653 * Scripts/webkitpy/patch/patcher.py: 11654 11655 2010-03-18 Adam Barth <abarth (a] webkit.org> 11656 11657 Reviewed by Eric Seidel. 11658 11659 Add a StatusServer front end to the SVNRevision table on QueueStatusServer 11660 https://bugs.webkit.org/show_bug.cgi?id=36344 11661 11662 No test because Browser was too hard to mock. :( I couldn't figure 11663 out how to make Mock be a dictionary as well as an object. 11664 11665 * Scripts/webkitpy/statusserver.py: 11666 11667 2010-03-18 Eric Seidel <eric (a] webkit.org> 11668 11669 Reviewed by Adam Barth. 11670 11671 Split out CommitInfo class and add unit tests 11672 https://bugs.webkit.org/show_bug.cgi?id=36343 11673 11674 Move more logic out of "what-broke" into a shared CommitInfo 11675 class so that it can be used by other commands and unit tested. 11676 11677 * Scripts/webkitpy/commands/queries.py: 11678 * Scripts/webkitpy/commitinfo.py: Added. 11679 * Scripts/webkitpy/commitinfo_unittest.py: Added. 11680 * Scripts/webkitpy/unittests.py: 11681 11682 2010-03-18 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 11683 11684 Reviewed by Kenneth Rohde Christiansen. 11685 11686 [Qt] Fix LayoutTests/http/tests/appcache/max-size.html 11687 https://bugs.webkit.org/show_bug.cgi?id=36207 11688 11689 Implement setAppCacheMaximumSize() for Qt. 11690 11691 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 11692 (LayoutTestController::setAppCacheMaximumSize): 11693 * DumpRenderTree/qt/LayoutTestControllerQt.h: 11694 11695 2010-03-18 Adam Barth <abarth (a] webkit.org> 11696 11697 Reviewed by Eric Seidel. 11698 11699 QueueStatusServer should be able to log broken bots 11700 https://bugs.webkit.org/show_bug.cgi?id=36341 11701 11702 We need to add a new table to the QueueStatusServer to store persistent 11703 information for the SheriffBot. The new table will keep track of which 11704 bots each SVN revision broke. 11705 11706 * QueueStatusServer/handlers/__init__.py: 11707 * QueueStatusServer/handlers/svnrevision.py: Added. 11708 * QueueStatusServer/handlers/updatebase.py: Added. 11709 * QueueStatusServer/handlers/updatestatus.py: 11710 * QueueStatusServer/handlers/updatesvnrevision.py: Added. 11711 * QueueStatusServer/index.yaml: 11712 * QueueStatusServer/main.py: 11713 * QueueStatusServer/model/__init__.py: 11714 * QueueStatusServer/model/svnrevision.py: Added. 11715 * QueueStatusServer/templates/updatesvnrevision.html: Added. 11716 11717 2010-03-18 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 11718 11719 Reviewed by Darin Adler. 11720 11721 Add a new method to the Qt LayoutTestController for 11722 changing media type and make the DRT support dry-run printing. 11723 11724 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 11725 (WebCore::DumpRenderTree::DumpRenderTree): 11726 (WebCore::DumpRenderTree::dryRunPrint): 11727 * DumpRenderTree/qt/DumpRenderTreeQt.h: 11728 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 11729 (LayoutTestController::setMediaType): 11730 * DumpRenderTree/qt/LayoutTestControllerQt.h: 11731 11732 2010-03-18 Dirk Pranke <dpranke (a] chromium.org> 11733 11734 Reviewed by Dimitri Glazkov. 11735 11736 Add upstream LayoutTests/platform/chromium* directories to the 11737 baseline search path for new-run-webkit-tests in preparation for 11738 upstreaming all of the Chromium baselines. Note that this does 11739 not actually create the directories themselves, but that's okay. 11740 11741 https://bugs.webkit.org/show_bug.cgi?id=36324 11742 11743 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 11744 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 11745 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 11746 11747 2010-03-18 Alexey Proskuryakov <ap (a] apple.com> 11748 11749 Reviewed by Anders Carlsson. 11750 11751 https://bugs.webkit.org/show_bug.cgi?id=36327 11752 Test that a plug-in can override Node methods of its element 11753 11754 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 11755 (normalizeOverride): 11756 (pluginInvoke): 11757 Override "normalize", and call back to let a test know that the plug-in was called. 11758 11759 2010-03-17 Dirk Pranke <dpranke (a] chromium.org> 11760 11761 Reviewed by Dimitri Glazkov. 11762 11763 Add the concept of an "overrides" file for expectations so that we 11764 can store test_expectations both upstream and downstream for a port 11765 that runs both in webkit.org and in a separate repository (like 11766 Chromium). Also add some unit tests for the expectations module. 11767 11768 https://bugs.webkit.org/show_bug.cgi?id=36249 11769 11770 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 11771 * Scripts/webkitpy/layout_tests/layout_package/test_expectations_test.py: Added. 11772 * Scripts/webkitpy/layout_tests/port/base.py: 11773 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 11774 11775 2010-03-18 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 11776 11777 Reviewed by Kenneth Rohde Christiansen. 11778 11779 Add an overlay QGraphicsTextItem to QtLauncher so we can display FPS info 11780 on the launcher and not on the terminal anymore. 11781 11782 [Qt] QtLauncher's FPS info should be displayed on an overlay text item 11783 https://bugs.webkit.org/show_bug.cgi?id=36244 11784 11785 * QtLauncher/webview.cpp: 11786 (WebViewGraphicsBased::WebViewGraphicsBased): 11787 (WebViewGraphicsBased::setFrameRateMeasurementEnabled): 11788 (WebViewGraphicsBased::updateFrameRate): 11789 * QtLauncher/webview.h: 11790 11791 2010-03-18 Adam Barth <abarth (a] webkit.org> 11792 11793 Reviewed by Eric Seidel. 11794 11795 First cut at SheriffBot 11796 https://bugs.webkit.org/show_bug.cgi?id=36253 11797 11798 This patch contains a first attempt at writing a sheriff bot. 11799 Currently, we're missing the logic that actually finds the SVN revision 11800 numbers to complain about, but once we have that, we'll have the rest 11801 of the infrustructure to ping IRC and to file bugs. 11802 11803 There's a lot to fill in for the SheriffBot, but this patch give us the 11804 framework in which to do it. 11805 11806 This patch required a bit of refactoring of AbstractQueue because 11807 SheriffBot is the first bot that doesn't process patches (it processes 11808 SVN revisions). Accordingly, I've factored out AbstractPatchQueue to 11809 hold the parts of AbstractQueue that are specific to dealing with 11810 patches. Some of the choices here might not be obvious yet, but we can 11811 tweak them as our needs become clearer. 11812 11813 * Scripts/webkitpy/commands/queues.py: 11814 * Scripts/webkitpy/commands/queues_unittest.py: 11815 * Scripts/webkitpy/commands/sheriffbot.py: Added. 11816 * Scripts/webkitpy/commands/sheriffbot_unittest.py: Added. 11817 * Scripts/webkitpy/mock_bugzillatool.py: 11818 Added a MockIRC object to the mock tool. 11819 * Scripts/webkitpy/multicommandtool.py: 11820 Added a finalize method so the tool can disconnect from IRC 11821 cleanly instead of just droping the socket. 11822 * Scripts/webkitpy/multicommandtool_unittest.py: 11823 * Scripts/webkitpy/patch/patcher.py: 11824 Added support for talking to IRC. 11825 * Scripts/webkitpy/unittests.py: 11826 We should add a commands/unittests.py file at some point to make 11827 the commands module more self-contained. 11828 11829 2010-03-18 Antti Koivisto <koivisto (a] iki.fi> 11830 11831 Reviewed by Kenneth Rohde Christiansen. 11832 11833 https://bugs.webkit.org/show_bug.cgi?id=36102 11834 [Qt] Scaling control API for tiled backing store 11835 11836 Add animated smooth zooming to Qt launcher when in tiled mode. 11837 11838 * QtLauncher/main.cpp: 11839 (LauncherWindow::LauncherWindow): 11840 (LauncherWindow::zoomAnimationFinished): 11841 (LauncherWindow::applyZoom): 11842 (LauncherWindow::zoomIn): 11843 (LauncherWindow::zoomOut): 11844 * QtLauncher/webview.h: 11845 (WebViewGraphicsBased::graphicsWebView): 11846 11847 2010-03-18 Adam Barth <abarth (a] webkit.org> 11848 11849 Reviewed by Eric Seidel. 11850 11851 Support using IRC accounts with a password 11852 https://bugs.webkit.org/show_bug.cgi?id=36287 11853 11854 Add a global option to specify an IRC password so we can use the 11855 sheriffbot account (which needs a password). 11856 11857 * Scripts/webkitpy/irc/ircbot.py: 11858 * Scripts/webkitpy/irc/ircproxy.py: 11859 * Scripts/webkitpy/patch/patcher.py: 11860 11861 2010-03-18 Eric Seidel <eric (a] webkit.org> 11862 11863 Just fixing missing parenthesis typo, no review. 11864 11865 * Scripts/webkitpy/commands/queries.py: '%' has higher precedence than 'or', use parentheses. 11866 11867 2010-03-18 Alexey Proskuryakov <ap (a] apple.com> 11868 11869 Reviewed by Adam Roben and Anders Carlsson. 11870 11871 https://bugs.webkit.org/show_bug.cgi?id=36210 11872 plugins/resize-from-plugin.html fails on some platforms 11873 11874 Turns out that most platforms don't use "cross-platform" main.cpp. Copied code added for 11875 the test to their versions of the file. 11876 11877 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: 11878 (webkit_test_plugin_set_window): 11879 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: 11880 (NPP_SetWindow): 11881 11882 2010-03-18 Leandro Pereira <leandro (a] profusion.mobi> 11883 11884 Reviewed by Kenneth Rohde Christiansen. 11885 11886 Add support to run-launcher to open the EFL example browser. 11887 http://webkit.org/b/36181 11888 11889 * Scripts/webkitdirs.pm: 11890 * Scripts/run-launcher: 11891 11892 2010-03-18 Sergio Villar Senin <svillar (a] igalia.com> 11893 11894 Reviewed by Xan Lopez. 11895 11896 [GTK] Failing tests http/tests/misc/image-blocked-src-change.html 11897 & http/tests/misc/image-blocked-src-no-change.html 11898 https://bugs.webkit.org/show_bug.cgi?id=36227 11899 11900 * DumpRenderTree/gtk/DumpRenderTree.cpp: 11901 (webViewConsoleMessage): print only the file name instead of the 11902 whole URI when printing messages with local URI's 11903 11904 2010-03-18 Eric Seidel <eric (a] webkit.org> 11905 11906 Reviewed by Adam Barth. 11907 11908 Teach what-broke how to look up reviewer and author Committer objects by name 11909 https://bugs.webkit.org/show_bug.cgi?id=36264 11910 11911 * Scripts/webkitpy/commands/queries.py: 11912 - Add committer_by_name lookups for both reviewer and author 11913 - Improve printing in the cases where lookups fail. 11914 * Scripts/webkitpy/committers.py: 11915 - Add committer_by_name 11916 * Scripts/webkitpy/committers_unittest.py: 11917 - Test committer_by_name 11918 11919 2010-03-17 Adam Barth <abarth (a] webkit.org> 11920 11921 Reviewed by Eric Seidel. 11922 11923 create-rollout should actually fill out the description 11924 https://bugs.webkit.org/show_bug.cgi?id=36261 11925 11926 * Scripts/webkitpy/commands/download.py: 11927 The % operator was applied to the wrong string. 11928 * Scripts/webkitpy/commands/download_unittest.py: 11929 * Scripts/webkitpy/commands/upload_unittest.py: 11930 * Scripts/webkitpy/mock_bugzillatool.py: 11931 Add support for seeing what we actually do with create_bug. 11932 11933 2010-03-17 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 11934 11935 Reviewed by Kenneth Rohde Christiansen. 11936 11937 Accelerated Compositing is now default on QtWebKit so the option 11938 in QtLauncher must be true as default. 11939 11940 [Qt] QtLauncher's Accelerated Compositing option must be true as default 11941 https://bugs.webkit.org/show_bug.cgi?id=36234 11942 11943 * QtLauncher/main.cpp: 11944 (LauncherWindow::applyPrefs): 11945 (LauncherWindow::toggleAcceleratedCompositing): 11946 (LauncherApplication::handleUserOptions): 11947 11948 2010-03-17 Adam Barth <abarth (a] webkit.org> 11949 11950 Reviewed by Eric Seidel. 11951 11952 Commit queue should ignore (probably red) builders when landing rollouts 11953 https://bugs.webkit.org/show_bug.cgi?id=36169 11954 11955 When landing a rollout, the builders are probably red, so we need to 11956 ignore them in the subprocess too. Also, we might as well update the 11957 working copy because we haven't validated anything about the current 11958 revision prior to trying to land. 11959 11960 This change is testable, but it requires changing the mock executive to 11961 log its arguments. That will generate a lot of expectation changes, so 11962 I'd like to do that in a separate patch. 11963 11964 * Scripts/webkitpy/commands/queues.py: 11965 11966 2010-03-17 Chang Shu <chang.shu (a] nokia.com> 11967 11968 Reviewed by Laszlo Gombos. 11969 11970 https://bugs.webkit.org/show_bug.cgi?id=36139 11971 [Qt] Clean up cache each time DumpRenderTree starts. This behavior 11972 matches other platforms, such as mac and gtk. 11973 11974 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 11975 (WebCore::DumpRenderTree::DumpRenderTree): 11976 11977 2010-03-17 Adam Barth <abarth (a] webkit.org> 11978 11979 Unreviewed. 11980 11981 Turns out this needs to be a string. 11982 11983 * Scripts/webkitpy/bugzilla.py: 11984 11985 2010-03-17 Eric Seidel <eric (a] webkit.org> 11986 11987 Reviewed by Adam Barth. 11988 11989 Add more infrastructure for sheriff-bot, including making what-broke more awesome 11990 https://bugs.webkit.org/show_bug.cgi?id=36254 11991 11992 * Scripts/webkitpy/bugzilla.py: 11993 - Made the various URL methods return None when passed None. 11994 * Scripts/webkitpy/bugzilla_unittest.py: 11995 - Test that the url methods work as expected. 11996 * Scripts/webkitpy/buildbot.py: 11997 - Add a static Build.build_url so that its possible to generate a build url without a Build object. 11998 - Give users a URL in _fetch_xmlrpc_build_dictionary error message. 11999 * Scripts/webkitpy/changelogs.py: 12000 - Add a new ChangeLogEntry class to encapsulate entry-parsing logic. 12001 - Add is_path_to_changelog to greatly simplify SCM.modified_changelogs code. 12002 - Make ChangeLog.parse_latest_entry_from_file a public method. 12003 * Scripts/webkitpy/changelogs_unittest.py: 12004 - Add tests for new ChangeLog entry parsing. 12005 * Scripts/webkitpy/commands/queries.py: 12006 - Make "what-broke" not print "ok" builders, only failing ones. 12007 - Print much more information on failing builders, including links and authorship/reviewer information. 12008 * Scripts/webkitpy/commands/queues_unittest.py: 12009 - Use a fake_checkout path since fixing the cwd (as part of fixing scm_unittests.py) was breaking tests. 12010 * Scripts/webkitpy/mock_bugzillatool.py: 12011 - Move MockSCM away from using os.getcwd() as that was fragile (and wrong). 12012 * Scripts/webkitpy/patch/patcher.py: 12013 - Remove code which was broken now that this file has moved. 12014 - Code was also redundant now that SCM.find_checkout_root() exists. 12015 * Scripts/webkitpy/scm.py: 12016 - Greatly simplify modified_changelogs now that I understand list comprehensions. 12017 - Expect ChangeLogEntry objects instead of raw strings. 12018 - Add changed_files_for_revision, committer_email_for_revision and contents_at_revision 12019 - Add commit_with_message argument to all sites since someone half-added it before. :( 12020 - Get rid of copy/paste code using _status_regexp() 12021 * Scripts/webkitpy/scm_unittest.py: 12022 - Fix these tests! 12023 - Add new tests for new scm code. 12024 - Fix spelling of "awsome" to "awesome". 12025 12026 2010-03-17 Daniel Bates <dbates (a] rim.com> 12027 12028 Rubber-stamped by David Levin. 12029 12030 Add myself to the list of reviewers. 12031 12032 * Scripts/webkitpy/committers.py: 12033 12034 2010-03-17 Adam Barth <abarth (a] webkit.org> 12035 12036 Reviewed by Eric Seidel. 12037 12038 Change post-rollout to create-rollout and have it make a new bug 12039 instead of posting the rollout to the old bug. 12040 https://bugs.webkit.org/show_bug.cgi?id=36250 12041 12042 The new bug blocks the old bug instead of adding more complexity to the 12043 old bug. One tricky question is whether to create the bug if we're 12044 unable to create a rollout patch. In this patch, we do create the bug, 12045 but we might revist this question in the future. 12046 12047 * Scripts/webkitpy/bugzilla.py: 12048 * Scripts/webkitpy/commands/download.py: 12049 * Scripts/webkitpy/commands/download_unittest.py: 12050 * Scripts/webkitpy/steps/createbug.py: 12051 12052 2010-03-17 Adam Barth <abarth (a] webkit.org> 12053 12054 Reviewed by Eric Seidel. 12055 12056 Add a way for the bots to send messages to IRC 12057 https://bugs.webkit.org/show_bug.cgi?id=36235 12058 12059 We'll use these classes to notify #webkit about bad SVN revisions. 12060 This patch just has some skeleton code for us to play with. 12061 12062 * Scripts/webkitpy/irc/__init__.py: Added. 12063 * Scripts/webkitpy/irc/ircbot.py: Added. 12064 A bot that knows how to talk to IRC. 12065 * Scripts/webkitpy/irc/ircproxy.py: Added. 12066 We need to run the bot on its own thread because the irclib needs 12067 its own mainloop. This class provides an abstraction of the 12068 threading. 12069 * Scripts/webkitpy/irc/messagepump.py: Added. 12070 * Scripts/webkitpy/irc/messagepump_unittest.py: Added. 12071 * Scripts/webkitpy/irc/threadedmessagequeue.py: Added. 12072 A thread-safe message queue for sending messages from the main 12073 thread to the IRC thread. 12074 * Scripts/webkitpy/irc/threadedmessagequeue_unittest.py: Added. 12075 * Scripts/webkitpy/irc/unittests.py: Added. 12076 * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py: 12077 Autoinstall irclib 12078 * Scripts/webkitpy/unittests.py: 12079 12080 2010-03-17 Victor Wang <victorw (a] chromium.org> 12081 12082 Reviewed by Dimitri Glazkov. 12083 12084 Fix image_diff syntax in webkitpy/port/base.py. 12085 The syntax is wrong if diff_filename is specified. 12086 12087 https://bugs.webkit.org/show_bug.cgi?id=36230 12088 12089 * Scripts/webkitpy/layout_tests/port/base.py: 12090 12091 2010-03-16 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 12092 12093 Reviewed by Kenneth Christiansen. 12094 12095 Provide to QtLauncher a way to change the ViewportUpdateMode 12096 when it's in graphics based mode. 12097 12098 [Qt] Make QtLaucher able to select the ViewportUpdateMode 12099 https://bugs.webkit.org/show_bug.cgi?id=36175 12100 12101 * QtLauncher/main.cpp: 12102 (LauncherWindow::selectViewportUpdateMode): 12103 (LauncherWindow::createChrome): 12104 12105 2010-03-17 Zoltan Horvath <zoltan (a] webkit.org> 12106 12107 Reviewed by Darin Adler. 12108 12109 Ambiguous error message when building for unspecified platform 12110 https://bugs.webkit.org/show_bug.cgi?id=30203 12111 12112 Add an extra line information to the error message. 12113 12114 * Scripts/webkitdirs.pm: 12115 12116 2010-03-16 Adam Barth <abarth (a] webkit.org> 12117 12118 No review, rolling out r56044. 12119 http://trac.webkit.org/changeset/56044 12120 https://bugs.webkit.org/show_bug.cgi?id=36048 12121 12122 This patch broke Windows Debug (Tests) 12123 12124 * Scripts/webkitdirs.pm: 12125 12126 2010-03-16 John Abd-El-Malek <jam (a] chromium.org> 12127 12128 Reviewed by Darin Fisher. 12129 12130 Give keyboard focus to PluginDocuments by default 12131 https://bugs.webkit.org/show_bug.cgi?id=36147 12132 12133 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 12134 (pluginAllocate): 12135 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 12136 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 12137 (NPP_New): 12138 (NPP_SetWindow): 12139 (handleEventCarbon): 12140 (handleEventCocoa): 12141 12142 2010-03-16 Sam Weinig <sam (a] webkit.org> 12143 12144 Reviewed by Mark Rowe. 12145 12146 Fix run-webkit-httpd on Windows. 12147 12148 * Scripts/webkitperl/httpd.pm: 12149 12150 2010-03-16 Alexey Proskuryakov <ap (a] apple.com> 12151 12152 Tiger build fix. 12153 12154 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (pluginGetProperty): 12155 Added more type casts to shut down warnings. 12156 12157 2010-03-16 Alexey Proskuryakov <ap (a] apple.com> 12158 12159 Reviewed by Darin Adler. 12160 12161 https://bugs.webkit.org/show_bug.cgi?id=36184 12162 YouTube video resizing doesn't work with OOP plug-ins 12163 12164 Added a resizeTo() method, which calls resizePlugin() in JS with the same arguments, 12165 and a lastSetWindowArguments property, which returns a string describing the last NPWindow 12166 passed to NPN_SetWindow. 12167 12168 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 12169 (pluginGetProperty): 12170 (testResizeTo): 12171 (pluginInvoke): 12172 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 12173 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 12174 (NPP_SetWindow): 12175 12176 2010-03-16 Joanmarie Diggs <joanmarie.diggs (a] gmail.com> 12177 12178 Reviewed by Xan Lopez. 12179 12180 https://bugs.webkit.org/show_bug.cgi?id=35504 12181 [Gtk] Evaluate and fix AtkTable for layout tables 12182 12183 Implements rowCount and columnCount for Gtk in DRT. 12184 12185 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 12186 (AccessibilityUIElement::rowCount): 12187 (AccessibilityUIElement::columnCount): 12188 12189 2010-03-15 Eric Seidel <eric (a] webkit.org> 12190 12191 Reviewed by Adam Barth. 12192 12193 Add "what-broke" command for debugging when the tree broke 12194 https://bugs.webkit.org/show_bug.cgi?id=36157 12195 12196 This is another step towards automated sheriffing of the webkit tree. 12197 With this logic our scripts are able to determine what revision broke the 12198 tree. Buildbot should do this for us, but unfortunately buildbot doesn't 12199 expose this kind of aggregate information. 12200 12201 * Scripts/webkitpy/buildbot.py: 12202 - Add new Builder and Build classes (which will eventually replace the custom dictionaries previously used). 12203 - Split out more network logic into _fetch methods which will eventually be their own class for mocking. 12204 - Use XMLRPC to communicate with the buildbot master instead of scraping build pages. 12205 * Scripts/webkitpy/buildbot_unittest.py: 12206 - Test the newly added buildbot classes. 12207 * Scripts/webkitpy/commands/queries.py: 12208 - Add an experimental what-broke command. 12209 12210 2010-03-15 Daniel Bates <dbates (a] rim.com> 12211 12212 Reviewed by Eric Seidel. 12213 12214 https://bugs.webkit.org/show_bug.cgi?id=36048 12215 12216 Detect if the Windows Platform SDK is missing when building with 12217 Visual C++ Express Edition and inform the user to download it. 12218 12219 * Scripts/webkitdirs.pm: 12220 12221 2010-03-15 Adam Barth <abarth (a] webkit.org> 12222 12223 Reviewed by Eric Seidel. 12224 12225 Let commit-queue land rollout patches even when the tree is red 12226 https://bugs.webkit.org/show_bug.cgi?id=36155 12227 12228 Now the commit-queue will land patches whose name begins with "ROLLOUT " 12229 even if the tree is red. The patches still go through the usual build 12230 and test process, but they can be landed while the tree is on fire. 12231 12232 * Scripts/webkitpy/bugzilla.py: 12233 * Scripts/webkitpy/commands/queues.py: 12234 * Scripts/webkitpy/commands/queues_unittest.py: 12235 * Scripts/webkitpy/commands/queuestest.py: 12236 * Scripts/webkitpy/mock_bugzillatool.py: 12237 12238 2010-03-15 Adam Barth <abarth (a] webkit.org> 12239 12240 Reviewed by Eric Seidel. 12241 12242 Add webkit-patch post-rollout to upload rollouts to bugs.webkit.org for easy committing 12243 https://bugs.webkit.org/show_bug.cgi?id=36154 12244 12245 This new command is a mashup of prepare-rollout and post. This command 12246 will be used by an experimental bot to post rollouts of patches that 12247 break things to bugs.webkit.org where they can be landed with the 12248 greatest of ease. 12249 12250 * Scripts/webkitpy/commands/download.py: 12251 * Scripts/webkitpy/commands/download_unittest.py: 12252 * Scripts/webkitpy/steps/__init__.py: 12253 * Scripts/webkitpy/steps/postdiffforrevert.py: Added. 12254 12255 2010-03-15 Adam Barth <abarth (a] webkit.org> 12256 12257 Reviewed by Eric Seidel. 12258 12259 webkit-patch rollout should error out on conflicts 12260 https://bugs.webkit.org/show_bug.cgi?id=36151 12261 12262 Instead of blindingly plowing ahead, we now throw an exception if there 12263 are conflicts after applying a reverse diff. 12264 12265 * Scripts/webkitpy/scm.py: 12266 12267 2010-03-15 Chris Fleizach <cfleizach (a] apple.com> 12268 12269 Unreviewed layout test fix. 12270 12271 VO not able to perform a VO-spacebar on facebook links 12272 https://bugs.webkit.org/show_bug.cgi?id=36132 12273 12274 GTK needs to implement press for this test to work. 12275 12276 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 12277 (AccessibilityUIElement::press): 12278 12279 2010-03-15 Chris Fleizach <cfleizach (a] apple.com> 12280 12281 Unreviewed layout test fix. 12282 12283 VO not able to perform a VO-spacebar on facebook links 12284 https://bugs.webkit.org/show_bug.cgi?id=36132 12285 12286 Windows needs to implement press in DRT. 12287 12288 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 12289 (AccessibilityUIElement::press): 12290 12291 2010-03-15 Chris Fleizach <cfleizach (a] apple.com> 12292 12293 Unreviewed. Fix break of layout tests on win and gtk. 12294 12295 VO not able to perform a VO-spacebar on facebook links 12296 https://bugs.webkit.org/show_bug.cgi?id=36132 12297 12298 Attempting to implement press action for windows and gtk. 12299 12300 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 12301 (AccessibilityUIElement::press): 12302 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 12303 (AccessibilityUIElement::press): 12304 12305 2010-03-15 Chris Fleizach <cfleizach (a] apple.com> 12306 12307 Reviewed by Beth Dakin. 12308 12309 VO not able to perform a VO-spacebar on facebook links 12310 https://bugs.webkit.org/show_bug.cgi?id=36132 12311 12312 * DumpRenderTree/AccessibilityUIElement.cpp: 12313 (pressCallback): 12314 (AccessibilityUIElement::getJSClass): 12315 * DumpRenderTree/AccessibilityUIElement.h: 12316 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 12317 (AccessibilityUIElement::press): 12318 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 12319 (AccessibilityUIElement::press): 12320 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 12321 (AccessibilityUIElement::press): 12322 12323 2010-03-15 Mark Rowe <mrowe (a] apple.com> 12324 12325 Add a new build slave to replace the existing SnowLeopard Leaks build slave which 12326 appears to be suffering a slow and painful death at the hands of its graphics hardware. 12327 12328 * BuildSlaveSupport/build.webkit.org-config/config.json: 12329 12330 2010-03-15 Dirk Pranke <dpranke (a] chromium.org> 12331 12332 Reviewed by Alexey Proskuryakov. 12333 12334 Fix a minor case where we'd deference a null pointer if we tried 12335 to run new-run-webkit-tests on an unsupported platform (e.g. 12336 Cygwin's python version). 12337 12338 https://bugs.webkit.org/show_bug.cgi?id=36076 12339 12340 * Scripts/webkitpy/layout_tests/port/factory.py: 12341 12342 2010-03-15 Darin Adler <darin (a] apple.com> 12343 12344 Tell Subversion about more directories that expect to have .pyc files. 12345 12346 * Scripts/webkitpy/layout_tests: Added property svn:ignore. 12347 * Scripts/webkitpy/layout_tests/port: Added property svn:ignore. 12348 12349 2010-03-15 Adam Barth <abarth (a] webkit.org> 12350 12351 Reviewed by Darin Adler. 12352 12353 Operational scripts from running the EWS 12354 https://bugs.webkit.org/show_bug.cgi?id=36097 12355 12356 These are the scripts I use to manage the EWS on EC2. If someone other 12357 than me wants to run the EWS, these scripts might be helpful. 12358 12359 * EWSTools/boot.sh: Added. 12360 * EWSTools/create-webkit-git: Added. 12361 * EWSTools/screen-config: Added. 12362 * EWSTools/start-queue.sh: Added. 12363 12364 2010-03-14 Adam Barth <abarth (a] webkit.org> 12365 12366 Unreviewed. 12367 12368 Fix the webkit-patch bots. Turns out they need the path of the main 12369 script to run properly. 12370 12371 * Scripts/webkit-patch: 12372 * Scripts/webkitpy/patch/patcher.py: 12373 12374 2010-03-14 Darin Adler <darin (a] apple.com> 12375 12376 Tell Subversion about more directories that expect to have .pyc files. 12377 12378 * Scripts/webkitpy/init: Added property svn:ignore. 12379 * Scripts/webkitpy/patch: Added property svn:ignore. 12380 * Scripts/webkitpy/thirdparty: Added property svn:ignore. 12381 * Scripts/webkitpy/thirdparty/autoinstalled: Added property svn:ignore. 12382 12383 2010-03-14 Antti Koivisto <koivisto (a] iki.fi> 12384 12385 Reviewed by Simon Hausmann. 12386 12387 https://bugs.webkit.org/show_bug.cgi?id=35146 12388 Support tiled backing store 12389 12390 QtLauncher support and build flag in build-webkit. 12391 12392 * QtLauncher/main.cpp: 12393 (LauncherWindow::applyPrefs): 12394 (LauncherWindow::toggleTiledBackingStore): 12395 (LauncherWindow::toggleResizesToContents): 12396 (LauncherWindow::createChrome): 12397 (LauncherApplication::handleUserOptions): 12398 * QtLauncher/webview.cpp: 12399 (WebViewGraphicsBased::WebViewGraphicsBased): 12400 (WebViewGraphicsBased::setResizesToContents): 12401 (WebViewGraphicsBased::resizeEvent): 12402 * QtLauncher/webview.h: 12403 * Scripts/build-webkit: 12404 12405 2010-03-13 Chris Jerdonek <cjerdonek (a] webkit.org> 12406 12407 Reviewed by Adam Barth. 12408 12409 The webkit-patch script now displays a warning if run using 12410 a version of Python less than 2.5. This will help users 12411 understand why webkit-patch is erroring out if they are 12412 using Python 2.4, for example. 12413 12414 https://bugs.webkit.org/show_bug.cgi?id=31533 12415 12416 * Scripts/webkit-patch: 12417 - Moved most of the file contents to webkitpy/patch/patcher.py 12418 so the Python version can be checked before interpreting 12419 any code that can cause the script to error out. 12420 - Added a configure_logging() method to enable any version 12421 warnings to show up. 12422 - Added a main() method with calls to configure_logging(), 12423 check_version(), and the main webkit patch method. 12424 12425 * Scripts/webkitpy/patch/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py. 12426 - This file is required to make a folder a package. 12427 12428 * Scripts/webkitpy/patch/patcher.py: Added. 12429 - Moved code from Scripts/webkit-patch. 12430 12431 2010-03-13 Chris Jerdonek <cjerdonek (a] webkit.org> 12432 12433 Reviewed by Adam Barth. 12434 12435 Changed test-webkitpy so that messages logged as a side-effect 12436 of unit-testing code do not get displayed to the screen. These 12437 messages clutter up the unit test results if not filtered out. 12438 12439 https://bugs.webkit.org/show_bug.cgi?id=35835 12440 12441 * Scripts/test-webkitpy: 12442 - Adjusted the configure_logging() method to filter out any 12443 log messages from webkitpy. 12444 - Also added an INFO message stating that most console logging 12445 is getting suppressed. 12446 12447 * Scripts/webkitpy/init/versioning.py: 12448 - Added a log parameter to the check_version() method. 12449 12450 * Scripts/webkitpy/init/versioning_unittest.py: 12451 - Qualified a call to check_version() with the parameter names. 12452 12453 2010-03-13 Chris Jerdonek <cjerdonek (a] webkit.org> 12454 12455 Reviewed by Adam Barth. 12456 12457 The test-webkitpy script now warns the user if the script is 12458 being run using a Python version different from the minimum 12459 version the webkitpy package was meant to support. 12460 12461 https://bugs.webkit.org/show_bug.cgi?id=35788 12462 12463 Warning developers if their Python version is too low will help 12464 them understand why test-webkitpy is failing. Secondly, warning 12465 developers if their Python version is higher than the minimum will 12466 help them understand that their changes may not be okay for the 12467 minimum supported version, even if test-webkitpy is passing. 12468 12469 * Scripts/test-webkitpy: 12470 - Moved the "from ..._unittest import *" lines to the new 12471 file Scripts/webkitpy/unittests.py. This will allow the 12472 version-check warning to be displayed even if an error occurs 12473 while interpreting (i.e. importing) the unit test code. 12474 - Added configure_logging() to configur logging for test-webkitpy. 12475 - Added an init() method to configure logging and check the 12476 current Python version. 12477 12478 * Scripts/webkitpy/init/unittests.py: Added. 12479 - Added a file to import all unit test modules in the 12480 webkitpy.init package. 12481 12482 * Scripts/webkitpy/init/versioning.py: Added. 12483 - Added a _MINIMUM_SUPPORTED_PYTHON_VERSION variable and set 12484 it equal to 2.5. 12485 - Added a compare_version() method to compare the current Python 12486 version against a target version. 12487 - Added a check_version() method to check the current Python 12488 version against the current minimum supported version, and to 12489 log a warning message if the check fails. 12490 12491 * Scripts/webkitpy/init/versioning_unittest.py: Added. 12492 - Added unit tests for the functions in versioning.py. 12493 12494 * Scripts/webkitpy/style/unittests.py: 12495 - Fixed/updated a code comment. 12496 12497 * Scripts/webkitpy/unittests.py: Added. 12498 - Moved the "from ..._unittest import *" lines from test-webkitpy. 12499 12500 2010-03-13 Chris Jerdonek <cjerdonek (a] webkit.org> 12501 12502 Reviewed by Adam Barth. 12503 12504 Moved all code in webkitpy/__init__.py to another location. 12505 12506 https://bugs.webkit.org/show_bug.cgi?id=35828 12507 12508 Keeping webkitpy/__init__.py free of non-trivial code allows 12509 calling code to import initialization code from webkitpy 12510 before any errors or log messages occur due to code in 12511 __init__.py. Such initialization code can include things like 12512 version checking code and logging configuration code. This 12513 also lets us move the autoinstall initialization code to a 12514 location where it only executes if it is needed -- something 12515 we have done in this patch. 12516 12517 * Scripts/webkitpy/__init__.py: 12518 - Moved all executable code to the following location: 12519 webkitpy/thirdparty/autoinstalled/__init__.py 12520 - Added a code comment to keep this file free of non-trivial 12521 code. 12522 12523 * Scripts/webkitpy/bugzilla.py: 12524 - Updated mechanize import statement. 12525 12526 * Scripts/webkitpy/networktransaction.py: 12527 - Updated mechanize import statement. 12528 12529 * Scripts/webkitpy/networktransaction_unittest.py: 12530 - Updated mechanize import statement. 12531 12532 * Scripts/webkitpy/statusserver.py: 12533 - Updated mechanize import statement. 12534 12535 * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py: Added. 12536 - Copied the code from webkitpy/__init__.py and updated it 12537 as necessary. 12538 12539 2010-03-13 Chris Jerdonek <cjerdonek (a] webkit.org> 12540 12541 Reviewed by Adam Barth. 12542 12543 Moved webkitpy/mock.py into webkitpy/thirdparty since it is 12544 third-party code. 12545 12546 https://bugs.webkit.org/show_bug.cgi?id=35499 12547 12548 Updated the import statement in all of the below except where noted. 12549 12550 * Scripts/webkitpy/bugzilla_unittest.py: 12551 * Scripts/webkitpy/commands/commandtest.py: 12552 * Scripts/webkitpy/commands/download_unittest.py: 12553 * Scripts/webkitpy/commands/early_warning_system_unittest.py: 12554 * Scripts/webkitpy/commands/queries_unittest.py: 12555 * Scripts/webkitpy/commands/queues_unittest.py: 12556 * Scripts/webkitpy/commands/queuestest.py: 12557 * Scripts/webkitpy/commands/upload.py: 12558 * Scripts/webkitpy/commands/upload_unittest.py: 12559 * Scripts/webkitpy/commands_references.py: Added. 12560 - Added a file containing an absolute import of Mock so that 12561 the imports in the commands folder can import from this file 12562 (similar to style_references.py). This helps limit the 12563 number of affected files in future refactorings. 12564 12565 * Scripts/webkitpy/credentials_unittest.py: 12566 * Scripts/webkitpy/mock.py: Removed. 12567 - Moved to Scripts/webkitpy/thirdparty. 12568 12569 * Scripts/webkitpy/mock_bugzillatool.py: 12570 * Scripts/webkitpy/patchcollection_unittest.py: 12571 * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py: 12572 * Scripts/webkitpy/steps/steps_unittest.py: 12573 * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py: 12574 * Scripts/webkitpy/steps_references.py: Added. 12575 - Added a file containing an absolute import of Mock so that 12576 the imports in the steps folder can import from this file 12577 (similar to style_references.py). This helps limit the 12578 number of affected files in future refactorings. 12579 12580 * Scripts/webkitpy/thirdparty/mock.py: Copied from WebKitTools/Scripts/webkitpy/mock.py. 12581 - Also eliminated trailing white space and carriage returns. 12582 12583 2010-03-12 Robert Hogan <robert (a] webkit.org> 12584 12585 Reviewed by Adam Barth. 12586 12587 Amend incorrect typo patch for QtLauncher. 12588 12589 https://bugs.webkit.org/show_bug.cgi?id=35877 12590 12591 * QtLauncher/webview.cpp: 12592 (WebViewGraphicsBased::setFrameRateMeasurementEnabled): 12593 12594 2010-03-13 Victor Wang <victorw (a] chromium.org> 12595 12596 Add appengine app to host and serve webkit layout test results. 12597 12598 The app allows you post test result files (json) and serve them up. 12599 Chromium flakiness dashboard will first use this app to host results.json 12600 and expectations.json, but the files hosted by this app are not limited 12601 to chromium results or json files. It can be used to host other files if needed. 12602 12603 https://bugs.webkit.org/show_bug.cgi?id=35944 12604 12605 * TestResultServer: Added. 12606 * TestResultServer/app.yaml: Added. 12607 * TestResultServer/handlers: Added. 12608 * TestResultServer/handlers/__init__.py: Added. 12609 * TestResultServer/handlers/menu.py: Added. 12610 * TestResultServer/handlers/testfilehandler.py: Added. 12611 * TestResultServer/index.yaml: Added. 12612 * TestResultServer/main.py: Added. 12613 * TestResultServer/model: Added. 12614 * TestResultServer/model/__init__.py: Added. 12615 * TestResultServer/model/testfile.py: Added. 12616 * TestResultServer/stylesheets: Added. 12617 * TestResultServer/stylesheets/form.css: Added. 12618 * TestResultServer/stylesheets/menu.css: Added. 12619 * TestResultServer/stylesheets/testfile.css: Added. 12620 * TestResultServer/templates: Added. 12621 * TestResultServer/templates/menu.html: Added. 12622 * TestResultServer/templates/showfilelist.html: Added. 12623 * TestResultServer/templates/uploadform.html: Added. 12624 12625 2010-03-13 Dimitri Glazkov <dglazkov (a] chromium.org> 12626 12627 Reviewed by David Levin. 12628 12629 new-run-webkit-tests fails with --debug option. 12630 https://bugs.webkit.org/show_bug.cgi?id=36067 12631 12632 * Scripts/webkitpy/layout_tests/port/mac.py: 12633 12634 2010-03-13 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 12635 12636 Reviewed by Kenneth Rohde Christiansen. 12637 12638 Add "Show FPS" menu option to QtLauncher. 12639 12640 [Qt] QtLauncher need a menu option to show/hide FPS 12641 https://bugs.webkit.org/show_bug.cgi?id=35794 12642 12643 * QtLauncher/main.cpp: 12644 (LauncherWindow::showFPS): 12645 (LauncherWindow::createChrome): 12646 12647 2010-03-13 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 12648 12649 Reviewed by Kenneth Rohde Christiansen. 12650 12651 Add a "Toggle FullScreen" option to QtLauncher Menu. 12652 12653 [Qt] QtLauncher needs an option to toggle FullScreen Mode 12654 https://bugs.webkit.org/show_bug.cgi?id=35755 12655 12656 * QtLauncher/main.cpp: 12657 (LauncherWindow::init): 12658 (LauncherWindow::eventFilter): 12659 (LauncherWindow::initializeView): 12660 (LauncherWindow::toggleFullScreenMode): 12661 (LauncherWindow::createChrome): 12662 12663 2010-03-12 Dirk Pranke <dpranke (a] chromium.org> 12664 12665 Reviewed by Dimitri Glazkov. 12666 12667 Fix typo in websocket_server (path_from_base instead of 12668 path_from_chromium_base). 12669 12670 https://bugs.webkit.org/show_bug.cgi?id=36074 12671 12672 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 12673 12674 2010-03-12 Dirk Pranke <dpranke (a] chromium.org> 12675 12676 Reviewed by Adam Barth. 12677 12678 new-run-webkit-tests --new-baseline doesn't work at all. 12679 12680 It attempts to call a method that isn't defined. To fix it, I 12681 removed the unnecessary and unnecessarily confusing 'platform' 12682 argument to the test_type constructor and use the Port object that 12683 is passed in instead, since we are only ever generating a baseline 12684 from the port that is currently executing. 12685 12686 https://bugs.webkit.org/show_bug.cgi?id=36046 12687 12688 * Scripts/webkitpy/layout_tests/port/mac.py: 12689 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 12690 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 12691 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 12692 12693 2010-03-12 Dirk Pranke <dpranke (a] chromium.org> 12694 12695 Reviewed by Adam Barth. 12696 12697 Fix new-run-webkit-tests --run-singly 12698 12699 This script option is currently broken - the script attempts to 12700 dereference methods and variables that don't exist, which causes 12701 the Chromium Linux valgrind bot to be quite unhappy. This has been 12702 broken since r54449 when I renamed Port.start_test_driver to 12703 Port.start_driver. 12704 12705 https://bugs.webkit.org/show_bug.cgi?id=36042 12706 12707 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: 12708 12709 2010-03-12 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 12710 12711 Fix critical being printed to stderr on every test. This is 12712 because the jar is only being created when soup hits the HTTP 12713 path. We should reconsider the time of its creation. 12714 12715 * DumpRenderTree/gtk/DumpRenderTree.cpp: 12716 (resetDefaultsToConsistentValues): 12717 12718 2010-03-12 Adam Roben <aroben (a] apple.com> 12719 12720 Teach prepare-ChangeLog to find modified selectors in CSS files 12721 12722 Reviewed by Tim Hatcher. 12723 12724 Fixes <http://webkit.org/b/36064> prepare-ChangeLog should extract 12725 modified selectors from CSS files 12726 12727 * Scripts/prepare-ChangeLog: 12728 (get_function_line_ranges): Call get_selector_line_ranges_for_css for 12729 .css files. 12730 (get_selector_line_ranges_for_css): Added. Finds selectors and their 12731 line ranges and returns them. 12732 12733 2010-03-12 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 12734 12735 Build fix (for EWS). Make sure the new code builds on older soup. 12736 12737 Thanks to Dan Winship. 12738 12739 * DumpRenderTree/gtk/DumpRenderTree.cpp: 12740 (resetDefaultsToConsistentValues): 12741 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 12742 (LayoutTestController::setAlwaysAcceptCookies): 12743 12744 2010-03-12 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 12745 12746 Reviewed by Eric Carlson. 12747 12748 [GTK] DRT does not handle cookie policy setting 12749 https://bugs.webkit.org/show_bug.cgi?id=36056 12750 12751 Implement cookie accept policy setting for GTK+'s LayoutTestController. 12752 12753 * DumpRenderTree/gtk/DumpRenderTree.cpp: 12754 (resetDefaultsToConsistentValues): 12755 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 12756 (LayoutTestController::setAlwaysAcceptCookies): 12757 12758 2010-03-12 Adam Langley <agl (a] chromium.org> 12759 12760 Reviewed by Dimitri Glazkov. 12761 12762 [chromium]: update Linux layout test scripts for RedHat like systems. 12763 12764 (Tested on Fedora 12.) 12765 12766 https://bugs.webkit.org/show_bug.cgi?id=35867 12767 12768 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 12769 12770 2010-03-12 Adam Roben <aroben (a] apple.com> 12771 12772 Make svn-create-patch's diffs of ObjC header files more readable 12773 12774 Fixes <http://webkit.org/b/36055>. 12775 12776 Reviewed by John Sullivan. 12777 12778 * Scripts/svn-create-patch: 12779 (diffOptionsForFile): Added. Returns the options that should be passed 12780 to diff for the given file. All the options are the same for all 12781 files, except for the option to specify which lines should be used as 12782 hunk headers. 12783 (generateDiff): Use diffOptionsForFile to get the options to pass to 12784 diff. 12785 (hunkHeaderLineRegExForFile): Added. Returns the regular expression 12786 that should be used by diff to identify lines that should be included 12787 after the "@@" in the hunk header lines of the diff. For ObjC[++] 12788 source files, we use any lines starting with -, +, or 12789 @implementation/@interface/@protocol. For ObjC[++] header files (which 12790 we assume to be any .h files in a mac/ or objc/ directory), we use any 12791 lines starting with @implementation/@interface/@protocol. 12792 12793 2010-03-12 Jochen Eisinger <jochen (a] chromium.org> 12794 12795 Reviewed by Jeremy Orlow. 12796 12797 Introduce setWillSendRequestClearHeader to LayoutTestController to selectively remove headers in willSendRequest. Used in http/tests/security/no-referrer.html 12798 https://bugs.webkit.org/show_bug.cgi?id=35920 12799 12800 * DumpRenderTree/LayoutTestController.cpp: 12801 (setWillSendRequestClearHeaderCallback): 12802 (LayoutTestController::staticFunctions): 12803 * DumpRenderTree/LayoutTestController.h: 12804 (LayoutTestController::willSendRequestClearHeaders): 12805 (LayoutTestController::setWillSendRequestClearHeader): 12806 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 12807 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): 12808 * DumpRenderTree/win/ResourceLoadDelegate.cpp: 12809 (ResourceLoadDelegate::willSendRequest): 12810 12811 2010-03-11 Fumitoshi Ukai <ukai (a] chromium.org> 12812 12813 Unreviewed. 12814 12815 Fix typo in websocket_server.py 12816 12817 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 12818 12819 2010-03-11 Garret Kelly <gdk (a] chromium.org> 12820 12821 Reviewed by Darin Adler. 12822 12823 Fixing minor typo in the commit queue status page. 12824 https://bugs.webkit.org/show_bug.cgi?id=35979 12825 12826 * Scripts/webkitpy/commands/queues.py: 12827 12828 2010-03-11 Fumitoshi Ukai <ukai (a] chromium.org> 12829 12830 Unreviewed. 12831 12832 Fix for WebSocket layout test runner on chromium/win port. 12833 12834 * Scripts/webkitpy/layout_tests/port/websocket_server.py: register_cygwin and set CYGWIN_PATH 12835 12836 2010-03-11 Mark Rowe <mrowe (a] apple.com> 12837 12838 Reviewed by David Kilzer. 12839 12840 <rdar://problem/7745082> Make it possible to build WebKit for older Mac OS X versions from the current Mac OS X version 12841 12842 Default to using the appropriate SDK if the target Mac OS X version is not the current Mac OS X version. 12843 12844 * DumpRenderTree/mac/Configurations/Base.xcconfig: 12845 12846 2010-03-11 Victor Wang <victorw (a] chromium.org> 12847 12848 Reviewed by dglazkov (a] chromium.org. 12849 12850 rebaseline_chromium_webkit_tests can generate new baselines for 12851 all platforms so it needs to know two ports in order to work correctly: 12852 the port that the script is running on and the port that it generates 12853 new baselines for. Update rebaselining tool to handle both port correctly. 12854 12855 https://bugs.webkit.org/show_bug.cgi?id=36032 12856 12857 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 12858 12859 2010-03-11 Mark Rowe <mrowe (a] apple.com> 12860 12861 Reviewed by Tim Hatcher. 12862 12863 <rdar://problem/7745082> Make it possible to build WebKit for older Mac OS X versions from the current Mac OS X version 12864 12865 Introduce TARGET_MAC_OS_X_VERSION_MAJOR to represent the Mac OS X version that is being targeted. It defaults to the 12866 current Mac OS X version unless otherwise specified. 12867 12868 Key off TARGET_MAC_OS_X_VERSION_MAJOR where we'd previously been keying off MAC_OS_X_VERSION_MAJOR. 12869 12870 Explicitly map from the target Mac OS X version to the preferred compiler since Xcode's default compiler choice 12871 may not be usable when targetting a different Mac OS X version. 12872 12873 Key off TARGET_GCC_VERSION rather than MAC_OS_X_VERSION_MAJOR in locations where we'd previously been keying off 12874 MAC_OS_X_VERSION_MAJOR but the decision is really related to the compiler version being used. 12875 12876 * DumpRenderTree/mac/Configurations/Base.xcconfig: 12877 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: 12878 * DumpRenderTree/mac/DumpRenderTree.mm: Wrap the include of mach-o/getsect.h in 'extern "C"' as some versions of the 12879 header in older SDKs do not do this inside the header. 12880 12881 2010-03-11 Alexey Proskuryakov <ap (a] apple.com> 12882 12883 Reviewed by Geoff Garen. 12884 12885 https://bugs.webkit.org/show_bug.cgi?id=35965 12886 <rdar://problem/7742771> Crash when passing an object returned from plug-in back to the plug-in 12887 12888 Made rememberedObject a member of PluginObject. A plug-in must not use its references 12889 to browser NPObjects after being destroyed, but this wasn't the case with static variable. 12890 12891 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 12892 (pluginInvoke): 12893 (pluginInvalidate): 12894 (pluginAllocate): 12895 (pluginDeallocate): 12896 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: 12897 12898 2010-03-11 Simon Fraser <simon.fraser (a] apple.com> 12899 12900 Reviewed by Oliver Hunt. 12901 12902 https://bugs.webkit.org/show_bug.cgi?id=35905 12903 REGRESSION(55699?): media/video-no-autoplay.html times out on Leopard Commit Bot 12904 12905 Make sure we reset the WebGL preference, so that WebGL doesn't get left 12906 on after being enabled via layoutTestController.overridePreference(), 12907 which in turn causes accelerated compositing to be enabled on Leopard 12908 when we don't want it to be. 12909 12910 * DumpRenderTree/mac/DumpRenderTree.mm: 12911 (resetDefaultsToConsistentValues): 12912 12913 2010-03-10 Dirk Pranke <dpranke (a] chromium.org> 12914 12915 Reviewed by Dimitri Glazkov. 12916 12917 rebaseline_chromium_webkit_tests doesn't handle other plaforms 12918 correctly (e.g., if you run on the Mac platform and try to 12919 rebaseline the WIN results, the result gets written into 12920 platform/mac instead of platform/chromium-win). Also, this script 12921 doesn't work on non-Chromium ports, so we need to fix that at some 12922 point. 12923 12924 https://bugs.webkit.org/show_bug.cgi?id=35982 12925 12926 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 12927 12928 2010-03-10 Daniel Bates <dbates (a] rim.com> 12929 12930 Reviewed by Simon Hausmann. 12931 12932 https://bugs.webkit.org/show_bug.cgi?id=35840 12933 12934 Updates the subroutine builtDylibPathForName() so that it adds the "d" suffix to 12935 the QtWebKit library name on Windows. This change makes run-launcher work again 12936 under Windows. Moreover, this change corresponds to the change made in change- 12937 set 53924 <http://trac.webkit.org/changeset/53924>. 12938 12939 * Scripts/webkitdirs.pm: 12940 12941 2010-03-10 Adam Roben <aroben (a] apple.com> 12942 12943 Roll out the prepare-ChangeLog part of r55870 12944 12945 This change wasn't needed (prepare-ChangeLog calls svn-create-patch 12946 when it's asked to print out diffs for the user) and was screwing up 12947 its ability to find changed function names. 12948 12949 * Scripts/prepare-ChangeLog: 12950 (diffCommand): Change the options we pass to svn-diff back to their 12951 pre-r55870 form. 12952 12953 2010-03-10 Robert Hogan <robert (a] webkit.org> 12954 12955 Reviewed by Simon Hausmann. 12956 12957 [Qt] Add Support for WebKitEnableCaretBrowsing to Qt DRT 12958 12959 Unskip test fast/events/multiline-link-arrow-navigation.html 12960 12961 https://bugs.webkit.org/show_bug.cgi?id=35593 12962 12963 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 12964 (WebCore::WebPage::resetSettings): 12965 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 12966 (LayoutTestController::overridePreference): 12967 (LayoutTestController::setCaretBrowsingEnabled): 12968 * DumpRenderTree/qt/LayoutTestControllerQt.h: 12969 12970 2010-03-10 Robert Hogan <robert (a] webkit.org> 12971 12972 Reviewed by Holger Freyther. 12973 12974 QtLauncher: Fix typo in conditional statement in 12975 WebViewGraphicsBased::setFrameRateMeasurementEnabled. 12976 12977 '=' should be '=='! 12978 12979 https://bugs.webkit.org/show_bug.cgi?id=35877 12980 12981 * QtLauncher/webview.cpp: 12982 (WebViewGraphicsBased::setFrameRateMeasurementEnabled): 12983 12984 2010-03-10 Chris Jerdonek <cjerdonek (a] webkit.org> 12985 12986 Reviewed by Shinichiro Hamaji. 12987 12988 Refactored and cleaned up the code for unit-testing logging. 12989 12990 https://bugs.webkit.org/show_bug.cgi?id=35845 12991 12992 * Scripts/webkitpy/init/logtesting.py: 12993 - Added more information to the module docstring. 12994 - Added an assertMessages() method to the UnitTestLogStream 12995 class. This simplifies the calling code. 12996 - Renamed the UnitTestLog class to LogTesting, and reformulated 12997 it as follows: 12998 - Moved the logging configuration code from the __init__ 12999 method to a new static setUp() method. 13000 - Documented the __init__ method to be private. 13001 - Improved the code so that the root logger does not have 13002 its logging level changed. Instead we set the handler's 13003 level. This makes the unit testing more unintrusive. 13004 - Updated the assertMessages() method to call the 13005 UnitTestLogStream class's assertMessages() method. 13006 - More fully documented the class. 13007 13008 * Scripts/webkitpy/style/checker.py: 13009 - Added a logger parameter to the configure_logging() method. 13010 This allows us to prevent test messages from being sent 13011 to the root logger during unit testing, which may be 13012 rendering to the screen, etc. 13013 - Simplified the code by removing the _LevelLoggingFilter class. 13014 - Replaced the _LevelLoggingFilter class with a one-line lambda 13015 expression in configure_logging(). 13016 13017 * Scripts/webkitpy/style/checker_unittest.py: 13018 - Changed relative imports to absolute to comply more with PEP8. 13019 - In the ConfigureLoggingTest class: 13020 - Changed the setUp() method to prevent test messages from 13021 being propagated to the root logger. 13022 - Changed the _log() method to a data attribute. 13023 - Updated to accommodate changes to logtesting.py. 13024 13025 * Scripts/webkitpy/style_references.py: 13026 - Updated an import statement. 13027 13028 2010-03-10 Evan Martin <evan (a] chromium.org> 13029 13030 Reviewed by Darin Adler. 13031 13032 Python code for GDB 7 to support native printing of some WebCore types. 13033 13034 * gdb/webcore.py: Added. 13035 13036 2010-03-10 Adam Roben <aroben (a] apple.com> 13037 13038 Make svn-create-patch and prepare-ChangeLog show better section 13039 headings for ObjC files 13040 13041 This makes the text at the end of each "@@" line in a diff actually 13042 show the ObjC method or interface that contains the change, rather 13043 than whatever the most-recently-defined C function was. 13044 13045 Fixes <http://webkit.org/b/35970>. 13046 13047 Reviewed by John Sullivan. 13048 13049 * Scripts/svn-create-patch: Pass -F'^[-+@]' to diff so that it will 13050 treat any lines starting with -, +, or @ as section heading lines. 13051 This works well for ObjC files, and shouldn't affect other types of 13052 files. 13053 13054 * Scripts/prepare-ChangeLog: Changed the options passed to diff to 13055 match those used in svn-create-patch. 13056 13057 2010-03-10 Simon Hausmann <simon.hausmann (a] nokia.com> 13058 13059 Reviewed by Tor Arne Vestb. 13060 13061 Link QtLauncher against the WebKit library using a relative rpath. 13062 13063 This makes the launcher and the lib relocatable. 13064 13065 * QtLauncher/QtLauncher.pro: 13066 13067 2010-03-10 Holger Hans Peter Freyther <zecke (a] selfish.org> 13068 13069 Rubber-stamped by Simon Hausmann. 13070 13071 [iExploder] Add new CSS Properties and HTML Attributes 13072 13073 The update-iexploder-cssproperties script was used to update 13074 the various input files. The autobuffer HTML Attribute was removed 13075 from WebKit and I manually added it back to the htmlattrs.in like 13076 we have done it for other attributes in the past. 13077 13078 * iExploder/htdocs/cssproperties.in: 13079 * iExploder/htdocs/htmlattrs.in: 13080 * iExploder/htdocs/htmltags.in: 13081 13082 2010-03-09 Fumitoshi Ukai <ukai (a] chromium.org> 13083 13084 Unreviewed. 13085 13086 Obvious fix for --cgi-paths of pywebsocket. 13087 13088 * Scripts/run-webkit-websocketserver: 13089 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 13090 13091 2010-03-09 Jakub Wieczorek <jwieczorek (a] webkit.org> 13092 13093 Unreviewed. 13094 13095 Adding myself to committers.py. 13096 13097 * Scripts/webkitpy/committers.py: 13098 13099 2010-03-09 Dirk Pranke <dpranke (a] chromium.org> 13100 13101 Reviewed by Nate Chapin. 13102 13103 Fix --clobber-old-results in new-run-webkit-tests. 13104 13105 https://bugs.webkit.org/show_bug.cgi?id=35778 13106 13107 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 13108 13109 2010-03-09 Andy Estes <aestes (a] apple.com> 13110 13111 Reviewed by Adele Peterson. 13112 13113 Add the ability to dispatch scroll wheel events in DRT. This was 13114 necessary in order to write a test for 13115 https://bugs.webkit.org/show_bug.cgi?id=34700. 13116 13117 * DumpRenderTree/mac/EventSendingController.mm: Add support for two 13118 new methods to EventSender: mouseScrollBy(x, y) and 13119 continuousMouseScrollBy(x, y). The API to generate scroll events on 13120 the mac was added in 10.5, so these methods are NOOPs on Tiger. 13121 (+[EventSendingController isSelectorExcludedFromWebScript:]): 13122 Regiester mouseScrollByX:andY: and continuousMouseScrollByX:andY: 13123 (+[EventSendingController webScriptNameForSelector:]): Map JavaScript 13124 method names to ObjC selectors. 13125 (-[EventSendingController mouseScrollByX:andY:continuously:]): Generate 13126 a scroll wheel event using CGEventCreateScrollWheelEvent() and dispatch 13127 it to WebKit. 13128 (-[EventSendingController continuousMouseScrollByX:andY:]): Generate a 13129 continuous scrolling event by x and y pixels. 13130 (-[EventSendingController mouseScrollByX:andY:]): Generate a notchy 13131 scrolling event by x and y lines. 13132 13133 2010-03-09 Chris Fleizach <cfleizach (a] apple.com> 13134 13135 DRT build fix for Tiger. No review. 13136 13137 AX: hit testing a list box doesn't work anymore 13138 https://bugs.webkit.org/show_bug.cgi?id=35893 13139 13140 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 13141 (AccessibilityController::elementAtPoint): 13142 13143 2010-03-09 Chris Fleizach <cfleizach (a] apple.com> 13144 13145 Reviewed by Darin Adler. 13146 13147 AX: hit testing a list box doesn't work anymore 13148 https://bugs.webkit.org/show_bug.cgi?id=35893 13149 13150 * DumpRenderTree/AccessibilityController.cpp: 13151 (getElementAtPointCallback): 13152 (AccessibilityController::getJSClass): 13153 * DumpRenderTree/AccessibilityController.h: 13154 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp: 13155 (AccessibilityController::elementAtPoint): 13156 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 13157 (AccessibilityController::elementAtPoint): 13158 * DumpRenderTree/win/AccessibilityControllerWin.cpp: 13159 (AccessibilityController::elementAtPoint): 13160 13161 2010-03-03 Fumitoshi Ukai <ukai (a] chromium.org> 13162 13163 Reviewed by Alexey Proskuryakov. 13164 13165 pywebsocket should support html and cgi in the same directory. 13166 https://bugs.webkit.org/show_bug.cgi?id=34879 13167 13168 Import pywebsocket 0.4.9.2 13169 Specify --server-host 127.0.0.1, so that it only binds listening socket 13170 to 127.0.0.1 to prevent access from non-localhost. 13171 Change --cgi-paths from /websocket/tests/cookies to /websocket/tests, 13172 because pywebsocket 0.4.9.2 supports html and cgi in the same directory 13173 and only executable (httponly-cookies.pl) will be handled as cgi 13174 script. 13175 13176 * Scripts/run-webkit-tests: 13177 * Scripts/run-webkit-websocketserver: 13178 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 13179 * Scripts/webkitpy/thirdparty/pywebsocket/README.webkit: 13180 * Scripts/webkitpy/thirdparty/pywebsocket/example/echo_client.py: 13181 * Scripts/webkitpy/thirdparty/pywebsocket/example/handler_map.txt: Added. 13182 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/standalone.py: 13183 * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/util.py: 13184 * Scripts/webkitpy/thirdparty/pywebsocket/setup.py: 13185 * Scripts/webkitpy/thirdparty/pywebsocket/test/test_util.py: 13186 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/README: Added. 13187 * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/hello.pl: Added. 13188 13189 2010-03-09 Chris Jerdonek <cjerdonek (a] webkit.org> 13190 13191 Reviewed by Shinichiro Hamaji. 13192 13193 Simplified check-webkit-style's argument parsing code by removing 13194 support for the vestigial "extra flag values" parameter. 13195 13196 https://bugs.webkit.org/show_bug.cgi?id=34677 13197 13198 The "extra flag values" parameter was needed before WebKit 13199 forked check-webkit-style from Google. It was used to pass 13200 through the option parser those command-line flags that WebKit 13201 required but that Google's parser did not support (the --git-commit 13202 flag in particular). 13203 We can remove the parameter now because it is no longer 13204 needed and unnecessarily clutters the argument-parsing code. 13205 13206 * Scripts/webkitpy/style/optparser.py: 13207 - Removed the extra_flag_values parameter from the 13208 CommandOptionValues class's constructor. 13209 - Removed the extra_flags parameter from the ArgumentParser 13210 class's parse() method. 13211 13212 * Scripts/webkitpy/style/optparser_unittest.py: 13213 - Removed from the unit tests all references to the 13214 extra_flag_values variable. 13215 13216 2010-03-08 Kent Tamura <tkent (a] chromium.org> 13217 13218 Reviewed by Dimitri Glazkov. 13219 13220 [DRT/Chromium] Add EventSender 13221 https://bugs.webkit.org/show_bug.cgi?id=35859 13222 13223 Add EventSender classes, which are going to be used by 13224 DumpRenderTree Chromium port. These files are based on: 13225 - src/webkit/tools/test_shell/event_sending_controller.cc 13226 - src/webkit/tools/test_shell/event_sending_controller.h 13227 of Chromium rev.40492. 13228 13229 * DumpRenderTree/chromium/EventSender.cpp: Added. 13230 * DumpRenderTree/chromium/EventSender.h: Added. 13231 13232 2010-03-08 Kent Tamura <tkent (a] chromium.org> 13233 13234 Reviewed by Dimitri Glazkov. 13235 13236 [DRT/Chromium] Add PlainTextController and TextInputController 13237 https://bugs.webkit.org/show_bug.cgi?id=35852 13238 13239 Add PlainTextController and TextInputController classes, which are going 13240 to be used by DumpRenderTree Chromium port. These files are based on: 13241 - src/webkit/tools/test_shell/plain_text_controller.{cc,h} and 13242 - src/webkit/tools/test_shell/text_input_controller.{cc,h} 13243 of Chromium rev.40492. 13244 13245 * DumpRenderTree/chromium/PlainTextController.cpp: Added. 13246 * DumpRenderTree/chromium/PlainTextController.h: Added. 13247 * DumpRenderTree/chromium/TextInputController.cpp: Added. 13248 * DumpRenderTree/chromium/TextInputController.h: Added. 13249 13250 2010-03-08 Dumitru Daniliuc <dumi (a] chromium.org> 13251 13252 Unreviewed, Chromium build fix. 13253 13254 Reverting r55689. 13255 13256 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 13257 13258 2010-03-08 Fumitoshi Ukai <ukai (a] chromium.org> 13259 13260 Reviewed by Adam Barth. 13261 13262 Fix webkit-patch post and land to work well with security bug 13263 https://bugs.webkit.org/show_bug.cgi?id=35733 13264 13265 Bugzilla requires authentication to access security bug page, 13266 so call authenticate() if it failed to fetch bug page. 13267 13268 * Scripts/webkitpy/bugzilla.py: 13269 13270 2010-03-04 Dirk Pranke <dpranke (a] chromium.org> 13271 13272 Reviewed by Dimitry Glazkov. 13273 13274 Fix --clobber-old-results in new-run-webkit-tests. 13275 13276 https://bugs.webkit.org/show_bug.cgi?id=35778 13277 13278 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 13279 13280 2010-03-08 Brady Eidson <beidson (a] apple.com> 13281 13282 Reviewed by NOBODY (but suggested by Steve Falkenburg and fixing a boneheaded mistake on my part last week) 13283 13284 Followup to https://bugs.webkit.org/show_bug.cgi?id=35532 13285 13286 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 13287 (LayoutTestController::apiTestGoToCurrentBackForwardItem): Can't pass in a null BOOL to WebKit APIs. 13288 13289 2010-03-08 Chris Jerdonek <cjerdonek (a] webkit.org> 13290 13291 Unreviewed. 13292 13293 Fixed incorrect import statement in validate-committer-lists: 13294 webkitpy.BeautifulSoup -> webkitpy.thirdparty.BeautifulSoup. 13295 13296 * Scripts/validate-committer-lists: 13297 13298 2010-03-08 Jian Li <jianli (a] chromium.org> 13299 13300 Reviewed by Dmitry Titov. 13301 13302 Blob.slice support. 13303 https://bugs.webkit.org/show_bug.cgi?id=32993 13304 13305 Add ENABLE_BLOB_SLICE feature define and flag for build-webkit. It is 13306 currently only turned on for Mac. 13307 13308 * Scripts/build-webkit: 13309 13310 2010-03-08 Gustavo Noronha Silva <gns (a] gnome.org> 13311 13312 No review, rolling out r55662. 13313 http://trac.webkit.org/changeset/55662 13314 https://bugs.webkit.org/show_bug.cgi?id=35863 13315 13316 Need to be coordinated with bots setup 13317 13318 * Scripts/run-webkit-tests: 13319 13320 2010-03-08 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 13321 13322 Reviewed by Holger Freyther. 13323 13324 [GTK] Tests fail when running with ipv6 addresses available, on Debian systems 13325 https://bugs.webkit.org/show_bug.cgi?id=35863 13326 13327 If running on a Debian-based system, also listen on the ipv6 address. 13328 13329 * Scripts/run-webkit-tests: 13330 13331 2010-03-08 Holger Hans Peter Freyther <zecke (a] selfish.org> 13332 13333 Reviewed by Darin Adler. 13334 13335 [iexploder] Automatically update htmltags.in and htmlattrs.in too 13336 https://bugs.webkit.org/show_bug.cgi?id=33755 13337 13338 Change the update-iexploder-cssproperites script to update 13339 the htmlattrs.in and htmltags.in of WebKitTools/iExploder/htdocs 13340 automatically as well. 13341 13342 Change the reading and writing code to work with parameters 13343 and extend the method that is parsing the .in files to handle 13344 the HTMLTagNames.in and the HTMLAttributeNames.in files. 13345 13346 Remove custom code to determine the revision of files with a 13347 utility of VCUtils.pm to determine the revision of the directory 13348 these files are located in. This will also work with git checkout. 13349 13350 * Scripts/update-iexploder-cssproperties: 13351 13352 2010-03-07 Shinichiro Hamaji <hamaji (a] chromium.org> 13353 13354 Reviewed by Eric Seidel. 13355 13356 check-webkit-style: false positive for empty loop 13357 https://bugs.webkit.org/show_bug.cgi?id=35717 13358 13359 * Scripts/webkitpy/style/processors/cpp.py: 13360 * Scripts/webkitpy/style/processors/cpp_unittest.py: 13361 13362 2010-03-07 Kent Tamura <tkent (a] chromium.org> 13363 13364 Reviewed by Dimitri Glazkov. 13365 13366 [DRT/Chromium] Add AccessibilityController and AccessibilityUIElement 13367 https://bugs.webkit.org/show_bug.cgi?id=35774 13368 13369 Add AccessibilityController and AccessibilityUIElement classes, 13370 which are going to be used by DumpRenderTree Chromium port. These 13371 files are based on: 13372 - src/webkit/tools/test_shell/accessibility_controller.{cc,h} and 13373 - src/webkit/tools/test_shell/accessibility_ui_element.{cc,h} 13374 of Chromium rev.40492. 13375 13376 * DumpRenderTree/chromium/AccessibilityController.cpp: Added. 13377 * DumpRenderTree/chromium/AccessibilityController.h: Added. 13378 * DumpRenderTree/chromium/AccessibilityUIElement.cpp: Added. 13379 * DumpRenderTree/chromium/AccessibilityUIElement.h: Added. 13380 13381 2010-03-06 Hironori Bono <hbono (a] chromium.org> 13382 13383 Reviewed by Eric Seidel. 13384 13385 [Chromium] Typing into Flash with wmode = opaque|transparent and 13386 non-latin language active outputs as if US keyboard layout active 13387 13388 https://bugs.webkit.org/show_bug.cgi?id=34936 13389 13390 To test keyboard events on the test plugin, this change implements 13391 NPCocoaEventKeyDown and NPCocoaEventKeyUp handlers so the plugin 13392 can write log messages. 13393 13394 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: 13395 (handleEventCocoa): Implemented the event handlers for NPCocoaKeyDown 13396 and NPCocoaEventKeyUp. 13397 13398 2010-03-05 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 13399 13400 Reviewed by Eric Seidel. 13401 13402 Fix Print option on QtLauncher by calling print directly from QWebFrame. 13403 13404 [Qt] QtLauncher Print option is not working on QGraphicsView mode 13405 https://bugs.webkit.org/show_bug.cgi?id=35769 13406 13407 * QtLauncher/main.cpp: 13408 (LauncherWindow::print): 13409 13410 2010-03-05 Chris Jerdonek <cjerdonek (a] webkit.org> 13411 13412 Reviewed by Eric Seidel. 13413 13414 Changed the logging code for new-run-webkit-tests to use 13415 module-specific loggers rather than the root logger. This is 13416 a standard practice that allows logging specific to a package 13417 to be configured independently of other modules. 13418 13419 https://bugs.webkit.org/show_bug.cgi?id=35194 13420 13421 Added a line of the form "_log = logging.getLogger(<module>)" 13422 to each module below, where <module> is the fully-qualified 13423 name of the module, and updated the log lines to use the new 13424 _log logger. 13425 13426 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 13427 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 13428 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: 13429 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: 13430 * Scripts/webkitpy/layout_tests/port/chromium.py: 13431 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 13432 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 13433 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 13434 * Scripts/webkitpy/layout_tests/port/http_server.py: 13435 * Scripts/webkitpy/layout_tests/port/http_server_base.py: 13436 * Scripts/webkitpy/layout_tests/port/mac.py: 13437 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 13438 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 13439 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 13440 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: 13441 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 13442 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 13443 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 13444 13445 2010-03-05 Dirk Pranke <dpranke (a] chromium.org> 13446 13447 Reviewed by Eric Siedel. 13448 13449 Split the command-line invocation of the Chromium/python LigHTTPd 13450 server implementation out into its own top level script to make it 13451 a more "public" interface and to resolve some awkward layering 13452 issues. This script will be called directly by other test scripts in 13453 the Chromium tree. 13454 13455 At some point this script should be made to work with Apache-based 13456 implementations and on other ports. I have filed 13457 https://bugs.webkit.org/show_bug.cgi?id=35820 for this. 13458 13459 Also fix a bug in port/factory where options.chromium could be 13460 dereferenced even if it wasn't set, raising an exception. 13461 13462 https://bugs.webkit.org/show_bug.cgi?id=35812 13463 13464 * Scripts/webkitpy/layout_tests/port/factory.py: 13465 * Scripts/webkitpy/layout_tests/port/http_server.py: 13466 * Scripts/new-run-webkit-httpd: Added 13467 13468 2010-03-02 Antonio Gomes <tonikitoo (a] webkit.org> 13469 13470 Reviewed by Holger Freyther 13471 Patch by Antonio Gomes <tonikitoo (a] webkit.org> 13472 13473 [Gtk] Implement setSpatialNavigationEnabled in DRT. 13474 https://bugs.webkit.org/show_bug.cgi?id=35705 13475 13476 * DumpRenderTree/gtk/DumpRenderTree.cpp: 13477 (resetDefaultsToConsistentValues): 13478 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 13479 (LayoutTestController::setSpatialNavigationEnabled): 13480 13481 2010-02-23 Antonio Gomes <tonikitoo (a] webkit.org> 13482 13483 Reviewed by Kenneth Christiansen. 13484 Patch by Antonio Gomes <tonikitoo (a] webkit.org> 13485 13486 Add toggle on/off stub methods for Spatial Navigation in win, gtk and mac LayoutTestController class implementations. 13487 https://bugs.webkit.org/show_bug.cgi?id=35699 13488 13489 * DumpRenderTree/LayoutTestController.cpp: 13490 (setSpatialNavigationEnabledCallback): 13491 (LayoutTestController::staticFunctions): 13492 * DumpRenderTree/LayoutTestController.h: 13493 * DumpRenderTree/gtk/DumpRenderTree.cpp: 13494 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 13495 (LayoutTestController::setSpatialNavigationEnabled): 13496 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 13497 (LayoutTestController::setSpatialNavigationEnabled): 13498 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 13499 (LayoutTestController::setSpatialNavigationEnabled): 13500 13501 2010-02-18 Antonio Gomes <tonikitoo (a] webkit.org> 13502 13503 Reviewed by Kenneth Christiansen. 13504 Patch by Antonio Gomes <tonikitoo (a] webkit.org> 13505 13506 Add toggle on/off mechanism for Spatial Navigation in QtLauncher. 13507 13508 * QtLauncher/main.cpp: 13509 (LauncherWindow::toggleSpatialNavigation): 13510 (LauncherWindow::setupUI): 13511 13512 2010-03-02 Antonio Gomes <tonikitoo (a] webkit.org> 13513 13514 Reviewed by Simon Hausmann. 13515 Patch by Antonio Gomes <tonikitoo (a] webkit.org> 13516 13517 [Qt] Add setSpatialNavigationEnabled method DRT 13518 https://bugs.webkit.org/show_bug.cgi?id=33715 13519 13520 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 13521 (WebCore::WebPage::WebPage): 13522 (WebCore::WebPage::resetSettings): 13523 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 13524 (LayoutTestController::setSpatialNavigationEnabled): 13525 * DumpRenderTree/qt/LayoutTestControllerQt.h: 13526 13527 Unskipped fast/events/spatialnavigation/ 13528 13529 2010-03-04 Mark Rowe <mrowe (a] apple.com> 13530 13531 Rubber-stamped by Alice Liu. 13532 13533 Find the framework relative to TARGET_BUILD_DIR as that has a more obvious value during production builds. 13534 13535 * Scripts/check-for-webkit-framework-include-consistency: 13536 13537 2010-03-04 Kent Tamura <tkent (a] chromium.org> 13538 13539 Reviewed by Dimitri Glazkov. 13540 13541 [DRT/Chromium] Add CppVariant and CppBoundClass 13542 https://bugs.webkit.org/show_bug.cgi?id=35634 13543 13544 Add CppVariant and CppBoundClass classes, which are going to be 13545 used by DumpRenderTree Chromium port. These files are based on: 13546 - src/webkit/glue/cpp_variant.{cc,h} and 13547 - src/webkit/glue/cpp_bound_class.{cc,h} 13548 of Chromium rev.40492. 13549 13550 * DumpRenderTree/chromium/CppBoundClass.cpp: Added. 13551 * DumpRenderTree/chromium/CppBoundClass.h: Added. 13552 * DumpRenderTree/chromium/CppVariant.cpp: Added. 13553 * DumpRenderTree/chromium/CppVariant.h: Added. 13554 13555 2010-03-04 Mark Rowe <mrowe (a] apple.com> 13556 13557 Build fix for older versions of Ruby. 13558 13559 * Scripts/check-for-webkit-framework-include-consistency: 13560 13561 2010-03-04 Mark Rowe <mrowe (a] apple.com> 13562 13563 Reviewed by Sam Weinig. 13564 13565 Add a script to verify that WebKit framework headers are internally consistent. 13566 13567 This script detects the following problematic situations: 13568 * An exported WebKit header that includes a header from WebCore. 13569 * An exported WebKit header that includes a header that does not exist in the WebKit framework. 13570 * A public WebKit header that includes a private WebKit header. 13571 13572 * Scripts/check-for-webkit-framework-include-consistency: Added. 13573 13574 2010-03-04 Dumitru Daniliuc <dumi (a] chromium.org> 13575 13576 Reviewed by Adam Roben. 13577 13578 Making sure that the correct path is set before invoking 13579 DumpRenderTree on cygwin. 13580 13581 https://bugs.webkit.org/show_bug.cgi?id=35768 13582 13583 * Scripts/run-webkit-tests: 13584 13585 2010-03-04 Simon Fraser <simon.fraser (a] apple.com> 13586 13587 Revert the exceptions I just added, and make the error clearer. 13588 13589 * Scripts/check-for-global-initializers: 13590 13591 2010-03-04 Simon Fraser <simon.fraser (a] apple.com> 13592 13593 Build fix: add exceptions to the check-for-global-initializers script 13594 for FocusController and SpatialNavigation, and improve the script 13595 to actually print out the globals found. 13596 13597 * Scripts/check-for-global-initializers: 13598 13599 2010-03-04 Dirk Pranke <dpranke (a] chromium.org> 13600 13601 Reviewed by Dimitri Glazkov. 13602 13603 Fix dangling reference to "port" instead of "self._port_obj" that 13604 was preventing the http_server from starting on Windows. 13605 13606 * Scripts/webkitpy/layout_tests/port/http_server.py: 13607 13608 2010-03-04 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 13609 13610 Reviewed by Simon Hausmann. 13611 13612 Make Qt DumpRenderTree EventSender able to send double click events 13613 13614 LayoutTests: 13615 fast/events/dblclick-addEventListener.html 13616 13617 [Qt] DRT: Send double click event from EventSender 13618 https://bugs.webkit.org/show_bug.cgi?id=35255 13619 13620 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 13621 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): 13622 * DumpRenderTree/qt/EventSenderQt.cpp: 13623 (EventSender::EventSender): 13624 (EventSender::mouseDown): 13625 * DumpRenderTree/qt/EventSenderQt.h: 13626 (EventSender::resetClickCount): 13627 13628 2010-03-04 Jocelyn Turcotte <jocelyn.turcotte (a] nokia.com> 13629 13630 Reviewed by Tor Arne Vestb. 13631 13632 [Qt] Make the OUTPUT_DIR variable in qmake projects independent of build-webkit's logic. 13633 13634 This also allows shadow builds relying only on qmake to work properly. 13635 13636 * DumpRenderTree/qt/DumpRenderTree.pro: 13637 * DumpRenderTree/qt/ImageDiff.pro: 13638 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: 13639 * QtLauncher/QtLauncher.pro: 13640 13641 2010-03-04 Gabor Rapcsanyi <rgabor (a] inf.u-szeged.hu> 13642 13643 Reviewed by Kenneth Rohde Christiansen. 13644 13645 Enable to use built-product-archive on Qt platform. 13646 13647 * BuildSlaveSupport/built-product-archive: 13648 13649 2010-03-03 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 13650 13651 Reviewed by Simon Hausmann. 13652 13653 Add a missing 'm_' to class variables names. 13654 13655 [Qt] QtLauncher is not respecting class variable names 13656 https://bugs.webkit.org/show_bug.cgi?id=35542 13657 13658 * QtLauncher/main.cpp: 13659 (LauncherWindow::LauncherWindow): 13660 (LauncherWindow::init): 13661 (LauncherWindow::sendTouchEvent): 13662 (LauncherWindow::eventFilter): 13663 (LauncherWindow::zoomIn): 13664 (LauncherWindow::zoomOut): 13665 (LauncherWindow::resetZoom): 13666 (LauncherWindow::setEditable): 13667 (LauncherWindow::setTouchMocking): 13668 (LauncherWindow::initializeView): 13669 (LauncherWindow::createChrome): 13670 13671 2010-03-03 Alexey Proskuryakov <ap (a] apple.com> 13672 13673 Rubber-stamped by Mark Rowe. 13674 13675 Exclude leaks in Java that build bot complains about. 13676 13677 * Scripts/run-webkit-tests: 13678 13679 2010-03-03 Chris Marrin <cmarrin (a] apple.com> 13680 13681 Reviewed by Simon Fraser. 13682 13683 Additional change to separate Accelerated Compositing test from 3D Rendering test 13684 https://bugs.webkit.org/show_bug.cgi?id=35610 13685 13686 I am now using #if ENABLED(3D_RENDERING) to emit the 3DRendering string from 13687 DRT or not. This allows these flags to set independently. I also improved 13688 the code flow in run-webkit-tests a bit. 13689 13690 * DumpRenderTree/win/DumpRenderTree.cpp: 13691 (main): 13692 * Scripts/run-webkit-tests: 13693 13694 2010-03-03 Chris Marrin <cmarrin (a] apple.com> 13695 13696 Reviewed by Simon Fraser. 13697 13698 Added ability to print supported features to console to DRT 13699 https://bugs.webkit.org/show_bug.cgi?id=35610 13700 13701 This currently only prints whether or not Accelerated Compositing 13702 and 3D Rendering are supported, which is the only way to tell if you 13703 can run the compositing LayoutTests on Windows. But it can be expanded 13704 to give more information as needed. Currently it prints that both 13705 AcceleratedCompositing and 3DRendering are available if accelerated compositing 13706 is enabled since both have to be turned on together. This allows me to maintain 13707 separate checks for them. 13708 13709 * DumpRenderTree/win/DumpRenderTree.cpp:Added --print-supported-features flag 13710 (main): 13711 * Scripts/run-webkit-tests:Runs DRT and enabled compositing tests if HW comp is available on Windows 13712 13713 2010-03-03 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 13714 13715 Reviewed by Simon Hausmann. 13716 13717 Refactor QtLauncher so it respects command line arguments 13718 and inherits settings when you clone or create a new window. 13719 13720 Implemented with help of Kenneth Rohde Christiansen. 13721 13722 [Qt] QtLauncher must be refactored to fix command line arguments usage 13723 https://bugs.webkit.org/show_bug.cgi?id=35536 13724 13725 * QtLauncher/main.cpp: 13726 (LauncherWindow::LauncherWindow): 13727 (LauncherWindow::init): 13728 (LauncherWindow::isGraphicsBased): 13729 (applySetting): 13730 (LauncherWindow::applyPrefs): 13731 (LauncherWindow::initializeView): 13732 (LauncherWindow::newWindow): 13733 (LauncherWindow::cloneWindow): 13734 (LauncherWindow::createChrome): 13735 (main): 13736 * QtLauncher/webview.cpp: 13737 (WebViewGraphicsBased::WebViewGraphicsBased): 13738 (WebViewGraphicsBased::setFrameRateMeasurementEnabled): 13739 * QtLauncher/webview.h: 13740 (WebViewGraphicsBased::itemCacheMode): 13741 (WebViewGraphicsBased::frameRateMeasurementEnabled): 13742 13743 2010-03-02 Arno Renevier <arno (a] renevier.net> 13744 13745 Reviewed by Gustavo Noronha Silva. 13746 13747 [Gtk] implements ChromeClient::requestGeolocationPermissionForFrame 13748 https://bugs.webkit.org/show_bug.cgi?id=35210 13749 13750 * DumpRenderTree/gtk/DumpRenderTree.cpp: 13751 (geolocationPolicyDecisionRequested): 13752 (createWebView): 13753 13754 2010-03-02 Dirk Pranke <dpranke (a] chromium.org> 13755 13756 Reviewed by David Levin. 13757 13758 Revert r55339 - the Chromium codebase downstream had a temporary 13759 need for WebKitTools/pywebsocket to still exist after Chris Jerdonek 13760 had moved it (scripts still referenced the old location). Those 13761 scripts have been updated to the new location, so it should be safe 13762 to delete this now. 13763 13764 https://bugs.webkit.org/show_bug.cgi?id=35614 13765 13766 * pywebsocket/mod_pywebsocket/standalone.py: Removed. 13767 13768 2010-03-02 Dirk Pranke <dpranke (a] chromium.org> 13769 13770 Reviewed by Dimitri Glazkov. 13771 13772 new-run-webkit-tests on chromium-linux tests to see if 13773 layout_test_helper exists, but we don't use layout_test_helper on 13774 linux. The test derefences a None object, and we crash. This fixes 13775 that. 13776 13777 https://bugs.webkit.org/show_bug.cgi?id=35602 13778 13779 * Scripts/webkitpy/layout_tests/port/chromium.py: 13780 13781 2010-03-02 Dirk Pranke <dpranke (a] chromium.org> 13782 13783 Reviewed by Dimitri Glazkov. 13784 13785 r55388 (bug 35553) worked around a bug in Python's subprocess.Popen() 13786 that was causing DRT to hang on exit in new-run-webkit-tests. 13787 Unfortunately, that workaround doesn't work on chromium-win 13788 (and the script fails completely). The good news is that the check 13789 isn't actually necessary, and so this change makes it conditional. 13790 13791 https://bugs.webkit.org/show_bug.cgi?id=35601 13792 13793 * Scripts/webkitpy/layout_tests/port/chromium.py: 13794 13795 2010-03-02 Mark Rowe <mrowe (a] apple.com> 13796 13797 Reviewed by Darin Adler. 13798 13799 Bug 35576: WebKit should tell plug-in instances when private browsing state changes 13800 <http://webkit.org/b/35576> 13801 13802 TestNetscapePlugin is another bit of plug-in code where copy-paste was heavily used 13803 when porting. Update the Windows and UNIX implementations of NPP_New and NPP_SetValue 13804 to provide the expected behavior related to NPNVprivateModeBool. Hopefully this code 13805 duplication can be cleaned up in the future. 13806 13807 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: 13808 (webkit_test_plugin_new_instance): 13809 (webkit_test_plugin_set_value): 13810 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: 13811 (NPP_New): 13812 (NPP_SetValue): 13813 13814 2010-03-02 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 13815 13816 Reviewed by Alexey Proskuryakov. 13817 13818 Test plugin still has issues with releasing objects, and variants 13819 https://bugs.webkit.org/show_bug.cgi?id=35587 13820 13821 Fix the conditions for releasing the variants after calling 13822 invoke, and avoid having a number of objects leak. 13823 13824 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 13825 (testDocumentOpen): 13826 (testWindowOpen): 13827 13828 2010-03-02 Chris Jerdonek <cjerdonek (a] webkit.org> 13829 13830 Reviewed by Shinichiro Hamaji. 13831 13832 Refactored the StyleChecker class's file-processing method 13833 _process_file(). This will make it easier to add new 13834 file-processing capabilities to check-webkit-style. 13835 13836 https://bugs.webkit.org/show_bug.cgi?id=35490 13837 13838 * Scripts/webkitpy/style/checker.py: 13839 - Added a _read_lines() method to the StyleChecker class 13840 that extracts the lines from a file. 13841 - Replaced part of _process_file() with a call to the new 13842 _read_lines() method. 13843 - Replaced another part of _process_file() with a call 13844 to the new CarriageReturnProcessor.process() method. 13845 13846 * Scripts/webkitpy/style/processors/common.py: 13847 - Replaced the check_no_carriage_return() function with a 13848 new CarriageReturnProcessor class. 13849 13850 * Scripts/webkitpy/style/processors/common_unittest.py: 13851 - Renamed the CarriageReturnTest class to 13852 CarriageReturnProcessorTest and updated it as necessary. 13853 13854 2010-03-02 Chris Jerdonek <cjerdonek (a] webkit.org> 13855 13856 Reviewed by Shinichiro Hamaji. 13857 13858 Started using the logging module in check-webkit-style. 13859 This provides more options for debugging and a more flexible, 13860 uniform way to report messages to the end-user. 13861 13862 https://bugs.webkit.org/show_bug.cgi?id=35484 13863 13864 Also included classes in a central location to facilitate 13865 the unit testing of logging code (setUp and tearDown of unit 13866 test logging configurations, etc). 13867 13868 * Scripts/check-webkit-style: 13869 - Added a call to configure_logging() in the beginning of main(). 13870 - Replaced two calls to sys.stderr.write() with appropriate 13871 logging calls. 13872 13873 * Scripts/webkitpy/init/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py. 13874 13875 * Scripts/webkitpy/init/logtesting.py: Added. 13876 - Added a UnitTestLogStream class to capture log output 13877 during unit tests. 13878 - Added a UnitTestLog class that provides convenience methods 13879 for unit-testing logging code. 13880 13881 * Scripts/webkitpy/style/checker.py: 13882 - Added a configure_logging() method. 13883 - Added a _LevelLoggingFilter class to filter out log messages 13884 above a certain logging level. 13885 - Removed the _stderr_write() method from the StyleChecker class 13886 and replaced its use with appropriate logging calls. 13887 13888 * Scripts/webkitpy/style/checker_unittest.py: 13889 - Added a ConfigureLoggingTest class to unit test the 13890 configure_logging() method. 13891 - Updated the StyleCheckerCheckFileTest class as necessary. 13892 13893 * Scripts/webkitpy/style_references.py: 13894 - Added references to logtesting.UnitTestLog and 13895 logtesting.UnitTestLogStream. 13896 13897 2010-03-01 Chris Fleizach <cfleizach (a] apple.com> 13898 13899 Fixing broken DRT on Leopard/Tiger. Second try. 13900 13901 AX: changes to WAI-ARIA grid aren't perceived correctly by VoiceOver 13902 https://bugs.webkit.org/show_bug.cgi?id=35514 13903 13904 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 13905 13906 2010-03-01 Chris Fleizach <cfleizach (a] apple.com> 13907 13908 Fixing broken DRT on Leopard/Tiger. 13909 13910 AX: changes to WAI-ARIA grid aren't perceived correctly by VoiceOver 13911 https://bugs.webkit.org/show_bug.cgi?id=35514 13912 13913 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 13914 13915 2010-03-01 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 13916 13917 Reviewed by Eric Seidel. 13918 13919 [GTK] plugins/setProperty.html fails on 64bit Release 13920 https://bugs.webkit.org/show_bug.cgi?id=35425 13921 13922 Check invoke's return code before releasing the variant, since 13923 there's a chance it won't be properly initialized, leading to 13924 memory corruption, in some cases. 13925 13926 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 13927 (testCallback): 13928 (testEnumerate): 13929 (testDocumentOpen): 13930 (testWindowOpen): 13931 (handleCallback): 13932 13933 2010-03-01 Dirk Pranke <dpranke (a] chromium.org> 13934 13935 Reviewed by nobody. Build bustage :( 13936 13937 Fix stupid typo that I committed even after David Levin pointed 13938 it out to me :( 13939 13940 https://bugs.webkit.org/show_bug.cgi?id=35553 13941 13942 * Scripts/webkitpy/layout_tests/port/mac.py: 13943 13944 2010-03-01 Chris Fleizach <cfleizach (a] apple.com> 13945 13946 Reviewed by Darin Adler. 13947 13948 AX: changes to WAI-ARIA grid aren't perceived correctly by VoiceOver 13949 https://bugs.webkit.org/show_bug.cgi?id=35514 13950 13951 Add rowCount, columnCount for tables. 13952 13953 * DumpRenderTree/AccessibilityUIElement.cpp: 13954 (rowCountCallback): 13955 (columnCountCallback): 13956 (AccessibilityUIElement::getJSClass): 13957 * DumpRenderTree/AccessibilityUIElement.h: 13958 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 13959 (AccessibilityUIElement::rowCount): 13960 (AccessibilityUIElement::columnCount): 13961 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 13962 (AccessibilityUIElement::rowCount): 13963 (AccessibilityUIElement::columnCount): 13964 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 13965 (AccessibilityUIElement::rowCount): 13966 (AccessibilityUIElement::columnCount): 13967 13968 2010-03-01 Dirk Pranke <dpranke (a] chromium.org> 13969 13970 Reviewed by Eric Seidel. 13971 13972 Work around a bug in Python's subprocess.Popen() that keeps us from 13973 cleaning up DumpRenderTree / test_shell properly when we finish the 13974 tests in new-run-webkit-tests. 13975 13976 https://bugs.webkit.org/show_bug.cgi?id=35553 13977 13978 * Scripts/webkitpy/layout_tests/port/chromium.py: 13979 * Scripts/webkitpy/layout_tests/port/mac.py: 13980 13981 2010-03-01 Arno Renevier <arno (a] renevier.net> 13982 13983 Reviewed by Xan Lopez. 13984 13985 webkit-build could pass unknown arguments to autogen.sh 13986 https://bugs.webkit.org/show_bug.cgi?id=35454 13987 13988 * Scripts/build-webkit: 13989 13990 2010-03-01 Dirk Pranke <dpranke (a] chromium.org> 13991 13992 Rubber-stamped by Dimitri Glazkov. 13993 13994 Fix breakage from r55372. 13995 13996 https://bugs.webkit.org/show_bug.cgi?id=35549 13997 13998 * Scripts/webkitpy/layout_tests/port/chromium.py: 13999 14000 2010-03-01 Adam Barth <abarth (a] webkit.org> 14001 14002 Reviewed by Eric Seidel. 14003 14004 EWS can hang for five hours when compile output is too big 14005 https://bugs.webkit.org/show_bug.cgi?id=35545 14006 14007 * Scripts/webkitpy/commands/queues.py: Limit uploads to 1MB instead of 14008 5MB. AppEngine seems to not like 5MB uploads. I'm not sure what the 14009 limit is. Let's try 1MB for a while and see how it goes. 14010 * Scripts/webkitpy/networktransaction.py: Tune the default parameters 14011 to our exponential backoff. I'm not sure why I picked five hours as 14012 the retry limit. That seems way too large. 14013 14014 2010-03-01 Brady Eidson <beidson (a] apple.com> 14015 14016 Reviewed by Sam Weinig. 14017 14018 REGRESSION: Telling a WebView to go to its current WebHistoryItem is broken. 14019 <rdar://problem/7699371> and https://bugs.webkit.org/show_bug.cgi?id=35532 14020 14021 * DumpRenderTree/LayoutTestController.cpp: 14022 (apiTestGoToCurrentBackForwardItemCallback): 14023 (LayoutTestController::staticFunctions): 14024 * DumpRenderTree/LayoutTestController.h: 14025 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 14026 (LayoutTestController::apiTestGoToCurrentBackForwardItem): 14027 14028 Stubs for now: 14029 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 14030 (LayoutTestController::apiTestGoToCurrentBackForwardItem): 14031 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 14032 (LayoutTestController::apiTestGoToCurrentBackForwardItem): 14033 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 14034 (LayoutTestController::apiTestGoToCurrentBackForwardItem): 14035 14036 2010-03-01 Dirk Pranke <dpranke (a] chromium.org> 14037 14038 Reviewed by David Levin. 14039 14040 General cleanup of error handling in new-run-webkit-tests. 14041 14042 Add Port.check_build() call that is separate from Port.check_sys_deps() 14043 (and add a --nocheck-build flag to skip). This breaks a circular 14044 dependency where you would start the layout test helper before 14045 checking sys deps, but checking sys deps was the thing that told 14046 you if your binaries where there. 14047 14048 Also, made Port.check_sys_deps(), start_helper() and stop_helper() 14049 optional by providing default implementations in the base class 14050 rather than requiring ports to implement the routines regardless 14051 of whether or not they were needed. 14052 14053 Lastly, tweak a bunch of log messages to be cleaner, including 14054 changing messages in thirdparty/autoinstall.py to be silent at 14055 the default log level. 14056 14057 http://bugs.webkit.org/show_bug.cgi?id=35416 14058 14059 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 14060 * Scripts/webkitpy/layout_tests/port/base.py: 14061 * Scripts/webkitpy/layout_tests/port/chromium.py: 14062 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 14063 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 14064 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 14065 * Scripts/webkitpy/layout_tests/port/mac.py: 14066 * Scripts/webkitpy/layout_tests/port/passing.py: 14067 * Scripts/webkitpy/layout_tests/port/test.py: 14068 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 14069 * Scripts/webkitpy/thirdparty/autoinstall.py 14070 14071 2010-03-01 Dirk Pranke <dpranke (a] chromium.org> 14072 14073 Reviewed by David Levin. 14074 14075 new-chromium-webkit-tests --platform=mac-leopard diffs are backwards 14076 https://bugs.webkit.org/show_bug.cgi?id=35265 14077 14078 Some parts of the code passed arguments as 14079 "actual, expected" and some passed as "expected, actual". 14080 As you might imagine, this lead to great confusion and wrongness. 14081 Standardize on "expected, actual" as that's the order which is 14082 passed to the underlying diff tool. 14083 14084 Based on a patch by Eric Siedel <eric (a] webkit.org>. 14085 14086 * Scripts/webkitpy/layout_tests/port/base.py: 14087 * Scripts/webkitpy/layout_tests/port/chromium.py: 14088 * Scripts/webkitpy/layout_tests/port/test.py: 14089 * Scripts/webkitpy/layout_tests/test_types/image_diff.py 14090 14091 2010-03-01 Chris Jerdonek <cjerdonek (a] webkit.org> 14092 14093 Unreviewed. 14094 14095 Rolling out: http://trac.webkit.org/changeset/55348 14096 14097 https://bugs.webkit.org/show_bug.cgi?id=35163 14098 14099 Rolling out since the changes to autoinstall do not work 14100 with Python 2.4. In particular, ZipFile.extractall() was 14101 added in Python 2.6. 14102 14103 * Scripts/webkitpy/__init__.py: 14104 * Scripts/webkitpy/bugzilla.py: 14105 * Scripts/webkitpy/init/__init__.py: Removed. 14106 * Scripts/webkitpy/init/autoinstall.py: Removed. 14107 * Scripts/webkitpy/networktransaction.py: 14108 * Scripts/webkitpy/networktransaction_unittest.py: 14109 * Scripts/webkitpy/statusserver.py: 14110 * Scripts/webkitpy/thirdparty/autoinstall.py: Added. 14111 14112 2010-03-01 Chris Jerdonek <cjerdonek (a] webkit.org> 14113 14114 Unreviewed. 14115 14116 Rolling out r55350: http://trac.webkit.org/changeset/55350 14117 14118 https://bugs.webkit.org/show_bug.cgi?id=33639 14119 14120 Need to roll out because this patch (pep8) depends on the newly 14121 rewritten autoinstall.py (r55348), which is breaking for people 14122 with Python 2.4: 14123 14124 https://bugs.webkit.org/show_bug.cgi?id=35163#c21 14125 14126 That revision also needs to be rolled out and will be rolled out next. 14127 14128 * Scripts/webkitpy/style/checker.py: 14129 * Scripts/webkitpy/style/checker_unittest.py: 14130 * Scripts/webkitpy/style/processors/python.py: Removed. 14131 * Scripts/webkitpy/style/processors/python_unittest.py: Removed. 14132 * Scripts/webkitpy/style/processors/python_unittest_input.py: Removed. 14133 * Scripts/webkitpy/style/unittests.py: 14134 * Scripts/webkitpy/style_references.py: 14135 14136 2010-02-28 Chris Jerdonek <cjerdonek (a] webkit.org> 14137 14138 Reviewed by Shinichiro Hamaji. 14139 14140 Exempted WebKitTools/Scripts/webkitpy/thirdparty from all 14141 style checks except for the whitespace/carriage_return check 14142 and the pep8 tab and trailing white space checks. 14143 14144 https://bugs.webkit.org/show_bug.cgi?id=35497 14145 14146 * Scripts/webkitpy/style/checker.py: 14147 - Adjusted the _PATH_RULES_SPECIFIER configuration as necessary. 14148 - Added enough pep8 categories to _all_categories() for the 14149 unit tests to pass. 14150 14151 * Scripts/webkitpy/style/checker_unittest.py: 14152 - Updated the test_path_rules_specifier() unit test. 14153 14154 2010-02-27 Chris Jerdonek <cjerdonek (a] webkit.org> 14155 14156 Reviewed by David Levin. 14157 14158 Added Python style checking to check-webkit-style using 14159 the third-party pep8 module (via autoinstall). 14160 14161 https://bugs.webkit.org/show_bug.cgi?id=33639 14162 14163 * Scripts/webkitpy/style/checker.py: 14164 - Added PYTHON to FileType. 14165 - Updated ProcessorDispatcher to return a PythonProcessor 14166 for *.py files. 14167 14168 * Scripts/webkitpy/style/checker_unittest.py: 14169 - Updated the ProcessorDispatcher unit tests for *.py files. 14170 14171 * Scripts/webkitpy/style/processors/python.py: Added. 14172 - Added PythonProcessor class. 14173 14174 * Scripts/webkitpy/style/processors/python_unittest.py: Added. 14175 - Added PythonProcessor unit tests. 14176 14177 * Scripts/webkitpy/style/processors/python_unittest_input.py: Added. 14178 - Added a sample Python file to test the PythonProcessor.process() 14179 code path (since pep8 accepts a file path). 14180 14181 * Scripts/webkitpy/style/unittests.py: 14182 - Updated the style unit test file to import python_unittest.py. 14183 14184 * Scripts/webkitpy/style_references.py: 14185 - Adjusted style references to import pep8. 14186 14187 2010-02-26 Chris Jerdonek <cjerdonek (a] webkit.org> 14188 14189 Reviewed by David Levin. 14190 14191 Rewrote autoinstall.py to support unzipping *.zip files after 14192 download, unzipping and extracting *.tar.gz files after download, 14193 and copying installed files to a destination directory. 14194 14195 https://bugs.webkit.org/show_bug.cgi?id=35163 14196 14197 These changes will allow us to autoinstall pep8.py from the web 14198 and to put our third-party autoinstalled code in an explicit 14199 directory like webkitpy/thirdparty/autoinstalled. They should 14200 also speed up imports from autoinstalled *.zip packages slightly 14201 since *.pyc files cannot be generated when importing from 14202 zipped packages. 14203 14204 * Scripts/webkitpy/__init__.py: 14205 - Updated the autoinstall lines to use the new autoinstall methods. 14206 - Added pep8.py to the list of auto-installed packages. 14207 14208 * Scripts/webkitpy/bugzilla.py: 14209 - Updated mechanize import path. 14210 14211 * Scripts/webkitpy/init/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py. 14212 14213 * Scripts/webkitpy/init/autoinstall.py: Added. 14214 - Added AutoInstaller class. 14215 - Added sample testing usage to __main__. 14216 14217 * Scripts/webkitpy/networktransaction.py: 14218 - Updated mechanize import path. 14219 14220 * Scripts/webkitpy/networktransaction_unittest.py: 14221 - Updated mechanize import path. 14222 14223 * Scripts/webkitpy/statusserver.py: 14224 - Updated mechanize import path. 14225 14226 * Scripts/webkitpy/thirdparty/autoinstall.py: Removed. 14227 - Replaced with rewritten autoinstall in init/autoinstall.py. 14228 14229 2010-02-26 Dirk Pranke <dpranke (a] chromium.org> 14230 14231 Reviewed by Adam Barth. 14232 14233 Change the default port for new-run-webkit-tests when running on 14234 a Mac from 'chromium-mac' to 'mac'. Add a '--chromium' switch to 14235 pick up the default platform-specific version of chromium instead. 14236 14237 https://bugs.webkit.org/show_bug.cgi?id=35462 14238 14239 * Scripts/webkitpy/layout_tests/port/factory.py: 14240 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 14241 14242 2010-02-26 Dirk Pranke <dpranke (a] chromium.org> 14243 14244 Unreviewed, build fix 14245 14246 third time's the charm getting this path right? 14247 14248 * pywebsocket/mod_pywebsocket/standalone.py: 14249 14250 2010-02-26 Dumitru Daniliuc <dumi (a] chromium.org> 14251 14252 Unreviewed, build fix. 14253 14254 * pywebsocket/mod_pywebsocket/standalone.py: 14255 14256 2010-02-26 Dumitru Daniliuc <dumi (a] chromium.org> 14257 14258 Reviewed by Dimitri Glazkov. 14259 14260 Moving the script to the right location. 14261 14262 * pywebsocket/mod_pywebsocket: Added. 14263 * pywebsocket/mod_pywebsocket/standalone.py: Copied from WebKitTools/pywebsocket/standalone.py. 14264 * pywebsocket/standalone.py: Removed. 14265 14266 2010-02-26 Dumitru Daniliuc <dumi (a] chromium.org> 14267 14268 Unreviewed, fixing the license. 14269 14270 * pywebsocket/standalone.py: 14271 14272 2010-02-26 Dumitru Daniliuc <dumi (a] chromium.org> 14273 14274 Reviewed by Adam Barth. 14275 14276 Adding pywebsocket/standalone.py back to fix the Chromium webkit 14277 canaries. Once all layout tests pass, we can get in the patch that 14278 moves this directorty to WebKitTools/Scripts, update all Chromium 14279 scripts, and revert this patch. 14280 14281 https://bugs.webkit.org/show_bug.cgi?id=35464 14282 14283 * pywebsocket: Added. 14284 * pywebsocket/standalone.py: Added. 14285 14286 2010-02-26 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 14287 14288 Reviewed by Xan Lopez. 14289 14290 [GTK] Needs proper reporting of frame loader callbacks, in DRT 14291 https://bugs.webkit.org/show_bug.cgi?id=32170 14292 14293 Fix reporting of unload handlers, so that it is emitted where 14294 needed, not after it. 14295 14296 * DumpRenderTree/gtk/DumpRenderTree.cpp: 14297 (webViewLoadFinished): 14298 (webViewDocumentLoadFinished): 14299 (createWebView): 14300 14301 2010-02-26 Antonio Gomes <tonikitoo (a] webkit.org> 14302 14303 Reviewed by Gustavo Noronha. 14304 Patch by Antonio Gomes <tonikitoo (a] webkit.org> 14305 14306 [Gtk] Make DRT EventSender::keyDown to consider 'hardware_keycode' field when synthesizing an event. 14307 https://bugs.webkit.org/show_bug.cgi?id=35432 14308 14309 When a directional key-press event (arrow keys, End, Home, PageUp, 14310 PageDown, etc) is synthesized by DRT's EventSender and it targets 14311 an editor (e.g. <input type=text>, <textare>, etc), event is processed 14312 by WebCore::EventHandler. On the other hand, if event target is not 14313 an editor, event is bubbled up to Gtk+ for processing. In such cases, 14314 if 'hardware_keycode' is not provided at event synthesize time 14315 its processing fails (at some point in gtk_bindings_activate_event), 14316 and no scroll action is performed. 14317 14318 Unskip fast/events/node-event-anchor-lock.html 14319 14320 * DumpRenderTree/win/EventSender.cpp: 14321 (keyDownCallback): 14322 * platform/gtk/Skipped: 14323 14324 2010-02-26 Dimitri Glazkov <dglazkov (a] chromium.org> 14325 14326 Reviewed by David Levin. 14327 14328 new-webkit-run-tests: Extraneous parenthesis in websocket_server.py 14329 https://bugs.webkit.org/show_bug.cgi?id=35436 14330 14331 * Scripts/webkitpy/layout_tests/port/websocket_server.py: Removed extra paren. 14332 14333 2010-02-26 Chris Jerdonek <cjerdonek (a] webkit.org> 14334 14335 Reviewed by David Levin. 14336 14337 Moved pywebsocket into the webkitpy/thirdparty directory and added 14338 an associated README.webkit file to the pywebsocket directory. 14339 This makes pywebsocket more consistent with the other third-party 14340 Python code in our repository. 14341 14342 https://bugs.webkit.org/show_bug.cgi?id=35198 14343 14344 * Scripts/run-webkit-tests: 14345 - Updated paths to pywebsocket. 14346 14347 * Scripts/run-webkit-websocketserver: 14348 - Updated paths to pywebsocket. 14349 14350 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 14351 - Updated paths to pywebsocket. 14352 14353 * Scripts/webkitpy/thirdparty/pywebsocket: Copied from WebKitTools/pywebsocket. 14354 * Scripts/webkitpy/thirdparty/pywebsocket/README.webkit: Added. 14355 - Added a file containing information about the contents 14356 of the pywebsocket directory. This will make it easier to 14357 understand where the third-party code came from and what 14358 local changes have been made. 14359 14360 * pywebsocket: Removed. 14361 * pywebsocket/COPYING: Removed. 14362 * pywebsocket/MANIFEST.in: Removed. 14363 * pywebsocket/README: Removed. 14364 * pywebsocket/example: Removed. 14365 * pywebsocket/example/echo_client.py: Removed. 14366 * pywebsocket/example/echo_wsh.py: Removed. 14367 * pywebsocket/mod_pywebsocket: Removed. 14368 * pywebsocket/mod_pywebsocket/__init__.py: Removed. 14369 * pywebsocket/mod_pywebsocket/dispatch.py: Removed. 14370 * pywebsocket/mod_pywebsocket/handshake.py: Removed. 14371 * pywebsocket/mod_pywebsocket/headerparserhandler.py: Removed. 14372 * pywebsocket/mod_pywebsocket/memorizingfile.py: Removed. 14373 * pywebsocket/mod_pywebsocket/msgutil.py: Removed. 14374 * pywebsocket/mod_pywebsocket/standalone.py: Removed. 14375 * pywebsocket/mod_pywebsocket/util.py: Removed. 14376 * pywebsocket/setup.py: Removed. 14377 * pywebsocket/test: Removed. 14378 * pywebsocket/test/config.py: Removed. 14379 * pywebsocket/test/mock.py: Removed. 14380 * pywebsocket/test/run_all.py: Removed. 14381 * pywebsocket/test/test_dispatch.py: Removed. 14382 * pywebsocket/test/test_handshake.py: Removed. 14383 * pywebsocket/test/test_memorizingfile.py: Removed. 14384 * pywebsocket/test/test_mock.py: Removed. 14385 * pywebsocket/test/test_msgutil.py: Removed. 14386 * pywebsocket/test/test_util.py: Removed. 14387 * pywebsocket/test/testdata: Removed. 14388 * pywebsocket/test/testdata/handlers: Removed. 14389 * pywebsocket/test/testdata/handlers/blank_wsh.py: Removed. 14390 * pywebsocket/test/testdata/handlers/origin_check_wsh.py: Removed. 14391 * pywebsocket/test/testdata/handlers/sub: Removed. 14392 * pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Removed. 14393 * pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Removed. 14394 * pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Removed. 14395 * pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Removed. 14396 * pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Removed. 14397 * pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Removed. 14398 14399 2010-02-26 Chris Jerdonek <cjerdonek (a] webkit.org> 14400 14401 Reviewed by Eric Seidel. 14402 14403 Changed the diff_parser module to log to a module-specific 14404 logging.logger rather than the root logger. 14405 14406 https://bugs.webkit.org/show_bug.cgi?id=35391 14407 14408 * Scripts/webkitpy/diff_parser.py: 14409 14410 2010-02-26 Csaba Osztrogonc <ossy (a] webkit.org> 14411 14412 Reviewed by Kenneth Rohde Christiansen. 14413 14414 [Qt] LayoutTestController.numberOfPages() should have default parameters 14415 https://bugs.webkit.org/show_bug.cgi?id=35428 14416 14417 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: maxViewWidth and maxViewHeight moved to 14418 LayoutTestController to converge to platform independent implementation. 14419 (WebCore::DumpRenderTree::DumpRenderTree): 14420 (WebCore::DumpRenderTree::open): 14421 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Initialization of maxViewWidth and maxViewHeight added. 14422 * DumpRenderTree/qt/LayoutTestControllerQt.h: 14423 - Default parameters for LayoutTestController.numberOfPages() added. 14424 - maxViewWidth and maxViewHeight members added. 14425 14426 2010-02-26 Jamey Hicks <jamey.hicks (a] nokia.com> 14427 14428 Reviewed by Laszlo Gombos. 14429 14430 [Qt] added QWebSettings::setInspectorUrl() and QWebSettings::inspectorUrl() 14431 14432 Enables the use of alternate Web Inspector frontends by changing 14433 the location of the frontend. The location is specified by providing 14434 -inspector-url url 14435 as an argument to QtLauncher. 14436 14437 This is required so that the Web Inspector may be run from an 14438 external process or an external tool such as Eclipse or Aptana may 14439 be used instead of the in-process Web Inspector UI. 14440 14441 https://bugs.webkit.org/show_bug.cgi?id=35340 14442 14443 * QtLauncher/main.cpp: 14444 (LauncherWindow::init): 14445 (LauncherApplication::handleUserOptions): 14446 14447 2010-02-25 Dirk Pranke <dpranke (a] chromium.org> 14448 14449 Reviewed by Eric Seidel. 14450 14451 Add a 'passing' port implementation to new-run-webkit-tests that 14452 acts as a wrapper around an existing implementation but stubs out 14453 the actual test invocations (instead, the expected results are echoed 14454 back to the harness). This is useful for coverage and perf testing 14455 of the harness (especially perf testing as it essentially provides 14456 a lower bound on how fast the harness can run). 14457 14458 Also added a --nostart-helper flag to new-run-webkit-tests so that 14459 you can skip starting the layout_test_helper and actually run the 14460 harness even if you don't have a build of that port. 14461 14462 Also fix a bug in the 'test' port implementation to actually 14463 create the results directory under /tmp instead of /. 14464 14465 https://bugs.webkit.org/show_bug.cgi?id=35370 14466 14467 * Scripts/webkitpy/layout_tests/port/factory.py: Modified. 14468 * Scripts/webkitpy/layout_tests/port/passing.py: Added. 14469 * Scripts/webkitpy/layout_tests/port/test.py: Added. 14470 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Modified. 14471 14472 2010-02-25 Eric Seidel <eric (a] webkit.org> 14473 14474 Fix typo in my last change. No review. 14475 14476 Rename run-chromium-webkit-tests to new-run-webkit-tests to stop confusion 14477 https://bugs.webkit.org/show_bug.cgi?id=35408 14478 14479 * Scripts/new-run-webkit-tests: 14480 14481 2010-02-25 Eric Seidel <eric (a] webkit.org> 14482 14483 Reviewed by Adam Barth. 14484 14485 Rename run-chromium-webkit-tests to new-run-webkit-tests to stop confusion 14486 https://bugs.webkit.org/show_bug.cgi?id=35408 14487 14488 * Scripts/new-run-webkit-tests: Added. 14489 * Scripts/run-chromium-webkit-tests: Removed. 14490 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py. 14491 14492 2010-02-25 Adam Barth <abarth (a] webkit.org> 14493 14494 Reviewed by David Levin. 14495 14496 EWS leaks memory slowly 14497 https://bugs.webkit.org/show_bug.cgi?id=35395 14498 14499 The EWS bots leak memory very slowly. If you run them for about a 14500 month, each one will take up around 1 GB of virutal memory. If you run 14501 several of them on one machine, you'll eventually exhaust all available 14502 memory and grind the bots to a halt. 14503 14504 This patch introduces a --exit-after-iteration option to the queues so 14505 that we run them for a finite amount of time. Once they exit and 14506 restart, they'll reclaim the leaked memory. I'm not sure how many 14507 iterations I'll end up running them for. I'll need to sort that out 14508 operationally, but my initial guess is around 1000. 14509 14510 * Scripts/webkitpy/commands/queues.py: 14511 * Scripts/webkitpy/commands/queues_unittest.py: 14512 14513 2010-02-25 Jarkko Sakkinen <jarkko.sakkinen (a] tieto.com> 14514 14515 Reviewed by Kenneth Rohde Christiansen. 14516 14517 Qt WebGL support 14518 14519 Adds toggling of WebGL support to QtLauncher. 14520 https://bugs.webkit.org/show_bug.cgi?id=35153 14521 14522 * QtLauncher/main.cpp: 14523 (LauncherWindow::toggleWebGL): 14524 (LauncherWindow::setupUI): 14525 14526 2010-02-25 Ben Murdoch <benm (a] google.com> 14527 14528 Reviewed by Kenneth Rohde Christiansen. 14529 14530 The target element of a Touch should be the target where that touch originated, not where it is now. 14531 https://bugs.webkit.org/show_bug.cgi?id=34585 14532 14533 * DumpRenderTree/qt/EventSenderQt.cpp: 14534 (EventSender::addTouchPoint): Fix a bug where touch points were not being given unique ids. 14535 14536 2010-02-24 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 14537 14538 Reviewed by Kenneth Rohde Christiansen. 14539 14540 [Qt] QtLauncher has a border when running on QGraphicsView mode 14541 https://bugs.webkit.org/show_bug.cgi?id=35352 14542 14543 Fix 2-pixels frame on each border of QtLauncher when running on QGraphicsView mode. 14544 14545 * QtLauncher/webview.cpp: 14546 (WebViewGraphicsBased::WebViewGraphicsBased): 14547 14548 2010-02-23 Dirk Pranke <dpranke (a] chromium.org> 14549 14550 Reviewed by David Levin. 14551 14552 When the run-chromium-webkit-tests code was landed and the code was 14553 refactored into the 'port' package, I accidentally broke using 14554 http_server.py or websocket_server.py as command-line scripts 14555 (the constructors needed a port object they weren't getting). This 14556 change fixes them so that --server start|stop actually works. 14557 14558 As a part of this, the two files need to be able to call port.get(), 14559 but doing that is awkward from a file inside the package, so I moved 14560 get() into factory.py and imported that into __init__.py so that 14561 http_server.py and websocket_server.py can just import factory. 14562 14563 https://bugs.webkit.org/show_bug.cgi?id=35316 14564 14565 * Scripts/webkitpy/layout_tests/port/__init__.py: 14566 * Scripts/webkitpy/layout_tests/port/factory.py: 14567 * Scripts/webkitpy/layout_tests/port/http_server.py: 14568 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 14569 14570 2010-02-24 Dirk Pranke <dpranke (a] chromium.org> 14571 14572 Reviewed by David Levin. 14573 14574 Fix the function signature for check_sys_deps on the mac port, and 14575 fix the ordering of port_obj.check_sys_deps() and 14576 port_obj.start_helper() (helper needs to be started before we check 14577 the system configuration). 14578 14579 http://bugs.webkit.org/show_bug.cgi?id=35367 14580 14581 * Scripts/webkitpy/layout_tests/port/mac.py: 14582 * Scripts/webkitpy/layout_tests/port/test.py: 14583 * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: 14584 14585 2010-02-24 James Robinson <jamesr (a] chromium.org> 14586 14587 Reviewed by Eric Seidel. 14588 14589 Provide default username parameter to SVN.commit_with_message(). 14590 14591 * Scripts/webkitpy/scm.py: 14592 14593 2010-02-24 Dirk Pranke <dpranke (a] chromium.org> 14594 14595 Reviewed by Eric Siedel. 14596 14597 Check the proper directory for a WebKit SVN version (Chromium does 14598 not check out the entire WebKit tree directly, but rather pulls 14599 individual subdirectories. So, checking for the SVN version in 14600 WebKit/WebCore rather than just in WebKit works more reliably across 14601 different ports). 14602 14603 http://bugs.webkit.org/show_bug.cgi?id=35321 14604 14605 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 14606 14607 2010-02-24 Alexey Proskuryakov <ap (a] apple.com> 14608 14609 Reviewed by Dan Bernstein. 14610 14611 https://bugs.webkit.org/show_bug.cgi?id=35357 14612 Two editing tests fail after DumpRenderTree run loop changes 14613 14614 AppKit decided that it wanted to group all editing commands for some reason (and thus undo 14615 reverted them all at once). 14616 14617 * DumpRenderTree/mac/DumpRenderTree.mm: 14618 (dump): Reverted the change that made DumpRenderTree use -[NSApplication run]. 14619 (runTest): Ditto. 14620 (-[DumpRenderTreeApplication isRunning]): Override isRunning with a function that always 14621 returns YES. This is another way to make the Java plug-in work. 14622 14623 2010-02-23 Adam Roben <aroben (a] apple.com> 14624 14625 Make commit-log-editor find just-added ChangeLog files 14626 14627 Fixes <http://webkit.org/b/35294> commit-log-editor doesn't find 14628 just-added ChangeLog files 14629 14630 Reviewed by Dave Levin. 14631 14632 * Scripts/commit-log-editor: 14633 (top level): Modified the regular expression that's used to find 14634 modified ChangeLog files to also look for just-added ChangeLog files. 14635 14636 2010-02-24 Shinichiro Hamaji <hamaji (a] chromium.org> 14637 14638 Reviewed by Darin Adler. 14639 14640 check-webkit-style false positive for WebCore forwarding header 14641 https://bugs.webkit.org/show_bug.cgi?id=34604 14642 14643 * Scripts/webkitpy/style/checker.py: 14644 * Scripts/webkitpy/style/checker_unittest.py: 14645 14646 2010-02-23 Alexey Proskuryakov <ap (a] apple.com> 14647 14648 Reviewed by Mark Rowe. 14649 14650 https://bugs.webkit.org/show_bug.cgi?id=22602 14651 Enable Java in DumpRenderTree (on Mac) 14652 14653 * DumpRenderTree/mac/DumpRenderTree.mm: 14654 (exitApplicationRunLoop): 14655 (dump): 14656 (runTest): 14657 DumpRenderTree now runs an NSApplication, not just an event loop. This way, the Java plug-in 14658 can start without freezing. 14659 14660 * Scripts/run-webkit-tests: Compile java sources in LayputTests/java. 14661 14662 2010-02-23 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 14663 14664 Reviewed by Kenneth Rohde Christiansen. 14665 14666 [Qt] Need a final integration between QtLauncher and QGVLauncher 14667 https://bugs.webkit.org/show_bug.cgi?id=35292 14668 14669 WebKit coding style fixes. 14670 14671 * QtLauncher/main.cpp: 14672 (LauncherWindow::resetZoom): 14673 14674 2010-02-23 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 14675 14676 Reviewed by Kenneth Rohde Christiansen. 14677 14678 [Qt] Need a final integration between QtLauncher and QGVLauncher 14679 https://bugs.webkit.org/show_bug.cgi?id=35292 14680 14681 Add cloneWindow feature to QtLauncher, when running on QGraphicsView mode. 14682 14683 * QtLauncher/main.cpp: 14684 (LauncherWindow::LauncherWindow): 14685 (LauncherWindow::~LauncherWindow): 14686 (LauncherWindow::init): 14687 (LauncherWindow::cloneWindow): 14688 (LauncherWindow::setupUI): 14689 14690 2010-02-23 Dirk Pranke <dpranke (a] chromium.org> 14691 14692 Reviewed by Dimitri Glazkov. 14693 14694 Fix handling of check_wdiff_install when wdiff isn't installed. 14695 14696 http://bugs.webkit.org/show_bug.cgi?id=35304 14697 14698 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 14699 14700 2010-02-23 Leandro Pereira <leandro (a] profusion.mobi> 14701 14702 Reviewed by NOBODY. 14703 14704 Fix false positives for 'delete *pointer' statements. 14705 http://webkit.org/b/35235 14706 14707 * WebKitTools/Scripts/webkitpy/style/processors/cpp.py: 14708 14709 2010-02-23 Shinichiro Hamaji <hamaji (a] chromium.org> 14710 14711 Reviewed by Eric Seidel. 14712 14713 [Gtk] Implement layoutTestController.numberOfPages 14714 https://bugs.webkit.org/show_bug.cgi?id=35228 14715 14716 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 14717 (LayoutTestController::numberOfPages): 14718 14719 2010-02-23 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 14720 14721 Reviewed by Kenneth Rohde Christiansen. 14722 14723 [Qt] QtLauncher should not use internal JavaScriptCore and WebCore interfaces 14724 https://bugs.webkit.org/show_bug.cgi?id=35248 14725 14726 * QtLauncher/QtLauncher.pro: 14727 * QtLauncher/utils.h: 14728 14729 2010-02-23 Daniel Bates <dbates (a] rim.com> 14730 14731 Reviewed by Eric Seidel. 14732 14733 https://bugs.webkit.org/show_bug.cgi?id=34439 14734 14735 Prompts a person for their SVN username if not already cached (by Subversion). 14736 14737 Currently, webkit-patch is unable to commit to the SVN repo. unless the 14738 WebKit SVN username is already cached (from of a prior commit by hand) 14739 because "svn commit" (called by webkit-patch) defaults to using the system 14740 login name unless the username is already cached or specified on the 14741 command line. 14742 14743 * Scripts/webkitpy/scm.py: Added methods SVN.has_authorization_for_realm and 14744 modified SVN.commit_with_message to call it. Added optional username parameter 14745 to method SVN.commit_with_message. 14746 * Scripts/webkitpy/scm_unittest.py: Added unit test methods: SVNTest.test_commit_with_username, 14747 SVNTest.test_has_authorization_for_realm, and SVNTest.test_not_have_authorization_for_realm. 14748 14749 2010-02-22 Dirk Pranke <dpranke (a] chromium.org> 14750 14751 Reviewed by Eric Siedel. 14752 14753 Add more checking for missing binaries and packages to check_sys_deps() 14754 14755 https://bugs.webkit.org/show_bug.cgi?id=35062 14756 14757 * Scripts/webkitpy/layout_tests/port/base.py: 14758 * Scripts/webkitpy/layout_tests/port/chromium.py: 14759 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 14760 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 14761 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 14762 * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: 14763 14764 2010-02-22 Shinichiro Hamaji <hamaji (a] chromium.org> 14765 14766 Reviewed by David Levin. 14767 14768 [Gtk] check-webkit-style: GTK style should be allowed in WebKitTools/DumpRenderTree/gtk 14769 https://bugs.webkit.org/show_bug.cgi?id=35229 14770 14771 * Scripts/webkitpy/style/checker.py: 14772 * Scripts/webkitpy/style/checker_unittest.py: 14773 14774 2010-02-22 James Robinson <jamesr (a] chromium.org> 14775 14776 Unreviewed. Adding myself to committers list. 14777 14778 * Scripts/webkitpy/committers.py: 14779 14780 2010-02-22 Simon Fraser <simon.fraser (a] apple.com> 14781 14782 Reviewed by Darin Adler. 14783 14784 Remove DRT hack that turns off hardware acceleration with older QuickTimes 14785 https://bugs.webkit.org/show_bug.cgi?id=35275 14786 14787 Now that WebKit does a version check to avoid a QuickTime-related 14788 crash (r55100), DumpRenderTree does not need to. 14789 14790 * DumpRenderTree/mac/DumpRenderTree.mm: 14791 (resetDefaultsToConsistentValues): 14792 14793 2010-02-22 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 14794 14795 Reviewed by Kenneth Rohde Christiansen. 14796 14797 [Qt] Build the DRT in debug on Mac OS X 14798 14799 * DumpRenderTree/qt/DumpRenderTree.pro: 14800 14801 2010-02-22 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 14802 14803 Reviewed by Kenneth Rohde Christiansen. 14804 14805 [Qt] Add support for layout tests on Symbian 14806 https://bugs.webkit.org/show_bug.cgi?id=31589 14807 14808 * DumpRenderTree/qt/DumpRenderTree.pro: 14809 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 14810 * DumpRenderTree/qt/main.cpp: 14811 (main): 14812 14813 2010-02-20 Chris Jerdonek <cjerdonek (a] webkit.org> 14814 14815 Reviewed by Adam Barth. 14816 14817 Moved simplejson into webkitpy/thirdparty directory. 14818 14819 https://bugs.webkit.org/show_bug.cgi?id=35196 14820 14821 * Scripts/run-chromium-webkit-tests: 14822 - Added webkitpy/thirdparty to the script's search path. 14823 14824 * Scripts/webkitpy/thirdparty/simplejson: Copied from WebKitTools/simplejson. 14825 - Copied simplejson directory. 14826 14827 * simplejson: Removed. 14828 * simplejson/LICENSE.txt: Removed. 14829 * simplejson/README.txt: Removed. 14830 * simplejson/__init__.py: Removed. 14831 * simplejson/_speedups.c: Removed. 14832 * simplejson/decoder.py: Removed. 14833 * simplejson/encoder.py: Removed. 14834 * simplejson/jsonfilter.py: Removed. 14835 * simplejson/scanner.py: Removed. 14836 14837 2010-02-20 Chris Jerdonek <cjerdonek (a] webkit.org> 14838 14839 Reviewed by Adam Barth. 14840 14841 Moved BeautifulSoup to webkitpy/thirdparty directory. 14842 14843 https://bugs.webkit.org/show_bug.cgi?id=35195 14844 14845 * Scripts/webkitpy/BeautifulSoup.py: Removed. 14846 - Moved to webkitpy/thirdparty. 14847 14848 * Scripts/webkitpy/bugzilla.py: 14849 - Updated import statement. 14850 14851 * Scripts/webkitpy/bugzilla_unittest.py: 14852 - Updated import statement. 14853 14854 * Scripts/webkitpy/buildbot.py: 14855 - Updated import statement. 14856 14857 * Scripts/webkitpy/buildbot_unittest.py: 14858 - Updated import statement. 14859 14860 * Scripts/webkitpy/statusserver.py: 14861 - Updated import statement. 14862 14863 * Scripts/webkitpy/thirdparty/BeautifulSoup.py: Copied from WebKitTools/Scripts/webkitpy/BeautifulSoup.py. 14864 14865 2010-02-20 Chris Jerdonek <cjerdonek (a] webkit.org> 14866 14867 Reviewed by Adam Barth. 14868 14869 Created a directory for third-party Python code, and moved 14870 autoinstall.py into it. 14871 14872 https://bugs.webkit.org/show_bug.cgi?id=34540 14873 14874 * Scripts/webkitpy/__init__.py: 14875 - Updated "import autoinstall" statement. 14876 14877 * Scripts/webkitpy/autoinstall.py: Removed. 14878 - Moved to thirdparty/autoinstall.py. 14879 14880 * Scripts/webkitpy/thirdparty: Added. 14881 * Scripts/webkitpy/thirdparty/__init__.py: Added. 14882 * Scripts/webkitpy/thirdparty/autoinstall.py: Copied from WebKitTools/Scripts/webkitpy/autoinstall.py. 14883 14884 2010-02-20 Gustavo Noronha Silva <gns (a] gnome.org> 14885 14886 Unreviewed, obvious fix for the python failure in our new buildbot 14887 step: 14888 14889 http://build.webkit.org/builders/GTK Linux 32-bit Release/builds/9075/steps/API tests/logs/err.text 14890 14891 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 14892 14893 2010-02-19 Maciej Stachowiak <mjs (a] apple.com> 14894 14895 Reviewed by David Levin. 14896 14897 Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases 14898 https://bugs.webkit.org/show_bug.cgi?id=35147 14899 14900 * Scripts/build-webkit: Handle new flag. 14901 14902 2010-02-19 Leandro Pereira <leandro (a] profusion.mobi> 14903 14904 Reviewed by Shinichiro Hamaji. 14905 14906 [style-queue] should not complain about identifier names with underscores under WebKit/efl/ewk/ 14907 https://bugs.webkit.org/show_bug.cgi?id=35091 14908 14909 White list unix_hacker_style names in WebKit/efl/ewk because these 14910 are used in the EFL API. 14911 14912 * Scripts/webkitpy/style/checker.py: 14913 - Filter out readability/naming on WebKit/efl/ewk. 14914 14915 2010-02-19 Eric Seidel <eric (a] webkit.org> 14916 14917 Reviewed by Adam Barth. 14918 14919 Split out "prepare-rollout" from "rollout" and make --complete-rollout default 14920 https://bugs.webkit.org/show_bug.cgi?id=33745 14921 14922 * Scripts/webkitpy/commands/download.py: 14923 - Add a new AbstractRolloutPrepCommand to share code between PrepareRollout and Rollout 14924 - Add PrepareRollout 14925 * Scripts/webkitpy/commands/download_unittest.py: Test PrepareRollout, remove CompleteRollout tests. 14926 * Scripts/webkitpy/steps/__init__.py: include ReopenBugAfterRollout step. 14927 * Scripts/webkitpy/steps/completerollout.py: Removed. 14928 * Scripts/webkitpy/steps/options.py: remove complete_rollout 14929 * Scripts/webkitpy/steps/reopenbugafterrollout.py: Added. 14930 14931 2010-02-19 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 14932 14933 Reviewed by Kenneth Rohde Christiansen. 14934 14935 [Qt] Need a final integration between QtLauncher and QGVLauncher 14936 https://bugs.webkit.org/show_bug.cgi?id=35161 14937 14938 Add animated flip support to QtLauncher when running on QGraphicsView mode. 14939 14940 * QtLauncher/main.cpp: 14941 (LauncherWindow::initializeView): 14942 (LauncherWindow::setupUI): 14943 * QtLauncher/webview.cpp: 14944 (WebViewGraphicsBased::WebViewGraphicsBased): 14945 (WebViewGraphicsBased::animatedFlip): 14946 (WebViewGraphicsBased::animatedYFlip): 14947 * QtLauncher/webview.h: 14948 (WebViewGraphicsBased::setYRotation): 14949 (WebViewGraphicsBased::yRotation): 14950 14951 2010-02-19 Andras Becsi <abecsi (a] webkit.org> 14952 14953 Reviewed by Kenneth Rohde Christiansen. 14954 14955 [Qt] Implement textZoomIn() and textZoomOut() in DRT's EventSender, add results 14956 for passing new tests and unskip the passing ones from the Skipped list. 14957 https://bugs.webkit.org/show_bug.cgi?id=35159 14958 14959 * DumpRenderTree/qt/EventSenderQt.cpp: 14960 (EventSender::textZoomIn): 14961 (EventSender::textZoomOut): 14962 * DumpRenderTree/qt/EventSenderQt.h: 14963 14964 2010-02-19 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 14965 14966 Reviewed by Eric Seidel. 14967 14968 [Qt] Clean-up the handling of HTML5 persistent data for LayoutTests 14969 https://bugs.webkit.org/show_bug.cgi?id=35004 14970 14971 DumpRenderTreeQt.cpp calls QWebSettings::enablePersistentStorage which sets up 14972 and enables all HTML5 persistent data. All the other calls for setting the 14973 persistent path or enabling the persistent feature are redundant. 14974 14975 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 14976 (WebCore::WebPage::WebPage): No need to enable AppCache again. 14977 * DumpRenderTree/qt/main.cpp: 14978 (main): No need to setup and enable HTML5 LocalStorage again. 14979 14980 2010-02-19 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 14981 14982 Reviewed by Kenneth Rohde Christiansen. 14983 14984 Send the context menu event from contextClick() of EventSender 14985 and do not show context menu in DRT. 14986 14987 LayoutTests: 14988 fast/events/contextmenu-scrolled-page-with-frame.html 14989 14990 [Qt] DRT: Send context menu event from EventSender 14991 https://bugs.webkit.org/show_bug.cgi?id=35131 14992 14993 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 14994 (WebCore::DumpRenderTree::DumpRenderTree): 14995 * DumpRenderTree/qt/EventSenderQt.cpp: 14996 (EventSender::contextClick): 14997 14998 2010-02-18 Chris Jerdonek <cjerdonek (a] webkit.org> 14999 15000 Reviewed by Shinichiro Hamaji. 15001 15002 Moved parsing-related code to a separate file. Also increased 15003 the unit test coverage in some affected areas. 15004 15005 https://bugs.webkit.org/show_bug.cgi?id=34675 15006 15007 This revision contains no new functionality. 15008 15009 * Scripts/check-webkit-style: 15010 - Adjusted to call check_webkit_style_parser(). 15011 15012 * Scripts/webkitpy/style/checker.py: 15013 - Added check_webkit_style_parser() to pass checker.py 15014 configuration settings to optparser.py. 15015 - Moved _create_usage() and the CommandOptionValues, 15016 DefaultCommandOptionValues, ArgumentPrinter, and 15017 ArgumentParser classes to optparser.py. 15018 15019 * Scripts/webkitpy/style/checker_unittest.py: 15020 - Moved the ProcessorOptionsTest, ArgumentPrinterTest, and 15021 ArgumentParserTest classes to optparser.py. 15022 - Added the CheckWebKitStyleFunctionTest class to check 15023 the check_webkit_style_configuration() and 15024 check_webkit_style_parser() code paths. 15025 15026 * Scripts/webkitpy/style/optparser.py: Added. 15027 - From checker.py, added _create_usage() and the 15028 CommandOptionValues, DefaultCommandOptionValues, 15029 ArgumentPrinter, and ArgumentParser classes. 15030 - In the ArgumentParser constructor-- 15031 - Added all_categories as a required parameter. 15032 - Removed the default value from the default_options parameter. 15033 15034 * Scripts/webkitpy/style/optparser_unittest.py: Added. 15035 - From checker_unittest.py, added the ProcessorOptionsTest, 15036 ArgumentPrinterTest, and ArgumentParserTest classes. 15037 - Added the CreateUsageTest class to test _create_usage(). 15038 15039 * Scripts/webkitpy/style/unittests.py: 15040 - Added optparser_unittest import. 15041 15042 2010-02-18 Alexey Proskuryakov <ap (a] apple.com> 15043 15044 Reviewed by Dan Bernstein. 15045 15046 https://bugs.webkit.org/show_bug.cgi?id=35134 15047 <rdar://problem/7246280> Crash when a plugin calls NPN_SetStatus(0) 15048 15049 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 15050 (testSetStatus): 15051 (pluginInvoke): 15052 Added a setStatus() method. 15053 15054 2010-02-18 Brady Eidson <beidson (a] apple.com> 15055 15056 Reviewed by Sam Weinig. 15057 15058 Particularly constructed WebFrames can try to access a null HistoryItem 15059 <rdar://problem/7638892> and https://bugs.webkit.org/show_bug.cgi?id=35063 15060 15061 Add the specific ability to test this API pattern. 15062 15063 For now only on Mac, perhaps on the main Windows port later, probably not relevant for other ports. 15064 15065 * DumpRenderTree/LayoutTestController.cpp: 15066 (apiTestNewWindowDataLoadBaseURLCallback): 15067 (LayoutTestController::staticFunctions): 15068 * DumpRenderTree/LayoutTestController.h: 15069 15070 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 15071 (-[APITestDelegate initWithCompletionCondition:]): 15072 (-[APITestDelegate webView:didFailLoadWithError:forFrame:]): 15073 (-[APITestDelegate webView:didFailProvisionalLoadWithError:forFrame:]): 15074 (-[APITestDelegate webView:didFinishLoadForFrame:]): 15075 (LayoutTestController::apiTestNewWindowDataLoadBaseURL): Create a WebView, do a loadData: in its 15076 mainFrame, and synchronously wait for main load completion. 15077 15078 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 15079 (LayoutTestController::apiTestNewWindowDataLoadBaseURL): 15080 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 15081 (LayoutTestController::apiTestNewWindowDataLoadBaseURL): 15082 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 15083 (LayoutTestController::apiTestNewWindowDataLoadBaseURL): 15084 15085 2010-02-18 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 15086 15087 Reviewed by Eric Seidel. 15088 15089 Teach resolve-ChangeLogs to act as a merge-driver for Git 15090 15091 https://bugs.webkit.org/show_bug.cgi?id=28721 15092 15093 To enable automatic merging of ChangeLog files, use the following command: 15094 15095 git config merge.changelog.driver "resolve-ChangeLogs --merge-driver %O %A %B" 15096 15097 The driver always works in "downstream" merge mode, meaning 15098 it will always put the user's changelog entries on top. 15099 15100 * Scripts/resolve-ChangeLogs: 15101 15102 2009-12-05 Gustavo Noronha Silva <gns (a] gnome.org> 15103 15104 Reviewed by Eric Seidel. 15105 15106 Enable running of GTK+ API tests. 15107 15108 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 15109 * Scripts/run-gtk-tests: Added. 15110 15111 2010-02-18 Shinichiro Hamaji <hamaji (a] chromium.org> 15112 15113 Reviewed by Adam Barth. 15114 15115 debug-safari doesn't pass --debug option to gdb-safari on MacOSX 15116 https://bugs.webkit.org/show_bug.cgi?id=34411 15117 15118 * Scripts/webkitdirs.pm: 15119 15120 2010-02-18 Eric Seidel <eric (a] webkit.org> 15121 15122 Reviewed by Adam Barth. 15123 15124 run-chromium-webkit-tests --platform=mac-leopard needs to run build-dumprendertree 15125 https://bugs.webkit.org/show_bug.cgi?id=35053 15126 15127 * Scripts/webkitpy/layout_tests/port/base.py: Add script_path() function for finding scripts. 15128 * Scripts/webkitpy/layout_tests/port/chromium.py: Remove unused argument. 15129 * Scripts/webkitpy/layout_tests/port/mac.py: 15130 - Make sure that calling webkit-build-directory works even if Scripts/ is not in the user's path. 15131 - Call build-dumprendertree (and make sure it succeeds) before running the tests. 15132 15133 2010-02-16 Chris Jerdonek <cjerdonek (a] webkit.org> 15134 15135 Reviewed by Shinichiro Hamaji. 15136 15137 Refactored check-webkit-style's ProcessorOptions class into two 15138 classes. This revision contains no new functionality. 15139 15140 https://bugs.webkit.org/show_bug.cgi?id=34674 15141 15142 Divided the ProcessorOptions class into a CommandOptionValues 15143 class (the result of parsing the command-line options) and 15144 a StyleCheckerConfiguration class (which configures the main 15145 StyleChecker). 15146 15147 * Scripts/check-webkit-style: 15148 - Updated main() to convert the parsed command option values 15149 to a StyleCheckConfiguration instance prior to constructing 15150 a StyleChecker. 15151 15152 * Scripts/webkitpy/style/checker.py: 15153 - Added check_webkit_style_configuration() to convert a 15154 CommandOptionValues instance into a StyleCheckerConfiguration 15155 instance. 15156 - Renamed the ProcessorOptions class to CommandOptionValues. 15157 - In the CommandOptionValues class-- 15158 - Replaced the filter_configuration attribute with the 15159 simpler filter_rules attribute. 15160 - Removed the max_reports_per_error attribute. 15161 - Moved the is_reportable() method to the new 15162 StyleCheckerConfiguration class. 15163 - Removed the base_filter_rules attribute from the 15164 DefaultCommandOptionValues class. 15165 - In the ArgumentParser class-- 15166 - Added base_filter_rules to the constructor. 15167 - Changed the parse() method to return a CommandOptionValues 15168 instance instead of a ProcessorOptions instance. 15169 - Created a StyleCheckerConfiguration class. 15170 - Added the data attributes max_reports_per_category, 15171 stderr_write, and verbosity. 15172 - Added is_reportable() (moved from the ProcessorOptions 15173 class) and write_style_error() (moved from the 15174 DefaultStyleErrorHandler class). 15175 - In the StyleChecker class-- 15176 - Replaced the ProcessorOptions options attribute with the 15177 StyleCheckerConfiguration _configuration attribute. 15178 - Removed the _stderr_write attribute. 15179 15180 * Scripts/webkitpy/style/checker_unittest.py: 15181 - Updated the existing unit test classes as necessary. 15182 - Added a StyleCheckerConfigurationTest class. 15183 15184 * Scripts/webkitpy/style/error_handlers.py: 15185 - Updated the DefaultStyleErrorHandler class to accept a 15186 StyleCheckerConfiguration instance instead of a ProcessorOptions 15187 instance and an stderr_write method. 15188 15189 * Scripts/webkitpy/style/error_handlers_unittest.py: 15190 - Updated the unit test classes as necessary. 15191 15192 * Scripts/webkitpy/style/filter.py: 15193 - Addressed the FIXME in the FilterConfiguration class to change 15194 the user_rules attribute to _user_rules (since it is now 15195 accessed only internally). 15196 15197 * Scripts/webkitpy/style/filter_unittest.py: 15198 - Updated to reflect the change from user_rules to _user_rules. 15199 15200 2010-02-17 Shinichiro Hamaji <hamaji (a] chromium.org> 15201 15202 Reviewed by Eric Seidel. 15203 15204 Share the DRT values maxViewWidth/Height among ports 15205 https://bugs.webkit.org/show_bug.cgi?id=34474 15206 15207 * DumpRenderTree/LayoutTestController.cpp: 15208 (pageNumberForElementByIdCallback): 15209 * DumpRenderTree/LayoutTestController.h: 15210 (LayoutTestController::maxViewWidth): 15211 (LayoutTestController::maxViewHeight): 15212 * DumpRenderTree/gtk/DumpRenderTree.cpp: 15213 (runTest): 15214 * DumpRenderTree/mac/DumpRenderTree.mm: 15215 (createWebViewAndOffscreenWindow): 15216 (sizeWebViewForCurrentTest): 15217 * DumpRenderTree/win/DumpRenderTree.cpp: 15218 (dump): 15219 (createWebViewAndOffscreenWindow): 15220 15221 2010-02-17 Shinichiro Hamaji <hamaji (a] chromium.org> 15222 15223 Reviewed by Eric Seidel. 15224 15225 [Win] Implement test functions for printing 15226 https://bugs.webkit.org/show_bug.cgi?id=34570 15227 15228 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 15229 (LayoutTestController::pageNumberForElementById): 15230 (LayoutTestController::numberOfPages): 15231 15232 2010-02-17 Fumitoshi Ukai <ukai (a] chromium.org> 15233 15234 Reviewed by Eric Seidel. 15235 15236 websocket/tests/cookies/httponly-cookie.pl fails every time under run-chromium-webkit-tests 15237 https://bugs.webkit.org/show_bug.cgi?id=35001 15238 15239 * Scripts/webkitpy/layout_tests/port/websocket_server.py: add -x flag to run pywebsocket. 15240 15241 2010-02-17 Shinichiro Hamaji <hamaji (a] chromium.org> 15242 15243 Reviewed by Eric Seidel. 15244 15245 check-webkit-style: Misses variables that contain underscores. 15246 https://bugs.webkit.org/show_bug.cgi?id=33724 15247 15248 - Check identifiers whose types are unsigned. 15249 - Check bitfields properly. 15250 15251 * Scripts/webkitpy/style/processors/cpp.py: 15252 * Scripts/webkitpy/style/processors/cpp_unittest.py: 15253 15254 2010-02-17 Shinichiro Hamaji <hamaji (a] chromium.org> 15255 15256 Reviewed by Eric Seidel. 15257 15258 check-webkit-style should report the number of files checked 15259 https://bugs.webkit.org/show_bug.cgi?id=34971 15260 15261 * Scripts/check-webkit-style: 15262 * Scripts/webkitpy/style/checker.py: 15263 * Scripts/webkitpy/style/checker_unittest.py: 15264 15265 2010-02-17 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 15266 15267 Reviewed by Ariya Hidayat. 15268 15269 Make possible Qt DRT to get total number of pages to be printed 15270 15271 LayoutTests: 15272 printing/numberOfPages.html 15273 15274 [Qt] DRT: Get total number of pages to be printed 15275 https://bugs.webkit.org/show_bug.cgi?id=34955 15276 15277 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 15278 (LayoutTestController::numberOfPages): 15279 * DumpRenderTree/qt/LayoutTestControllerQt.h: 15280 15281 2010-02-17 Xan Lopez <xlopez (a] igalia.com> 15282 15283 Reviewed by Gustavo Noronha. 15284 15285 Update to use new property name. 15286 15287 * DumpRenderTree/gtk/DumpRenderTree.cpp: 15288 (resetDefaultsToConsistentValues): 15289 15290 2010-02-17 Julien Chaffraix <jchaffraix (a] webkit.org> 15291 15292 Reviewed by Ariya Hidayat. 15293 15294 Remove some warnings seen when building Qt 15295 https://bugs.webkit.org/show_bug.cgi?id=35017 15296 15297 Using a machine without the needed tools to build WebKit leads to 15298 several errors and warnings. 15299 15300 * Scripts/webkitdirs.pm: Refactored the code testing the command's 15301 presence into a commandExists routine. While doing so removed, stderr 15302 output as it usually does not give anything more than our message. Also 15303 added a Qt check for qmake that was missing. 15304 15305 2010-02-17 Xan Lopez <xlopez (a] igalia.com> 15306 15307 Rubber-stamped by Gustavo Noronha. 15308 15309 Disable Java by default in DRT. 15310 15311 * DumpRenderTree/gtk/DumpRenderTree.cpp: 15312 (resetDefaultsToConsistentValues): 15313 15314 2010-02-15 Chris Jerdonek <cjerdonek (a] webkit.org> 15315 15316 Reviewed by Shinichiro Hamaji. 15317 15318 Some minor check-webkit-style code clean-ups. This revision 15319 contains no new functionality. 15320 15321 https://bugs.webkit.org/show_bug.cgi?id=34932 15322 15323 * Scripts/check-webkit-style: 15324 - Replaced the call to webkit_argument_defaults() with a 15325 default parameter in the ArgumentParser constructor. 15326 15327 * Scripts/webkitpy/style/checker.py: 15328 - Removed the WEBKIT prefix from the default global variables. 15329 - Prefixed several of the global variables with an underscore 15330 to reflect that they are used internally. 15331 - Renamed _DEFAULT_FILTER_RULES to _BASE_FILTER_RULES. 15332 - Addressed a FIXME by changing the _PATH_RULES_SPECIFIER 15333 configuration from list-tuple pairs to list-list pairs. 15334 - Renamed style_categories() to _all_categories(). 15335 - Renamed webkit_argument_defaults() to _check_webkit_style_defaults(). 15336 - Renamed the ArgumentDefaults class to DefaultCommandOptionValues. 15337 - In the ArgumentParser class-- 15338 - Renamed the doc_print attribute to stderr_write. 15339 - Other minor updates. 15340 15341 * Scripts/webkitpy/style/checker_unittest.py: 15342 - Updated the import statements and unit test classes as necessary. 15343 - Added assertions to test _PATH_RULES_SPECIFIER more fully. 15344 15345 * Scripts/webkitpy/style/error_handlers_unittest.py: 15346 - Updated the unit test classes as necessary. 15347 - Changed StyleErrorHandlerTestBase to store a list of error 15348 messages rather than just the last one. 15349 15350 * Scripts/webkitpy/style/filter.py: 15351 - Altered FilterConfiguration._path_rules_from_path() 15352 to convert the path_rules list to a tuple. 15353 15354 * Scripts/webkitpy/style/filter_unittest.py: 15355 - Updated the unit tests to reflect the change from tuples to 15356 lists in the _PATH_RULES_SPECIFIER configuration variable. 15357 15358 2010-02-16 Mark Rowe <mrowe (a] apple.com> 15359 15360 Let's not check garbage in to common build scripts and hose the world now eh guys? 15361 15362 * Scripts/webkitdirs.pm: 15363 15364 2010-02-16 Eric Seidel <eric (a] webkit.org> 15365 15366 Reviewed by Adam Barth. 15367 15368 re-factor Skipped list parsing code into multiple functions and unit test it 15369 https://bugs.webkit.org/show_bug.cgi?id=34986 15370 15371 * Scripts/test-webkitpy: Add new unit test. 15372 * Scripts/webkitpy/layout_tests/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py. 15373 * Scripts/webkitpy/layout_tests/port/mac.py: Split parsing function into multiple functions for testing. 15374 * Scripts/webkitpy/layout_tests/port/mac_unittest.py: Added. 15375 15376 2010-02-16 Xan Lopez <xlopez (a] igalia.com> 15377 15378 Reviewed by Gustavo Noronha. 15379 15380 Enable 'auto-resize-window' in our DRT. 15381 15382 * DumpRenderTree/gtk/DumpRenderTree.cpp: 15383 (resetDefaultsToConsistentValues): 15384 15385 2010-02-15 Martin Robinson <mrobinson (a] webkit.org> 15386 15387 Reviewed by Darin Adler. 15388 15389 check-webkit-style should not complain about NULL sentinel in calls to g_strconcat and g_strjoin 15390 https://bugs.webkit.org/show_bug.cgi?id=34834 15391 15392 * Scripts/webkitpy/style/processors/cpp.py: 15393 * Scripts/webkitpy/style/processors/cpp_unittest.py: 15394 15395 2010-02-12 Alexey Proskuryakov <ap (a] apple.com> 15396 15397 Reviewed by Kevin Decker. 15398 15399 <rdar://problem/7130641> Browser objects identity is not preserved by Safari 15400 15401 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 15402 (pluginInvoke): Added methods for checking object identity (via refcount). 15403 15404 2010-02-15 Robert Hogan <robert (a] roberthogan.net> 15405 15406 Reviewed by Simon Hausmann. 15407 15408 [Qt] DRT: Support evaluateInWebInspector(), setTimelineProfilingEnabled(). 15409 15410 Support LayoutTestController.evaluateInWebInspector(), setTimelineProfilingEnabled() in Qt DRT. 15411 15412 https://bugs.webkit.org/show_bug.cgi?id=33096 15413 15414 This allows the following tests to pass: 15415 15416 inspector/console-format-collections.html 15417 inspector/styles-iframe.html 15418 inspector/syntax-highlight-css.html 15419 inspector/syntax-highlight-javascript.html 15420 inspector/timeline-enum-stability.html 15421 inspector/timeline-layout.html 15422 inspector/timeline-mark-timeline.html 15423 inspector/timeline-paint.html 15424 inspector/timeline-parse-html.html 15425 inspector/timeline-recalculate-styles.html 15426 inspector/timeline-script-tag-1.html 15427 inspector/timeline-script-tag-2.html 15428 inspector/timeline-trivial.html 15429 inspector/cookie-resource-match.html 15430 inspector/elements-img-tooltip.html 15431 inspector/elements-panel-selection-on-refresh.html 15432 inspector/inspected-objects-not-overriden.html 15433 inspector/timeline-event-dispatch.html 15434 inspector/timeline-network-resource.html 15435 inspector/elements-panel-rewrite-href.html 15436 inspector/console-dir.html 15437 inspector/console-dirxml.html 15438 inspector/console-format.html 15439 inspector/console-tests.html 15440 inspector/elements-panel-structure.html 15441 inspector/evaluate-in-frontend.html 15442 inspector/console-clear.html 15443 15444 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 15445 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): 15446 (WebCore::isWebInspectorTest): 15447 (WebCore::DumpRenderTree::open): 15448 * DumpRenderTree/qt/DumpRenderTreeQt.h: 15449 (WebCore::DumpRenderTree::display): 15450 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 15451 (LayoutTestController::closeWebInspector): 15452 (LayoutTestController::showWebInspector): 15453 (LayoutTestController::evaluateInWebInspector): 15454 (LayoutTestController::setTimelineProfilingEnabled): 15455 (LayoutTestController::display): 15456 * DumpRenderTree/qt/LayoutTestControllerQt.h: 15457 15458 2010-02-14 Dirk Pranke <dpranke (a] chromium.org> 15459 15460 Reviewed by Eric Seidel. 15461 15462 Update rebaseline-chromium-webkit-tests to work with the new code 15463 structure (port objects instead of path_utils and platform_utils). 15464 15465 Added a path_to_test_expectations_file() to the Port interface. 15466 15467 Fixed a bug in the chromium_* platform implementations where the 15468 'target' option was assumed to be set. 15469 15470 * Scripts/rebaseline-chromium-webkit-tests: 15471 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 15472 * Scripts/webkitpy/layout_tests/port/base.py: 15473 * Scripts/webkitpy/layout_tests/port/chromium.py: 15474 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 15475 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 15476 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 15477 * Scripts/webkitpy/layout_tests/port/test.py: 15478 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 15479 15480 2010-02-14 Eric Seidel <eric (a] webkit.org> 15481 15482 Reviewed by Darin Adler. 15483 15484 webkit-build-directory misuses terms 15485 https://bugs.webkit.org/show_bug.cgi?id=34822 15486 15487 * Scripts/webkit-build-directory: 15488 - Add --top-level and --configuration options and make using one of them required. 15489 * Scripts/webkitpy/layout_tests/port/mac.py: 15490 - Use --top-level instead of --base. 15491 15492 2010-02-14 Chang Shu <Chang.Shu (a] nokia.com> 15493 15494 Reviewed by Laszlo Gombos. 15495 15496 [Qt] Enable appcache feature. 15497 https://bugs.webkit.org/show_bug.cgi?id=34713 15498 15499 Re-land r54543 without the change in DumpRenderTree/qt/main.cpp. 15500 Persistent storage for AppCache is already initialized in 15501 DumpRenderTreeQt.cpp. 15502 15503 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 15504 (WebCore::WebPage::WebPage): 15505 15506 2010-02-12 Chang Shu <Chang.Shu (a] nokia.com> 15507 15508 Not Reviewed. 15509 15510 Change case of my email address as a work-around for the following bug. 15511 https://bugs.webkit.org/show_bug.cgi?id=34717 15512 15513 * Scripts/webkitpy/committers.py: 15514 15515 2010-02-12 Darin Adler <darin (a] apple.com> 15516 15517 Ignore compiled Python in more of webkitpy. 15518 15519 * Scripts/webkitpy/style/processors: Added property svn:ignore. 15520 15521 2010-02-12 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 15522 15523 Reviewed by Kenneth Rohde Christiansen. 15524 15525 Qt DRT now dump the frame loader callbacks when LayoutTestController() 15526 method is called. 15527 15528 LayoutTests: 15529 http/tests/security/mixedContent/data-url-script-in-iframe.html 15530 http/tests/security/mixedContent/empty-url-plugin-in-frame.html 15531 http/tests/security/mixedContent/insecure-css-in-iframe.html 15532 http/tests/security/mixedContent/insecure-iframe-in-iframe.html 15533 http/tests/security/mixedContent/insecure-image-in-iframe.html 15534 http/tests/security/mixedContent/insecure-plugin-in-iframe.html 15535 http/tests/security/mixedContent/insecure-script-in-iframe.html 15536 http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html 15537 http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html 15538 15539 [Qt] Make possible Qt DRT dump frame load callbacks 15540 https://bugs.webkit.org/show_bug.cgi?id=34702 15541 15542 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 15543 (LayoutTestController::reset): 15544 (LayoutTestController::dumpFrameLoadCallbacks): 15545 * DumpRenderTree/qt/LayoutTestControllerQt.h: 15546 15547 2010-02-12 Simon Hausmann <simon.hausmann (a] nokia.com> 15548 15549 Reviewed by Antti Koivisto. 15550 15551 Make QtLauncher somewhat useable on S60. 15552 15553 Show the window fullscreen to make scrollbars appear, resize 15554 the toolbar buttons to 16x16 to give more screen space to 15555 web content and moved the location lineedit into a separate 15556 line. 15557 15558 * QtLauncher/main.cpp: 15559 (LauncherWindow::LauncherWindow): 15560 * QtLauncher/mainwindow.cpp: 15561 (MainWindow::buildUI): 15562 15563 2010-02-12 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 15564 15565 Reviewed by Kenneth Rohde Christiansen. 15566 15567 Support frameset flattening 15568 https://bugs.webkit.org/show_bug.cgi?id=32717 15569 15570 Add FrameSet Flattening support to Mac DRT. 15571 15572 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 15573 (LayoutTestController::setFrameSetFlatteningEnabled): 15574 * DumpRenderTree/win/DumpRenderTree.cpp: 15575 (resetDefaultsToConsistentValues): 15576 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 15577 (LayoutTestController::setXSSAuditorEnabled): 15578 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 15579 (LayoutTestController::setFrameSetFlatteningEnabled): 15580 * DumpRenderTree/LayoutTestController.cpp: 15581 (setFrameSetFlatteningEnabledCallback): 15582 (LayoutTestController::staticFunctions): 15583 * DumpRenderTree/LayoutTestController.h: 15584 * DumpRenderTree/mac/DumpRenderTree.mm: 15585 (resetDefaultsToConsistentValues): 15586 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 15587 (LayoutTestController::setFrameSetFlatteningEnabled): 15588 15589 2010-02-12 Dirk Pranke <dpranke (a] chromium.org> 15590 15591 Reviewed by Eric Seidel. 15592 15593 Fix typos in driver_test.py 15594 15595 https://bugs.webkit.org/show_bug.cgi?id=34810 15596 15597 * Scripts/webkitpy/layout_tests/driver_test.py: 15598 15599 2010-02-12 Simon Hausmann <simon.hausmann (a] nokia.com> 15600 15601 Reviewed by Kenneth Rohde Christiansen. 15602 15603 [Qt] Make it possible to toggle the use of QGraphicsView in QtLauncher at run-time 15604 https://bugs.webkit.org/show_bug.cgi?id=34844 15605 15606 * QtLauncher/main.cpp: 15607 (LauncherWindow::LauncherWindow): 15608 (LauncherWindow::initializeView): 15609 (LauncherWindow::setupUI): 15610 * QtLauncher/webview.cpp: 15611 (WebViewGraphicsBased::WebViewGraphicsBased): 15612 15613 2010-02-11 Fumitoshi Ukai <ukai (a] chromium.org> 15614 15615 Reviewed by Alexey Proskuryakov. 15616 15617 WebSocket ignores HttpOnly cookies, but should use in Handshake. 15618 https://bugs.webkit.org/show_bug.cgi?id=34289 15619 15620 Update pywebsocket to 0.4.8, which supports cgi directories. 15621 run-webkit-tests and run-webkit-websocketserver will run 15622 pywebsocket, specifying /websocket/test/cookies as cgi directory. 15623 15624 * Scripts/run-webkit-tests: 15625 * Scripts/run-webkit-websocketserver: 15626 * pywebsocket/mod_pywebsocket/standalone.py: 15627 * pywebsocket/setup.py: 15628 15629 2010-02-11 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 15630 15631 Reviewed by Dan Bernstein. 15632 15633 [Mac] Duplicated setXSSAuditorEnabled preference at Mac DRT 15634 https://bugs.webkit.org/show_bug.cgi?id=34798 15635 15636 Remove duplicated setXSSAuditorEnabled preference at Mac DRT 15637 15638 * DumpRenderTree/mac/DumpRenderTree.mm: 15639 (resetDefaultsToConsistentValues): 15640 15641 2010-02-11 Eric Seidel <eric (a] webkit.org> 15642 15643 No review, build fix only. 15644 15645 webkitdirs.pm has a crazy amount of duplicated feature detection code 15646 https://bugs.webkit.org/show_bug.cgi?id=34869 15647 15648 * Scripts/build-webkit: Fix typo which broke bots. 15649 15650 2010-02-11 Eric Seidel <eric (a] webkit.org> 15651 15652 Reviewed by Adam Barth. 15653 15654 webkitdirs.pm has a crazy amount of duplicated feature detection code 15655 https://bugs.webkit.org/show_bug.cgi?id=34869 15656 15657 * Scripts/build-webkit: Use the new hotness. 15658 * Scripts/run-webkit-tests: ditto 15659 * Scripts/webkitdirs.pm: Remove a bunch of bad duplicate code. 15660 * Scripts/webkitperl/features.pm: Added. 15661 - Simplified the 10 methods in webkitdirs.pm into 2 exported methods in this new file. 15662 15663 2010-02-11 Daniel Bates <dbates (a] rim.com> 15664 15665 Reviewed by Adam Barth. 15666 15667 https://bugs.webkit.org/show_bug.cgi?id=34830 15668 15669 Makes method User.prompt static and adds the parameter repeat 15670 to prompt the user up to repeat times. 15671 15672 * Scripts/test-webkitpy: 15673 * Scripts/webkitpy/bugzilla.py: Substituted method User.prompt for method raw_input. 15674 * Scripts/webkitpy/commands/upload.py: Ditto 15675 * Scripts/webkitpy/credentials.py: Ditto 15676 * Scripts/mock_bugzillatool.py: Updated prototype of MockUser.prompt to match User.prompt. 15677 * Scripts/webkitpy/user.py: Made method prompt static and added parameter repeat. 15678 * Scripts/webkitpy/user_unittest.py: Added. 15679 15680 2010-02-10 Yuzo Fujishima <yuzo (a] google.com> 15681 15682 Reviewed by Darin Adler. 15683 15684 Allow underscored identifiers in CSSParser.cpp 15685 15686 Flex (http://flex.sourceforge.net/) uses identifiers named as yy_*. 15687 WebCore/css/CSSParser.cpp needs to handle some such identifiers. 15688 We should relax the style rule for the file to allow underscored identifiers. 15689 15690 https://bugs.webkit.org/show_bug.cgi?id=34787 15691 15692 * Scripts/webkitpy/style/checker.py: 15693 15694 2010-02-11 Eric Seidel <eric (a] webkit.org> 15695 15696 Rubber-stamped by Adam Barth. 15697 15698 Remove DrawTest, the application I used when bringing up SVG support on the Mac. 15699 The code hasn't been touched (or used) in years. No sense in keeping it in trunk. 15700 15701 * Scripts/build-drawtest: Removed. 15702 * Scripts/run-drawtest: Removed. 15703 * DrawTest: Removed. 15704 15705 2010-02-11 Eric Seidel <eric (a] webkit.org> 15706 15707 Reviewed by Adam Barth. 15708 15709 Need a command to clear r+ on obsolete patches in the pending-commit queue. 15710 https://bugs.webkit.org/show_bug.cgi?id=34863 15711 15712 Unfortunately our http://webkit.org/pending-commit bugzilla query is not 15713 smart enough to ignore obsolete patches, so bugs show up there which are 15714 still open, but do not have patches ready for landing on them. 15715 This new command "clean-pending-commit" will remove r+ from obsolete patches 15716 in the pending-commit list. 15717 15718 * Scripts/test-webkitpy: Add grammar_unittest 15719 * Scripts/webkitpy/commands/upload.py: Add clean-pending-commit and make assign-to-committer ignore cq+'d patches. 15720 * Scripts/webkitpy/grammar.py: Add join_with_separators 15721 * Scripts/webkitpy/grammar_unittest.py: Added. 15722 15723 2010-02-11 Eric Seidel <eric (a] webkit.org> 15724 15725 Reviewed by Adam Barth. 15726 15727 run-chromium-webkit-tests fails random pixel tests on Mac 15728 https://bugs.webkit.org/show_bug.cgi?id=34862 15729 15730 This is due to the fact that the Mac port has an 15731 invalid path to the image diff tool. Currently it points 15732 to image_diff even though ImageDiff would be correct. We 15733 can't change it to the right path yet without causing the 15734 script to hang. ImageDiff expects to be long-running and 15735 be passed image data over stdin. image_diff (chromium's fork) 15736 expects to be passed command line arguments. 15737 This fix works around the random failures by disabling pixel 15738 tests on mac and logging if the user was trying to run with pixel 15739 tests enabled. 15740 15741 * Scripts/webkitpy/layout_tests/port/mac.py: 15742 15743 2010-02-11 Nikolas Zimmermann <nzimmermann (a] rim.com> 15744 15745 Reviewed by Adam Roben. 15746 Try to fix build breakage from r54665. 15747 15748 * Scripts/check-for-global-initializers: 15749 15750 2010-02-11 Simon Hausmann <simon.hausmann (a] nokia.com> 15751 15752 Reviewed by Tor Arne Vestb. 15753 15754 Make it possible to toggle accelerated compositing from the menu 15755 at run-time. 15756 15757 * QtLauncher/main.cpp: 15758 (LauncherWindow::toggleAcceleratedCompositing): 15759 (LauncherWindow::setupUI): 15760 15761 2010-02-08 Maciej Stachowiak <mjs (a] apple.com> 15762 15763 Reviewed by Cameron Zwarich. 15764 15765 Restore ENABLE_RUBY flag so vendors can ship with Ruby disabled if they choose. 15766 https://bugs.webkit.org/show_bug.cgi?id=34698 15767 15768 * Scripts/build-webkit: 15769 15770 2010-02-10 Dirk Pranke <dpranke (a] chromium.org> 15771 15772 Reviewed by Eric Seidel. 15773 15774 Fix various minor bugs keeping run-chromium-webkit-tests from actually 15775 working on the linux and win ports of Chromium. 15776 15777 https://bugs.webkit.org/show_bug.cgi?id=34739 15778 15779 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: 15780 * Scripts/webkitpy/layout_tests/port/__init__.py: 15781 * Scripts/webkitpy/layout_tests/port/base.py: 15782 * Scripts/webkitpy/layout_tests/port/chromium.py: 15783 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 15784 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 15785 * Scripts/webkitpy/layout_tests/port/http_server.py: 15786 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 15787 15788 2010-02-10 Eric Seidel <eric (a] webkit.org> 15789 15790 Reviewed by David Levin. 15791 15792 run-chromium-webkit-tests --platform=mac-leopard crashes when using a custom build directory 15793 https://bugs.webkit.org/show_bug.cgi?id=34817 15794 15795 This doesn't fix the root cause of us not 15796 correctly failing when support binaries are missing. 15797 This only causes the DumpRenderTree binary not to be 15798 missing in the custom build directory case. 15799 Later patches will make us correctly fail fast when 15800 support binaries (like DumpRenderTree or ImageDiff) are missing. 15801 15802 * Scripts/webkit-build-directory: Added. 15803 - Need a way to re-use the perl logic for finding build directories in non-perl scripts. 15804 * Scripts/webkitpy/layout_tests/port/base.py: Add a FIXME. 15805 * Scripts/webkitpy/layout_tests/port/mac.py: 15806 - Call webkit-build-directory to find the build directory instead of assuming "WebKitBuild" 15807 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Add FIXMEs. 15808 15809 2010-02-10 Kevin Watters <kevinwatters (a] gmail.com> 15810 15811 Reviewed by Kevin Ollivier. 15812 15813 [wx] Add Windows complex text support. 15814 15815 https://bugs.webkit.org/show_bug.cgi?id=34759 15816 15817 * wx/build/settings.py: 15818 15819 2010-02-10 Kevin Ollivier <kevino (a] theolliviers.com> 15820 15821 [wx] Build fix. Add stub for new LayoutTestController method. 15822 15823 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 15824 (LayoutTestController::numberOfPages): 15825 15826 2010-02-10 Csaba Osztrogonc <ossy (a] webkit.org> 15827 15828 Unreviewed. Roll out r54626, because it broke GTK and Win build. 15829 https://bugs.webkit.org/show_bug.cgi?id=32717 15830 15831 * DumpRenderTree/LayoutTestController.cpp: 15832 (LayoutTestController::staticFunctions): 15833 * DumpRenderTree/LayoutTestController.h: 15834 * DumpRenderTree/mac/DumpRenderTree.mm: 15835 (resetDefaultsToConsistentValues): 15836 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 15837 15838 2010-02-10 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 15839 15840 Reviewed by Kenneth Rohde Christiansen. 15841 15842 Support frameset flattening 15843 https://bugs.webkit.org/show_bug.cgi?id=32717 15844 15845 Add FrameSet Flattening support to Mac DRT. 15846 15847 * DumpRenderTree/LayoutTestController.cpp: 15848 (setFrameSetFlatteningEnabledCallback): 15849 (LayoutTestController::staticFunctions): 15850 * DumpRenderTree/LayoutTestController.h: 15851 * DumpRenderTree/mac/DumpRenderTree.mm: 15852 (resetDefaultsToConsistentValues): 15853 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 15854 (LayoutTestController::setFrameSetFlatteningEnabled): 15855 15856 2010-02-08 Jon Honeycutt <jhoneycutt (a] apple.com> 15857 15858 <rdar://problem/7436875> Crash in Flash when visiting 15859 http://www.cctv.com/default.shtml (WER ID 819298200) [watson 2502260] 15860 15861 Reviewed by Darin Adler. 15862 15863 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: 15864 (executeScript): 15865 Moved to an earlier point in the file. 15866 (NPP_New): 15867 If the plug-in has an onDestroy attribute, store its value. 15868 (NPP_Destroy): 15869 If the plug-in has code to run on destruction, run it and free it. 15870 15871 2010-02-10 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 15872 15873 Reviewed by Kenneth Rohde Christiansen. 15874 15875 Implement pageNumberForElementById() method in Qt DRT LayoutTestController, 15876 to make Qt DRT able to get page number. 15877 15878 LayoutTests: 15879 printing/page-break-always.html 15880 printing/pageNumerForElementById.html 15881 printing/css2.1/page-break-before-000.html 15882 printing/css2.1/page-break-after-000.html 15883 printing/css2.1/page-break-after-004.html 15884 printing/css2.1/page-break-before-001.html 15885 printing/css2.1/page-break-after-001.html 15886 printing/css2.1/page-break-after-002.html 15887 printing/css2.1/page-break-before-002.html 15888 printing/css2.1/page-break-inside-000.html 15889 15890 [Qt] Make possible Qt DRT get a page number for element by ID 15891 https://bugs.webkit.org/show_bug.cgi?id=34777 15892 15893 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 15894 (LayoutTestController::pageNumberForElementById): 15895 * DumpRenderTree/qt/LayoutTestControllerQt.h: 15896 15897 2010-02-10 Andras Becsi <abecsi (a] webkit.org> 15898 15899 Reviewed by Adam Barth. 15900 15901 Make run-iexploder-tests work on Linux. 15902 https://bugs.webkit.org/show_bug.cgi?id=34748 15903 15904 Extract the platform dependant Apache configuration checking code in httpd.pm to a separate function 15905 called getHTTPDConfigPathForTestDirectory and use run-launcher instead of run-safari if run on Linux. 15906 15907 * Scripts/run-iexploder-tests: 15908 * Scripts/webkitperl/httpd.pm: 15909 15910 2010-02-09 Csaba Osztrogonc <ossy (a] webkit.org> 15911 15912 [Qt] Unreviewed. Roll-out r54543, because layout tests crash in debug mode. 15913 https://bugs.webkit.org/show_bug.cgi?id=34713 15914 15915 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 15916 (WebCore::WebPage::WebPage): 15917 * DumpRenderTree/qt/main.cpp: 15918 (main): 15919 15920 2010-02-09 Alejandro G. Castro <alex (a] igalia.com> 15921 15922 Unreviewed; added myself to committers 15923 15924 * Scripts/webkitpy/committers.py: 15925 15926 2010-02-09 Yael Aharon <yael.aharon (a] nokia.com> 15927 15928 Reviewed by Kenneth Rohde Christiansen. 15929 15930 [Qt] Webkit in Qt does not have window.showModalDialog 15931 https://bugs.webkit.org/show_bug.cgi?id=25585 15932 15933 Set the modality flag when createWindow is called with window type WebWindowDialog. 15934 15935 * QtLauncher/main.cpp: 15936 (WebPage::createWindow): 15937 15938 2010-02-09 Andras Becsi <abecsi (a] webkit.org> 15939 15940 Unreviewed trivial warning fix. 15941 15942 * Scripts/build-webkit: 15943 15944 2010-02-09 Gabor Rapcsanyi <rgabor (a] inf.u-szeged.hu> 15945 15946 Reviewed by Tor Arne Vestb. 15947 15948 Add possibility of passing parameters to build-webkit by environment variable, 15949 because the buildbot slaves can't control the arguments. 15950 15951 * Scripts/build-webkit: 15952 15953 2010-02-09 Chang Shu <Chang.Shu (a] nokia.com> 15954 15955 Reviewed by Laszlo Gombos. 15956 15957 [Qt] Enable appcache feature. 15958 https://bugs.webkit.org/show_bug.cgi?id=34713 15959 15960 15961 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 15962 (WebCore::WebPage::WebPage): 15963 * DumpRenderTree/qt/main.cpp: 15964 (main): 15965 15966 2010-02-09 Shinichiro Hamaji <hamaji (a] chromium.org> 15967 15968 Reviewed by Darin Adler. 15969 15970 Provide a way to get total number of pages to be printed 15971 https://bugs.webkit.org/show_bug.cgi?id=34699 15972 15973 * DumpRenderTree/LayoutTestController.cpp: 15974 (parsePageParameters): 15975 (pageNumberForElementByIdCallback): 15976 (numberOfPagesCallback): 15977 (LayoutTestController::staticFunctions): 15978 * DumpRenderTree/LayoutTestController.h: 15979 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 15980 (LayoutTestController::numberOfPages): 15981 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 15982 (LayoutTestController::numberOfPages): 15983 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 15984 (LayoutTestController::numberOfPages): 15985 15986 2010-02-08 Alexey Proskuryakov <ap (a] apple.com> 15987 15988 Reviewed by Darin Adler. 15989 15990 https://bugs.webkit.org/show_bug.cgi?id=34727 15991 Assertion crashes and freezes when plug-in property access results in an exception 15992 15993 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 15994 (pluginGetProperty): Raise an exception when accessing a particular property. 15995 (pluginSetProperty): Ditto. 15996 (pluginInvoke): Added methods to get and set host object properties. 15997 15998 2010-02-08 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 15999 16000 Reviewed by Ariya Hidayat. 16001 16002 [Qt] Backport No'am Rosenthal's frame rate measurement 16003 16004 * QtLauncher/main.cpp: 16005 (LauncherWindow::LauncherWindow): 16006 (LauncherApplication::handleUserOptions): 16007 * QtLauncher/webview.cpp: 16008 (WebViewGraphicsBased::WebViewGraphicsBased): 16009 (WebViewGraphicsBased::enableFrameRateMeasurement): 16010 (WebViewGraphicsBased::updateFrameRate): 16011 (WebViewGraphicsBased::paintEvent): 16012 * QtLauncher/webview.h: 16013 16014 2010-02-08 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 16015 16016 Reviewed by Tor Arne Vestb. 16017 16018 [Qt] Make overridePreference complain when it does not 16019 support the preference given. 16020 16021 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 16022 (LayoutTestController::overridePreference): 16023 16024 2010-02-08 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 16025 16026 Reviewed by Kenneth Rohde Christiansen. 16027 16028 [Qt] Set stdout/stderr to binary mode for DRT on Windows 16029 16030 This makes sure we don't end up with lots of CRLFs in the 16031 DRT output, which breaks tons of results. Matches what 16032 the Windows DRT does. 16033 16034 * DumpRenderTree/qt/main.cpp: 16035 16036 2010-02-08 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 16037 16038 Reviewed by Kenneth Rohde Christiansen. 16039 16040 Build fix for Qt on Windows. 16041 16042 Don't use noreturn directly since it's a gcc attribute. 16043 Instead use the NO_RETURN macro from AlwaysInline.h 16044 16045 * QtLauncher/QtLauncher.pro: 16046 * QtLauncher/utils.h: 16047 16048 2010-02-05 Chris Jerdonek <cjerdonek (a] webkit.org> 16049 16050 Reviewed by Shinichiro Hamaji. 16051 16052 Suppressed check-webkit-style's underscore check in Qt's autotests. 16053 Also made the path-specific filter check case-insensitive. 16054 16055 https://bugs.webkit.org/show_bug.cgi?id=34574 16056 16057 * Scripts/webkitpy/style/checker.py: 16058 - Added a list element to _PATH_RULES_SPECIFIER for 16059 directories that should be excluded from the 16060 "readability/naming" category (the category that relates to 16061 underscores in identifiers, for example). 16062 16063 * Scripts/webkitpy/style/checker_unittest.py: 16064 - Added an "end-to-end" test for "WebKit/qt/tests/". 16065 16066 * Scripts/webkitpy/style/filter.py: 16067 - Altered FilterConfiguration's should_check() method to 16068 check for path substring matches case-insensitively. 16069 16070 * Scripts/webkitpy/style/filter_unittest.py: 16071 - Added a test to check case-insensitive path substring matching. 16072 16073 * Scripts/webkitpy/style/processors/cpp.py: 16074 - Removed the hard-coded "WebKit/gtk/webkit/" path reference 16075 since this is now taken care of by the _PATH_RULES_SPECIFIER 16076 configuration variable. 16077 16078 * Scripts/webkitpy/style/processors/cpp_unittest.py: 16079 - Removed the unit test for the GTK directory since this 16080 is now taken care of by the checker._PATH_RULES_SPECIFIER 16081 end-to-end tests. 16082 16083 2010-02-08 Leith Bade <leith (a] leithalweapon.geek.nz> 16084 16085 Reviewed by Darin Adler. 16086 16087 Fixes: https://bugs.webkit.org/show_bug.cgi?id=34637 16088 Corrects the newline inserted into WebKitOutputDir, and WebKitLibrariesDir Windows 16089 environemnt variables when there is a space in the user's /home path. 16090 16091 * Scripts/webkitdirs.pm: 16092 - Added missing quotes around $sourceDir in argument list of cygpath in determineWindowsSourceDir(). 16093 16094 2010-02-05 Alexey Proskuryakov <ap (a] apple.com> 16095 16096 Reviewed by Oliver Hunt. 16097 16098 https://bugs.webkit.org/show_bug.cgi?id=34670 16099 TestNetscapePlugin should work with Firefox 16100 16101 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: (NPP_New): Default to Carbon if 16102 browser doesn't tell what it supports. 16103 16104 2010-02-05 Shinichiro Hamaji <hamaji (a] chromium.org> 16105 16106 Reviewed by Gustavo Noronha Silva. 16107 16108 [Gtk] Implement layoutTestController.pageNumberForElementById 16109 https://bugs.webkit.org/show_bug.cgi?id=34572 16110 16111 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 16112 (LayoutTestController::pageNumberForElementById): 16113 16114 2010-02-03 Dirk Pranke <dpranke (a] chromium.org> 16115 16116 Reviewed by Eric Seidel. 16117 16118 Add a simple test implementation and the WebKit Mac implementation 16119 for the layout_tests/port package. Also add a simple test driver of 16120 that interface. 16121 16122 https://bugs.webkit.org/show_bug.cgi?id=34511 16123 16124 * Scripts/webkitpy/layout_tests/driver_test.py: Added. 16125 * Scripts/webkitpy/layout_tests/port/__init__.py: 16126 * Scripts/webkitpy/layout_tests/port/mac.py: Added. 16127 * Scripts/webkitpy/layout_tests/port/test.py: Added. 16128 16129 2010-02-03 Dirk Pranke <dpranke (a] chromium.org> 16130 16131 Reviewed by Eric Siedel. 16132 16133 Refactor the port package into an object-oriented style and merge 16134 path_utils into it. We add a 'base' and a 'chromium' object to the 16135 port package; this will allow us to easily add new ports (like 16136 WebKit Mac). 16137 16138 https://bugs.webkit.org/show_bug.cgi?id=34511 16139 16140 * Scripts/rebaseline-chromium-webkit-tests: 16141 * Scripts/run-chromium-webkit-tests: 16142 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: 16143 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 16144 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 16145 * Scripts/webkitpy/layout_tests/layout_package/test_files.py: 16146 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: 16147 * Scripts/webkitpy/layout_tests/port/__init__.py: 16148 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: 16149 * Scripts/webkitpy/layout_tests/port/base.py: Added. 16150 * Scripts/webkitpy/layout_tests/port/chromium.py: Added. 16151 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 16152 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 16153 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 16154 * Scripts/webkitpy/layout_tests/port/http_server.py: 16155 * Scripts/webkitpy/layout_tests/port/http_server_base.py: 16156 * Scripts/webkitpy/layout_tests/port/path_utils.py: Removed. 16157 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 16158 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 16159 * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: 16160 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: 16161 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 16162 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 16163 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 16164 16165 2010-01-19 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 16166 16167 Reviewed by Dave Hyatt. 16168 16169 Implement flattening of framesets 16170 https://bugs.webkit.org/show_bug.cgi?id=32717 16171 16172 Add support for testing frame flattening with the Qt DRT 16173 16174 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 16175 (LayoutTestController::setFrameSetFlatteningEnabled): 16176 * DumpRenderTree/qt/LayoutTestControllerQt.h: 16177 16178 2010-02-03 Chris Jerdonek <cjerdonek (a] webkit.org> 16179 16180 Reviewed by Shinichiro Hamaji. 16181 16182 Provided a way in check-webkit-style to specify filter rules 16183 on a per file or folder basis, via a configuration variable. 16184 16185 https://bugs.webkit.org/show_bug.cgi?id=33684 16186 16187 * Scripts/webkitpy/style/checker.py: 16188 - Added _PATH_RULES_SPECIFIER configuration variable. 16189 - In ProcessorOptions class-- 16190 - Changed the CategoryFilter attribute to FilterConfiguration. 16191 - Added path parameter to is_reportable(). 16192 - Renamed ArgumentDefaults filter_rules attribute to 16193 base_filter_rules. 16194 - Updated ArgumentPrinter class. 16195 - Added filter rule validation to ArgumentParser (instead of 16196 in CategoryFilter constructor). 16197 16198 * Scripts/webkitpy/style/checker_unittest.py: 16199 - Updated unit tests as necessary. 16200 - Added unit tests for PATH_RULES_SPECIFIER. 16201 16202 * Scripts/webkitpy/style/error_handlers.py: 16203 - Updated DefaultStyleErrorHandler to use file path when 16204 calling is_reportable(). 16205 16206 * Scripts/webkitpy/style/error_handlers_unittest.py: 16207 - Updated unit tests as necessary. 16208 16209 * Scripts/webkitpy/style/filter.py: 16210 - Marked CategoryFilter internal with an underscore. 16211 - Removed argument validation from CategoryFilter. 16212 - Added FilterConfiguration class. 16213 16214 * Scripts/webkitpy/style/filter_unittest.py: 16215 - Updated CategoryFilterTest class. 16216 - Added FilterConfigurationTest unit tests. 16217 16218 * Scripts/webkitpy/style/processors/cpp.py: 16219 - Removed _is_test_filename() code. 16220 - Removed hard-coded path checks from check_include_line(). 16221 16222 * Scripts/webkitpy/style/processors/cpp_unittest.py: 16223 - Removed three unit tests related to exempted files. 16224 16225 2010-02-05 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 16226 16227 Reviewed by Ariya Hidayat. 16228 16229 [Qt] Apply the command line options as settings to the 16230 graphics system. 16231 16232 * QtLauncher/main.cpp: 16233 (LauncherWindow::LauncherWindow): 16234 (requiresGraphicsView): 16235 (LauncherApplication::handleUserOptions): 16236 * QtLauncher/webview.h: 16237 (WebViewGraphicsBased::setItemCacheMode): 16238 16239 2010-02-05 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 16240 16241 Reviewed by Simon Hausmann. 16242 16243 Notify user that run-webkit-tests has to be run under Cygwin 16244 16245 The script will bail out if run under Windows shell or Msys. 16246 16247 * Scripts/run-webkit-tests: 16248 * Scripts/webkitdirs.pm: 16249 16250 2010-02-05 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 16251 16252 Reviewed by Simon Hausmann. 16253 16254 [Qt] Generate convenience headers (QWebView, etc) using qmake 16255 16256 In Qt this is done using syncqt, but we use a pro-file instead 16257 that generates makefile-rules for each of the extra headers. 16258 16259 These extra headers are installed alongside the normal headers. 16260 16261 * Scripts/webkitdirs.pm: Run qmake and make on new API-DerivedSources 16262 16263 2010-02-05 Andras Becsi <abecsi (a] webkit.org> 16264 16265 Unreviewed typo fix. 16266 16267 Fix wrong whitespace alignment introduced in r54342. 16268 16269 * Scripts/run-webkit-tests: 16270 16271 2010-02-04 Mark Rowe <mrowe (a] apple.com> 16272 16273 Reviewed by Timothy Hatcher. 16274 16275 Build fix. Remove a symbol corresponding to an inline function from the linker export 16276 file to prevent a weak external failure. 16277 16278 * Scripts/check-for-weak-vtables-and-externals: Renamed from WebKitTools/Scripts/check-for-weak-vtables. 16279 Teach the script how to detect weak external symbols so that these errors can be caught immediately 16280 in the future. 16281 16282 2010-02-04 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 16283 16284 Rubberstamped by Oliver Hunt. 16285 16286 [Qt] Make it possible to choose whether the launcher should 16287 use the traditional QWidget based QWebView or the newer 16288 QGraphics based QGraphicsWebView on a QGraphicsView. 16289 16290 * QtLauncher/main.cpp: 16291 (LauncherWindow::LauncherWindow): 16292 (LauncherWindow::eventFilter): 16293 (LauncherWindow::loadStarted): 16294 (LauncherWindow::print): 16295 (LauncherWindow::screenshot): 16296 (LauncherWindow::setEditable): 16297 (LauncherWindow::setupUI): 16298 (main): 16299 * QtLauncher/webview.cpp: 16300 (WebViewGraphicsBased::WebViewGraphicsBased): 16301 (WebViewGraphicsBased::resizeEvent): 16302 (GraphicsWebView::mousePressEvent): 16303 (GraphicsWebView::contextMenuEvent): 16304 * QtLauncher/webview.h: 16305 (WebViewTraditional::WebViewTraditional): 16306 (GraphicsWebView::GraphicsWebView): 16307 (WebViewGraphicsBased::setPage): 16308 16309 2010-02-04 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 16310 16311 Rubberstamped by Oliver Hunt. 16312 16313 [Qt] QtLauncher cleanup. 16314 16315 Refactor option handling out in utility functions and make the 16316 arguments more Qt compatible. 16317 16318 * QtLauncher/main.cpp: 16319 (requiresGraphicsView): 16320 (LauncherApplication::handleUserOptions): 16321 * QtLauncher/utils.cpp: 16322 (takeOptionValue): 16323 (formatKeys): 16324 (enumToKeys): 16325 (appQuit): 16326 * QtLauncher/utils.h: 16327 16328 2010-02-04 Andras Becsi <abecsi (a] inf.u-szeged.hu> 16329 16330 Reviewed by Tor Arne Vestb. 16331 16332 Implement a locking and scheduling mechanism for http testing sessions to be able 16333 to run multiple instances of run-webkit-tests parallel on the same machine. 16334 If a test session wants to run http tests and this feature is enabled, the pending 16335 sessions create lockfiles with sequential lock numbers. These locks are used to schedule 16336 the running test sessions in first come first served order. An exclusive lock ensures 16337 that the lock numbers are sequential to avoid deadlocks and starvation. 16338 Because the buildbot master specifies the flags used by slaves we need an environment 16339 variable too to be able to use the feature per-slave. 16340 Exporting WEBKIT_WAIT_FOR_HTTPD=1 before testing or using the --wait-for-httpd 16341 flag enables this feature, otherwise this patch has no effect on the testing whatsoever. 16342 16343 https://bugs.webkit.org/show_bug.cgi?id=33153 16344 16345 * Scripts/run-webkit-tests: 16346 * Scripts/webkitperl/httpd.pm: 16347 16348 2010-01-22 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 16349 16350 Reviewed by Simon Hausmann. 16351 16352 Make run-webkit-tests work under Cygwin for the Qt port 16353 16354 setPathForRunningWebKitApp() is implemented for the Qt port 16355 by using qmake to query for the location of the Qt libraries. 16356 16357 This requires the original environment (%ENV) to be untouched, 16358 so launchWithCurrentEnv() was refactored to launchWithEnv(), 16359 and the code in openDumpTool() to not use %ENV but a %CLEAN_ENV 16360 instead. This has the added benefit of getting rid of the temp 16361 variables used for storing the current env. 16362 16363 openDumpTool() is also refactored a bit into platform-spesific, 16364 port-spesific, and generic environment variables. 16365 16366 Checks for undef was added a few places to fix Perl concat 16367 warnings when run-webkit-tests is aborted. 16368 16369 https://bugs.webkit.org/show_bug.cgi?id=33895 16370 16371 * Scripts/run-webkit-tests: 16372 * Scripts/webkitdirs.pm: 16373 16374 2010-02-04 Yuzo Fujishima <yuzo (a] google.com> 16375 16376 Unreviewed. 16377 16378 Add Yuzo to the committers list. 16379 16380 * Scripts/webkitpy/committers.py: 16381 16382 2010-02-03 Dirk Pranke <dpranke (a] chromium.org> 16383 16384 Rubber-stamped by Eric Seidel. 16385 16386 Change "the Chromium name" to "the name of Google Inc." in the licenses 16387 16388 https://bugs.webkit.org/show_bug.cgi?id=34511 16389 16390 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: 16391 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 16392 * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: 16393 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 16394 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: 16395 * Scripts/webkitpy/layout_tests/layout_package/test_files.py: 16396 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: 16397 * Scripts/webkitpy/layout_tests/port/__init__.py: 16398 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: 16399 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 16400 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 16401 * Scripts/webkitpy/layout_tests/port/chromium_win.py: 16402 * Scripts/webkitpy/layout_tests/port/http_server.py: 16403 * Scripts/webkitpy/layout_tests/port/http_server_base.py: 16404 * Scripts/webkitpy/layout_tests/port/path_utils.py: 16405 * Scripts/webkitpy/layout_tests/port/websocket_server.py: 16406 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 16407 * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: 16408 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: 16409 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 16410 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 16411 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 16412 16413 2010-02-03 Dirk Pranke <dpranke (a] chromium.org> 16414 16415 Rubber-stamped by Eric Siedel. 16416 16417 Rename files as part of refactoring the layout_tests package. All 16418 the platform_utils* module, the path_utils.py module, and 16419 the http server and web socket server modules are moved into a new 16420 port/ package. 16421 16422 https://bugs.webkit.org/show_bug.cgi?id=34511 16423 16424 * Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py: Removed. 16425 * Scripts/webkitpy/layout_tests/layout_package/http_server.py: Removed. 16426 * Scripts/webkitpy/layout_tests/layout_package/http_server_base.py: Removed. 16427 * Scripts/webkitpy/layout_tests/layout_package/httpd2.pem: Removed. 16428 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: 16429 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 16430 * Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf: Removed. 16431 * Scripts/webkitpy/layout_tests/layout_package/path_utils.py: Removed. 16432 * Scripts/webkitpy/layout_tests/layout_package/platform_utils.py: Removed. 16433 * Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py: Removed. 16434 * Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py: Removed. 16435 * Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py: Removed. 16436 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 16437 * Scripts/webkitpy/layout_tests/layout_package/test_files.py: 16438 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: 16439 * Scripts/webkitpy/layout_tests/layout_package/websocket_server.py: Removed. 16440 * Scripts/webkitpy/layout_tests/port: Added. 16441 * Scripts/webkitpy/layout_tests/port/__init__.py: Copied from Scripts/webkitpy/layout_tests/layout_package/platform_utils.py. 16442 * Scripts/webkitpy/layout_tests/port/apache_http_server.py: Copied from Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py. 16443 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: Copied from Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py. 16444 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: Copied from Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py. 16445 * Scripts/webkitpy/layout_tests/port/chromium_win.py: Copied from Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py. 16446 * Scripts/webkitpy/layout_tests/port/http_server.py: Copied from Scripts/webkitpy/layout_tests/layout_package/http_server.py. 16447 * Scripts/webkitpy/layout_tests/port/http_server_base.py: Copied from Scripts/webkitpy/layout_tests/layout_package/http_server_base.py. 16448 * Scripts/webkitpy/layout_tests/port/httpd2.pem: Copied from Scripts/webkitpy/layout_tests/layout_package/httpd2.pem. 16449 * Scripts/webkitpy/layout_tests/port/lighttpd.conf: Copied from Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf. 16450 * Scripts/webkitpy/layout_tests/port/path_utils.py: Copied from Scripts/webkitpy/layout_tests/layout_package/path_utils.py. 16451 * Scripts/webkitpy/layout_tests/port/websocket_server.py: Copied from Scripts/webkitpy/layout_tests/layout_package/websocket_server.py. 16452 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 16453 * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: 16454 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: 16455 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 16456 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 16457 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 16458 16459 16460 2010-02-03 Csaba Osztrogonc <ossy (a] webkit.org> 16461 16462 Rubber-stamped by Eric Seidel. 16463 16464 Roll back r53559 and r54084 again, because roll out didn't solve flakeyness on the Windows Test bots 16465 https://bugs.webkit.org/show_bug.cgi?id=34399 16466 16467 * Scripts/run-iexploder-tests: 16468 * Scripts/run-webkit-httpd: 16469 * Scripts/run-webkit-tests: 16470 * Scripts/webkitperl/httpd.pm: Added. 16471 16472 2010-02-03 Csaba Osztrogonc <ossy (a] webkit.org> 16473 16474 Rubber-stamped by Eric Seidel. 16475 16476 Roll out r53559 and r54084, because it might caused flakeyness on the Windows Test bots 16477 16478 * Scripts/run-iexploder-tests: 16479 * Scripts/run-webkit-httpd: 16480 * Scripts/run-webkit-tests: 16481 * Scripts/webkitperl/httpd.pm: Removed. 16482 16483 2010-02-03 Csaba Osztrogonc <ossy (a] webkit.org> 16484 16485 Rubber-stamped by Ariya Hidayat. 16486 16487 Roll back r53889 again, because roll out didn't solve flakeyness on the Windows Test bots 16488 https://bugs.webkit.org/show_bug.cgi?id=34399 16489 16490 * DumpRenderTree/win/EventSender.cpp: 16491 (buildModifierFlags): 16492 (mouseDownCallback): 16493 (mouseUpCallback): 16494 (keyDownCallback): 16495 16496 2010-02-03 Eric Seidel <eric (a] webkit.org> 16497 16498 No review, just fixing copyrights. 16499 16500 Concerns were expressed about "The Chromium Authors" being 16501 a valid legal entity for copyright assignment in the WebKit repository, 16502 so this change removes all "The Chromium Authors". 16503 16504 I looked at the svn logs in src.chromium.org and failed to find any 16505 non-google contributions to these files, so they are all now 16506 marked as copyright "Google Inc" as all Google contributers assign 16507 copyright to "Google Inc" as part of their employment agreement. 16508 16509 * Scripts/rebaseline-chromium-webkit-tests: 16510 * Scripts/run-chromium-webkit-tests: 16511 * Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py: 16512 * Scripts/webkitpy/layout_tests/layout_package/http_server.py: 16513 * Scripts/webkitpy/layout_tests/layout_package/http_server_base.py: 16514 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: 16515 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: 16516 * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: 16517 * Scripts/webkitpy/layout_tests/layout_package/path_utils.py: 16518 * Scripts/webkitpy/layout_tests/layout_package/platform_utils.py: 16519 * Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py: 16520 * Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py: 16521 * Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py: 16522 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: 16523 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: 16524 * Scripts/webkitpy/layout_tests/layout_package/test_files.py: 16525 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: 16526 * Scripts/webkitpy/layout_tests/layout_package/websocket_server.py: 16527 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: 16528 * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: 16529 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: 16530 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: 16531 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: 16532 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: 16533 16534 2010-02-03 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 16535 16536 Reviewed by Ariya Hidayat. 16537 16538 [Qt] QtLauncher, refactor argument handling in preparation of merge 16539 with QGVLauncher 16540 16541 * QtLauncher/main.cpp: 16542 (LauncherApplication::urls): 16543 (LauncherApplication::isRobotized): 16544 (LauncherApplication::applyDefaultSettings): 16545 (LauncherApplication::LauncherApplication): 16546 (LauncherApplication::formatKeys): 16547 (LauncherApplication::enumToKeys): 16548 (fail): 16549 (LauncherApplication::handleUserOptions): 16550 (main): 16551 16552 2010-02-03 Csaba Osztrogonc <ossy (a] webkit.org> 16553 16554 Rubber-stamped by Ariya Hidayat. 16555 16556 Rolling out r53889, because it might caused flakeyness on the Windows Test bots 16557 https://bugs.webkit.org/show_bug.cgi?id=34399 16558 16559 * DumpRenderTree/win/EventSender.cpp: 16560 (mouseDownCallback): 16561 (mouseUpCallback): 16562 (keyDownCallback): 16563 16564 2010-02-03 Csaba Osztrogonc <ossy (a] webkit.org> 16565 16566 Reviewed by Ariya Hidayat. 16567 16568 [Qt] Fix pixel tests support. 16569 https://bugs.webkit.org/show_bug.cgi?id=27813 16570 16571 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 16572 (WebCore::DumpRenderTree::open): 16573 (WebCore::DumpRenderTree::processLine): 16574 - Hash processing mechanism moved from DumpRenderTree::open to DumpRenderTree::processLine. 16575 (WebCore::DumpRenderTree::dump): Fixed and renamed variables. 16576 16577 2010-02-03 Kevin Watters <kevinwatters (a] gmail.com> 16578 16579 Reviewed by Kevin Ollivier. 16580 16581 [wx] Enable JIT compilation for wx. 16582 16583 https://bugs.webkit.org/show_bug.cgi?id=34536 16584 16585 * wx/build/settings.py: 16586 16587 2010-02-02 Kevin Ollivier <kevino (a] theolliviers.com> 16588 16589 [wx] Build fix after introduction of pageNumberForElementById. 16590 16591 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 16592 (LayoutTestController::pageNumberForElementById): 16593 16594 2010-02-02 Shu Chang <Chang.Shu (a] nokia.com> 16595 16596 Unreviewed. 16597 16598 Add myself to list of committers. 16599 16600 * Scripts/webkitpy/committers.py: 16601 16602 2010-02-02 Chris Jerdonek <cjerdonek (a] webkit.org> 16603 16604 Reviewed by Shinichiro Hamaji. 16605 16606 Moved filter-related check-webkit-style code into a separate 16607 filter module. 16608 16609 https://bugs.webkit.org/show_bug.cgi?id=34408 16610 16611 This is preparatory refactoring for Bug 33684, which will allow 16612 file and folder-specific filter rules. 16613 16614 * Scripts/webkitpy/style/checker.py: 16615 - Removed CategoryFilter class (moved to filter.py). 16616 16617 * Scripts/webkitpy/style/checker_unittest.py: 16618 - Removed CategoryFilter unit tests (moved to filter_unittest.py). 16619 16620 * Scripts/webkitpy/style/filter.py: Added. 16621 - Added CategoryFilter class (moved from checker.py). 16622 16623 * Scripts/webkitpy/style/filter_unittest.py: Added. 16624 - Added CategoryFilter unit tests (moved from checker_unittest.py). 16625 16626 * Scripts/webkitpy/style/unittests.py: 16627 - Added reference to filter_unittest.py. 16628 16629 2010-02-01 Chris Jerdonek <cjerdonek (a] webkit.org> 16630 16631 Reviewed by Shinichiro Hamaji. 16632 16633 Addressed FIXME in check-webkit-style so that the carriage-return 16634 check will work for patches. 16635 16636 https://bugs.webkit.org/show_bug.cgi?id=34260 16637 16638 Also added support for limiting the number of errors reported 16639 per category, per file. 16640 16641 * Scripts/webkitpy/style/checker.py: 16642 - Added new "whitespace/carriage_return" category from common.py. 16643 - Added MAX_REPORTS_PER_CATEGORY dictionary. 16644 - Added max_reports_per_category attribute to ProcessorOptions class. 16645 - Refactored StyleChecker._process_file(). 16646 16647 * Scripts/webkitpy/style/checker_unittest.py: 16648 - Updated ProcessorOptionsTest tests. 16649 - Added test to check MAX_REPORTS_PER_CATEGORY. 16650 16651 * Scripts/webkitpy/style/error_handlers.py: 16652 - Added support for suppressing the display of errors after 16653 reaching a per-category maximum (from max_reports_per_category). 16654 16655 * Scripts/webkitpy/style/error_handlers_unittest.py: 16656 - Added test for suppressing error display. 16657 16658 * Scripts/webkitpy/style/processors/common.py: Added. 16659 - Moved carriage-return check to new file. 16660 16661 * Scripts/webkitpy/style/processors/common_unittest.py: Added. 16662 - Added unit tests for carriage-return check. 16663 16664 * Scripts/webkitpy/style/unittests.py: 16665 - Added reference to common_unittest.py. 16666 16667 2010-02-01 Shinichiro Hamaji <hamaji (a] chromium.org> 16668 16669 Reviewed by Eric Seidel. 16670 16671 Provide a way to get page number with layoutTestController 16672 https://bugs.webkit.org/show_bug.cgi?id=33840 16673 16674 * DumpRenderTree/LayoutTestController.cpp: 16675 (pageNumberForElementByIdCallback): 16676 (LayoutTestController::staticFunctions): 16677 * DumpRenderTree/LayoutTestController.h: 16678 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 16679 (LayoutTestController::pageNumberForElementById): 16680 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 16681 (LayoutTestController::pageNumberForElementById): 16682 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 16683 (LayoutTestController::pageNumberForElementById): 16684 16685 2010-02-01 Shinichiro Hamaji <hamaji (a] chromium.org> 16686 16687 Unreviewed fix for an invalid function call. 16688 16689 check-webkit-style: Remove filename parameter from all functions where no longer used 16690 https://bugs.webkit.org/show_bug.cgi?id=34249 16691 16692 * Scripts/webkitpy/style/checker.py: 16693 16694 2010-02-01 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 16695 16696 Reviewed by Kenneth Rohde Christiansen. 16697 16698 [Qt] DRT Provide global flag ability 16699 https://bugs.webkit.org/show_bug.cgi?id=34418 16700 16701 Add the globalFlag property to the Qt LayoutTestController to allow 16702 cross-domain indications. 16703 16704 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 16705 (LayoutTestController::reset): 16706 * DumpRenderTree/qt/LayoutTestControllerQt.h: 16707 (LayoutTestController::globalFlag): 16708 (LayoutTestController::setGlobalFlag): 16709 16710 2010-02-01 Brady Eidson <beidson (a] apple.com> 16711 16712 Reviewed by Adele Peterson. 16713 16714 Crash in Safari opening new tabs to "same page" 16715 <rdar://problem/7593857> and https://bugs.webkit.org/show_bug.cgi?id=34444 16716 16717 Add a mode (Mac-only for now) that exercises the WebView SPI _loadBackForwardListFromOtherView: 16718 16719 * DumpRenderTree/LayoutTestController.cpp: 16720 (LayoutTestController::LayoutTestController): 16721 (setNewWindowsCopyBackForwardListCallback): 16722 (LayoutTestController::staticFunctions): 16723 16724 * DumpRenderTree/LayoutTestController.h: 16725 (LayoutTestController::newWindowsCopyBackForwardList): 16726 (LayoutTestController::setNewWindowsCopyBackForwardList): 16727 16728 * DumpRenderTree/mac/UIDelegate.mm: 16729 (-[UIDelegate webView:createWebViewWithRequest:]): 16730 16731 2010-02-01 Carol Szabo <carol.szabo (a] nokia.com> 16732 16733 Unreviewed. 16734 16735 Add myself to list of committers. 16736 16737 * Scripts/webkitpy/committers.py: 16738 16739 2010-02-01 Nate Chapin <japhet (a] chromium.org> 16740 16741 Rubber-stamped by David Levin. 16742 16743 Add myself to reviewer list. 16744 16745 * Scripts/webkitpy/committers.py: 16746 16747 2010-01-31 Chris Jerdonek <cjerdonek (a] webkit.org> 16748 16749 Reviewed by Shinichiro Hamaji. 16750 16751 Moved style error handler code to their own classes, and 16752 related refactoring. Increased unit test code coverage of 16753 style error handling. 16754 16755 https://bugs.webkit.org/show_bug.cgi?id=34379 16756 16757 * Scripts/check-webkit-style: 16758 - Minor change: added error_count variable. 16759 16760 * Scripts/webkitpy/style/checker.py: 16761 - Renamed ProcessorOptions.should_report_error() to is_reportable(). 16762 - In the StyleChecker class-- 16763 - Removed _default_style_error_handler(). 16764 - Added _increment_error_count(). 16765 - Refactored to use DefaultStyleErrorHandler and 16766 PatchStyleErrorHandler constructors. 16767 16768 * Scripts/webkitpy/style/checker_unittest.py: 16769 - In the StyleStyleCheckerTest class-- 16770 - Removed write_sample_error(). 16771 - Removed test_default_style_error_handler(). 16772 16773 * Scripts/webkitpy/style/error_handlers.py: Added. 16774 - Added DefaultStyleErrorHandler class. 16775 - Added PatchStyleErrorHandler class. 16776 16777 * Scripts/webkitpy/style/error_handlers_unittest.py: Added. 16778 - Added unit tests for DefaultStyleErrorHandler and 16779 PatchStyleErrorHandler. 16780 16781 * Scripts/webkitpy/style/unittests.py: 16782 - Added error_handlers unit tests. 16783 16784 2010-01-29 Mark Rowe <mrowe (a] apple.com> 16785 16786 Rubber-stamped by Stephanie Lewis. 16787 16788 Fix run-leaks with newer versions of the leaks tool. 16789 16790 * Scripts/run-leaks: 16791 16792 2010-01-29 Dirk Pranke <dpranke (a] chromium.org> 16793 16794 Reviewed by Eric Siedel. 16795 16796 Top-level test drivers for running the Chromium port of run-webkit-tests 16797 and being able to rebaseline test results from the test bots. The 16798 files in the Scripts directory are simply wrappers around the files 16799 in webkitpy/layout_tests for convenience. 16800 16801 https://bugs.webkit.org/show_bug.cgi?id=31498 16802 16803 * Scripts/rebaseline-chromium-webkit-tests: Added. 16804 * Scripts/run-chromium-webkit-tests: Added. 16805 * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Added. 16806 * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: Added. 16807 16808 2010-01-29 Dirk Pranke <dpranke (a] chromium.org> 16809 16810 Reviewed by Eric Siedel. 16811 16812 Add in the second block of python code for the Chromium port 16813 of run-webkit-tests. These files execute different diffs to classify 16814 the various types of failures from a test. 16815 16816 * Scripts/webkitpy/layout_tests/test_types: Added. 16817 * Scripts/webkitpy/layout_tests/test_types/__init__.py: Added. 16818 * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: Added. 16819 * Scripts/webkitpy/layout_tests/test_types/image_diff.py: Added. 16820 * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: Added. 16821 * Scripts/webkitpy/layout_tests/test_types/text_diff.py: Added. 16822 16823 2010-01-29 Dirk Pranke <dpranke (a] chromium.org> 16824 16825 Reviewed by Eric Siedel. 16826 16827 Check in the first part of the Chromium Python port of the 16828 run-webkit-tests test driver. The files under 16829 layout_tests/layout_layout constitute most of the implementation; 16830 they can be roughly divided into code that parses the 16831 "test_expectations.txt" file that describes how we expect tests to 16832 pass or fail, platform-specific hooks for the different Chromium 16833 ports (in platform_utils*), code for parsing the output of the 16834 tests and generating results files and HTML and JSON for the 16835 dashboards, auxiliary scripts for starting and stopping HTTP and 16836 Web Socket servers, and then one of the actual driver files 16837 (test_shell_thread). Code for actually parsing test output for 16838 failures and the top-level driver scripts will follow shortly. 16839 16840 https://bugs.webkit.org/show_bug.cgi?id=31498 16841 16842 * Scripts/webkitpy/layout_tests: Added. 16843 * Scripts/webkitpy/layout_tests/layout_package: Added. 16844 * Scripts/webkitpy/layout_tests/layout_package/__init__.py: Added. 16845 * Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py: Added. 16846 * Scripts/webkitpy/layout_tests/layout_package/http_server.py: Added. 16847 * Scripts/webkitpy/layout_tests/layout_package/http_server_base.py: Added. 16848 * Scripts/webkitpy/layout_tests/layout_package/httpd2.pem: Added. 16849 - scripts to start and stop apache. Note that the apache file 16850 generates a conf file dynamically, and we should switch to 16851 using the same static conf file that the regular run-webkit-tests 16852 uses, and we can also use the same httpd2.pem file. 16853 16854 * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: Added. 16855 * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: Added. 16856 - scripts to generate the JSON layout test dashboard and the 16857 flakiness dashboard 16858 * Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf: Added. 16859 - default configuration for LigHTTPd (used on Windows) 16860 * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: Added. 16861 - utility class that implements progress bars on the console to 16862 be displayed while the tests are running 16863 * Scripts/webkitpy/layout_tests/layout_package/path_utils.py: Added. 16864 - various routines for manipulating paths and URIs 16865 * Scripts/webkitpy/layout_tests/layout_package/platform_utils.py: Added. 16866 * Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py: Added. 16867 * Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py: Added. 16868 * Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py: Added. 16869 - platform-specific aspects of the drivers (binary names, paths, 16870 process control, etc.) 16871 * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: Added. 16872 - code for parsing the 'test_expectations.txt' file to determine 16873 which tests are expected to fail (and how) on which platforms 16874 * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: Added. 16875 - code for handling different kinds of failures (generating output 16876 in the results, etc.) 16877 * Scripts/webkitpy/layout_tests/layout_package/test_files.py: Added. 16878 - code to gather the lists of tests 16879 * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: Added. 16880 - code to actually execute tests via TestShell and process 16881 the output 16882 * Scripts/webkitpy/layout_tests/layout_package/websocket_server.py: Added. 16883 - scripts to start and stop the pywebsocket server 16884 16885 2010-01-29 Dirk Pranke <dpranke (a] chromium.org> 16886 16887 Reviewed by Eric Seidel. 16888 16889 Check in a copy of the simplejson library; it will be used by 16890 the Chromium port of run-webkit-tests. 16891 16892 https://bugs.webkit.org/show_bug.cgi?id=31498 16893 16894 * simplejson: Added. 16895 * simplejson/LICENSE.txt: Added. 16896 * simplejson/README.txt: Added. 16897 * simplejson/__init__.py: Added. 16898 * simplejson/_speedups.c: Added. 16899 (ascii_escape_char): 16900 (ascii_escape_unicode): 16901 (ascii_escape_str): 16902 (py_encode_basestring_ascii): 16903 (init_speedups): 16904 * simplejson/decoder.py: Added. 16905 * simplejson/encoder.py: Added. 16906 * simplejson/jsonfilter.py: Added. 16907 * simplejson/scanner.py: Added. 16908 16909 2010-01-29 Dirk Pranke <dpranke (a] chromium.org> 16910 16911 No review 16912 16913 Add myself to the committers list 16914 16915 * Scripts/webkitpy/committers.py: 16916 16917 2010-01-29 Jeremy Orlow <jorlow (a] chromium.org> 16918 16919 Reviewed by Dimitri Glazkov. 16920 16921 A first step towards the Indexed Database API 16922 https://bugs.webkit.org/show_bug.cgi?id=34342 16923 16924 Add indexed database API. 16925 16926 * Scripts/build-webkit: 16927 16928 2010-01-29 Andras Becsi <abecsi (a] webkit.org> 16929 16930 Reviewed by Alexey Proskuryakov. 16931 16932 Correct openHTTPD() to print requests to stdout if run-webkit-httpd is used. 16933 This fixes a regression introduced in r53559. 16934 16935 https://bugs.webkit.org/show_bug.cgi?id=34336 16936 16937 * Scripts/webkitperl/httpd.pm: 16938 16939 2010-01-28 Jon Honeycutt <jhoneycutt (a] apple.com> 16940 16941 MSAA: Crash when posting a notification for a detached object 16942 16943 https://bugs.webkit.org/show_bug.cgi?id=34309 16944 <rdar://problem/7409759> 16945 16946 Reviewed by Darin Adler. 16947 16948 * DumpRenderTree/AccessibilityController.h: 16949 Declare new functions. Add new members to store the event hook and the 16950 mapping of accessibility elements to their JS callbacks. 16951 16952 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp: 16953 (AccessibilityController::notificationReceived): 16954 Stubbed. 16955 (AccessibilityController::addNotificationListener): 16956 Stubbed. 16957 16958 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 16959 (AccessibilityController::notificationReceived): 16960 Stubbed. 16961 (AccessibilityController::addNotificationListener): 16962 Stubbed. 16963 16964 * DumpRenderTree/win/AccessibilityControllerWin.cpp: 16965 (AccessibilityController::AccessibilityController): 16966 Initialize the event hook. 16967 (AccessibilityController::~AccessibilityController): 16968 Remove the event hook. Unprotect all of the JS functions that are stored 16969 in the map. 16970 (logEventProc): 16971 Clean-up a variable. 16972 (stringEvent): 16973 Return a string description of the MSAA event code. 16974 (notificationListenerProc): 16975 Get the accessible object from the event, and query it for IAccessible. 16976 Call the AccessibilityController's notificationReceived(). 16977 (comparableObject): 16978 Use QueryService to obtain the IAccessibleComparable for the 16979 IServiceProvider. 16980 (AccessibilityController::notificationReceived): 16981 Iterate the map of objects that have registered for notification 16982 callbacks. Query each for IServiceProvider, then use comparableObject() 16983 to get an IAccessibleComparable. If we find an object matching the 16984 notified object, call its callback, passing the event that was received. 16985 (AccessibilityController::addNotificationListener): 16986 If we have not created the event hook, create it. Protect the JS 16987 callback function object, and add the object and its callback to our 16988 map. 16989 16990 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 16991 (AccessibilityUIElement::addNotificationListener): 16992 Call through to the AccessibilityController's addNotificationListener(). 16993 16994 * DumpRenderTree/win/DumpRenderTreeWin.h: 16995 Add an extern declaration for the shared FrameLoadDelegate extern, so we 16996 can access it from AccessibilityController. 16997 16998 * DumpRenderTree/win/FrameLoadDelegate.h: 16999 (FrameLoadDelegate::accessibilityController): 17000 Return the AccessibilityController. 17001 17002 2010-01-29 Shinichiro Hamaji <hamaji (a] chromium.org> 17003 17004 Reviewed by Darin Adler. 17005 17006 prepare-ChangeLog outputs useless messages for a nonexistent bug ID 17007 https://bugs.webkit.org/show_bug.cgi?id=34313 17008 17009 * Scripts/prepare-ChangeLog: 17010 17011 2010-01-29 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17012 17013 Rubberstamped by Simon Hausmann. 17014 17015 [Qt] Separate implementation from class definition. 17016 17017 * QtLauncher/main.cpp: 17018 (LauncherWindow::webView): 17019 (LauncherWindow::LauncherWindow): 17020 (LauncherWindow::~LauncherWindow): 17021 (LauncherWindow::keyPressEvent): 17022 (LauncherWindow::grabZoomKeys): 17023 (LauncherWindow::sendTouchEvent): 17024 (LauncherWindow::eventFilter): 17025 (LauncherWindow::loadStarted): 17026 (LauncherWindow::loadFinished): 17027 (LauncherWindow::showLinkHover): 17028 (LauncherWindow::zoomIn): 17029 (LauncherWindow::zoomOut): 17030 (LauncherWindow::resetZoom): 17031 (LauncherWindow::toggleZoomTextOnly): 17032 (LauncherWindow::print): 17033 (LauncherWindow::screenshot): 17034 (LauncherWindow::setEditable): 17035 (LauncherWindow::dumpHtml): 17036 (LauncherWindow::selectElements): 17037 (LauncherWindow::setTouchMocking): 17038 (LauncherWindow::newWindow): 17039 (LauncherWindow::setupUI): 17040 17041 2010-01-29 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17042 17043 Reviewed by Ariya Hidayat. 17044 17045 [Qt] On Maemo5, a click/touch in the location bar (when unfocused) 17046 should result in all text selected. 17047 17048 * QtLauncher/locationedit.cpp: 17049 (LocationEdit::focusInEvent): 17050 * QtLauncher/locationedit.h: 17051 17052 2010-01-29 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17053 17054 Reviewed by Ariya Hidayat. 17055 17056 [Qt] Show progress reaching 100% for loads. 17057 17058 * QtLauncher/locationedit.cpp: 17059 (LocationEdit::LocationEdit): 17060 (LocationEdit::setProgress): 17061 (LocationEdit::reset): 17062 (LocationEdit::paintEvent): 17063 * QtLauncher/locationedit.h: 17064 17065 2010-01-29 Andreas Kling <andreas.kling (a] nokia.com> 17066 17067 Reviewed by Kenneth Rohde Christiansen. 17068 17069 [Qt] Disable the QtLauncher statusbar on Maemo 17070 17071 https://bugs.webkit.org/show_bug.cgi?id=34330 17072 17073 * QtLauncher/main.cpp: 17074 (LauncherWindow::showLinkHover): 17075 (LauncherWindow::selectElements): 17076 17077 2010-01-29 Andreas Kling <andreas.kling (a] nokia.com> 17078 17079 Reviewed by Kenneth Rohde Christiansen. 17080 17081 [Qt] Display page loading progress inside the QtLauncher location bar 17082 17083 https://bugs.webkit.org/show_bug.cgi?id=34210 17084 17085 * QtLauncher/QtLauncher.pro: 17086 * QtLauncher/locationedit.cpp: Added. 17087 (LocationEdit::LocationEdit): 17088 (LocationEdit::setProgress): 17089 (LocationEdit::paintEvent): 17090 * QtLauncher/locationedit.h: Added. 17091 * QtLauncher/mainwindow.cpp: 17092 (MainWindow::buildUI): 17093 * QtLauncher/mainwindow.h: 17094 17095 2010-01-29 Andreas Kling <andreas.kling (a] nokia.com> 17096 17097 Reviewed by Kenneth Rohde Christiansen. 17098 17099 [Qt] Add support for Maemo zoom keys in QtLauncher 17100 17101 https://bugs.webkit.org/show_bug.cgi?id=34160 17102 17103 * QtLauncher/main.cpp: 17104 (LauncherWindow::LauncherWindow): 17105 (LauncherWindow::~LauncherWindow): 17106 (LauncherWindow::keyPressEvent): 17107 (LauncherWindow::grabZoomKeys): 17108 17109 2010-01-29 Benjamin Poulain <benjamin.poulain (a] nokia.com> 17110 17111 Reviewed by Kenneth Rohde Christiansen. 17112 17113 [Qt] Implement the display() method of the layout test controller 17114 https://bugs.webkit.org/show_bug.cgi?id=34258 17115 17116 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 17117 (WebCore::DumpRenderTree::DumpRenderTree): 17118 (WebCore::DumpRenderTree::showPage): 17119 (WebCore::DumpRenderTree::hidePage): 17120 * DumpRenderTree/qt/DumpRenderTreeQt.h: 17121 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 17122 (LayoutTestController::reset): 17123 (LayoutTestController::display): 17124 * DumpRenderTree/qt/LayoutTestControllerQt.h: 17125 17126 2010-01-28 Kevin Ollivier <kevino (a] theolliviers.com> 17127 17128 [wx] Build fix for MSW, use ThreadingWin.cpp as the Windows pthreads implementation 17129 implements pthread_t in a way that makes it impossible to check its validity, 17130 which is needed by ThreadingPthreads.cpp. 17131 17132 * DumpRenderTree/wscript: 17133 * wx/build/settings.py: 17134 17135 2010-01-28 Andras Becsi <abecsi (a] webkit.org> 17136 17137 Adding myself to the committer list. No review needed. 17138 17139 * Scripts/webkitpy/committers.py: 17140 17141 2010-01-28 Hayato Ito <hayato (a] chromium.org> 17142 17143 Reviewed by David Levin. 17144 17145 Remove NULL char from input JS file because 'grep' fails if the file contains NULL char. 17146 17147 https://bugs.webkit.org/show_bug.cgi?id=34252 17148 17149 * Scripts/make-script-test-wrappers: 17150 17151 2010-01-28 Kevin Ollivier <kevino (a] theolliviers.com> 17152 17153 [wx] Build fix after removal of the zlib image decoder. 17154 17155 * wx/build/settings.py: 17156 17157 2010-01-28 Csaba Osztrogonc <ossy (a] webkit.org> 17158 17159 [Qt] Unreviewed, roll out r54000. 17160 17161 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 17162 (WebCore::DumpRenderTree::DumpRenderTree): 17163 * DumpRenderTree/qt/DumpRenderTreeQt.h: 17164 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 17165 (LayoutTestController::reset): 17166 * DumpRenderTree/qt/LayoutTestControllerQt.h: 17167 (LayoutTestController::display): 17168 17169 2010-01-28 Benjamin Poulain <benjamin.poulain (a] nokia.com> 17170 17171 Reviewed by Kenneth Rohde Christiansen. 17172 17173 [Qt] Implement the display() method of the layout test controller 17174 https://bugs.webkit.org/show_bug.cgi?id=34258 17175 17176 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 17177 (WebCore::DumpRenderTree::DumpRenderTree): 17178 (WebCore::DumpRenderTree::showPage): 17179 (WebCore::DumpRenderTree::hidePage): 17180 * DumpRenderTree/qt/DumpRenderTreeQt.h: 17181 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 17182 (LayoutTestController::reset): 17183 (LayoutTestController::display): 17184 * DumpRenderTree/qt/LayoutTestControllerQt.h: 17185 17186 2010-01-28 Chris Jerdonek <cjerdonek (a] webkit.org> 17187 17188 Reviewed by Shinichiro Hamaji. 17189 17190 Eliminated the filename parameter from functions in 17191 check-webkit-style's cpp.py where it is no longer used. 17192 17193 https://bugs.webkit.org/show_bug.cgi?id=34249 17194 17195 * Scripts/webkitpy/style/processors/cpp.py: 17196 - Reduced number of occurrences of "filename" variable from 17197 approximately 200 to 120. 17198 17199 * Scripts/webkitpy/style/processors/cpp_unittest.py: 17200 - Refactored unit tests as necessary to accommodate changes to cpp.py. 17201 - Fixed bug in CppStyleTestBase.perform_include_what_you_use() 17202 where the incorrect file extension was getting passed to 17203 cpp_style.check_language(). 17204 17205 2010-01-28 Chris Jerdonek <cjerdonek (a] webkit.org> 17206 17207 Reviewed by Shinichiro Hamaji. 17208 17209 In check-webkit-style, eliminated the dependency of 17210 processors/cpp_unittest.py on checker.py. 17211 17212 https://bugs.webkit.org/show_bug.cgi?id=34205 17213 17214 * Scripts/webkitpy/style/checker.py: 17215 - Addressed FIXME by removing STYLE_CATEGORIES data. 17216 - Added style_categories(). 17217 17218 * Scripts/webkitpy/style/checker_unittest.py: 17219 - Minor changes. 17220 17221 * Scripts/webkitpy/style/processors/cpp.py: 17222 - Added categories attribute to CppProcessor class (data 17223 was originally checker.STYLE_CATEGORIES). 17224 17225 * Scripts/webkitpy/style/processors/cpp_unittest.py: 17226 - Addressed FIXME by eliminating "import" from checker.py. 17227 17228 2010-01-28 Anton Muhin <antonm (a] chromium.org> 17229 17230 Reviewed by Shinichiro Hamaji. 17231 17232 Improve treatment of conditions and rest of the line for if, else, switch and alikes 17233 https://bugs.webkit.org/show_bug.cgi?id=34173 17234 17235 * Scripts/webkitpy/style/cpp_style.py: 17236 * Scripts/webkitpy/style/cpp_style_unittest.py: 17237 17238 2010-01-28 Joe Mason <jmason (a] rim.com> 17239 17240 Reviewed by Adam Barth. 17241 17242 Limit login retries to 5 17243 https://bugs.webkit.org/show_bug.cgi?id=34193 17244 17245 * Scripts/webkitpy/bugzilla.py: 17246 17247 2010-01-27 Martin Robinson <mrobinson (a] webkit.org> 17248 17249 Adding myself to the committer list. No review necessary. 17250 17251 * Scripts/webkitpy/committers.py: 17252 17253 2010-01-27 George Wright <gwright (a] rim.com> 17254 17255 Reviewed by Adam Treat. 17256 17257 https://bugs.webkit.org/show_bug.cgi?id=34216 17258 17259 Add missing include for wtf/Platform.h 17260 17261 * DumpRenderTree/AccessibilityController.h: 17262 17263 2010-01-27 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 17264 17265 Reviewed by Kenneth Rohde Christiansen. 17266 17267 [Qt] DRT Provide worker thread ability to track counters 17268 https://bugs.webkit.org/show_bug.cgi?id=34221 17269 17270 Implement workerThreadCount() in LayoutTestController of Qt DRT 17271 17272 Tests: 17273 fast/workers/dedicated-worker-lifecycle.html 17274 fast/workers/shared-worker-frame-lifecycle.html 17275 fast/workers/shared-worker-lifecycle.html 17276 fast/workers/worker-lifecycle.html 17277 17278 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 17279 (LayoutTestController::workerThreadCount): 17280 * DumpRenderTree/qt/LayoutTestControllerQt.h: 17281 17282 2010-01-27 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17283 17284 Rubberstamped by Simon Hausmann. 17285 17286 [Qt] QtLauncher refactoring: 17287 17288 Make the LauncherWindow depend less on the view, so that more 17289 code can be shared in near future. 17290 17291 * QtLauncher/main.cpp: 17292 (LauncherWindow::sendTouchEvent): 17293 (LauncherWindow::loadFinished): 17294 (LauncherWindow::zoomIn): 17295 (LauncherWindow::zoomOut): 17296 (LauncherWindow::resetZoom): 17297 (LauncherWindow::toggleZoomTextOnly): 17298 (LauncherWindow::dumpHtml): 17299 (LauncherWindow::selectElements): 17300 (LauncherWindow::setupUI): 17301 17302 2010-01-27 Kinuko Yasuda <kinuko (a] chromium.org> 17303 17304 Reviewed by Eric Seidel. 17305 17306 Correctly handle the KeyLocation argument that has been introduced 17307 recently to test location-dependent key events in EventSender.keyDown. 17308 http://bugs.webkit.org/show_bug.cgi?id=28247 17309 17310 Test: fast/events/keydown-numpad-keys.html 17311 17312 * DumpRenderTree/gtk/EventSender.cpp: 17313 (keyDownCallback): 17314 17315 2010-01-27 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17316 17317 Rubberstamped by Simon Hausmann. 17318 17319 [Qt] QtLauncher refactoring: 17320 17321 Move out code from the MainWindow (renamed to LauncherWindow) 17322 that is not depending on the view, and add it to a new class 17323 called MainWindow. 17324 17325 * QtLauncher/QtLauncher.pro: 17326 * QtLauncher/main.cpp: 17327 (LauncherWindow::LauncherWindow): 17328 (LauncherWindow::eventFilter): 17329 (LauncherWindow::loadStarted): 17330 (LauncherWindow::loadFinished): 17331 (LauncherWindow::newWindow): 17332 (LauncherWindow::setupUI): 17333 (WebPage::createWindow): 17334 (main): 17335 * QtLauncher/mainwindow.cpp: Added. 17336 (MainWindow::MainWindow): 17337 (MainWindow::buildUI): 17338 (MainWindow::page): 17339 (MainWindow::setAddressUrl): 17340 (MainWindow::addCompleterEntry): 17341 (MainWindow::load): 17342 (MainWindow::changeLocation): 17343 (MainWindow::openFile): 17344 * QtLauncher/mainwindow.h: Added. 17345 17346 2010-01-27 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17347 17348 Rubberstamped by Simon Hausmann. 17349 17350 [Qt] QtLauncher, coding style fixes. 17351 17352 * QtLauncher/main.cpp: 17353 (MainWindow::MainWindow): 17354 (MainWindow::sendTouchEvent): 17355 (MainWindow::eventFilter): 17356 (MainWindow::loadURL): 17357 (MainWindow::setupUI): 17358 (WebPage::createPlugin): 17359 17360 2010-01-27 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17361 17362 Rubberstamped by Simon Hausmann. 17363 17364 [Qt] QtLauncher refactoring, separating the webview and 17365 adding a QGraphicsWebView based version. 17366 17367 * QtLauncher/QtLauncher.pro: 17368 * QtLauncher/main.cpp: 17369 (MainWindow::MainWindow): 17370 * QtLauncher/webpage.h: 17371 * QtLauncher/webview.cpp: Added. 17372 (createContextMenu): 17373 (WebViewGraphicsBased::mousePressEvent): 17374 (WebViewTraditional::mousePressEvent): 17375 (WebViewGraphicsBased::contextMenuEvent): 17376 (WebViewTraditional::contextMenuEvent): 17377 * QtLauncher/webview.h: Added. 17378 (WebViewGraphicsBased::WebViewGraphicsBased): 17379 (WebViewTraditional::WebViewTraditional): 17380 17381 2010-01-27 Alexander Pavlov <apavlov (a] chromium.org> 17382 17383 Adding myself as committer. No review necessary. 17384 17385 * Scripts/webkitpy/committers.py: 17386 17387 2010-01-27 Eric Seidel <eric (a] webkit.org> 17388 17389 Reviewed by Darin Adler. 17390 17391 webkit-patch needs an open-bugs command 17392 https://bugs.webkit.org/show_bug.cgi?id=30793 17393 17394 * Scripts/test-webkitpy: import OpenBugsTest 17395 * Scripts/webkit-patch: import OpenBugs 17396 * Scripts/webkitpy/commands/download_unittest.py: don't import unittest 17397 * Scripts/webkitpy/commands/early_warning_system_unittest.py: ditto 17398 * Scripts/webkitpy/commands/queries_unittest.py: ditto 17399 * Scripts/webkitpy/commands/queues_unittest.py: ditto 17400 * Scripts/webkitpy/commands/upload_unittest.py: ditto 17401 * Scripts/webkitpy/mock_bugzillatool.py: log when user.open_url is called. 17402 17403 2010-01-27 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17404 17405 Rubberstamped by Simon Hausmann 17406 17407 [Qt] QtLauncher refactoring, separating utility methods. 17408 17409 * QtLauncher/QtLauncher.pro: 17410 * QtLauncher/main.cpp: 17411 * QtLauncher/utils.cpp: Added. 17412 (urlFromUserInput): 17413 * QtLauncher/utils.h: Added. 17414 17415 2010-01-27 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17416 17417 Rubberstamped by Simon Hausmann 17418 17419 [Qt] Refactor the code in the QtLauncher dealing with HTTP proxy. 17420 17421 * QtLauncher/main.cpp: 17422 (MainWindow::MainWindow): 17423 * QtLauncher/webpage.cpp: 17424 (WebPage::WebPage): 17425 (WebPage::applyProxy): 17426 * QtLauncher/webpage.h: 17427 17428 2010-01-26 Jocelyn Turcotte <jocelyn.turcotte (a] nokia.com> 17429 17430 Reviewed by Tor Arne Vestb. 17431 17432 [Qt] Corrects debug build of DumpRenderTree on Windows. 17433 17434 * DumpRenderTree/qt/DumpRenderTree.pro: 17435 17436 2010-01-26 Daniel Bates <dbates (a] webkit.org> 17437 17438 Reviewed by Adam Barth. 17439 17440 https://bugs.webkit.org/show_bug.cgi?id=34070 17441 17442 Moves the try/catch for OSError exceptions in Executive.run_command 17443 to Credentials.read_credentials() so that the unit test 17444 webkitpy.scm_unittest.SCMClassTests.test_error_handlers can 17445 assert that Executive.run_command throws an OSError exception. 17446 17447 * Scripts/webkitpy/credentials.py: 17448 * Scripts/webkitpy/executive.py: Moved try/catch for OSError to 17449 method Credentials.read_credentials(). 17450 * Scripts/webkitpy/executive_unittest.py: Removed tests that no longer 17451 apply: test_run_command_with_bad_command_check_return_code and 17452 test_run_command_with_bad_command_check_calls_error_handler. Added new 17453 test to assert that run_command throws OSError exceptions. 17454 17455 2010-01-26 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 17456 17457 Reviewed by Kenneth Rohde Christiansen. 17458 17459 [Qt] DRT WebHistory support 17460 https://bugs.webkit.org/show_bug.cgi?id=34167 17461 17462 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 17463 (LayoutTestController::reset): 17464 (LayoutTestController::webHistoryItemCount): 17465 (LayoutTestController::keepWebHistory): 17466 * DumpRenderTree/qt/LayoutTestControllerQt.h: 17467 17468 2010-01-26 Kent Tamura <tkent (a] chromium.org> 17469 17470 Reviewed by Eric Seidel. 17471 17472 [Win] Add modifiers parameter support to Windows DumpRenderTree 17473 https://bugs.webkit.org/show_bug.cgi?id=34068 17474 17475 Add support for functional name modifiers; "addSelectionKey" and 17476 "rangeSelectionKey", and modifiers parameter to eventSender.mouseDown() 17477 and eventSender.mouseUp(). 17478 This change is similar to r53498 for Mac. 17479 17480 * DumpRenderTree/win/EventSender.cpp: 17481 (buildModifierFlags): New function to set MK_CONTROL or MK_SHIFT to WPARAM. 17482 (mouseDownCallback): Call buidlModifiersFlags(). 17483 (mouseUpCallback): ditto. 17484 (keyDownCallback): Add support for "addSelectionkey" and "rangeSelectionKey". 17485 17486 2010-01-26 Chris Jerdonek <cjerdonek (a] webkit.org> 17487 17488 Reviewed by Eric Seidel. 17489 17490 The Python autoinstall cache directory now only gets created 17491 in the directory containing autoinstall.py. 17492 17493 https://bugs.webkit.org/show_bug.cgi?id=33365 17494 17495 * Scripts/webkitpy/autoinstall.py: 17496 - Also added a README file to the cache directory saying 17497 where it came from. 17498 17499 2010-01-26 Chris Jerdonek <cjerdonek (a] webkit.org> 17500 17501 Reviewed by Eric Seidel. 17502 17503 Moved the check-webkit-style processors into a new 17504 webkitpy/style/processors directory. 17505 17506 https://bugs.webkit.org/show_bug.cgi?id=34060 17507 17508 * Scripts/webkitpy/style/checker.py: 17509 * Scripts/webkitpy/style/checker_unittest.py: 17510 * Scripts/webkitpy/style/cpp_style.py: Removed. 17511 * Scripts/webkitpy/style/cpp_style_unittest.py: Removed. 17512 * Scripts/webkitpy/style/processors: Added. 17513 * Scripts/webkitpy/style/processors/__init__.py: Added. 17514 * Scripts/webkitpy/style/processors/cpp.py: Copied from WebKitTools/Scripts/webkitpy/style/cpp_style.py. 17515 * Scripts/webkitpy/style/processors/cpp_unittest.py: Copied from WebKitTools/Scripts/webkitpy/style/cpp_style_unittest.py. 17516 * Scripts/webkitpy/style/processors/text.py: Copied from WebKitTools/Scripts/webkitpy/style/text_style.py. 17517 * Scripts/webkitpy/style/processors/text_unittest.py: Copied from WebKitTools/Scripts/webkitpy/style/text_style_unittest.py. 17518 * Scripts/webkitpy/style/text_style.py: Removed. 17519 * Scripts/webkitpy/style/text_style_unittest.py: Removed. 17520 * Scripts/webkitpy/style/unittests.py: 17521 17522 2010-01-26 Kevin Ollivier <kevino (a] theolliviers.com> 17523 17524 [wx] Build fix, make sure stub function returns a value. 17525 17526 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 17527 (LayoutTestController::counterValueForElementById): 17528 17529 2010-01-26 Steve Falkenburg <sfalken (a] apple.com> 17530 17531 Reviewed by Oliver Hunt. 17532 17533 Windows build references non-existent include paths 17534 https://bugs.webkit.org/show_bug.cgi?id=34175 17535 17536 * DumpRenderTree/win/DumpRenderTree.vcproj: 17537 * DumpRenderTree/win/ImageDiff.vcproj: 17538 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: 17539 17540 2010-01-26 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17541 17542 Reviewed by Ariya Hidayat. 17543 17544 [Qt] Separating out the UrlLoader from the QtLauncher in it's 17545 own implementation and header file. 17546 17547 * QtLauncher/main.cpp: 17548 (main): 17549 * QtLauncher/urlloader.cpp: Added. 17550 (UrlLoader::UrlLoader): 17551 (UrlLoader::loadNext): 17552 (UrlLoader::init): 17553 (UrlLoader::getUrl): 17554 * QtLauncher/urlloader.h: Added. 17555 17556 2010-01-25 Chris Jerdonek <cjerdonek (a] webkit.org> 17557 17558 Reviewed by Shinichiro Hamaji. 17559 17560 Refactored check-webkit-style by removing the file path 17561 parameter from the style error handler functions. 17562 17563 https://bugs.webkit.org/show_bug.cgi?id=34031 17564 17565 * Scripts/webkitpy/style/checker.py: 17566 - Added _default_style_error_handler() to StyleChecker class. 17567 - Moved handle_style_error() to inside _default_style_error_handler(). 17568 17569 * Scripts/webkitpy/style/checker_unittest.py: 17570 - Removed file path from calls to error handler. 17571 17572 * Scripts/webkitpy/style/cpp_style.py: 17573 - Removed file path from calls to error handler. 17574 17575 * Scripts/webkitpy/style/cpp_style_unittest.py: 17576 - Removed file path from calls to error handler. 17577 17578 * Scripts/webkitpy/style/text_style.py: 17579 - Removed file path from calls to error handler. 17580 17581 * Scripts/webkitpy/style/text_style_unittest.py: 17582 - Removed file path from calls to error handler. 17583 17584 2010-01-25 Jeremy Orlow <jorlow (a] chromium.org> 17585 17586 Adding myself as reviewer. No review necessary. 17587 17588 * Scripts/webkitpy/committers.py: 17589 17590 2010-01-25 Chris Jerdonek <cjerdonek (a] webkit.org> 17591 17592 Reviewed by Adam Barth. 17593 17594 Improved prepare-ChangeLog so that it preserves the relative 17595 indentation of a git commit message. 17596 17597 https://bugs.webkit.org/show_bug.cgi?id=34058 17598 17599 * Scripts/prepare-ChangeLog: 17600 - Also adjusted the script so that it does not add white 17601 space characters to empty lines. 17602 17603 2010-01-24 Eric Seidel <eric (a] webkit.org> 17604 17605 No review, rolling out r53763. 17606 http://trac.webkit.org/changeset/53763 17607 https://bugs.webkit.org/show_bug.cgi?id=33895 17608 17609 Broke 20+ tests on Windows. 17610 17611 * Scripts/run-webkit-tests: 17612 * Scripts/webkitdirs.pm: 17613 17614 2010-01-24 Adam Barth <abarth (a] webkit.org> 17615 17616 Rubber stamped by Eric Seidel. 17617 17618 More pep8 compliance. 17619 17620 * Scripts/webkitpy/mock_bugzillatool.py: 17621 17622 2010-01-24 Adam Barth <abarth (a] webkit.org> 17623 17624 Rubber stamped by Eric Seidel. 17625 17626 More pep8 compliance. 17627 17628 * Scripts/webkitpy/executive.py: 17629 * Scripts/webkitpy/grammar.py: 17630 17631 2010-01-24 Adam Barth <abarth (a] webkit.org> 17632 17633 Rubber stamped by Eric Seidel. 17634 17635 More pep8 compliance. 17636 17637 * Scripts/webkitpy/comments.py: 17638 * Scripts/webkitpy/committers.py: 17639 * Scripts/webkitpy/credentials.py: 17640 17641 2010-01-24 Adam Barth <abarth (a] webkit.org> 17642 17643 Rubber stamped by Eric Seidel. 17644 17645 Make changelogs.py pass pep8. 17646 17647 * Scripts/webkitpy/changelogs.py: 17648 17649 2010-01-23 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17650 17651 [Qt] Unreviewed build fix 17652 17653 * QtLauncher/QtLauncher.pro: 17654 * QtLauncher/webinspector.h: 17655 17656 2010-01-23 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17657 17658 Rubberstamped by Simon Hausmann. 17659 17660 [Qt] Move the WebInspector class to it's own header file. 17661 17662 * QtLauncher/main.cpp: 17663 * QtLauncher/webinspector.h: Added. 17664 (WebInspector::WebInspector): 17665 (WebInspector::showEvent): 17666 (WebInspector::hideEvent): 17667 17668 2010-01-23 Robert Hogan <robert (a] roberthogan.net> 17669 17670 Reviewed by Kenneth Rohde Christiansen. 17671 17672 Qt DRT: respect window.close() and window.closed() 17673 17674 Qt DRT needs to maintain a correct count of open windows 17675 for windowCount(). It also needs to delete windows that 17676 have been closed by window.close(). 17677 17678 This fixes the following tests: 17679 17680 plugins/destroy-during-npp-new.html 17681 fast/dom/Document/early-document-access.html 17682 fast/dom/Window/window-early-properties.html 17683 fast/events/open-window-from-another-frame.html 17684 fast/events/popup-blocking-click-in-iframe.html 17685 17686 https://bugs.webkit.org/show_bug.cgi?id=32953 17687 17688 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 17689 (WebCore::DumpRenderTree::DumpRenderTree): 17690 (WebCore::DumpRenderTree::createWindow): 17691 (WebCore::DumpRenderTree::windowCloseRequested): 17692 * DumpRenderTree/qt/DumpRenderTreeQt.h: 17693 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 17694 (LayoutTestController::maybeDump): 17695 17696 2010-01-23 Dan Bernstein <mitz (a] apple.com> 17697 17698 Reviewed by Mark Rowe. 17699 17700 Added a user default for specifying a fallback frameworks path in case 17701 the bundle does not contain frameworks for the current Mac OS X version. 17702 17703 * WebKitLauncher/main.m: 17704 (fallbackMacOSXVersion): Added. Looks up the fallback version in a dictionary 17705 keyed by the FallbackSystemVersions user default and returns it. 17706 (main): If a frameworks directory for the current system version is not found, 17707 try the fallback. 17708 17709 2010-01-22 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 17710 17711 Reviewed by Simon Hausmann. 17712 17713 Make run-webkit-tests work under Cygwin for the Qt port 17714 17715 setPathForRunningWebKitApp() is implemented for the Qt port 17716 by using qmake to query for the location of the Qt libraries. 17717 17718 This requires the original environment (%ENV) to be untouched, 17719 so launchWithCurrentEnv() was refactored to launchWithEnv(), 17720 and the code in openDumpTool() to not use %ENV but a %CLEAN_ENV 17721 instead. This has the added benefit of getting rid of the temp 17722 variables used for storing the current env. 17723 17724 openDumpTool() is also refactored a bit into platform-spesific, 17725 port-spesific, and generic environment variables. 17726 17727 Checks for undef was added a few places to fix Perl concat 17728 warnings when run-webkit-tests is aborted. 17729 17730 https://bugs.webkit.org/show_bug.cgi?id=33895 17731 17732 * Scripts/run-webkit-tests: 17733 * Scripts/webkitdirs.pm: 17734 17735 2010-01-22 Kevin Watters <kevinwatters (a] gmail.com> 17736 17737 Reviewed by Kevin Ollivier. 17738 17739 [wx] Remove the Bakefile build system, which is no longer being used. 17740 17741 https://bugs.webkit.org/show_bug.cgi?id=34022 17742 17743 * DumpRenderTree/wx/DumpRenderTree.bkl: Removed. 17744 * wx/browser/browser.bkl: Removed. 17745 * wx/build-wxwebkit: Removed. 17746 17747 2010-01-22 Gustavo Noronha Silva <gns (a] gnome.org> 17748 17749 Reviewed by Simon Fraser. 17750 17751 Reset zoom level to 1.0 when resetting view state. This is causing 17752 many tests to fail after svg/custom/text-zoom.xhtml changes the 17753 zoom level. 17754 17755 * DumpRenderTree/gtk/DumpRenderTree.cpp: 17756 (resetDefaultsToConsistentValues): 17757 17758 2010-01-22 Steve Falkenburg <sfalken (a] apple.com> 17759 17760 Reviewed by Darin Adler. 17761 17762 https://bugs.webkit.org/show_bug.cgi?id=34025 17763 Enable client-based Geolocation abstraction for Mac, Windows AppleWebKit targets. 17764 17765 * Scripts/build-webkit: 17766 17767 2010-01-22 Adam Barth <abarth (a] webkit.org> 17768 17769 Unreviewed. Arg. Someone renamed limit to output_limit on me. 17770 17771 * Scripts/webkitpy/commands/queues.py: 17772 17773 2010-01-22 Adam Barth <abarth (a] webkit.org> 17774 17775 Rubber stamped by Eric Seidel. 17776 17777 Make __init__.py and buildbot.py pass pep8 style checker. 17778 17779 * Scripts/webkitpy/__init__.py: 17780 * Scripts/webkitpy/buildbot.py: 17781 17782 2010-01-21 Joe Mason <jmason (a] rim.com> 17783 17784 Reviewed by Adam Barth. 17785 17786 webkit-patch should retry on invalid password 17787 https://bugs.webkit.org/show_bug.cgi?id=33955 17788 17789 Ask for bugs.webkit.org authentication in a loop. 17790 17791 * Scripts/webkitpy/bugzilla.py: 17792 17793 2010-01-22 Adam Barth <abarth (a] webkit.org> 17794 17795 Unreviewed. Don't call seek on a NoneType. 17796 17797 * Scripts/webkitpy/statusserver.py: 17798 17799 2010-01-22 Petri Latvala <petri.latvala (a] nomovok.com> 17800 17801 Reviewed by David Levin. 17802 17803 check-webkit-style breaks on files with unknown types 17804 https://bugs.webkit.org/show_bug.cgi?id=34001 17805 17806 For files with type FileType.NONE, dispatch_processor returns None. 17807 17808 * Scripts/webkitpy/style/checker.py: Don't call process_file with a processor of value None. 17809 17810 2010-01-22 Adam Barth <abarth (a] webkit.org> 17811 17812 Reviewed by Eric Seidel. 17813 17814 Make bugzilla.py and webkitport.py conform to pep8 17815 https://bugs.webkit.org/show_bug.cgi?id=34015 17816 17817 This patch makes webkitport.py and bugzilla.py mostly conform to PEP8 17818 style as enforced by pep8.py. I wasn't able to get rid of all the 17819 errors because I'm not sure how to wrap some lines properly. Also, 17820 there are a few deprication errors that I couldn't resolve easily. 17821 However, this is a massive improvement in compliance. 17822 17823 * Scripts/webkitpy/bugzilla.py: 17824 * Scripts/webkitpy/webkitport.py: 17825 17826 2010-01-22 Adam Barth <abarth (a] webkit.org> 17827 17828 Reviewed by Darin Adler. 17829 17830 Limit length of EWS results to 5MB 17831 https://bugs.webkit.org/show_bug.cgi?id=34016 17832 17833 Hopefully this will fix the bug where the results link doesn't appear. 17834 Our current theory is that the results blob is too big and the server 17835 is rejecting the request with a 500 error. That causes us to re-try 17836 the post, but when we re-try the StringIO buffer has its seek pointer 17837 at the end. 17838 17839 * Scripts/webkitpy/commands/queues.py: 17840 * Scripts/webkitpy/statusserver.py: 17841 17842 2010-01-22 Chris Jerdonek <cjerdonek (a] webkit.org> 17843 17844 Reviewed by Adam Barth. 17845 17846 Made check-webkit-style able to check patches when script not 17847 run from source root. Also consolidated external references 17848 to a single file. 17849 17850 https://bugs.webkit.org/show_bug.cgi?id=33791 17851 17852 * Scripts/check-webkit-style: 17853 - Changed to import style_references.py. 17854 17855 * Scripts/webkitpy/style/__init__.py: 17856 - Removed __path__ hack that allowed searching Scripts/ directory. 17857 17858 * Scripts/webkitpy/style/checker.py: 17859 - Changed to import style_references.py. 17860 17861 * Scripts/webkitpy/style_references.py: Added. 17862 17863 2010-01-22 Dmitry Titov <dimich (a] chromium.org> 17864 17865 Reviewed by Maciej Stachowiak. 17866 17867 Fix the leak of ThreadIdentifiers in threadMap across threads. 17868 https://bugs.webkit.org/show_bug.cgi?id=32689 17869 17870 Add a new test to verify the ThreadIdentifiers are not reused across threads. 17871 The test runs in the beginning of DumpRenderTree and spawns 2 non-WTF treads sequentially, 17872 waiting for the previous thread to terminate before starting the next. 17873 The treads use WTF::currentThread() in their thread function. Without a fix, this 17874 causes both threads to have the same ThreadIdentifier which triggers ASSERT in thread function. 17875 It also starts another thread using WTF. Without the fix, this finds pthread handle from previous 17876 threads in the WTF threadMap and asserts in WTF::establishIdentifierForPthreadHandle(). 17877 The test practically does not affect the DRT run time because the threads end immediately. 17878 17879 * DumpRenderTree/mac/DumpRenderTree.mm: 17880 (runThread): Test thread function. 17881 (testThreadIdentifierMap): 17882 (dumpRenderTree): 17883 17884 2010-01-22 Kent Tamura <tkent (a] chromium.org> 17885 17886 Reviewed by Maciej Stachowiak. 17887 17888 Fix a bug that mouseDown:withModifiers: is never called. 17889 https://bugs.webkit.org/show_bug.cgi?id=33989 17890 17891 * DumpRenderTree/mac/EventSendingController.mm: 17892 (+[EventSendingController isSelectorExcludedFromWebScript:]): 17893 (+[EventSendingController webScriptNameForSelector:]): 17894 17895 2010-01-22 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 17896 17897 Rubberstamped by Antti Koivisto. 17898 17899 [Qt] Separate out the WebPage class into it's own 17900 cpp/header files. Also, removed the assumption that 17901 the view is a QWebView, in preparation of a merger 17902 of the two Qt WebKit launchers. 17903 17904 * QtLauncher/QtLauncher.pro: 17905 * QtLauncher/main.cpp: 17906 (WebView::mousePressEvent): 17907 * QtLauncher/webpage.cpp: Added. 17908 (WebPage::supportsExtension): 17909 (WebPage::extension): 17910 (WebPage::acceptNavigationRequest): 17911 (WebPage::openUrlInDefaultBrowser): 17912 * QtLauncher/webpage.h: Added. 17913 (WebPage::WebPage): 17914 17915 2010-01-21 Chris Jerdonek <cjerdonek (a] webkit.org> 17916 17917 Reviewed by Shinichiro Hamaji. 17918 17919 Refactored to move file name and file-reading related code 17920 from cpp_style.py and text_style.py to checker.py. 17921 17922 https://bugs.webkit.org/show_bug.cgi?id=33775 17923 17924 * Scripts/check-webkit-style: 17925 - Updates caused by changes to checker.py. 17926 17927 * Scripts/webkitpy/style/checker.py: 17928 - Added SKIPPED_FILES_WITH_WARNING list. 17929 - Added SKIPPED_FILES_WITHOUT_WARNING list. 17930 - Added FileType class. 17931 - Added ProcessorDispatcher class. 17932 - In StyleChecker class: 17933 - Renamed process_patch() to check_patch(). 17934 - Renamed process_file() to check_file(). 17935 - Added _process_file(). 17936 - Related refactoring. 17937 - Addressed check_patch() FIXME to share code with process_file(). 17938 17939 * Scripts/webkitpy/style/checker_unittest.py: 17940 - Added ProcessorDispatcherSkipTest class. 17941 - Added ProcessorDispatcherDispatchTest class. 17942 - Added StyleCheckerCheckFileTest class. 17943 17944 * Scripts/webkitpy/style/cpp_style.py: 17945 - Renamed process_file_data() to _process_lines. 17946 - Removed process_file() (moved logic to checker.py). 17947 - Removed can_handle() (moved logic to checker.py). 17948 - Added CppProcessor class. 17949 - Removed is_exempt() (moved logic to checker.py). 17950 - Added process_file_data() back as a wrapper function. 17951 17952 * Scripts/webkitpy/style/cpp_style_unittest.py: 17953 - Removed test_can_handle(). 17954 - Removed test_is_exempt(). 17955 - Added CppProcessorTest class. 17956 17957 * Scripts/webkitpy/style/text_style.py: 17958 - Added TextProcessor class. 17959 - Removed process_file(). 17960 - Removed can_handle(). 17961 17962 * Scripts/webkitpy/style/text_style_unittest.py: 17963 - Removed test_can_handle(). 17964 - Added TextProcessorTest class. 17965 17966 2010-01-21 Chris Jerdonek <cjerdonek (a] webkit.org> 17967 17968 Reviewed by David Kilzer. 17969 17970 Create a unit-tested subroutine to parse patch files created 17971 by svn-create-patch. 17972 17973 https://bugs.webkit.org/show_bug.cgi?id=33475 17974 17975 * Scripts/VCSUtils.pm: 17976 - Added parseDiff(). 17977 - Added parsePatch(). 17978 17979 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: Added. 17980 - Added unit tests for parseDiff(). 17981 17982 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: 17983 - Total number of tests now computed dynamically. 17984 17985 * Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl: Added. 17986 - Added unit tests for parsePatch(). 17987 17988 2010-01-21 Kevin Ollivier <kevino (a] theolliviers.com> 17989 17990 [wx] Build fix, add new directory to dir list. 17991 17992 * wx/build/settings.py: 17993 17994 2010-01-21 Adam Barth <abarth (a] webkit.org> 17995 17996 Reviewed by Eric Seidel. 17997 17998 Make the EWS transactional 17999 https://bugs.webkit.org/show_bug.cgi?id=33978 18000 18001 Now if the EWS gets interrupted in the middle of processing a patch, 18002 the bots will re-process the patch. 18003 18004 * Scripts/test-webkitpy: 18005 * Scripts/webkitpy/commands/queues.py: 18006 * Scripts/webkitpy/commands/queues_unittest.py: 18007 * Scripts/webkitpy/patchcollection.py: 18008 * Scripts/webkitpy/patchcollection_unittest.py: Added. 18009 18010 2010-01-21 Adam Barth <abarth (a] webkit.org> 18011 18012 Unreviewed. Add missing "ago" for style in the status bubble. 18013 18014 * QueueStatusServer/templates/statusbubble.html: 18015 18016 2010-01-21 Adam Barth <abarth (a] webkit.org> 18017 18018 Reviewed by David Levin. 18019 18020 [style-queue] should not complain about identifier names with underscores under WebKit/gtk/webkit/ 18021 https://bugs.webkit.org/show_bug.cgi?id=33356 18022 18023 White list unix_hacker_style names in WebKit/gtk/webkit because these 18024 are used in the GTK+ API. 18025 18026 * Scripts/webkitpy/style/cpp_style.py: 18027 * Scripts/webkitpy/style/cpp_style_unittest.py: 18028 18029 2010-01-21 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 18030 18031 Reviewed by Kenneth Rohde Christiansen. 18032 18033 [Qt] add setDomainRelaxationForbiddenForURLScheme in Qt DRT 18034 https://bugs.webkit.org/show_bug.cgi?id=33945 18035 18036 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 18037 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme): 18038 * DumpRenderTree/qt/LayoutTestControllerQt.h: 18039 18040 2010-01-21 Simon Hausmann <simon.hausmann (a] nokia.com> 18041 18042 No review, rolling out 53615 as it causes two 18043 crashes on the bot. 18044 18045 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 18046 (WebCore::DumpRenderTree::DumpRenderTree): 18047 (WebCore::DumpRenderTree::createWindow): 18048 * DumpRenderTree/qt/DumpRenderTreeQt.h: 18049 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 18050 (LayoutTestController::maybeDump): 18051 18052 2010-01-21 Robert Hogan <robert (a] roberthogan.net> 18053 18054 Reviewed by Simon Hausmann. 18055 18056 Qt DRT: respect window.close() and window.closed() 18057 18058 Qt DRT needs to maintain a correct count of open windows 18059 for windowCount(). It also needs to delete windows that 18060 have been closed by window.close(). 18061 18062 This fixes the following tests: 18063 18064 plugins/destroy-during-npp-new.html 18065 fast/dom/Document/early-document-access.html 18066 fast/dom/Window/window-early-properties.html 18067 fast/events/open-window-from-another-frame.html 18068 fast/events/popup-blocking-click-in-iframe.html 18069 18070 https://bugs.webkit.org/show_bug.cgi?id=32953 18071 18072 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 18073 (WebCore::DumpRenderTree::DumpRenderTree): 18074 (WebCore::DumpRenderTree::createWindow): 18075 (WebCore::DumpRenderTree::windowCloseRequested): 18076 * DumpRenderTree/qt/DumpRenderTreeQt.h: 18077 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 18078 (LayoutTestController::maybeDump): 18079 18080 2010-01-20 Eric Seidel <eric (a] webkit.org> 18081 18082 No review, rolling out r53593. 18083 http://trac.webkit.org/changeset/53593 18084 https://bugs.webkit.org/show_bug.cgi?id=33496 18085 18086 Re-rollout this patch, the commit-queue should not have landed 18087 it again, but it did due to land-diff and rollout both not 18088 clearing flags. 18089 18090 * Scripts/webkitpy/commands/early_warning_system.py: 18091 * Scripts/webkitpy/commands/queues.py: 18092 * Scripts/webkitpy/queueengine.py: 18093 * Scripts/webkitpy/scm.py: 18094 * Scripts/webkitpy/scm_unittest.py: 18095 18096 2010-01-20 Eric Seidel <eric (a] webkit.org> 18097 18098 Reviewed by Adam Barth. 18099 18100 webkit-commit-queue status page is confusing 18101 https://bugs.webkit.org/show_bug.cgi?id=33496 18102 18103 This should improve the status page by removing more Fail messages. 18104 To do this, I re-factored the CommitQueue and the AbstractReviewQueues 18105 to behave more like one another. This meant moving where the failure reporting was done. 18106 Previously the AbstractReviewQueue always used the parent process to report the error, 18107 while CommitQueue used the subprocess when possible, and the parent only reported errors 18108 that we didn't know how to handle (bugs in the commit-queue itself). 18109 Now the AbstractReviewQueue follow's the commit-queue's model. This got rid of a try-block 18110 in both implementations and required teaching handle_script_error in each to post Fail messages 18111 to the status server instead of calling exit(1). 18112 18113 This will also make the style-queue share more bug posting logic with other queues: 18114 https://bugs.webkit.org/show_bug.cgi?id=33871 18115 18116 * Scripts/webkitpy/commands/early_warning_system.py: 18117 - Don't exit(1) as that will cause the calling queue to also report Fail to the status server. 18118 Implementors of handle_script_error are expected to update the status server if needed, but only exit if the error could not be handled. 18119 So we instead pass patch_has_failed_this_queue=True to _update_status_for_script_error in the case that this was a real failure. 18120 _update_status_for_script_error knows how to post the Fail message to the status server. 18121 - Teach _update_status_for_script_error how to post Fail messages to the status server. 18122 * Scripts/webkitpy/commands/queues.py: 18123 - Remove the try block from process_work_item since the caller already has one. 18124 - Only CC watchers on failure to cut down on commit-queue generated mail. 18125 - handle_unexpected_error needs to mark _did_fail now that the try block is gone from process_work_item. 18126 - Abstract _format_script_error_output_for_bug to share code between all queues. 18127 - The new _format_script_error_output_for_bug allows the style-queue to share the posting limit with other queues, as well as support linking to the full output. 18128 - Rename _can_build_and_test to _current_checkout_builds_and_passes_tests to better explain what revision it's testing. 18129 - Move logging out of _can_build_and_test and make the logs explain what revision we're testing. 18130 - handle_script_error now posts Fail instead of the try block in process_work_item handling it. 18131 * Scripts/webkitpy/queueengine.py: 18132 - QueueEngine is no longer used just by the commit-queue, update the logging to say "processing" instead of landing. 18133 * Scripts/webkitpy/scm.py: 18134 - Add new checkout_revision function. 18135 * Scripts/webkitpy/scm_unittest.py: 18136 - Test our new checkout_revision function. 18137 18138 2010-01-20 Fumitoshi Ukai <ukai (a] chromium.org> 18139 18140 Reviewed by Alexey Proskuryakov. 18141 18142 WebSocket: Missing Request-URI, when no tralling slash in host 18143 https://bugs.webkit.org/show_bug.cgi?id=33689 18144 18145 Update pywebsocket to 0.4.7.1, which supports alias for resource 18146 name, so that we could test for ws://127.0.0.1:8880 18147 18148 * Scripts/run-webkit-tests: 18149 * Scripts/run-webkit-websocketserver: 18150 * pywebsocket/mod_pywebsocket/dispatch.py: 18151 * pywebsocket/mod_pywebsocket/handshake.py: 18152 * pywebsocket/mod_pywebsocket/standalone.py: 18153 * pywebsocket/setup.py: 18154 * pywebsocket/test/test_dispatch.py: 18155 * pywebsocket/test/test_handshake.py: 18156 18157 2010-01-20 Eric Seidel <eric (a] webkit.org> 18158 18159 No review, rolling out r53537. 18160 http://trac.webkit.org/changeset/53537 18161 https://bugs.webkit.org/show_bug.cgi?id=33496 18162 18163 Added a failure condition to the commit-queue and looks to 18164 have broken the EWS bots 18165 18166 * Scripts/webkitpy/commands/early_warning_system.py: 18167 * Scripts/webkitpy/commands/queues.py: 18168 * Scripts/webkitpy/queueengine.py: 18169 * Scripts/webkitpy/scm.py: 18170 * Scripts/webkitpy/scm_unittest.py: 18171 18172 2010-01-20 Jon Honeycutt <jhoneycutt (a] apple.com> 18173 18174 MSAA: accSelect() is not implemented 18175 18176 https://bugs.webkit.org/show_bug.cgi?id=33918 18177 <rdar://problem/7436861> 18178 18179 Reviewed by Darin Adler. 18180 18181 * DumpRenderTree/AccessibilityUIElement.cpp: 18182 (takeFocusCallback): 18183 Call the object's takeFocus() function. 18184 (takeSelectionCallback): 18185 Call its takeSelection() function. 18186 (addSelectionCallback): 18187 Call its addSelection() function. 18188 (removeSelectionCallback): 18189 Call its removeSelection() function. 18190 (AccessibilityUIElement::getJSClass): 18191 Add new functions to the JS class definition. 18192 18193 * DumpRenderTree/AccessibilityUIElement.h: 18194 Declare new functions. 18195 18196 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 18197 (AccessibilityUIElement::takeFocus): 18198 Stubbed. 18199 (AccessibilityUIElement::takeSelection): 18200 Stubbed. 18201 (AccessibilityUIElement::addSelection): 18202 Stubbed. 18203 (AccessibilityUIElement::removeSelection): 18204 Stubbed. 18205 18206 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 18207 (AccessibilityUIElement::takeFocus): 18208 Stubbed. 18209 (AccessibilityUIElement::takeSelection): 18210 Stubbed. 18211 (AccessibilityUIElement::addSelection): 18212 Stubbed. 18213 (AccessibilityUIElement::removeSelection): 18214 Stubbed. 18215 18216 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 18217 (AccessibilityUIElement::takeFocus): 18218 Call the object's accSelect() function, passing the appropriate flag. 18219 (AccessibilityUIElement::takeSelection): 18220 Ditto. 18221 (AccessibilityUIElement::addSelection): 18222 Ditto. 18223 (AccessibilityUIElement::removeSelection): 18224 Ditto. 18225 18226 2010-01-20 Andras Becsi <abecsi (a] inf.u-szeged.hu> 18227 18228 Reviewed by Alexey Proskuryakov. 18229 18230 Extract Apache handling to httpd.pm module and use the provided functionality 18231 in scripts where Apache is needed. 18232 The module httpd.pm stores the PID of Apache in a variable and cleans up 18233 the PID directory after Apache properly shut down. Catching INT and TERM 18234 signals allows the scripts to close Apache and clean up its PID directory 18235 even if the testing was interrupted. 18236 18237 https://bugs.webkit.org/show_bug.cgi?id=33153 18238 18239 * Scripts/webkitperl/httpd.pm: Added. 18240 * Scripts/run-iexploder-tests: 18241 * Scripts/run-webkit-httpd: 18242 * Scripts/run-webkit-tests: 18243 18244 2010-01-20 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 18245 18246 Reviewed by Simon Hausmann. 18247 18248 [Qt] Make DumpRenderTree build on Windows 18249 18250 * DumpRenderTree/qt/DumpRenderTree.pro: 18251 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 18252 * DumpRenderTree/qt/DumpRenderTreeQt.h: 18253 * DumpRenderTree/qt/main.cpp: 18254 18255 2010-01-20 Steve Block <steveblock (a] google.com> 18256 18257 Reviewed by Eric Seidel. 18258 18259 Fix commit bot to land patches in order of the bug last modification date. 18260 https://bugs.webkit.org/show_bug.cgi?id=33395 18261 18262 * Scripts/webkitpy/bugzilla.py: Modified. Added 'order=Last+Changed' to bugzilla commit queue URL. 18263 18264 2010-01-20 Adam Barth <abarth (a] webkit.org> 18265 18266 Reviewed by Eric Seidel. 18267 18268 Teach check-webkit-style about WebKit/gtk/tests 18269 https://bugs.webkit.org/show_bug.cgi?id=33892 18270 18271 Removes false positives found in 18272 https://bugs.webkit.org/show_bug.cgi?id=30883 18273 18274 * Scripts/webkitpy/style/cpp_style.py: 18275 * Scripts/webkitpy/style/cpp_style_unittest.py: 18276 18277 2010-01-20 Adam Barth <abarth (a] webkit.org> 18278 18279 Reviewed by Eric Seidel. 18280 18281 Teach check-webkit-style about QGVLauncher 18282 https://bugs.webkit.org/show_bug.cgi?id=33890 18283 18284 Remove false positives found in 18285 https://bugs.webkit.org/show_bug.cgi?id=33708 18286 18287 * Scripts/webkitpy/style/cpp_style.py: 18288 * Scripts/webkitpy/style/cpp_style_unittest.py: 18289 18290 2010-01-20 Eric Seidel <eric (a] webkit.org> 18291 18292 Reviewed by Adam Barth. 18293 18294 webkit-commit-queue status page is confusing 18295 https://bugs.webkit.org/show_bug.cgi?id=33496 18296 18297 This should improve the status page by removing more Fail messages. 18298 To do this, I re-factored the CommitQueue and the AbstractReviewQueues 18299 to behave more like one another. This meant moving where the failure reporting was done. 18300 Previously the AbstractReviewQueue always used the parent process to report the error, 18301 while CommitQueue used the subprocess when possible, and the parent only reported errors 18302 that we didn't know how to handle (bugs in the commit-queue itself). 18303 Now the AbstractReviewQueue follow's the commit-queue's model. This got rid of a try-block 18304 in both implementations and required teaching handle_script_error in each to post Fail messages 18305 to the status server instead of calling exit(1). 18306 18307 This will also make the style-queue share more bug posting logic with other queues: 18308 https://bugs.webkit.org/show_bug.cgi?id=33871 18309 18310 * Scripts/webkitpy/commands/early_warning_system.py: 18311 - Don't exit(1) as that will cause the calling queue to also report Fail to the status server. 18312 Implementors of handle_script_error are expected to update the status server if needed, but only exit if the error could not be handled. 18313 So we instead pass patch_has_failed_this_queue=True to _update_status_for_script_error in the case that this was a real failure. 18314 _update_status_for_script_error knows how to post the Fail message to the status server. 18315 - Teach _update_status_for_script_error how to post Fail messages to the status server. 18316 * Scripts/webkitpy/commands/queues.py: 18317 - Remove the try block from process_work_item since the caller already has one. 18318 - Only CC watchers on failure to cut down on commit-queue generated mail. 18319 - handle_unexpected_error needs to mark _did_fail now that the try block is gone from process_work_item. 18320 - Abstract _format_script_error_output_for_bug to share code between all queues. 18321 - The new _format_script_error_output_for_bug allows the style-queue to share the posting limit with other queues, as well as support linking to the full output. 18322 - Rename _can_build_and_test to _current_checkout_builds_and_passes_tests to better explain what revision it's testing. 18323 - Move logging out of _can_build_and_test and make the logs explain what revision we're testing. 18324 - handle_script_error now posts Fail instead of the try block in process_work_item handling it. 18325 * Scripts/webkitpy/queueengine.py: 18326 - QueueEngine is no longer used just by the commit-queue, update the logging to say "processing" instead of landing. 18327 * Scripts/webkitpy/scm.py: 18328 - Add new checkout_revision function. 18329 * Scripts/webkitpy/scm_unittest.py: 18330 - Test our new checkout_revision function. 18331 18332 2010-01-20 Adam Barth <abarth (a] webkit.org> 18333 18334 Reviewed by Darin Adler. 18335 18336 Exempt JavaScriptCore/qt/api from style checks 18337 https://bugs.webkit.org/show_bug.cgi?id=33879 18338 18339 Apparently there is a JavaScriptCore API for Qt as well as a WebKit 18340 API. 18341 18342 * Scripts/webkitpy/style/cpp_style.py: 18343 * Scripts/webkitpy/style/cpp_style_unittest.py: 18344 18345 2010-01-19 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 18346 18347 Reviewed by Simon Hausmann. 18348 18349 [Qt] Don't use QSocketNotifier in the DRT for reading stdin 18350 18351 QSocketNotifier is not available on Windows. Instead we read 18352 stdin synchronously after each test using signals and slots. 18353 18354 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 18355 * DumpRenderTree/qt/DumpRenderTreeQt.h: 18356 * DumpRenderTree/qt/main.cpp: 18357 18358 2010-01-19 Adam Barth <abarth (a] webkit.org> 18359 18360 Rubber stamped by Eric Seidel. 18361 18362 Move chromium-ews back to building release only to make the EWS faster. 18363 18364 * Scripts/webkitpy/commands/early_warning_system.py: 18365 18366 2010-01-17 Jon Honeycutt <jhoneycutt (a] apple.com> 18367 18368 MSAA: The child <option> elements of a non-multiple <select> are not 18369 exposed 18370 18371 https://bugs.webkit.org/show_bug.cgi?id=33773 18372 <rdar://problem/7550556> 18373 18374 Reviewed by Alice Liu. 18375 18376 * DumpRenderTree/AccessibilityUIElement.cpp: 18377 (getIsVisibleCallback): 18378 Call the object's isVisible() function. 18379 (getIsOffScreenCallback): 18380 Ditto, for isOffScreen(). 18381 (getIsCollapsedCallback): 18382 Ditto, for isCollapsed(). 18383 (getHasPopupCallback): 18384 Ditto, for hasPopup(). 18385 (AccessibilityUIElement::getJSClass): 18386 Add isVisible and isOffScreen attributes. 18387 18388 * DumpRenderTree/AccessibilityUIElement.h: 18389 Declare new functions. 18390 18391 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 18392 (AccessibilityUIElement::isVisible): 18393 Stubbed. 18394 (AccessibilityUIElement::isOffScreen): 18395 Stubbed. 18396 (AccessibilityUIElement::isCollapsed): 18397 Stubbed. 18398 (AccessibilityUIElement::hasPopup): 18399 Stubbed. 18400 18401 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 18402 (AccessibilityUIElement::isVisible): 18403 Stubbed. 18404 (AccessibilityUIElement::isOffScreen): 18405 Stubbed. 18406 (AccessibilityUIElement::isCollapsed): 18407 Stubbed. 18408 (AccessibilityUIElement::hasPopup): 18409 Stubbed. 18410 18411 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 18412 (AccessibilityUIElement::showMenu): 18413 Call the object's accDoDefaultAction() to show its popup menu. 18414 (AccessibilityUIElement::isEnabled): 18415 Check that the object does not have the "unavailable" state. 18416 (AccessibilityUIElement::isVisible): 18417 Check that the object does not have the "invisible" state. 18418 (AccessibilityUIElement::isOffScreen): 18419 Check whether the object has the "offscreen" state. 18420 (AccessibilityUIElement::isCollapsed): 18421 Check whether the object has the "collapsed" state. 18422 (AccessibilityUIElement::hasPopup): 18423 Check whether the object has the "has popup" state. 18424 18425 2010-01-19 Victor Wang <victorw (a] chromium.org> 18426 18427 Reviewed by Eric Seidel. 18428 18429 Correct committer name. 18430 https://bugs.webkit.org/show_bug.cgi?id=33868 18431 18432 * Scripts/webkitpy/committers.py: 18433 18434 2010-01-19 Kent Tamura <tkent (a] chromium.org> 18435 18436 Reviewed by Darin Adler. 18437 18438 [DRT][Mac] Add modifiers parameter to eventSender.mouseDown() and eventSender.mouseUp() 18439 https://bugs.webkit.org/show_bug.cgi?id=33783 18440 18441 Some listbox tests check selection behavior by click events with 18442 "meta" or "shift" keys. Behaviors for such modifier keys are 18443 platform-dependent. The new parameter of mouseDown() and mouseUp() 18444 allows to specify not only concrete modifier keys such as 18445 "shiftKey" "metaKey", but also functional names like 18446 "addSelectionKey" "rangeSelectionKey". 18447 18448 * DumpRenderTree/mac/EventSendingController.mm: 18449 (+[EventSendingController isSelectorExcludedFromWebScript:]): 18450 (+[EventSendingController webScriptNameForSelector:]): 18451 (buildModifierFlags): 18452 (-[EventSendingController mouseDown:withModifiers:]): 18453 (-[EventSendingController mouseDown:]): 18454 (-[EventSendingController mouseUp:withModifiers:]): 18455 (-[EventSendingController mouseUp:]): 18456 (-[EventSendingController keyDown:withModifiers:withLocation:]): 18457 18458 2010-01-19 Adam Barth <abarth (a] webkit.org> 18459 18460 Reviewed by Eric Seidel. 18461 18462 Unbreak --request-commit 18463 https://bugs.webkit.org/show_bug.cgi?id=33832 18464 18465 * Scripts/webkitpy/bugzilla.py: 18466 18467 2010-01-19 Eric Seidel <eric (a] webkit.org> 18468 18469 Reviewed by Adam Barth. 18470 18471 validate-committer-lists throws exception and committers.py needs a refresh 18472 https://bugs.webkit.org/show_bug.cgi?id=33831 18473 18474 * Scripts/validate-committer-lists: use webkit_logging 18475 * Scripts/webkitpy/committers.py: Add recently minted committers. Fix Simon Hausmanns email address list to include his webkit-committers@lists address. 18476 18477 2010-01-18 Adam Roben <aroben (a] apple.com> 18478 18479 Add LayoutTestController support for calling new WebKit SPI to 18480 disallow setting document.domain 18481 18482 DRT part of fixing <http://webkit.org/b/33806> 18483 <rdar://problem/7552837> Would like API to disallow setting of 18484 document.domain for pages with certain URL schemes 18485 18486 Reviewed by Sam Weinig. 18487 18488 * DumpRenderTree/LayoutTestController.cpp: 18489 (setDomainRelaxationForbiddenForURLSchemeCallback): Added. Calls 18490 through to LayoutTestController. 18491 (LayoutTestController::staticFunctions): Added 18492 setDomainRelaxationForbiddenForURLScheme. 18493 18494 * DumpRenderTree/LayoutTestController.h: Added 18495 setDomainRelaxationForbiddenForURLScheme. 18496 18497 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 18498 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme): 18499 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 18500 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme): 18501 Added. Calls through to WebKit. 18502 18503 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 18504 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme): 18505 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 18506 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme): 18507 Stubbed out. 18508 18509 2010-01-18 Adam Barth <abarth (a] webkit.org> 18510 18511 Reviewed by Adam Roben. 18512 18513 Rename patches-to-commit to patches-in-commit-queue 18514 https://bugs.webkit.org/show_bug.cgi?id=33789 18515 18516 The command really lists the patches in the commit-queue not all the 18517 patches that are pending-commit (as the FIXME commands). 18518 18519 * Scripts/webkitpy/commands/queries.py: 18520 * Scripts/webkitpy/commands/queries_unittest.py: 18521 18522 2010-01-18 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 18523 18524 Reviewed by Simon Hausmann. 18525 18526 [Qt] Force qmake to generate a single makefile for DerivedSources.pro 18527 18528 * Scripts/webkitdirs.pm: 18529 18530 2010-01-18 Adam Roben <aroben (a] apple.com> 18531 18532 Clean up use of /useenv when invoking Visual C++ 18533 18534 This change reverts things to their pre-r49485 state. That revision 18535 (and, subsequently, r49664 and r51788) started passing /useenv to 18536 Visual C++, even in cases where we don't want to do so (such as when 18537 invoking Visual C++ Express), in the name of making the Chromium build 18538 work. Now that Chromium isn't using buildVisualStudioProject or 18539 pdevenv, we can put things back they way they were. 18540 18541 Fixes <http://webkit.org/b/33797> build-webkit fails with VC++ Express 18542 (due to /useenv flag) 18543 18544 Reviewed by Sam Weinig. 18545 18546 * Scripts/pdevenv: Always pass /useenv. Chromium doesn't use this 18547 script anymore. 18548 * Scripts/webkitdirs.pm: 18549 (buildVisualStudioProject): Never pass /useenv anymore. pdevenv takes 18550 care of this itself, and we don't want to pass /useenv when not using 18551 pdevenv (e.g., when using VC++ Express, because that will cause it to 18552 ignore the Platform SDK). 18553 18554 2010-01-18 Adam Barth <abarth (a] webkit.org> 18555 18556 Reviewed by Eric Seidel. 18557 18558 webkit-patch land-safely should obsolete old patches 18559 https://bugs.webkit.org/show_bug.cgi?id=33788 18560 18561 When posting a commit-queue+ patch with land-safely, we should 18562 obsolete the old patches on the bug. They're really confusing 18563 because the main use case is to address reviewer feedback on a 18564 previous patch. 18565 18566 * Scripts/webkitpy/commands/upload.py: 18567 * Scripts/webkitpy/commands/upload_unittest.py: 18568 18569 2010-01-18 Adam Barth <abarth (a] webkit.org> 18570 18571 Reviewed by David Levin. 18572 18573 webkit-patch should authenticate more often 18574 https://bugs.webkit.org/show_bug.cgi?id=33701 18575 18576 This makes it easier to work with security patches. 18577 18578 * Scripts/webkitpy/bugzilla.py: 18579 18580 2010-01-18 Adam Barth <abarth (a] webkit.org> 18581 18582 Reviewed by Darin Adler. 18583 18584 style checker needs to know about GObject-specific requirements 18585 inside WebCore/bindings/gobject/ 18586 https://bugs.webkit.org/show_bug.cgi?id=33606 18587 18588 Add an exception to the underscore rule for certain 18589 GObject-specific names. 18590 18591 * Scripts/webkitpy/style/cpp_style.py: 18592 * Scripts/webkitpy/style/cpp_style_unittest.py: 18593 18594 2010-01-18 Adam Barth <abarth (a] webkit.org> 18595 18596 Reviewed by Shinichiro Hamaji. 18597 18598 [check-webkit-style] does understand ResourceHandleWin.h 18599 https://bugs.webkit.org/show_bug.cgi?id=32975 18600 18601 I'm not 100% convinced this fix is correct, but without more examples, 18602 it's hard to generalize. We can always generalize the fix in the 18603 future. 18604 18605 * Scripts/webkitpy/style/cpp_style.py: 18606 * Scripts/webkitpy/style/cpp_style_unittest.py: 18607 18608 2010-01-18 Adam Barth <abarth (a] webkit.org> 18609 18610 Unreviewed "build" fix. 18611 18612 * Scripts/webkitpy/bugzilla.py: 18613 18614 2010-01-18 Adam Barth <abarth (a] webkit.org> 18615 18616 Unreviewed. Actually make land-safely mark commit-queue+ as 18617 discussed with Eric. 18618 18619 * Scripts/webkitpy/bugzilla.py: 18620 * Scripts/webkitpy/steps/postdiffforcommit.py: 18621 18622 2010-01-17 Adam Barth <abarth (a] webkit.org> 18623 18624 Reviewed by Darin Adler. 18625 18626 style-queue complains about one-line macros that include multiple statements 18627 https://bugs.webkit.org/show_bug.cgi?id=33173 18628 18629 Add an exception for multiple statements on a line that starts a macro. 18630 18631 * Scripts/webkitpy/style/cpp_style.py: 18632 * Scripts/webkitpy/style/cpp_style_unittest.py: 18633 18634 2010-01-17 Adam Barth <abarth (a] webkit.org> 18635 18636 Reviewed by Darin Adler. 18637 18638 [check-webkit-style] qt unit testing false positives 18639 https://bugs.webkit.org/show_bug.cgi?id=32833 18640 18641 Exempt the Qt API and unit tests from the style checker. 18642 18643 * Scripts/webkitpy/style/cpp_style.py: 18644 * Scripts/webkitpy/style/cpp_style_unittest.py: 18645 18646 2010-01-17 Adam Barth <abarth (a] webkit.org> 18647 18648 Reviewed by Darin Adler. 18649 18650 style-check script reports loads of errors on gtk2drawing.c 18651 https://bugs.webkit.org/show_bug.cgi?id=33771 18652 18653 Exempt WebCore/platform/gtk/gtk2drawing.c and 18654 WebCore/platform/gtk/gtk2drawing.h from style checks. 18655 18656 * Scripts/webkitpy/style/cpp_style.py: 18657 * Scripts/webkitpy/style/cpp_style_unittest.py: 18658 18659 2010-01-17 Chris Jerdonek <cjerdonek (a] webkit.org> 18660 18661 Reviewed by Shinichiro Hamaji. 18662 18663 Finished eliminating _cpp_style_state global state variable from 18664 check-webkit-style code and eliminating _CppStyleState class. 18665 18666 https://bugs.webkit.org/show_bug.cgi?id=33764 18667 18668 * Scripts/webkitpy/style/checker.py: 18669 - Minor updates caused by changes to cpp_style.py. 18670 18671 * Scripts/webkitpy/style/cpp_style.py: 18672 - Removed _CppStyleState class. 18673 - Removed verbose_level functions. 18674 - Added verbosity as a parameter to _FunctionState constructor. 18675 - Added verbosity as a parameter to process_file(). 18676 - Added verbosity as a parameter to process_file_data(). 18677 18678 * Scripts/webkitpy/style/cpp_style_unittest.py: 18679 - Added helper functions to set verbosity while running tests. 18680 18681 2010-01-17 Adam Barth <abarth (a] webkit.org> 18682 18683 Reviewed by Shinichiro Hamaji. 18684 18685 check-webkit-style underscore check should be disabled for Qt methods starting with qt_ 18686 https://bugs.webkit.org/show_bug.cgi?id=33663 18687 18688 * Scripts/webkitpy/style/cpp_style.py: 18689 * Scripts/webkitpy/style/cpp_style_unittest.py: 18690 18691 2010-01-17 Adam Barth <abarth (a] webkit.org> 18692 18693 Reviewed by Eric Seidel. 18694 18695 style-queue complains about missing #include of config.h for non-WebCore projects 18696 https://bugs.webkit.org/show_bug.cgi?id=33170 18697 18698 WebKitAPITests are consumers of the WebKit API and therefore do not 18699 need to follow the same include discipline as the rest of WebKit. This 18700 patch exempts them from the include checks. 18701 18702 * Scripts/webkitpy/style/cpp_style.py: 18703 * Scripts/webkitpy/style/cpp_style_unittest.py: 18704 18705 2010-01-17 Adam Barth <abarth (a] webkit.org> 18706 18707 Reviewed by Eric Seidel. 18708 18709 EWS (Early Warning Systems) should build both debug and release 18710 https://bugs.webkit.org/show_bug.cgi?id=33681 18711 18712 Build both debug and release for chromium-ews. 18713 18714 * Scripts/webkitpy/commands/early_warning_system.py: 18715 18716 2010-01-17 Adam Barth <abarth (a] webkit.org> 18717 18718 Reviewed by Darin Adler. 18719 18720 style-queue should include instructions for how to file bugs against check-webkit-style 18721 https://bugs.webkit.org/show_bug.cgi?id=32345 18722 18723 Added some text to the error message asking folks to file bugs against 18724 false positives. 18725 18726 * Scripts/webkitpy/commands/queues.py: 18727 18728 2010-01-17 Chris Jerdonek <cjerdonek (a] webkit.org> 18729 18730 Reviewed by Adam Barth. 18731 18732 Eliminated the error_count global variable and related 18733 check-webkit-style refactoring. 18734 18735 https://bugs.webkit.org/show_bug.cgi?id=33678 18736 18737 * Scripts/check-webkit-style: 18738 - Updated to use webkit_argument_defaults(). 18739 - Renamed styleChecker to style_checker. 18740 18741 * Scripts/webkitpy/style/checker.py: 18742 - Prefixed the three default arguments with WEBKIT_DEFAULT. 18743 - Added webkit_argument_defaults(). 18744 - Added default filter_rules parameter to CategoryFilter constructor. 18745 - Added __ne__() to CategoryFilter class. 18746 - Added __eq__() and __ne__() to ProcessorOptions class. 18747 - Added error_count and _write_error attributes to StyleChecker class. 18748 - Made StyleChecker._handle_error() increment the error count. 18749 18750 * Scripts/webkitpy/style/checker_unittest.py: 18751 - Improved CategoryFilterTest.test_eq(). 18752 - Added CategoryFilterTest.test_ne(). 18753 - Added test_eq() and test_ne() to ProcessorOptionsTest class. 18754 - Updated unit tests to use webkit_argument_defaults(). 18755 - Added StyleCheckerTest class. 18756 18757 * Scripts/webkitpy/style/cpp_style.py: 18758 - Removed references to global error_count. 18759 18760 * Scripts/webkitpy/style/cpp_style_unittest.py: 18761 - Removed CppStyleStateTest class. 18762 18763 2010-01-15 Jon Honeycutt <jhoneycutt (a] apple.com> 18764 18765 get_accParent should try to retrieve parent AccessibilityObject, before 18766 calling upon window 18767 18768 https://bugs.webkit.org/show_bug.cgi?id=22893 18769 18770 Reviewed by Darin Adler. 18771 18772 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 18773 (AccessibilityUIElement::parentElement): 18774 Get the object's parent. Query it for IAccessible, and return it. 18775 18776 2010-01-16 Dan Bernstein <mitz (a] apple.com> 18777 18778 Reviewed by Mark Rowe. 18779 18780 <rdar://problem/7529519> DumpRenderTree crashes in makeLargeMallocFailSilently() 18781 18782 * DumpRenderTree/mac/CheckedMalloc.cpp: 18783 (makeLargeMallocFailSilently): Temporarily allow writing to the default 18784 malloc zone structure while modifying it. 18785 18786 2010-01-16 David Kilzer <ddkilzer (a] apple.com> 18787 18788 Added back removed properties to iExploder input files 18789 18790 While the update-iexploder-cssproperties script works great to 18791 add new properties, it has the side-effect of removing old 18792 properties that once were parsed. 18793 18794 * iExploder/htdocs/cssproperties.in: Added back removed 18795 properties into their own section. 18796 * iExploder/htdocs/htmlattrs.in: Ditto. 18797 18798 2010-01-16 Holger Hans Peter Freyther <zecke (a] selfish.org> 18799 18800 Reviewed by David Kilzer. 18801 18802 Update iExploder/htdocs/*.in by running update-iexploder-cssproperties 18803 https://bugs.webkit.org/show_bug.cgi?id=33756 18804 18805 * iExploder/htdocs/cssproperties.in: New CSS attributes 18806 * iExploder/htdocs/htmlattrs.in: New HTML attributes 18807 * iExploder/htdocs/htmltags.in: New HTML tags 18808 18809 2010-01-15 Chris Jerdonek <chris.jerdonek (a] gmail.com> 18810 18811 Reviewed by David Kilzer. 18812 18813 Altered parseDiffHeader() to skip unrecognized lines and 18814 other minor clean-ups. 18815 18816 https://bugs.webkit.org/show_bug.cgi?id=33476 18817 18818 * Scripts/VCSUtils.pm: 18819 - Changed parseDiffHeader() as follows: 18820 - Skips over unrecognized lines. 18821 - Addressed FIXME to remove substitution for "diff" line. 18822 - Renamed "version" header hash key to "sourceRevision". 18823 - Eliminated "copiedFromVersion" header hash key. 18824 - Included "sourceRevision" also for copied files. 18825 - Checks that copy revision number matches "sourceRevision". 18826 - No longer returns $foundHeaderEnding. 18827 - Dies if header ending not found. 18828 - Diff header dividing line now always added. 18829 18830 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: 18831 - Made necessary changes in parseDiffHeader() unit tests. 18832 - Shortened the file paths in some test cases. 18833 18834 2010-01-14 Yuzo Fujishima <yuzo (a] google.com> 18835 18836 Reviewed by Alexey Proskuryakov. 18837 18838 Update pywebsocket to 0.4.6 18839 https://bugs.webkit.org/show_bug.cgi?id=32299 18840 The newer pywebsocket can handle more simultaneous connections. 18841 18842 * pywebsocket/mod_pywebsocket/handshake.py: 18843 * pywebsocket/mod_pywebsocket/standalone.py: 18844 * pywebsocket/setup.py: 18845 * pywebsocket/test/test_handshake.py: 18846 18847 2010-01-14 Eric Seidel <eric (a] webkit.org> 18848 18849 Reviewed by Adam Barth. 18850 18851 REGRESSION(53133): commit-queue no longer rejects patches with invalid committers, instead it hangs 18852 https://bugs.webkit.org/show_bug.cgi?id=33638 18853 18854 * Scripts/webkitpy/bugzilla.py: 18855 - Add Bug.id() to match Attachment.id() 18856 - Give Bug.reviewed_patches and commit_queued_patches the option to return patches with invalid committers/reviewers. 18857 - Add back a missing variable to _validate_setter_email found by the new unit tests! 18858 * Scripts/webkitpy/commands/queries.py: 18859 - Add FIXMEs about the commands being confusingly named. 18860 * Scripts/webkitpy/commands/queries_unittest.py: 18861 - Update results to reflect the newly restructured mock bug cache. 18862 * Scripts/webkitpy/commands/queues.py: 18863 - Add a new _validate_patches_in_commit_queue method (this is what fixes the regression). 18864 - Add a FIXME about eventually sorting the patches into some order. 18865 * Scripts/webkitpy/commands/queues_unittest.py: 18866 - Update results now that with the newly restructure mock bug cache we're testing cq+'d patches with an invalid committer. 18867 * Scripts/webkitpy/commands/upload_unittest.py: 18868 - Update results to match the newly restructured mock bug cache. 18869 * Scripts/webkitpy/mock_bugzillatool.py: 18870 - Restructure fetch_ methods to not use a manual list of ids, but rather use Bug and Attachment classes to make real queries from all of the Bugs. 18871 - Add a few more attachments and bug dictionaries for use by the tests. 18872 18873 2010-01-13 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 18874 18875 Reviewed by Kenneth Christiansen. 18876 18877 [Qt] DRT missing setUserStyleSheetLocation and setUserStyleSheetEnabled in LayoutTestController 18878 https://bugs.webkit.org/show_bug.cgi?id=33617 18879 18880 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 18881 (WebCore::WebPage::resetSettings): 18882 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 18883 (LayoutTestController::setUserStyleSheetLocation): 18884 (LayoutTestController::setUserStyleSheetEnabled): 18885 * DumpRenderTree/qt/LayoutTestControllerQt.h: 18886 18887 2010-01-14 Adam Roben <aroben (a] apple.com> 18888 18889 Add LayoutTestController API to force 18890 -webView:resource:willSendRequest:: to return null 18891 18892 Enables tests for <rdar://problem/7533333> <http://webkit.org/b/33533> 18893 window.onload never fires if page contains an <iframe> with a bad 18894 scheme or whose load is cancelled by returning null from resource load 18895 delegate's willSendRequest 18896 18897 Reviewed by Brady Eidson. 18898 18899 * DumpRenderTree/LayoutTestController.cpp: 18900 (LayoutTestController::LayoutTestController): Initialize new member. 18901 (setWillSendRequestReturnsNullCallback): Call through to 18902 LayoutTestController. 18903 (LayoutTestController::staticFunctions): Added new function. 18904 18905 * DumpRenderTree/LayoutTestController.h: Added 18906 m_willSendRequestReturnsNull. 18907 (LayoutTestController::willSendRequestReturnsNull): 18908 (LayoutTestController::setWillSendRequestReturnsNull): 18909 Added standard accessors. 18910 18911 * DumpRenderTree/mac/ResourceLoadDelegate.mm: 18912 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): 18913 * DumpRenderTree/win/ResourceLoadDelegate.cpp: 18914 (ResourceLoadDelegate::willSendRequest): 18915 Return null if LayoutTestController says to. 18916 18917 2010-01-14 Kevin Ollivier <kevino (a] theolliviers.com> 18918 18919 [wx] Build fix after removal of XBM support. 18920 18921 * wx/build/settings.py: 18922 18923 2010-01-14 Jocelyn Turcotte <jocelyn.turcotte (a] nokia.com> 18924 18925 Reviewed by Simon Hausmann. 18926 18927 Add support for partial building on Symbian. 18928 18929 The build happens in the source directory as out of source builds are 18930 not supported by qmake for Symbian. 18931 18932 Also the actual build isn't started but it is left to the developer 18933 to choose the architecture/configuration. 18934 18935 * Scripts/webkitdirs.pm: 18936 18937 2010-01-14 Simon Hausmann <simon.hausmann (a] nokia.com> 18938 18939 Reviewed by Kenneth Rohde Christiansen. 18940 18941 Add support for "detecting" Symbian environments by either 18942 looking for the EPOCROOT environment variable or via --symbian 18943 being passed on the commandline. 18944 18945 * Scripts/webkitdirs.pm: 18946 18947 2010-01-14 Jocelyn Turcotte <jocelyn.turcotte (a] nokia.com> 18948 18949 Unreviewed. 18950 18951 [Qt] Use a different Makefile names for sources generation and compilation. 18952 This prevents Makefile overwriting when running build-webkit twice. 18953 18954 * Scripts/webkitdirs.pm: 18955 18956 2010-01-14 Andreas Kling <andreas.kling (a] nokia.com> 18957 18958 Reviewed by Kenneth Rohde Christiansen. 18959 18960 [Qt] Add an "alien_QLabel" classId for manual testing of alien widgets. 18961 18962 https://bugs.webkit.org/show_bug.cgi?id=33373 18963 18964 * QtLauncher/main.cpp: 18965 (WebPage::createPlugin): 18966 18967 2010-01-14 Eric Seidel <eric (a] webkit.org> 18968 18969 No review, rolling out r53249. 18970 http://trac.webkit.org/changeset/53249 18971 https://bugs.webkit.org/show_bug.cgi?id=33617 18972 18973 This caused http/tests/security/local-user-CSS-from- 18974 remote.html to fail on the Qt Release Build Bot. 18975 18976 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 18977 (WebCore::WebPage::resetSettings): 18978 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 18979 (LayoutTestController::overridePreference): 18980 * DumpRenderTree/qt/LayoutTestControllerQt.h: 18981 18982 2010-01-14 Chris Jerdonek <chris.jerdonek (a] gmail.com> 18983 18984 Reviewed by Shinichiro Hamaji. 18985 18986 Moved error() from cpp_style.py to checker.py. 18987 18988 https://bugs.webkit.org/show_bug.cgi?id=33620 18989 18990 * Scripts/check-webkit-style: 18991 - Addressed FIXME to not set global state. 18992 18993 * Scripts/webkitpy/style/checker.py: 18994 - Added argument validation to ProcessorOptions constructor. 18995 - Added should_report_error() to ProcessorOptions class. 18996 - Removed set_options(). 18997 - Added StyleChecker class. 18998 18999 * Scripts/webkitpy/style/checker_unittest.py: 19000 - Added unit test class for ProcessorOptions class. 19001 - Added unit test to check that parse() strips white space. 19002 19003 * Scripts/webkitpy/style/cpp_style.py: 19004 - Removed "filter" and "output_format" methods. 19005 - Removed should_print_error() and error() functions. 19006 - Removed default parameter value from process_file(). 19007 19008 * Scripts/webkitpy/style/cpp_style_unittest.py: 19009 - Removed call to cpp_style._should_print_error(). 19010 - Removed test_filter() and test_filter_appending(). 19011 19012 * Scripts/webkitpy/style/text_style.py: 19013 - Removed default parameter value from process_file(). 19014 19015 2010-01-14 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 19016 19017 Reviewed by Kenneth Rohde Christiansen. 19018 19019 [Qt] DRT missing setUserStyleSheetLocation and setUserStyleSheetEnabled in LayoutTestController 19020 https://bugs.webkit.org/show_bug.cgi?id=33617 19021 19022 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 19023 (WebCore::WebPage::resetSettings): 19024 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 19025 (LayoutTestController::setUserStyleSheetLocation): 19026 (LayoutTestController::setUserStyleSheetEnabled): 19027 * DumpRenderTree/qt/LayoutTestControllerQt.h: 19028 19029 2010-01-13 Adam Barth <abarth (a] webkit.org> 19030 19031 Reviewed by Eric Seidel. 19032 19033 Fix CloseBugForLandDiff unittest to actually run 19034 https://bugs.webkit.org/show_bug.cgi?id=33640 19035 19036 * Scripts/webkitpy/mock_bugzillatool.py: 19037 * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py: 19038 19039 2010-01-12 Jon Honeycutt <jhoneycutt (a] apple.com> 19040 19041 MSAA: selected, selectable, extended selectable, and multiple 19042 selectable states are not reported 19043 19044 https://bugs.webkit.org/show_bug.cgi?id=33574 19045 <rdar://problem/7536826> 19046 19047 Reviewed by Darin Adler. 19048 19049 * DumpRenderTree/AccessibilityUIElement.cpp: 19050 (getIsSelectableCallback): 19051 Return the result of calling isSelectable(). 19052 (getIsMultiSelectableCallback): 19053 Return the result of calling isMultiSelectable(). 19054 (AccessibilityUIElement::getJSClass): 19055 Add isSelected and isMultiSelectable properties to the JSClass 19056 definition. 19057 19058 * DumpRenderTree/AccessibilityUIElement.h: 19059 Declare isSelectable() and isMultiSelectable(). 19060 19061 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 19062 (AccessibilityUIElement::isSelectable): 19063 Stubbed. 19064 (AccessibilityUIElement::isMultiSelectable): 19065 Stubbed. 19066 19067 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 19068 (AccessibilityUIElement::isSelectable): 19069 Stubbed. 19070 (AccessibilityUIElement::isMultiSelectable): 19071 Stubbed. 19072 19073 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 19074 (accessibilityState): 19075 Get the object's state, and return it. 19076 (AccessibilityUIElement::isSelected): 19077 Check the object's selected state. 19078 (AccessibilityUIElement::isSelectable): 19079 Check the object's selectable state. 19080 (AccessibilityUIElement::isMultiSelectable): 19081 Check the object's extended/multiple selectable state. 19082 19083 2010-01-13 Adam Barth <abarth (a] webkit.org> 19084 19085 Unreviewed. Repeat the below for CloseBugForLandDiff. 19086 19087 * Scripts/test-webkitpy: 19088 * Scripts/webkitpy/steps/closebugforlanddiff.py: 19089 * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py: Added. 19090 19091 2010-01-13 Adam Barth <abarth (a] webkit.org> 19092 19093 Unreviewed. Turn the mac-ews status bubbles back on now that this bot 19094 is running again. 19095 19096 * QueueStatusServer/templates/statusbubble.html: 19097 19098 2010-01-13 Adam Barth <abarth (a] webkit.org> 19099 19100 Reviewed by Darin Adler. 19101 19102 REGRESSION(53133): webkit-patch land dies if it can't find a bug id. 19103 https://bugs.webkit.org/show_bug.cgi?id=33634 19104 19105 Deal with the case of no bug patch object in the state. 19106 19107 * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py: 19108 * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: 19109 19110 2010-01-13 Kenneth Russell <kbr (a] google.com> 19111 19112 Unreviewed; added myself to the committers list. 19113 19114 * Scripts/webkitpy/committers.py: 19115 19116 2010-01-13 Darin Adler <darin (a] apple.com> 19117 19118 Ignore compiled Python in more of webkitpy. 19119 19120 * Scripts/webkitpy/commands: Added property svn:ignore. 19121 * Scripts/webkitpy/steps: Added property svn:ignore. 19122 * Scripts/webkitpy/style: Added property svn:ignore. 19123 19124 2010-01-13 Jocelyn Turcotte <jocelyn.turcotte (a] nokia.com> 19125 19126 Reviewed by Simon Hausmann. 19127 19128 [Qt] Fix build problem related to the pushd command 19129 19130 * Scripts/webkitdirs.pm: 19131 19132 2010-01-13 Jocelyn Turcotte <jocelyn.turcotte (a] nokia.com> 19133 19134 Reviewed by Simon Hausmann. 19135 19136 [Qt] Split the build process in two different .pro files. 19137 This allows qmake to be run once all source files are available. 19138 19139 * Scripts/webkitdirs.pm: Add calls to make DerivedSources.pro in JSC and WC. 19140 19141 2010-01-13 Shinichiro Hamaji <hamaji (a] chromium.org> 19142 19143 Unreviewed tiny typo fix in docstrings. 19144 19145 * Scripts/webkitpy/style/checker_unittest.py: 19146 19147 2010-01-13 Chris Jerdonek <chris.jerdonek (a] gmail.com> 19148 19149 Reviewed by Shinichiro Hamaji. 19150 19151 Created a CategoryFilter class to encapsulate the logic of 19152 filter rules. 19153 19154 https://bugs.webkit.org/show_bug.cgi?id=33454 19155 19156 * Scripts/webkitpy/style/checker.py: 19157 - Added CategoryFilter class. 19158 19159 * Scripts/webkitpy/style/checker_unittest.py: 19160 - Added CategoryFilter unit tests. 19161 19162 * Scripts/webkitpy/style/cpp_style.py: 19163 - Updated filter methods to use CategoryFilter. 19164 19165 * Scripts/webkitpy/style/cpp_style_unittest.py: 19166 - Updated references to filters. 19167 19168 2010-01-12 Shinichiro Hamaji <hamaji (a] chromium.org> 19169 19170 Unreviewed. Now I can review :) 19171 19172 * Scripts/webkitpy/committers.py: 19173 19174 2010-01-12 Brent Fulgham <bfulgham (a] webkit.org> 19175 19176 Reviewed by Darin Adler. 19177 19178 Extend WinLauncher example with better printing features. 19179 19180 * WinLauncher/PrintWebUIDelegate.cpp: 19181 (PrintWebUIDelegate::webViewPrintingMarginRect): Provide slightly 19182 larger margins. 19183 (PrintWebUIDelegate::webViewHeaderHeight): Compute header height based 19184 on text metrics. 19185 (PrintWebUIDelegate::webViewFooterHeight): Compute footer height based 19186 on text metrics. 19187 (PrintWebUIDelegate::drawHeaderInRect): Write useful header, along 19188 with separating line. 19189 (PrintWebUIDelegate::drawFooterInRect): 19190 * WinLauncher/PrintWebUIDelegate.h: Remove stubs. 19191 * WinLauncher/WinLauncher.cpp: 19192 (PrintView): Correct loop used to print individual pages. 19193 Previously it started at 0, which is a wild-card to print all 19194 pages at once. 19195 19196 2010-01-12 Alexey Proskuryakov <ap (a] apple.com> 19197 19198 Reviewed by Darin Adler. 19199 19200 https://bugs.webkit.org/show_bug.cgi?id=33540 19201 Make it possible to build in debug mode with assertions disabled 19202 19203 * DumpRenderTree/mac/ObjCController.m: (-[ObjCController accessStoredWebScriptObject]): 19204 19205 2010-01-11 Darin Fisher <darin (a] chromium.org> 19206 19207 Reviewed by Dimitri Glazkov. 19208 19209 [Chromium] "build-webkit --chromium" should run "make all" on Linux 19210 https://bugs.webkit.org/show_bug.cgi?id=33500 19211 19212 * Scripts/webkitdirs.pm: 19213 19214 2010-01-12 Eric Seidel <eric (a] webkit.org> 19215 19216 Reviewed by Adam Barth. 19217 19218 AssignToCommitter does not need to fetch bugs twice 19219 https://bugs.webkit.org/show_bug.cgi?id=33530 19220 19221 This is a no-brainer patch now that we've added Bug.reviewed_patches 19222 19223 * Scripts/webkitpy/commands/upload.py: 19224 19225 2010-01-12 Eric Seidel <eric (a] webkit.org> 19226 19227 Reviewed by Adam Barth. 19228 19229 bugzilla.py should have an Attachment object instead of passing around dictionaries 19230 https://bugs.webkit.org/show_bug.cgi?id=31594 19231 19232 * Scripts/webkitpy/bugzilla.py: 19233 - Add a new Attachment class, with accessor methods for all the necessary properties. 19234 - Update Bug to carry a pointer back to bugzilla (attachments need to access Bugzilla for committer validation and url()) 19235 - Move reviewed_patches and commit_queued_patches out of Bugzilla custom methods and onto Bug 19236 - Move committer validation logic into its own class. 19237 - Committer rejection is only used in one place. Make the new Bug reviewed_patches and commit_queued_patches 19238 handle the common case (of returning "reviewer" or "committer" as None), and let CommitterValidation handle 19239 the case where we want to reject patches in bugzilla. 19240 - Simplify fetch_patches_from_commit_queue now that committer validation is simpler. 19241 - Make all self.bugzilla.fetch_bug access go through BugzillaQueries._fetch_bug. 19242 - Mark set_flag_on_attachment as non-private to denote that CommitterValidation depends on it. 19243 - Move fetch_reviewed_patches_from_bug and fetch_commit_queue_patches_from_bug logic onto the Bug class. 19244 * Scripts/webkitpy/bugzilla_unittest.py: 19245 - Move test_flag_permission_rejection_message into a new CommitterValidationTest class. 19246 * Scripts/webkitpy/commands/download.py: 19247 - Store "bug_id" in state instead of making a fake patch object. 19248 - Update to use Attachment and Bug objects. 19249 * Scripts/webkitpy/commands/download_unittest.py: 19250 - Update expected results now that our testing framework covers more code. 19251 * Scripts/webkitpy/commands/early_warning_system.py: Update to use new Attachment class. 19252 * Scripts/webkitpy/commands/queries.py: Remove unused ReviewedPatches class. 19253 * Scripts/webkitpy/commands/queries_unittest.py: ditto. 19254 * Scripts/webkitpy/commands/queues.py: Update to use new Attachment and CommitterValidator classes. 19255 * Scripts/webkitpy/commands/queuestest.py: ditto. 19256 * Scripts/webkitpy/commands/upload.py: ditto. 19257 * Scripts/webkitpy/mock_bugzillatool.py: 19258 - Now that more logic has moved into Attachment and Bug, we have to actually 19259 provide real reviewer emails as well as real reviewer flags. 19260 - Update mock methods to return Attachment objects. 19261 * Scripts/webkitpy/scm.py: Update to use Attachment class. 19262 * Scripts/webkitpy/scm_unittest.py: Update to use Attachment class. 19263 * Scripts/webkitpy/statusserver.py: ditto. 19264 * Scripts/webkitpy/steps/applypatch.py: ditto. 19265 * Scripts/webkitpy/steps/applypatchwithlocalcommit.py: ditto. 19266 * Scripts/webkitpy/steps/closebug.py: ditto. 19267 * Scripts/webkitpy/steps/closebugforlanddiff.py: Handle either state["bug_id"] or state["patch"].bug_id() 19268 * Scripts/webkitpy/steps/closepatch.py: Update to use Attachment class. 19269 * Scripts/webkitpy/steps/obsoletepatches.py: ditto. 19270 * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: ditto. 19271 19272 2010-01-12 Adam Barth <abarth (a] webkit.org> 19273 19274 Unreviewed typo fix. :( 19275 19276 * Scripts/webkitpy/commands/early_warning_system.py: 19277 * Scripts/webkitpy/commands/queues.py: 19278 19279 2010-01-12 Adam Barth <abarth (a] webkit.org> 19280 19281 Unreviewed. Add "error" to the right part of the message. 19282 19283 * Scripts/webkitpy/commands/queues.py: 19284 19285 2010-01-12 Adam Barth <abarth (a] webkit.org> 19286 19287 Reviewed by Eric Seidel. 19288 19289 EWS should show purple when svn-apply fails 19290 https://bugs.webkit.org/show_bug.cgi?id=33527 19291 19292 * Scripts/webkitpy/commands/early_warning_system.py: 19293 * Scripts/webkitpy/commands/queues.py: 19294 19295 2010-01-12 Adam Barth <abarth (a] webkit.org> 19296 19297 Reviewed by Eric Seidel. 19298 19299 Remove copy/paste code from subclasses of AbstractReviewQueue 19300 https://bugs.webkit.org/show_bug.cgi?id=33525 19301 19302 * Scripts/webkitpy/commands/early_warning_system.py: 19303 * Scripts/webkitpy/commands/queues.py: 19304 19305 2010-01-12 Adam Barth <abarth (a] webkit.org> 19306 19307 Reviewed by Eric Seidel. 19308 19309 Add Gustavo and Xan as gtk-ews watchers 19310 https://bugs.webkit.org/show_bug.cgi?id=33519 19311 19312 * Scripts/webkitpy/commands/early_warning_system.py: 19313 19314 2010-01-12 Adam Barth <abarth (a] webkit.org> 19315 19316 Reviewed by Eric Seidel. 19317 19318 webkit-patch shouldn't waste my time for with a component prompt 19319 https://bugs.webkit.org/show_bug.cgi?id=33521 19320 19321 The component field isn't very useful for bugs created with 19322 webkit-patch because they're likely to be resolved quickly. Instead of 19323 always prompting for a component, we should just default to the "New 19324 Bugs" component. If the bug stays around for more than five minutes, 19325 we can assign it a proper component. 19326 19327 * Scripts/webkitpy/bugzilla.py: 19328 19329 2010-01-12 Adam Barth <abarth (a] webkit.org> 19330 19331 Reviewed by Eric Seidel. 19332 19333 Add experimental "land-safely" command to webkit-patch 19334 https://bugs.webkit.org/show_bug.cgi?id=33518 19335 19336 * Scripts/webkitpy/commands/upload.py: 19337 * Scripts/webkitpy/commands/upload_unittest.py: 19338 * Scripts/webkitpy/steps/__init__.py: 19339 * Scripts/webkitpy/steps/postdiffforcommit.py: Added. 19340 19341 2010-01-11 Kevin Ollivier <kevino (a] theolliviers.com> 19342 19343 [wx] Build fix after introduction of JS_NO_EXPORT 19344 19345 * wx/build/settings.py: 19346 19347 2010-01-11 Eric Seidel <eric (a] webkit.org> 19348 19349 No review, rolling out r53079. 19350 http://trac.webkit.org/changeset/53079 19351 https://bugs.webkit.org/show_bug.cgi?id=33197 19352 19353 Adam doens't think this actually works, and believe it caused 19354 a regression https://bugs.webkit.org/show_bug.cgi?id=33488 so 19355 rolling this out. 19356 19357 * Scripts/test-webkitpy: 19358 * Scripts/webkitpy/commands/abstractdiffcommand.py: Removed. 19359 * Scripts/webkitpy/commands/abstractdiffcommand_unittest.py: Removed. 19360 * Scripts/webkitpy/commands/download.py: 19361 * Scripts/webkitpy/commands/upload.py: 19362 * Scripts/webkitpy/mock_bugzillatool.py: 19363 19364 2010-01-10 Adam Barth <abarth (a] webkit.org> 19365 19366 Reviewed by David Kilzer. 19367 19368 bugzilla-tool submit-patch mistakenly picks up bug URLs in non-ChangeLog files 19369 https://bugs.webkit.org/show_bug.cgi?id=33197 19370 19371 We should just search for bug numbers in the ChangeLogs instead of in 19372 the whole diff. 19373 19374 * Scripts/test-webkitpy: 19375 * Scripts/webkitpy/commands/abstractdiffcommand.py: Added. 19376 * Scripts/webkitpy/commands/abstractdiffcommand_unittest.py: Added. 19377 * Scripts/webkitpy/commands/download.py: 19378 * Scripts/webkitpy/commands/upload.py: 19379 * Scripts/webkitpy/mock_bugzillatool.py: 19380 19381 2010-01-11 Chris Jerdonek <chris.jerdonek (a] gmail.com> 19382 19383 Reviewed by David Kilzer. 19384 19385 Created a unit-tested function to parse the header block of 19386 a Git or SVN diff -- for future refactoring of svn-apply and 19387 svn-unapply. 19388 19389 https://bugs.webkit.org/show_bug.cgi?id=33447 19390 19391 * Scripts/VCSUtils.pm: 19392 - Added parseDiffHeader(). 19393 - Removed irrelevant comment from gitdiff2svndiff(). 19394 19395 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: Added. 19396 - Added 48 unit tests for parseDiffHeader(). 19397 19398 2010-01-10 Adam Barth <abarth (a] webkit.org> 19399 19400 Rubber stamped by David Kilzer. 19401 19402 bugzilla-tool submit-patch mistakenly picks up bug URLs in non-ChangeLog files 19403 https://bugs.webkit.org/show_bug.cgi?id=33197 19404 19405 Fix a typo: Commmand -> Command. 19406 19407 * Scripts/webkitpy/commands/abstractsequencedcommand.py: 19408 * Scripts/webkitpy/commands/download.py: 19409 * Scripts/webkitpy/commands/queries.py: 19410 * Scripts/webkitpy/commands/upload.py: 19411 * Scripts/webkitpy/multicommandtool.py: 19412 19413 2010-01-10 Adam Barth <abarth (a] webkit.org> 19414 19415 Reviewed by Darin Adler. 19416 19417 Let webkit-patch work with options in $EDITOR 19418 https://bugs.webkit.org/show_bug.cgi?id=33414 19419 19420 The $EDITOR evironment variable might have command line options like 19421 bbedit -w. This patch lets us run those $EDITORs. 19422 19423 * Scripts/webkitpy/user.py: 19424 19425 2010-01-10 Robert Hogan <robert (a] roberthogan.net> 19426 19427 Reviewed by Adam Barth. 19428 19429 [Qt] Add enableXSSAuditor support to QWebSettings and DRT. 19430 19431 https://bugs.webkit.org/show_bug.cgi?id=33419 19432 19433 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 19434 (WebCore::WebPage::WebPage): 19435 (WebCore::WebPage::resetSettings): 19436 (WebCore::DumpRenderTree::createWindow): 19437 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 19438 (LayoutTestController::setXSSAuditorEnabled): 19439 * DumpRenderTree/qt/LayoutTestControllerQt.h: 19440 19441 2010-01-10 Adam Barth <abarth (a] webkit.org> 19442 19443 Unreviewed cosmetic change. Remove the status bubble for mac-ews 19444 because we don't have hardware for it at the moment. 19445 19446 * QueueStatusServer/templates/statusbubble.html: 19447 19448 2010-01-09 Daniel Bates <dbates (a] webkit.org> 19449 19450 No review, rolling out r53044. 19451 http://trac.webkit.org/changeset/53044 19452 https://bugs.webkit.org/show_bug.cgi?id=33419 19453 19454 We need to look into this some more because the Qt 19455 bot is failing the XSSAuditor tests. See bug #33419 19456 for more details. 19457 19458 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 19459 (WebCore::WebPage::WebPage): 19460 (WebCore::WebPage::resetSettings): 19461 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 19462 * DumpRenderTree/qt/LayoutTestControllerQt.h: 19463 19464 2010-01-09 Daniel Bates <dbates (a] webkit.org> 19465 19466 Reviewed by Adam Barth. 19467 19468 https://bugs.webkit.org/show_bug.cgi?id=33419 19469 19470 Adds support for the XSSAuditor to the Qt DRT. 19471 19472 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 19473 (WebCore::WebPage::WebPage): 19474 (WebCore::WebPage::resetSettings): 19475 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 19476 (LayoutTestController::setXSSAuditorEnabled): 19477 * DumpRenderTree/qt/LayoutTestControllerQt.h: 19478 19479 2010-01-09 Adam Barth <abarth (a] webkit.org> 19480 19481 Reviewed by Eric Seidel. 19482 19483 Retry writes to QueueStatusServer when we get 500 errors 19484 https://bugs.webkit.org/show_bug.cgi?id=33412 19485 19486 This prevents the queues from failing to mark a patch as "pass" or 19487 "fail" when AppEngine throws 500 errors. 19488 19489 * Scripts/test-webkitpy: 19490 * Scripts/webkitpy/networktransaction.py: Added. 19491 * Scripts/webkitpy/networktransaction_unittest.py: Added. 19492 * Scripts/webkitpy/statusserver.py: 19493 * Scripts/webkitpy/steps/closebugformarkbugfixed.py: Added. 19494 * Scripts/webkitpy/steps/closebugregardlessofpatches.py: Added. 19495 * Scripts/webkitpy/steps/findbugidfromsvnrevision.py: Added. 19496 19497 2010-01-09 David Kilzer <ddkilzer (a] apple.com> 19498 19499 <http://webkit.org/b/33430> Fix rounded borders in queue status on older Firefox and Safari browsers 19500 19501 Reviewed by Eric Seidel. 19502 19503 * QueueStatusServer/templates/statusbubble.html: Added 19504 -moz-border-radius and -webkit-border-radius to provide rounded 19505 borders in older Firefox and Safari browsers. 19506 19507 2010-01-09 Chris Jerdonek <chris.jerdonek (a] gmail.com> 19508 19509 Reviewed by David Kilzer. 19510 19511 Modified VCSUtils::gitdiff2svndiff() to accept strings that 19512 end in vertical white space. 19513 19514 https://bugs.webkit.org/show_bug.cgi?id=33415 19515 19516 * Scripts/VCSUtils.pm: 19517 * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl: 19518 19519 2010-01-08 Eric Seidel <eric (a] webkit.org> 19520 19521 Reviewed by Adam Barth. 19522 19523 run-javascriptcore-tests needs a --quiet flag 19524 https://bugs.webkit.org/show_bug.cgi?id=33399 19525 19526 Until run-javascriptcore-tests has a --quiet flag, lets just stiffle the output in webkit-patch. 19527 19528 * Scripts/webkitpy/steps/runtests.py: 19529 19530 2010-01-08 Andras Becsi <abecsi (a] inf.u-szeged.hu> 19531 19532 Reviewed by Alexey Proskuryakov. 19533 19534 Only run http and websocket tests as last if no argument is given to be able to explicitly control the test order. 19535 19536 To be able to run multiple instances of run-webkit-tests besides each other on the same machine we need to minimize 19537 the time when Apache and WebSocketServer is locked by tests. 19538 Because closeHTTPD() and closeWebSocketServer() is only called at the end of the testing, 19539 we need to run http and websocket tests after all other tests. 19540 If one however explicitly specifies the tests to run in the argument list of run-webkit-tests 19541 we need to preserve the given order. 19542 19543 * Scripts/run-webkit-tests: 19544 19545 2010-01-08 Adam Barth <abarth (a] webkit.org> 19546 19547 Reviewed by Eric Seidel. 19548 19549 Don't post style-queue pass messages to bugs 19550 https://bugs.webkit.org/show_bug.cgi?id=33404 19551 19552 These messages aren't needed any more now that we have the status 19553 bubble reporting pass events passively. 19554 19555 * Scripts/webkitpy/commands/queues.py: 19556 19557 2010-01-08 Adam Barth <abarth (a] webkit.org> 19558 19559 Reviewed by Eric Seidel. 19560 19561 Optimize the number of CPUs used for building Qt and Gtk 19562 https://bugs.webkit.org/show_bug.cgi?id=33394 19563 19564 Instead of hardcoding the number 8, we should read the number of CPUs 19565 from the environment. 19566 19567 * Scripts/webkitpy/executive.py: 19568 * Scripts/webkitpy/webkitport.py: 19569 * Scripts/webkitpy/webkitport_unittest.py: 19570 19571 2010-01-08 Chris Fleizach <cfleizach (a] apple.com> 19572 19573 Reviewed by Eric Seidel. 19574 19575 REGRESSION(52819?): AXLoadComplete and AXLayoutComplete causes 4 tests fail on Snow Leopard Debug bot 19576 https://bugs.webkit.org/show_bug.cgi?id=33300 19577 19578 * DumpRenderTree/AccessibilityUIElement.h: 19579 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 19580 (AccessibilityUIElement::AccessibilityUIElement): 19581 (AccessibilityUIElement::~AccessibilityUIElement): 19582 (_accessibilityNotificationCallback): 19583 (AccessibilityUIElement::addNotificationListener): 19584 19585 2010-01-08 Eric Seidel <eric (a] webkit.org> 19586 19587 Reviewed by Simon Hausmann. 19588 19589 commit-queue should run run-javascriptcore-tests 19590 https://bugs.webkit.org/show_bug.cgi?id=33376 19591 19592 I also made it run the python and perl unit tests. 19593 19594 * Scripts/webkitpy/steps/runtests.py: 19595 * Scripts/webkitpy/webkitport.py: 19596 19597 2010-01-07 Andras Becsi <abecsi (a] inf.u-szeged.hu> 19598 19599 Reviewed by Darin Adler. 19600 19601 Run the http and websocket tests after all other tests. 19602 https://bugs.webkit.org/show_bug.cgi?id=33153 19603 19604 * Scripts/run-webkit-tests: 19605 19606 2010-01-07 Adam Barth <abarth (a] webkit.org> 19607 19608 Reviewed by Eric Seidel. 19609 19610 Fix some test-webkitpy expectations 19611 https://bugs.webkit.org/show_bug.cgi?id=33345 19612 19613 I forgot to change these when I added the CheckStyle step. 19614 19615 * Scripts/webkitpy/commands/upload_unittest.py: 19616 19617 2010-01-07 Adam Barth <abarth (a] webkit.org> 19618 19619 Reviewed by Eric Seidel. 19620 19621 webkit-patch edit-changelogs (or upload) will open blank files if run outside the root 19622 https://bugs.webkit.org/show_bug.cgi?id=33341 19623 19624 Fix this by moving to the root directory before editing ChangeLogs. 19625 There is a related bug with CheckStyle. 19626 19627 * Scripts/webkitpy/steps/checkstyle.py: 19628 * Scripts/webkitpy/steps/editchangelog.py: 19629 19630 2010-01-07 Eric Seidel <eric (a] webkit.org> 19631 19632 Reviewed by Nikolas Zimmermann. 19633 19634 media/unsupported-tracks.html is failing on Snow Leopard Release bot 19635 https://bugs.webkit.org/show_bug.cgi?id=32339 19636 19637 This is a speculative fix. I do not have a Snow Leopard machine to test on 19638 and I've not seen mention of someone being able to reproduce this locally. 19639 19640 Prevent watchdog timer from firing after a test completes but before 19641 the next one starts, causing the error to appear in the next test. 19642 19643 * DumpRenderTree/mac/DumpRenderTree.mm: 19644 (dump): Stop the watchdog before printing #EOF for the test content. 19645 We only need to care about the JavaScript of the test running too long 19646 or some hang in WebCore. Any other failures will be covered by the calling 19647 script's own watchdog timer. 19648 19649 2010-01-07 Eric Seidel <eric (a] webkit.org> 19650 19651 Reviewed by Adam Barth. 19652 19653 commit-queue is stuck spinning due to exception 19654 https://bugs.webkit.org/show_bug.cgi?id=33358 19655 19656 * Scripts/webkitpy/commands/queues.py: 19657 - Don't try to stringify the exception. 19658 19659 2010-01-07 Mark Rowe <mrowe (a] apple.com> 19660 19661 Reviewed by Jon Honeycutt. 19662 19663 Don't leak a JSStringRef within _accessibilityNotificationCallback. 19664 19665 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 19666 (_accessibilityNotificationCallback): Have a JSRetainPtr adopt the JSStringRef so that it will be cleaned up 19667 when it goes out of scope. 19668 19669 2010-01-07 Simon Fraser <simon.fraser (a] apple.com> 19670 19671 Reviewed by Darin Adler. 19672 19673 Add proposed rename of HTMLPlugInImageElement to HTMLEmbeddedObjectElement. 19674 19675 * Scripts/do-webcore-rename: 19676 19677 2010-01-07 Kim Grnholm <kim.gronholm (a] nomovok.com> 19678 19679 Reviewed by Antti Koivisto. 19680 19681 Wrong state and TouchLists in TouchEvents 19682 https://bugs.webkit.org/show_bug.cgi?id=32878 19683 19684 * DumpRenderTree/qt/EventSenderQt.cpp: 19685 (EventSender::touchStart): 19686 (EventSender::touchEnd): 19687 (EventSender::clearTouchPoints): 19688 * DumpRenderTree/qt/EventSenderQt.h: 19689 19690 2010-01-07 Chris Jerdonek <chris.jerdonek (a] gmail.com> 19691 19692 Reviewed by Adam Barth. 19693 19694 Created a module that runs the style package unit tests. 19695 19696 https://bugs.webkit.org/show_bug.cgi?id=32973 19697 19698 * Scripts/test-webkitpy: 19699 * Scripts/webkitpy/style/unittests.py: Added. 19700 19701 2010-01-07 Adam Barth <abarth (a] webkit.org> 19702 19703 Reviewed by Maciej Stachowiak. 19704 19705 Don't print a redundant message when confirming a diff 19706 https://bugs.webkit.org/show_bug.cgi?id=33315 19707 19708 Instead of saying "ERROR: User declined" we should just exit because 19709 the use knows they just declined! 19710 19711 * Scripts/webkitpy/steps/confirmdiff.py: 19712 19713 2010-01-07 Adam Barth <abarth (a] webkit.org> 19714 19715 Reviewed by Maciej Stachowiak. 19716 19717 Check style before uploading a patch 19718 https://bugs.webkit.org/show_bug.cgi?id=33314 19719 19720 * Scripts/webkitpy/commands/upload.py: 19721 * Scripts/webkitpy/steps/checkstyle.py: 19722 * Scripts/webkitpy/steps/options.py: 19723 19724 2010-01-07 Adam Barth <abarth (a] webkit.org> 19725 19726 Reviewed by Maciej Stachowiak. 19727 19728 Add prepare and post to webkit-patch main help 19729 https://bugs.webkit.org/show_bug.cgi?id=33313 19730 19731 * Scripts/webkitpy/commands/upload.py: 19732 19733 2010-01-07 Eric Seidel <eric (a] webkit.org> 19734 19735 Reviewed by Adam Barth. 19736 19737 Add Chromium bots to the list of "core builders" (builders which stop the commit-queue when they turn red) 19738 https://bugs.webkit.org/show_bug.cgi?id=33290 19739 19740 Add the Chromium builders to our list of core builders and test that our regexps work. 19741 I also updated our regexp testing to make sure we cover all known builders at build.webkit.org. 19742 19743 * Scripts/webkitpy/buildbot.py: 19744 * Scripts/webkitpy/buildbot_unittest.py: 19745 19746 2010-01-07 Adam Barth <abarth (a] webkit.org> 19747 19748 Reviewed by Eric Seidel. 19749 19750 bugzilla-tool needs a new name 19751 https://bugs.webkit.org/show_bug.cgi?id=28459 19752 19753 Rename bugzilla-tool to webkit-patch. Also, rename some commands to 19754 make more sense with the new name. 19755 19756 * Scripts/bugzilla-tool: Removed. 19757 * Scripts/webkit-patch: Added. 19758 * Scripts/webkit-tools-completion.sh: 19759 * Scripts/webkitpy/bugzilla_unittest.py: 19760 * Scripts/webkitpy/commands/download.py: 19761 * Scripts/webkitpy/commands/download_unittest.py: 19762 * Scripts/webkitpy/commands/early_warning_system.py: 19763 * Scripts/webkitpy/commands/queries.py: 19764 * Scripts/webkitpy/commands/queues.py: 19765 * Scripts/webkitpy/commands/queues_unittest.py: 19766 * Scripts/webkitpy/commands/upload.py: 19767 * Scripts/webkitpy/commands/upload_unittest.py: 19768 * Scripts/webkitpy/queueengine.py: 19769 * Scripts/webkitpy/steps/completerollout.py: 19770 19771 2010-01-07 Chris Jerdonek <chris.jerdonek (a] gmail.com> 19772 19773 Reviewed by Eric Seidel. 19774 19775 Moved style-related modules to webkitpy.style sub-package. 19776 19777 https://bugs.webkit.org/show_bug.cgi?id=32971 19778 19779 * Scripts/check-webkit-style: 19780 - Updated import statement. 19781 19782 * Scripts/test-webkitpy: 19783 - Updated import statements. 19784 19785 * Scripts/webkitpy/cpp_style.py: Removed. 19786 - Moved to webkitpy/style. 19787 19788 * Scripts/webkitpy/cpp_style_unittest.py: Removed. 19789 - Moved to webkitpy/style. 19790 19791 * Scripts/webkitpy/style.py: Removed. 19792 - Moved to webkitpy/style/checker.py. 19793 19794 * Scripts/webkitpy/style/__init__.py: Added. 19795 - Added containing webkitpy directory to package search path. 19796 19797 * Scripts/webkitpy/style/checker.py: Copied from Scripts/webkitpy/style.py. 19798 * Scripts/webkitpy/style/checker_unittest.py: Copied from Scripts/webkitpy/style_unittest.py. 19799 - Updated import statement. 19800 19801 * Scripts/webkitpy/style/cpp_style.py: Copied from Scripts/webkitpy/cpp_style.py. 19802 * Scripts/webkitpy/style/cpp_style_unittest.py: Copied from Scripts/webkitpy/cpp_style_unittest.py. 19803 - Update import statement. 19804 19805 * Scripts/webkitpy/style/text_style.py: Copied from Scripts/webkitpy/text_style.py. 19806 * Scripts/webkitpy/style/text_style_unittest.py: Copied from Scripts/webkitpy/text_style_unittest.py. 19807 * Scripts/webkitpy/style_unittest.py: Removed. 19808 - Moved to webkitpy/style/checker_unittest.py. 19809 19810 * Scripts/webkitpy/text_style.py: Removed. 19811 - Moved to webkitpy/style. 19812 19813 * Scripts/webkitpy/text_style_unittest.py: Removed. 19814 - Moved to webkitpy/style. 19815 19816 2010-01-06 Kinuko Yasuda <kinuko (a] chromium.org> 19817 19818 Reviewed by Eric Seidel. 19819 19820 [Qt] Support the 3rd argument of EventSender.keyDown that 19821 has been recently added to report keyLocation 19822 (see also: https://bugs.webkit.org/show_bug.cgi?id=28247). 19823 https://bugs.webkit.org/show_bug.cgi?id=33250 19824 19825 Test: fast/events/keydown-numpad-keys.html 19826 19827 * DumpRenderTree/qt/EventSenderQt.cpp: 19828 (EventSender::keyDown): 19829 * DumpRenderTree/qt/EventSenderQt.h: 19830 19831 2010-01-06 Eric Seidel <eric (a] webkit.org> 19832 19833 Reviewed by Adam Barth. 19834 19835 Add long_help for all common commands. 19836 https://bugs.webkit.org/show_bug.cgi?id=33261 19837 19838 For now these long_helps are pretty basic. 19839 These were all written to just explain the steps 19840 that each command runs. This style long_help could 19841 be made easier by using: 19842 https://bugs.webkit.org/show_bug.cgi?id=33257 19843 19844 * Scripts/webkitpy/commands/download.py: 19845 * Scripts/webkitpy/commands/queries.py: 19846 19847 2010-01-06 Diego Gonzalez <diego.gonzalez (a] openbossa.org> 19848 19849 Reviewed by Kenneth Christiansen. 19850 19851 [Qt] Add page zooming support to Qt DumpRenderTree 19852 https://bugs.webkit.org/show_bug.cgi?id=32898 19853 19854 Patch by Kim Grnholm <kim.gronholm (a] nomovok.com>, 19855 Diego Gonzalez <diego.gonzalez (a] openbossa.org> and 19856 Afonso Costa <afonso.costa (a] openbossa.org> 19857 19858 * DumpRenderTree/qt/EventSenderQt.cpp: 19859 (EventSender::zoomPageIn): 19860 (EventSender::zoomPageOut): 19861 * DumpRenderTree/qt/EventSenderQt.h: 19862 19863 2010-01-06 Eric Seidel <eric (a] webkit.org> 19864 19865 No review, just adding Mike Belshe's new bugzilla email at his request. 19866 19867 * Scripts/webkitpy/committers.py: 19868 19869 2010-01-06 Eric Seidel <eric (a] webkit.org> 19870 19871 Unreviewed. Rolling out r52869 and r52853 due to bot 19872 and local run-webkit-test failures 19873 19874 REGRESSION(52854?) fast/workers/shared-worker-constructor.html failed on Leopard Build Bot 19875 https://bugs.webkit.org/show_bug.cgi?id=33256 19876 19877 The original bug was https://bugs.webkit.org/show_bug.cgi?id=33153 19878 19879 * Scripts/run-webkit-tests: 19880 19881 2010-01-06 Eric Seidel <eric (a] webkit.org> 19882 19883 Unreviewed "build" fix. Just adding missing include. 19884 19885 bugzilla-tool rollout --complete-rollout should make a nicer bug comment 19886 https://bugs.webkit.org/show_bug.cgi?id=29212 19887 19888 * Scripts/webkitpy/steps/completerollout.py: 19889 19890 2010-01-06 Eric Seidel <eric (a] webkit.org> 19891 19892 Reviewed by Adam Barth. 19893 19894 bugzilla-tool rollout --complete-rollout should make a nicer bug comment 19895 https://bugs.webkit.org/show_bug.cgi?id=29212 19896 19897 * Scripts/webkitpy/bugzilla.py: 19898 - Make reopen_bug robust against the bug already being open. 19899 * Scripts/webkitpy/commands/download.py: 19900 - Remove dead code from Rollout. 19901 * Scripts/webkitpy/steps/completerollout.py: 19902 - Improve the rollout comment. 19903 19904 2010-01-06 Andras Becsi <abecsi (a] inf.u-szeged.hu> 19905 19906 Reviewed by Darin Adler. 19907 19908 Set isHttpdOpen to 0 if pidfile does not exist for some reason. 19909 Speculative fix for https://bugs.webkit.org/show_bug.cgi?id=33256. 19910 19911 * Scripts/run-webkit-tests: 19912 19913 2010-01-06 Andras Becsi <abecsi (a] inf.u-szeged.hu> 19914 19915 Reviewed by Darin Adler. 19916 19917 Change hardcoded /tmp in run-webkit-tests to File::Spec->tmpdir(), 19918 and remove the httpd's pidfile directory if httpd terminated. 19919 19920 * Scripts/run-webkit-tests: 19921 19922 2010-01-05 Chris Jerdonek <chris.jerdonek (a] gmail.com> 19923 19924 Reviewed by David Levin. 19925 19926 Refactored check-webkit-style's argument parser to not rely 19927 on global state, and improved its error handling and unit 19928 test coverage. 19929 19930 https://bugs.webkit.org/show_bug.cgi?id=32966 19931 19932 * Scripts/check-webkit-style: 19933 - Adjusted to use new argument parser. 19934 19935 * Scripts/webkitpy/cpp_style.py: 19936 - Changed _CppStyleState to accept an array of filter rules 19937 instead of a comma-delimited string. 19938 - Eliminated cpp_style._DEFAULT_FILTER_RULES. 19939 - Eliminated cpp_style._USAGE. 19940 19941 * Scripts/webkitpy/cpp_style_unittest.py: 19942 - Updated test_filter() and test_default_filter(). 19943 19944 * Scripts/webkitpy/style.py: 19945 - Converted style._USAGE to create_usage(). 19946 - Corrected usage instructions by removing 0 as a valid 19947 --verbose flag value. 19948 - Removed use_webkit_styles(). 19949 - Added ProcessorOptions class. 19950 - Added ArgumentDefaults class. 19951 - Added ArgumentPrinter class. 19952 - Removed parse_arguments and added ArgumentParser class. 19953 - Moved exit_with_usage() and exit_with_categories() into 19954 ArgumentParser. 19955 - Refactored parse_arguments() as ArgumentParser.parse(). 19956 - Improved parser error handling. 19957 19958 * Scripts/webkitpy/style_unittest.py: 19959 - Added DefaultArgumentsTest class. 19960 - Addressed FIXME to check style.WEBKIT_FILTER_RULES 19961 against style.STYLE_CATEGORIES. 19962 - Added ArgumentPrinterTest class. 19963 - Added ArgumentParserTest class and rewrote parser unit tests. 19964 19965 2010-01-05 Adam Roben <aroben (a] apple.com> 19966 19967 Test that it's safe to call IWebView::close when 19968 IWebView::initWithFrame hasn't been called 19969 19970 Part of <http://webkit.org/b/32827> Crash when calling 19971 IWebView::close, then releasing the WebView, without calling 19972 DestroyWindow 19973 19974 Reviewed by Steve Falkenburg. 19975 19976 * WebKitAPITest/tests/WebViewDestruction.cpp: 19977 (WebKitAPITest::CloseWithoutInitWithFrame): Calls IWebView::close 19978 without ever calling IWebView::initWithFrame and tests that we don't 19979 crash or leak. 19980 19981 2010-01-05 Adam Roben <aroben (a] apple.com> 19982 19983 Add more WebViewDestruction tests 19984 19985 Fixes <http://webkit.org/b/33216>. 19986 19987 Reviewed by Eric Seidel. 19988 19989 * WebKitAPITest/tests/WebViewDestruction.cpp: 19990 (WebKitAPITest::NoInitWithFrame): 19991 (WebKitAPITest::CloseThenDestroyViewWindow): 19992 (WebKitAPITest::DestroyViewWindowThenClose): 19993 (WebKitAPITest::DestroyHostWindow): 19994 (WebKitAPITest::DestroyHostWindowThenClose): 19995 (WebKitAPITest::CloseThenDestroyHostWindow): 19996 Added these tests that exercise tearing down a WebView in various 19997 ways, all of which we eventually want to have work. Some of them 19998 currently crash or leak. 19999 20000 2010-01-05 Robert Hogan <robert (a] roberthogan.net> 20001 20002 Reviewed by Eric Seidel. 20003 20004 [Qt] fix DRT link failures on --no-svg builds when only making changes to DRT 20005 20006 If you're working from a --minimal or --no-svg build and make changes to the 20007 DRT, then recompile, the build will fail. 20008 20009 This is because the current behavior at build time is to assume that the 20010 previous Qt build supported SVG and consequently delete libQtWebKit.so. 20011 Unfortunately, just deleting libQtWebKit.so will not cause the library to 20012 re-link. Instead the build will see libQtWebKit.so.4 and co., pass over the 20013 linking phase, and attempt to link the DRT with libQtWebKit.so absent. This 20014 results in a link failure on the DRT. 20015 20016 Since re-linking libQtWebKit can take up to ten minutes and should be avoided 20017 in cases where not actually required, remove the assumption that 20018 the previous Qt build supported SVG, and amend the symbol detection to look for 20019 a symbol name that is not present in SVG builds. Currently webkitdirs.pm looks 20020 for 'SVGElement' but even non-SVG builds contain the symbol 'isSVGElement'. 20021 20022 https://bugs.webkit.org/show_bug.cgi?id=32992 20023 20024 * Scripts/webkitdirs.pm: 20025 20026 2010-01-05 Chris Jerdonek <chris.jerdonek (a] gmail.com> 20027 20028 Reviewed by David Kilzer. 20029 20030 Switched to generating list of Perl unit test files dynamically, 20031 instead of explicitly. 20032 20033 https://bugs.webkit.org/show_bug.cgi?id=33200 20034 20035 * Scripts/test-webkitperl: 20036 20037 2010-01-05 Yael Aharon <yael.aharon (a] nokia.com> 20038 20039 Reviewed by Kenneth Rohde Christiansen. 20040 20041 [Qt] Reimplement EventSender::leapForward 20042 https://bugs.webkit.org/show_bug.cgi?id=33114 20043 20044 Follow Windows implementation of leapForward. When leapForward is called, 20045 messages are queued and posted after the timeout. A new event loop is created to 20046 handle those messages and the additional messages that are created as a result. 20047 20048 * DumpRenderTree/qt/DumpRenderTree.pro: 20049 * DumpRenderTree/qt/EventSenderQt.cpp: 20050 (EventSender::EventSender): 20051 (EventSender::mouseDown): 20052 (EventSender::mouseUp): 20053 (EventSender::mouseMoveTo): 20054 (EventSender::leapForward): 20055 (EventSender::sendOrQueueEvent): 20056 (EventSender::replaySavedEvents): 20057 (EventSender::eventFilter): 20058 * DumpRenderTree/qt/EventSenderQt.h: 20059 20060 2010-01-05 Adam Barth <abarth (a] webkit.org> 20061 20062 Reviewed by Darin Adler. 20063 20064 Fix obscure queue crash in queueengine 20065 https://bugs.webkit.org/show_bug.cgi?id=33196 20066 20067 Sometimes we get an exception that can't be stringified. For example: 20068 20069 AttributeError: 'ParseError' object has no attribute 'msg' 20070 20071 In these cases, the whole queue dies because we're in the global 20072 exception handler. Instead of dieing here, we should just print a less 20073 informative message to the console. We're already printing the whole 20074 backtrace anyway, so there's not much point to stringifying the 20075 exception anyway. 20076 20077 * Scripts/webkitpy/queueengine.py: 20078 20079 2010-01-05 Dominic Mazzoni <dmazzoni (a] google.com> 20080 20081 Reviewed by Darin Adler. 20082 20083 https://bugs.webkit.org/show_bug.cgi?id=32571 20084 20085 For an object with an aria role of "checkbox" or "radiobutton", 20086 use the "aria-checked" attribute to determine if it's checked. 20087 These changes add an isChecked() method to AccessibilityUIElement 20088 so that we can check for this property from a layout test. 20089 20090 * DumpRenderTree/AccessibilityUIElement.cpp: 20091 (getIsCheckedCallback): 20092 (AccessibilityUIElement::getJSClass): 20093 * DumpRenderTree/AccessibilityUIElement.h: 20094 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 20095 (AccessibilityUIElement::isChecked): 20096 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 20097 (AccessibilityUIElement::isChecked): 20098 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 20099 (AccessibilityUIElement::isChecked): 20100 20101 2010-01-05 David Levin <levin (a] chromium.org> 20102 20103 Reviewed by Darin Adler. 20104 20105 Having a comment for the #endif for a header guard is not required WebKit style. 20106 https://bugs.webkit.org/show_bug.cgi?id=33214 20107 20108 * Scripts/webkitpy/cpp_style.py: removed the check and made the loop exit 20109 early when it has all the needed information to continue. 20110 * Scripts/webkitpy/cpp_style_unittest.py: removed the corresponding tests. 20111 20112 2010-01-05 Adam Roben <aroben (a] apple.com> 20113 20114 Share more code in the WebViewDestruction tests 20115 20116 Part of <http://webkit.org/b/33212> Small fixes/improvements to 20117 WebKitAPITest 20118 20119 Reviewed by Sam Weinig. 20120 20121 * WebKitAPITest/tests/WebViewDestruction.cpp: 20122 (WebKitAPITest::createAndInitializeWebView): Renamed from 20123 createWebView. Now initializes the HostWindow and returns the 20124 WebView's HWND via an out-parameter. 20125 (WebKitAPITest::finishWebViewDestructionTest): Added. Code came from 20126 the CloseWithoutDestroyWindow test. 20127 (WebKitAPITest::CloseWithoutDestroyViewWindow): Renamed from 20128 CloseWithoutDestroyWindow and changed to use the new functions. 20129 (WebKitAPITest::MainFrameAfterClose): Changed to use the new 20130 functions. 20131 (WebKitAPITest::NoCloseOrDestroyViewWindow): Renamed from 20132 NoCloseOrDestroyWindow and changed to use the new functions. 20133 20134 2010-01-05 Adam Roben <aroben (a] apple.com> 20135 20136 Don't show HostWindows by default 20137 20138 This was making WebKitAPITest very flashy as windows appeared and 20139 disappeared. 20140 20141 Part of <http://webkit.org/b/33212> Small fixes/improvements to 20142 WebKitAPITest 20143 20144 Reviewed by Sam Weinig. 20145 20146 * WebKitAPITest/HostWindow.cpp: 20147 (WebKitAPITest::HostWindow::initialize): Removed the WS_VISIBLE style 20148 from the window. 20149 20150 2010-01-05 Adam Roben <aroben (a] apple.com> 20151 20152 Don't hang in WebKitAPITest if no messages have been posted 20153 20154 Part of <http://webkit.org/b/33212> Small fixes/improvements to 20155 WebKitAPITest 20156 20157 Reviewed by Sam Weinig. 20158 20159 * WebKitAPITest/tests/WebViewDestruction.cpp: 20160 (WebKitAPITest::runMessagePump): Use PeekMessage instead of GetMessage 20161 to avoid hanging if no messages have been posted. 20162 20163 2010-01-05 Adam Roben <aroben (a] apple.com> 20164 20165 Fix WebKitCreateInstance helper 20166 20167 Part of <http://webkit.org/b/33212> Small fixes/improvements to 20168 WebKitAPITest 20169 20170 Reviewed by Sam Weinig. 20171 20172 * WebKitAPITest/tests/WebViewDestruction.cpp: 20173 (WebKitAPITest::WebKitCreateInstance): Pass the pointer straight 20174 through, instead of taking its address. 20175 20176 2010-01-04 Maciej Stachowiak <mjs (a] apple.com> 20177 20178 Reviewed by Darin Fisher. 20179 20180 Reorganize, document and rename OS() platform macros. 20181 https://bugs.webkit.org/show_bug.cgi?id=33198 20182 20183 Adapt to name changes. 20184 20185 * DumpRenderTree/DumpRenderTree.h: 20186 * DumpRenderTree/config.h: 20187 20188 2010-01-05 Chris Jerdonek <chris.jerdonek (a] gmail.com> 20189 20190 Reviewed by Eric Seidel. 20191 20192 Minor improvements to test-webkit-scripts, as suggested 20193 by an earlier review. 20194 20195 https://bugs.webkit.org/show_bug.cgi?id=33125 20196 20197 * Scripts/test-webkit-scripts: 20198 - Used OptionParser class instead of getopt.getopt(). 20199 - Created main() method for __main__ block. 20200 - Enclosed functions in a class. 20201 20202 2010-01-05 Chris Fleizach <cfleizach (a] apple.com> 20203 20204 No review. Fix DRT breakage on Tiger/Leopard. 20205 20206 Add ARIA "Live Region" support 20207 https://bugs.webkit.org/show_bug.cgi?id=33117 20208 20209 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 20210 20211 2010-01-04 Chris Fleizach <cfleizach (a] apple.com> 20212 20213 Reviewed by Darin Adler. 20214 20215 Add ARIA "Live Region" support 20216 https://bugs.webkit.org/show_bug.cgi?id=33117 20217 20218 * DumpRenderTree/AccessibilityUIElement.cpp: 20219 (indexOfChildCallback): 20220 (boolAttributeValueCallback): 20221 (stringAttributeValueCallback): 20222 (addNotificationListenerCallback): 20223 (AccessibilityUIElement::getJSClass): 20224 * DumpRenderTree/AccessibilityUIElement.h: 20225 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 20226 (AccessibilityUIElement::indexOfChild): 20227 (AccessibilityUIElement::stringAttributeValue): 20228 (AccessibilityUIElement::boolAttributeValue): 20229 (AccessibilityUIElement::addNotificationListener): 20230 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 20231 (AccessibilityUIElement::indexOfChild): 20232 (AccessibilityUIElement::stringAttributeValue): 20233 (AccessibilityUIElement::boolAttributeValue): 20234 (_accessibilityNotificationCallback): 20235 (AccessibilityUIElement::addNotificationListener): 20236 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 20237 (AccessibilityUIElement::indexOfChild): 20238 (AccessibilityUIElement::stringAttributeValue): 20239 (AccessibilityUIElement::boolAttributeValue): 20240 (AccessibilityUIElement::addNotificationListener): 20241 20242 2010-01-04 Eric Seidel <eric (a] webkit.org> 20243 20244 Reviewed by Adam Barth. 20245 20246 bugzilla-tool rollout should require a reason 20247 https://bugs.webkit.org/show_bug.cgi?id=30810 20248 20249 * Scripts/webkitpy/changelogs.py: Add support for a reason, add auto-wrapping logic. 20250 * Scripts/webkitpy/changelogs_unittest.py: Test reason support. 20251 * Scripts/webkitpy/commands/download.py: rollout now requires a reason, remove unused BUGID argument 20252 * Scripts/webkitpy/commands/download_unittest.py: pass required reason 20253 * Scripts/webkitpy/steps/preparechangelogforrevert.py: pass reason to update_for_revert 20254 20255 2010-01-04 Jon Honeycutt <jhoneycutt (a] apple.com> 20256 20257 MSAA: <select> elements should broadcast value change events 20258 20259 https://bugs.webkit.org/show_bug.cgi?id=33088 20260 20261 <rdar://problem/7332364> 20262 20263 Reviewed by Darin Adler. 20264 20265 * DumpRenderTree/AccessibilityController.cpp: 20266 (logValueChangeEventsCallback): 20267 Start logging value change events. 20268 (AccessibilityController::getJSClass): 20269 Add a "logValueChangeEvents" to the AccessibilityController's JS class 20270 definition. 20271 (AccessibilityController::resetToConsistentState): 20272 Disable logging of value change events. 20273 20274 * DumpRenderTree/AccessibilityController.h: 20275 Declare setLogValueChangeEvents(), and add a member variable for the 20276 value change event hook. 20277 20278 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp: 20279 (AccessibilityController::setLogValueChangeEvents): 20280 Stubbed. 20281 20282 * DumpRenderTree/mac/AccessibilityControllerMac.mm: 20283 (AccessibilityController::setLogValueChangeEvents): 20284 Stubbed. 20285 20286 * DumpRenderTree/win/AccessibilityControllerWin.cpp: 20287 (AccessibilityController::AccessibilityController): 20288 Initialize new member var. 20289 (AccessibilityController::~AccessibilityController): 20290 Disable logging of value change events. 20291 (logEventProc): 20292 When we receive an EVENT_OBJECT_VALUECHANGE, log the name of the object 20293 and its value. 20294 (AccessibilityController::setLogValueChangeEvents): 20295 If disabling logging, unhook the event, and clear the event hook 20296 member var. Otherwise, query for the root element to enable 20297 accessibility, and hook EVENT_OBJECT_VALUECHANGE. 20298 20299 2010-01-04 Adam Barth <abarth (a] webkit.org> 20300 20301 Reviewed by Eric Seidel. 20302 20303 long_help for submit-patch 20304 https://bugs.webkit.org/show_bug.cgi?id=33184 20305 20306 * Scripts/webkitpy/commands/upload.py: 20307 20308 2010-01-04 Adam Barth <abarth (a] webkit.org> 20309 20310 Reviewed by Eric Seidel. 20311 20312 commit-queue can wrongly reject patches if the buildbots are behind 20313 https://bugs.webkit.org/show_bug.cgi?id=30098 20314 20315 Check to make sure we can currently build and test before trying to 20316 land a patch. 20317 20318 * Scripts/webkitpy/commands/queues.py: 20319 20320 2010-01-04 Adam Roben <aroben (a] apple.com> 20321 20322 Add a test harness for the Windows WebKit API, and a few tests 20323 20324 We currently only have tests for a handful of bugs regarding WebView 20325 destruction, but more tests can easily be added later. Eventually 20326 we'll run these tests as part of run-webkit-tests. 20327 20328 Fixes <http://webkit.org/b/33167>. 20329 20330 Reviewed by Sam Weinig. 20331 20332 * WebKitAPITest/HostWindow.cpp: Added. 20333 (WebKitAPITest::HostWindow::HostWindow): Initialize m_window. 20334 (WebKitAPITest::HostWindow::~HostWindow): Destroy our window if 20335 needed. 20336 (WebKitAPITest::HostWindow::initialize): Create our window. 20337 (WebKitAPITest::HostWindow::clientRect): Return our window's client 20338 rect. 20339 (WebKitAPITest::HostWindow::registerWindowClass): Does what it says. 20340 (WebKitAPITest::HostWindow::wndProc): Just call through to 20341 DefWindowProcW. 20342 20343 * WebKitAPITest/HostWindow.h: Added. 20344 (WebKitAPITest::HostWindow::window): Simple getter. 20345 20346 * WebKitAPITest/Test.h: Added. This file defines some macros useful 20347 for writing tests. 20348 20349 * WebKitAPITest/TestsController.cpp: Added. 20350 (WebKitAPITest::TestsController::TestsController): Initialize our 20351 members. 20352 (WebKitAPITest::TestsController::shared): Return the shared instance. 20353 (WebKitAPITest::TestsController::runAllTests): Run a message pump 20354 until a WM_QUIT message is received, then return whether all tests 20355 succeeded. 20356 (WebKitAPITest::TestsController::addTest): Add the test to m_tests and 20357 start running tests soon. 20358 (WebKitAPITest::TestsController::testFailed): Record the failure and 20359 print a message about it to stdout. 20360 (WebKitAPITest::TestsController::runNextTest): If we don't have any 20361 tests to run, post a WM_QUIT message to stop the message pump. 20362 Otherwise, run the test and print whether it passed, then schedule the 20363 next test. 20364 (WebKitAPITest::TestsController::runNextTestSoon): Set a 0-delay timer 20365 to run the next test. 20366 (WebKitAPITest::TestsController::registerWindowClass): Does what it 20367 says. 20368 (WebKitAPITest::TestsController::wndProc): If the runNextTestTimer 20369 fired, call runNextTest(). Pass everything else through to 20370 DefWindowProcW. 20371 20372 * WebKitAPITest/TestsController.h: Added. 20373 20374 * WebKitAPITest/WebKitAPITest.vcproj: Added. 20375 20376 * WebKitAPITest/WebKitAPITestCommon.vsprops: Added. 20377 20378 * WebKitAPITest/main.cpp: Added. 20379 (main): (Mostly) just calls TestsController::runAllTests. 20380 20381 * WebKitAPITest/tests/WebViewDestruction.cpp: Added. 20382 (WebKitAPITest::WebKitCreateInstance): Helper function template to 20383 call through to the real WebKitCreateInstance. 20384 (WebKitAPITest::webViewCount): Helper function to call through to 20385 IWebKitStatistics::webViewCount. 20386 (WebKitAPITest::createWebView): Helper function to create a WebView 20387 and put it inside a HostWindow. 20388 (WebKitAPITest::runMessagePump): Helper function to run a message pump 20389 for a specified number of milliseconds, or until a WM_QUIT message is 20390 received. 20391 (WebKitAPITest::CloseWithoutDestroyWindow): Test for 20392 <http://webkit.org/b/32827>. 20393 (WebKitAPITest::MainFrameAfterClose): Test for 20394 <http://webkit.org/b/32868>. 20395 (WebKitAPITest::NoCloseOrDestroyWindow): Test for 20396 <http://webkit.org/b/33162>. 20397 20398 2010-01-04 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 20399 20400 Reviewed by David Kilzer. 20401 20402 Add support for Git's "diff.mnemonicprefix" config option to WebKitTools 20403 20404 https://bugs.webkit.org/show_bug.cgi?id=32820 20405 20406 * Scripts/VCSUtils.pm: 20407 * Scripts/svn-apply: 20408 * Scripts/svn-unapply: 20409 * Scripts/test-webkitperl: Run gitdiff2svndiff test 20410 * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl: Added. 20411 * Scripts/webkitpy/diff_parser.py: 20412 * Scripts/webkitpy/diff_parser_unittest.py: 20413 20414 2010-01-04 Chris Jerdonek <chris.jerdonek (a] gmail.com> 20415 20416 Reviewed by David Kilzer. 20417 20418 Divided the Perl unit tests into separate files and put 20419 them in a separate directory, and renamed test-webkit-perl 20420 to test-webkitperl. 20421 20422 https://bugs.webkit.org/show_bug.cgi?id=33124 20423 20424 * Scripts/VCSUtils.pm: 20425 - Renamed generateRunPatchCommand() to generatePatchCommand(). 20426 20427 * Scripts/VCSUtils_unittest.pl: Removed. 20428 - Divided into three files in Scripts/webkitperl/VCSUtils_unittest. 20429 20430 * Scripts/test-webkit-perl: Removed. 20431 - Renamed to test-webkitperl. 20432 20433 * Scripts/test-webkit-scripts: 20434 - Updated paths to test-webkitpy and test-webkitperl. 20435 20436 * Scripts/test-webkitperl: Copied from Scripts/test-webkit-perl. 20437 - Added paths to new test files. 20438 20439 * Scripts/webkitperl: Added. 20440 * Scripts/webkitperl/VCSUtils_unittest: Added. 20441 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl: Added. 20442 * Scripts/webkitperl/VCSUtils_unittest/generatePatchCommand.pl: Added. 20443 * Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl: Copied from Scripts/VCSUtils_unittest.pl. 20444 20445 2010-01-04 Eric Seidel <eric (a] webkit.org> 20446 20447 Reviewed by Adam Barth. 20448 20449 Make bugzilla-tool rollout include a bug link in the ChangeLog entry 20450 https://bugs.webkit.org/show_bug.cgi?id=33146 20451 20452 One more step towards better rollouts. 20453 20454 * Scripts/webkitpy/changelogs.py: 20455 * Scripts/webkitpy/changelogs_unittest.py: 20456 * Scripts/webkitpy/steps/preparechangelogforrevert.py: 20457 20458 2010-01-04 Adam Barth <abarth (a] webkit.org> 20459 20460 Reviewed by Eric Seidel. 20461 20462 Sort the step options 20463 https://bugs.webkit.org/show_bug.cgi?id=33144 20464 20465 * Scripts/webkitpy/steps/options.py: 20466 20467 2010-01-04 Eric Seidel <eric (a] webkit.org> 20468 20469 Reviewed by Adam Barth. 20470 20471 Need support for longer text in per-command help 20472 https://bugs.webkit.org/show_bug.cgi?id=33143 20473 20474 Add some minimal additional help to land-diff and 20475 pave the way for adding better help to all commands. 20476 20477 * Scripts/webkitpy/commands/download.py: Add small amount of additional help to land-diff 20478 * Scripts/webkitpy/multicommandtool.py: support long_help 20479 * Scripts/webkitpy/multicommandtool_unittest.py: test long_help 20480 20481 2010-01-04 Adam Barth <abarth (a] webkit.org> 20482 20483 Reviewed by Eric Seidel. 20484 20485 Add unit test for MarkBugFixed 20486 https://bugs.webkit.org/show_bug.cgi?id=33142 20487 20488 MarkBugFixed is way behind in command technology, but it still needs a 20489 unit test, as the FIXME commands. 20490 20491 Also, remove mark-bug-fixed and create-bug from main help since we have 20492 more modern commands to replace them. 20493 20494 * Scripts/webkitpy/commands/upload.py: 20495 * Scripts/webkitpy/commands/upload_unittest.py: 20496 * Scripts/webkitpy/mock_bugzillatool.py: 20497 20498 2010-01-04 Adam Barth <abarth (a] webkit.org> 20499 20500 Reviewed by Eric Seidel. 20501 20502 Add missing unit test for CommitMessageForCurrentDiff 20503 https://bugs.webkit.org/show_bug.cgi?id=33141 20504 20505 * Scripts/webkitpy/commands/upload.py: 20506 * Scripts/webkitpy/commands/upload_unittest.py: 20507 20508 2010-01-04 Adam Barth <abarth (a] webkit.org> 20509 20510 Reviewed by Eric Seidel. 20511 20512 Remove raw_input from queues in favor of user.prompt 20513 https://bugs.webkit.org/show_bug.cgi?id=33140 20514 20515 This lets up properly mock out the user interaction instead of hacking 20516 around it with the options. 20517 20518 * Scripts/webkitpy/commands/queues.py: 20519 * Scripts/webkitpy/commands/queuestest.py: 20520 20521 2010-01-04 Eric Seidel <eric (a] webkit.org> 20522 20523 Reviewed by Adam Barth. 20524 20525 bugzilla-tool should not require users to install mechanize 20526 https://bugs.webkit.org/show_bug.cgi?id=32635 20527 20528 * Scripts/webkitpy/__init__.py: Add missing declaration for ClientForm (which mechanize requires). 20529 20530 2010-01-04 Eric Seidel <eric (a] webkit.org> 20531 20532 Reviewed by Adam Barth. 20533 20534 bugzilla-tool should not require users to install mechanize 20535 https://bugs.webkit.org/show_bug.cgi?id=32635 20536 20537 Use the nifty "autoinstall" module from Daniel Krech: 20538 http://pypi.python.org/pypi/autoinstall/0.2 20539 http://code.google.com/p/pyautoinstall/ 20540 It's available under a WebKit-compatible BSD license. 20541 20542 * Scripts/webkitpy/__init__.py: 20543 - bind "mechanize" to an autoinstall importer which will 20544 auto-download mechanize if necessary. 20545 * Scripts/webkitpy/autoinstall.py: Added. 20546 * Scripts/webkitpy/bugzilla.py: use "mechanize" instead of webkit_mechanize 20547 * Scripts/webkitpy/statusbot.py: ditto. 20548 * Scripts/webkitpy/webkit_mechanize.py: Removed. 20549 20550 2010-01-04 Adam Barth <abarth (a] webkit.org> 20551 20552 Reviewed by Eric Seidel. 20553 20554 [bzt] Move AbstractSequencedCommand to a more general location 20555 https://bugs.webkit.org/show_bug.cgi?id=33137 20556 20557 I do what the FIXME tell me to do. 20558 20559 * Scripts/webkitpy/commands/abstractsequencedcommand.py: Added. 20560 * Scripts/webkitpy/commands/download.py: 20561 * Scripts/webkitpy/commands/upload.py: 20562 20563 2010-01-04 Adam Barth <abarth (a] webkit.org> 20564 20565 Reviewed by Eric Seidel. 20566 20567 Rename StatusBot to StatusServer 20568 https://bugs.webkit.org/show_bug.cgi?id=33139 20569 20570 It's not a bot. It's a server. 20571 20572 * Scripts/bugzilla-tool: 20573 * Scripts/webkitpy/bugzilla.py: 20574 * Scripts/webkitpy/commands/early_warning_system.py: 20575 * Scripts/webkitpy/commands/queues.py: 20576 * Scripts/webkitpy/mock_bugzillatool.py: 20577 * Scripts/webkitpy/queueengine.py: 20578 * Scripts/webkitpy/statusbot.py: Removed. 20579 20580 2010-01-04 Adam Barth <abarth (a] webkit.org> 20581 20582 Reviewed by Eric Seidel. 20583 20584 [bzt] submit-pach should have a -o/--open option to open the bug after submit 20585 https://bugs.webkit.org/show_bug.cgi?id=33136 20586 20587 Python makes this very easy. 20588 20589 * Scripts/webkitpy/mock_bugzillatool.py: 20590 * Scripts/webkitpy/steps/options.py: 20591 * Scripts/webkitpy/steps/postdiff.py: 20592 * Scripts/webkitpy/user.py: 20593 20594 2010-01-04 Adam Barth <abarth (a] webkit.org> 20595 20596 Reviewed by Eric Seidel. 20597 20598 [bzt] Move steps to a submodule 20599 https://bugs.webkit.org/show_bug.cgi?id=33135 20600 20601 For great victory. This will probably introduce some regressions 20602 because our test coverage isn't perfect, but I've tried to be careful. 20603 20604 * Scripts/test-webkitpy: 20605 * Scripts/webkitpy/buildsteps.py: Removed. 20606 * Scripts/webkitpy/buildsteps_unittest.py: Removed. 20607 * Scripts/webkitpy/commands/download.py: 20608 * Scripts/webkitpy/commands/upload.py: 20609 * Scripts/webkitpy/steps/__init__.py: Added. 20610 * Scripts/webkitpy/steps/abstractstep.py: Added. 20611 * Scripts/webkitpy/steps/applypatch.py: Added. 20612 * Scripts/webkitpy/steps/applypatchwithlocalcommit.py: Added. 20613 * Scripts/webkitpy/steps/build.py: Added. 20614 * Scripts/webkitpy/steps/checkstyle.py: Added. 20615 * Scripts/webkitpy/steps/cleanworkingdirectory.py: Added. 20616 * Scripts/webkitpy/steps/cleanworkingdirectorywithlocalcommits.py: Added. 20617 * Scripts/webkitpy/steps/closebug.py: Added. 20618 * Scripts/webkitpy/steps/closebugforlanddiff.py: Added. 20619 * Scripts/webkitpy/steps/closepatch.py: Added. 20620 * Scripts/webkitpy/steps/commit.py: Added. 20621 * Scripts/webkitpy/steps/completerollout.py: Added. 20622 * Scripts/webkitpy/steps/confirmdiff.py: Added. 20623 * Scripts/webkitpy/steps/createbug.py: Added. 20624 * Scripts/webkitpy/steps/editchangelog.py: Added. 20625 * Scripts/webkitpy/steps/ensurebuildersaregreen.py: Added. 20626 * Scripts/webkitpy/steps/ensurelocalcommitifneeded.py: Added. 20627 * Scripts/webkitpy/steps/metastep.py: Added. 20628 * Scripts/webkitpy/steps/obsoletepatches.py: Added. 20629 * Scripts/webkitpy/steps/options.py: Added. 20630 * Scripts/webkitpy/steps/postdiff.py: Added. 20631 * Scripts/webkitpy/steps/preparechangelog.py: Added. 20632 * Scripts/webkitpy/steps/preparechangelogforrevert.py: Added. 20633 * Scripts/webkitpy/steps/promptforbugortitle.py: Added. 20634 * Scripts/webkitpy/steps/revertrevision.py: Added. 20635 * Scripts/webkitpy/steps/runtests.py: Added. 20636 * Scripts/webkitpy/steps/steps_unittest.py: Added. 20637 * Scripts/webkitpy/steps/update.py: Added. 20638 * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py: Added. 20639 * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: Added. 20640 * Scripts/webkitpy/stepsequence.py: 20641 20642 2010-01-04 Daniel Bates <dbates (a] webkit.org> 20643 20644 Reviewed by Eric Seidel. 20645 20646 https://bugs.webkit.org/show_bug.cgi?id=33097 20647 20648 Cleans up the File menu to better conform to the File menu in Safari 20649 both in terms of options and keyboard shortcuts. Adds a "Quit" menu 20650 options to close all open windows. Also, renames the Tools menu to 20651 Develop. 20652 20653 * QtLauncher/main.cpp: 20654 (MainWindow::setupUI): 20655 20656 2010-01-04 Daniel Bates <dbates (a] webkit.org> 20657 20658 https://bugs.webkit.org/show_bug.cgi?id=33039 20659 20660 Unreviewed fix. 20661 20662 * Scripts/webkitpy/credentials.py: 20663 * Scripts/webkitpy/credentials_unittest.py: 20664 20665 2010-01-04 Daniel Bates <dbates (a] webkit.org> 20666 20667 Reviewed by Eric Seidel. 20668 20669 https://bugs.webkit.org/show_bug.cgi?id=33039 20670 20671 [bzt] Second attempt to fix an issue where bugzilla-tool dies 20672 when the keychain lookup fails to find an entry for bugs.webkit.org. 20673 20674 * Scripts/webkitpy/credentials.py: 20675 * Scripts/webkitpy/credentials_unittest.py: 20676 20677 2010-01-04 Eric Seidel <eric (a] webkit.org> 20678 20679 Reviewed by Adam Barth. 20680 20681 Make Rollout an AbstractSequencedCommmand 20682 https://bugs.webkit.org/show_bug.cgi?id=33133 20683 20684 As suggested by Adam in: 20685 https://bugs.webkit.org/show_bug.cgi?id=33131#c2 20686 20687 * Scripts/webkitpy/commands/download.py: 20688 20689 2010-01-04 Eric Seidel <eric (a] webkit.org> 20690 20691 Reviewed by Adam Barth. 20692 20693 Make all commands AbstractDeclarativeCommmands instead of direct Command subclasses 20694 https://bugs.webkit.org/show_bug.cgi?id=33131 20695 20696 Evenetually we'll probably roll AbstractDeclarativeCommmand directly into Command 20697 but for now we just deploy it everywhere and don't try to fix up the few valid uses 20698 of Command. 20699 20700 * Scripts/webkitpy/commands/download.py: 20701 * Scripts/webkitpy/commands/queries.py: 20702 * Scripts/webkitpy/commands/upload.py: 20703 * Scripts/webkitpy/multicommandtool.py: 20704 20705 2010-01-03 Adam Barth <abarth (a] webkit.org> 20706 20707 Unreviewed "build" fix. Need to import ScriptError. 20708 20709 * Scripts/webkitpy/buildsteps.py: 20710 20711 2010-01-03 Adam Barth <abarth (a] webkit.org> 20712 20713 Reviewed by Eric Seidel. 20714 20715 [bzt] Make it easier to run submit-patch when previous run cancelled 20716 https://bugs.webkit.org/show_bug.cgi?id=33070 20717 20718 This patch renames create-review to submit-patch (as requested by 20719 Maciej). 20720 20721 This patch makes it easier to run submit-patch after the user has 20722 already cancelled a previous run of submit-patch by detecting when we 20723 already have ChangeLogs and reading the bug number from them (and not 20724 attempting to recreate them). Aside from performance and the extra 20725 edit step, this command should not subsume post-dif. 20726 20727 Also, added a --email command line argument so that the output of 20728 prepare-ChangeLog makes sense when it can't find the user's email 20729 address. 20730 20731 * Scripts/webkitpy/bugzilla.py: 20732 * Scripts/webkitpy/buildsteps.py: 20733 * Scripts/webkitpy/commands/upload.py: 20734 * Scripts/webkitpy/commands/upload_unittest.py: 20735 * Scripts/webkitpy/mock_bugzillatool.py: 20736 * Scripts/webkitpy/user.py: 20737 20738 2010-01-03 Eric Seidel <eric (a] webkit.org> 20739 20740 Reviewed by Adam Barth. 20741 20742 Rename Scripts/modules to Scripts/webkitpy 20743 https://bugs.webkit.org/show_bug.cgi?id=33128 20744 20745 Just search-replace and svn mv commands. 20746 20747 * Scripts/bugzilla-tool: 20748 * Scripts/check-webkit-style: 20749 * Scripts/modules: Removed. 20750 * Scripts/modules/BeautifulSoup.py: Removed. 20751 * Scripts/modules/__init__.py: Removed. 20752 * Scripts/modules/bugzilla.py: Removed. 20753 * Scripts/modules/bugzilla_unittest.py: Removed. 20754 * Scripts/modules/buildbot.py: Removed. 20755 * Scripts/modules/buildbot_unittest.py: Removed. 20756 * Scripts/modules/buildsteps.py: Removed. 20757 * Scripts/modules/buildsteps_unittest.py: Removed. 20758 * Scripts/modules/changelogs.py: Removed. 20759 * Scripts/modules/changelogs_unittest.py: Removed. 20760 * Scripts/modules/commands: Removed. 20761 * Scripts/modules/commands/__init__.py: Removed. 20762 * Scripts/modules/commands/commandtest.py: Removed. 20763 * Scripts/modules/commands/download.py: Removed. 20764 * Scripts/modules/commands/download_unittest.py: Removed. 20765 * Scripts/modules/commands/early_warning_system.py: Removed. 20766 * Scripts/modules/commands/early_warning_system_unittest.py: Removed. 20767 * Scripts/modules/commands/queries.py: Removed. 20768 * Scripts/modules/commands/queries_unittest.py: Removed. 20769 * Scripts/modules/commands/queues.py: Removed. 20770 * Scripts/modules/commands/queues_unittest.py: Removed. 20771 * Scripts/modules/commands/queuestest.py: Removed. 20772 * Scripts/modules/commands/upload.py: Removed. 20773 * Scripts/modules/commands/upload_unittest.py: Removed. 20774 * Scripts/modules/comments.py: Removed. 20775 * Scripts/modules/committers.py: Removed. 20776 * Scripts/modules/committers_unittest.py: Removed. 20777 * Scripts/modules/cpp_style.py: Removed. 20778 * Scripts/modules/cpp_style_unittest.py: Removed. 20779 * Scripts/modules/credentials.py: Removed. 20780 * Scripts/modules/credentials_unittest.py: Removed. 20781 * Scripts/modules/diff_parser.py: Removed. 20782 * Scripts/modules/diff_parser_unittest.py: Removed. 20783 * Scripts/modules/executive.py: Removed. 20784 * Scripts/modules/executive_unittest.py: Removed. 20785 * Scripts/modules/grammar.py: Removed. 20786 * Scripts/modules/mock.py: Removed. 20787 * Scripts/modules/mock_bugzillatool.py: Removed. 20788 * Scripts/modules/multicommandtool.py: Removed. 20789 * Scripts/modules/multicommandtool_unittest.py: Removed. 20790 * Scripts/modules/outputcapture.py: Removed. 20791 * Scripts/modules/patchcollection.py: Removed. 20792 * Scripts/modules/queueengine.py: Removed. 20793 * Scripts/modules/queueengine_unittest.py: Removed. 20794 * Scripts/modules/scm.py: Removed. 20795 * Scripts/modules/scm_unittest.py: Removed. 20796 * Scripts/modules/statusbot.py: Removed. 20797 * Scripts/modules/stepsequence.py: Removed. 20798 * Scripts/modules/style: Removed. 20799 * Scripts/modules/style.py: Removed. 20800 * Scripts/modules/style_unittest.py: Removed. 20801 * Scripts/modules/text_style.py: Removed. 20802 * Scripts/modules/text_style_unittest.py: Removed. 20803 * Scripts/modules/user.py: Removed. 20804 * Scripts/modules/webkit_logging.py: Removed. 20805 * Scripts/modules/webkit_logging_unittest.py: Removed. 20806 * Scripts/modules/webkit_mechanize.py: Removed. 20807 * Scripts/modules/webkitport.py: Removed. 20808 * Scripts/modules/webkitport_unittest.py: Removed. 20809 * Scripts/test-webkit-python: Removed. 20810 * Scripts/test-webkitpy: Copied from WebKitTools/Scripts/test-webkit-python. 20811 * Scripts/validate-committer-lists: 20812 * Scripts/webkitpy: Copied from WebKitTools/Scripts/modules. 20813 * Scripts/webkitpy/bugzilla.py: 20814 * Scripts/webkitpy/bugzilla_unittest.py: 20815 * Scripts/webkitpy/buildbot.py: 20816 * Scripts/webkitpy/buildbot_unittest.py: 20817 * Scripts/webkitpy/buildsteps.py: 20818 * Scripts/webkitpy/buildsteps_unittest.py: 20819 * Scripts/webkitpy/commands/commandtest.py: 20820 * Scripts/webkitpy/commands/download.py: 20821 * Scripts/webkitpy/commands/download_unittest.py: 20822 * Scripts/webkitpy/commands/early_warning_system.py: 20823 * Scripts/webkitpy/commands/early_warning_system_unittest.py: 20824 * Scripts/webkitpy/commands/queries.py: 20825 * Scripts/webkitpy/commands/queries_unittest.py: 20826 * Scripts/webkitpy/commands/queues.py: 20827 * Scripts/webkitpy/commands/queues_unittest.py: 20828 * Scripts/webkitpy/commands/queuestest.py: 20829 * Scripts/webkitpy/commands/upload.py: 20830 * Scripts/webkitpy/commands/upload_unittest.py: 20831 * Scripts/webkitpy/comments.py: 20832 * Scripts/webkitpy/credentials.py: 20833 * Scripts/webkitpy/credentials_unittest.py: 20834 * Scripts/webkitpy/executive.py: 20835 * Scripts/webkitpy/executive_unittest.py: 20836 * Scripts/webkitpy/mock_bugzillatool.py: 20837 * Scripts/webkitpy/multicommandtool.py: 20838 * Scripts/webkitpy/multicommandtool_unittest.py: 20839 * Scripts/webkitpy/queueengine.py: 20840 * Scripts/webkitpy/queueengine_unittest.py: 20841 * Scripts/webkitpy/scm.py: 20842 * Scripts/webkitpy/scm_unittest.py: 20843 * Scripts/webkitpy/statusbot.py: 20844 * Scripts/webkitpy/stepsequence.py: 20845 * Scripts/webkitpy/webkit_logging_unittest.py: 20846 * Scripts/webkitpy/webkitport_unittest.py: 20847 20848 2010-01-03 Chris Jerdonek <chris.jerdonek (a] gmail.com> 20849 20850 Reviewed by Eric Seidel. 20851 20852 Added script to test both Perl and Python, and renamed 20853 run-webkit-unittests to test-webkit-python. 20854 20855 https://bugs.webkit.org/show_bug.cgi?id=33045 20856 20857 * Scripts/VCSUtils_unittest.pl: 20858 - Tweaked so it can be run from outside Scripts directory. 20859 20860 * Scripts/run-webkit-unittests: Removed. 20861 - Renamed to test-webkit-python. 20862 20863 * Scripts/test-webkit-perl: 20864 - Tweaked so it can be run from outside Scripts directory. 20865 20866 * Scripts/test-webkit-python: Copied from Scripts/run-webkit-unittests. 20867 20868 * Scripts/test-webkit-scripts: Added. 20869 - Runs both test-webkit-perl and test-webkit-python. 20870 20871 2010-01-03 Adam Barth <abarth (a] webkit.org> 20872 20873 Reviewed by Eric Seidel. 20874 20875 commit-queue/bugzilla-tool should build both Debug and Release 20876 https://bugs.webkit.org/show_bug.cgi?id=28450 20877 20878 Add a --build-style command that lets the master process tell the child 20879 process to build both debug and release. Eventually we want to teach 20880 the test step to understand this option too, but that's a patch for 20881 another day. 20882 20883 * Scripts/modules/buildsteps.py: 20884 * Scripts/modules/commands/queues.py: 20885 * Scripts/modules/webkitport.py: 20886 * Scripts/modules/webkitport_unittest.py: 20887 20888 2010-01-03 Jakub Wieczorek <faw217 (a] gmail.com> 20889 20890 Reviewed by Eric Seidel. 20891 20892 [Qt] EventSender: add support for Enter key events 20893 https://bugs.webkit.org/show_bug.cgi?id=33064 20894 20895 Unskip 5 tests that are fixed now. 20896 20897 * DumpRenderTree/qt/EventSenderQt.cpp: 20898 (EventSender::keyDown): 20899 20900 2010-01-03 Adam Barth <abarth (a] webkit.org> 20901 20902 Reviewed by Eric Seidel. 20903 20904 [bzt] Add test for previous typo fix 20905 https://bugs.webkit.org/show_bug.cgi?id=33083 20906 20907 A trivial test for a trivial fix, as requested by Eric. 20908 20909 * Scripts/modules/bugzilla_unittest.py: 20910 20911 2010-01-03 Adam Barth <abarth (a] webkit.org> 20912 20913 Reviewed by Eric Seidel. 20914 20915 Implement mac-ews 20916 https://bugs.webkit.org/show_bug.cgi?id=33072 20917 20918 The mac-ews is slightly different than the other early warning systems 20919 because we can't run Mac OS X inside a VM. For that reason, we only 20920 process patches that were uploaded by committers. This isn't as much 20921 coverage as the other EWS bots, but it's better than nothing. 20922 20923 * Scripts/modules/commands/early_warning_system.py: 20924 * Scripts/modules/commands/early_warning_system_unittest.py: 20925 * Scripts/modules/commands/queues.py: 20926 * Scripts/modules/commands/queuestest.py: 20927 * Scripts/modules/mock_bugzillatool.py: 20928 20929 2010-01-03 Chris Jerdonek <chris.jerdonek (a] gmail.com> 20930 20931 Reviewed by David Kilzer. 20932 20933 Refactored svn-apply and svn-unapply to use a common "patch" 20934 command method, and added unit tests for this new method. 20935 20936 https://bugs.webkit.org/show_bug.cgi?id=33098 20937 20938 * Scripts/VCSUtils.pm: 20939 - Added generateRunPatchCommand(). 20940 - Added runPatchCommand(). 20941 - Added exitStatus() from webkitdirs.pm to address FIXME. 20942 20943 * Scripts/VCSUtils_unittest.pl: 20944 - Added 10 unit tests for generateRunPatchCommand(). 20945 - Added 4 unit tests for runPatchCommand(). 20946 - Added callSilently() method. 20947 20948 * Scripts/svn-apply: 20949 - Refactored applyPatch(). 20950 - Removed $pathScriptWasRunFrom global variable. 20951 - Addressed issue where "--force" option was getting added twice. 20952 20953 * Scripts/svn-unapply: 20954 - Refactored applyPatch(). 20955 - Removed $pathScriptWasRunFrom global variable. 20956 - Added support for --force option. 20957 - Enhanced to return meaningful exit status. 20958 20959 * Scripts/webkitdirs.pm: 20960 - Moved exitStatus() implementation to VCSUtils.pm. 20961 20962 2009-12-31 Adam Barth <abarth (a] webkit.org> 20963 20964 Reviewed by Eric Seidel. 20965 20966 [bzt] Implement build-and-test 20967 https://bugs.webkit.org/show_bug.cgi?id=33073 20968 20969 Some of the early warning system bots want to use build-and-test so 20970 they can cover LayoutTests in addition to just compilation. 20971 20972 * Scripts/modules/commands/download.py: 20973 * Scripts/modules/commands/download_unittest.py: 20974 20975 2009-12-31 Adam Barth <abarth (a] webkit.org> 20976 20977 Reviewed by Eric Seidel. 20978 20979 Show mac-ews status on QueueStatusServer 20980 https://bugs.webkit.org/show_bug.cgi?id=33076 20981 20982 Also make error status purple. 20983 20984 * QueueStatusServer/model/attachment.py: 20985 * QueueStatusServer/model/queues.py: 20986 * QueueStatusServer/templates/dashboard.html: 20987 * QueueStatusServer/templates/statusbubble.html: 20988 20989 2009-12-31 Adam Barth <abarth (a] webkit.org> 20990 20991 Unreviewed. 20992 20993 [bzt] REGRESSION: Bugzila is a typo 20994 https://bugs.webkit.org/show_bug.cgi?id=33074 20995 20996 Eric should test his code before landing! :) 20997 20998 * Scripts/modules/bugzilla.py: 20999 21000 2009-12-31 Adam Barth <abarth (a] webkit.org> 21001 21002 Unreviewed. Fix the unit tests! 21003 21004 * Scripts/run-webkit-unittests: 21005 21006 2009-12-30 Kevin Watters <kevinwatters (a] gmail.com> 21007 21008 Reviewed by Kevin Ollivier. 21009 21010 [wx] Alter a couple of default settings in the test app. 21011 21012 https://bugs.webkit.org/show_bug.cgi?id=32956 21013 21014 * wx/browser/browser.cpp: 21015 (MyApp::OnInit): 21016 21017 2009-12-30 Eric Seidel <eric (a] webkit.org> 21018 21019 Reviewed by Adam Barth. 21020 21021 logging.py should be renamed to webkit_logging.py and eventually die 21022 https://bugs.webkit.org/show_bug.cgi?id=33058 21023 21024 Change all imports of "logging" to webkit_logging, 21025 except the ones which came from Google's cpp_lint.py and diff_parser.py 21026 which clearly are assuming python's logging.py. 21027 21028 * Scripts/modules/bugzilla.py: 21029 * Scripts/modules/buildbot.py: 21030 * Scripts/modules/buildsteps.py: 21031 * Scripts/modules/commands/download.py: 21032 * Scripts/modules/commands/queries.py: 21033 * Scripts/modules/commands/queues.py: 21034 * Scripts/modules/commands/upload.py: 21035 * Scripts/modules/credentials.py: 21036 * Scripts/modules/executive.py: 21037 * Scripts/modules/multicommandtool.py: 21038 * Scripts/modules/queueengine.py: 21039 * Scripts/modules/scm.py: 21040 * Scripts/modules/statusbot.py: 21041 * Scripts/modules/stepsequence.py: 21042 * Scripts/modules/webkit_logging.py: Renamed from WebKitTools/Scripts/modules/logging.py. 21043 * Scripts/modules/webkit_logging_unittest.py: Renamed from WebKitTools/Scripts/modules/logging_unittest.py. 21044 21045 2009-12-30 Jakub Wieczorek <faw217 (a] gmail.com> 21046 21047 Reviewed by Simon Hausmann. 21048 21049 [Qt] layoutTestController.pathToLocalResource() should return a path, not an URL 21050 https://bugs.webkit.org/show_bug.cgi?id=33051 21051 21052 Moreover, its primary function is to normalize the path in regard of platform 21053 specific directory separators. Therefore, it can simply make use of the 21054 QDir::toNativeSeparators function. 21055 21056 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 21057 (LayoutTestController::pathToLocalResource): 21058 21059 2009-12-30 David D. Kilzer <ddkilzer (a] webkit.org> 21060 21061 Fix executable bits for r52646 21062 21063 * Scripts/VCSUtils_unittest.pl: Added property svn:executable. 21064 * Scripts/test-webkit-perl: Ditto. 21065 21066 2009-12-29 Chris Jerdonek <chris.jerdonek (a] gmail.com> 21067 21068 Reviewed by David Kilzer. 21069 21070 Fixed a bug in fixChangeLogPatch, made it work correctly in 21071 more circumstances, and added unit tests. 21072 21073 https://bugs.webkit.org/show_bug.cgi?id=32919 21074 21075 * Scripts/VCSUtils.pm: 21076 Rewrote fixChangeLogPatch. 21077 21078 * Scripts/VCSUtils_unittest.pl: Added. 21079 Added 7 unit tests for fixChangeLogPatch. 21080 21081 * Scripts/test-webkit-perl: Added. 21082 Added test harness for unit tests of Perl code. 21083 21084 2009-12-29 Eric Seidel <eric (a] webkit.org> 21085 21086 Reviewed by Adam Barth. 21087 21088 Split out BugzillaQueries class from Bugzilla 21089 https://bugs.webkit.org/show_bug.cgi?id=33042 21090 21091 * Scripts/modules/bugzilla.py: 21092 - Split out BugzillaQueries from Bugzilla. 21093 - Try to isolate self.bugzilla usage into helper functions whenever possible. 21094 - Add a bunch of FIXMEs. 21095 - Rename fetch_bug_ids_from_needs_commit_list to fetch_bug_ids_from_pending_commit_list 21096 * Scripts/modules/bugzilla_unittest.py: 21097 - Create a new BugzillaQueriesTest testcase and move logic there. 21098 * Scripts/modules/buildsteps_unittest.py: 21099 - Use Bug 75 instead of 1 since bug 1 doesn't actually exist. 21100 * Scripts/modules/commands/queries.py: 21101 - Update to use bugzilla.queries 21102 * Scripts/modules/commands/queues.py: 21103 - Ditto. 21104 * Scripts/modules/commands/upload.py: 21105 - Ditto. 21106 * Scripts/modules/mock_bugzillatool.py: 21107 - Add a MockBugzillaQueries. 21108 - Make patches and bugs global privates. 21109 - Let _id_to_object_dictionary take a variable argument list instead of an array. 21110 21111 2009-12-29 Daniel Bates <dbates (a] webkit.org> 21112 21113 Reviewed by Eric Seidel. 21114 21115 https://bugs.webkit.org/show_bug.cgi?id=33041 21116 21117 Speed up the test method test_read_credentials_with_SVN by not actually 21118 creating an SVN repository to test against (by default). Instead, it is 21119 sufficient to create a temporary directory that does not contain a Git 21120 repository. 21121 21122 Also, renamed method test_read_credentials_with_SVN to 21123 test_read_credentials_without_git_repo, to better reflect what it is 21124 testing. 21125 21126 * Scripts/modules/credentials_unittest.py: 21127 21128 2009-12-29 Daniel Bates <dbates (a] webkit.org> 21129 21130 Reviewed by Adam Barth. 21131 21132 https://bugs.webkit.org/show_bug.cgi?id=33039 21133 21134 [bzt] Fixes an issue where bugzilla-tool dies when the keychain lookup 21135 fails to find an entry for bugs.webkit.org. 21136 21137 Under Mac OS X, bugzilla-tool tries to query the keychain and Security 21138 framework (via /usr/sbin/security) for an internet-password entry for 21139 bugs.webkit.org so that it can use it to login to bugs.webkit.org. 21140 However, if no such entry exists then bugzilla-tool dies with an error. 21141 21142 * Scripts/modules/credentials.py: Modified method _parse_security_tool_output to return 21143 [None, None] if /usr/sbin/security cannot find keychain entry for bugs.webkit.org. 21144 * Scripts/modules/credentials_unittest.py: Added method test_security_output_parse_entry_not_found. 21145 21146 2009-12-29 Eric Seidel <eric (a] webkit.org> 21147 21148 Rubber-stamped by Adam Barth. 21149 21150 Remove unused BugzillaException. 21151 21152 * Scripts/modules/bugzilla.py: 21153 21154 2009-12-29 Eric Seidel <eric (a] webkit.org> 21155 21156 Reviewed by Adam Barth. 21157 21158 Need a script to assign bugs with r+ patches to committers for landing 21159 https://bugs.webkit.org/show_bug.cgi?id=33009 21160 21161 This is just one more small tool to help in the fight against our 21162 ever-growing list of to-be-committed patches. 21163 21164 * Scripts/modules/bugzilla.py: 21165 - Rename assign_to_email to assigned_to_email (typo). 21166 - Add assigned_to_email() method on Bug. 21167 - Add reassign_bug method. 21168 - Add Bugzilla.unassigned_email, eventually should move to some webkit_config.py module. 21169 * Scripts/modules/bugzilla_unittest.py: 21170 - Update test after assigned_to_email rename. 21171 * Scripts/modules/commands/commandtest.py: 21172 - Call bind_to_tool to that self.tool works in Command testing. 21173 * Scripts/modules/commands/download.py: 21174 - Move AbstractDeclarativeCommmand multicommandtool.py, it should be part of Command. 21175 * Scripts/modules/commands/queries_unittest.py: 21176 - One of the test patches is now posted by "eric (a] webkit.org" which is a committer. 21177 - Eventually we'll mock out CommitterList and be able to better control what's a committer and what's not. 21178 * Scripts/modules/commands/upload.py: 21179 - Add new assign-to-committer command. 21180 * Scripts/modules/commands/upload_unittest.py: 21181 - Add basic assign-to-committer test. 21182 * Scripts/modules/committers.py: 21183 - Add bugzilla_email() accessor. 21184 * Scripts/modules/committers_unittest.py: 21185 - Test our assumption that bugzilla_email is the first email. 21186 * Scripts/modules/mock_bugzillatool.py: 21187 - Add _id_to_object_dictionary for generating bug_cache from list of bugs. 21188 - Remove unused fetch_attachments_from_bug. 21189 - Add fetch_bug support and a bug_cache. 21190 * Scripts/modules/multicommandtool.py: 21191 - Move AbstractDeclarativeCommmand here from download.py 21192 21193 2009-12-29 Adam Barth <abarth (a] webkit.org> 21194 21195 Reviewed by Eric Seidel. 21196 21197 [bzt] Don't crash if user types a number during PromptForBugOrTitleStep 21198 https://bugs.webkit.org/show_bug.cgi?id=33038 21199 21200 Simple fix with test. 21201 21202 * Scripts/modules/buildsteps.py: 21203 * Scripts/modules/buildsteps_unittest.py: 21204 21205 2009-12-29 Adam Barth <abarth (a] webkit.org> 21206 21207 Reviewed by Eric Seidel. 21208 21209 [bzt] post-diff requires reading to the end 21210 https://bugs.webkit.org/show_bug.cgi?id=33036 21211 21212 Catch the IOError caused by not reading to the end of the diff. We 21213 don't have a good way to test this currently. 21214 21215 * Scripts/modules/user.py: 21216 21217 2009-12-29 Chang Shu <Chang.Shu (a] nokia.com> 21218 21219 Reviewed by Adam Barth. 21220 21221 [Qt] Move logic that handles Qt headers before primary headers 21222 so that Qt headers won't be treated as primary headers by mistake. 21223 https://bugs.webkit.org/show_bug.cgi?id=32991 21224 21225 * Scripts/modules/cpp_style.py: 21226 * Scripts/modules/cpp_style_unittest.py: 21227 21228 2009-12-29 Eric Seidel <eric (a] webkit.org> 21229 21230 Reviewed by Adam Barth. 21231 21232 Add the start of a Bug object for bugzilla.py 21233 https://bugs.webkit.org/show_bug.cgi?id=32995 21234 21235 This allowed us to get rid of some duplicated "is_obsolete" checks. 21236 21237 * Scripts/modules/bugzilla.py: 21238 - Add a new Bug class, and move patches/unreviewed_patches filtering logic there. 21239 - Add _fetch_bug_page for possible future mocking. 21240 (I did not try to test fetch_*_from_bug now due to difficulties with our current validate_reviewer logic.) 21241 - Rename fetch_bug to fetch_bug_dictionary and add a new fetch_bug which returns a Bug object. 21242 - Use fetch_bug and attachments(), patches(), etc. instead of custom fetch_*_from_bug methods. 21243 - Reduce code in fetch_patches_from_pending_commit_list and fetch_patches_from_review_queue 21244 using list comprehensions. Use a sum(list, []) trick to flatten a list of lists into a single list. 21245 * Scripts/modules/bugzilla_unittest.py: 21246 - Remove an unneeded unicode string marker. 21247 * Scripts/modules/buildsteps.py: 21248 - define __all__ to include just the BuildSteps 21249 * Scripts/modules/commands/download.py: 21250 - import * now that we have an __all__ defined. 21251 * Scripts/modules/commands/upload.py: 21252 - Use fetch_bug_dictionary instead of fetch_bug. 21253 21254 2009-12-29 Daniel Bates <dbates (a] webkit.org> 21255 21256 Reviewed by Ariya Hidayat. 21257 21258 https://bugs.webkit.org/show_bug.cgi?id=32925 21259 21260 Adds an Open File dialog to make it convenient to open a file 21261 to view in the browser. 21262 21263 Currently a person must either specify the path to a file as a 21264 command-line argument or type a file URL. Instead, we should 21265 have a file dialog to allow a person to open a file without 21266 memorizing its path. 21267 21268 * QtLauncher/main.cpp: 21269 (MainWindow::MainWindow): Changed urlEdit->setText(qurl.toEncoded()) 21270 to urlEdit->setText(qurl.toString()). 21271 (MainWindow::openFile): Added. 21272 (MainWindow::changeLocation): Moved code to load URL into method 21273 MainWindow::loadURL. 21274 (MainWindow::loadURL): Added. 21275 (MainWindow::setupUI): Added menu item Open File. 21276 21277 2009-12-29 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 21278 21279 Reviewed by Holger Freyther. 21280 21281 [GTK] fails fast/harness/use-page-cache.html 21282 https://bugs.webkit.org/show_bug.cgi?id=33013 21283 21284 Make sure settings are forwarded to child WebViews. 21285 21286 * DumpRenderTree/gtk/DumpRenderTree.cpp: 21287 (createWebView): 21288 21289 2009-12-29 Daniel Bates <dbates (a] webkit.org> 21290 21291 Reviewed by Eric Seidel. 21292 21293 https://bugs.webkit.org/show_bug.cgi?id=32778 21294 21295 Changes $diffPercentage to be a number to resolve Perl 21296 warning about comparing a string to a number. 21297 21298 * Scripts/run-webkit-tests: 21299 21300 2009-12-29 Jakub Wieczorek <faw217 (a] gmail.com> 21301 21302 Reviewed by Eric Seidel. 21303 21304 [Qt] DRT: Frame loader callbacks differ from the Mac port 21305 https://bugs.webkit.org/show_bug.cgi?id=32989 21306 21307 Remove messages from the callbacks that should not dump them to match 21308 the expected results for the http/loading tests. 21309 21310 Unskip some http/loading tests which succeed now. 21311 21312 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 21313 (WebCore::DumpRenderTree::dump): 21314 21315 2009-12-29 Robert Hogan <robert (a] roberthogan.net> 21316 21317 Reviewed by Eric Seidel. 21318 21319 [Qt] fix fast/dom/Window/window-onFocus.html 21320 21321 Add support for layouttestcontroller.windowIsKey to Qt DRT and fix issue where 21322 window.onblur was getting dispatched twice from QtWebKit. 21323 21324 https://bugs.webkit.org/show_bug.cgi?id=32990 21325 21326 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 21327 (WebCore::DumpRenderTree::DumpRenderTree): 21328 (WebCore::DumpRenderTree::switchFocus): 21329 * DumpRenderTree/qt/DumpRenderTreeQt.h: 21330 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 21331 (LayoutTestController::setWindowIsKey): 21332 (LayoutTestController::setMainFrameIsFirstResponder): 21333 * DumpRenderTree/qt/LayoutTestControllerQt.h: 21334 21335 2009-12-28 Kinuko Yasuda <kinuko (a] chromium.org> 21336 21337 Reviewed by Maciej Stachowiak. 21338 21339 Extended EventSender.keyDown method to take another (3rd) argument 21340 for indicating the keyLocation to make numeric pad key events testable. 21341 Expected values for the argument is one of the KeyLocationCode 21342 specified in DOM Level 3 21343 (http://www.w3.org/TR/DOM-Level-3-Events/#events-keyboardevents). 21344 https://bugs.webkit.org/show_bug.cgi?id=28247 21345 21346 Test: fast/events/keydown-numpad-keys.html 21347 21348 * DumpRenderTree/mac/EventSendingController.mm: 21349 (+[EventSendingController isSelectorExcludedFromWebScript:]): 21350 (+[EventSendingController webScriptNameForSelector:]): 21351 (-[EventSendingController keyDown:withModifiers:withLocation:]): 21352 21353 2009-12-28 Ariya Hidayat <ariya.hidayat (a] gmail.com> 21354 21355 Unreviewed, update my email address. 21356 21357 * Scripts/modules/committers.py: 21358 21359 2009-12-28 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 21360 21361 Reviewed by Adam Barth. 21362 21363 [Qt] Fix build break for Qt 4.4 21364 https://bugs.webkit.org/show_bug.cgi?id=30327 21365 21366 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: Include QLocale 21367 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Ditto. 21368 * QtLauncher/main.cpp: 21369 (MainWindow::MainWindow): Qt::WA_TranslucentBackground was 21370 introduced in Qt version 4.5 21371 21372 2009-12-28 Adam Barth <abarth (a] webkit.org> 21373 21374 Reviewed by Eric Seidel. 21375 21376 [bzt] Add an edit-changelog command 21377 https://bugs.webkit.org/show_bug.cgi?id=32986 21378 21379 This command makes it easier to edit ChangeLogs. It's similar to 21380 prepare-ChangeLog -o, except it works with already existing ChangeLogs. 21381 21382 * Scripts/modules/commands/upload.py: 21383 * Scripts/modules/commands/upload_unittest.py: 21384 21385 2009-12-28 Adam Barth <abarth (a] webkit.org> 21386 21387 Reviewed by Eric Seidel. 21388 21389 [bzt] Create an ASAD command for uploading a patch 21390 https://bugs.webkit.org/show_bug.cgi?id=32979 21391 21392 The create-review command goes through the whole process of preparing a 21393 code review, including creating a bug, editing the ChangeLogs, and 21394 uploading the patch. It is indeed the All Sing, All Dance upload 21395 command. 21396 21397 * Scripts/modules/buildsteps.py: 21398 * Scripts/modules/commands/upload.py: 21399 * Scripts/modules/commands/upload_unittest.py: 21400 * Scripts/modules/mock_bugzillatool.py: 21401 * Scripts/modules/user.py: 21402 21403 2009-12-28 Adam Barth <abarth (a] webkit.org> 21404 21405 Unreviewed "build" fix (with test!). 21406 21407 * Scripts/modules/bugzilla.py: 21408 * Scripts/modules/bugzilla_unittest.py: 21409 21410 2009-12-27 Eric Seidel <eric (a] webkit.org> 21411 21412 Reviewed by Adam Barth. 21413 21414 Add more awesome bug-parsing logic to bugzilla.py in preparation for assign-to-committer command 21415 https://bugs.webkit.org/show_bug.cgi?id=32980 21416 21417 * Scripts/modules/bugzilla.py: 21418 - Add a new _parse_bug_page function and use it in fetch_attachments_from_bug 21419 - Replace fetch_title_from_bug with a new fetch_bug call instead. 21420 - Use list comprehensions where possible to reduce code duplication. 21421 * Scripts/modules/bugzilla_unittest.py: 21422 - Add a minimal bug parsing test. 21423 - Share code between bug parsing and attachment parsing tests with _assert_dictionaries_equal 21424 * Scripts/modules/commands/upload.py: 21425 - Use fetch_bug(bug_id)["title"] instead of fetch_title_from_bug 21426 21427 2009-12-27 Adam Barth <abarth (a] webkit.org> 21428 21429 Reviewed by Eric Seidel. 21430 21431 Status bubble shouldn't be transparent for bots that haven't run yet 21432 https://bugs.webkit.org/show_bug.cgi?id=32977 21433 21434 * QueueStatusServer/templates/statusbubble.html: 21435 21436 2009-12-27 Adam Barth <abarth (a] webkit.org> 21437 21438 Reviewed by Eric Seidel. 21439 21440 [QueueStatusServer] Run gc cron job less often 21441 https://bugs.webkit.org/show_bug.cgi?id=32958 21442 21443 Now that we've cleaned out the backlog of idle messages, we don't need 21444 to run the gc job every half hour. We could also stop logging the idle 21445 messages, but this seems easier for the time being. 21446 21447 * QueueStatusServer/cron.yaml: 21448 21449 2009-12-27 Daniel Bates <dbates (a] webkit.org> 21450 21451 Reviewed by Adam Barth. 21452 21453 https://bugs.webkit.org/show_bug.cgi?id=32896 21454 21455 Fixes an issue where bugzilla-tool tries to read the username and password from 21456 Git regardless of whether Git is installed. In particular, if Git is not 21457 installed then bugzilla-tool dies (with a trace) when it attempts to query Git 21458 for the authentication credentials to log into bugs.webkit.org. 21459 21460 Moreover, modifies Executive.run_command to catch and pass OSError exceptions to 21461 the specified error handler. For instance, the specified error handler will now 21462 be called when the command does not exist (i.e. OSError errno 2). 21463 21464 * Scripts/modules/credentials.py: Added check for Git. 21465 * Scripts/modules/credentials_unittest.py: Added test method 21466 test_read_credentials_with_SVN. 21467 * Scripts/modules/executive.py: Modified method run_command to catch 21468 OSError exceptions (i.e [Errno 2] No such file or directory) and call 21469 the specified error handler. 21470 * Scripts/modules/executive_unittest.py: Added. 21471 * Scripts/run-webkit-unittests: Added import executive_unittest.py. 21472 21473 2009-12-27 Daniel Bates <dbates (a] webkit.org> 21474 21475 Unreviewed. Added missing file style_unittest.py that wasn't committed 21476 in change set 52541 (http://trac.webkit.org/changeset/52541) as part of 21477 the patch for bug #32592. 21478 21479 * Scripts/modules/style_unittest.py: Added. 21480 21481 2009-12-27 Daniel Bates <dbates (a] webkit.org> 21482 21483 Reviewed by Eric Seidel. 21484 21485 https://bugs.webkit.org/show_bug.cgi?id=32964 21486 21487 [bzt] Updated the unit test based on the change made in bug #32951. 21488 21489 The change made in bug #32951 added the command-line argument: 21490 --makeargs="-j8" to the build-webkit command. However, the associated 21491 unit test was not updated. 21492 21493 * Scripts/modules/webkitport_unittest.py: 21494 21495 2009-12-27 Yael Aharon <yael.aharon (a] nokia.com> 21496 21497 Reviewed by Darin Adler. 21498 21499 check-webkit-style should not mark moc files inclusion as errors 21500 https://bugs.webkit.org/show_bug.cgi?id=32669 21501 21502 Add a new header type for moc files, and skip them when checking the order of header files. 21503 21504 * Scripts/modules/cpp_style.py: 21505 21506 2009-12-26 Adam Barth <abarth (a] webkit.org> 21507 21508 Reviewed by Eric Seidel. 21509 21510 [bzt] Make the qt build go fast 21511 https://bugs.webkit.org/show_bug.cgi?id=32951 21512 21513 Make use of multiple cores, if available. 21514 21515 * Scripts/modules/webkitport.py: 21516 21517 2009-12-25 Daniel Bates <dbates (a] rim.com> 21518 21519 Reviewed by Eric Seidel. 21520 21521 https://bugs.webkit.org/show_bug.cgi?id=32682 21522 21523 Fixes an issue where checkFrameworks always dies with an error under Windows 21524 since the clause "unless (-x $path)" is always satisfied because files under 21525 Windows do not have an explict executable bit. 21526 21527 * Scripts/webkitdirs.pm: 21528 21529 2009-12-23 Eric Seidel <eric (a] webkit.org> 21530 21531 Reviewed by Adam Barth. 21532 21533 bugzilla-tool should accept global options anywhere 21534 https://bugs.webkit.org/show_bug.cgi?id=26912 21535 21536 * Scripts/bugzilla-tool: 21537 - Use the new global_options class property. 21538 - Add a handle_global_options callback to avoid needing callbacks for each global option. 21539 * Scripts/modules/multicommandtool.py: 21540 - Make the code use one combined option parser. 21541 This allows us to accept global options anywhere and 21542 individual command options before commands. 21543 - Add a handle_global_options callback to avoid needing callbacks for each global option. 21544 - Make the Command hold the option parser, but allow the tool to override it. 21545 - The default option parser is used for help printing and when Commands are run stand alone, 21546 but are otherwise not used. 21547 - Add Command.main to codify the idea that Commands should support being run stand-alone. 21548 - Change _split_args to _split_command_name_from_args now that args are unified. 21549 * Scripts/modules/multicommandtool_unittest.py: 21550 - Test that "tool" and "tool help" show the same help. 21551 - Test that args are accepted before commands 21552 21553 2009-12-20 Chris Jerdonek <chris.jerdonek (a] gmail.com> 21554 21555 Reviewed by David Levin. 21556 21557 Moved some sections of code in preparation to refactor 21558 check-webkit-style's argument parser to avoid setting 21559 global variables. 21560 21561 https://bugs.webkit.org/show_bug.cgi?id=32592 21562 21563 * Scripts/check-webkit-style: 21564 - Moved _USAGE string to style.py. 21565 - Addressed FIXME by eliminating dependencies on cpp_style.py. 21566 21567 * Scripts/modules/cpp_style.py: 21568 - Moved default arguments and style categories to style.py. 21569 - Moved exit_with_usage(), exit_with_categories(), and 21570 parse_arguments() to style.py. 21571 - Removed references in _CppStyleState to the global 21572 variables now in style.py. 21573 21574 * Scripts/modules/cpp_style_unittest.py: 21575 - Moved parse_arguments() unit tests to style_unittest.py. 21576 21577 * Scripts/modules/style.py: 21578 - Added _USAGE string from check-webkit-style. 21579 - Added default arguments and style categories from cpp_style.py. 21580 - Added exit_with_usage(), exit_with_categories(), and 21581 parse_arguments() from cpp_sstyle.py. 21582 21583 * Scripts/modules/style_unittest.py: Added. 21584 - Added parse_arguments() unit tests from cpp_style_unittest.py. 21585 21586 * Scripts/run-webkit-unittests: 21587 - Added unit tests from style_unittest.py. 21588 21589 2009-12-23 Eric Seidel <eric (a] webkit.org> 21590 21591 Reviewed by Adam Barth. 21592 21593 commit-queue should mention bug 30084 when rejecting patches until it can be fixed 21594 https://bugs.webkit.org/show_bug.cgi?id=32911 21595 21596 * Scripts/modules/bugzilla.py: Make the message even more fancy. 21597 * Scripts/modules/bugzilla_unittest.py: Test our new fancy message. 21598 21599 2009-12-23 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 21600 21601 Not reviewed, adding myself to the reviewers list. 21602 21603 * Scripts/modules/committers.py: 21604 21605 2009-12-23 Adam Barth <abarth (a] webkit.org> 21606 21607 Reviewed by Eric Seidel. 21608 21609 [bzt] Create a prepare-diff command that creates a bug and a ChangeLog 21610 https://bugs.webkit.org/show_bug.cgi?id=32895 21611 21612 The workflow Maciej and I discussed is as follows: 21613 21614 1) Write code. 21615 2) bugzilla-tool prepare-diff 21616 3) Edit ChangeLogs 21617 4) bugzilla-tool post-diff 21618 21619 We might want to experimenting with combining 2-4 into a single 21620 command, but that might be stressful to edit the ChangeLogs modally. 21621 21622 Removed submit-patch since it has the modal ChangeLog editing but none 21623 oof the bug creating fun. 21624 21625 * Scripts/modules/bugzilla.py: 21626 * Scripts/modules/buildsteps.py: 21627 * Scripts/modules/commands/upload.py: 21628 * Scripts/modules/commands/upload_unittest.py: 21629 21630 2009-12-23 Gabor Loki <loki (a] webkit.org> 21631 21632 Unreviewed; added myself to the committers list. 21633 21634 * Scripts/modules/committers.py: 21635 21636 2009-12-22 Adam Barth <abarth (a] webkit.org> 21637 21638 Reviewed by Maciej Stachowiak. 21639 21640 [bzt] Don't call create-patch twice during post-diff 21641 https://bugs.webkit.org/show_bug.cgi?id=32893 21642 21643 If we call create-patch to get the bug number, cache the diff in the 21644 state so we don't need to call it again. 21645 21646 * Scripts/modules/buildsteps.py: 21647 * Scripts/modules/commands/upload.py: 21648 21649 2009-12-22 Daniel Bates <dbates (a] rim.com> 21650 21651 Reviewed by Eric Seidel. 21652 21653 https://bugs.webkit.org/show_bug.cgi?id=32680 21654 21655 Fixes an issue in builtDylibPathForName so that it returns the correct 21656 path to the built QtWebKit library on the Qt Windows port. Currently, 21657 it returns the path to the file named QtWebKit.dll but this file does 21658 not exist on the Qt Windows build. Instead, the file is named 21659 QtWebKit4.dll. 21660 21661 * Scripts/webkitdirs.pm: 21662 21663 2009-12-22 Marc-Antoine Ruel <maruel (a] chromium.org> 21664 21665 Reviewed by Adam Roben. 21666 21667 Remove the only dependency on perl-libwin32 in cygwin 21668 21669 * Scripts/num-cpus: 21670 21671 2009-12-22 Darin Adler <darin (a] apple.com> 21672 21673 * pywebsocket/mod_pywebsocket: Added property svn:ignore to ignore 21674 generated ".pyc" files. 21675 21676 2009-12-22 Darin Adler <darin (a] apple.com> 21677 21678 Reviewed by Mark Rowe. 21679 21680 Turn off datagrid by default, at least for all platforms Apple ships. 21681 The datagrid implementation isn't ready for general web use yet. 21682 21683 * Scripts/build-webkit: Turn off datagrid by default. 21684 21685 2009-12-22 Eric Seidel <eric (a] webkit.org> 21686 21687 Reviewed by Darin Adler. 21688 21689 validate-committer-lists fails when run from an SVN checkout 21690 https://bugs.webkit.org/show_bug.cgi?id=31974 21691 21692 * Scripts/validate-committer-lists: 21693 - Make it print a warning message instead of throwing 21694 an exception when running from an SVN checkout. 21695 21696 2009-12-22 Philippe Normand <pnormand (a] igalia.com> 21697 21698 Reviewed by Adam Barth. 21699 21700 check-webkit-style should not warn about NULL usage in g_object_{get,set} 21701 https://bugs.webkit.org/show_bug.cgi?id=32858 21702 21703 * Scripts/modules/cpp_style.py: 21704 * Scripts/modules/cpp_style_unittest.py: 21705 21706 2009-12-22 Simon Hausmann <simon.hausmann (a] nokia.com> 21707 21708 Rubber-stamped by Holger Freyther. 21709 21710 Moved QtLauncher from WebKit/qt. 21711 21712 * QtLauncher: Copied from WebKit/qt/QtLauncher. 21713 * QtLauncher/QtLauncher.pro: 21714 21715 2009-12-21 Adam Barth <abarth (a] webkit.org> 21716 21717 Reviewed by Eric Seidel. 21718 21719 [bzt] Automate the process of calling prepare-ChangeLog 21720 https://bugs.webkit.org/show_bug.cgi?id=32816 21721 21722 This patch automates the process of creating a bug and patch and 21723 uploading it to bugzilla. The first cut just calls 21724 prepare-ChangeLog. 21725 21726 This patch required some refactoring of upload.py to the Step 21727 model, but that's worth doing anyway. 21728 21729 * Scripts/bugzilla-tool: 21730 * Scripts/modules/buildsteps.py: 21731 * Scripts/modules/commands/download.py: 21732 * Scripts/modules/commands/upload.py: 21733 * Scripts/modules/commands/upload_unittest.py: 21734 * Scripts/modules/mock_bugzillatool.py: 21735 21736 2009-12-21 Darin Adler <darin (a] apple.com> 21737 21738 * Scripts/do-webcore-rename: Did a rename, so checking in the 21739 version of the script I used. 21740 21741 2009-12-21 Adam Barth <abarth (a] webkit.org> 21742 21743 Reviewed by Eric Seidel. 21744 21745 Update status-bubble to show all the queues 21746 https://bugs.webkit.org/show_bug.cgi?id=32838 21747 21748 Also, move statusbubble over to use memcache. 21749 21750 * QueueStatusServer/handlers/statusbubble.py: 21751 * QueueStatusServer/templates/statusbubble.html: 21752 21753 2009-12-21 Adam Barth <abarth (a] webkit.org> 21754 21755 Reviewed by Eric Seidel. 21756 21757 Delete the boring "Empty queue" status messages in QueueStatusServer 21758 https://bugs.webkit.org/show_bug.cgi?id=32818 21759 21760 * QueueStatusServer/app.yaml: 21761 * QueueStatusServer/cron.yaml: 21762 * QueueStatusServer/handlers/gc.py: 21763 * QueueStatusServer/main.py: 21764 21765 2009-12-21 Adam Barth <abarth (a] webkit.org> 21766 21767 Reviewed by Eric Seidel. 21768 21769 Exception on queue status server 21770 https://bugs.webkit.org/show_bug.cgi?id=32812 21771 21772 Turns out we need to pass the id to the filter. 21773 21774 * QueueStatusServer/filters/webkit_extras.py: 21775 * QueueStatusServer/templates/patch.html: 21776 * QueueStatusServer/templates/recentstatus.html: 21777 21778 2009-12-20 Chris Jerdonek <chris.jerdonek (a] gmail.com> 21779 21780 Reviewed by Eric Seidel. 21781 21782 Created "style" folder for code supporting check-webkit-style. 21783 21784 * Scripts/modules/style: Added. 21785 21786 2009-12-20 Adam Barth <abarth (a] webkit.org> 21787 21788 Reviewed by Eric Seidel. 21789 21790 REGRESSION: error when running commit-queue 21791 https://bugs.webkit.org/show_bug.cgi?id=32806 21792 21793 Fix typo and add test! 21794 21795 * Scripts/modules/bugzilla.py: 21796 * Scripts/modules/bugzilla_unittest.py: 21797 21798 2009-12-20 Adam Barth <abarth (a] webkit.org> 21799 21800 [bzt] Optimize status updates for new dashboard 21801 https://bugs.webkit.org/show_bug.cgi?id=32797 21802 21803 This patch makes the queues slightly more chatty with the web service. 21804 Also, this patch introduces some testing for the queues! 21805 21806 * Scripts/modules/commands/early_warning_system.py: 21807 * Scripts/modules/commands/early_warning_system_unittest.py: Added. 21808 * Scripts/modules/commands/queues.py: 21809 * Scripts/modules/commands/queues_unittest.py: 21810 * Scripts/modules/commands/queuestest.py: Added. 21811 * Scripts/modules/mock_bugzillatool.py: 21812 * Scripts/modules/patchcollection.py: 21813 * Scripts/modules/queueengine.py: 21814 * Scripts/run-webkit-unittests: 21815 21816 2009-12-20 Adam Barth <abarth (a] webkit.org> 21817 21818 Reviewed by Eric Seidel. 21819 21820 Prepare QueueStatusServer for new status messages 21821 https://bugs.webkit.org/show_bug.cgi?id=32805 21822 21823 * QueueStatusServer/handlers/recentstatus.py: 21824 * QueueStatusServer/index.html: Removed. 21825 * QueueStatusServer/model/attachment.py: 21826 * QueueStatusServer/model/queues.py: Added. 21827 * QueueStatusServer/templates/recentstatus.html: Added. 21828 21829 2009-12-20 Shinichiro Hamaji <hamaji (a] chromium.org> 21830 21831 Reviewed by Adam Barth. 21832 21833 [check-webkit-style] static_cast is not misnamed! 21834 https://bugs.webkit.org/show_bug.cgi?id=32796 21835 21836 * Scripts/modules/cpp_style.py: 21837 * Scripts/modules/cpp_style_unittest.py: 21838 21839 2009-12-20 Alejandro G. Castro <alex (a] igalia.com> 21840 21841 Reviewed by Gustavo Noronha Silva. 21842 21843 [GTK] Failing test platform/gtk/editing/pasteboard/middle-button-paste.html 21844 https://bugs.webkit.org/show_bug.cgi?id=32788 21845 21846 Do not increase the click count if we are using a different button. 21847 21848 * DumpRenderTree/gtk/EventSender.cpp: 21849 21850 2009-12-20 Adam Barth <abarth (a] webkit.org> 21851 21852 Reviewed by Eric Seidel. 21853 21854 [QueueStatusServer] Add a per-patch details page 21855 https://bugs.webkit.org/show_bug.cgi?id=32784 21856 21857 This is a first cut at a per-patch details page. I'm sure we'll have 21858 to iterate. 21859 21860 * QueueStatusServer/filters/webkit_extras.py: 21861 * QueueStatusServer/handlers/patch.py: Added. 21862 * QueueStatusServer/index.yaml: 21863 * QueueStatusServer/main.py: 21864 * QueueStatusServer/model/attachment.py: 21865 * QueueStatusServer/stylesheets/dashboard.css: 21866 * QueueStatusServer/templates/dashboard.html: 21867 * QueueStatusServer/templates/patch.html: Added. 21868 21869 2009-12-20 Adam Barth <abarth (a] webkit.org> 21870 21871 Reviewed by Eric Seidel. 21872 21873 Use memcache to make dashboard to fast 21874 https://bugs.webkit.org/show_bug.cgi?id=32780 21875 21876 * QueueStatusServer/app.yaml: 21877 * QueueStatusServer/handlers/dashboard.py: 21878 * QueueStatusServer/handlers/updatestatus.py: 21879 * QueueStatusServer/model/attachment.py: Added. 21880 21881 2009-12-19 Brent Fulgham <bfulgham (a] webkit.org> 21882 21883 Reviewed by Adam Roben. 21884 21885 Provide an example implementation for printing under Windows. 21886 http://bugs.webkit.org/show_bug.cgi?id=32504.` 21887 21888 * WinLauncher/PrintWebUIDelegate.cpp: Added. 21889 (PrintWebUIDelegate::QueryInterface): 21890 (PrintWebUIDelegate::AddRef): 21891 (PrintWebUIDelegate::Release): 21892 (PrintWebUIDelegate::webViewPrintingMarginRect): 21893 * WinLauncher/PrintWebUIDelegate.h: Added. 21894 (PrintWebUIDelegate::PrintWebUIDelegate): 21895 (PrintWebUIDelegate::createWebViewWithRequest): 21896 (PrintWebUIDelegate::webViewShow): 21897 (PrintWebUIDelegate::webViewClose): 21898 (PrintWebUIDelegate::webViewFocus): 21899 (PrintWebUIDelegate::webViewUnfocus): 21900 (PrintWebUIDelegate::webViewFirstResponder): 21901 (PrintWebUIDelegate::makeFirstResponder): 21902 (PrintWebUIDelegate::setStatusText): 21903 (PrintWebUIDelegate::webViewStatusText): 21904 (PrintWebUIDelegate::webViewAreToolbarsVisible): 21905 (PrintWebUIDelegate::setToolbarsVisible): 21906 (PrintWebUIDelegate::webViewIsStatusBarVisible): 21907 (PrintWebUIDelegate::setStatusBarVisible): 21908 (PrintWebUIDelegate::webViewIsResizable): 21909 (PrintWebUIDelegate::setResizable): 21910 (PrintWebUIDelegate::setFrame): 21911 (PrintWebUIDelegate::webViewFrame): 21912 (PrintWebUIDelegate::setContentRect): 21913 (PrintWebUIDelegate::webViewContentRect): 21914 (PrintWebUIDelegate::runJavaScriptAlertPanelWithMessage): 21915 (PrintWebUIDelegate::runJavaScriptConfirmPanelWithMessage): 21916 (PrintWebUIDelegate::runJavaScriptTextInputPanelWithPrompt): 21917 (PrintWebUIDelegate::runBeforeUnloadConfirmPanelWithMessage): 21918 (PrintWebUIDelegate::runOpenPanelForFileButtonWithResultListener): 21919 (PrintWebUIDelegate::mouseDidMoveOverElement): 21920 (PrintWebUIDelegate::contextMenuItemsForElement): 21921 (PrintWebUIDelegate::validateUserInterfaceItem): 21922 (PrintWebUIDelegate::shouldPerformAction): 21923 (PrintWebUIDelegate::dragDestinationActionMaskForDraggingInfo): 21924 (PrintWebUIDelegate::willPerformDragDestinationAction): 21925 (PrintWebUIDelegate::dragSourceActionMaskForPoint): 21926 (PrintWebUIDelegate::willPerformDragSourceAction): 21927 (PrintWebUIDelegate::contextMenuItemSelected): 21928 (PrintWebUIDelegate::hasCustomMenuImplementation): 21929 (PrintWebUIDelegate::trackCustomPopupMenu): 21930 (PrintWebUIDelegate::measureCustomMenuItem): 21931 (PrintWebUIDelegate::drawCustomMenuItem): 21932 (PrintWebUIDelegate::addCustomMenuDrawingData): 21933 (PrintWebUIDelegate::cleanUpCustomMenuDrawingData): 21934 (PrintWebUIDelegate::canTakeFocus): 21935 (PrintWebUIDelegate::takeFocus): 21936 (PrintWebUIDelegate::registerUndoWithTarget): 21937 (PrintWebUIDelegate::removeAllActionsWithTarget): 21938 (PrintWebUIDelegate::setActionTitle): 21939 (PrintWebUIDelegate::undo): 21940 (PrintWebUIDelegate::redo): 21941 (PrintWebUIDelegate::canUndo): 21942 (PrintWebUIDelegate::canRedo): 21943 (PrintWebUIDelegate::printFrame): 21944 (PrintWebUIDelegate::ftpDirectoryTemplatePath): 21945 (PrintWebUIDelegate::webViewHeaderHeight): 21946 (PrintWebUIDelegate::webViewFooterHeight): 21947 (PrintWebUIDelegate::drawHeaderInRect): 21948 (PrintWebUIDelegate::drawFooterInRect): 21949 (PrintWebUIDelegate::canRunModal): 21950 (PrintWebUIDelegate::createModalDialog): 21951 (PrintWebUIDelegate::runModal): 21952 (PrintWebUIDelegate::isMenuBarVisible): 21953 (PrintWebUIDelegate::setMenuBarVisible): 21954 (PrintWebUIDelegate::runDatabaseSizeLimitPrompt): 21955 (PrintWebUIDelegate::paintCustomScrollbar): 21956 (PrintWebUIDelegate::paintCustomScrollCorner): 21957 * WinLauncher/WinLauncher.cpp: Add new UI delegate for print support. 21958 (WinLauncherWebHost::updateAddressBar): check-webkit-style fixes. 21959 (WinLauncherWebHost::QueryInterface): check-webkit-style fixes. 21960 (WinLauncherWebHost::AddRef): check-webkit-style fixes. 21961 (WinLauncherWebHost::Release): check-webkit-style fixes. 21962 (resizeSubViews): check-webkit-style fixes. 21963 (_tWinMain): check-webkit-style fixes. 21964 (MyRegisterClass): check-webkit-style fixes. 21965 (InitInstance): check-webkit-style fixes. 21966 (AbortProc): New print support function. 21967 (getPrinterDC): New print support function. 21968 (initDocStruct): New print support function. 21969 (PrintView): New printing implementation. 21970 (WndProc): Add support for printing. 21971 (MyEditProc): check-webkit-style fixes. 21972 (About): check-webkit-style fixes. 21973 (loadURL): check-webkit-style fixes. 21974 * WinLauncher/WinLauncher.h: 21975 (WinLauncherWebHost::WinLauncherWebHost): 21976 (WinLauncherWebHost::didStartProvisionalLoadForFrame): 21977 (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame): 21978 (WinLauncherWebHost::didFailProvisionalLoadWithError): 21979 (WinLauncherWebHost::didCommitLoadForFrame): 21980 (WinLauncherWebHost::didReceiveTitle): 21981 (WinLauncherWebHost::didReceiveIcon): 21982 (WinLauncherWebHost::didFinishLoadForFrame): 21983 (WinLauncherWebHost::didFailLoadWithError): 21984 (WinLauncherWebHost::didChangeLocationWithinPageForFrame): 21985 (WinLauncherWebHost::willPerformClientRedirectToURL): 21986 (WinLauncherWebHost::didCancelClientRedirectForFrame): 21987 (WinLauncherWebHost::willCloseFrame): 21988 (WinLauncherWebHost::windowScriptObjectAvailable): 21989 * WinLauncher/WinLauncher.rc: Add menu entry for printing. 21990 * WinLauncher/WinLauncher.vcproj: Add new files. 21991 * WinLauncher/resource.h: Add menu entry for printing. 21992 21993 2009-12-19 Adam Barth <abarth (a] webkit.org> 21994 21995 Unreviewed. Tweak the CSS to make the dashboard prettier. 21996 21997 * QueueStatusServer/stylesheets/dashboard.css: 21998 * QueueStatusServer/templates/dashboard.html: 21999 22000 2009-12-19 Adam Barth <abarth (a] webkit.org> 22001 22002 Reviewed by Eric Seidel. 22003 22004 QueueStatusServer needs a human readable dashboard 22005 https://bugs.webkit.org/show_bug.cgi?id=32769 22006 22007 Here is a first cut at the dashboard. There's a lot left to do. 22008 22009 * QueueStatusServer/filters/webkit_extras.py: 22010 * QueueStatusServer/handlers/dashboard.py: Added. 22011 * QueueStatusServer/handlers/patchstatus.py: 22012 * QueueStatusServer/handlers/recentstatus.py: 22013 * QueueStatusServer/handlers/showresults.py: 22014 * QueueStatusServer/handlers/statusbubble.py: 22015 * QueueStatusServer/handlers/updatestatus.py: 22016 * QueueStatusServer/main.py: 22017 * QueueStatusServer/model/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py. 22018 * QueueStatusServer/model/queuestatus.py: Renamed from WebKitTools/QueueStatusServer/model.py. 22019 * QueueStatusServer/stylesheets/dashboard.css: Added. 22020 * QueueStatusServer/templates/dashboard.html: Added. 22021 * QueueStatusServer/templates/statusbubble.html: Renamed from WebKitTools/QueueStatusServer/status_bubble.html. 22022 * QueueStatusServer/templates/updatestatus.html: Renamed from WebKitTools/QueueStatusServer/update_status.html. 22023 22024 2009-12-19 Daniel Bates <dbates (a] webkit.org> 22025 22026 Reviewed by Timothy Hatcher. 22027 22028 https://bugs.webkit.org/show_bug.cgi?id=32462 22029 22030 Added --inspector-frontend flag to build-webkit to copy any changes 22031 to the inspector front-end files to the built WebCore framework. This 22032 will make inspector development more consistent with the rest of 22033 WebKit development. 22034 22035 * Scripts/build-webkit: 22036 * Scripts/webkitdirs.pm: 22037 22038 2009-12-19 Adam Barth <abarth (a] webkit.org> 22039 22040 Unreviewed fixes for me being terrible at python. 22041 22042 * Scripts/modules/bugzilla.py: 22043 * Scripts/run-webkit-unittests: 22044 22045 2009-12-18 Adam Barth <abarth (a] webkit.org> 22046 22047 Reviewed by Eric Seidel. 22048 22049 Split QueueStatus server into modules 22050 https://bugs.webkit.org/show_bug.cgi?id=32768 22051 22052 One monolithic file is no good. 22053 22054 * QueueStatusServer/app.yaml: 22055 * QueueStatusServer/handlers/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py. 22056 * QueueStatusServer/handlers/patchstatus.py: Added. 22057 * QueueStatusServer/handlers/recentstatus.py: Added. 22058 * QueueStatusServer/handlers/showresults.py: Added. 22059 * QueueStatusServer/handlers/statusbubble.py: Added. 22060 * QueueStatusServer/handlers/updatestatus.py: Added. 22061 * QueueStatusServer/main.py: Added. 22062 * QueueStatusServer/model.py: Added. 22063 * QueueStatusServer/queue_status.py: Removed. 22064 22065 2009-12-18 Adam Barth <abarth (a] webkit.org> 22066 22067 Rubber stamped by Eric Seidel. 22068 22069 Renamed WorkQueue to QueueEngine. WorkQueue is not a queue. 22070 22071 * Scripts/modules/commands/queues.py: 22072 * Scripts/modules/queueengine.py: Added. 22073 * Scripts/modules/queueengine_unittest.py: Added. 22074 * Scripts/modules/stepsequence.py: 22075 * Scripts/modules/workqueue.py: Removed. 22076 * Scripts/modules/workqueue_unittest.py: Removed. 22077 22078 2009-12-18 Adam Barth <abarth (a] webkit.org> 22079 22080 Reviewed by Eric Seidel. 22081 22082 Add watches for EWS 22083 https://bugs.webkit.org/show_bug.cgi?id=32767 22084 22085 dglazkov wanted to be added. 22086 22087 * Scripts/modules/bugzilla.py: 22088 * Scripts/modules/commands/early_warning_system.py: 22089 * Scripts/modules/commands/queues.py: 22090 22091 2009-12-18 Eric Seidel <eric (a] webkit.org> 22092 22093 Reviewed by David Levin. 22094 22095 move bugzilla.py off of urllib2 22096 https://bugs.webkit.org/show_bug.cgi?id=32729 22097 22098 * Scripts/modules/bugzilla.py: use mechanize for all url fetching. 22099 22100 2009-12-18 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 22101 22102 Rubber-stamped by Xan Lopez. 22103 22104 [GTK] New events (pageshow and pagehide) tests failing 22105 https://bugs.webkit.org/show_bug.cgi?id=28823 22106 22107 Original patch by Jan Michael Alonzo. 22108 22109 Disable page cache for tests. 22110 22111 * DumpRenderTree/gtk/DumpRenderTree.cpp: 22112 (resetDefaultsToConsistentValues): 22113 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 22114 (copyWebSettingKey): 22115 (LayoutTestController::overridePreference): 22116 22117 2009-12-18 Fumitoshi Ukai <ukai (a] chromium.org> 22118 22119 Reviewed by David Levin. 22120 22121 Check one space before end of line comments. 22122 https://bugs.webkit.org/show_bug.cgi?id=32597 22123 22124 Fix to check one space before end of line comments in whitespace and build/header_guard. 22125 Also fix build/header_guard to use WebKit header guard defines. 22126 22127 * Scripts/modules/cpp_style.py: 22128 * Scripts/modules/cpp_style_unittest.py: 22129 22130 2009-12-17 Sam Weinig <sam (a] webkit.org> 22131 22132 Reviewed by Mark Rowe. 22133 22134 Add BUILDING_ON_SNOW_LEOPARD #define. 22135 22136 * DumpRenderTree/mac/DumpRenderTreeMac.h: 22137 22138 2009-12-17 Yuzo Fujishima <yuzo (a] google.com> 22139 22140 Reviewed by Alexey Proskuryakov. 22141 22142 Update pywebsocket to 0.4.5 and make handshake checking stricter 22143 https://bugs.webkit.org/show_bug.cgi?id=32249 22144 22145 * Scripts/run-webkit-tests: 22146 * pywebsocket/mod_pywebsocket/handshake.py: 22147 * pywebsocket/mod_pywebsocket/memorizingfile.py: Added. 22148 * pywebsocket/mod_pywebsocket/standalone.py: 22149 * pywebsocket/setup.py: 22150 * pywebsocket/test/test_handshake.py: 22151 * pywebsocket/test/test_memorizingfile.py: Added. 22152 22153 2009-12-17 Eric Seidel <eric (a] webkit.org> 22154 22155 Reviewed by Adam Barth. 22156 22157 Command.show_in_main_help should default to False 22158 https://bugs.webkit.org/show_bug.cgi?id=32686 22159 22160 * Scripts/modules/commands/download.py: 22161 * Scripts/modules/commands/queries.py: 22162 * Scripts/modules/commands/queues.py: 22163 * Scripts/modules/commands/upload.py: 22164 * Scripts/modules/multicommandtool.py: 22165 22166 2009-12-17 Alejandro G. Castro <alex (a] igalia.com> 22167 22168 Reviewed by Eric Seidel. 22169 22170 Added the key WebKitEnableCaretBrowsing to the 22171 layoutTestController.overridePreference in order to activate caret 22172 browsing. 22173 https://bugs.webkit.org/show_bug.cgi?id=32612 22174 22175 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added the reset value of 22176 the setting. 22177 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Inserted the new 22178 key in the keytable. 22179 22180 2009-12-17 Chris Fleizach <cfleizach (a] apple.com> 22181 22182 Reviewed by David Kilzer. 22183 22184 AX: DRT needs to support URL for accessibility 22185 https://bugs.webkit.org/show_bug.cgi?id=32666 22186 22187 * DumpRenderTree/AccessibilityUIElement.cpp: 22188 (getURLCallback): 22189 (AccessibilityUIElement::getJSClass): 22190 * DumpRenderTree/AccessibilityUIElement.h: 22191 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 22192 (AccessibilityUIElement::url): 22193 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 22194 (AccessibilityUIElement::url): 22195 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 22196 (AccessibilityUIElement::url): 22197 22198 2009-12-17 Philippe Normand <pnormand (a] igalia.com> 22199 22200 Unreviewed; added myself to committers 22201 22202 * Scripts/modules/committers.py: 22203 22204 2009-12-17 Benjamin Otte <otte (a] gnome.org> 22205 22206 Unreviewed; added myself to committers 22207 22208 * Scripts/modules/committers.py: 22209 22210 2009-12-17 Adam Barth <abarth (a] webkit.org> 22211 22212 Rubber stamp by Seidel. 22213 22214 Clean up exception handling in WorkQueue. Basically, a bunch of the 22215 delegate messages can throw exceptions because of network errors. We 22216 want the queues to keep on ticking instead of erroring out. That means 22217 we want to catch generic exceptions and continue looping. 22218 22219 Also, cleaned up the exception handling in the EWS to properly log 22220 failures. 22221 22222 * Scripts/modules/commands/early_warning_system.py: 22223 * Scripts/modules/commands/queues.py: 22224 * Scripts/modules/workqueue.py: 22225 22226 2009-12-16 Adam Barth <abarth (a] webkit.org> 22227 22228 Reviewed by Eric Seidel. 22229 22230 [bzt] Make UpdateStep quiet 22231 https://bugs.webkit.org/show_bug.cgi?id=32599 22232 22233 * Scripts/modules/buildsteps.py: 22234 * Scripts/modules/buildsteps_unittest.py: 22235 22236 2009-12-16 Evan Martin <evan (a] chromium.org> 22237 22238 Reviewed by Adam Barth. 22239 22240 Add Gtk to the early warning system WebKit port list. 22241 22242 https://bugs.webkit.org/show_bug.cgi?id=32629 22243 22244 * Scripts/modules/commands/early_warning_system.py: 22245 * Scripts/modules/webkitport.py: 22246 * Scripts/modules/webkitport_unittest.py: 22247 22248 2009-12-16 Eric Seidel <eric (a] webkit.org> 22249 22250 Reviewed by Adam Barth. 22251 22252 post-diff is failing with exception under guess_reviewer_from_bug 22253 https://bugs.webkit.org/show_bug.cgi?id=32642 22254 22255 Also refactor output capturing code into 22256 OutputCapture.assert_outputs to share more code between tests. 22257 22258 * Scripts/modules/buildsteps.py: 22259 - Add the missing include. 22260 - Give guess_reviewer_from_bug a private underscore. 22261 * Scripts/modules/buildsteps_unittest.py: Added. 22262 - Test to make sure _guess_reviewer_from_bug works as expected. 22263 * Scripts/modules/commands/commandtest.py: 22264 - Custom code is now obsoleted by OutputCapture.assert_outputs 22265 * Scripts/modules/commands/queues_unittest.py: 22266 - ditto 22267 * Scripts/modules/credentials_unittest.py: 22268 - ditto 22269 * Scripts/modules/mock_bugzillatool.py: 22270 - fetch_reviewed_patches_from_bug can never return None 22271 * Scripts/modules/multicommandtool_unittest.py: 22272 - Custom code is now obsoleted by OutputCapture.assert_outputs 22273 * Scripts/modules/outputcapture.py: 22274 - Add assert_outputs to share more code between tests. 22275 * Scripts/run-webkit-unittests: 22276 - Add buildsteps_unittest.py 22277 22278 2009-12-16 Adam Barth <abarth (a] webkit.org> 22279 22280 Unreviewed. Added a default argument to _update_status so that callers 22281 don't have to explictly pass None when they don't have a patch object. 22282 22283 * Scripts/modules/commands/queues.py: 22284 22285 2009-12-16 Kent Tamura <tkent (a] chromium.org> 22286 22287 Reviewed by David Levin. 22288 22289 check-webkit-style supports for TAB check against text files. 22290 https://bugs.webkit.org/show_bug.cgi?id=32538 22291 22292 * Scripts/check-webkit-style: 22293 Move process_patch() to style.py. 22294 * Scripts/modules/cpp_style.py: 22295 Add can_handle(). 22296 * Scripts/modules/cpp_style_unittest.py: 22297 Add tests for can_handle(). 22298 * Scripts/modules/style.py: 22299 Added. This is a front-end of cpp_style and text_style. It dispatches 22300 files to an appropriate linter. 22301 * Scripts/modules/text_style.py: 22302 Added. This is a linter module for generic text files. It supports 22303 only for TAB checking at this moment. 22304 * Scripts/modules/text_style_unittest.py: 22305 Added. Tests for text_style.py. 22306 * Scripts/run-webkit-unittests: 22307 Add text_style_unittest. 22308 22309 2009-12-16 Eric Seidel <eric (a] webkit.org> 22310 22311 Reviewed by David Levin. 22312 22313 bugzilla-tool should not require users to install mechanize 22314 https://bugs.webkit.org/show_bug.cgi?id=32635 22315 22316 Centralize our import logic. 22317 22318 * Scripts/modules/bugzilla.py: use webkit_mechanize 22319 * Scripts/modules/statusbot.py: use webkit_mechanize 22320 * Scripts/modules/webkit_mechanize.py: Added. 22321 22322 2009-12-16 Eric Seidel <eric (a] webkit.org> 22323 22324 Reviewed by Adam Barth. 22325 22326 Generalize commit-queue recent status page for all queues 22327 https://bugs.webkit.org/show_bug.cgi?id=32633 22328 22329 * QueueStatusServer/index.html: 22330 - Generalize to support other queues. 22331 * QueueStatusServer/queue_status.py: 22332 - Generalize MainPage to support other queues. 22333 22334 2009-12-16 Evan Martin <evan (a] chromium.org> 22335 22336 Reviewed by Adam Barth. 22337 22338 Early warning system server should display output as UTF-8. 22339 22340 https://bugs.webkit.org/show_bug.cgi?id=32625 22341 22342 * QueueStatusServer/queue_status.py: 22343 22344 2009-12-16 Adam Barth <abarth (a] webkit.org> 22345 22346 Reviewed by Eric Seidel. 22347 22348 [bzt] Add error handling to the early warning system 22349 https://bugs.webkit.org/show_bug.cgi?id=32594 22350 22351 This should be the last step in making the EWS operational. When we 22352 have a build error, we post the log to QueueStatusServer and add a link 22353 to the bug. 22354 22355 * Scripts/modules/commands/early_warning_system.py: 22356 * Scripts/modules/commands/queues.py: 22357 * Scripts/modules/executive.py: 22358 22359 2009-12-16 Simon Hausmann <simon.hausmann (a] nokia.com> 22360 22361 Reviewed by Holger Freyther. 22362 22363 Fix crash with tests that use custom font faces. 22364 22365 https://bugs.webkit.org/show_bug.cgi?id=32600 22366 22367 In the DRT we call QApplication::removeAllApplicationFonts(), to make sure 22368 that custom font faces between tests don't influence each other. Calling this 22369 function in Qt however also invalidates all existing handles with QFontDatabase. 22370 22371 In order to make sure that WebCore also drops these handles we call QWebSettings::clearMemoryCaches(), 22372 which implies a call to WebCore::FontCache::fontCache()->invalidate(). 22373 22374 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 22375 (WebCore::DumpRenderTree::open): 22376 22377 2009-12-16 Andreas Kling <andreas.kling (a] nokia.com> 22378 22379 Reviewed by Simon Hausmann. 22380 22381 [Qt] Maintain button state between mouse events. 22382 22383 This allows eventSender to generate drag events. 22384 22385 https://bugs.webkit.org/show_bug.cgi?id=32601 22386 22387 * DumpRenderTree/qt/EventSenderQt.cpp: 22388 (EventSender::mouseDown): 22389 (EventSender::mouseUp): 22390 (EventSender::mouseMoveTo): 22391 * DumpRenderTree/qt/EventSenderQt.h: 22392 22393 2009-12-15 Chris Jerdonek <chris.jerdonek (a] gmail.com> 22394 22395 Reviewed by David Levin. 22396 22397 Code clean-up in check-webkit-style as described below. 22398 The only functional changes are minor improvements to the 22399 script's help output. 22400 22401 https://bugs.webkit.org/show_bug.cgi?id=32487 22402 22403 * Scripts/check-webkit-style: 22404 - Added the module docstring from cpp_style.py. 22405 - Improved wording of the --help output and added some of the 22406 default values as substitution strings. 22407 - Called cpp_style.exit_with_usage instead of sys.stderr.write 22408 in main function. 22409 - Made changes caused by changes to cpp_style.py. 22410 22411 * Scripts/modules/cpp_style.py: 22412 - Removed module docstring, as well as redundant _USAGE string 22413 and main() function obsoleted by check-webkit-style. 22414 - Moved specification of default script values from within a 22415 function definition to global variables. 22416 - Moved the default webkit filter rules to be near the other 22417 global variables. 22418 - Renamed "FILTER" global variables to "FILTER_RULES" to 22419 establish unambiguous terminology. 22420 - Renamed _ERROR_CATEGORIES to _STYLE_CATEGORIES. 22421 - Changed _STYLE_CATEGORIES from a string to a list. 22422 - Added default webkit filter rules to --filter= output. 22423 - Renamed "print_" methods to "exit_with_" since they exist 22424 and added a temporary display_help parameter. 22425 - Added a temporary display_help parameter to parse_arguments. 22426 22427 * Scripts/modules/cpp_style_unittest.py: 22428 - Made changes caused by changes to cpp_style.py. 22429 - Lower-cased ErrorCollector's ERROR_CATEGORIES instance 22430 variables since they are not global. 22431 22432 2009-12-15 Adam Barth <abarth (a] webkit.org> 22433 22434 Unreviewed fix for the style-queue. 22435 Typo: _updates_status -> _update_status 22436 22437 We need to improve our testing infrastructure for the queues. 22438 22439 * Scripts/modules/commands/queues.py: 22440 22441 2009-12-15 Adam Barth <abarth (a] webkit.org> 22442 22443 Unreviewed fix for the style-queue. I suspect this is a recent 22444 regression from Eric's change below. 22445 22446 * Scripts/modules/commands/queues.py: 22447 22448 2009-12-15 Yaar Schnitman <yaar (a] chromium.org> 22449 22450 Reviewed by Darin Fisher. 22451 22452 update-webkit-chromium to auto-install gclient 22453 22454 https://bugs.webkit.org/show_bug.cgi?id=32587 22455 22456 * Scripts/update-webkit-chromium: 22457 22458 2009-12-15 Eric Seidel <eric (a] webkit.org> 22459 22460 Reviewed by Adam Barth. 22461 22462 bugzilla-tool / commit-queue should add results links to bugs when more results are available on the status bot 22463 https://bugs.webkit.org/show_bug.cgi?id=32546 22464 22465 You can see an example of this working in: 22466 https://bugs.webkit.org/show_bug.cgi?id=32585#c3 22467 22468 * QueueStatusServer/queue_status.py: 22469 - Output the id of the newly created status. 22470 * Scripts/modules/commands/queues.py: 22471 - Tweak the commit-queue logging to include a full status link. 22472 * Scripts/modules/statusbot.py: 22473 - update_status should return the newly created status id. 22474 22475 2009-12-15 Andras Becsi <abecsi (a] inf.u-szeged.hu> 22476 22477 Reviewed by Tor Arne Vestb. 22478 22479 [Qt] Rename Qt DRT components to match other ports' naming convention and to be more understandable. 22480 22481 * DumpRenderTree/qt/DumpRenderTree.cpp: Removed. 22482 * DumpRenderTree/qt/DumpRenderTree.h: Removed. 22483 * DumpRenderTree/qt/DumpRenderTree.pro: Updated. 22484 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: Copied from WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp. 22485 * DumpRenderTree/qt/DumpRenderTreeQt.h: Copied from WebKitTools/DumpRenderTree/qt/DumpRenderTree.h. 22486 * DumpRenderTree/qt/GCControllerQt.cpp: Copied from WebKitTools/DumpRenderTree/qt/jsobjects.cpp. 22487 (GCController::GCController): 22488 * DumpRenderTree/qt/GCControllerQt.h: Copied from WebKitTools/DumpRenderTree/qt/jsobjects.h. 22489 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 22490 * DumpRenderTree/qt/WorkQueueItem.h: Removed. 22491 * DumpRenderTree/qt/WorkQueueItemQt.cpp: Updated includes. 22492 * DumpRenderTree/qt/WorkQueueItemQt.h: Copied from WebKitTools/DumpRenderTree/qt/WorkQueueItem.h. 22493 * DumpRenderTree/qt/jsobjects.cpp: Removed. 22494 * DumpRenderTree/qt/jsobjects.h: Removed. 22495 * DumpRenderTree/qt/main.cpp: Updated includes. 22496 22497 2009-12-15 Adam Barth <abarth (a] webkit.org> 22498 22499 Reviewed by Eric Seidel. 22500 22501 We have two mark-fixed commands 22502 https://bugs.webkit.org/show_bug.cgi?id=32073 22503 22504 * Scripts/mark-bug-fixed: Removed. 22505 * Scripts/modules/commands/upload.py: 22506 * Scripts/modules/commands/upload_unittest.py: 22507 22508 2009-12-15 Eric Seidel <eric (a] webkit.org> 22509 22510 Reviewed by Adam Barth. 22511 22512 bugzilla-tool/commit-queue needs to upload failure logs when patches are rejected 22513 https://bugs.webkit.org/show_bug.cgi?id=28286 22514 22515 * QueueStatusServer/index.html: 22516 - Show [results] links if a results log was uploaded. 22517 * QueueStatusServer/queue_status.py: 22518 - Empty file uploads appear as u"" and Blob does not handle unicode, so convert to str(). 22519 * Scripts/modules/commands/queues.py: 22520 - Post to the status bot when a patch fails and include the failure log as a results file. 22521 22522 2009-12-15 Eric Seidel <eric (a] webkit.org> 22523 22524 Reviewed by Adam Barth. 22525 22526 queue sub-commands need --status-host so they can report status 22527 https://bugs.webkit.org/show_bug.cgi?id=32313 22528 22529 Make --status-bot a global option and make 22530 run_bugzilla_tool pass --status-bot to sub-commands. 22531 22532 * Scripts/bugzilla-tool: 22533 - Rename _status to status_bot and make it non-lazy. 22534 * Scripts/modules/commands/queues.py: 22535 - Move status updates out of WorkQueue and into individual queues. 22536 * Scripts/modules/commands/queues_unittest.py: 22537 - Test that --status-host is passed to bugzilla-tool when run as subcommand. 22538 * Scripts/modules/mock_bugzillatool.py: 22539 - Add a MockStatusBot 22540 * Scripts/modules/workqueue.py: 22541 - Remove status_host and work_work_logs_directory callbacks. 22542 - Add new work_item_log_path callback so that WorkQueue doesn't need to know about patches! 22543 * Scripts/modules/workqueue_unittest.py: 22544 - Update unit tests to reflect new callbacks. 22545 22546 2009-12-15 Adam Barth <abarth (a] webkit.org> 22547 22548 Reviewed by Eric Seidel. 22549 22550 scm_unittest.py is too slow 22551 https://bugs.webkit.org/show_bug.cgi?id=31818 22552 22553 Now we don't run the SCM unit tests unless we get the --all flag on the 22554 command line. Eric and I were commenting out this test because it was 22555 too painful to run. 22556 22557 * Scripts/run-webkit-unittests: 22558 22559 2009-12-14 Adam Barth <abarth (a] webkit.org> 22560 22561 Unreviewed. Fix failing unittest. 22562 22563 * Scripts/modules/bugzilla_unittest.py: 22564 22565 2009-12-14 Eric Seidel <eric (a] webkit.org> 22566 22567 Reviewed by Adam Barth. 22568 22569 Move Credential handling out into a separate module 22570 https://bugs.webkit.org/show_bug.cgi?id=32531 22571 22572 * Scripts/modules/bugzilla.py: 22573 * Scripts/modules/credentials.py: Added. 22574 * Scripts/modules/credentials_unittest.py: Added. 22575 * Scripts/run-webkit-unittests: 22576 22577 2009-12-14 Adam Barth <abarth (a] webkit.org> 22578 22579 Reviewed by Eric Seidel. 22580 22581 Kill _create_step_sequence 22582 https://bugs.webkit.org/show_bug.cgi?id=32539 22583 22584 It's cleaner to represent not having these sequences as an empty 22585 sequence instead of None. 22586 22587 * Scripts/modules/commands/download.py: 22588 * Scripts/modules/stepsequence.py: 22589 22590 2009-12-14 Adam Barth <abarth (a] webkit.org> 22591 22592 Unreviewed. Address reviewer comments from an earlier patch. I didn't 22593 do this earlier because I was worried about conflicts in dependent 22594 patches. 22595 22596 * Scripts/modules/commands/download.py: 22597 22598 2009-12-14 Adam Barth <abarth (a] webkit.org> 22599 22600 Reviewed by Eric Seidel. 22601 22602 [bzt] Make download commands declarative 22603 https://bugs.webkit.org/show_bug.cgi?id=32469 22604 22605 This patch "properly" factors most of the download commands. These 22606 commands are now largely declarative, which is the final step of this 22607 grand refactoring. 22608 22609 * Scripts/modules/buildsteps.py: 22610 * Scripts/modules/commands/download.py: 22611 22612 2009-12-14 Adam Barth <abarth (a] webkit.org> 22613 22614 Reviewed by Eric Seidel. 22615 22616 [bzt] Add AbstractPatchSequencingCommand to remove redundant code 22617 https://bugs.webkit.org/show_bug.cgi?id=32468 22618 22619 Redundant code is bad. This patch moves us towards more declarative 22620 commands. 22621 22622 * Scripts/modules/commands/download.py: 22623 22624 2009-12-14 Adam Barth <abarth (a] webkit.org> 22625 22626 Reviewed by Eric Seidel. 22627 22628 [bzt] Kill WebKitApplyingScripts 22629 https://bugs.webkit.org/show_bug.cgi?id=32467 22630 22631 Ah! I've been wanting to do this for a long time. This patch brings 22632 the applying commands into the patch processing fold. 22633 22634 * Scripts/bugzilla-tool: 22635 * Scripts/modules/buildsteps.py: 22636 * Scripts/modules/commands/download.py: 22637 * Scripts/modules/commands/download_unittest.py: 22638 * Scripts/modules/mock_bugzillatool.py: 22639 22640 2009-12-14 Adam Barth <abarth (a] webkit.org> 22641 22642 Reviewed by Eric Seidel. 22643 22644 [bzt] Convert rollout to StepSequence 22645 https://bugs.webkit.org/show_bug.cgi?id=32406 22646 22647 * Scripts/modules/buildsteps.py: 22648 * Scripts/modules/commands/download.py: 22649 * Scripts/modules/commands/download_unittest.py: 22650 * Scripts/modules/mock_bugzillatool.py: 22651 22652 2009-12-14 Adam Barth <abarth (a] webkit.org> 22653 22654 Reviewed by Eric Seidel. 22655 22656 [bzt] Kill LandingSequence 22657 https://bugs.webkit.org/show_bug.cgi?id=32464 22658 22659 Removes LandingSequence in favor of StepSequence. This required 22660 changing the Step API slightly to carry a general notion of state 22661 instead of carrying patches specifically. 22662 22663 * Scripts/modules/buildsteps.py: 22664 * Scripts/modules/commands/download.py: 22665 * Scripts/modules/commands/queues.py: 22666 * Scripts/modules/landingsequence.py: Removed. 22667 * Scripts/modules/stepsequence.py: 22668 22669 2009-12-14 Robert Hogan <robert (a] roberthogan.net> 22670 22671 Reviewed by Eric Seidel. 22672 22673 [Qt] Fix https://bugs.webkit.org/show_bug.cgi?id=32437 22674 22675 Amend the behaviour of DRT::notifyDone to dump only when 22676 the page has finished loading. 22677 22678 This fix permits removal of the following tests from the Qt skipped list: 22679 fast/forms/textarea-linewrap-dynamic.html 22680 fast/forms/textarea-setvalue-submit.html 22681 fast/forms/textarea-hard-linewrap-empty.html 22682 fast/forms/submit-to-url-fragment.html 22683 http/tests/misc/percent-sign-in-form-field-name.html 22684 http/tests/security/escape-form-data-field-names.html 22685 22686 However it also requires the following two to be added to the skipped list: 22687 22688 http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache.html 22689 svg/custom/use-instanceRoot-as-event-target.xhtml 22690 22691 It appears the behaviour of notifyDone was masking problems with these two 22692 tests. 22693 22694 * DumpRenderTree/qt/DumpRenderTree.cpp: 22695 (WebCore::DumpRenderTree::DumpRenderTree): 22696 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 22697 (LayoutTestController::reset): 22698 (LayoutTestController::processWork): 22699 (LayoutTestController::maybeDump): 22700 (LayoutTestController::notifyDone): 22701 (LayoutTestController::provisionalLoad): 22702 * DumpRenderTree/qt/LayoutTestControllerQt.h: 22703 (LayoutTestController::resetLoadFinished): 22704 22705 2009-12-14 Simon Hausmann <hausmann (a] webkit.org> 22706 22707 Reviewed by Holger Freyther. 22708 22709 [Qt] Add support for keyboard modifiers to Qt DRT's EventSender for touch events 22710 22711 https://bugs.webkit.org/show_bug.cgi?id=32482 22712 22713 * DumpRenderTree/qt/EventSenderQt.cpp: 22714 (EventSender::setTouchModifier): 22715 (EventSender::clearTouchPoints): 22716 (EventSender::sendTouchEvent): 22717 * DumpRenderTree/qt/EventSenderQt.h: 22718 22719 2009-12-13 Maciej Stachowiak <mjs (a] apple.com> 22720 22721 Reviewed by Gavin Barraclaugh. 22722 22723 Fix minor problem in sunspider-compare-results which left it broken. 22724 22725 * Scripts/sunspider-compare-results: Declare $parseonly 22726 22727 2009-12-12 Maciej Stachowiak <mjs (a] apple.com> 22728 22729 Reviewed by Oliver Hunt. 22730 22731 Give command-line sunspider the ability to handle multiple suites and versions 22732 https://bugs.webkit.org/show_bug.cgi?id=32477 22733 22734 * Scripts/run-sunspider: Updated for changes to command-line parameters. 22735 * Scripts/sunspider-compare-results: ditto 22736 22737 2009-12-12 Maciej Stachowiak <mjs (a] apple.com> 22738 22739 Not reviewed, fixing previous comment. 22740 22741 Remove accidental change to sunspider-compare-results 22742 22743 * Scripts/sunspider-compare-results: 22744 22745 2009-12-11 Yael Aharon <yael.aharon (a] nokia.com> 22746 22747 Unreviewed build fix for Qt versions < 4.6. 22748 Guard every slot individually with #ifdef. 22749 22750 * DumpRenderTree/qt/EventSenderQt.cpp: 22751 (EventSender::addTouchPoint): 22752 (EventSender::updateTouchPoint): 22753 (EventSender::touchStart): 22754 (EventSender::touchMove): 22755 (EventSender::touchEnd): 22756 (EventSender::clearTouchPoints): 22757 (EventSender::releaseTouchPoint): 22758 (EventSender::sendTouchEvent): 22759 * DumpRenderTree/qt/EventSenderQt.h: 22760 22761 2009-12-11 Eric Seidel <eric (a] webkit.org> 22762 22763 Reviewed by Adam Barth. 22764 22765 CommandsTest.assert_execute_outputs doesn't check stderr 22766 https://bugs.webkit.org/show_bug.cgi?id=32352 22767 22768 Fix assert_execute_outputs to check stderr 22769 and then fix all the unit tests which needed to 22770 pass stderr output. 22771 22772 * Scripts/modules/commands/commandtest.py: 22773 * Scripts/modules/commands/download_unittest.py: 22774 * Scripts/modules/commands/upload_unittest.py: 22775 22776 2009-12-11 Adam Barth <abarth (a] webkit.org> 22777 22778 Reviewed by Eric Seidel. 22779 22780 [check-webkit-style] False positive for tst_QWebFrame 22781 https://bugs.webkit.org/show_bug.cgi?id=32436 22782 22783 Add an exception for function names that start with "tst_". These are 22784 used by the Qt unit testing framework. 22785 22786 * Scripts/modules/cpp_style.py: 22787 * Scripts/modules/cpp_style_unittest.py: 22788 22789 2009-12-11 Simon Hausmann <hausmann (a] webkit.org>, Kim Grnholm <kim.gronholm (a] nomovok.com> 22790 22791 Reviewed by Antti Koivisto. 22792 22793 Added support for creating synthetic touch events with EventSender 22794 in Qt's DumpRenderTree. 22795 22796 https://bugs.webkit.org/show_bug.cgi?id=32114 22797 22798 * DumpRenderTree/qt/EventSenderQt.cpp: 22799 (EventSender::addTouchPoint): 22800 (EventSender::updateTouchPoint): 22801 (EventSender::touchStart): 22802 (EventSender::touchMove): 22803 (EventSender::touchEnd): 22804 (EventSender::clearTouchPoints): 22805 (EventSender::releaseTouchPoint): 22806 (EventSender::sendTouchEvent): 22807 * DumpRenderTree/qt/EventSenderQt.h: 22808 22809 2009-12-11 Benjamin Poulain <benjamin.poulain (a] nokia.com> 22810 22811 Reviewed by Darin Adler. 22812 22813 The values of RuntimeArray are not enumerable 22814 https://bugs.webkit.org/show_bug.cgi?id=29005 22815 22816 * DumpRenderTree/mac/ObjCController.m: 22817 (+[ObjCController isSelectorExcludedFromWebScript:]): 22818 (+[ObjCController webScriptNameForSelector:]): 22819 (-[ObjCController arrayOfString]): 22820 22821 2009-12-10 Eric Seidel <eric (a] webkit.org> 22822 22823 No review, just updating unit tests to match recent checkins. 22824 22825 * Scripts/modules/mock_bugzillatool.py: 22826 - Add missing red_core_builders_names method causing exception. 22827 * Scripts/modules/workqueue_unittest.py: 22828 - processutils is dead, use executive.py instead. 22829 22830 2009-12-10 Eric Seidel <eric (a] webkit.org> 22831 22832 Reviewed by Adam Barth. 22833 22834 Move run_command onto Executive to make code which uses run_command testable 22835 https://bugs.webkit.org/show_bug.cgi?id=32396 22836 22837 * Scripts/modules/executive.py: 22838 - Move run_command and error handlers onto Executive. 22839 * Scripts/modules/scm.py: 22840 * Scripts/modules/scm_unittest.py: 22841 22842 2009-12-09 Eric Seidel <eric (a] webkit.org> 22843 22844 Reviewed by Adam Barth. 22845 22846 bugzilla-tool needs a command to list patches needing cq+ 22847 https://bugs.webkit.org/show_bug.cgi?id=32351 22848 22849 * Scripts/modules/bugzilla.py: 22850 - Parse attacher_email from attachment xml. 22851 * Scripts/modules/bugzilla_unittest.py: 22852 - Test new attacher_email parsing. 22853 * Scripts/modules/commands/queries.py: 22854 - Add PatchesToCommitQueue 22855 * Scripts/modules/commands/queries_unittest.py: 22856 - Tests for PatchesToCommitQueue 22857 * Scripts/modules/mock_bugzillatool.py: 22858 - Add necessary mock methods for running PatchesToCommitQueue 22859 22860 2009-12-10 Adam Barth <abarth (a] webkit.org> 22861 22862 Unreviewed. Turns out every StepSequence command needs a --quiet 22863 option. 22864 22865 * Scripts/modules/stepsequence.py: 22866 22867 2009-12-10 Eric Z. Ayers <zundel (a] google.com> 22868 22869 Reviewed by Pavel Feldman. 22870 22871 Implements displayWebView() to force an invalidation and repaint. 22872 This fixes a problem running the timeline-paint.html unit test. 22873 22874 https://bugs.webkit.org/show_bug.cgi?id=31729 22875 22876 * DumpRenderTree/gtk/DumpRenderTree.cpp: 22877 (displayWebView): 22878 22879 2009-12-10 Adam Barth <abarth (a] webkit.org> 22880 22881 Reviewed by Eric Seidel. 22882 22883 [bzt] Convert more commands to StepSequences 22884 https://bugs.webkit.org/show_bug.cgi?id=32362 22885 22886 We should eventually convert all the commands, but I'm starting with 22887 the easy ones. 22888 22889 * Scripts/modules/commands/download.py: 22890 22891 2009-12-10 Xan Lopez <xlopez (a] igalia.com> 22892 22893 Reviewed by Jan Alonzo. 22894 22895 [GTK] editing/selection/shrink-selection-after-shift-pagedown.html failing 22896 https://bugs.webkit.org/show_bug.cgi?id=31103 22897 22898 Give focus to the webviews when we create them, since some tests expect this. 22899 22900 * DumpRenderTree/gtk/DumpRenderTree.cpp: 22901 (main): 22902 22903 2009-12-10 Eric Seidel <eric (a] webkit.org> 22904 22905 Reviewed by Adam Barth. 22906 22907 bugzilla-tool "builders are red" error should tell you which builders 22908 https://bugs.webkit.org/show_bug.cgi?id=32211 22909 22910 * Scripts/modules/buildsteps.py: 22911 22912 2009-12-09 Marwan Al Jubeh <marwan.aljubeh (a] gmail.com> 22913 22914 Reviewed by Adam Roben. 22915 22916 Fixes: https://bugs.webkit.org/show_bug.cgi?id=31228 22917 Set the WebKitOutputDir, WebKitLibrariesDir and Cygwin environment variables automatically 22918 in Windows as part of running update_webkit. 22919 22920 * Scripts/update-webkit: 22921 - Run setupAppleWinEnv() on Apple's Windows port. 22922 * Scripts/webkitdirs.pm: 22923 - Added functions that return the source directory, libraries directory and default build directory on Windows. 22924 - Added isWindowsNT() which tests if the current Windows version is from the Windows NT family. 22925 - Implemented setupAppleWinEnv() which sets the environment variables WebKitOutputDir, WebKitLibrariesDir 22926 and Cygwin to their desired values. 22927 22928 2009-12-09 Adam Barth <abarth (a] webkit.org> 22929 22930 Reviewed by Eric Seidel. 22931 22932 exception thrown when running apply-patches 22933 https://bugs.webkit.org/show_bug.cgi?id=32344 22934 22935 The update step now takes a port option. Once we finish the Steps 22936 refactoring, we won't have to worry about this kind of bug again. 22937 22938 * Scripts/modules/commands/download.py: 22939 22940 2009-12-09 Adam Barth <abarth (a] webkit.org> 22941 22942 Unreviewed. Fix ScriptError includes. I don't understand why these 22943 didn't throw during unit testing... 22944 22945 * Scripts/modules/commands/download.py: 22946 * Scripts/modules/logging_unittest.py: 22947 * Scripts/modules/workqueue.py: 22948 22949 2009-12-09 Adam Barth <abarth (a] webkit.org> 22950 22951 Reviewed by Eric Seidel. 22952 22953 [bzt] Remove unused PatchCollection class 22954 https://bugs.webkit.org/show_bug.cgi?id=32312 22955 22956 It's dead code. 22957 22958 * Scripts/modules/patchcollection.py: 22959 * Scripts/modules/patchcollection_unittest.py: Removed. 22960 22961 2009-12-09 Adam Barth <abarth (a] webkit.org> 22962 22963 Unreviewed "build" fix. CheckStyle needs a --no-upate option. 22964 22965 * Scripts/modules/commands/download.py: 22966 22967 2009-12-09 Adam Barth <abarth (a] webkit.org> 22968 22969 Reviewed by Eric Seidel. 22970 22971 [bzt] Convert Build to use Sequence 22972 https://bugs.webkit.org/show_bug.cgi?id=32310 22973 22974 So much prettier. 22975 22976 * Scripts/modules/buildsteps.py: 22977 * Scripts/modules/commands/download.py: 22978 * Scripts/modules/landingsequence.py: 22979 * Scripts/modules/stepsequence.py: Added. 22980 22981 2009-12-09 Adam Barth <abarth (a] webkit.org> 22982 22983 Add missing file. 22984 22985 * Scripts/modules/executive.py: Added. 22986 22987 2009-12-09 Adam Barth <abarth (a] webkit.org> 22988 22989 Unreviewed "build" fix. 22990 22991 * Scripts/modules/landingsequence.py: 22992 22993 2009-12-09 Adam Barth <abarth (a] webkit.org> 22994 22995 Reviewed by Eric Seidel. 22996 22997 [bzt] Implement abstract Steps 22998 https://bugs.webkit.org/show_bug.cgi?id=32212 22999 23000 This is a fairly disruptive change that refactors how we build 23001 commands. Instead of using a landing sequence, we can now assemble a 23002 sequence of steps directly. We still use the landing sequence in the 23003 interim, but this will be removed soon. 23004 23005 * Scripts/bugzilla-tool: 23006 * Scripts/modules/buildsteps.py: 23007 * Scripts/modules/commands/download.py: 23008 * Scripts/modules/commands/early_warning_system.py: 23009 * Scripts/modules/commands/queues.py: 23010 * Scripts/modules/commands/queues_unittest.py: 23011 * Scripts/modules/landingsequence.py: 23012 * Scripts/modules/mock_bugzillatool.py: 23013 * Scripts/modules/processutils.py: Removed. 23014 * Scripts/modules/scm.py: 23015 * Scripts/modules/scm_unittest.py: 23016 * Scripts/modules/webkitport.py: 23017 23018 2009-12-08 Eric Seidel <eric (a] webkit.org> 23019 23020 Reviewed by Adam Barth. 23021 23022 run_command and ScriptError should move into processutils.py 23023 https://bugs.webkit.org/show_bug.cgi?id=32305 23024 23025 Turns out there are a zillion callers to run_command. 23026 23027 * Scripts/modules/commands/download.py: 23028 * Scripts/modules/commands/early_warning_system.py: 23029 * Scripts/modules/commands/queues.py: 23030 * Scripts/modules/landingsequence.py: 23031 * Scripts/modules/logging_unittest.py: 23032 * Scripts/modules/processutils.py: 23033 * Scripts/modules/scm.py: 23034 * Scripts/modules/scm_unittest.py: 23035 * Scripts/modules/workqueue.py: 23036 * Scripts/modules/workqueue_unittest.py: 23037 23038 2009-12-08 Kevin Watters <kevinwatters (a] gmail.com> 23039 23040 Reviewed by Kevin Ollivier. 23041 23042 [wx] Mac plugins support. 23043 23044 https://bugs.webkit.org/show_bug.cgi?id=32236 23045 23046 * wx/browser/wscript: 23047 23048 2009-12-08 David Levin <levin (a] chromium.org> 23049 23050 Reviewed by Adam Barth. 23051 23052 [check-webkit-style] False positive for DEFINE_OPCODE(op_jtrue) { 23053 https://bugs.webkit.org/show_bug.cgi?id=32193 23054 23055 * Scripts/modules/cpp_style.py: For the function { rule, if there is space 23056 at the beginning of line, ignore lines which then have a macro. 23057 * Scripts/modules/cpp_style_unittest.py: Add tests to verify the 23058 new behavior. 23059 23060 2009-12-08 Dmitry Titov <dimich (a] chromium.org> 23061 23062 Rubber-stamped by David Levin. 23063 23064 Revert and reopen "Add asserts to RefCounted to make sure ref/deref happens on the right thread." 23065 It may have caused massive increase of reported leaks on the bots. 23066 https://bugs.webkit.org/show_bug.cgi?id=31639 23067 23068 * DumpRenderTree/ForwardingHeaders/wtf/ThreadVerifier.h: Removed. 23069 23070 2009-12-08 Dmitry Titov <dimich (a] chromium.org> 23071 23072 Reviewed by Darin Adler. 23073 23074 Add asserts to RefCounted to make sure ref/deref happens on the right thread. 23075 https://bugs.webkit.org/show_bug.cgi?id=31639 23076 23077 * DumpRenderTree/ForwardingHeaders/wtf/ThreadVerifier.h: Added. 23078 23079 2009-12-08 David Levin <levin (a] chromium.org> 23080 23081 Reviewed by Adam Barth. 23082 23083 [check-webkit-style] False positive for camel case of JSC op codes 23084 https://bugs.webkit.org/show_bug.cgi?id=32192 23085 23086 * Scripts/modules/cpp_style.py: Added an exception for the JSC op 23087 code functions and const_iterator as well since I noticed a false 23088 positive there when testing the fix. 23089 * Scripts/modules/cpp_style_unittest.py: Added tests for these 23090 changes. 23091 23092 2009-12-08 Nikolas Zimmermann <nzimmermann (a] rim.com> 23093 23094 Rubber-stamped by Maciej Stachowiak. 23095 23096 Turn on (SVG) Filters for Win. 23097 https://bugs.webkit.org/show_bug.cgi?id=32224 23098 23099 * Scripts/webkitdirs.pm: 23100 23101 2009-12-08 Nikolas Zimmermann <nzimmermann (a] rim.com> 23102 23103 Rubber-stamped by Maciej Stachowiak. 23104 23105 Turn on (SVG) Filters for Gtk. 23106 https://bugs.webkit.org/show_bug.cgi?id=32224 23107 23108 * Scripts/build-webkit: 23109 23110 2009-12-07 Shinichiro Hamaji <hamaji (a] chromium.org> 23111 23112 Reviewed by David Levin. 23113 23114 [check-webkit-style] S_OK is a fine identifier 23115 https://bugs.webkit.org/show_bug.cgi?id=32225 23116 23117 * Scripts/modules/cpp_style.py: 23118 * Scripts/modules/cpp_style_unittest.py: 23119 23120 2009-12-07 Nikolas Zimmermann <nzimmermann (a] rim.com> 23121 23122 Rubber-stamped by Maciej Stachowiak. 23123 23124 Turn on (SVG) Filters for Qt. 23125 https://bugs.webkit.org/show_bug.cgi?id=32224 23126 23127 * Scripts/build-webkit: 23128 23129 2009-12-07 Yuzo Fujishima <yuzo (a] google.com> 23130 23131 Reviewed by Alexey Proskuryakov. 23132 23133 Make run-webkit-websocketserver log to stderr rather than to a file. 23134 https://bugs.webkit.org/show_bug.cgi?id=32234 23135 23136 * Scripts/run-webkit-websocketserver: 23137 23138 2009-12-07 Dmitry Titov <dimich (a] chromium.org> 23139 23140 Rubber-stamped by Darin Adler. 23141 23142 Remove ENABLE_SHARED_SCRIPT flags 23143 https://bugs.webkit.org/show_bug.cgi?id=32245 23144 This patch was obtained by "git revert" command and then un-reverting of ChangeLog files. 23145 23146 * Scripts/build-webkit: 23147 23148 2009-12-07 Simon Fraser <simon.fraser (a] apple.com> 23149 23150 Reviewed by Darin Adler. 23151 23152 <rdar://problem/7450481> One compositing test keeps DRT in "compositing mode", breaks repaint tests 23153 23154 The counter that WebView used to keep track of the number of enclosed WebHTMLViews using 23155 accelerated compositing was hard to manage, and maintained incorrectly in a number of cases. 23156 This caused one compositing test make DumpRenderTree think that all subsequent tests 23157 were compositing too. 23158 23159 Replace this counter with notifications, which are only fired if a client (DRT) requests them. The 23160 notification informs the client that a WebHTMLView entered compositing mode (or an already- 23161 compositing WebHTML was added); it does not say when a view becomes uncomposited, or all 23162 compositing subviews were removed, since this is tricky to get right. 23163 23164 DumpRenderTreeWindow listens for this notification, and uses it to turn on window 23165 autodisplay, which is necessary to kick-start Core Animation rendering and animations. 23166 We ensure that window autodisplay is turned off before every test. 23167 23168 * DumpRenderTree/mac/DumpRenderTree.mm: 23169 (createWebViewAndOffscreenWindow): 23170 (resetWebViewToConsistentStateBeforeTesting): 23171 * DumpRenderTree/mac/DumpRenderTreeWindow.h: 23172 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: 23173 (-[DumpRenderTreeWindow close]): 23174 (-[DumpRenderTreeWindow startListeningForAcceleratedCompositingChanges]): 23175 (-[DumpRenderTreeWindow webViewStartedAcceleratedCompositing:]): 23176 23177 2009-12-07 Nikolas Zimmermann <nzimmermann (a] rim.com> 23178 23179 Reviewed by Holger Hans Peter Freyther. 23180 23181 Turn on (SVG) Filters support, by default. 23182 https://bugs.webkit.org/show_bug.cgi?id=32224 23183 23184 For now only enable FILTERS build flag on WebKit/mac. Other platforms will follow soon. 23185 23186 * Scripts/build-webkit: 23187 23188 2009-12-07 Yaar Schnitman <yaar (a] chromium.org> 23189 23190 Reviewed by Darin Fisher. 23191 23192 Chromium buildbots are not red when they fail 23193 https://bugs.webkit.org/show_bug.cgi?id=32235 23194 23195 * Scripts/build-webkit: 23196 23197 2009-12-07 Yaar Schnitman <yaar (a] chromium.org> 23198 23199 Reviewed by Darin Fisher. 23200 23201 Typo in chromium linux builder 23202 https://bugs.webkit.org/show_bug.cgi?id=32238 23203 23204 * Scripts/webkitdirs.pm: 23205 23206 2009-12-07 Yaar Schnitman <yaar (a] chromium.org> 23207 23208 Reviewed by Darin Fisher. 23209 23210 fixes to build-webkit --chromium 23211 https://bugs.webkit.org/show_bug.cgi?id=32179 23212 23213 * Scripts/webkitdirs.pm: 23214 23215 2009-12-07 Eric Seidel <eric (a] webkit.org> 23216 23217 No review, just adding two recently approved committers. 23218 23219 * Scripts/modules/committers.py: 23220 23221 2009-12-07 Alexey Proskuryakov <ap (a] apple.com> 23222 23223 * Scripts/run-webkit-websocketserver: Added property svn:executable. 23224 23225 2009-12-07 Yuzo Fujishima <yuzo (a] google.com> 23226 23227 Reviewed by Alexey Proskuryakov. 23228 23229 Add run-webkit-websocketserver 23230 23231 https://bugs.webkit.org/show_bug.cgi?id=31390 23232 23233 * Scripts/run-webkit-websocketserver: Added. 23234 23235 2009-12-07 Steve Falkenburg <sfalken (a] apple.com> 23236 23237 Build fix. Be flexible about which version of ICU is used on Windows. 23238 23239 * DumpRenderTree/win/DumpRenderTree.vcproj: Add optional xcopy commands to copy ICU 4.2. 23240 23241 2009-12-07 Dirk Schulze <krit (a] webkit.org> 23242 23243 Not reviewed, adding myself to the reviewers list. 23244 23245 * Scripts/modules/committers.py: 23246 23247 2009-12-06 Eric Seidel <eric (a] webkit.org> 23248 23249 Reviewed by Adam Barth. 23250 23251 Add an API for uploading results files to StatusBot 23252 https://bugs.webkit.org/show_bug.cgi?id=32210 23253 23254 Add Content-Type: plain/text which was forgotten 23255 from the previous commit when I landed with land-patches 23256 instead of land-diff. 23257 23258 * QueueStatusServer/queue_status.py: 23259 23260 2009-12-06 Eric Seidel <eric (a] webkit.org> 23261 23262 Reviewed by Adam Barth. 23263 23264 Status Server needs a way to handle uploaded results 23265 https://bugs.webkit.org/show_bug.cgi?id=32209 23266 23267 * QueueStatusServer/queue_status.py: Add a ShowResults (results/*) command 23268 * QueueStatusServer/update_status.html: Add file upload. 23269 23270 2009-12-06 Eric Seidel <eric (a] webkit.org> 23271 23272 Reviewed by Adam Barth. 23273 23274 Add an API for uploading results files to StatusBot 23275 https://bugs.webkit.org/show_bug.cgi?id=32210 23276 23277 * Scripts/modules/statusbot.py: 23278 23279 2009-12-06 Eric Seidel <eric (a] webkit.org> 23280 23281 Reviewed by Adam Barth. 23282 23283 Status Server needs a way to handle uploaded results 23284 https://bugs.webkit.org/show_bug.cgi?id=32209 23285 23286 * QueueStatusServer/queue_status.py: Add a ShowResults (results/*) command 23287 * QueueStatusServer/update_status.html: Add file upload. 23288 23289 2009-12-06 Adam Barth <abarth (a] webkit.org> 23290 23291 Reviewed by Eric Seidel. 23292 23293 [bzt] BuildAttachment should not check the builders 23294 https://bugs.webkit.org/show_bug.cgi?id=32207 23295 23296 This is code that got copied here by accident when the class was created. 23297 23298 * Scripts/modules/commands/download.py: 23299 23300 2009-12-06 Adam Barth <abarth (a] webkit.org> 23301 23302 Reviewed by Eric Seidel. 23303 23304 [bzt] Make LandingSequence.update aware of ports 23305 https://bugs.webkit.org/show_bug.cgi?id=32208 23306 23307 This is required to make build work on the Chromium port because 23308 Chromium has a custom update-webkit. 23309 23310 * Scripts/modules/landingsequence.py: 23311 23312 2009-12-06 Adam Barth <abarth (a] webkit.org> 23313 23314 Reviewed by Eric Seidel. 23315 23316 Add early warning system commands to bugzilla-tool. 23317 23318 * Scripts/bugzilla-tool: 23319 * Scripts/modules/landingsequence.py: 23320 * Scripts/modules/webkitport.py: 23321 23322 2009-12-06 Adam Barth <abarth (a] webkit.org> 23323 23324 Reviewed by Eric Seidel. 23325 23326 [bzt] Implement Qt EarlyWarningSystem and Chromium EarlyWarningSystem 23327 https://bugs.webkit.org/show_bug.cgi?id=32205 23328 23329 * Scripts/modules/commands/early_warning_system.py: Added. 23330 * Scripts/modules/commands/queues.py: 23331 23332 2009-12-06 Dan Bernstein <mitz (a] apple.com> 23333 23334 Reviewed by Adele Peterson. 23335 23336 REGRESSION (r51728): update-webkit fails when the current directory is 23337 not inside a Subversion working copy 23338 https://bugs.webkit.org/show_bug.cgi?id=32204 23339 23340 * Scripts/update-webkit: Invoke isSVN() in the correct working 23341 directory. 23342 23343 2009-12-06 Adam Barth <abarth (a] webkit.org> 23344 23345 Reviewed by Eric Seidel. 23346 23347 [bzt] Rename AbstractTryQueue to AbstractReviewQueue 23348 https://bugs.webkit.org/show_bug.cgi?id=32202 23349 23350 * Scripts/modules/commands/queues.py: 23351 23352 2009-12-05 Adam Barth <abarth (a] webkit.org> 23353 23354 Reviewed by Eric Seidel. 23355 23356 [bzt] Implement ChromiumPort 23357 https://bugs.webkit.org/show_bug.cgi?id=32182 23358 23359 * Scripts/modules/webkitport.py: 23360 * Scripts/modules/webkitport_unittest.py: 23361 23362 2009-12-05 Adam Barth <abarth (a] webkit.org> 23363 23364 Reviewed by Eric Seidel. 23365 23366 Move update-webkit into BuildSteps 23367 https://bugs.webkit.org/show_bug.cgi?id=32181 23368 23369 We need to move update-webkit out of SCM.py because SCM isn't supposed to know 23370 that WebKit exists. The proper place for the knowledge of the existence of 23371 update-webkit is in WebKitPort because some ports have specialized update 23372 scripts (analogous to build-webkit). 23373 23374 * Scripts/modules/buildsteps.py: 23375 * Scripts/modules/commands/download.py: 23376 * Scripts/modules/landingsequence.py: 23377 * Scripts/modules/scm.py: 23378 * Scripts/modules/webkitport.py: 23379 23380 2009-12-05 Adam Barth <abarth (a] webkit.org> 23381 23382 Reviewed by Eric Seidel. 23383 23384 update-webkit should call git svn rebase and resolve-ChangeLogs -f 23385 https://bugs.webkit.org/show_bug.cgi?id=27162 23386 23387 Teach update-webkit about Git. I didn't add the call to 23388 resolve-ChangeLogs -f because sometimes that script goes bananas. We 23389 can iterate from here, however. 23390 23391 * Scripts/update-webkit: 23392 23393 2009-12-04 Yael Aharon <yael.aharon (a] nokia.com> 23394 23395 Unreviewed build fix. 23396 23397 [Qt] build fix after r51634 removed unused QBoxLayout include which included limits.h. 23398 23399 * DumpRenderTree/qt/DumpRenderTree.cpp: 23400 23401 2009-12-04 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 23402 23403 Reviewed by Adam Treat. 23404 23405 Add some missing methods for showing and hiding the 23406 Web Inspector. 23407 23408 * DumpRenderTree/qt/DumpRenderTree.cpp: 23409 (WebCore::WebPage::WebPage): 23410 (WebCore::WebPage::~WebPage): 23411 (WebCore::WebPage::webInspector): 23412 * DumpRenderTree/qt/DumpRenderTree.h: 23413 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 23414 (LayoutTestController::showWebInspector): 23415 (LayoutTestController::hideWebInspector): 23416 * DumpRenderTree/qt/LayoutTestControllerQt.h: 23417 23418 2009-12-04 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 23419 23420 Reviewed by Adam Treat. 23421 23422 Implement the setAllowUniversalAccessFromFileURLs method 23423 for the Qt LayoutTestController. 23424 23425 * DumpRenderTree/qt/DumpRenderTree.cpp: 23426 (WebCore::WebPage::resetSettings): 23427 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 23428 (LayoutTestController::setAllowUniversalAccessFromFileURLs): 23429 * DumpRenderTree/qt/LayoutTestControllerQt.h: 23430 23431 2009-12-04 Chris Fleizach <cfleizach (a] apple.com> 23432 23433 Reviewed by Darin Adler. 23434 23435 REGRESSION: AX: buttons now extremely repetitive 23436 https://bugs.webkit.org/show_bug.cgi?id=32164 23437 23438 * DumpRenderTree/AccessibilityUIElement.cpp: 23439 (isAttributeSupportedCallback): 23440 (AccessibilityUIElement::getJSClass): 23441 * DumpRenderTree/AccessibilityUIElement.h: 23442 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 23443 (AccessibilityUIElement::isAttributeSupported): 23444 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 23445 (AccessibilityUIElement::isAttributeSupported): 23446 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 23447 (AccessibilityUIElement::isAttributeSupported): 23448 23449 2009-12-03 Shinichiro Hamaji <hamaji (a] chromium.org> 23450 23451 Reviewed by David Levin. 23452 23453 check-webkit-style should check for camelCase variable names 23454 https://bugs.webkit.org/show_bug.cgi?id=32051 23455 23456 * Scripts/modules/cpp_style.py: 23457 * Scripts/modules/cpp_style_unittest.py: 23458 23459 2009-12-03 Chris Fleizach <cfleizach (a] apple.com> 23460 23461 Reviewed by Eric Seidel. 23462 23463 AX: VO just says "term" on many web sites 23464 https://bugs.webkit.org/show_bug.cgi?id=32139 23465 23466 * DumpRenderTree/AccessibilityUIElement.cpp: 23467 (getRoleDescriptionCallback): 23468 (AccessibilityUIElement::getJSClass): 23469 * DumpRenderTree/AccessibilityUIElement.h: 23470 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 23471 (AccessibilityUIElement::roleDescription): 23472 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 23473 (AccessibilityUIElement::roleDescription): 23474 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 23475 (AccessibilityUIElement::roleDescription): 23476 23477 2009-12-03 Chris Fleizach <cfleizach (a] apple.com> 23478 23479 Reviewed by Beth Dakin. 23480 23481 Implement WAI-ARIA scrollbar role and related property aria-orientation 23482 https://bugs.webkit.org/show_bug.cgi?id=32126 23483 23484 * DumpRenderTree/AccessibilityUIElement.cpp: 23485 (getOrientationCallback): 23486 (AccessibilityUIElement::getJSClass): 23487 * DumpRenderTree/AccessibilityUIElement.h: 23488 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 23489 (AccessibilityUIElement::orientation): 23490 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 23491 (AccessibilityUIElement::orientation): 23492 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 23493 (AccessibilityUIElement::orientation): 23494 23495 2009-12-03 Eric Carlson <eric.carlson (a] apple.com> 23496 23497 Reviewed by Adam Roben. 23498 23499 Minor correction to r51663. 23500 23501 * DumpRenderTree/win/DumpRenderTree.cpp: 23502 (addQTDirToPATH): 23503 GetEnvironmentVariable -> GetEnvironmentVariableW. 23504 23505 2009-12-03 Eric Carlson <eric.carlson (a] apple.com> 23506 23507 Reviewed by Adam Roben. 23508 23509 ~96 regression tests fail when using QuickTime 7.6 (they pass with QuickTime 7.3) 23510 https://bugs.webkit.org/show_bug.cgi?id=30256 23511 23512 Add the QuickTime dll directory to the PATH environment variable so 23513 inialization can succeed. 23514 23515 * DumpRenderTree/win/DumpRenderTree.cpp: 23516 (addQTDirToPATH): 23517 (initialize): 23518 23519 2009-12-03 Shu Chang <Chang.Shu (a] nokia.com> 23520 23521 Reviewed by Kenneth Rohde Christiansen. 23522 23523 [Qt] After revision 32643, sender() is of type QWebPage instead of QWebFrame. 23524 23525 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 23526 (LayoutTestController::maybeDump): 23527 23528 2009-12-03 Yuzo Fujishima <yuzo (a] google.com> 23529 23530 Reviewed by Eric Seidel. 23531 23532 Update pywebsocket to 0.4.3 23533 This version logs friendlier and higher-level messages in WARN level, which is used for LayoutTests. 23534 Stack trace is logged now in INFO level. 23535 https://bugs.webkit.org/show_bug.cgi?id=32097 23536 23537 * pywebsocket/mod_pywebsocket/dispatch.py: 23538 * pywebsocket/mod_pywebsocket/msgutil.py: 23539 * pywebsocket/mod_pywebsocket/standalone.py: 23540 * pywebsocket/mod_pywebsocket/util.py: 23541 * pywebsocket/setup.py: 23542 * pywebsocket/test/test_dispatch.py: 23543 * pywebsocket/test/test_util.py: 23544 23545 2009-12-03 Sam Weinig <sam (a] webkit.org> 23546 23547 Reviewed by Gavin Barraclough. 23548 23549 Fix JSClassRef leak. 23550 23551 * DumpRenderTree/AccessibilityController.cpp: 23552 (AccessibilityController::makeWindowObject): 23553 * DumpRenderTree/GCController.cpp: 23554 (GCController::makeWindowObject): 23555 * DumpRenderTree/LayoutTestController.cpp: 23556 (LayoutTestController::makeWindowObject): 23557 23558 2009-12-03 Brady Eidson <beidson (a] apple.com> 23559 23560 Reviewed by Sam Weinig. 23561 23562 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API 23563 23564 Keep DRT-win building... 23565 23566 * DumpRenderTree/win/FrameLoadDelegate.h: 23567 (FrameLoadDelegate::didPushStateWithinPageForFrame): 23568 (FrameLoadDelegate::didReplaceStateWithinPageForFrame): 23569 (FrameLoadDelegate::didPopStateWithinPageForFrame): 23570 23571 2009-12-03 Andras Becsi <abecsi (a] inf.u-szeged.hu> 23572 23573 Unreviewed build fix. 23574 23575 [Qt] ARM-Linux build fix after r51634 removed unused QBoxLayout include which included limits.h on ARM. 23576 23577 * DumpRenderTree/qt/DumpRenderTree.cpp: 23578 23579 2009-12-03 Andras Becsi <abecsi (a] inf.u-szeged.hu> 23580 23581 Reviewed by Kenneth Rohde Christiansen. 23582 23583 [Qt] Refactor DRT to not crash on tests which open child windows from javascript. 23584 Prevent DRT from showing the main view if these childs get deleted. 23585 This fixes https://bugs.webkit.org/show_bug.cgi?id=31591. 23586 23587 * DumpRenderTree/qt/DumpRenderTree.cpp: 23588 (WebCore::WebPage::WebPage): 23589 (WebCore::DumpRenderTree::DumpRenderTree): 23590 (WebCore::DumpRenderTree::~DumpRenderTree): 23591 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): 23592 (WebCore::DumpRenderTree::open): 23593 (WebCore::DumpRenderTree::closeRemainingWindows): 23594 (WebCore::DumpRenderTree::createWindow): 23595 (WebCore::DumpRenderTree::windowCount): 23596 * DumpRenderTree/qt/DumpRenderTree.h: 23597 23598 2009-12-02 Eric Seidel <eric (a] webkit.org> 23599 23600 Reviewed by Adam Barth. 23601 23602 REGRESSION(51595): commit-queue is throwing exceptions 23603 https://bugs.webkit.org/show_bug.cgi?id=32083 23604 23605 * Scripts/modules/commands/queues.py: 23606 - Don't use default value of [] as it ends up getting shared. 23607 - Make log_progress accept arrays of ints as well as strings. 23608 - Return an exit code from execute() 23609 * Scripts/modules/commands/queues_unittest.py: Added. 23610 - Test to make sure log_progress will accept ints. 23611 - Test to make sure run_bugzilla_tool will accept ints. 23612 * Scripts/modules/workqueue.py: 23613 - Print the stack trace on unexpected exceptions for easier debugging. 23614 * Scripts/run-webkit-unittests: 23615 - Add queues_unittest. 23616 23617 * Scripts/modules/commands/queues.py: 23618 * Scripts/modules/commands/queues_unittest.py: Copied from WebKitTools/Scripts/modules/commands/commandtest.py. 23619 * Scripts/modules/mock_bugzillatool.py: 23620 * Scripts/modules/workqueue.py: 23621 * Scripts/run-webkit-unittests: 23622 23623 2009-12-02 David Levin <levin (a] chromium.org> 23624 23625 Reviewed by Adam Barth. 23626 23627 check-webkit-style is too noisy about namespace indenting issues. 23628 https://bugs.webkit.org/show_bug.cgi?id=32096 23629 23630 * Scripts/modules/cpp_style.py: 23631 Added a _FileState object to be able to track file level information. In this 23632 case, it simply tracks whether the error has already been given, so that it isn't 23633 done again. 23634 * Scripts/modules/cpp_style_unittest.py: 23635 Modified test cases to pass in the _FileState object and fix a test that expected 23636 to see the namespace error twice (now it only occurs once). No new tests because 23637 existing tests cover the change in functionality. 23638 23639 2009-12-01 Kevin Ollivier <kevino (a] theolliviers.com> 23640 23641 Reviewed by Eric Seidel. 23642 23643 [wx] Get DumpRenderTree building after waf switch. 23644 23645 https://bugs.webkit.org/show_bug.cgi?id=32041 23646 23647 * DumpRenderTree/wscript: Added. 23648 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 23649 (LayoutTestController::setTimelineProfilingEnabled): 23650 (LayoutTestController::evaluateScriptInIsolatedWorld): 23651 (LayoutTestController::disableImageLoading): 23652 (LayoutTestController::whiteListAccessFromOrigin): 23653 (LayoutTestController::counterValueForElementById): 23654 * Scripts/build-webkit: 23655 23656 2009-12-02 Adam Barth <abarth (a] webkit.org> 23657 23658 Reviewed by Eric Seidel. 23659 23660 [bzt] build-attachment shouldn't check whether the builders are red 23661 https://bugs.webkit.org/show_bug.cgi?id=32062 23662 23663 build-attachment doesn't touch the remote repository, so there isn't a 23664 need to hold off when the builders are red. 23665 23666 * Scripts/modules/commands/download.py: 23667 * Scripts/modules/landingsequence.py: 23668 23669 2009-12-02 Eric Seidel <eric (a] webkit.org> 23670 23671 Reviewed by Adam Barth. 23672 23673 REGRESSION(51590): style-queue and build-queue think their empty when they are not 23674 https://bugs.webkit.org/show_bug.cgi?id=32061 23675 23676 * Scripts/modules/bugzilla.py: make all id lookups return ints instead of strings. 23677 * Scripts/modules/bugzilla_unittest.py: Add and update unit tests to use ints. 23678 23679 2009-12-02 Eric Seidel <eric (a] webkit.org> 23680 23681 Reviewed by Adam Barth. 23682 23683 build-queue is throwing exceptions and complaining about 23684 lack of --no-update on build-attachment. Make it stop. 23685 23686 * Scripts/modules/buildsteps.py: 23687 * Scripts/modules/commands/download.py: 23688 23689 2009-12-02 Adam Barth <abarth (a] webkit.org> 23690 23691 Unreviewed "build" fix. Forgot to declare my variables. :( 23692 23693 * QueueStatusServer/queue_status.py: 23694 23695 2009-12-02 Adam Barth <abarth (a] webkit.org> 23696 23697 Reviewed by Eric Seidel. 23698 23699 [bzt] Implement status bubble view 23700 https://bugs.webkit.org/show_bug.cgi?id=32057 23701 23702 The status bubble is a compact representation of the queue status for a 23703 given patch. This will eventually help us reduce the comment spam from 23704 the queues. 23705 23706 * QueueStatusServer/index.html: Added HTML5 doctype for sanity. 23707 * QueueStatusServer/queue_status.py: 23708 * QueueStatusServer/status_bubble.html: Added. 23709 23710 2009-12-02 Eric Seidel <eric (a] webkit.org> 23711 23712 Reviewed by Adam Barth. 23713 23714 trim commands/*.py includes now that commands are unit tested 23715 https://bugs.webkit.org/show_bug.cgi?id=32056 23716 23717 In the course of ensuring that the unit tests still 23718 passed after this change, I had to actually make them 23719 pass in the first place. 23720 23721 * Scripts/modules/bugzilla.py: 23722 - Fix _parse_attachment_ids_request_query to return ints instead of strings. 23723 * Scripts/modules/commands/download.py: Remove unneeded imports. 23724 * Scripts/modules/commands/queries.py: Ditto. 23725 * Scripts/modules/commands/queues.py: Ditto. 23726 * Scripts/modules/commands/upload.py: Ditto. 23727 * Scripts/modules/scm_unittest.py: 23728 - Fix to expect the \n after the path since echo adds an \n. 23729 23730 2009-12-01 Yaar Schnitman <yaar (a] chromium.org> 23731 23732 build-webkit: Remove flex,bison,gperf check for chromium 23733 https://bugs.webkit.org/show_bug.cgi?id=32043 23734 23735 * Scripts/webkitdirs.pm: 23736 23737 2009-12-01 Chris Fleizach <cfleizach (a] apple.com> 23738 23739 Build fixage for Windows/GTK for DumpRenderTree. 23740 23741 WAI-ARIA: implement support for ARIA drag and drop 23742 https://bugs.webkit.org/show_bug.cgi?id=32007 23743 23744 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 23745 (AccessibilityUIElement::ariaIsGrabbed): 23746 (AccessibilityUIElement::ariaDropEffects): 23747 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 23748 (AccessibilityUIElement::ariaIsGrabbed): 23749 (AccessibilityUIElement::ariaDropEffects): 23750 23751 2009-12-01 Chris Fleizach <cfleizach (a] apple.com> 23752 23753 Reviewed by Darin Adler. 23754 23755 WAI-ARIA: implement support for ARIA drag and drop 23756 https://bugs.webkit.org/show_bug.cgi?id=32007 23757 23758 * DumpRenderTree/AccessibilityUIElement.cpp: 23759 (getARIADropEffectsCallback): 23760 (getARIAIsGrabbedCallback): 23761 (AccessibilityUIElement::getJSClass): 23762 * DumpRenderTree/AccessibilityUIElement.h: 23763 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 23764 (AccessibilityUIElement::ariaIsGrabbed): 23765 (AccessibilityUIElement::ariaDropEffects): 23766 23767 2009-12-01 Nikolas Zimmermann <nzimmermann (a] rim.com> 23768 23769 Not reviewed. GTK DRT try 2. 23770 23771 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 23772 (LayoutTestController::sampleSVGAnimationForElementAtTime): 23773 23774 2009-12-01 Nikolas Zimmermann <nzimmermann (a] rim.com> 23775 23776 Not reviewed. Try to fix gtk DRT build. 23777 23778 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 23779 23780 2009-12-01 David Levin <levin (a] chromium.org> 23781 23782 Reviewed by Eric Seidel. 23783 23784 check-webkit-style does not understand (Prefix)Foo(Custom|Gtk|CG|Mac).cpp including Foo.h 23785 https://bugs.webkit.org/show_bug.cgi?id=32033 23786 23787 * Scripts/modules/cpp_style.py: Changed check for a possible primary header to use find 23788 instead of startswith. 23789 * Scripts/modules/cpp_style_unittest.py: Added a unit test for the new behavior. 23790 23791 2009-12-01 Nikolas Zimmermann <nzimmermann (a] rim.com> 23792 23793 Not reviewed. Qt build almost fixed, DumpRenderTree should compile now as well. 23794 23795 * DumpRenderTree/qt/LayoutTestControllerQt.h: Update old function signature. 23796 23797 2009-12-01 Nikolas Zimmermann <nzimmermann (a] rim.com> 23798 23799 Reviewed by Simon Fraser. 23800 23801 Add SVG animation test framework with 'snapshot' functionality 23802 https://bugs.webkit.org/show_bug.cgi?id=31897 23803 23804 Add new 'sampleSVGAnimationForElementAtTime' DRT method, 23805 used by the new SVG animation testing framework, implemented 23806 for qt/gtk/win/mac. 23807 23808 * DumpRenderTree/LayoutTestController.cpp: 23809 (sampleSVGAnimationForElementAtTimeCallback): 23810 (LayoutTestController::staticFunctions): 23811 * DumpRenderTree/LayoutTestController.h: 23812 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 23813 (LayoutTestController::sampleSVGAnimationForElementAtTime): 23814 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 23815 (LayoutTestController::sampleSVGAnimationForElementAtTime): 23816 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 23817 (LayoutTestController::sampleSVGAnimationForElementAtTime): 23818 * DumpRenderTree/qt/LayoutTestControllerQt.h: 23819 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 23820 (LayoutTestController::sampleSVGAnimationForElementAtTime): 23821 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 23822 (LayoutTestController::sampleSVGAnimationForElementAtTime): 23823 23824 2009-12-01 Adam Roben <aroben (a] apple.com> 23825 23826 Remove user content before running each test on Windows 23827 23828 Fixes <http://webkit.org/b/31479> Make websocket tests work on Windows 23829 23830 Reviewed by Alexey Proskuryakov. 23831 23832 * DumpRenderTree/win/DumpRenderTree.cpp: 23833 (resetWebViewToConsistentStateBeforeTesting): Remove all user content 23834 before each test, which matches Mac. 23835 23836 2009-12-01 Yuzo Fujishima <yuzo (a] google.com> 23837 23838 Reviewed by Alexey Proskuryakov. 23839 23840 Make pywebsocket log errors to a file 23841 https://bugs.webkit.org/show_bug.cgi?id=31604 23842 23843 * Scripts/run-webkit-tests: Log output to a pywebsocket_log.txt file in results directory 23844 (by passing the path to the server via a recently added -l option). 23845 23846 2009-12-01 Adam Roben <aroben (a] apple.com> 23847 23848 Fix tests that use the TestNetscapePlugin in Debug_Internal builds 23849 23850 Reviewed by Ada Chan. 23851 23852 Fixes <http://webkit.org/b/32027> REGRESSION (r49705): Tests that use 23853 TestNetscapePlugin fail in Debug_Internal builds 23854 23855 * DumpRenderTree/win/DumpRenderTree.cpp: Use the "_Debug" plugin 23856 directory in Debug and Debug_All builds, but not in Debug_Internal 23857 builds. 23858 23859 2009-12-01 Adam Roben <aroben (a] apple.com> 23860 23861 Re-enable DRT's watchdog timer on Windows 23862 23863 It was accidentally disabled in r50907. 23864 23865 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 23866 (LayoutTestController::setWaitToDump): Remove a "false &&" that snuck 23867 into an if condition. 23868 23869 2009-12-01 Adam Barth <abarth (a] webkit.org> 23870 23871 Reviewed by Eric Seidel. 23872 23873 check-webkit-style complains about #imports with / in them 23874 https://bugs.webkit.org/show_bug.cgi?id=32022 23875 23876 We need to exclude #import directives in addition to #include from the 23877 binary operator whitespace checks. 23878 23879 * Scripts/modules/cpp_style.py: 23880 * Scripts/modules/cpp_style_unittest.py: 23881 23882 2009-11-30 Adam Barth <abarth (a] webkit.org> 23883 23884 Reviewed by Eric Seidel. 23885 23886 check-webkit-style is slightly too verbose 23887 https://bugs.webkit.org/show_bug.cgi?id=32010 23888 23889 check-webkit-style prints out a bunch of "done" lines that seem redundant, 23890 especially for the style-queue. 23891 23892 * Scripts/modules/cpp_style.py: 23893 23894 2009-11-30 Alejandro G. Castro <alex (a] igalia.com> 23895 23896 Reviewed by Eric Seidel. 23897 23898 [GTK] Moved the functions that are closing the result log of the 23899 tests to the last line of the runTest function, this avoids 23900 reporting crashes in the wrong test if there is a problem when 23901 reseting the state after the test. 23902 23903 * DumpRenderTree/gtk/DumpRenderTree.cpp: 23904 (dump): 23905 (runTest): 23906 23907 2009-11-30 Sam Weinig <sam (a] webkit.org> 23908 23909 Reviewed by Geoffrey Garen. 23910 23911 Fix for https://bugs.webkit.org/show_bug.cgi?id=31286 23912 fast/js/date-proto-generic-invocation breaks another test 23913 23914 Don't cache JSClassRefs, a change to the prototype chain will 23915 last between tests. 23916 23917 * DumpRenderTree/AccessibilityController.cpp: 23918 (AccessibilityController::getJSClass): 23919 * DumpRenderTree/GCController.cpp: 23920 (GCController::getJSClass): 23921 * DumpRenderTree/GCController.h: 23922 * DumpRenderTree/LayoutTestController.cpp: 23923 (LayoutTestController::getJSClass): 23924 23925 2009-11-30 Yuzo Fujishima <yuzo (a] google.com> 23926 23927 Reviewed by Alexey Proskuryakov. 23928 23929 Update pywebsocket to 0.4.2.1. 23930 This is to fix a bug that some messages are logged to stderr even when the log file is specified. 23931 https://bugs.webkit.org/show_bug.cgi?id=31976 23932 23933 * pywebsocket/mod_pywebsocket/standalone.py: 23934 * pywebsocket/setup.py: 23935 23936 2009-11-30 Adam Barth <abarth (a] webkit.org> 23937 23938 Reviewed by Eric Seidel. 23939 23940 [bzt] Generate pass messages for style-queue 23941 https://bugs.webkit.org/show_bug.cgi?id=31995 23942 23943 With this change, the style-queue posts "pass" messages to bugs as 23944 well. Also, added more information to the state store w.r.t. passing 23945 and failing. 23946 23947 * Scripts/modules/commands/queues.py: 23948 * Scripts/modules/patchcollection.py: 23949 23950 2009-11-30 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 23951 23952 Reviewed by Simon Fraser. 23953 23954 Check for WEBKIT_TESTFONTS environment variable in 23955 run-webkit-tests, for GTK+, to have a more prominent error 23956 message. 23957 23958 * Scripts/run-webkit-tests: 23959 23960 2009-11-30 Yaar Schnitman <yaar (a] chromium.org> 23961 23962 Reviewed by Dimitri Glazkov. 23963 23964 update-webkit --chromium forces gclient sync 23965 23966 https://bugs.webkit.org/show_bug.cgi?id=31967 23967 23968 * Scripts/update-webkit-chromium: 23969 23970 2009-11-29 Eric Seidel <eric (a] webkit.org> 23971 23972 Add Erik Arvidsson to committers.py since by r51326 he clear has commit rights. 23973 23974 * Scripts/modules/committers.py: 23975 23976 2009-11-29 Eric Seidel <eric (a] webkit.org> 23977 23978 No review, just adding missing svn property. 23979 23980 Set svn:executable property on new scripts. 23981 These were added by commit-queue commits, but the executable 23982 property was lost due to a bug in svn-apply: 23983 https://bugs.webkit.org/show_bug.cgi?id=27204 23984 23985 * Scripts/update-webkit-chromium: Added property svn:executable. 23986 * Scripts/validate-committer-lists: Added property svn:executable. 23987 23988 2009-11-29 Eric Seidel <eric (a] webkit.org> 23989 23990 Reviewed by Adam Barth. 23991 23992 Need a way to validate that committers.py includes all committers/reviewers 23993 https://bugs.webkit.org/show_bug.cgi?id=30970 23994 23995 Add a script which knows how to compare our public committer/reviewer 23996 lists and show discrepancies between them. 23997 23998 Validates mailing lists vs. committers.py: 23999 - committers.py committers missing from webkit-committers@lists 24000 - webkit-committers@lists members missing from committers.py 24001 - committers.py reviewers missing from webkit-reviewers@lists 24002 - webkit-reviewers@lists members missing from committers.py 24003 - webkit-reviewers@lists members missing from committers.py reviewer list 24004 24005 Validates committers.py vs. trunk/ SVN history: 24006 - committers who have not committed in over a year 24007 - SVN committers missing from committers.py 24008 - committers.py members who have no record in SVN. 24009 24010 All of these lists still show "false positives" until a few more committers.py updates are made, like: 24011 https://bugs.webkit.org/show_bug.cgi?id=31366 24012 24013 * Scripts/validate-committer-lists: Added. 24014 24015 2009-11-28 Adam Barth <abarth (a] webkit.org> 24016 24017 Reviewed by Eric Seidel. 24018 24019 [bzt] style-queue sends ~100 requests to QueueStatusServer every 5 minutes 24020 https://bugs.webkit.org/show_bug.cgi?id=31950 24021 24022 Now we cache the last status that we get back from QueueStatusServer. 24023 Eventually we'll have to do something more fancy if we want to support 24024 a "try again" button on QueueStatusServer, but we can cross that bridge 24025 when we come to it. 24026 24027 * Scripts/modules/patchcollection.py: 24028 24029 2009-11-28 Adam Barth <abarth (a] webkit.org> 24030 24031 Reviewed by Eric Seidel. 24032 24033 StyleQueue scans ~100 bug pages every 5 minutes 24034 https://bugs.webkit.org/show_bug.cgi?id=31947 24035 24036 Instead of getting the pending-review attachment ids by scanning each 24037 bug (which results in a network request), we should just get them all 24038 from webkit.org/pending-review in one shot. 24039 24040 * Scripts/modules/bugzilla.py: 24041 * Scripts/modules/bugzilla_unittest.py: 24042 * Scripts/modules/commands/queries.py: 24043 * Scripts/modules/commands/queries_unittest.py: 24044 * Scripts/modules/commands/queues.py: 24045 * Scripts/modules/mock_bugzillatool.py: 24046 * Scripts/modules/patchcollection.py: 24047 24048 2009-11-28 Adam Barth <abarth (a] webkit.org> 24049 24050 Reviewed by Eric Seidel. 24051 24052 [bzt] CC webkit-bot-watchers whenever the bots touch bugs 24053 https://bugs.webkit.org/show_bug.cgi?id=31952 24054 24055 The mailing list is open for anyone to subscribe. 24056 24057 * Scripts/modules/bugzilla.py: 24058 * Scripts/modules/commands/queues.py: 24059 24060 2009-11-28 Adam Barth <abarth (a] webkit.org> 24061 24062 Reviewed by Eric Seidel. 24063 24064 [bzt] style-queue should report style errors to bugzilla 24065 https://bugs.webkit.org/show_bug.cgi?id=31945 24066 24067 Currently, we're just logging the style errors locally. With this 24068 patch we'll actually log the errors to bugzilla. Note: I plan to run 24069 with the "local-only" logging during development. 24070 24071 * Scripts/modules/commands/queues.py: 24072 * Scripts/modules/scm.py: 24073 24074 2009-11-28 Adam Barth <abarth (a] webkit.org> 24075 24076 Reviewed by Eric Seidel. 24077 24078 [bzt] style-queue shouldn't reject patches from the commit-queue 24079 https://bugs.webkit.org/show_bug.cgi?id=31944 24080 24081 Currently the style-queue subprocess gets confused and thinks its the 24082 commit-queue. If the patch has an error, it rejects it from the 24083 commit-queue. Instead, we should have style-queue specific logic. 24084 This patch doesn't add that logic, but it gives us a callback we can 24085 use to add that logic. 24086 24087 * Scripts/modules/buildsteps.py: 24088 * Scripts/modules/commands/queues.py: 24089 * Scripts/modules/landingsequence.py: 24090 24091 2009-11-27 Adam Barth <abarth (a] webkit.org> 24092 24093 Rubber stamped by Eric Seidel. 24094 24095 Rename CommitQueueStatus to QueueStatusServer to allow for more queues. 24096 24097 * CommitQueueStatus: Removed. 24098 * CommitQueueStatus/app.yaml: Removed. 24099 * CommitQueueStatus/filters: Removed. 24100 * CommitQueueStatus/filters/__init__.py: Removed. 24101 * CommitQueueStatus/filters/webkit_extras.py: Removed. 24102 * CommitQueueStatus/index.html: Removed. 24103 * CommitQueueStatus/index.yaml: Removed. 24104 * CommitQueueStatus/queue_status.py: Removed. 24105 * CommitQueueStatus/stylesheets: Removed. 24106 * CommitQueueStatus/stylesheets/main.css: Removed. 24107 * CommitQueueStatus/update_status.html: Removed. 24108 * QueueStatusServer: Copied from WebKitTools/CommitQueueStatus. 24109 24110 2009-11-27 Adam Barth <abarth (a] webkit.org> 24111 24112 Reviewed by Eric Seidel. 24113 24114 style-queue should only process each patch once 24115 https://bugs.webkit.org/show_bug.cgi?id=31939 24116 24117 Actually address reviewer comments! 24118 24119 * Scripts/bugzilla-tool: 24120 24121 2009-11-27 Adam Barth <abarth (a] webkit.org> 24122 24123 Reviewed by Eric Seidel. 24124 24125 [bzt] style-queue fails to apply a bunch of patches for no reason 24126 https://bugs.webkit.org/show_bug.cgi?id=31942 24127 24128 By passing --non-interactive to check-style, we convince check-style 24129 to pass --force to svn-apply, which lets it apply more patches. 24130 24131 * Scripts/modules/commands/queues.py: 24132 24133 2009-11-27 Adam Barth <abarth (a] webkit.org> 24134 24135 Reviewed by Eric Seidel. 24136 24137 [bzt] Support --status-host in style-queue 24138 https://bugs.webkit.org/show_bug.cgi?id=31941 24139 24140 * Scripts/modules/commands/queues.py: 24141 * Scripts/modules/statusbot.py: 24142 24143 2009-11-27 Adam Barth <abarth (a] webkit.org> 24144 24145 Reviewed by Eric Seidel. 24146 24147 style-queue should only process each patch once 24148 https://bugs.webkit.org/show_bug.cgi?id=31939 24149 24150 Before processing a patch, the try-queues now ask the web service 24151 whether they have already processed the patch. This is an initial cut 24152 of this functionality. I expect we're make it richer over time. 24153 24154 * Scripts/bugzilla-tool: 24155 * Scripts/modules/commands/queues.py: 24156 * Scripts/modules/patchcollection.py: 24157 24158 2009-11-27 Adam Barth <abarth (a] webkit.org> 24159 24160 Reviewed by Eric Seidel. 24161 24162 PatchStatus does not return status 24163 https://bugs.webkit.org/show_bug.cgi?id=31938 24164 24165 We need to parse attachment_id as an int. Otherwise, we can't find 24166 anything in the datastore. 24167 24168 * CommitQueueStatus/queue_status.py: 24169 24170 2009-11-27 Adam Barth <abarth (a] webkit.org> 24171 24172 Reviewed by Eric Seidel. 24173 24174 Make commit-queue status not throw an exception where there is not 24175 status 24176 https://bugs.webkit.org/show_bug.cgi?id=31936 24177 24178 We need to actually fetch the results of the query to see what's in the 24179 datastore. 24180 24181 * CommitQueueStatus/queue_status.py: 24182 24183 2009-11-27 Adam Barth <abarth (a] webkit.org> 24184 24185 Reviewed by Eric Seidel. 24186 24187 [bzt] unit test ApplyPatches and ApplyAttachment 24188 https://bugs.webkit.org/show_bug.cgi?id=31935 24189 24190 * Scripts/modules/commands/download.py: 24191 * Scripts/modules/commands/download_unittest.py: 24192 24193 2009-11-27 Adam Barth <abarth (a] webkit.org> 24194 24195 Reviewed by Eric Seidel. 24196 24197 [bzt] Unit test download commands 24198 https://bugs.webkit.org/show_bug.cgi?id=31923 24199 24200 Adds download_unittest and fixes a bug found while testing. 24201 24202 * Scripts/modules/commands/commandtest.py: 24203 * Scripts/modules/commands/download.py: 24204 Fixed a bug where we'd throw an error because [].append returns 24205 None. 24206 * Scripts/modules/commands/download_unittest.py: Added. 24207 * Scripts/modules/mock_bugzillatool.py: 24208 * Scripts/run-webkit-unittests: 24209 24210 2009-11-27 Adam Barth <abarth (a] webkit.org> 24211 24212 Unreviewed "build" fix found while writing unit tests. 24213 24214 * Scripts/modules/commands/download.py: 24215 24216 2009-11-27 Adam Barth <abarth (a] webkit.org> 24217 24218 Reviewed by Eric Seidel. 24219 24220 [bzt] Kill WebKitLandingScripts 24221 https://bugs.webkit.org/show_bug.cgi?id=31904 24222 24223 Step 6: Kill the rest. 24224 24225 * Scripts/modules/buildsteps.py: 24226 * Scripts/modules/commands/download.py: 24227 * Scripts/modules/commands/queries.py: 24228 * Scripts/modules/commands/upload.py: 24229 * Scripts/modules/landingsequence.py: 24230 * Scripts/modules/scm.py: 24231 * Scripts/modules/webkitlandingscripts.py: Removed. 24232 24233 2009-11-27 Adam Barth <abarth (a] webkit.org> 24234 24235 Reviewed by Eric Seidel. 24236 24237 [bzt] Unit test upload commands 24238 https://bugs.webkit.org/show_bug.cgi?id=31903 24239 24240 Adds unit tests for all but two of the upload commands. The two 24241 remaining ones are more difficult. I'll return to them later. The 24242 goal of these tests is just to run the commands. We can test more 24243 detailed behavior later. 24244 24245 * Scripts/modules/commands/commandtest.py: 24246 * Scripts/modules/commands/upload.py: 24247 * Scripts/modules/commands/upload_unittest.py: 24248 * Scripts/modules/mock.py: Added. 24249 * Scripts/modules/mock_bugzillatool.py: 24250 24251 2009-11-26 Adam Barth <abarth (a] webkit.org> 24252 24253 Reviewed by Eric Seidel. 24254 24255 [bzt] Kill WebKitLandingScripts 24256 https://bugs.webkit.org/show_bug.cgi?id=31904 24257 24258 Step 5: Kill run_and_throw_if_fail. 24259 24260 * Scripts/modules/buildsteps.py: 24261 * Scripts/modules/processutils.py: Added. 24262 * Scripts/modules/webkitlandingscripts.py: 24263 24264 2009-11-26 Adam Barth <abarth (a] webkit.org> 24265 24266 Reviewed by Eric Seidel. 24267 24268 [bzt] Kill WebKitLandingScripts 24269 https://bugs.webkit.org/show_bug.cgi?id=31904 24270 24271 Step 4: Kill run_webkit_script. 24272 24273 * Scripts/modules/buildsteps.py: 24274 * Scripts/modules/commands/download.py: 24275 * Scripts/modules/webkitlandingscripts.py: 24276 24277 2009-11-26 Adam Barth <abarth (a] webkit.org> 24278 24279 Reviewed by Eric Seidel. 24280 24281 [bzt] Kill WebKitLandingScripts 24282 https://bugs.webkit.org/show_bug.cgi?id=31904 24283 24284 Step 3: Kill build_webkit. 24285 24286 * Scripts/modules/buildsteps.py: 24287 * Scripts/modules/landingsequence.py: 24288 * Scripts/modules/webkitlandingscripts.py: 24289 24290 2009-11-26 Adam Barth <abarth (a] webkit.org> 24291 24292 Reviewed by Eric Seidel. 24293 24294 [bzt] Kill WebKitLandingScripts 24295 https://bugs.webkit.org/show_bug.cgi?id=31904 24296 24297 Step 2: Kill ensure_builders_are_green. 24298 24299 * Scripts/modules/buildsteps.py: 24300 * Scripts/modules/commands/download.py: 24301 * Scripts/modules/landingsequence.py: 24302 * Scripts/modules/webkitlandingscripts.py: 24303 24304 2009-11-26 Adam Barth <abarth (a] webkit.org> 24305 24306 Reviewed by Eric Seidel. 24307 24308 [bzt] Kill WebKitLandingScripts 24309 https://bugs.webkit.org/show_bug.cgi?id=31904 24310 24311 Step 1: Kill prepare_clean_working_directory and run_webkit_tests. 24312 24313 * Scripts/bugzilla-tool: 24314 * Scripts/modules/buildsteps.py: Added. 24315 * Scripts/modules/commands/download.py: 24316 * Scripts/modules/landingsequence.py: 24317 * Scripts/modules/webkitlandingscripts.py: 24318 24319 2009-11-26 Zoltan Horvath <zoltan (a] webkit.org> 24320 24321 Reviewed by Adam Barth. 24322 24323 Remove directory prefixes from linux commands 24324 24325 SCM unittests can cause errors on some systems if we use absolute reference to 24326 the commands, so directory prefixes have been removed. 24327 24328 * Scripts/modules/scm_unittest.py: 24329 24330 2009-11-21 Holger Hans Peter Freyther <zecke (a] selfish.org> 24331 24332 Reviewed by Kenneth Rohde Christiansen. 24333 24334 Link DumpRenderTree to the Qt Ui Tools 24335 https://bugs.webkit.org/show_bug.cgi?id=31203 24336 24337 Implement QWebPage::createPlugin using the Qt Ui Tools 24338 to be able to create classes like QProgressBar from within 24339 the <object></object> tags This is required for the 24340 new automatic test of Qt Plugins. 24341 24342 * DumpRenderTree/qt/DumpRenderTree.cpp: 24343 (WebCore::WebPage::createPlugin): 24344 * DumpRenderTree/qt/DumpRenderTree.h: 24345 * DumpRenderTree/qt/DumpRenderTree.pro: 24346 24347 2009-11-25 Yuzo Fujishima <yuzo (a] google.com> 24348 24349 Reviewed by Eric Seidel. 24350 24351 Update pywebsocket to 0.4.2 24352 24353 Update pywebsocket to 0.4.2 24354 https://bugs.webkit.org/show_bug.cgi?id=31861 24355 24356 * pywebsocket/example/echo_client.py: 24357 * pywebsocket/example/echo_wsh.py: 24358 * pywebsocket/mod_pywebsocket/__init__.py: 24359 * pywebsocket/mod_pywebsocket/dispatch.py: 24360 * pywebsocket/mod_pywebsocket/msgutil.py: 24361 * pywebsocket/mod_pywebsocket/standalone.py: 24362 * pywebsocket/setup.py: 24363 * pywebsocket/test/test_dispatch.py: 24364 * pywebsocket/test/test_msgutil.py: 24365 24366 2009-11-25 Adam Barth <abarth (a] webkit.org> 24367 24368 Reviewed by Eric Seidel. 24369 24370 Add unit test for mark-fixed 24371 https://bugs.webkit.org/show_bug.cgi?id=31896 24372 24373 * Scripts/modules/commands/commandtest.py: Added. 24374 * Scripts/modules/commands/queries_unittest.py: 24375 * Scripts/modules/commands/upload_unittest.py: Added. 24376 * Scripts/modules/mock_bugzillatool.py: 24377 * Scripts/run-webkit-unittests: 24378 24379 2009-11-25 Adam Barth <abarth (a] webkit.org> 24380 24381 Reviewed by Eric Seidel. 24382 24383 bugzilla-tool should have a mark-fixed command 24384 https://bugs.webkit.org/show_bug.cgi?id=31853 24385 24386 Pretty simple stuff. 24387 24388 * Scripts/modules/commands/upload.py: 24389 24390 2009-11-25 Eric Seidel <eric (a] webkit.org> 24391 24392 Reviewed by Adam Barth. 24393 24394 'bugzilla-tool help' should only show common commands like how 'git help' does 24395 https://bugs.webkit.org/show_bug.cgi?id=31772 24396 24397 I also took this opportunity to make 'help' a real Command. 24398 Making 'help' a real command required adding Command.tool (which we've wanted to do for a while). 24399 24400 * Scripts/bugzilla-tool: 24401 - change should_show_command_help to should_show_in_main_help 24402 * Scripts/modules/commands/download.py: 24403 - Mark commands as being shown in main help or not. 24404 - show_in_main_help = False is not required (default is false), 24405 but it seemed to make the commands more self-documenting. 24406 * Scripts/modules/commands/queries.py: ditto 24407 * Scripts/modules/commands/queues.py: ditto 24408 * Scripts/modules/commands/upload.py: ditto 24409 * Scripts/modules/multicommandtool.py: 24410 - Make Command hold a pointer to tool in self.tool. Most Command 24411 subclasses do not take advantage of this yet, but it was required 24412 for HelpCommand to be able to reach the tool from _help_epilog(). 24413 - Move MultiCommandTool._standalone_help_for_command to Command.standalone_help 24414 - Move MultiCommandTool._help_epilog to Command._help_epilog 24415 - Move "help" logic into HelpCommand.execute() 24416 - Change should_show_command_help to should_show_in_main_help and add a default implementation. 24417 * Scripts/modules/multicommandtool_unittest.py: 24418 - Test hiding of Commands in --help, and that all commands are shown in 'help --all-commands' 24419 24420 2009-11-25 Brian Weinstein <bweinstein (a] apple.com> 24421 24422 Reviewed by Dan Bernstein. 24423 24424 Patch by Mark Rowe. 24425 24426 The buildbots are failing on Windows because when they were upgraded 24427 to 4.0.4, Apple Application Support was not in their path. Add it to 24428 the path to fix the buildots. 24429 24430 * Scripts/webkitdirs.pm: 24431 24432 2009-11-25 Csaba Osztrogonc <ossy (a] webkit.org> 24433 24434 Reviewed by David Kilzer. 24435 24436 run-webkit-tests doesn't accept directories/files with --skipped=only parameter 24437 https://bugs.webkit.org/show_bug.cgi?id=31799 24438 24439 * Scripts/run-webkit-tests: Fixed. 24440 24441 2009-11-25 Zoltan Horvath <zoltan (a] webkit.org> 24442 24443 Reviewed by Eric Seidel. 24444 24445 Change run_command to give back stderr by default 24446 https://bugs.webkit.org/show_bug.cgi?id=31734 24447 24448 Change run_command to give back stderr by default. 24449 Set run_commands's 'svn-create-patch' calling to put only the stdout into the patches. 24450 Change the related unittest call. 24451 24452 * Scripts/modules/scm.py: 24453 * Scripts/modules/scm_unittest.py: 24454 24455 2009-11-25 Eric Seidel <eric (a] webkit.org> 24456 24457 Reviewed by Adam Barth. 24458 24459 Centralize required argument parsing in Command 24460 https://bugs.webkit.org/show_bug.cgi?id=31872 24461 24462 * Scripts/modules/commands/download.py: remove custom required arg message. 24463 * Scripts/modules/commands/upload.py: ditto. 24464 * Scripts/modules/multicommandtool.py: 24465 - Add _parse_required_arguments. 24466 - Pass program name off to OptionParser. 24467 - Add name() for access to tool name. 24468 - Add check_arguments_and_execute and make it return a return code. 24469 - Replace a couple uses of + with %. 24470 * Scripts/modules/multicommandtool_unittest.py: test _parse_required_arguments 24471 24472 2009-11-25 Eric Seidel <eric (a] webkit.org> 24473 24474 Reviewed by Adam Barth. 24475 24476 Abstract out capturing stdout/stderr into a new OutputCapture class for re-use among the various unit tests. 24477 https://bugs.webkit.org/show_bug.cgi?id=31870 24478 24479 * Scripts/modules/commands/queries_unittest.py: Use the new class. 24480 * Scripts/modules/multicommandtool_unittest.py: Ditto. 24481 * Scripts/modules/outputcapture.py: Added. 24482 24483 2009-11-24 Dmitry Titov <dimich (a] chromium.org> 24484 24485 Reviewed by Eric Seidel. 24486 24487 Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit 24488 https://bugs.webkit.org/show_bug.cgi?id=31444 24489 24490 * Scripts/build-webkit: 24491 24492 2009-11-24 Chris Marrin <cmarrin (a] apple.com> 24493 24494 Reviewed by Simon Fraser. 24495 24496 Changes the way 3D_RENDERING and ACCELERATED_COMPOSITING related tests are excluded 24497 https://bugs.webkit.org/show_bug.cgi?id=27314 24498 24499 Now the script allows the directories with these tests to be included on all 24500 platforms but Mac, where they behave the same as always. For all other platforms 24501 the tests need to be excluded using the Skipped files, which is currently done 24502 for all platforms (including win since we're not turned on yet) 24503 24504 * Scripts/webkitdirs.pm: 24505 24506 2009-11-24 Eric Seidel <eric (a] webkit.org> 24507 24508 Reviewed by Adam Barth. 24509 24510 queries_unittest.py should test command output 24511 https://bugs.webkit.org/show_bug.cgi?id=31845 24512 24513 * Scripts/modules/commands/queries_unittest.py: 24514 - Capture stdout and stderr and compare with expected strings. 24515 24516 2009-11-24 Simon Fraser <simon.fraser (a] apple.com> 24517 24518 No Review. 24519 24520 Fix spelling error ("depenedencies"). 24521 24522 * Scripts/build-webkit: 24523 24524 2009-11-24 Mark Rowe <mrowe (a] apple.com> 24525 24526 Land the configuration that includes the two debug GTK Linux builders. 24527 24528 * BuildSlaveSupport/build.webkit.org-config/config.json: 24529 24530 2009-11-24 David Kilzer <ddkilzer (a] apple.com> 24531 24532 <http://webkit.org/b/31840> bisect-builds broke after r50080 24533 24534 Reviewed by Dan Bernstein. 24535 24536 * Scripts/bisect-builds: 24537 (mountAndRunNightly): Switched back to using backticks to run 24538 the hdiutil command since exec() will terminate the existing 24539 script, which is not what we want. Store the output of 24540 File::Spec->devnull() in a variable for use in the hdiutil 24541 detach commands. 24542 24543 2009-11-23 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 24544 24545 Reviewed by Kenneth Rohde Christiansen. 24546 24547 Include "config.h" to meet Coding Style Guidelines 24548 https://bugs.webkit.org/show_bug.cgi?id=31792 24549 24550 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: 24551 * DumpRenderTree/qt/jsobjects.cpp: 24552 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp: 24553 24554 2009-11-23 Gustavo Noronha Silva <gustavo.noronha (a] collabora.co.uk> 24555 24556 Reviewed by Oliver Hunt. 24557 24558 Implement new required function to pass test we used to pass. This 24559 change is required since r51294. 24560 24561 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 24562 (LayoutTestController::setAllowUniversalAccessFromFileURLs): 24563 24564 2009-11-23 Jakub Wieczorek <faw217 (a] gmail.com> 24565 24566 Reviewed by Kenneth Rohde Christiansen. 24567 24568 [Qt] DRT: dumpBackForwardList() does not work properly with non-file URLs. 24569 https://bugs.webkit.org/show_bug.cgi?id=31775 24570 24571 LayoutTestController::dumpBackForwardList() should work with local URLs 24572 as well as with normal URLs (in http tests for instance). 24573 Currently it does not output the latter properly. 24574 24575 Unskip a bunch of passing http/navigation tests. 24576 24577 * DumpRenderTree/qt/DumpRenderTree.cpp: 24578 (WebCore::dumpHistoryItem): 24579 24580 2009-11-22 Chris Fleizach <cfleizach (a] apple.com> 24581 24582 Reviewed by Oliver Hunt. 24583 24584 ARIA: support aria-flowto 24585 https://bugs.webkit.org/show_bug.cgi?id=31762 24586 24587 * DumpRenderTree/AccessibilityUIElement.cpp: 24588 (ariaFlowToElementAtIndexCallback): 24589 (AccessibilityUIElement::getJSClass): 24590 * DumpRenderTree/AccessibilityUIElement.h: 24591 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 24592 (AccessibilityUIElement::ariaFlowToElementAtIndex): 24593 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 24594 (AccessibilityUIElement::ariaFlowToElementAtIndex): 24595 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 24596 (AccessibilityUIElement::ariaFlowToElementAtIndex): 24597 24598 2009-11-22 Antonio Gomes <tonikitoo (a] webkit.org> 24599 24600 Reviewed by Kenneth Christiansen. 24601 24602 [Qt] fast/history/back-forward-reset-after-error-handling.html failing due to WorkQueue not being un-frozen 24603 https://bugs.webkit.org/show_bug.cgi?id=31638 24604 24605 Unfreeze WorkQueue after each test execution. 24606 24607 * DumpRenderTree/qt/DumpRenderTree.cpp: 24608 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): 24609 24610 2009-11-22 Jakub Wieczorek <faw217 (a] gmail.com> 24611 24612 Reviewed by Adam Barth. 24613 24614 [Qt] DumpRenderTree should explicitly ignore any SSL certificate errors 24615 for localhost and 127.0.0.1. 24616 https://bugs.webkit.org/show_bug.cgi?id=31783 24617 24618 Unskip the http/tests/ssl/verify-ssl-enabled.php test, which is passing now. 24619 24620 * DumpRenderTree/qt/DumpRenderTree.cpp: 24621 (WebCore::NetworkAccessManager::NetworkAccessManager): 24622 (WebCore::NetworkAccessManager::sslErrorsEncountered): 24623 (WebCore::WebPage::WebPage): 24624 * DumpRenderTree/qt/DumpRenderTree.h: 24625 24626 2009-11-22 Chris Evans <cevans (a] chromium.org> 24627 24628 Reviewed by Adam Barth. 24629 24630 Disable access to file:/// directory listings 24631 https://bugs.webkit.org/show_bug.cgi?id=31329 24632 24633 Implemented setAllowUniversalAccessFromFileURLs to support testing of 24634 file URL security. 24635 24636 * DumpRenderTree/LayoutTestController.cpp: 24637 (setAllowUniversalAccessFromFileURLsCallback): 24638 (LayoutTestController::staticFunctions): 24639 * DumpRenderTree/LayoutTestController.h: 24640 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 24641 (LayoutTestController::setAllowUniversalAccessFromFileURLs): 24642 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 24643 (LayoutTestController::setAllowUniversalAccessFromFileURLs): 24644 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 24645 (LayoutTestController::setAllowUniversalAccessFromFileURLs): 24646 * DumpRenderTree/wx/LayoutTestControllerWx.cpp: 24647 (LayoutTestController::setAllowUniversalAccessFromFileURLs): 24648 24649 2009-11-22 Jakub Wieczorek <faw217 (a] gmail.com> 24650 24651 Reviewed by Kenneth Rohde Christiansen. 24652 24653 [Qt] Fix the timeout of fast/frames/frame-navigation.html 24654 https://bugs.webkit.org/show_bug.cgi?id=31638 24655 24656 The test is timeouting, because it uses the WorkQueue to load a document in one 24657 of the child frames and once the loading is finished, the DRT does not dump the 24658 tree. This is because it waits for the QWebFrame::loadFinished() signal from 24659 the main frame, while it should connect to QWebPage::loadFinished(). 24660 24661 * DumpRenderTree/qt/DumpRenderTree.cpp: 24662 (WebCore::DumpRenderTree::DumpRenderTree): 24663 24664 2009-11-21 Eric Seidel <eric (a] webkit.org> 24665 24666 Reviewed by Adam Barth. 24667 24668 bugzilla-tool --help spews way too much text 24669 https://bugs.webkit.org/show_bug.cgi?id=31771 24670 24671 * Scripts/bugzilla-tool: 24672 - Remove self.cached_scm initialization hack. 24673 * Scripts/modules/buildbot.py: 24674 - Make default_host accessible to callers. 24675 * Scripts/modules/commands/download.py: 24676 - Phrase help for all commands consistently and remove spurious help text punctuation. 24677 * Scripts/modules/commands/queries.py: Ditto. 24678 * Scripts/modules/commands/queues.py: Ditto. 24679 * Scripts/modules/commands/upload.py: Ditto. 24680 * Scripts/modules/multicommandtool.py: 24681 - Add HelpPrintingOptionParser.format_epilog to replace 24682 NonWrappingEpilogIndentedHelpFormatter and allow us to lazily initialize 24683 per-command help (thus removing the need for the cached_scm hack in BugzillaTool). 24684 - Make --help only show a list of commands like "svn help" and "git help" do -- 24685 previously --help was listing all commands and options. 24686 - Sort list of commands alphabetically. 24687 24688 2009-11-21 Eric Seidel <eric (a] webkit.org> 24689 24690 No review. Fixing a typo from the previous patch for bug 31767. 24691 24692 AbstractQueue.run_bugzilla_tool throws an exception 24693 https://bugs.webkit.org/show_bug.cgi?id=31769 24694 24695 * Scripts/modules/commands/queues.py: 24696 24697 2009-11-21 Eric Seidel <eric (a] webkit.org> 24698 24699 Reviewed by Adam Barth. 24700 24701 commit-queue fails to run with "permissions error" due to bad bugzilla-tool path 24702 https://bugs.webkit.org/show_bug.cgi?id=31767 24703 24704 What we really want to test is BugzillaTool.path() instead of TrivialTool.path(). 24705 Since we don't have a good way to test BugzillaTool pieces, I've 24706 left out a test for now. 24707 24708 * Scripts/bugzilla-tool: 24709 - Add a path() implementation to expose bugzilla-tool's __file__ path to commit-queue. 24710 * Scripts/modules/commands/queues.py: 24711 - Use tool.path() instead of __file__. 24712 * Scripts/modules/multicommandtool.py: 24713 - Add a new path() method to MultiComandTool. 24714 * Scripts/modules/multicommandtool_unittest.py: 24715 - Provide a path() method. Little point in testing this mock implementation. 24716 24717 2009-11-21 Adam Barth <abarth (a] webkit.org> 24718 24719 Unreviewed "build" fix. Turns out I was testing the wrong copy of 24720 WebKitTools. 24721 24722 * Scripts/modules/commands/download.py: 24723 24724 2009-11-21 Adam Barth <abarth (a] webkit.org> 24725 24726 Reviewed by Eric Seidel. 24727 24728 Convert check-style to use LandingSequence 24729 https://bugs.webkit.org/show_bug.cgi?id=31763 24730 24731 Instead of manipulating the working copy by hand, we should use the 24732 LandingSequence in CheckStyle. This will make this code eaiser to 24733 test. 24734 24735 * Scripts/modules/commands/download.py: 24736 24737 2009-11-20 Adam Barth <abarth (a] webkit.org> 24738 24739 Reviewed by Eric Seidel. 24740 24741 Unit test query commands 24742 https://bugs.webkit.org/show_bug.cgi?id=31755 24743 24744 These tests are pretty rough, but hopefully they'll grow. 24745 24746 * Scripts/modules/commands/queries_unittest.py: Added. 24747 * Scripts/modules/mock_bugzillatool.py: Added. 24748 * Scripts/run-webkit-unittests: 24749 24750 2009-11-20 Eric Seidel <eric (a] webkit.org> 24751 24752 Reviewed by Adam Barth. 24753 24754 Fix a bunch of unit test regressions from our recent bugzilla-toll hacking 24755 https://bugs.webkit.org/show_bug.cgi?id=31758 24756 24757 * Scripts/modules/multicommandtool.py: 24758 - Allow passing of explicit commands to MultiCommandTool.__init__ 24759 * Scripts/modules/multicommandtool_unittest.py: 24760 - Use new Command.name naming system. 24761 - Test Command auto-discovery. 24762 * Scripts/modules/workqueue.py: 24763 - bug_id no longer exists, use patch['bug_id'] instead. 24764 * Scripts/modules/workqueue_unittest.py: 24765 - WorkQueues require names now. 24766 - should_proceed_with_work_item must return a patch object. 24767 24768 2009-11-20 Chris Fleizach <cfleizach (a] apple.com> 24769 24770 Reviewed by Beth Dakin. 24771 24772 WAI-ARIA: add support for aria-owns 24773 https://bugs.webkit.org/show_bug.cgi?id=31702 24774 24775 * DumpRenderTree/AccessibilityUIElement.cpp: 24776 (ariaOwnsElementAtIndexCallback): 24777 (AccessibilityUIElement::getJSClass): 24778 * DumpRenderTree/AccessibilityUIElement.h: 24779 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 24780 (AccessibilityUIElement::ariaOwnsElementAtIndex): 24781 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 24782 (AccessibilityUIElement::ariaOwnsElementAtIndex): 24783 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: 24784 (AccessibilityUIElement::ariaOwnsElementAtIndex): 24785 24786 2009-11-20 Eric Seidel <eric (a] webkit.org> 24787 24788 Reviewed by Adam Barth. 24789 24790 Fix exception thrown when running the commit-queue. 24791 24792 * Scripts/modules/statusbot.py: patch is optional. 24793 * Scripts/modules/workqueue.py: WorkQUeue requires a name. 24794 24795 2009-11-20 Eric Seidel <eric (a] webkit.org> 24796 24797 Reviewed by Adam Barth. 24798 24799 Teach the StatusBot how to support more than just the commit-queue 24800 https://bugs.webkit.org/show_bug.cgi?id=31754 24801 24802 * Scripts/modules/workqueue.py: Another typo. 24803 24804 2009-11-20 Eric Seidel <eric (a] webkit.org> 24805 24806 Reviewed by Adam Barth. 24807 24808 Teach the StatusBot how to support more than just the commit-queue 24809 https://bugs.webkit.org/show_bug.cgi?id=31754 24810 24811 * Scripts/modules/commands/queues.py: Fix silly typo. 24812 24813 2009-11-20 Eric Seidel <eric (a] webkit.org> 24814 24815 Reviewed by Adam Barth. 24816 24817 Teach the StatusBot how to support more than just the commit-queue 24818 https://bugs.webkit.org/show_bug.cgi?id=31754 24819 24820 * CommitQueueStatus/index.yaml: 24821 - Add indices required for the new queries. 24822 * CommitQueueStatus/queue_status.py: 24823 - Add a patch-status page and move update_status to update-status. 24824 - Only display "commit-queue" status records for the commit-queue. 24825 - Add support for a queue_name property on status records. 24826 - Fix _int_from_request to actually work. 24827 * CommitQueueStatus/update_status.html: 24828 - Add support for a queue_name on status records. 24829 - Remove unused list of bug ids. 24830 * Scripts/modules/commands/queues.py 24831 - Make the queues pass the patch instead of the bug_id to StatusBot. 24832 * Scripts/modules/statusbot.py: 24833 - Support passing the queue_name to the status updates. 24834 - Support fetching patch status with patch_status(). 24835 * Scripts/modules/workqueue.py: 24836 - Pass the patch to the StatusBot instead of the bug_id. 24837 - Let WorkQueues have a name. 24838 24839 2009-11-20 Adam Barth <abarth (a] webkit.org> 24840 24841 Reviewed by Eric Seidel. 24842 24843 Move bugzilla-tool commands into their own file 24844 https://bugs.webkit.org/show_bug.cgi?id=31752 24845 24846 This will let us write unit tests. 24847 24848 * Scripts/bugzilla-tool: 24849 * Scripts/modules/commands/__init__.py: Added. 24850 * Scripts/modules/commands/download.py: Added. 24851 * Scripts/modules/commands/queries.py: Added. 24852 * Scripts/modules/commands/queues.py: Added. 24853 * Scripts/modules/commands/upload.py: Added. 24854 * Scripts/modules/grammar.py: Added. 24855 24856 2009-11-20 Adam Barth <abarth (a] webkit.org> 24857 24858 Reviewed by Eric Seidel. 24859 24860 BuildQueue should check if the tree is currently buildable 24861 https://bugs.webkit.org/show_bug.cgi?id=31744 24862 24863 * Scripts/bugzilla-tool: 24864 * Scripts/modules/landingsequence.py: 24865 * Scripts/modules/webkitlandingscripts.py: 24866 24867 2009-11-20 Adam Barth <abarth (a] webkit.org> 24868 24869 Reviewed by Eric Seidel. 24870 24871 Move prepare_clean_working_directory into the LandingSequence 24872 https://bugs.webkit.org/show_bug.cgi?id=31743 24873 24874 * Scripts/bugzilla-tool: 24875 * Scripts/modules/landingsequence.py: 24876 24877 2009-11-20 Yael Aharon <yael.aharon (a] nokia.com> 24878 24879 Reviewed by Kenneth Rohde Christiansen. 24880 24881 NPN_ReloadPlugins does not reload the page even if reloadPages is true. 24882 https://bugs.webkit.org/show_bug.cgi?id=30460 24883 24884 Added code for calling NPN_ReloadPlugins with reloadPages true and false. 24885 24886 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 24887 (pluginInvoke): 24888 24889 2009-11-20 Adam Barth <abarth (a] webkit.org> 24890 24891 Reviewed by Eric Seidel. 24892 24893 Pass the port information to the child process 24894 https://bugs.webkit.org/show_bug.cgi?id=31736 24895 24896 We need to do this so the child process knows what to build! 24897 24898 * Scripts/bugzilla-tool: 24899 * Scripts/modules/landingsequence.py: 24900 * Scripts/modules/webkitport.py: 24901 * Scripts/modules/webkitport_unittest.py: 24902 24903 2009-11-20 Adam Barth <abarth (a] webkit.org> 24904 24905 Reviewed by Eric Seidel. 24906 24907 Support Qt port in build-queue 24908 https://bugs.webkit.org/show_bug.cgi?id=31733 24909 24910 * Scripts/bugzilla-tool: 24911 24912 2009-11-20 Adam Barth <abarth (a] webkit.org> 24913 24914 Reviewed by Eric Seidel. 24915 24916 Implement a build-queue 24917 https://bugs.webkit.org/show_bug.cgi?id=31725 24918 24919 Currently this just builds the first 10 patches in the review queue. 24920 We'll want to do something smarter soon. 24921 24922 * Scripts/bugzilla-tool: 24923 24924 2009-11-20 Adam Barth <abarth (a] webkit.org> 24925 24926 Reviewed by Eric Seidel. 24927 24928 Make commit-queue and style-queue show up in help 24929 https://bugs.webkit.org/show_bug.cgi?id=31724 24930 24931 We need to store their names on their class to make these commands 24932 properly register themselves with MultiCommandTool. 24933 24934 * Scripts/bugzilla-tool: 24935 24936 2009-11-20 Adam Barth <abarth (a] webkit.org> 24937 24938 Reviewed by Eric Seidel. 24939 24940 Implement bugzilla-tool build-attachment 24941 https://bugs.webkit.org/show_bug.cgi?id=31722 24942 24943 This command builds an attachment from bugzilla. It leaves the built 24944 patch in the working copy. 24945 24946 * Scripts/bugzilla-tool: 24947 * Scripts/modules/landingsequence.py: 24948 * Scripts/modules/webkitlandingscripts.py: 24949 24950 2009-11-20 Alejandro G. Castro <alex (a] igalia.com> 24951 24952 Reviewed by Xan Lopez. 24953 24954 [GTK] DRT release event does not create the state correctly 24955 https://bugs.webkit.org/show_bug.cgi?id=31717 24956 24957 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp: 24958 24959 2009-11-20 Eric Seidel <eric (a] webkit.org> 24960 24961 Reviewed by Adam Barth. 24962 24963 MultiCommandTool should find Command objects automatically instead of with a manual list 24964 https://bugs.webkit.org/show_bug.cgi?id=31710 24965 24966 * Scripts/bugzilla-tool: 24967 * Scripts/modules/multicommandtool.py: 24968 - Use some wild python-fu to crawl all the known subclasses of Command. 24969 24970 2009-11-20 Adam Barth <abarth (a] webkit.org> 24971 24972 Unreviewed "build" fix. Added missing import. 24973 24974 * Scripts/bugzilla-tool: 24975 24976 2009-11-20 Adam Barth <abarth (a] webkit.org> 24977 24978 Unreviewed "build" fix. I failed to update LandingSequence.test 24979 properly. 24980 24981 * Scripts/modules/landingsequence.py: 24982 24983 2009-11-20 Adam Barth <abarth (a] webkit.org> 24984 24985 Reviewed by Eric Seidel. 24986 24987 Create LandingSequence as the all-sing, all-dance landing class 24988 https://bugs.webkit.org/show_bug.cgi?id=31709 24989 24990 Client can inherit from this class to carefully control exactly which 24991 steps they wish to have happen in the landing sequence. 24992 24993 * Scripts/bugzilla-tool: 24994 * Scripts/modules/landingsequence.py: Added. 24995 * Scripts/modules/webkitlandingscripts.py: Added. 24996 24997 2009-11-19 Adam Barth <abarth (a] webkit.org> 24998 24999 Reviewed by Eric Seidel. 25000 25001 Abstract AbstractPatchProcessingCommand from AbstractPatchLandingCommand 25002 https://bugs.webkit.org/show_bug.cgi?id=31707 25003 25004 This is to help when we implement build-attachment. 25005 25006 * Scripts/bugzilla-tool: 25007 25008 2009-11-19 Adam Barth <abarth (a] webkit.org> 25009 25010 Reviewed by Eric Seidel. 25011 25012 Support Qt port in bugzilla-tool 25013 https://bugs.webkit.org/show_bug.cgi?id=31701 25014 25015 Now we support building with Qt! 25016 25017 * Scripts/bugzilla-tool: 25018 * Scripts/modules/webkitport.py: Added. 25019 * Scripts/modules/webkitport_unittest.py: Added. 25020 * Scripts/run-webkit-unittests: 25021 25022 2009-11-19 Zoltan Horvath <zoltan (a] webkit.org> 25023 25024 Reviewed by Adam Barth. 25025 25026 Remove inserting stderr into patch in bugzilla-tool 25027 https://bugs.webkit.org/show_bug.cgi?id=29914 25028 25029 Modify SCM python module's run_command function to avoid return of stderr 25030 by default, so stderr won't be inserted into the patches. 25031 Modify the related unit test. 25032 25033 * Scripts/modules/scm.py: 25034 * Scripts/modules/scm_unittest.py: 25035 25036 2009-11-19 Eric Seidel <eric (a] webkit.org> 25037 25038 Reviewed by Adam Barth. 25039 25040 bugzilla-tool needs per-command help 25041 https://bugs.webkit.org/show_bug.cgi?id=31697 25042 25043 Added support for "bugzilla-tool help command-name" 25044 and a unit test to make sure it works. 25045 25046 * Scripts/modules/multicommandtool.py: 25047 * Scripts/modules/multicommandtool_unittest.py: 25048 25049 2009-11-19 Eric Seidel <eric (a] webkit.org> 25050 25051 Reviewed by Adam Barth. 25052 25053 Move MultiCommandTool and Command into a separate file and add some basic unit tests 25054 https://bugs.webkit.org/show_bug.cgi?id=31695 25055 25056 * Scripts/bugzilla-tool: 25057 * Scripts/modules/multicommandtool.py: Added. 25058 * Scripts/modules/multicommandtool_unittest.py: Added. 25059 * Scripts/run-webkit-unittests: 25060 25061 2009-11-19 Eric Seidel <eric (a] webkit.org> 25062 25063 No review, just adding a FIXME. 25064 25065 Split out command parsing and help printing from BugzillaTool 25066 https://bugs.webkit.org/show_bug.cgi?id=31688 25067 25068 * Scripts/bugzilla-tool: Add an extra comment about current design failures. 25069 25070 2009-11-19 Eric Seidel <eric (a] webkit.org> 25071 25072 Reviewed by Adam Barth. 25073 25074 Split out command parsing and help printing from BugzillaTool 25075 https://bugs.webkit.org/show_bug.cgi?id=31688 25076 25077 * Scripts/bugzilla-tool: 25078 - Add new MultiCommandTool class to contain option parsing and help printing logic. 25079 - Rename private methods to use _ pattern. 25080 - MultiCommandTool has two abstract methods should_show_command_help and should_execute_command. 25081 - 25082 25083 2009-11-19 Eric Seidel <eric (a] webkit.org> 25084 25085 Reviewed by Adam Barth. 25086 25087 Re-factor help printing to use modern python idioms 25088 https://bugs.webkit.org/show_bug.cgi?id=31685 25089 25090 * Scripts/bugzilla-tool: 25091 25092 2009-11-19 Eric Seidel <eric (a] webkit.org> 25093 25094 Reviewed by Darin Adler. 25095 25096 commit-queue empty queue logs twice 25097 https://bugs.webkit.org/show_bug.cgi?id=31679 25098 25099 * Scripts/bugzilla-tool: 25100 25101 2009-11-19 Eric Seidel <eric (a] webkit.org> 25102 25103 Reviewed by Darin Adler. 25104 25105 bugzilla-tool's reviewer/committer rejection message should be clearer 25106 https://bugs.webkit.org/show_bug.cgi?id=31126 25107 25108 Add more explanatory prose to bugzilla-tool's flag permission rejection message. 25109 25110 * Scripts/modules/bugzilla.py: 25111 25112 2009-11-19 Eric Z. Ayers <zundel (a] google.com> 25113 25114 Reviewed by Pavel Feldman. 25115 25116 Forces a WM_PAINT event on calling layoutTestController.display() 25117 in order to enable the timeline-paint.html test on Windows. 25118 ::UpdateWindow() does not force an event becaue the window is 25119 not visible. 25120 25121 https://bugs.webkit.org/show_bug.cgi?id=31402 25122 25123 * DumpRenderTree/win/DumpRenderTree.cpp: 25124 (displayWebView): 25125 25126 2009-11-19 Michelangelo De Simone <michelangelo (a] webkit.org> 25127 25128 No review needed. 25129 25130 Added myself to committers list. 25131 25132 * Scripts/modules/committers.py: 25133 25134 2009-11-19 Adam Barth <abarth (a] webkit.org> 25135 25136 Reviewed by Eric Seidel. 25137 25138 Bugzilla-tool command classes should match command names 25139 https://bugs.webkit.org/show_bug.cgi?id=31666 25140 25141 I renamed all the commands except CommitMessageForCurrentDiff because 25142 the new name would conflict with an existing class. 25143 25144 * Scripts/bugzilla-tool: 25145 25146 2009-11-19 Pavel Feldman <pfeldman (a] chromium.org> 25147 25148 Reviewed by Gustavo Noronha Silva. 25149 25150 Web Inspector: Implement "show inspector" in WebKit GTK 25151 API and enable console tests. 25152 25153 https://bugs.webkit.org/show_bug.cgi?id=31669 25154 25155 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 25156 (LayoutTestController::showWebInspector): 25157 25158 2009-11-19 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 25159 25160 Reviewed by Simon Hausmann. 25161 25162 Minor refactoring + more documentation. 25163 25164 * DumpRenderTree/qt/DumpRenderTree.cpp: 25165 (WebCore::clearHistory): 25166 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): 25167 25168 2009-11-19 Fumitoshi Ukai <ukai (a] chromium.org> 25169 25170 Reviewed by Eric Seidel. 25171 25172 Ignore websocket tests when --no-http is specified. 25173 https://bugs.webkit.org/show_bug.cgi?id=31662 25174 25175 * Scripts/run-webkit-tests: 25176 25177 2009-11-18 Adam Barth <abarth (a] webkit.org> 25178 25179 Reviewed by Eric Seidel. 25180 25181 Normalize ' and " in bugzilla-tool 25182 https://bugs.webkit.org/show_bug.cgi?id=31655 25183 25184 We decided " is better than ' and we should be consistent. 25185 25186 * Scripts/bugzilla-tool: 25187 25188 2009-11-18 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 25189 25190 Reviewed by Kenneth Rohde Christiansen. 25191 25192 [Qt] Remove support for Qt v4.3 or older versions 25193 https://bugs.webkit.org/show_bug.cgi?id=29469 25194 25195 * DumpRenderTree/qt/DumpRenderTree.pro: 25196 * DumpRenderTree/qt/ImageDiff.pro: 25197 25198 2009-11-18 Shinichiro Hamaji <hamaji (a] chromium.org> 25199 25200 Reviewed by Eric Seidel. 25201 25202 GitTest.test_create_binary_patch fails if /tmp is symlink 25203 https://bugs.webkit.org/show_bug.cgi?id=31536 25204 25205 * Scripts/modules/scm_unittest.py: 25206 25207 2009-11-18 Yaar Schnitman <yaar (a] chromium.org> 25208 25209 Reviewed by Darin Adler. 25210 25211 Configuration for Chromium Build Slaves. 25212 25213 https://bugs.webkit.org/show_bug.cgi?id=31442 25214 25215 * BuildSlaveSupport/build.webkit.org-config/config.json: 25216 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 25217 25218 2009-11-18 Eric Seidel <eric (a] webkit.org> 25219 25220 Reviewed by Darin Adler. 25221 25222 workqueue.py results in totally broken commit-queue UI 25223 https://bugs.webkit.org/show_bug.cgi?id=31645 25224 25225 * Scripts/bugzilla-tool: 25226 - Remove unneeded use of PatchCollection. 25227 - Grab a new copy of the cq'd patches every run of the queue. 25228 25229 2009-11-18 Sam Weinig <sam (a] webkit.org> 25230 25231 Reviewed by Anders Carlsson. 25232 25233 Make the Mac Geolocation API async. 25234 25235 Update DRT to use the new async Mac Geolocation API. 25236 25237 * DumpRenderTree/mac/UIDelegate.mm: 25238 (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]): 25239 25240 2009-11-18 Laszlo Gombos <laszlo.1.gombos (a] nokia.com> 25241 25242 Reviewed by Kenneth Rohde Christiansen. 25243 25244 Add and option to toggle HTML5 datalist support to build-webkit 25245 https://bugs.webkit.org/show_bug.cgi?id=31599 25246 25247 * Scripts/build-webkit: 25248 25249 2009-11-18 Kevin Watters <kevinwatters (a] gmail.com> 25250 25251 Reviewed by Kevin Ollivier. 25252 25253 Enable wx plugin support using the Windows implementation as a base. 25254 25255 https://bugs.webkit.org/show_bug.cgi?id=31636 25256 25257 * wx/build/settings.py: 25258 25259 2009-11-18 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 25260 25261 Reviewed by Simon Hausmann. 25262 25263 Change the initialization order so that the controllers 25264 will be created before exporting them to the JS DOM window. 25265 25266 * DumpRenderTree/qt/DumpRenderTree.cpp: 25267 (WebCore::DumpRenderTree::DumpRenderTree): 25268 25269 2009-11-18 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 25270 25271 Reviewed by Simon Hausmann. 25272 25273 Fix a code copy and paste error. m_page should be page. 25274 25275 * DumpRenderTree/qt/DumpRenderTree.cpp: 25276 (WebCore::DumpRenderTree::createWindow): 25277 25278 2009-11-17 Mark Rowe <mrowe (a] apple.com> 25279 25280 Reviewed by Alexey Proskuryakov. 25281 25282 <http://webkit.org/b/31603> WebSocket server is confused if WebKit tests run from within /tmp on Mac OS X 25283 25284 * pywebsocket/mod_pywebsocket/dispatch.py: Use os.path.realpath as it returns the canonical path of a file. 25285 This prevents symlinks from confusing the descendant check. 25286 25287 2009-11-17 Mark Rowe <mrowe (a] apple.com> 25288 25289 Reviewed by Alexey Proskuryakov. 25290 25291 <http://webkit.org/b/31602> Failing to start the WebSocket server shouldnt terminate entire test run 25292 25293 If the WebSocket server fails to start have DRT load an error page in place of tests that require the 25294 server to be up rather than having run-webkit-tests abort immediately. 25295 25296 * Scripts/run-webkit-tests: 25297 25298 2009-11-17 Eric Seidel <eric (a] webkit.org> 25299 25300 Reviewed by Darin Adler. 25301 25302 commit-queue is failing to set reviewer in ChangeLogs 25303 https://bugs.webkit.org/show_bug.cgi?id=31592 25304 25305 * Scripts/bugzilla-tool: Clarify the "applying" log message. 25306 * Scripts/modules/bugzilla.py: 25307 - Add a new _validate_committer_and_reviewer function as a 25308 temporary solution until we can make a real Attachment object 25309 which knows how to fill in its committer/reviewer fields automatically. 25310 25311 2009-11-17 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 25312 25313 Unreviewed buildbot fix. 25314 25315 Revert part of earlier patch and add comment, as it 25316 was causing timeouts on the buildbot. 25317 25318 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 25319 (LayoutTestController::notifyDone): 25320 25321 2009-11-17 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 25322 25323 Reviewed by Oliver Hunt. 25324 25325 Make the timeout 15 sec as for the other DRT's and make 25326 it print out the same output when a test timeout. 25327 25328 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 25329 (LayoutTestController::waitUntilDone): 25330 (LayoutTestController::notifyDone): 25331 (LayoutTestController::timerEvent): 25332 25333 2009-11-17 Joseph Pecoraro <joepeck (a] webkit.org> 25334 25335 Reviewed by Timothy Hatcher. 25336 25337 Fixed typos in comments. 25338 25339 * Scripts/modules/committers.py: 25340 25341 2009-11-17 Pavel Feldman <pfeldman (a] chromium.org> 25342 25343 Reviewed by Timothy Hatcher. 25344 25345 Web Inspector: Make DRT show web inspector for tests in inspector/ folder. 25346 - Updated DRT to show/close inspector for all tests under /inspector 25347 - Introduced LayoutTestController::setTimelineProfilingEnabled and 25348 WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled 25349 - Removed reload on each inspector test 25350 - Renamed fast/inspector to fast/inspector-support in order not to trigger 25351 inspector for those. 25352 - Reimplemented timeline tests in order to get rid of reload there. 25353 - Moved tests that don't require harness into the fast group. 25354 25355 https://bugs.webkit.org/show_bug.cgi?id=31472 25356 25357 * DumpRenderTree/LayoutTestController.cpp: 25358 (setTimelineProfilingEnabledCallback): 25359 (closeWebInspectorCallback): 25360 (LayoutTestController::staticFunctions): 25361 * DumpRenderTree/LayoutTestController.h: 25362 * DumpRenderTree/gtk/DumpRenderTree.cpp: 25363 (shouldOpenWebInspector): 25364 (runTest): 25365 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 25366 (LayoutTestController::setTimelineProfilingEnabled): 25367 * DumpRenderTree/mac/DumpRenderTree.mm: 25368 (shouldOpenWebInspector): 25369 (runTest): 25370 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 25371 (LayoutTestController::setTimelineProfilingEnabled): 25372 * DumpRenderTree/win/DumpRenderTree.cpp: 25373 (shouldOpenWebInspector): 25374 (runTest): 25375 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 25376 (LayoutTestController::setTimelineProfilingEnabled): 25377 25378 2009-11-17 Oliver Hunt <oliver (a] apple.com> 25379 25380 Reviewed by Maciej Stachowiak. 25381 25382 Incorrect use of JavaScriptCore API in DumpRenderTree 25383 https://bugs.webkit.org/show_bug.cgi?id=31577 25384 25385 Return undefined rather than a literal null. 25386 25387 * DumpRenderTree/AccessibilityUIElement.cpp: 25388 (setSelectedTextRangeCallback): 25389 (incrementCallback): 25390 (decrementCallback): 25391 (showMenuCallback): 25392 25393 2009-11-16 Chris Fleizach <cfleizach (a] apple.com> 25394 25395 Reviewed by Beth Dakin. 25396 25397 AX: aria-labelledby duplicates some of its WAI-ARIA label 25398 https://bugs.webkit.org/show_bug.cgi?id=31565 25399 25400 * DumpRenderTree/AccessibilityUIElement.cpp: 25401 (titleUIElementCallback): 25402 (getIsValidCallback): 25403 (AccessibilityUIElement::getJSClass): 25404 25405 2009-11-16 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 25406 25407 Reviewed by Simon Hausmann. 25408 25409 r50942 broke output from created windows. Make the 25410 m_enableTextOutput a member of the DRT and not the 25411 WebPage. 25412 25413 * DumpRenderTree/qt/DumpRenderTree.cpp: 25414 (WebCore::WebPage::WebPage): 25415 (WebCore::WebPage::javaScriptAlert): 25416 (WebCore::WebPage::javaScriptConsoleMessage): 25417 (WebCore::WebPage::javaScriptConfirm): 25418 (WebCore::WebPage::javaScriptPrompt): 25419 (WebCore::WebPage::acceptNavigationRequest): 25420 (WebCore::DumpRenderTree::DumpRenderTree): 25421 (WebCore::DumpRenderTree::open): 25422 (WebCore::DumpRenderTree::createWindow): 25423 * DumpRenderTree/qt/DumpRenderTree.h: 25424 (WebCore::DumpRenderTree::setTextOutputEnabled): 25425 (WebCore::DumpRenderTree::isTextOutputEnabled): 25426 (WebCore::WebPage::shouldInterruptJavaScript): 25427 (WebCore::WebPage::isTextOutputEnabled): 25428 (WebCore::WebPage::setViewGeometry): 25429 25430 2009-11-16 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 25431 25432 Reviewed by Gustavo Noronha Silva. 25433 25434 Moved DumpRenderTree/gtk/TestNetscapePlugin to DumpRenderTree/unix/TestNetscapePlugin 25435 as the implementation is being used by at least Qt and Gtk+. 25436 25437 Update buildsystems as well. 25438 25439 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: 25440 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: 25441 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: 25442 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: 25443 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: 25444 * GNUmakefile.am: 25445 25446 2009-11-16 Yuzo Fujishima <yuzo (a] google.com> 25447 25448 Reviewed by Alexey Proskuryakov. 25449 25450 Disable wss until all platforms support pyOpenSSL 25451 25452 https://bugs.webkit.org/show_bug.cgi?id=31479 25453 25454 * Scripts/run-webkit-tests: 25455 25456 2009-11-14 Antonio Gomes <tonikitoo (a] webkit.org> 25457 25458 Reviewed by Kenneth Christiansen. 25459 25460 [Qt] Implement load error pages support for Qt's DRT. 25461 https://bugs.webkit.org/show_bug.cgi?id=31509 25462 25463 For now, it will not be a default feature, and layout tests 25464 that want to make use of this have to explicitily call 25465 'handleErrorPages();' for the test source. 25466 25467 Any of the other DumpRenderTree's (mac, win and gtk) 25468 support handling error pages. Qt's will be the first. 25469 25470 * DumpRenderTree/qt/DumpRenderTree.cpp: 25471 (WebCore::WebPage::supportsExtension): 25472 (WebCore::WebPage::extension): 25473 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 25474 (LayoutTestController::reset): 25475 * DumpRenderTree/qt/LayoutTestControllerQt.h: 25476 (LayoutTestController::shouldHandleErrorPages): 25477 (LayoutTestController::handleErrorPages): 25478 25479 2009-11-16 Eric Seidel <eric (a] webkit.org> 25480 25481 Reviewed by Adam Barth. 25482 25483 Rename the --commit-queue flag on land-* now that the commit-queue needs no special treatment 25484 https://bugs.webkit.org/show_bug.cgi?id=31549 25485 25486 Renamed --commit-queue to --non-interactive in most places 25487 and remove the code in land-patches which is no longer needed. 25488 25489 * Scripts/bugzilla-tool: 25490 25491 2009-11-16 Eric Seidel <eric (a] webkit.org> 25492 25493 Reviewed by Adam Barth. 25494 25495 The commit-queue should use land-attachment 25496 https://bugs.webkit.org/show_bug.cgi?id=31548 25497 25498 * Scripts/bugzilla-tool: 25499 25500 2009-11-16 Adam Barth <abarth (a] webkit.org> 25501 25502 Reviewed by Eric Seidel. 25503 25504 Convert CommitQueue over to PatchCollection 25505 https://bugs.webkit.org/show_bug.cgi?id=31547 25506 25507 Also fixes a bug in workqueue and adds a test! 25508 25509 * Scripts/bugzilla-tool: 25510 * Scripts/modules/workqueue.py: 25511 * Scripts/modules/workqueue_unittest.py: 25512 25513 2009-11-16 Adam Barth <abarth (a] webkit.org> 25514 25515 Reviewed by Eric Seidel. 25516 25517 Move StyleQueue over to using PatchCollection 25518 https://bugs.webkit.org/show_bug.cgi?id=31544 25519 25520 That's what the class it's for. 25521 25522 * Scripts/bugzilla-tool: 25523 * Scripts/modules/patchcollection.py: 25524 * Scripts/modules/patchcollection_unittest.py: 25525 25526 2009-11-16 Eric Seidel <eric (a] webkit.org> 25527 25528 Reviewed by Adam Barth. 25529 25530 bugzilla-tool needs a land-attachment command 25531 https://bugs.webkit.org/show_bug.cgi?id=31546 25532 25533 * Scripts/bugzilla-tool: 25534 - Move all the logic into AbstractLandingCommand and 25535 add a new LandAttachment command subclass. 25536 - Split out _collect_patches_by_bug logging from _fetch_list_of_patches_to_land. 25537 25538 2009-11-16 Eric Seidel <eric (a] webkit.org> 25539 25540 Reviewed by Adam Barth. 25541 25542 Move more patch-landing code into WebKitLandingScripts in preparation for land-attachment 25543 https://bugs.webkit.org/show_bug.cgi?id=31543 25544 25545 Just moving code and updating the one caller to use WebKitLandingScripts instead of 'self'. 25546 25547 * Scripts/bugzilla-tool: 25548 25549 2009-11-16 Eric Seidel <eric (a] webkit.org> 25550 25551 Reviewed by Adam Barth. 25552 25553 Disable the style queue from posting to the commit queue status page. 25554 25555 * Scripts/bugzilla-tool: 25556 25557 2009-11-16 Adam Barth <abarth (a] webkit.org> 25558 25559 Reviewed by Eric Seidel. 25560 25561 Implement PatchCollection 25562 https://bugs.webkit.org/show_bug.cgi?id=31541 25563 25564 This class holds a set of patches and lets clients iterate through 25565 them. Optionally, clients can install a filter. 25566 25567 * Scripts/modules/patchcollection.py: Added. 25568 * Scripts/modules/patchcollection_unittest.py: Added. 25569 * Scripts/run-webkit-unittests: 25570 25571 2009-11-16 Eric Seidel <eric (a] webkit.org> 25572 25573 Reviewed by Adam Barth. 25574 25575 bugzilla-tool land-patches will close bugs with patches r=? 25576 https://bugs.webkit.org/show_bug.cgi?id=28230 25577 25578 The commit-queue shouldn't close patches with outstanding reviews on them, 25579 even if many reviewers seem to be against multi-patch bugs. 25580 25581 * Scripts/bugzilla-tool: 25582 25583 2009-11-16 Eric Seidel <eric (a] webkit.org> 25584 25585 Reviewed by Adam Barth. 25586 25587 bugzilla-tool check-style should work with attachment ids instead of bug ids 25588 https://bugs.webkit.org/show_bug.cgi?id=31540 25589 25590 * Scripts/bugzilla-tool: 25591 25592 2009-11-16 Eric Seidel <eric (a] webkit.org> 25593 25594 Reviewed by Adam Barth. 25595 25596 WorkQueue is the only place that should know about special exit codes 25597 https://bugs.webkit.org/show_bug.cgi?id=31534 25598 25599 Move LandPatchesFromBugs.handled_error to WorkQueue.exit_after_handled_error 25600 and add tests for handling exit codes. 25601 I also cleaned up workqueue_unittest.py more. 25602 25603 * Scripts/bugzilla-tool: 25604 * Scripts/modules/workqueue.py: 25605 * Scripts/modules/workqueue_unittest.py: 25606 25607 2009-11-16 Eric Seidel <eric (a] webkit.org> 25608 25609 Reviewed by Adam Barth. 25610 25611 Re-factor workqueue_unittest to allow for more than one test. 25612 https://bugs.webkit.org/show_bug.cgi?id=31535 25613 25614 * Scripts/modules/workqueue_unittest.py: 25615 25616 2009-11-16 Eric Seidel <eric (a] webkit.org> 25617 25618 Reviewed by Adam Barth. 25619 25620 land-patches needs to be re-factored into smaller chunks 25621 https://bugs.webkit.org/show_bug.cgi?id=31532 25622 25623 * Scripts/bugzilla-tool: fix a couple obvious typos. 25624 25625 2009-11-16 Eric Seidel <eric (a] webkit.org> 25626 25627 Reviewed by Adam Barth. 25628 25629 land-patches needs to be re-factored into smaller chunks 25630 https://bugs.webkit.org/show_bug.cgi?id=31532 25631 25632 The next patch will move these methods into WebKitLandingScripts. 25633 25634 * Scripts/bugzilla-tool: 25635 - Split out _land_patch and _close_bug_if_no_active_patches. 25636 25637 2009-11-16 Adam Barth <abarth (a] webkit.org> 25638 25639 Reviewed by Eric Seidel. 25640 25641 Fix silly copy-and-paste code. I am a terrible coder. 25642 25643 * Scripts/modules/bugzilla.py: 25644 25645 2009-11-16 Adam Barth <abarth (a] webkit.org> 25646 25647 Reviewed by Eric Seidel. 25648 25649 Implement a StyleQueue 25650 https://bugs.webkit.org/show_bug.cgi?id=31537 25651 25652 The first iteration of the style queue only produces output locally. 25653 There is also a limit of 10 patches because it's not that useful to 25654 iterate through the entire review queue at this point. We can remove 25655 the limit later. 25656 25657 * Scripts/bugzilla-tool: 25658 * Scripts/modules/bugzilla.py: 25659 25660 2009-11-16 Adam Barth <abarth (a] webkit.org> 25661 25662 Reviewed by Eric Seidel. 25663 25664 Unit test WorkQueue 25665 https://bugs.webkit.org/show_bug.cgi?id=31531 25666 25667 Adds basic unit testing for WorkQueue. Just runs through one cycle. 25668 25669 * Scripts/bugzilla-tool: 25670 * Scripts/modules/statusbot.py: 25671 * Scripts/modules/workqueue.py: 25672 * Scripts/modules/workqueue_unittest.py: Added. 25673 * Scripts/run-webkit-unittests: 25674 25675 2009-11-16 Eric Seidel <eric (a] webkit.org> 25676 25677 Reviewed by Adam Barth. 25678 25679 bugzilla-tool land-diff should know how to parse bug ids out of ChangeLogs 25680 https://bugs.webkit.org/show_bug.cgi?id=31530 25681 25682 * Scripts/bugzilla-tool: 25683 25684 2009-11-16 Eric Seidel <eric (a] webkit.org> 25685 25686 Reviewed by Adam Barth. 25687 25688 bugzilla-tool needs apply-attachment 25689 https://bugs.webkit.org/show_bug.cgi?id=31528 25690 25691 * Scripts/bugzilla-tool: 25692 - Add ApplyAttachment command. 25693 - Abstract applying code into WebKitApplyingScripts. 25694 - Rename setup_for_landing to prepare_clean_working_directory and make local_commit checking optional. 25695 * Scripts/modules/bugzilla.py: 25696 - Add fetch_attachment and bug_id_for_attachment_id. 25697 * Scripts/modules/bugzilla_unittest.py: 25698 - Add test for new parsing. 25699 - Fix previous parsing test which broke with Adam's check-style patch (bug 31515). 25700 25701 2009-11-16 Eric Seidel <eric (a] webkit.org> 25702 25703 Reviewed by Adam Barth. 25704 25705 Document check-style's use of force_clean. 25706 25707 * Scripts/bugzilla-tool: 25708 * Scripts/modules/scm.py: 25709 25710 2009-11-16 Adam Barth <abarth (a] webkit.org> 25711 25712 Reviewed by Eric Seidel. 25713 25714 Move WorkQueue to its own file 25715 https://bugs.webkit.org/show_bug.cgi?id=31529 25716 25717 WorkQueue and WorkQueueDelegate are separate concerns from 25718 bugzilla-tool. Also added a missing include to logging.py. 25719 25720 * Scripts/bugzilla-tool: 25721 * Scripts/modules/logging.py: 25722 * Scripts/modules/workqueue.py: 25723 25724 2009-11-16 Adam Barth <abarth (a] webkit.org> 25725 25726 Reviewed by Eric Seidel. 25727 25728 Move OutputTee to logging.py. 25729 25730 * Scripts/bugzilla-tool: 25731 * Scripts/modules/logging.py: 25732 25733 2009-11-15 Adam Barth <abarth (a] webkit.org> 25734 25735 Reviewed by Eric Seidel. 25736 25737 Refactor bugzilla-tool to allow for multiple queues 25738 https://bugs.webkit.org/show_bug.cgi?id=31513 25739 25740 Divide the commit queue class into three class to make creating 25741 additional queues easier. 25742 25743 * Scripts/bugzilla-tool: 25744 25745 2009-11-15 Shinichiro Hamaji <hamaji (a] chromium.org> 25746 25747 Reviewed by Eric Seidel. 25748 25749 svn-apply may not handle git patches created by bugzilla-tool 25750 https://bugs.webkit.org/show_bug.cgi?id=31457 25751 25752 * Scripts/modules/scm.py: 25753 * Scripts/modules/scm_unittest.py: 25754 25755 2009-11-15 Shinichiro Hamaji <hamaji (a] chromium.org> 25756 25757 Reviewed by Eric Seidel. 25758 25759 bugzilla-tool should post git binary diff 25760 https://bugs.webkit.org/show_bug.cgi?id=31458 25761 25762 Add --binary option to Git.create_patch. 25763 25764 * Scripts/modules/scm.py: 25765 * Scripts/modules/scm_unittest.py: 25766 25767 2009-11-15 Adam Barth <abarth (a] webkit.org> 25768 25769 Reviewed by Darin Adler. 25770 25771 Add bugzilla-tool check-style 25772 https://bugs.webkit.org/show_bug.cgi?id=31515 25773 25774 * Scripts/bugzilla-tool: 25775 * Scripts/modules/bugzilla.py: 25776 25777 2009-11-13 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 25778 25779 Reviewed by Simon Hausmann. 25780 25781 Make the Qt Linux only --valgrind feature, suppress errors 25782 defined in the SuppressedValgrindErrors file. 25783 25784 * Scripts/run-webkit-tests: 25785 25786 2009-11-13 Kenneth Rohde Christiansen <kenneth (a] webkit.org> 25787 25788 Reviewed by Simon Hausmann. 25789 25790 Set the locale to C and not to the current one in use on the system. 25791 25792 * DumpRenderTree/qt/DumpRenderTree.cpp: 25793 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): 25794 25795 2009-11-13 Adam Roben <aroben (a] apple.com> 25796 25797 Add support for 25798 http/tests/security/isolatedWorld/didClearWindowObject.html 25799 25800 Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when 25801 window objects in isolated worlds are cleared 25802 25803 Reviewed by Dave Hyatt. 25804 25805 * DumpRenderTree/mac/DumpRenderTreeMac.h: Declared worldIDForWorld. 25806 25807 * DumpRenderTree/mac/FrameLoadDelegate.mm: 25808 (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): 25809 Added. Moved code here from -webView:didClearWindowObject:forFrame:. 25810 (-[FrameLoadDelegate didClearWindowObjectForFrame:inIsolatedWorld:]): 25811 Added. Sets a __worldID property on the global object whose value is 25812 the ID of this world. 25813 (-[FrameLoadDelegate webView:didClearWindowObjectForFrame:inScriptWorld:]): 25814 Respond to this new delegate callback by calling through to one of the 25815 above new methods. 25816 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 25817 (worldMap): Added. Returns a HashMap containing all the worlds we've 25818 created. 25819 (worldIDForWorld): Added. Returns the ID for this world, or 0 if we 25820 haven't kept track of this world. 25821 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap() 25822 instead of declaring our own. 25823 25824 * DumpRenderTree/win/DumpRenderTreeWin.h: Declared worldIDForWorld. 25825 25826 * DumpRenderTree/win/FrameLoadDelegate.cpp: 25827 (FrameLoadDelegate::didClearWindowObject): Moved code from hear to 25828 didClearWindowObjectForFrameInStandardWorld. 25829 (FrameLoadDelegate::didClearWindowObjectForFrameInScriptWorld): 25830 Respond to this new delegate callback by calling through to one of the 25831 below new methods. 25832 (FrameLoadDelegate::didClearWindowObjectForFrameInIsolatedWorld): 25833 Added. Sets a __worldID property on the gobal object whose value is 25834 the ID of this world. 25835 (FrameLoadDelegate::didClearWindowObjectForFrameInStandardWorld): 25836 Added. Moved code here from didClearWindowObject. 25837 25838 * DumpRenderTree/win/FrameLoadDelegate.h: Added the 25839 didClearWindowObjectForFrame* functions. 25840 25841 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 25842 (worldMap): Added. Returns a HashMap containing all the worlds we've 25843 created. 25844 (worldIDForWorld): Added. Returns the ID of this world, or 0 if we 25845 haven't kept track of this world. 25846 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap() 25847 instead of declaring our own. 25848 25849 2009-11-13 Adam Roben <aroben (a] apple.com> 25850 25851 Finish replacing worldIDs with world objects 25852 25853 The only remaining use of worldIDs was in a method only used by DRT 25854 for the isolated worlds tests. 25855 25856 Fixes <http://webkit.org/b/31414> Replace worldIDs with world objects 25857 25858 Reviewed by Mark Rowe. 25859 25860 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 25861 (LayoutTestController::evaluateScriptInIsolatedWorld): 25862 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 25863 (LayoutTestController::evaluateScriptInIsolatedWorld): 25864 Updated for changes to WebFrame. Now holds the map of worldID -> world 25865 at this level instead of making WebKit do it. 25866 25867 2009-11-13 Tor Arne Vestb <tor.arne.vestbo (a] nokia.com> 25868 25869 Reviewed by Simon Hausmann. 25870 25871 [Qt] Ensure the DRT does not output anything until first test is run 25872 25873 * DumpRenderTree/qt/DumpRenderTree.cpp: 25874 * DumpRenderTree/qt/DumpRenderTree