1 2010-01-28 Hayato Ito <hayato@chromium.org>
3 Reviewed by David Levin.
5 Remove NULL char from input JS file because 'grep' fails if the file contains NULL char.
7 https://bugs.webkit.org/show_bug.cgi?id=34252
9 * Scripts/make-script-test-wrappers:
11 2010-01-28 Kevin Ollivier <kevino@theolliviers.com>
13 [wx] Build fix after removal of the zlib image decoder.
15 * wx/build/settings.py:
17 2010-01-28 Csaba Osztrogonác <ossy@webkit.org>
19 [Qt] Unreviewed, roll out r54000.
21 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
22 (WebCore::DumpRenderTree::DumpRenderTree):
23 * DumpRenderTree/qt/DumpRenderTreeQt.h:
24 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
25 (LayoutTestController::reset):
26 * DumpRenderTree/qt/LayoutTestControllerQt.h:
27 (LayoutTestController::display):
29 2010-01-28 Benjamin Poulain <benjamin.poulain@nokia.com>
31 Reviewed by Kenneth Rohde Christiansen.
33 [Qt] Implement the display() method of the layout test controller
34 https://bugs.webkit.org/show_bug.cgi?id=34258
36 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
37 (WebCore::DumpRenderTree::DumpRenderTree):
38 (WebCore::DumpRenderTree::showPage):
39 (WebCore::DumpRenderTree::hidePage):
40 * DumpRenderTree/qt/DumpRenderTreeQt.h:
41 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
42 (LayoutTestController::reset):
43 (LayoutTestController::display):
44 * DumpRenderTree/qt/LayoutTestControllerQt.h:
46 2010-01-28 Chris Jerdonek <cjerdonek@webkit.org>
48 Reviewed by Shinichiro Hamaji.
50 Eliminated the filename parameter from functions in
51 check-webkit-style's cpp.py where it is no longer used.
53 https://bugs.webkit.org/show_bug.cgi?id=34249
55 * Scripts/webkitpy/style/processors/cpp.py:
56 - Reduced number of occurrences of "filename" variable from
57 approximately 200 to 120.
59 * Scripts/webkitpy/style/processors/cpp_unittest.py:
60 - Refactored unit tests as necessary to accommodate changes to cpp.py.
61 - Fixed bug in CppStyleTestBase.perform_include_what_you_use()
62 where the incorrect file extension was getting passed to
63 cpp_style.check_language().
65 2010-01-28 Chris Jerdonek <cjerdonek@webkit.org>
67 Reviewed by Shinichiro Hamaji.
69 In check-webkit-style, eliminated the dependency of
70 processors/cpp_unittest.py on checker.py.
72 https://bugs.webkit.org/show_bug.cgi?id=34205
74 * Scripts/webkitpy/style/checker.py:
75 - Addressed FIXME by removing STYLE_CATEGORIES data.
76 - Added style_categories().
78 * Scripts/webkitpy/style/checker_unittest.py:
81 * Scripts/webkitpy/style/processors/cpp.py:
82 - Added categories attribute to CppProcessor class (data
83 was originally checker.STYLE_CATEGORIES).
85 * Scripts/webkitpy/style/processors/cpp_unittest.py:
86 - Addressed FIXME by eliminating "import" from checker.py.
88 2010-01-28 Anton Muhin <antonm@chromium.org>
90 Reviewed by Shinichiro Hamaji.
92 Improve treatment of conditions and rest of the line for if, else, switch and alikes
93 https://bugs.webkit.org/show_bug.cgi?id=34173
95 * Scripts/webkitpy/style/cpp_style.py:
96 * Scripts/webkitpy/style/cpp_style_unittest.py:
98 2010-01-28 Joe Mason <jmason@rim.com>
100 Reviewed by Adam Barth.
102 Limit login retries to 5
103 https://bugs.webkit.org/show_bug.cgi?id=34193
105 * Scripts/webkitpy/bugzilla.py:
107 2010-01-27 Martin Robinson <mrobinson@webkit.org>
109 Adding myself to the committer list. No review necessary.
111 * Scripts/webkitpy/committers.py:
113 2010-01-27 George Wright <gwright@rim.com>
115 Reviewed by Adam Treat.
117 https://bugs.webkit.org/show_bug.cgi?id=34216
119 Add missing include for wtf/Platform.h
121 * DumpRenderTree/AccessibilityController.h:
123 2010-01-27 Diego Gonzalez <diego.gonzalez@openbossa.org>
125 Reviewed by Kenneth Rohde Christiansen.
127 [Qt] DRT Provide worker thread ability to track counters
128 https://bugs.webkit.org/show_bug.cgi?id=34221
130 Implement workerThreadCount() in LayoutTestController of Qt DRT
133 fast/workers/dedicated-worker-lifecycle.html
134 fast/workers/shared-worker-frame-lifecycle.html
135 fast/workers/shared-worker-lifecycle.html
136 fast/workers/worker-lifecycle.html
138 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
139 (LayoutTestController::workerThreadCount):
140 * DumpRenderTree/qt/LayoutTestControllerQt.h:
142 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
144 Rubberstamped by Simon Hausmann.
146 [Qt] QtLauncher refactoring:
148 Make the LauncherWindow depend less on the view, so that more
149 code can be shared in near future.
151 * QtLauncher/main.cpp:
152 (LauncherWindow::sendTouchEvent):
153 (LauncherWindow::loadFinished):
154 (LauncherWindow::zoomIn):
155 (LauncherWindow::zoomOut):
156 (LauncherWindow::resetZoom):
157 (LauncherWindow::toggleZoomTextOnly):
158 (LauncherWindow::dumpHtml):
159 (LauncherWindow::selectElements):
160 (LauncherWindow::setupUI):
162 2010-01-27 Kinuko Yasuda <kinuko@chromium.org>
164 Reviewed by Eric Seidel.
166 Correctly handle the KeyLocation argument that has been introduced
167 recently to test location-dependent key events in EventSender.keyDown.
168 http://bugs.webkit.org/show_bug.cgi?id=28247
170 Test: fast/events/keydown-numpad-keys.html
172 * DumpRenderTree/gtk/EventSender.cpp:
175 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
177 Rubberstamped by Simon Hausmann.
179 [Qt] QtLauncher refactoring:
181 Move out code from the MainWindow (renamed to LauncherWindow)
182 that is not depending on the view, and add it to a new class
185 * QtLauncher/QtLauncher.pro:
186 * QtLauncher/main.cpp:
187 (LauncherWindow::LauncherWindow):
188 (LauncherWindow::eventFilter):
189 (LauncherWindow::loadStarted):
190 (LauncherWindow::loadFinished):
191 (LauncherWindow::newWindow):
192 (LauncherWindow::setupUI):
193 (WebPage::createWindow):
195 * QtLauncher/mainwindow.cpp: Added.
196 (MainWindow::MainWindow):
197 (MainWindow::buildUI):
199 (MainWindow::setAddressUrl):
200 (MainWindow::addCompleterEntry):
202 (MainWindow::changeLocation):
203 (MainWindow::openFile):
204 * QtLauncher/mainwindow.h: Added.
206 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
208 Rubberstamped by Simon Hausmann.
210 [Qt] QtLauncher, coding style fixes.
212 * QtLauncher/main.cpp:
213 (MainWindow::MainWindow):
214 (MainWindow::sendTouchEvent):
215 (MainWindow::eventFilter):
216 (MainWindow::loadURL):
217 (MainWindow::setupUI):
218 (WebPage::createPlugin):
220 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
222 Rubberstamped by Simon Hausmann.
224 [Qt] QtLauncher refactoring, separating the webview and
225 adding a QGraphicsWebView based version.
227 * QtLauncher/QtLauncher.pro:
228 * QtLauncher/main.cpp:
229 (MainWindow::MainWindow):
230 * QtLauncher/webpage.h:
231 * QtLauncher/webview.cpp: Added.
233 (WebViewGraphicsBased::mousePressEvent):
234 (WebViewTraditional::mousePressEvent):
235 (WebViewGraphicsBased::contextMenuEvent):
236 (WebViewTraditional::contextMenuEvent):
237 * QtLauncher/webview.h: Added.
238 (WebViewGraphicsBased::WebViewGraphicsBased):
239 (WebViewTraditional::WebViewTraditional):
241 2010-01-27 Alexander Pavlov <apavlov@chromium.org>
243 Adding myself as committer. No review necessary.
245 * Scripts/webkitpy/committers.py:
247 2010-01-27 Eric Seidel <eric@webkit.org>
249 Reviewed by Darin Adler.
251 webkit-patch needs an open-bugs command
252 https://bugs.webkit.org/show_bug.cgi?id=30793
254 * Scripts/test-webkitpy: import OpenBugsTest
255 * Scripts/webkit-patch: import OpenBugs
256 * Scripts/webkitpy/commands/download_unittest.py: don't import unittest
257 * Scripts/webkitpy/commands/early_warning_system_unittest.py: ditto
258 * Scripts/webkitpy/commands/queries_unittest.py: ditto
259 * Scripts/webkitpy/commands/queues_unittest.py: ditto
260 * Scripts/webkitpy/commands/upload_unittest.py: ditto
261 * Scripts/webkitpy/mock_bugzillatool.py: log when user.open_url is called.
263 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
265 Rubberstamped by Simon Hausmann
267 [Qt] QtLauncher refactoring, separating utility methods.
269 * QtLauncher/QtLauncher.pro:
270 * QtLauncher/main.cpp:
271 * QtLauncher/utils.cpp: Added.
273 * QtLauncher/utils.h: Added.
275 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
277 Rubberstamped by Simon Hausmann
279 [Qt] Refactor the code in the QtLauncher dealing with HTTP proxy.
281 * QtLauncher/main.cpp:
282 (MainWindow::MainWindow):
283 * QtLauncher/webpage.cpp:
285 (WebPage::applyProxy):
286 * QtLauncher/webpage.h:
288 2010-01-26 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
290 Reviewed by Tor Arne Vestbø.
292 [Qt] Corrects debug build of DumpRenderTree on Windows.
294 * DumpRenderTree/qt/DumpRenderTree.pro:
296 2010-01-26 Daniel Bates <dbates@webkit.org>
298 Reviewed by Adam Barth.
300 https://bugs.webkit.org/show_bug.cgi?id=34070
302 Moves the try/catch for OSError exceptions in Executive.run_command
303 to Credentials.read_credentials() so that the unit test
304 webkitpy.scm_unittest.SCMClassTests.test_error_handlers can
305 assert that Executive.run_command throws an OSError exception.
307 * Scripts/webkitpy/credentials.py:
308 * Scripts/webkitpy/executive.py: Moved try/catch for OSError to
309 method Credentials.read_credentials().
310 * Scripts/webkitpy/executive_unittest.py: Removed tests that no longer
311 apply: test_run_command_with_bad_command_check_return_code and
312 test_run_command_with_bad_command_check_calls_error_handler. Added new
313 test to assert that run_command throws OSError exceptions.
315 2010-01-26 Diego Gonzalez <diego.gonzalez@openbossa.org>
317 Reviewed by Kenneth Rohde Christiansen.
319 [Qt] DRT WebHistory support
320 https://bugs.webkit.org/show_bug.cgi?id=34167
322 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
323 (LayoutTestController::reset):
324 (LayoutTestController::webHistoryItemCount):
325 (LayoutTestController::keepWebHistory):
326 * DumpRenderTree/qt/LayoutTestControllerQt.h:
328 2010-01-26 Kent Tamura <tkent@chromium.org>
330 Reviewed by Eric Seidel.
332 [Win] Add modifiers parameter support to Windows DumpRenderTree
333 https://bugs.webkit.org/show_bug.cgi?id=34068
335 Add support for functional name modifiers; "addSelectionKey" and
336 "rangeSelectionKey", and modifiers parameter to eventSender.mouseDown()
337 and eventSender.mouseUp().
338 This change is similar to r53498 for Mac.
340 * DumpRenderTree/win/EventSender.cpp:
341 (buildModifierFlags): New function to set MK_CONTROL or MK_SHIFT to WPARAM.
342 (mouseDownCallback): Call buidlModifiersFlags().
343 (mouseUpCallback): ditto.
344 (keyDownCallback): Add support for "addSelectionkey" and "rangeSelectionKey".
346 2010-01-26 Chris Jerdonek <cjerdonek@webkit.org>
348 Reviewed by Eric Seidel.
350 The Python autoinstall cache directory now only gets created
351 in the directory containing autoinstall.py.
353 https://bugs.webkit.org/show_bug.cgi?id=33365
355 * Scripts/webkitpy/autoinstall.py:
356 - Also added a README file to the cache directory saying
359 2010-01-26 Chris Jerdonek <cjerdonek@webkit.org>
361 Reviewed by Eric Seidel.
363 Moved the check-webkit-style processors into a new
364 webkitpy/style/processors directory.
366 https://bugs.webkit.org/show_bug.cgi?id=34060
368 * Scripts/webkitpy/style/checker.py:
369 * Scripts/webkitpy/style/checker_unittest.py:
370 * Scripts/webkitpy/style/cpp_style.py: Removed.
371 * Scripts/webkitpy/style/cpp_style_unittest.py: Removed.
372 * Scripts/webkitpy/style/processors: Added.
373 * Scripts/webkitpy/style/processors/__init__.py: Added.
374 * Scripts/webkitpy/style/processors/cpp.py: Copied from WebKitTools/Scripts/webkitpy/style/cpp_style.py.
375 * Scripts/webkitpy/style/processors/cpp_unittest.py: Copied from WebKitTools/Scripts/webkitpy/style/cpp_style_unittest.py.
376 * Scripts/webkitpy/style/processors/text.py: Copied from WebKitTools/Scripts/webkitpy/style/text_style.py.
377 * Scripts/webkitpy/style/processors/text_unittest.py: Copied from WebKitTools/Scripts/webkitpy/style/text_style_unittest.py.
378 * Scripts/webkitpy/style/text_style.py: Removed.
379 * Scripts/webkitpy/style/text_style_unittest.py: Removed.
380 * Scripts/webkitpy/style/unittests.py:
382 2010-01-26 Kevin Ollivier <kevino@theolliviers.com>
384 [wx] Build fix, make sure stub function returns a value.
386 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
387 (LayoutTestController::counterValueForElementById):
389 2010-01-26 Steve Falkenburg <sfalken@apple.com>
391 Reviewed by Oliver Hunt.
393 Windows build references non-existent include paths
394 https://bugs.webkit.org/show_bug.cgi?id=34175
396 * DumpRenderTree/win/DumpRenderTree.vcproj:
397 * DumpRenderTree/win/ImageDiff.vcproj:
398 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
400 2010-01-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
402 Reviewed by Ariya Hidayat.
404 [Qt] Separating out the UrlLoader from the QtLauncher in it's
405 own implementation and header file.
407 * QtLauncher/main.cpp:
409 * QtLauncher/urlloader.cpp: Added.
410 (UrlLoader::UrlLoader):
411 (UrlLoader::loadNext):
414 * QtLauncher/urlloader.h: Added.
416 2010-01-25 Chris Jerdonek <cjerdonek@webkit.org>
418 Reviewed by Shinichiro Hamaji.
420 Refactored check-webkit-style by removing the file path
421 parameter from the style error handler functions.
423 https://bugs.webkit.org/show_bug.cgi?id=34031
425 * Scripts/webkitpy/style/checker.py:
426 - Added _default_style_error_handler() to StyleChecker class.
427 - Moved handle_style_error() to inside _default_style_error_handler().
429 * Scripts/webkitpy/style/checker_unittest.py:
430 - Removed file path from calls to error handler.
432 * Scripts/webkitpy/style/cpp_style.py:
433 - Removed file path from calls to error handler.
435 * Scripts/webkitpy/style/cpp_style_unittest.py:
436 - Removed file path from calls to error handler.
438 * Scripts/webkitpy/style/text_style.py:
439 - Removed file path from calls to error handler.
441 * Scripts/webkitpy/style/text_style_unittest.py:
442 - Removed file path from calls to error handler.
444 2010-01-25 Jeremy Orlow <jorlow@chromium.org>
446 Adding myself as reviewer. No review necessary.
448 * Scripts/webkitpy/committers.py:
450 2010-01-25 Chris Jerdonek <cjerdonek@webkit.org>
452 Reviewed by Adam Barth.
454 Improved prepare-ChangeLog so that it preserves the relative
455 indentation of a git commit message.
457 https://bugs.webkit.org/show_bug.cgi?id=34058
459 * Scripts/prepare-ChangeLog:
460 - Also adjusted the script so that it does not add white
461 space characters to empty lines.
463 2010-01-24 Eric Seidel <eric@webkit.org>
465 No review, rolling out r53763.
466 http://trac.webkit.org/changeset/53763
467 https://bugs.webkit.org/show_bug.cgi?id=33895
469 Broke 20+ tests on Windows.
471 * Scripts/run-webkit-tests:
472 * Scripts/webkitdirs.pm:
474 2010-01-24 Adam Barth <abarth@webkit.org>
476 Rubber stamped by Eric Seidel.
478 More pep8 compliance.
480 * Scripts/webkitpy/mock_bugzillatool.py:
482 2010-01-24 Adam Barth <abarth@webkit.org>
484 Rubber stamped by Eric Seidel.
486 More pep8 compliance.
488 * Scripts/webkitpy/executive.py:
489 * Scripts/webkitpy/grammar.py:
491 2010-01-24 Adam Barth <abarth@webkit.org>
493 Rubber stamped by Eric Seidel.
495 More pep8 compliance.
497 * Scripts/webkitpy/comments.py:
498 * Scripts/webkitpy/committers.py:
499 * Scripts/webkitpy/credentials.py:
501 2010-01-24 Adam Barth <abarth@webkit.org>
503 Rubber stamped by Eric Seidel.
505 Make changelogs.py pass pep8.
507 * Scripts/webkitpy/changelogs.py:
509 2010-01-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
511 [Qt] Unreviewed build fix
513 * QtLauncher/QtLauncher.pro:
514 * QtLauncher/webinspector.h:
516 2010-01-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
518 Rubberstamped by Simon Hausmann.
520 [Qt] Move the WebInspector class to it's own header file.
522 * QtLauncher/main.cpp:
523 * QtLauncher/webinspector.h: Added.
524 (WebInspector::WebInspector):
525 (WebInspector::showEvent):
526 (WebInspector::hideEvent):
528 2010-01-23 Robert Hogan <robert@roberthogan.net>
530 Reviewed by Kenneth Rohde Christiansen.
532 Qt DRT: respect window.close() and window.closed()
534 Qt DRT needs to maintain a correct count of open windows
535 for windowCount(). It also needs to delete windows that
536 have been closed by window.close().
538 This fixes the following tests:
540 plugins/destroy-during-npp-new.html
541 fast/dom/Document/early-document-access.html
542 fast/dom/Window/window-early-properties.html
543 fast/events/open-window-from-another-frame.html
544 fast/events/popup-blocking-click-in-iframe.html
546 https://bugs.webkit.org/show_bug.cgi?id=32953
548 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
549 (WebCore::DumpRenderTree::DumpRenderTree):
550 (WebCore::DumpRenderTree::createWindow):
551 (WebCore::DumpRenderTree::windowCloseRequested):
552 * DumpRenderTree/qt/DumpRenderTreeQt.h:
553 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
554 (LayoutTestController::maybeDump):
556 2010-01-23 Dan Bernstein <mitz@apple.com>
558 Reviewed by Mark Rowe.
560 Added a user default for specifying a fallback frameworks path in case
561 the bundle does not contain frameworks for the current Mac OS X version.
563 * WebKitLauncher/main.m:
564 (fallbackMacOSXVersion): Added. Looks up the fallback version in a dictionary
565 keyed by the FallbackSystemVersions user default and returns it.
566 (main): If a frameworks directory for the current system version is not found,
569 2010-01-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
571 Reviewed by Simon Hausmann.
573 Make run-webkit-tests work under Cygwin for the Qt port
575 setPathForRunningWebKitApp() is implemented for the Qt port
576 by using qmake to query for the location of the Qt libraries.
578 This requires the original environment (%ENV) to be untouched,
579 so launchWithCurrentEnv() was refactored to launchWithEnv(),
580 and the code in openDumpTool() to not use %ENV but a %CLEAN_ENV
581 instead. This has the added benefit of getting rid of the temp
582 variables used for storing the current env.
584 openDumpTool() is also refactored a bit into platform-spesific,
585 port-spesific, and generic environment variables.
587 Checks for undef was added a few places to fix Perl concat
588 warnings when run-webkit-tests is aborted.
590 https://bugs.webkit.org/show_bug.cgi?id=33895
592 * Scripts/run-webkit-tests:
593 * Scripts/webkitdirs.pm:
595 2010-01-22 Kevin Watters <kevinwatters@gmail.com>
597 Reviewed by Kevin Ollivier.
599 [wx] Remove the Bakefile build system, which is no longer being used.
601 https://bugs.webkit.org/show_bug.cgi?id=34022
603 * DumpRenderTree/wx/DumpRenderTree.bkl: Removed.
604 * wx/browser/browser.bkl: Removed.
605 * wx/build-wxwebkit: Removed.
607 2010-01-22 Gustavo Noronha Silva <gns@gnome.org>
609 Reviewed by Simon Fraser.
611 Reset zoom level to 1.0 when resetting view state. This is causing
612 many tests to fail after svg/custom/text-zoom.xhtml changes the
615 * DumpRenderTree/gtk/DumpRenderTree.cpp:
616 (resetDefaultsToConsistentValues):
618 2010-01-22 Steve Falkenburg <sfalken@apple.com>
620 Reviewed by Darin Adler.
622 https://bugs.webkit.org/show_bug.cgi?id=34025
623 Enable client-based Geolocation abstraction for Mac, Windows AppleWebKit targets.
625 * Scripts/build-webkit:
627 2010-01-22 Adam Barth <abarth@webkit.org>
629 Unreviewed. Arg. Someone renamed limit to output_limit on me.
631 * Scripts/webkitpy/commands/queues.py:
633 2010-01-22 Adam Barth <abarth@webkit.org>
635 Rubber stamped by Eric Seidel.
637 Make __init__.py and buildbot.py pass pep8 style checker.
639 * Scripts/webkitpy/__init__.py:
640 * Scripts/webkitpy/buildbot.py:
642 2010-01-21 Joe Mason <jmason@rim.com>
644 Reviewed by Adam Barth.
646 webkit-patch should retry on invalid password
647 https://bugs.webkit.org/show_bug.cgi?id=33955
649 Ask for bugs.webkit.org authentication in a loop.
651 * Scripts/webkitpy/bugzilla.py:
653 2010-01-22 Adam Barth <abarth@webkit.org>
655 Unreviewed. Don't call seek on a NoneType.
657 * Scripts/webkitpy/statusserver.py:
659 2010-01-22 Petri Latvala <petri.latvala@nomovok.com>
661 Reviewed by David Levin.
663 check-webkit-style breaks on files with unknown types
664 https://bugs.webkit.org/show_bug.cgi?id=34001
666 For files with type FileType.NONE, dispatch_processor returns None.
668 * Scripts/webkitpy/style/checker.py: Don't call process_file with a processor of value None.
670 2010-01-22 Adam Barth <abarth@webkit.org>
672 Reviewed by Eric Seidel.
674 Make bugzilla.py and webkitport.py conform to pep8
675 https://bugs.webkit.org/show_bug.cgi?id=34015
677 This patch makes webkitport.py and bugzilla.py mostly conform to PEP8
678 style as enforced by pep8.py. I wasn't able to get rid of all the
679 errors because I'm not sure how to wrap some lines properly. Also,
680 there are a few deprication errors that I couldn't resolve easily.
681 However, this is a massive improvement in compliance.
683 * Scripts/webkitpy/bugzilla.py:
684 * Scripts/webkitpy/webkitport.py:
686 2010-01-22 Adam Barth <abarth@webkit.org>
688 Reviewed by Darin Adler.
690 Limit length of EWS results to 5MB
691 https://bugs.webkit.org/show_bug.cgi?id=34016
693 Hopefully this will fix the bug where the results link doesn't appear.
694 Our current theory is that the results blob is too big and the server
695 is rejecting the request with a 500 error. That causes us to re-try
696 the post, but when we re-try the StringIO buffer has its seek pointer
699 * Scripts/webkitpy/commands/queues.py:
700 * Scripts/webkitpy/statusserver.py:
702 2010-01-22 Chris Jerdonek <cjerdonek@webkit.org>
704 Reviewed by Adam Barth.
706 Made check-webkit-style able to check patches when script not
707 run from source root. Also consolidated external references
710 https://bugs.webkit.org/show_bug.cgi?id=33791
712 * Scripts/check-webkit-style:
713 - Changed to import style_references.py.
715 * Scripts/webkitpy/style/__init__.py:
716 - Removed __path__ hack that allowed searching Scripts/ directory.
718 * Scripts/webkitpy/style/checker.py:
719 - Changed to import style_references.py.
721 * Scripts/webkitpy/style_references.py: Added.
723 2010-01-22 Dmitry Titov <dimich@chromium.org>
725 Reviewed by Maciej Stachowiak.
727 Fix the leak of ThreadIdentifiers in threadMap across threads.
728 https://bugs.webkit.org/show_bug.cgi?id=32689
730 Add a new test to verify the ThreadIdentifiers are not reused across threads.
731 The test runs in the beginning of DumpRenderTree and spawns 2 non-WTF treads sequentially,
732 waiting for the previous thread to terminate before starting the next.
733 The treads use WTF::currentThread() in their thread function. Without a fix, this
734 causes both threads to have the same ThreadIdentifier which triggers ASSERT in thread function.
735 It also starts another thread using WTF. Without the fix, this finds pthread handle from previous
736 threads in the WTF threadMap and asserts in WTF::establishIdentifierForPthreadHandle().
737 The test practically does not affect the DRT run time because the threads end immediately.
739 * DumpRenderTree/mac/DumpRenderTree.mm:
740 (runThread): Test thread function.
741 (testThreadIdentifierMap):
744 2010-01-22 Kent Tamura <tkent@chromium.org>
746 Reviewed by Maciej Stachowiak.
748 Fix a bug that mouseDown:withModifiers: is never called.
749 https://bugs.webkit.org/show_bug.cgi?id=33989
751 * DumpRenderTree/mac/EventSendingController.mm:
752 (+[EventSendingController isSelectorExcludedFromWebScript:]):
753 (+[EventSendingController webScriptNameForSelector:]):
755 2010-01-22 Kenneth Rohde Christiansen <kenneth@webkit.org>
757 Rubberstamped by Antti Koivisto.
759 [Qt] Separate out the WebPage class into it's own
760 cpp/header files. Also, removed the assumption that
761 the view is a QWebView, in preparation of a merger
762 of the two Qt WebKit launchers.
764 * QtLauncher/QtLauncher.pro:
765 * QtLauncher/main.cpp:
766 (WebView::mousePressEvent):
767 * QtLauncher/webpage.cpp: Added.
768 (WebPage::supportsExtension):
769 (WebPage::extension):
770 (WebPage::acceptNavigationRequest):
771 (WebPage::openUrlInDefaultBrowser):
772 * QtLauncher/webpage.h: Added.
775 2010-01-21 Chris Jerdonek <cjerdonek@webkit.org>
777 Reviewed by Shinichiro Hamaji.
779 Refactored to move file name and file-reading related code
780 from cpp_style.py and text_style.py to checker.py.
782 https://bugs.webkit.org/show_bug.cgi?id=33775
784 * Scripts/check-webkit-style:
785 - Updates caused by changes to checker.py.
787 * Scripts/webkitpy/style/checker.py:
788 - Added SKIPPED_FILES_WITH_WARNING list.
789 - Added SKIPPED_FILES_WITHOUT_WARNING list.
790 - Added FileType class.
791 - Added ProcessorDispatcher class.
792 - In StyleChecker class:
793 - Renamed process_patch() to check_patch().
794 - Renamed process_file() to check_file().
795 - Added _process_file().
796 - Related refactoring.
797 - Addressed check_patch() FIXME to share code with process_file().
799 * Scripts/webkitpy/style/checker_unittest.py:
800 - Added ProcessorDispatcherSkipTest class.
801 - Added ProcessorDispatcherDispatchTest class.
802 - Added StyleCheckerCheckFileTest class.
804 * Scripts/webkitpy/style/cpp_style.py:
805 - Renamed process_file_data() to _process_lines.
806 - Removed process_file() (moved logic to checker.py).
807 - Removed can_handle() (moved logic to checker.py).
808 - Added CppProcessor class.
809 - Removed is_exempt() (moved logic to checker.py).
810 - Added process_file_data() back as a wrapper function.
812 * Scripts/webkitpy/style/cpp_style_unittest.py:
813 - Removed test_can_handle().
814 - Removed test_is_exempt().
815 - Added CppProcessorTest class.
817 * Scripts/webkitpy/style/text_style.py:
818 - Added TextProcessor class.
819 - Removed process_file().
820 - Removed can_handle().
822 * Scripts/webkitpy/style/text_style_unittest.py:
823 - Removed test_can_handle().
824 - Added TextProcessorTest class.
826 2010-01-21 Chris Jerdonek <cjerdonek@webkit.org>
828 Reviewed by David Kilzer.
830 Create a unit-tested subroutine to parse patch files created
833 https://bugs.webkit.org/show_bug.cgi?id=33475
835 * Scripts/VCSUtils.pm:
837 - Added parsePatch().
839 * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: Added.
840 - Added unit tests for parseDiff().
842 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
843 - Total number of tests now computed dynamically.
845 * Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl: Added.
846 - Added unit tests for parsePatch().
848 2010-01-21 Kevin Ollivier <kevino@theolliviers.com>
850 [wx] Build fix, add new directory to dir list.
852 * wx/build/settings.py:
854 2010-01-21 Adam Barth <abarth@webkit.org>
856 Reviewed by Eric Seidel.
858 Make the EWS transactional
859 https://bugs.webkit.org/show_bug.cgi?id=33978
861 Now if the EWS gets interrupted in the middle of processing a patch,
862 the bots will re-process the patch.
864 * Scripts/test-webkitpy:
865 * Scripts/webkitpy/commands/queues.py:
866 * Scripts/webkitpy/commands/queues_unittest.py:
867 * Scripts/webkitpy/patchcollection.py:
868 * Scripts/webkitpy/patchcollection_unittest.py: Added.
870 2010-01-21 Adam Barth <abarth@webkit.org>
872 Unreviewed. Add missing "ago" for style in the status bubble.
874 * QueueStatusServer/templates/statusbubble.html:
876 2010-01-21 Adam Barth <abarth@webkit.org>
878 Reviewed by David Levin.
880 [style-queue] should not complain about identifier names with underscores under WebKit/gtk/webkit/
881 https://bugs.webkit.org/show_bug.cgi?id=33356
883 White list unix_hacker_style names in WebKit/gtk/webkit because these
884 are used in the GTK+ API.
886 * Scripts/webkitpy/style/cpp_style.py:
887 * Scripts/webkitpy/style/cpp_style_unittest.py:
889 2010-01-21 Diego Gonzalez <diego.gonzalez@openbossa.org>
891 Reviewed by Kenneth Rohde Christiansen.
893 [Qt] add setDomainRelaxationForbiddenForURLScheme in Qt DRT
894 https://bugs.webkit.org/show_bug.cgi?id=33945
896 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
897 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
898 * DumpRenderTree/qt/LayoutTestControllerQt.h:
900 2010-01-21 Simon Hausmann <simon.hausmann@nokia.com>
902 No review, rolling out 53615 as it causes two
905 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
906 (WebCore::DumpRenderTree::DumpRenderTree):
907 (WebCore::DumpRenderTree::createWindow):
908 * DumpRenderTree/qt/DumpRenderTreeQt.h:
909 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
910 (LayoutTestController::maybeDump):
912 2010-01-21 Robert Hogan <robert@roberthogan.net>
914 Reviewed by Simon Hausmann.
916 Qt DRT: respect window.close() and window.closed()
918 Qt DRT needs to maintain a correct count of open windows
919 for windowCount(). It also needs to delete windows that
920 have been closed by window.close().
922 This fixes the following tests:
924 plugins/destroy-during-npp-new.html
925 fast/dom/Document/early-document-access.html
926 fast/dom/Window/window-early-properties.html
927 fast/events/open-window-from-another-frame.html
928 fast/events/popup-blocking-click-in-iframe.html
930 https://bugs.webkit.org/show_bug.cgi?id=32953
932 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
933 (WebCore::DumpRenderTree::DumpRenderTree):
934 (WebCore::DumpRenderTree::createWindow):
935 (WebCore::DumpRenderTree::windowCloseRequested):
936 * DumpRenderTree/qt/DumpRenderTreeQt.h:
937 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
938 (LayoutTestController::maybeDump):
940 2010-01-20 Eric Seidel <eric@webkit.org>
942 No review, rolling out r53593.
943 http://trac.webkit.org/changeset/53593
944 https://bugs.webkit.org/show_bug.cgi?id=33496
946 Re-rollout this patch, the commit-queue should not have landed
947 it again, but it did due to land-diff and rollout both not
950 * Scripts/webkitpy/commands/early_warning_system.py:
951 * Scripts/webkitpy/commands/queues.py:
952 * Scripts/webkitpy/queueengine.py:
953 * Scripts/webkitpy/scm.py:
954 * Scripts/webkitpy/scm_unittest.py:
956 2010-01-20 Eric Seidel <eric@webkit.org>
958 Reviewed by Adam Barth.
960 webkit-commit-queue status page is confusing
961 https://bugs.webkit.org/show_bug.cgi?id=33496
963 This should improve the status page by removing more Fail messages.
964 To do this, I re-factored the CommitQueue and the AbstractReviewQueues
965 to behave more like one another. This meant moving where the failure reporting was done.
966 Previously the AbstractReviewQueue always used the parent process to report the error,
967 while CommitQueue used the subprocess when possible, and the parent only reported errors
968 that we didn't know how to handle (bugs in the commit-queue itself).
969 Now the AbstractReviewQueue follow's the commit-queue's model. This got rid of a try-block
970 in both implementations and required teaching handle_script_error in each to post Fail messages
971 to the status server instead of calling exit(1).
973 This will also make the style-queue share more bug posting logic with other queues:
974 https://bugs.webkit.org/show_bug.cgi?id=33871
976 * Scripts/webkitpy/commands/early_warning_system.py:
977 - Don't exit(1) as that will cause the calling queue to also report Fail to the status server.
978 Implementors of handle_script_error are expected to update the status server if needed, but only exit if the error could not be handled.
979 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.
980 _update_status_for_script_error knows how to post the Fail message to the status server.
981 - Teach _update_status_for_script_error how to post Fail messages to the status server.
982 * Scripts/webkitpy/commands/queues.py:
983 - Remove the try block from process_work_item since the caller already has one.
984 - Only CC watchers on failure to cut down on commit-queue generated mail.
985 - handle_unexpected_error needs to mark _did_fail now that the try block is gone from process_work_item.
986 - Abstract _format_script_error_output_for_bug to share code between all queues.
987 - 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.
988 - Rename _can_build_and_test to _current_checkout_builds_and_passes_tests to better explain what revision it's testing.
989 - Move logging out of _can_build_and_test and make the logs explain what revision we're testing.
990 - handle_script_error now posts Fail instead of the try block in process_work_item handling it.
991 * Scripts/webkitpy/queueengine.py:
992 - QueueEngine is no longer used just by the commit-queue, update the logging to say "processing" instead of landing.
993 * Scripts/webkitpy/scm.py:
994 - Add new checkout_revision function.
995 * Scripts/webkitpy/scm_unittest.py:
996 - Test our new checkout_revision function.
998 2010-01-20 Fumitoshi Ukai <ukai@chromium.org>
1000 Reviewed by Alexey Proskuryakov.
1002 WebSocket: Missing Request-URI, when no tralling slash in host
1003 https://bugs.webkit.org/show_bug.cgi?id=33689
1005 Update pywebsocket to 0.4.7.1, which supports alias for resource
1006 name, so that we could test for ws://127.0.0.1:8880
1008 * Scripts/run-webkit-tests:
1009 * Scripts/run-webkit-websocketserver:
1010 * pywebsocket/mod_pywebsocket/dispatch.py:
1011 * pywebsocket/mod_pywebsocket/handshake.py:
1012 * pywebsocket/mod_pywebsocket/standalone.py:
1013 * pywebsocket/setup.py:
1014 * pywebsocket/test/test_dispatch.py:
1015 * pywebsocket/test/test_handshake.py:
1017 2010-01-20 Eric Seidel <eric@webkit.org>
1019 No review, rolling out r53537.
1020 http://trac.webkit.org/changeset/53537
1021 https://bugs.webkit.org/show_bug.cgi?id=33496
1023 Added a failure condition to the commit-queue and looks to
1024 have broken the EWS bots
1026 * Scripts/webkitpy/commands/early_warning_system.py:
1027 * Scripts/webkitpy/commands/queues.py:
1028 * Scripts/webkitpy/queueengine.py:
1029 * Scripts/webkitpy/scm.py:
1030 * Scripts/webkitpy/scm_unittest.py:
1032 2010-01-20 Jon Honeycutt <jhoneycutt@apple.com>
1034 MSAA: accSelect() is not implemented
1036 https://bugs.webkit.org/show_bug.cgi?id=33918
1037 <rdar://problem/7436861>
1039 Reviewed by Darin Adler.
1041 * DumpRenderTree/AccessibilityUIElement.cpp:
1042 (takeFocusCallback):
1043 Call the object's takeFocus() function.
1044 (takeSelectionCallback):
1045 Call its takeSelection() function.
1046 (addSelectionCallback):
1047 Call its addSelection() function.
1048 (removeSelectionCallback):
1049 Call its removeSelection() function.
1050 (AccessibilityUIElement::getJSClass):
1051 Add new functions to the JS class definition.
1053 * DumpRenderTree/AccessibilityUIElement.h:
1054 Declare new functions.
1056 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1057 (AccessibilityUIElement::takeFocus):
1059 (AccessibilityUIElement::takeSelection):
1061 (AccessibilityUIElement::addSelection):
1063 (AccessibilityUIElement::removeSelection):
1066 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1067 (AccessibilityUIElement::takeFocus):
1069 (AccessibilityUIElement::takeSelection):
1071 (AccessibilityUIElement::addSelection):
1073 (AccessibilityUIElement::removeSelection):
1076 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1077 (AccessibilityUIElement::takeFocus):
1078 Call the object's accSelect() function, passing the appropriate flag.
1079 (AccessibilityUIElement::takeSelection):
1081 (AccessibilityUIElement::addSelection):
1083 (AccessibilityUIElement::removeSelection):
1086 2010-01-20 Andras Becsi <abecsi@inf.u-szeged.hu>
1088 Reviewed by Alexey Proskuryakov.
1090 Extract Apache handling to httpd.pm module and use the provided functionality
1091 in scripts where Apache is needed.
1092 The module httpd.pm stores the PID of Apache in a variable and cleans up
1093 the PID directory after Apache properly shut down. Catching INT and TERM
1094 signals allows the scripts to close Apache and clean up its PID directory
1095 even if the testing was interrupted.
1097 https://bugs.webkit.org/show_bug.cgi?id=33153
1099 * Scripts/webkitperl/httpd.pm: Added.
1100 * Scripts/run-iexploder-tests:
1101 * Scripts/run-webkit-httpd:
1102 * Scripts/run-webkit-tests:
1104 2010-01-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1106 Reviewed by Simon Hausmann.
1108 [Qt] Make DumpRenderTree build on Windows
1110 * DumpRenderTree/qt/DumpRenderTree.pro:
1111 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1112 * DumpRenderTree/qt/DumpRenderTreeQt.h:
1113 * DumpRenderTree/qt/main.cpp:
1115 2010-01-20 Steve Block <steveblock@google.com>
1117 Reviewed by Eric Seidel.
1119 Fix commit bot to land patches in order of the bug last modification date.
1120 https://bugs.webkit.org/show_bug.cgi?id=33395
1122 * Scripts/webkitpy/bugzilla.py: Modified. Added 'order=Last+Changed' to bugzilla commit queue URL.
1124 2010-01-20 Adam Barth <abarth@webkit.org>
1126 Reviewed by Eric Seidel.
1128 Teach check-webkit-style about WebKit/gtk/tests
1129 https://bugs.webkit.org/show_bug.cgi?id=33892
1131 Removes false positives found in
1132 https://bugs.webkit.org/show_bug.cgi?id=30883
1134 * Scripts/webkitpy/style/cpp_style.py:
1135 * Scripts/webkitpy/style/cpp_style_unittest.py:
1137 2010-01-20 Adam Barth <abarth@webkit.org>
1139 Reviewed by Eric Seidel.
1141 Teach check-webkit-style about QGVLauncher
1142 https://bugs.webkit.org/show_bug.cgi?id=33890
1144 Remove false positives found in
1145 https://bugs.webkit.org/show_bug.cgi?id=33708
1147 * Scripts/webkitpy/style/cpp_style.py:
1148 * Scripts/webkitpy/style/cpp_style_unittest.py:
1150 2010-01-20 Eric Seidel <eric@webkit.org>
1152 Reviewed by Adam Barth.
1154 webkit-commit-queue status page is confusing
1155 https://bugs.webkit.org/show_bug.cgi?id=33496
1157 This should improve the status page by removing more Fail messages.
1158 To do this, I re-factored the CommitQueue and the AbstractReviewQueues
1159 to behave more like one another. This meant moving where the failure reporting was done.
1160 Previously the AbstractReviewQueue always used the parent process to report the error,
1161 while CommitQueue used the subprocess when possible, and the parent only reported errors
1162 that we didn't know how to handle (bugs in the commit-queue itself).
1163 Now the AbstractReviewQueue follow's the commit-queue's model. This got rid of a try-block
1164 in both implementations and required teaching handle_script_error in each to post Fail messages
1165 to the status server instead of calling exit(1).
1167 This will also make the style-queue share more bug posting logic with other queues:
1168 https://bugs.webkit.org/show_bug.cgi?id=33871
1170 * Scripts/webkitpy/commands/early_warning_system.py:
1171 - Don't exit(1) as that will cause the calling queue to also report Fail to the status server.
1172 Implementors of handle_script_error are expected to update the status server if needed, but only exit if the error could not be handled.
1173 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.
1174 _update_status_for_script_error knows how to post the Fail message to the status server.
1175 - Teach _update_status_for_script_error how to post Fail messages to the status server.
1176 * Scripts/webkitpy/commands/queues.py:
1177 - Remove the try block from process_work_item since the caller already has one.
1178 - Only CC watchers on failure to cut down on commit-queue generated mail.
1179 - handle_unexpected_error needs to mark _did_fail now that the try block is gone from process_work_item.
1180 - Abstract _format_script_error_output_for_bug to share code between all queues.
1181 - 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.
1182 - Rename _can_build_and_test to _current_checkout_builds_and_passes_tests to better explain what revision it's testing.
1183 - Move logging out of _can_build_and_test and make the logs explain what revision we're testing.
1184 - handle_script_error now posts Fail instead of the try block in process_work_item handling it.
1185 * Scripts/webkitpy/queueengine.py:
1186 - QueueEngine is no longer used just by the commit-queue, update the logging to say "processing" instead of landing.
1187 * Scripts/webkitpy/scm.py:
1188 - Add new checkout_revision function.
1189 * Scripts/webkitpy/scm_unittest.py:
1190 - Test our new checkout_revision function.
1192 2010-01-20 Adam Barth <abarth@webkit.org>
1194 Reviewed by Darin Adler.
1196 Exempt JavaScriptCore/qt/api from style checks
1197 https://bugs.webkit.org/show_bug.cgi?id=33879
1199 Apparently there is a JavaScriptCore API for Qt as well as a WebKit
1202 * Scripts/webkitpy/style/cpp_style.py:
1203 * Scripts/webkitpy/style/cpp_style_unittest.py:
1205 2010-01-19 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1207 Reviewed by Simon Hausmann.
1209 [Qt] Don't use QSocketNotifier in the DRT for reading stdin
1211 QSocketNotifier is not available on Windows. Instead we read
1212 stdin synchronously after each test using signals and slots.
1214 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1215 * DumpRenderTree/qt/DumpRenderTreeQt.h:
1216 * DumpRenderTree/qt/main.cpp:
1218 2010-01-19 Adam Barth <abarth@webkit.org>
1220 Rubber stamped by Eric Seidel.
1222 Move chromium-ews back to building release only to make the EWS faster.
1224 * Scripts/webkitpy/commands/early_warning_system.py:
1226 2010-01-17 Jon Honeycutt <jhoneycutt@apple.com>
1228 MSAA: The child <option> elements of a non-multiple <select> are not
1231 https://bugs.webkit.org/show_bug.cgi?id=33773
1232 <rdar://problem/7550556>
1234 Reviewed by Alice Liu.
1236 * DumpRenderTree/AccessibilityUIElement.cpp:
1237 (getIsVisibleCallback):
1238 Call the object's isVisible() function.
1239 (getIsOffScreenCallback):
1240 Ditto, for isOffScreen().
1241 (getIsCollapsedCallback):
1242 Ditto, for isCollapsed().
1243 (getHasPopupCallback):
1244 Ditto, for hasPopup().
1245 (AccessibilityUIElement::getJSClass):
1246 Add isVisible and isOffScreen attributes.
1248 * DumpRenderTree/AccessibilityUIElement.h:
1249 Declare new functions.
1251 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1252 (AccessibilityUIElement::isVisible):
1254 (AccessibilityUIElement::isOffScreen):
1256 (AccessibilityUIElement::isCollapsed):
1258 (AccessibilityUIElement::hasPopup):
1261 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1262 (AccessibilityUIElement::isVisible):
1264 (AccessibilityUIElement::isOffScreen):
1266 (AccessibilityUIElement::isCollapsed):
1268 (AccessibilityUIElement::hasPopup):
1271 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1272 (AccessibilityUIElement::showMenu):
1273 Call the object's accDoDefaultAction() to show its popup menu.
1274 (AccessibilityUIElement::isEnabled):
1275 Check that the object does not have the "unavailable" state.
1276 (AccessibilityUIElement::isVisible):
1277 Check that the object does not have the "invisible" state.
1278 (AccessibilityUIElement::isOffScreen):
1279 Check whether the object has the "offscreen" state.
1280 (AccessibilityUIElement::isCollapsed):
1281 Check whether the object has the "collapsed" state.
1282 (AccessibilityUIElement::hasPopup):
1283 Check whether the object has the "has popup" state.
1285 2010-01-19 Victor Wang <victorw@chromium.org>
1287 Reviewed by Eric Seidel.
1289 Correct committer name.
1290 https://bugs.webkit.org/show_bug.cgi?id=33868
1292 * Scripts/webkitpy/committers.py:
1294 2010-01-19 Kent Tamura <tkent@chromium.org>
1296 Reviewed by Darin Adler.
1298 [DRT][Mac] Add modifiers parameter to eventSender.mouseDown() and eventSender.mouseUp()
1299 https://bugs.webkit.org/show_bug.cgi?id=33783
1301 Some listbox tests check selection behavior by click events with
1302 "meta" or "shift" keys. Behaviors for such modifier keys are
1303 platform-dependent. The new parameter of mouseDown() and mouseUp()
1304 allows to specify not only concrete modifier keys such as
1305 "shiftKey" "metaKey", but also functional names like
1306 "addSelectionKey" "rangeSelectionKey".
1308 * DumpRenderTree/mac/EventSendingController.mm:
1309 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1310 (+[EventSendingController webScriptNameForSelector:]):
1311 (buildModifierFlags):
1312 (-[EventSendingController mouseDown:withModifiers:]):
1313 (-[EventSendingController mouseDown:]):
1314 (-[EventSendingController mouseUp:withModifiers:]):
1315 (-[EventSendingController mouseUp:]):
1316 (-[EventSendingController keyDown:withModifiers:withLocation:]):
1318 2010-01-19 Adam Barth <abarth@webkit.org>
1320 Reviewed by Eric Seidel.
1322 Unbreak --request-commit
1323 https://bugs.webkit.org/show_bug.cgi?id=33832
1325 * Scripts/webkitpy/bugzilla.py:
1327 2010-01-19 Eric Seidel <eric@webkit.org>
1329 Reviewed by Adam Barth.
1331 validate-committer-lists throws exception and committers.py needs a refresh
1332 https://bugs.webkit.org/show_bug.cgi?id=33831
1334 * Scripts/validate-committer-lists: use webkit_logging
1335 * Scripts/webkitpy/committers.py: Add recently minted committers. Fix Simon Hausmanns email address list to include his webkit-committers@lists address.
1337 2010-01-18 Adam Roben <aroben@apple.com>
1339 Add LayoutTestController support for calling new WebKit SPI to
1340 disallow setting document.domain
1342 DRT part of fixing <http://webkit.org/b/33806>
1343 <rdar://problem/7552837> Would like API to disallow setting of
1344 document.domain for pages with certain URL schemes
1346 Reviewed by Sam Weinig.
1348 * DumpRenderTree/LayoutTestController.cpp:
1349 (setDomainRelaxationForbiddenForURLSchemeCallback): Added. Calls
1350 through to LayoutTestController.
1351 (LayoutTestController::staticFunctions): Added
1352 setDomainRelaxationForbiddenForURLScheme.
1354 * DumpRenderTree/LayoutTestController.h: Added
1355 setDomainRelaxationForbiddenForURLScheme.
1357 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1358 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
1359 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1360 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
1361 Added. Calls through to WebKit.
1363 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1364 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
1365 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
1366 (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
1369 2010-01-18 Adam Barth <abarth@webkit.org>
1371 Reviewed by Adam Roben.
1373 Rename patches-to-commit to patches-in-commit-queue
1374 https://bugs.webkit.org/show_bug.cgi?id=33789
1376 The command really lists the patches in the commit-queue not all the
1377 patches that are pending-commit (as the FIXME commands).
1379 * Scripts/webkitpy/commands/queries.py:
1380 * Scripts/webkitpy/commands/queries_unittest.py:
1382 2010-01-18 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1384 Reviewed by Simon Hausmann.
1386 [Qt] Force qmake to generate a single makefile for DerivedSources.pro
1388 * Scripts/webkitdirs.pm:
1390 2010-01-18 Adam Roben <aroben@apple.com>
1392 Clean up use of /useenv when invoking Visual C++
1394 This change reverts things to their pre-r49485 state. That revision
1395 (and, subsequently, r49664 and r51788) started passing /useenv to
1396 Visual C++, even in cases where we don't want to do so (such as when
1397 invoking Visual C++ Express), in the name of making the Chromium build
1398 work. Now that Chromium isn't using buildVisualStudioProject or
1399 pdevenv, we can put things back they way they were.
1401 Fixes <http://webkit.org/b/33797> build-webkit fails with VC++ Express
1402 (due to /useenv flag)
1404 Reviewed by Sam Weinig.
1406 * Scripts/pdevenv: Always pass /useenv. Chromium doesn't use this
1408 * Scripts/webkitdirs.pm:
1409 (buildVisualStudioProject): Never pass /useenv anymore. pdevenv takes
1410 care of this itself, and we don't want to pass /useenv when not using
1411 pdevenv (e.g., when using VC++ Express, because that will cause it to
1412 ignore the Platform SDK).
1414 2010-01-18 Adam Barth <abarth@webkit.org>
1416 Reviewed by Eric Seidel.
1418 webkit-patch land-safely should obsolete old patches
1419 https://bugs.webkit.org/show_bug.cgi?id=33788
1421 When posting a commit-queue+ patch with land-safely, we should
1422 obsolete the old patches on the bug. They're really confusing
1423 because the main use case is to address reviewer feedback on a
1426 * Scripts/webkitpy/commands/upload.py:
1427 * Scripts/webkitpy/commands/upload_unittest.py:
1429 2010-01-18 Adam Barth <abarth@webkit.org>
1431 Reviewed by David Levin.
1433 webkit-patch should authenticate more often
1434 https://bugs.webkit.org/show_bug.cgi?id=33701
1436 This makes it easier to work with security patches.
1438 * Scripts/webkitpy/bugzilla.py:
1440 2010-01-18 Adam Barth <abarth@webkit.org>
1442 Reviewed by Darin Adler.
1444 style checker needs to know about GObject-specific requirements
1445 inside WebCore/bindings/gobject/
1446 https://bugs.webkit.org/show_bug.cgi?id=33606
1448 Add an exception to the underscore rule for certain
1449 GObject-specific names.
1451 * Scripts/webkitpy/style/cpp_style.py:
1452 * Scripts/webkitpy/style/cpp_style_unittest.py:
1454 2010-01-18 Adam Barth <abarth@webkit.org>
1456 Reviewed by Shinichiro Hamaji.
1458 [check-webkit-style] does understand ResourceHandleWin.h
1459 https://bugs.webkit.org/show_bug.cgi?id=32975
1461 I'm not 100% convinced this fix is correct, but without more examples,
1462 it's hard to generalize. We can always generalize the fix in the
1465 * Scripts/webkitpy/style/cpp_style.py:
1466 * Scripts/webkitpy/style/cpp_style_unittest.py:
1468 2010-01-18 Adam Barth <abarth@webkit.org>
1470 Unreviewed "build" fix.
1472 * Scripts/webkitpy/bugzilla.py:
1474 2010-01-18 Adam Barth <abarth@webkit.org>
1476 Unreviewed. Actually make land-safely mark commit-queue+ as
1477 discussed with Eric.
1479 * Scripts/webkitpy/bugzilla.py:
1480 * Scripts/webkitpy/steps/postdiffforcommit.py:
1482 2010-01-17 Adam Barth <abarth@webkit.org>
1484 Reviewed by Darin Adler.
1486 style-queue complains about one-line macros that include multiple statements
1487 https://bugs.webkit.org/show_bug.cgi?id=33173
1489 Add an exception for multiple statements on a line that starts a macro.
1491 * Scripts/webkitpy/style/cpp_style.py:
1492 * Scripts/webkitpy/style/cpp_style_unittest.py:
1494 2010-01-17 Adam Barth <abarth@webkit.org>
1496 Reviewed by Darin Adler.
1498 [check-webkit-style] qt unit testing false positives
1499 https://bugs.webkit.org/show_bug.cgi?id=32833
1501 Exempt the Qt API and unit tests from the style checker.
1503 * Scripts/webkitpy/style/cpp_style.py:
1504 * Scripts/webkitpy/style/cpp_style_unittest.py:
1506 2010-01-17 Adam Barth <abarth@webkit.org>
1508 Reviewed by Darin Adler.
1510 style-check script reports loads of errors on gtk2drawing.c
1511 https://bugs.webkit.org/show_bug.cgi?id=33771
1513 Exempt WebCore/platform/gtk/gtk2drawing.c and
1514 WebCore/platform/gtk/gtk2drawing.h from style checks.
1516 * Scripts/webkitpy/style/cpp_style.py:
1517 * Scripts/webkitpy/style/cpp_style_unittest.py:
1519 2010-01-17 Chris Jerdonek <cjerdonek@webkit.org>
1521 Reviewed by Shinichiro Hamaji.
1523 Finished eliminating _cpp_style_state global state variable from
1524 check-webkit-style code and eliminating _CppStyleState class.
1526 https://bugs.webkit.org/show_bug.cgi?id=33764
1528 * Scripts/webkitpy/style/checker.py:
1529 - Minor updates caused by changes to cpp_style.py.
1531 * Scripts/webkitpy/style/cpp_style.py:
1532 - Removed _CppStyleState class.
1533 - Removed verbose_level functions.
1534 - Added verbosity as a parameter to _FunctionState constructor.
1535 - Added verbosity as a parameter to process_file().
1536 - Added verbosity as a parameter to process_file_data().
1538 * Scripts/webkitpy/style/cpp_style_unittest.py:
1539 - Added helper functions to set verbosity while running tests.
1541 2010-01-17 Adam Barth <abarth@webkit.org>
1543 Reviewed by Shinichiro Hamaji.
1545 check-webkit-style underscore check should be disabled for Qt methods starting with qt_
1546 https://bugs.webkit.org/show_bug.cgi?id=33663
1548 * Scripts/webkitpy/style/cpp_style.py:
1549 * Scripts/webkitpy/style/cpp_style_unittest.py:
1551 2010-01-17 Adam Barth <abarth@webkit.org>
1553 Reviewed by Eric Seidel.
1555 style-queue complains about missing #include of config.h for non-WebCore projects
1556 https://bugs.webkit.org/show_bug.cgi?id=33170
1558 WebKitAPITests are consumers of the WebKit API and therefore do not
1559 need to follow the same include discipline as the rest of WebKit. This
1560 patch exempts them from the include checks.
1562 * Scripts/webkitpy/style/cpp_style.py:
1563 * Scripts/webkitpy/style/cpp_style_unittest.py:
1565 2010-01-17 Adam Barth <abarth@webkit.org>
1567 Reviewed by Eric Seidel.
1569 EWS (Early Warning Systems) should build both debug and release
1570 https://bugs.webkit.org/show_bug.cgi?id=33681
1572 Build both debug and release for chromium-ews.
1574 * Scripts/webkitpy/commands/early_warning_system.py:
1576 2010-01-17 Adam Barth <abarth@webkit.org>
1578 Reviewed by Darin Adler.
1580 style-queue should include instructions for how to file bugs against check-webkit-style
1581 https://bugs.webkit.org/show_bug.cgi?id=32345
1583 Added some text to the error message asking folks to file bugs against
1586 * Scripts/webkitpy/commands/queues.py:
1588 2010-01-17 Chris Jerdonek <cjerdonek@webkit.org>
1590 Reviewed by Adam Barth.
1592 Eliminated the error_count global variable and related
1593 check-webkit-style refactoring.
1595 https://bugs.webkit.org/show_bug.cgi?id=33678
1597 * Scripts/check-webkit-style:
1598 - Updated to use webkit_argument_defaults().
1599 - Renamed styleChecker to style_checker.
1601 * Scripts/webkitpy/style/checker.py:
1602 - Prefixed the three default arguments with WEBKIT_DEFAULT.
1603 - Added webkit_argument_defaults().
1604 - Added default filter_rules parameter to CategoryFilter constructor.
1605 - Added __ne__() to CategoryFilter class.
1606 - Added __eq__() and __ne__() to ProcessorOptions class.
1607 - Added error_count and _write_error attributes to StyleChecker class.
1608 - Made StyleChecker._handle_error() increment the error count.
1610 * Scripts/webkitpy/style/checker_unittest.py:
1611 - Improved CategoryFilterTest.test_eq().
1612 - Added CategoryFilterTest.test_ne().
1613 - Added test_eq() and test_ne() to ProcessorOptionsTest class.
1614 - Updated unit tests to use webkit_argument_defaults().
1615 - Added StyleCheckerTest class.
1617 * Scripts/webkitpy/style/cpp_style.py:
1618 - Removed references to global error_count.
1620 * Scripts/webkitpy/style/cpp_style_unittest.py:
1621 - Removed CppStyleStateTest class.
1623 2010-01-15 Jon Honeycutt <jhoneycutt@apple.com>
1625 get_accParent should try to retrieve parent AccessibilityObject, before
1628 https://bugs.webkit.org/show_bug.cgi?id=22893
1630 Reviewed by Darin Adler.
1632 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1633 (AccessibilityUIElement::parentElement):
1634 Get the object's parent. Query it for IAccessible, and return it.
1636 2010-01-16 Dan Bernstein <mitz@apple.com>
1638 Reviewed by Mark Rowe.
1640 <rdar://problem/7529519> DumpRenderTree crashes in makeLargeMallocFailSilently()
1642 * DumpRenderTree/mac/CheckedMalloc.cpp:
1643 (makeLargeMallocFailSilently): Temporarily allow writing to the default
1644 malloc zone structure while modifying it.
1646 2010-01-16 David Kilzer <ddkilzer@apple.com>
1648 Added back removed properties to iExploder input files
1650 While the update-iexploder-cssproperties script works great to
1651 add new properties, it has the side-effect of removing old
1652 properties that once were parsed.
1654 * iExploder/htdocs/cssproperties.in: Added back removed
1655 properties into their own section.
1656 * iExploder/htdocs/htmlattrs.in: Ditto.
1658 2010-01-16 Holger Hans Peter Freyther <zecke@selfish.org>
1660 Reviewed by David Kilzer.
1662 Update iExploder/htdocs/*.in by running update-iexploder-cssproperties
1663 https://bugs.webkit.org/show_bug.cgi?id=33756
1665 * iExploder/htdocs/cssproperties.in: New CSS attributes
1666 * iExploder/htdocs/htmlattrs.in: New HTML attributes
1667 * iExploder/htdocs/htmltags.in: New HTML tags
1669 2010-01-15 Chris Jerdonek <chris.jerdonek@gmail.com>
1671 Reviewed by David Kilzer.
1673 Altered parseDiffHeader() to skip unrecognized lines and
1674 other minor clean-ups.
1676 https://bugs.webkit.org/show_bug.cgi?id=33476
1678 * Scripts/VCSUtils.pm:
1679 - Changed parseDiffHeader() as follows:
1680 - Skips over unrecognized lines.
1681 - Addressed FIXME to remove substitution for "diff" line.
1682 - Renamed "version" header hash key to "sourceRevision".
1683 - Eliminated "copiedFromVersion" header hash key.
1684 - Included "sourceRevision" also for copied files.
1685 - Checks that copy revision number matches "sourceRevision".
1686 - No longer returns $foundHeaderEnding.
1687 - Dies if header ending not found.
1688 - Diff header dividing line now always added.
1690 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
1691 - Made necessary changes in parseDiffHeader() unit tests.
1692 - Shortened the file paths in some test cases.
1694 2010-01-14 Yuzo Fujishima <yuzo@google.com>
1696 Reviewed by Alexey Proskuryakov.
1698 Update pywebsocket to 0.4.6
1699 https://bugs.webkit.org/show_bug.cgi?id=32299
1700 The newer pywebsocket can handle more simultaneous connections.
1702 * pywebsocket/mod_pywebsocket/handshake.py:
1703 * pywebsocket/mod_pywebsocket/standalone.py:
1704 * pywebsocket/setup.py:
1705 * pywebsocket/test/test_handshake.py:
1707 2010-01-14 Eric Seidel <eric@webkit.org>
1709 Reviewed by Adam Barth.
1711 REGRESSION(53133): commit-queue no longer rejects patches with invalid committers, instead it hangs
1712 https://bugs.webkit.org/show_bug.cgi?id=33638
1714 * Scripts/webkitpy/bugzilla.py:
1715 - Add Bug.id() to match Attachment.id()
1716 - Give Bug.reviewed_patches and commit_queued_patches the option to return patches with invalid committers/reviewers.
1717 - Add back a missing variable to _validate_setter_email found by the new unit tests!
1718 * Scripts/webkitpy/commands/queries.py:
1719 - Add FIXMEs about the commands being confusingly named.
1720 * Scripts/webkitpy/commands/queries_unittest.py:
1721 - Update results to reflect the newly restructured mock bug cache.
1722 * Scripts/webkitpy/commands/queues.py:
1723 - Add a new _validate_patches_in_commit_queue method (this is what fixes the regression).
1724 - Add a FIXME about eventually sorting the patches into some order.
1725 * Scripts/webkitpy/commands/queues_unittest.py:
1726 - Update results now that with the newly restructure mock bug cache we're testing cq+'d patches with an invalid committer.
1727 * Scripts/webkitpy/commands/upload_unittest.py:
1728 - Update results to match the newly restructured mock bug cache.
1729 * Scripts/webkitpy/mock_bugzillatool.py:
1730 - 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.
1731 - Add a few more attachments and bug dictionaries for use by the tests.
1733 2010-01-13 Diego Gonzalez <diego.gonzalez@openbossa.org>
1735 Reviewed by Kenneth Christiansen.
1737 [Qt] DRT missing setUserStyleSheetLocation and setUserStyleSheetEnabled in LayoutTestController
1738 https://bugs.webkit.org/show_bug.cgi?id=33617
1740 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1741 (WebCore::WebPage::resetSettings):
1742 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1743 (LayoutTestController::setUserStyleSheetLocation):
1744 (LayoutTestController::setUserStyleSheetEnabled):
1745 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1747 2010-01-14 Adam Roben <aroben@apple.com>
1749 Add LayoutTestController API to force
1750 -webView:resource:willSendRequest:: to return null
1752 Enables tests for <rdar://problem/7533333> <http://webkit.org/b/33533>
1753 window.onload never fires if page contains an <iframe> with a bad
1754 scheme or whose load is cancelled by returning null from resource load
1755 delegate's willSendRequest
1757 Reviewed by Brady Eidson.
1759 * DumpRenderTree/LayoutTestController.cpp:
1760 (LayoutTestController::LayoutTestController): Initialize new member.
1761 (setWillSendRequestReturnsNullCallback): Call through to
1762 LayoutTestController.
1763 (LayoutTestController::staticFunctions): Added new function.
1765 * DumpRenderTree/LayoutTestController.h: Added
1766 m_willSendRequestReturnsNull.
1767 (LayoutTestController::willSendRequestReturnsNull):
1768 (LayoutTestController::setWillSendRequestReturnsNull):
1769 Added standard accessors.
1771 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1772 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1773 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1774 (ResourceLoadDelegate::willSendRequest):
1775 Return null if LayoutTestController says to.
1777 2010-01-14 Kevin Ollivier <kevino@theolliviers.com>
1779 [wx] Build fix after removal of XBM support.
1781 * wx/build/settings.py:
1783 2010-01-14 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1785 Reviewed by Simon Hausmann.
1787 Add support for partial building on Symbian.
1789 The build happens in the source directory as out of source builds are
1790 not supported by qmake for Symbian.
1792 Also the actual build isn't started but it is left to the developer
1793 to choose the architecture/configuration.
1795 * Scripts/webkitdirs.pm:
1797 2010-01-14 Simon Hausmann <simon.hausmann@nokia.com>
1799 Reviewed by Kenneth Rohde Christiansen.
1801 Add support for "detecting" Symbian environments by either
1802 looking for the EPOCROOT environment variable or via --symbian
1803 being passed on the commandline.
1805 * Scripts/webkitdirs.pm:
1807 2010-01-14 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1811 [Qt] Use a different Makefile names for sources generation and compilation.
1812 This prevents Makefile overwriting when running build-webkit twice.
1814 * Scripts/webkitdirs.pm:
1816 2010-01-14 Andreas Kling <andreas.kling@nokia.com>
1818 Reviewed by Kenneth Rohde Christiansen.
1820 [Qt] Add an "alien_QLabel" classId for manual testing of alien widgets.
1822 https://bugs.webkit.org/show_bug.cgi?id=33373
1824 * QtLauncher/main.cpp:
1825 (WebPage::createPlugin):
1827 2010-01-14 Eric Seidel <eric@webkit.org>
1829 No review, rolling out r53249.
1830 http://trac.webkit.org/changeset/53249
1831 https://bugs.webkit.org/show_bug.cgi?id=33617
1833 This caused http/tests/security/local-user-CSS-from-
1834 remote.html to fail on the Qt Release Build Bot.
1836 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1837 (WebCore::WebPage::resetSettings):
1838 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1839 (LayoutTestController::overridePreference):
1840 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1842 2010-01-14 Chris Jerdonek <chris.jerdonek@gmail.com>
1844 Reviewed by Shinichiro Hamaji.
1846 Moved error() from cpp_style.py to checker.py.
1848 https://bugs.webkit.org/show_bug.cgi?id=33620
1850 * Scripts/check-webkit-style:
1851 - Addressed FIXME to not set global state.
1853 * Scripts/webkitpy/style/checker.py:
1854 - Added argument validation to ProcessorOptions constructor.
1855 - Added should_report_error() to ProcessorOptions class.
1856 - Removed set_options().
1857 - Added StyleChecker class.
1859 * Scripts/webkitpy/style/checker_unittest.py:
1860 - Added unit test class for ProcessorOptions class.
1861 - Added unit test to check that parse() strips white space.
1863 * Scripts/webkitpy/style/cpp_style.py:
1864 - Removed "filter" and "output_format" methods.
1865 - Removed should_print_error() and error() functions.
1866 - Removed default parameter value from process_file().
1868 * Scripts/webkitpy/style/cpp_style_unittest.py:
1869 - Removed call to cpp_style._should_print_error().
1870 - Removed test_filter() and test_filter_appending().
1872 * Scripts/webkitpy/style/text_style.py:
1873 - Removed default parameter value from process_file().
1875 2010-01-14 Diego Gonzalez <diego.gonzalez@openbossa.org>
1877 Reviewed by Kenneth Rohde Christiansen.
1879 [Qt] DRT missing setUserStyleSheetLocation and setUserStyleSheetEnabled in LayoutTestController
1880 https://bugs.webkit.org/show_bug.cgi?id=33617
1882 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
1883 (WebCore::WebPage::resetSettings):
1884 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1885 (LayoutTestController::setUserStyleSheetLocation):
1886 (LayoutTestController::setUserStyleSheetEnabled):
1887 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1889 2010-01-13 Adam Barth <abarth@webkit.org>
1891 Reviewed by Eric Seidel.
1893 Fix CloseBugForLandDiff unittest to actually run
1894 https://bugs.webkit.org/show_bug.cgi?id=33640
1896 * Scripts/webkitpy/mock_bugzillatool.py:
1897 * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py:
1899 2010-01-12 Jon Honeycutt <jhoneycutt@apple.com>
1901 MSAA: selected, selectable, extended selectable, and multiple
1902 selectable states are not reported
1904 https://bugs.webkit.org/show_bug.cgi?id=33574
1905 <rdar://problem/7536826>
1907 Reviewed by Darin Adler.
1909 * DumpRenderTree/AccessibilityUIElement.cpp:
1910 (getIsSelectableCallback):
1911 Return the result of calling isSelectable().
1912 (getIsMultiSelectableCallback):
1913 Return the result of calling isMultiSelectable().
1914 (AccessibilityUIElement::getJSClass):
1915 Add isSelected and isMultiSelectable properties to the JSClass
1918 * DumpRenderTree/AccessibilityUIElement.h:
1919 Declare isSelectable() and isMultiSelectable().
1921 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1922 (AccessibilityUIElement::isSelectable):
1924 (AccessibilityUIElement::isMultiSelectable):
1927 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1928 (AccessibilityUIElement::isSelectable):
1930 (AccessibilityUIElement::isMultiSelectable):
1933 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1934 (accessibilityState):
1935 Get the object's state, and return it.
1936 (AccessibilityUIElement::isSelected):
1937 Check the object's selected state.
1938 (AccessibilityUIElement::isSelectable):
1939 Check the object's selectable state.
1940 (AccessibilityUIElement::isMultiSelectable):
1941 Check the object's extended/multiple selectable state.
1943 2010-01-13 Adam Barth <abarth@webkit.org>
1945 Unreviewed. Repeat the below for CloseBugForLandDiff.
1947 * Scripts/test-webkitpy:
1948 * Scripts/webkitpy/steps/closebugforlanddiff.py:
1949 * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py: Added.
1951 2010-01-13 Adam Barth <abarth@webkit.org>
1953 Unreviewed. Turn the mac-ews status bubbles back on now that this bot
1956 * QueueStatusServer/templates/statusbubble.html:
1958 2010-01-13 Adam Barth <abarth@webkit.org>
1960 Reviewed by Darin Adler.
1962 REGRESSION(53133): webkit-patch land dies if it can't find a bug id.
1963 https://bugs.webkit.org/show_bug.cgi?id=33634
1965 Deal with the case of no bug patch object in the state.
1967 * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py:
1968 * Scripts/webkitpy/steps/updatechangelogswithreviewer.py:
1970 2010-01-13 Kenneth Russell <kbr@google.com>
1972 Unreviewed; added myself to the committers list.
1974 * Scripts/webkitpy/committers.py:
1976 2010-01-13 Darin Adler <darin@apple.com>
1978 Ignore compiled Python in more of webkitpy.
1980 * Scripts/webkitpy/commands: Added property svn:ignore.
1981 * Scripts/webkitpy/steps: Added property svn:ignore.
1982 * Scripts/webkitpy/style: Added property svn:ignore.
1984 2010-01-13 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1986 Reviewed by Simon Hausmann.
1988 [Qt] Fix build problem related to the pushd command
1990 * Scripts/webkitdirs.pm:
1992 2010-01-13 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1994 Reviewed by Simon Hausmann.
1996 [Qt] Split the build process in two different .pro files.
1997 This allows qmake to be run once all source files are available.
1999 * Scripts/webkitdirs.pm: Add calls to make DerivedSources.pro in JSC and WC.
2001 2010-01-13 Shinichiro Hamaji <hamaji@chromium.org>
2003 Unreviewed tiny typo fix in docstrings.
2005 * Scripts/webkitpy/style/checker_unittest.py:
2007 2010-01-13 Chris Jerdonek <chris.jerdonek@gmail.com>
2009 Reviewed by Shinichiro Hamaji.
2011 Created a CategoryFilter class to encapsulate the logic of
2014 https://bugs.webkit.org/show_bug.cgi?id=33454
2016 * Scripts/webkitpy/style/checker.py:
2017 - Added CategoryFilter class.
2019 * Scripts/webkitpy/style/checker_unittest.py:
2020 - Added CategoryFilter unit tests.
2022 * Scripts/webkitpy/style/cpp_style.py:
2023 - Updated filter methods to use CategoryFilter.
2025 * Scripts/webkitpy/style/cpp_style_unittest.py:
2026 - Updated references to filters.
2028 2010-01-12 Shinichiro Hamaji <hamaji@chromium.org>
2030 Unreviewed. Now I can review :)
2032 * Scripts/webkitpy/committers.py:
2034 2010-01-12 Brent Fulgham <bfulgham@webkit.org>
2036 Reviewed by Darin Adler.
2038 Extend WinLauncher example with better printing features.
2040 * WinLauncher/PrintWebUIDelegate.cpp:
2041 (PrintWebUIDelegate::webViewPrintingMarginRect): Provide slightly
2043 (PrintWebUIDelegate::webViewHeaderHeight): Compute header height based
2045 (PrintWebUIDelegate::webViewFooterHeight): Compute footer height based
2047 (PrintWebUIDelegate::drawHeaderInRect): Write useful header, along
2048 with separating line.
2049 (PrintWebUIDelegate::drawFooterInRect):
2050 * WinLauncher/PrintWebUIDelegate.h: Remove stubs.
2051 * WinLauncher/WinLauncher.cpp:
2052 (PrintView): Correct loop used to print individual pages.
2053 Previously it started at 0, which is a wild-card to print all
2056 2010-01-12 Alexey Proskuryakov <ap@apple.com>
2058 Reviewed by Darin Adler.
2060 https://bugs.webkit.org/show_bug.cgi?id=33540
2061 Make it possible to build in debug mode with assertions disabled
2063 * DumpRenderTree/mac/ObjCController.m: (-[ObjCController accessStoredWebScriptObject]):
2065 2010-01-11 Darin Fisher <darin@chromium.org>
2067 Reviewed by Dimitri Glazkov.
2069 [Chromium] "build-webkit --chromium" should run "make all" on Linux
2070 https://bugs.webkit.org/show_bug.cgi?id=33500
2072 * Scripts/webkitdirs.pm:
2074 2010-01-12 Eric Seidel <eric@webkit.org>
2076 Reviewed by Adam Barth.
2078 AssignToCommitter does not need to fetch bugs twice
2079 https://bugs.webkit.org/show_bug.cgi?id=33530
2081 This is a no-brainer patch now that we've added Bug.reviewed_patches
2083 * Scripts/webkitpy/commands/upload.py:
2085 2010-01-12 Eric Seidel <eric@webkit.org>
2087 Reviewed by Adam Barth.
2089 bugzilla.py should have an Attachment object instead of passing around dictionaries
2090 https://bugs.webkit.org/show_bug.cgi?id=31594
2092 * Scripts/webkitpy/bugzilla.py:
2093 - Add a new Attachment class, with accessor methods for all the necessary properties.
2094 - Update Bug to carry a pointer back to bugzilla (attachments need to access Bugzilla for committer validation and url())
2095 - Move reviewed_patches and commit_queued_patches out of Bugzilla custom methods and onto Bug
2096 - Move committer validation logic into its own class.
2097 - Committer rejection is only used in one place. Make the new Bug reviewed_patches and commit_queued_patches
2098 handle the common case (of returning "reviewer" or "committer" as None), and let CommitterValidation handle
2099 the case where we want to reject patches in bugzilla.
2100 - Simplify fetch_patches_from_commit_queue now that committer validation is simpler.
2101 - Make all self.bugzilla.fetch_bug access go through BugzillaQueries._fetch_bug.
2102 - Mark set_flag_on_attachment as non-private to denote that CommitterValidation depends on it.
2103 - Move fetch_reviewed_patches_from_bug and fetch_commit_queue_patches_from_bug logic onto the Bug class.
2104 * Scripts/webkitpy/bugzilla_unittest.py:
2105 - Move test_flag_permission_rejection_message into a new CommitterValidationTest class.
2106 * Scripts/webkitpy/commands/download.py:
2107 - Store "bug_id" in state instead of making a fake patch object.
2108 - Update to use Attachment and Bug objects.
2109 * Scripts/webkitpy/commands/download_unittest.py:
2110 - Update expected results now that our testing framework covers more code.
2111 * Scripts/webkitpy/commands/early_warning_system.py: Update to use new Attachment class.
2112 * Scripts/webkitpy/commands/queries.py: Remove unused ReviewedPatches class.
2113 * Scripts/webkitpy/commands/queries_unittest.py: ditto.
2114 * Scripts/webkitpy/commands/queues.py: Update to use new Attachment and CommitterValidator classes.
2115 * Scripts/webkitpy/commands/queuestest.py: ditto.
2116 * Scripts/webkitpy/commands/upload.py: ditto.
2117 * Scripts/webkitpy/mock_bugzillatool.py:
2118 - Now that more logic has moved into Attachment and Bug, we have to actually
2119 provide real reviewer emails as well as real reviewer flags.
2120 - Update mock methods to return Attachment objects.
2121 * Scripts/webkitpy/scm.py: Update to use Attachment class.
2122 * Scripts/webkitpy/scm_unittest.py: Update to use Attachment class.
2123 * Scripts/webkitpy/statusserver.py: ditto.
2124 * Scripts/webkitpy/steps/applypatch.py: ditto.
2125 * Scripts/webkitpy/steps/applypatchwithlocalcommit.py: ditto.
2126 * Scripts/webkitpy/steps/closebug.py: ditto.
2127 * Scripts/webkitpy/steps/closebugforlanddiff.py: Handle either state["bug_id"] or state["patch"].bug_id()
2128 * Scripts/webkitpy/steps/closepatch.py: Update to use Attachment class.
2129 * Scripts/webkitpy/steps/obsoletepatches.py: ditto.
2130 * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: ditto.
2132 2010-01-12 Adam Barth <abarth@webkit.org>
2134 Unreviewed typo fix. :(
2136 * Scripts/webkitpy/commands/early_warning_system.py:
2137 * Scripts/webkitpy/commands/queues.py:
2139 2010-01-12 Adam Barth <abarth@webkit.org>
2141 Unreviewed. Add "error" to the right part of the message.
2143 * Scripts/webkitpy/commands/queues.py:
2145 2010-01-12 Adam Barth <abarth@webkit.org>
2147 Reviewed by Eric Seidel.
2149 EWS should show purple when svn-apply fails
2150 https://bugs.webkit.org/show_bug.cgi?id=33527
2152 * Scripts/webkitpy/commands/early_warning_system.py:
2153 * Scripts/webkitpy/commands/queues.py:
2155 2010-01-12 Adam Barth <abarth@webkit.org>
2157 Reviewed by Eric Seidel.
2159 Remove copy/paste code from subclasses of AbstractReviewQueue
2160 https://bugs.webkit.org/show_bug.cgi?id=33525
2162 * Scripts/webkitpy/commands/early_warning_system.py:
2163 * Scripts/webkitpy/commands/queues.py:
2165 2010-01-12 Adam Barth <abarth@webkit.org>
2167 Reviewed by Eric Seidel.
2169 Add Gustavo and Xan as gtk-ews watchers
2170 https://bugs.webkit.org/show_bug.cgi?id=33519
2172 * Scripts/webkitpy/commands/early_warning_system.py:
2174 2010-01-12 Adam Barth <abarth@webkit.org>
2176 Reviewed by Eric Seidel.
2178 webkit-patch shouldn't waste my time for with a component prompt
2179 https://bugs.webkit.org/show_bug.cgi?id=33521
2181 The component field isn't very useful for bugs created with
2182 webkit-patch because they're likely to be resolved quickly. Instead of
2183 always prompting for a component, we should just default to the "New
2184 Bugs" component. If the bug stays around for more than five minutes,
2185 we can assign it a proper component.
2187 * Scripts/webkitpy/bugzilla.py:
2189 2010-01-12 Adam Barth <abarth@webkit.org>
2191 Reviewed by Eric Seidel.
2193 Add experimental "land-safely" command to webkit-patch
2194 https://bugs.webkit.org/show_bug.cgi?id=33518
2196 * Scripts/webkitpy/commands/upload.py:
2197 * Scripts/webkitpy/commands/upload_unittest.py:
2198 * Scripts/webkitpy/steps/__init__.py:
2199 * Scripts/webkitpy/steps/postdiffforcommit.py: Added.
2201 2010-01-11 Kevin Ollivier <kevino@theolliviers.com>
2203 [wx] Build fix after introduction of JS_NO_EXPORT
2205 * wx/build/settings.py:
2207 2010-01-11 Eric Seidel <eric@webkit.org>
2209 No review, rolling out r53079.
2210 http://trac.webkit.org/changeset/53079
2211 https://bugs.webkit.org/show_bug.cgi?id=33197
2213 Adam doens't think this actually works, and believe it caused
2214 a regression https://bugs.webkit.org/show_bug.cgi?id=33488 so
2217 * Scripts/test-webkitpy:
2218 * Scripts/webkitpy/commands/abstractdiffcommand.py: Removed.
2219 * Scripts/webkitpy/commands/abstractdiffcommand_unittest.py: Removed.
2220 * Scripts/webkitpy/commands/download.py:
2221 * Scripts/webkitpy/commands/upload.py:
2222 * Scripts/webkitpy/mock_bugzillatool.py:
2224 2010-01-10 Adam Barth <abarth@webkit.org>
2226 Reviewed by David Kilzer.
2228 bugzilla-tool submit-patch mistakenly picks up bug URLs in non-ChangeLog files
2229 https://bugs.webkit.org/show_bug.cgi?id=33197
2231 We should just search for bug numbers in the ChangeLogs instead of in
2234 * Scripts/test-webkitpy:
2235 * Scripts/webkitpy/commands/abstractdiffcommand.py: Added.
2236 * Scripts/webkitpy/commands/abstractdiffcommand_unittest.py: Added.
2237 * Scripts/webkitpy/commands/download.py:
2238 * Scripts/webkitpy/commands/upload.py:
2239 * Scripts/webkitpy/mock_bugzillatool.py:
2241 2010-01-11 Chris Jerdonek <chris.jerdonek@gmail.com>
2243 Reviewed by David Kilzer.
2245 Created a unit-tested function to parse the header block of
2246 a Git or SVN diff -- for future refactoring of svn-apply and
2249 https://bugs.webkit.org/show_bug.cgi?id=33447
2251 * Scripts/VCSUtils.pm:
2252 - Added parseDiffHeader().
2253 - Removed irrelevant comment from gitdiff2svndiff().
2255 * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: Added.
2256 - Added 48 unit tests for parseDiffHeader().
2258 2010-01-10 Adam Barth <abarth@webkit.org>
2260 Rubber stamped by David Kilzer.
2262 bugzilla-tool submit-patch mistakenly picks up bug URLs in non-ChangeLog files
2263 https://bugs.webkit.org/show_bug.cgi?id=33197
2265 Fix a typo: Commmand -> Command.
2267 * Scripts/webkitpy/commands/abstractsequencedcommand.py:
2268 * Scripts/webkitpy/commands/download.py:
2269 * Scripts/webkitpy/commands/queries.py:
2270 * Scripts/webkitpy/commands/upload.py:
2271 * Scripts/webkitpy/multicommandtool.py:
2273 2010-01-10 Adam Barth <abarth@webkit.org>
2275 Reviewed by Darin Adler.
2277 Let webkit-patch work with options in $EDITOR
2278 https://bugs.webkit.org/show_bug.cgi?id=33414
2280 The $EDITOR evironment variable might have command line options like
2281 bbedit -w. This patch lets us run those $EDITORs.
2283 * Scripts/webkitpy/user.py:
2285 2010-01-10 Robert Hogan <robert@roberthogan.net>
2287 Reviewed by Adam Barth.
2289 [Qt] Add enableXSSAuditor support to QWebSettings and DRT.
2291 https://bugs.webkit.org/show_bug.cgi?id=33419
2293 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2294 (WebCore::WebPage::WebPage):
2295 (WebCore::WebPage::resetSettings):
2296 (WebCore::DumpRenderTree::createWindow):
2297 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2298 (LayoutTestController::setXSSAuditorEnabled):
2299 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2301 2010-01-10 Adam Barth <abarth@webkit.org>
2303 Unreviewed cosmetic change. Remove the status bubble for mac-ews
2304 because we don't have hardware for it at the moment.
2306 * QueueStatusServer/templates/statusbubble.html:
2308 2010-01-09 Daniel Bates <dbates@webkit.org>
2310 No review, rolling out r53044.
2311 http://trac.webkit.org/changeset/53044
2312 https://bugs.webkit.org/show_bug.cgi?id=33419
2314 We need to look into this some more because the Qt
2315 bot is failing the XSSAuditor tests. See bug #33419
2318 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2319 (WebCore::WebPage::WebPage):
2320 (WebCore::WebPage::resetSettings):
2321 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2322 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2324 2010-01-09 Daniel Bates <dbates@webkit.org>
2326 Reviewed by Adam Barth.
2328 https://bugs.webkit.org/show_bug.cgi?id=33419
2330 Adds support for the XSSAuditor to the Qt DRT.
2332 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
2333 (WebCore::WebPage::WebPage):
2334 (WebCore::WebPage::resetSettings):
2335 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2336 (LayoutTestController::setXSSAuditorEnabled):
2337 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2339 2010-01-09 Adam Barth <abarth@webkit.org>
2341 Reviewed by Eric Seidel.
2343 Retry writes to QueueStatusServer when we get 500 errors
2344 https://bugs.webkit.org/show_bug.cgi?id=33412
2346 This prevents the queues from failing to mark a patch as "pass" or
2347 "fail" when AppEngine throws 500 errors.
2349 * Scripts/test-webkitpy:
2350 * Scripts/webkitpy/networktransaction.py: Added.
2351 * Scripts/webkitpy/networktransaction_unittest.py: Added.
2352 * Scripts/webkitpy/statusserver.py:
2353 * Scripts/webkitpy/steps/closebugformarkbugfixed.py: Added.
2354 * Scripts/webkitpy/steps/closebugregardlessofpatches.py: Added.
2355 * Scripts/webkitpy/steps/findbugidfromsvnrevision.py: Added.
2357 2010-01-09 David Kilzer <ddkilzer@apple.com>
2359 <http://webkit.org/b/33430> Fix rounded borders in queue status on older Firefox and Safari browsers
2361 Reviewed by Eric Seidel.
2363 * QueueStatusServer/templates/statusbubble.html: Added
2364 -moz-border-radius and -webkit-border-radius to provide rounded
2365 borders in older Firefox and Safari browsers.
2367 2010-01-09 Chris Jerdonek <chris.jerdonek@gmail.com>
2369 Reviewed by David Kilzer.
2371 Modified VCSUtils::gitdiff2svndiff() to accept strings that
2372 end in vertical white space.
2374 https://bugs.webkit.org/show_bug.cgi?id=33415
2376 * Scripts/VCSUtils.pm:
2377 * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl:
2379 2010-01-08 Eric Seidel <eric@webkit.org>
2381 Reviewed by Adam Barth.
2383 run-javascriptcore-tests needs a --quiet flag
2384 https://bugs.webkit.org/show_bug.cgi?id=33399
2386 Until run-javascriptcore-tests has a --quiet flag, lets just stiffle the output in webkit-patch.
2388 * Scripts/webkitpy/steps/runtests.py:
2390 2010-01-08 Andras Becsi <abecsi@inf.u-szeged.hu>
2392 Reviewed by Alexey Proskuryakov.
2394 Only run http and websocket tests as last if no argument is given to be able to explicitly control the test order.
2396 To be able to run multiple instances of run-webkit-tests besides each other on the same machine we need to minimize
2397 the time when Apache and WebSocketServer is locked by tests.
2398 Because closeHTTPD() and closeWebSocketServer() is only called at the end of the testing,
2399 we need to run http and websocket tests after all other tests.
2400 If one however explicitly specifies the tests to run in the argument list of run-webkit-tests
2401 we need to preserve the given order.
2403 * Scripts/run-webkit-tests:
2405 2010-01-08 Adam Barth <abarth@webkit.org>
2407 Reviewed by Eric Seidel.
2409 Don't post style-queue pass messages to bugs
2410 https://bugs.webkit.org/show_bug.cgi?id=33404
2412 These messages aren't needed any more now that we have the status
2413 bubble reporting pass events passively.
2415 * Scripts/webkitpy/commands/queues.py:
2417 2010-01-08 Adam Barth <abarth@webkit.org>
2419 Reviewed by Eric Seidel.
2421 Optimize the number of CPUs used for building Qt and Gtk
2422 https://bugs.webkit.org/show_bug.cgi?id=33394
2424 Instead of hardcoding the number 8, we should read the number of CPUs
2425 from the environment.
2427 * Scripts/webkitpy/executive.py:
2428 * Scripts/webkitpy/webkitport.py:
2429 * Scripts/webkitpy/webkitport_unittest.py:
2431 2010-01-08 Chris Fleizach <cfleizach@apple.com>
2433 Reviewed by Eric Seidel.
2435 REGRESSION(52819?): AXLoadComplete and AXLayoutComplete causes 4 tests fail on Snow Leopard Debug bot
2436 https://bugs.webkit.org/show_bug.cgi?id=33300
2438 * DumpRenderTree/AccessibilityUIElement.h:
2439 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2440 (AccessibilityUIElement::AccessibilityUIElement):
2441 (AccessibilityUIElement::~AccessibilityUIElement):
2442 (_accessibilityNotificationCallback):
2443 (AccessibilityUIElement::addNotificationListener):
2445 2010-01-08 Eric Seidel <eric@webkit.org>
2447 Reviewed by Simon Hausmann.
2449 commit-queue should run run-javascriptcore-tests
2450 https://bugs.webkit.org/show_bug.cgi?id=33376
2452 I also made it run the python and perl unit tests.
2454 * Scripts/webkitpy/steps/runtests.py:
2455 * Scripts/webkitpy/webkitport.py:
2457 2010-01-07 Andras Becsi <abecsi@inf.u-szeged.hu>
2459 Reviewed by Darin Adler.
2461 Run the http and websocket tests after all other tests.
2462 https://bugs.webkit.org/show_bug.cgi?id=33153
2464 * Scripts/run-webkit-tests:
2466 2010-01-07 Adam Barth <abarth@webkit.org>
2468 Reviewed by Eric Seidel.
2470 Fix some test-webkitpy expectations
2471 https://bugs.webkit.org/show_bug.cgi?id=33345
2473 I forgot to change these when I added the CheckStyle step.
2475 * Scripts/webkitpy/commands/upload_unittest.py:
2477 2010-01-07 Adam Barth <abarth@webkit.org>
2479 Reviewed by Eric Seidel.
2481 webkit-patch edit-changelogs (or upload) will open blank files if run outside the root
2482 https://bugs.webkit.org/show_bug.cgi?id=33341
2484 Fix this by moving to the root directory before editing ChangeLogs.
2485 There is a related bug with CheckStyle.
2487 * Scripts/webkitpy/steps/checkstyle.py:
2488 * Scripts/webkitpy/steps/editchangelog.py:
2490 2010-01-07 Eric Seidel <eric@webkit.org>
2492 Reviewed by Nikolas Zimmermann.
2494 media/unsupported-tracks.html is failing on Snow Leopard Release bot
2495 https://bugs.webkit.org/show_bug.cgi?id=32339
2497 This is a speculative fix. I do not have a Snow Leopard machine to test on
2498 and I've not seen mention of someone being able to reproduce this locally.
2500 Prevent watchdog timer from firing after a test completes but before
2501 the next one starts, causing the error to appear in the next test.
2503 * DumpRenderTree/mac/DumpRenderTree.mm:
2504 (dump): Stop the watchdog before printing #EOF for the test content.
2505 We only need to care about the JavaScript of the test running too long
2506 or some hang in WebCore. Any other failures will be covered by the calling
2507 script's own watchdog timer.
2509 2010-01-07 Eric Seidel <eric@webkit.org>
2511 Reviewed by Adam Barth.
2513 commit-queue is stuck spinning due to exception
2514 https://bugs.webkit.org/show_bug.cgi?id=33358
2516 * Scripts/webkitpy/commands/queues.py:
2517 - Don't try to stringify the exception.
2519 2010-01-07 Mark Rowe <mrowe@apple.com>
2521 Reviewed by Jon Honeycutt.
2523 Don't leak a JSStringRef within _accessibilityNotificationCallback.
2525 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2526 (_accessibilityNotificationCallback): Have a JSRetainPtr adopt the JSStringRef so that it will be cleaned up
2527 when it goes out of scope.
2529 2010-01-07 Simon Fraser <simon.fraser@apple.com>
2531 Reviewed by Darin Adler.
2533 Add proposed rename of HTMLPlugInImageElement to HTMLEmbeddedObjectElement.
2535 * Scripts/do-webcore-rename:
2537 2010-01-07 Kim Grönholm <kim.gronholm@nomovok.com>
2539 Reviewed by Antti Koivisto.
2541 Wrong state and TouchLists in TouchEvents
2542 https://bugs.webkit.org/show_bug.cgi?id=32878
2544 * DumpRenderTree/qt/EventSenderQt.cpp:
2545 (EventSender::touchStart):
2546 (EventSender::touchEnd):
2547 (EventSender::clearTouchPoints):
2548 * DumpRenderTree/qt/EventSenderQt.h:
2550 2010-01-07 Chris Jerdonek <chris.jerdonek@gmail.com>
2552 Reviewed by Adam Barth.
2554 Created a module that runs the style package unit tests.
2556 https://bugs.webkit.org/show_bug.cgi?id=32973
2558 * Scripts/test-webkitpy:
2559 * Scripts/webkitpy/style/unittests.py: Added.
2561 2010-01-07 Adam Barth <abarth@webkit.org>
2563 Reviewed by Maciej Stachowiak.
2565 Don't print a redundant message when confirming a diff
2566 https://bugs.webkit.org/show_bug.cgi?id=33315
2568 Instead of saying "ERROR: User declined" we should just exit because
2569 the use knows they just declined!
2571 * Scripts/webkitpy/steps/confirmdiff.py:
2573 2010-01-07 Adam Barth <abarth@webkit.org>
2575 Reviewed by Maciej Stachowiak.
2577 Check style before uploading a patch
2578 https://bugs.webkit.org/show_bug.cgi?id=33314
2580 * Scripts/webkitpy/commands/upload.py:
2581 * Scripts/webkitpy/steps/checkstyle.py:
2582 * Scripts/webkitpy/steps/options.py:
2584 2010-01-07 Adam Barth <abarth@webkit.org>
2586 Reviewed by Maciej Stachowiak.
2588 Add prepare and post to webkit-patch main help
2589 https://bugs.webkit.org/show_bug.cgi?id=33313
2591 * Scripts/webkitpy/commands/upload.py:
2593 2010-01-07 Eric Seidel <eric@webkit.org>
2595 Reviewed by Adam Barth.
2597 Add Chromium bots to the list of "core builders" (builders which stop the commit-queue when they turn red)
2598 https://bugs.webkit.org/show_bug.cgi?id=33290
2600 Add the Chromium builders to our list of core builders and test that our regexps work.
2601 I also updated our regexp testing to make sure we cover all known builders at build.webkit.org.
2603 * Scripts/webkitpy/buildbot.py:
2604 * Scripts/webkitpy/buildbot_unittest.py:
2606 2010-01-07 Adam Barth <abarth@webkit.org>
2608 Reviewed by Eric Seidel.
2610 bugzilla-tool needs a new name
2611 https://bugs.webkit.org/show_bug.cgi?id=28459
2613 Rename bugzilla-tool to webkit-patch. Also, rename some commands to
2614 make more sense with the new name.
2616 * Scripts/bugzilla-tool: Removed.
2617 * Scripts/webkit-patch: Added.
2618 * Scripts/webkit-tools-completion.sh:
2619 * Scripts/webkitpy/bugzilla_unittest.py:
2620 * Scripts/webkitpy/commands/download.py:
2621 * Scripts/webkitpy/commands/download_unittest.py:
2622 * Scripts/webkitpy/commands/early_warning_system.py:
2623 * Scripts/webkitpy/commands/queries.py:
2624 * Scripts/webkitpy/commands/queues.py:
2625 * Scripts/webkitpy/commands/queues_unittest.py:
2626 * Scripts/webkitpy/commands/upload.py:
2627 * Scripts/webkitpy/commands/upload_unittest.py:
2628 * Scripts/webkitpy/queueengine.py:
2629 * Scripts/webkitpy/steps/completerollout.py:
2631 2010-01-07 Chris Jerdonek <chris.jerdonek@gmail.com>
2633 Reviewed by Eric Seidel.
2635 Moved style-related modules to webkitpy.style sub-package.
2637 https://bugs.webkit.org/show_bug.cgi?id=32971
2639 * Scripts/check-webkit-style:
2640 - Updated import statement.
2642 * Scripts/test-webkitpy:
2643 - Updated import statements.
2645 * Scripts/webkitpy/cpp_style.py: Removed.
2646 - Moved to webkitpy/style.
2648 * Scripts/webkitpy/cpp_style_unittest.py: Removed.
2649 - Moved to webkitpy/style.
2651 * Scripts/webkitpy/style.py: Removed.
2652 - Moved to webkitpy/style/checker.py.
2654 * Scripts/webkitpy/style/__init__.py: Added.
2655 - Added containing webkitpy directory to package search path.
2657 * Scripts/webkitpy/style/checker.py: Copied from Scripts/webkitpy/style.py.
2658 * Scripts/webkitpy/style/checker_unittest.py: Copied from Scripts/webkitpy/style_unittest.py.
2659 - Updated import statement.
2661 * Scripts/webkitpy/style/cpp_style.py: Copied from Scripts/webkitpy/cpp_style.py.
2662 * Scripts/webkitpy/style/cpp_style_unittest.py: Copied from Scripts/webkitpy/cpp_style_unittest.py.
2663 - Update import statement.
2665 * Scripts/webkitpy/style/text_style.py: Copied from Scripts/webkitpy/text_style.py.
2666 * Scripts/webkitpy/style/text_style_unittest.py: Copied from Scripts/webkitpy/text_style_unittest.py.
2667 * Scripts/webkitpy/style_unittest.py: Removed.
2668 - Moved to webkitpy/style/checker_unittest.py.
2670 * Scripts/webkitpy/text_style.py: Removed.
2671 - Moved to webkitpy/style.
2673 * Scripts/webkitpy/text_style_unittest.py: Removed.
2674 - Moved to webkitpy/style.
2676 2010-01-06 Kinuko Yasuda <kinuko@chromium.org>
2678 Reviewed by Eric Seidel.
2680 [Qt] Support the 3rd argument of EventSender.keyDown that
2681 has been recently added to report keyLocation
2682 (see also: https://bugs.webkit.org/show_bug.cgi?id=28247).
2683 https://bugs.webkit.org/show_bug.cgi?id=33250
2685 Test: fast/events/keydown-numpad-keys.html
2687 * DumpRenderTree/qt/EventSenderQt.cpp:
2688 (EventSender::keyDown):
2689 * DumpRenderTree/qt/EventSenderQt.h:
2691 2010-01-06 Eric Seidel <eric@webkit.org>
2693 Reviewed by Adam Barth.
2695 Add long_help for all common commands.
2696 https://bugs.webkit.org/show_bug.cgi?id=33261
2698 For now these long_helps are pretty basic.
2699 These were all written to just explain the steps
2700 that each command runs. This style long_help could
2701 be made easier by using:
2702 https://bugs.webkit.org/show_bug.cgi?id=33257
2704 * Scripts/webkitpy/commands/download.py:
2705 * Scripts/webkitpy/commands/queries.py:
2707 2010-01-06 Diego Gonzalez <diego.gonzalez@openbossa.org>
2709 Reviewed by Kenneth Christiansen.
2711 [Qt] Add page zooming support to Qt DumpRenderTree
2712 https://bugs.webkit.org/show_bug.cgi?id=32898
2714 Patch by Kim Grönholm <kim.gronholm@nomovok.com>,
2715 Diego Gonzalez <diego.gonzalez@openbossa.org> and
2716 Afonso Costa <afonso.costa@openbossa.org>
2718 * DumpRenderTree/qt/EventSenderQt.cpp:
2719 (EventSender::zoomPageIn):
2720 (EventSender::zoomPageOut):
2721 * DumpRenderTree/qt/EventSenderQt.h:
2723 2010-01-06 Eric Seidel <eric@webkit.org>
2725 No review, just adding Mike Belshe's new bugzilla email at his request.
2727 * Scripts/webkitpy/committers.py:
2729 2010-01-06 Eric Seidel <eric@webkit.org>
2731 Unreviewed. Rolling out r52869 and r52853 due to bot
2732 and local run-webkit-test failures
2734 REGRESSION(52854?) fast/workers/shared-worker-constructor.html failed on Leopard Build Bot
2735 https://bugs.webkit.org/show_bug.cgi?id=33256
2737 The original bug was https://bugs.webkit.org/show_bug.cgi?id=33153
2739 * Scripts/run-webkit-tests:
2741 2010-01-06 Eric Seidel <eric@webkit.org>
2743 Unreviewed "build" fix. Just adding missing include.
2745 bugzilla-tool rollout --complete-rollout should make a nicer bug comment
2746 https://bugs.webkit.org/show_bug.cgi?id=29212
2748 * Scripts/webkitpy/steps/completerollout.py:
2750 2010-01-06 Eric Seidel <eric@webkit.org>
2752 Reviewed by Adam Barth.
2754 bugzilla-tool rollout --complete-rollout should make a nicer bug comment
2755 https://bugs.webkit.org/show_bug.cgi?id=29212
2757 * Scripts/webkitpy/bugzilla.py:
2758 - Make reopen_bug robust against the bug already being open.
2759 * Scripts/webkitpy/commands/download.py:
2760 - Remove dead code from Rollout.
2761 * Scripts/webkitpy/steps/completerollout.py:
2762 - Improve the rollout comment.
2764 2010-01-06 Andras Becsi <abecsi@inf.u-szeged.hu>
2766 Reviewed by Darin Adler.
2768 Set isHttpdOpen to 0 if pidfile does not exist for some reason.
2769 Speculative fix for https://bugs.webkit.org/show_bug.cgi?id=33256.
2771 * Scripts/run-webkit-tests:
2773 2010-01-06 Andras Becsi <abecsi@inf.u-szeged.hu>
2775 Reviewed by Darin Adler.
2777 Change hardcoded /tmp in run-webkit-tests to File::Spec->tmpdir(),
2778 and remove the httpd's pidfile directory if httpd terminated.
2780 * Scripts/run-webkit-tests:
2782 2010-01-05 Chris Jerdonek <chris.jerdonek@gmail.com>
2784 Reviewed by David Levin.
2786 Refactored check-webkit-style's argument parser to not rely
2787 on global state, and improved its error handling and unit
2790 https://bugs.webkit.org/show_bug.cgi?id=32966
2792 * Scripts/check-webkit-style:
2793 - Adjusted to use new argument parser.
2795 * Scripts/webkitpy/cpp_style.py:
2796 - Changed _CppStyleState to accept an array of filter rules
2797 instead of a comma-delimited string.
2798 - Eliminated cpp_style._DEFAULT_FILTER_RULES.
2799 - Eliminated cpp_style._USAGE.
2801 * Scripts/webkitpy/cpp_style_unittest.py:
2802 - Updated test_filter() and test_default_filter().
2804 * Scripts/webkitpy/style.py:
2805 - Converted style._USAGE to create_usage().
2806 - Corrected usage instructions by removing 0 as a valid
2807 --verbose flag value.
2808 - Removed use_webkit_styles().
2809 - Added ProcessorOptions class.
2810 - Added ArgumentDefaults class.
2811 - Added ArgumentPrinter class.
2812 - Removed parse_arguments and added ArgumentParser class.
2813 - Moved exit_with_usage() and exit_with_categories() into
2815 - Refactored parse_arguments() as ArgumentParser.parse().
2816 - Improved parser error handling.
2818 * Scripts/webkitpy/style_unittest.py:
2819 - Added DefaultArgumentsTest class.
2820 - Addressed FIXME to check style.WEBKIT_FILTER_RULES
2821 against style.STYLE_CATEGORIES.
2822 - Added ArgumentPrinterTest class.
2823 - Added ArgumentParserTest class and rewrote parser unit tests.
2825 2010-01-05 Adam Roben <aroben@apple.com>
2827 Test that it's safe to call IWebView::close when
2828 IWebView::initWithFrame hasn't been called
2830 Part of <http://webkit.org/b/32827> Crash when calling
2831 IWebView::close, then releasing the WebView, without calling
2834 Reviewed by Steve Falkenburg.
2836 * WebKitAPITest/tests/WebViewDestruction.cpp:
2837 (WebKitAPITest::CloseWithoutInitWithFrame): Calls IWebView::close
2838 without ever calling IWebView::initWithFrame and tests that we don't
2841 2010-01-05 Adam Roben <aroben@apple.com>
2843 Add more WebViewDestruction tests
2845 Fixes <http://webkit.org/b/33216>.
2847 Reviewed by Eric Seidel.
2849 * WebKitAPITest/tests/WebViewDestruction.cpp:
2850 (WebKitAPITest::NoInitWithFrame):
2851 (WebKitAPITest::CloseThenDestroyViewWindow):
2852 (WebKitAPITest::DestroyViewWindowThenClose):
2853 (WebKitAPITest::DestroyHostWindow):
2854 (WebKitAPITest::DestroyHostWindowThenClose):
2855 (WebKitAPITest::CloseThenDestroyHostWindow):
2856 Added these tests that exercise tearing down a WebView in various
2857 ways, all of which we eventually want to have work. Some of them
2858 currently crash or leak.
2860 2010-01-05 Robert Hogan <robert@roberthogan.net>
2862 Reviewed by Eric Seidel.
2864 [Qt] fix DRT link failures on --no-svg builds when only making changes to DRT
2866 If you're working from a --minimal or --no-svg build and make changes to the
2867 DRT, then recompile, the build will fail.
2869 This is because the current behavior at build time is to assume that the
2870 previous Qt build supported SVG and consequently delete libQtWebKit.so.
2871 Unfortunately, just deleting libQtWebKit.so will not cause the library to
2872 re-link. Instead the build will see libQtWebKit.so.4 and co., pass over the
2873 linking phase, and attempt to link the DRT with libQtWebKit.so absent. This
2874 results in a link failure on the DRT.
2876 Since re-linking libQtWebKit can take up to ten minutes and should be avoided
2877 in cases where not actually required, remove the assumption that
2878 the previous Qt build supported SVG, and amend the symbol detection to look for
2879 a symbol name that is not present in SVG builds. Currently webkitdirs.pm looks
2880 for 'SVGElement' but even non-SVG builds contain the symbol 'isSVGElement'.
2882 https://bugs.webkit.org/show_bug.cgi?id=32992
2884 * Scripts/webkitdirs.pm:
2886 2010-01-05 Chris Jerdonek <chris.jerdonek@gmail.com>
2888 Reviewed by David Kilzer.
2890 Switched to generating list of Perl unit test files dynamically,
2891 instead of explicitly.
2893 https://bugs.webkit.org/show_bug.cgi?id=33200
2895 * Scripts/test-webkitperl:
2897 2010-01-05 Yael Aharon <yael.aharon@nokia.com>
2899 Reviewed by Kenneth Rohde Christiansen.
2901 [Qt] Reimplement EventSender::leapForward
2902 https://bugs.webkit.org/show_bug.cgi?id=33114
2904 Follow Windows implementation of leapForward. When leapForward is called,
2905 messages are queued and posted after the timeout. A new event loop is created to
2906 handle those messages and the additional messages that are created as a result.
2908 * DumpRenderTree/qt/DumpRenderTree.pro:
2909 * DumpRenderTree/qt/EventSenderQt.cpp:
2910 (EventSender::EventSender):
2911 (EventSender::mouseDown):
2912 (EventSender::mouseUp):
2913 (EventSender::mouseMoveTo):
2914 (EventSender::leapForward):
2915 (EventSender::sendOrQueueEvent):
2916 (EventSender::replaySavedEvents):
2917 (EventSender::eventFilter):
2918 * DumpRenderTree/qt/EventSenderQt.h:
2920 2010-01-05 Adam Barth <abarth@webkit.org>
2922 Reviewed by Darin Adler.
2924 Fix obscure queue crash in queueengine
2925 https://bugs.webkit.org/show_bug.cgi?id=33196
2927 Sometimes we get an exception that can't be stringified. For example:
2929 AttributeError: 'ParseError' object has no attribute 'msg'
2931 In these cases, the whole queue dies because we're in the global
2932 exception handler. Instead of dieing here, we should just print a less
2933 informative message to the console. We're already printing the whole
2934 backtrace anyway, so there's not much point to stringifying the
2937 * Scripts/webkitpy/queueengine.py:
2939 2010-01-05 Dominic Mazzoni <dmazzoni@google.com>
2941 Reviewed by Darin Adler.
2943 https://bugs.webkit.org/show_bug.cgi?id=32571
2945 For an object with an aria role of "checkbox" or "radiobutton",
2946 use the "aria-checked" attribute to determine if it's checked.
2947 These changes add an isChecked() method to AccessibilityUIElement
2948 so that we can check for this property from a layout test.
2950 * DumpRenderTree/AccessibilityUIElement.cpp:
2951 (getIsCheckedCallback):
2952 (AccessibilityUIElement::getJSClass):
2953 * DumpRenderTree/AccessibilityUIElement.h:
2954 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2955 (AccessibilityUIElement::isChecked):
2956 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2957 (AccessibilityUIElement::isChecked):
2958 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2959 (AccessibilityUIElement::isChecked):
2961 2010-01-05 David Levin <levin@chromium.org>
2963 Reviewed by Darin Adler.
2965 Having a comment for the #endif for a header guard is not required WebKit style.
2966 https://bugs.webkit.org/show_bug.cgi?id=33214
2968 * Scripts/webkitpy/cpp_style.py: removed the check and made the loop exit
2969 early when it has all the needed information to continue.
2970 * Scripts/webkitpy/cpp_style_unittest.py: removed the corresponding tests.
2972 2010-01-05 Adam Roben <aroben@apple.com>
2974 Share more code in the WebViewDestruction tests
2976 Part of <http://webkit.org/b/33212> Small fixes/improvements to
2979 Reviewed by Sam Weinig.
2981 * WebKitAPITest/tests/WebViewDestruction.cpp:
2982 (WebKitAPITest::createAndInitializeWebView): Renamed from
2983 createWebView. Now initializes the HostWindow and returns the
2984 WebView's HWND via an out-parameter.
2985 (WebKitAPITest::finishWebViewDestructionTest): Added. Code came from
2986 the CloseWithoutDestroyWindow test.
2987 (WebKitAPITest::CloseWithoutDestroyViewWindow): Renamed from
2988 CloseWithoutDestroyWindow and changed to use the new functions.
2989 (WebKitAPITest::MainFrameAfterClose): Changed to use the new
2991 (WebKitAPITest::NoCloseOrDestroyViewWindow): Renamed from
2992 NoCloseOrDestroyWindow and changed to use the new functions.
2994 2010-01-05 Adam Roben <aroben@apple.com>
2996 Don't show HostWindows by default
2998 This was making WebKitAPITest very flashy as windows appeared and
3001 Part of <http://webkit.org/b/33212> Small fixes/improvements to
3004 Reviewed by Sam Weinig.
3006 * WebKitAPITest/HostWindow.cpp:
3007 (WebKitAPITest::HostWindow::initialize): Removed the WS_VISIBLE style
3010 2010-01-05 Adam Roben <aroben@apple.com>
3012 Don't hang in WebKitAPITest if no messages have been posted
3014 Part of <http://webkit.org/b/33212> Small fixes/improvements to
3017 Reviewed by Sam Weinig.
3019 * WebKitAPITest/tests/WebViewDestruction.cpp:
3020 (WebKitAPITest::runMessagePump): Use PeekMessage instead of GetMessage
3021 to avoid hanging if no messages have been posted.
3023 2010-01-05 Adam Roben <aroben@apple.com>
3025 Fix WebKitCreateInstance helper
3027 Part of <http://webkit.org/b/33212> Small fixes/improvements to
3030 Reviewed by Sam Weinig.
3032 * WebKitAPITest/tests/WebViewDestruction.cpp:
3033 (WebKitAPITest::WebKitCreateInstance): Pass the pointer straight
3034 through, instead of taking its address.
3036 2010-01-04 Maciej Stachowiak <mjs@apple.com>
3038 Reviewed by Darin Fisher.
3040 Reorganize, document and rename OS() platform macros.
3041 https://bugs.webkit.org/show_bug.cgi?id=33198
3043 Adapt to name changes.
3045 * DumpRenderTree/DumpRenderTree.h:
3046 * DumpRenderTree/config.h:
3048 2010-01-05 Chris Jerdonek <chris.jerdonek@gmail.com>
3050 Reviewed by Eric Seidel.
3052 Minor improvements to test-webkit-scripts, as suggested
3053 by an earlier review.
3055 https://bugs.webkit.org/show_bug.cgi?id=33125
3057 * Scripts/test-webkit-scripts:
3058 - Used OptionParser class instead of getopt.getopt().
3059 - Created main() method for __main__ block.
3060 - Enclosed functions in a class.
3062 2010-01-05 Chris Fleizach <cfleizach@apple.com>
3064 No review. Fix DRT breakage on Tiger/Leopard.
3066 Add ARIA "Live Region" support
3067 https://bugs.webkit.org/show_bug.cgi?id=33117
3069 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3071 2010-01-04 Chris Fleizach <cfleizach@apple.com>
3073 Reviewed by Darin Adler.
3075 Add ARIA "Live Region" support
3076 https://bugs.webkit.org/show_bug.cgi?id=33117
3078 * DumpRenderTree/AccessibilityUIElement.cpp:
3079 (indexOfChildCallback):
3080 (boolAttributeValueCallback):
3081 (stringAttributeValueCallback):
3082 (addNotificationListenerCallback):
3083 (AccessibilityUIElement::getJSClass):
3084 * DumpRenderTree/AccessibilityUIElement.h:
3085 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
3086 (AccessibilityUIElement::indexOfChild):
3087 (AccessibilityUIElement::stringAttributeValue):
3088 (AccessibilityUIElement::boolAttributeValue):
3089 (AccessibilityUIElement::addNotificationListener):
3090 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3091 (AccessibilityUIElement::indexOfChild):
3092 (AccessibilityUIElement::stringAttributeValue):
3093 (AccessibilityUIElement::boolAttributeValue):
3094 (_accessibilityNotificationCallback):
3095 (AccessibilityUIElement::addNotificationListener):
3096 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3097 (AccessibilityUIElement::indexOfChild):
3098 (AccessibilityUIElement::stringAttributeValue):
3099 (AccessibilityUIElement::boolAttributeValue):
3100 (AccessibilityUIElement::addNotificationListener):
3102 2010-01-04 Eric Seidel <eric@webkit.org>
3104 Reviewed by Adam Barth.
3106 bugzilla-tool rollout should require a reason
3107 https://bugs.webkit.org/show_bug.cgi?id=30810
3109 * Scripts/webkitpy/changelogs.py: Add support for a reason, add auto-wrapping logic.
3110 * Scripts/webkitpy/changelogs_unittest.py: Test reason support.
3111 * Scripts/webkitpy/commands/download.py: rollout now requires a reason, remove unused BUGID argument
3112 * Scripts/webkitpy/commands/download_unittest.py: pass required reason
3113 * Scripts/webkitpy/steps/preparechangelogforrevert.py: pass reason to update_for_revert
3115 2010-01-04 Jon Honeycutt <jhoneycutt@apple.com>
3117 MSAA: <select> elements should broadcast value change events
3119 https://bugs.webkit.org/show_bug.cgi?id=33088
3121 <rdar://problem/7332364>
3123 Reviewed by Darin Adler.
3125 * DumpRenderTree/AccessibilityController.cpp:
3126 (logValueChangeEventsCallback):
3127 Start logging value change events.
3128 (AccessibilityController::getJSClass):
3129 Add a "logValueChangeEvents" to the AccessibilityController's JS class
3131 (AccessibilityController::resetToConsistentState):
3132 Disable logging of value change events.
3134 * DumpRenderTree/AccessibilityController.h:
3135 Declare setLogValueChangeEvents(), and add a member variable for the
3136 value change event hook.
3138 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
3139 (AccessibilityController::setLogValueChangeEvents):
3142 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3143 (AccessibilityController::setLogValueChangeEvents):
3146 * DumpRenderTree/win/AccessibilityControllerWin.cpp:
3147 (AccessibilityController::AccessibilityController):
3148 Initialize new member var.
3149 (AccessibilityController::~AccessibilityController):
3150 Disable logging of value change events.
3152 When we receive an EVENT_OBJECT_VALUECHANGE, log the name of the object
3154 (AccessibilityController::setLogValueChangeEvents):
3155 If disabling logging, unhook the event, and clear the event hook
3156 member var. Otherwise, query for the root element to enable
3157 accessibility, and hook EVENT_OBJECT_VALUECHANGE.
3159 2010-01-04 Adam Barth <abarth@webkit.org>
3161 Reviewed by Eric Seidel.
3163 long_help for submit-patch
3164 https://bugs.webkit.org/show_bug.cgi?id=33184
3166 * Scripts/webkitpy/commands/upload.py:
3168 2010-01-04 Adam Barth <abarth@webkit.org>
3170 Reviewed by Eric Seidel.
3172 commit-queue can wrongly reject patches if the buildbots are behind
3173 https://bugs.webkit.org/show_bug.cgi?id=30098
3175 Check to make sure we can currently build and test before trying to
3178 * Scripts/webkitpy/commands/queues.py:
3180 2010-01-04 Adam Roben <aroben@apple.com>
3182 Add a test harness for the Windows WebKit API, and a few tests
3184 We currently only have tests for a handful of bugs regarding WebView
3185 destruction, but more tests can easily be added later. Eventually
3186 we'll run these tests as part of run-webkit-tests.
3188 Fixes <http://webkit.org/b/33167>.
3190 Reviewed by Sam Weinig.
3192 * WebKitAPITest/HostWindow.cpp: Added.
3193 (WebKitAPITest::HostWindow::HostWindow): Initialize m_window.
3194 (WebKitAPITest::HostWindow::~HostWindow): Destroy our window if
3196 (WebKitAPITest::HostWindow::initialize): Create our window.
3197 (WebKitAPITest::HostWindow::clientRect): Return our window's client
3199 (WebKitAPITest::HostWindow::registerWindowClass): Does what it says.
3200 (WebKitAPITest::HostWindow::wndProc): Just call through to
3203 * WebKitAPITest/HostWindow.h: Added.
3204 (WebKitAPITest::HostWindow::window): Simple getter.
3206 * WebKitAPITest/Test.h: Added. This file defines some macros useful
3209 * WebKitAPITest/TestsController.cpp: Added.
3210 (WebKitAPITest::TestsController::TestsController): Initialize our
3212 (WebKitAPITest::TestsController::shared): Return the shared instance.
3213 (WebKitAPITest::TestsController::runAllTests): Run a message pump
3214 until a WM_QUIT message is received, then return whether all tests
3216 (WebKitAPITest::TestsController::addTest): Add the test to m_tests and
3217 start running tests soon.
3218 (WebKitAPITest::TestsController::testFailed): Record the failure and
3219 print a message about it to stdout.
3220 (WebKitAPITest::TestsController::runNextTest): If we don't have any
3221 tests to run, post a WM_QUIT message to stop the message pump.
3222 Otherwise, run the test and print whether it passed, then schedule the
3224 (WebKitAPITest::TestsController::runNextTestSoon): Set a 0-delay timer
3225 to run the next test.
3226 (WebKitAPITest::TestsController::registerWindowClass): Does what it
3228 (WebKitAPITest::TestsController::wndProc): If the runNextTestTimer
3229 fired, call runNextTest(). Pass everything else through to
3232 * WebKitAPITest/TestsController.h: Added.
3234 * WebKitAPITest/WebKitAPITest.vcproj: Added.
3236 * WebKitAPITest/WebKitAPITestCommon.vsprops: Added.
3238 * WebKitAPITest/main.cpp: Added.
3239 (main): (Mostly) just calls TestsController::runAllTests.
3241 * WebKitAPITest/tests/WebViewDestruction.cpp: Added.
3242 (WebKitAPITest::WebKitCreateInstance): Helper function template to
3243 call through to the real WebKitCreateInstance.
3244 (WebKitAPITest::webViewCount): Helper function to call through to
3245 IWebKitStatistics::webViewCount.
3246 (WebKitAPITest::createWebView): Helper function to create a WebView
3247 and put it inside a HostWindow.
3248 (WebKitAPITest::runMessagePump): Helper function to run a message pump
3249 for a specified number of milliseconds, or until a WM_QUIT message is
3251 (WebKitAPITest::CloseWithoutDestroyWindow): Test for
3252 <http://webkit.org/b/32827>.
3253 (WebKitAPITest::MainFrameAfterClose): Test for
3254 <http://webkit.org/b/32868>.
3255 (WebKitAPITest::NoCloseOrDestroyWindow): Test for
3256 <http://webkit.org/b/33162>.
3258 2010-01-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
3260 Reviewed by David Kilzer.
3262 Add support for Git's "diff.mnemonicprefix" config option to WebKitTools
3264 https://bugs.webkit.org/show_bug.cgi?id=32820
3266 * Scripts/VCSUtils.pm:
3267 * Scripts/svn-apply:
3268 * Scripts/svn-unapply:
3269 * Scripts/test-webkitperl: Run gitdiff2svndiff test
3270 * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl: Added.
3271 * Scripts/webkitpy/diff_parser.py:
3272 * Scripts/webkitpy/diff_parser_unittest.py:
3274 2010-01-04 Chris Jerdonek <chris.jerdonek@gmail.com>
3276 Reviewed by David Kilzer.
3278 Divided the Perl unit tests into separate files and put
3279 them in a separate directory, and renamed test-webkit-perl
3282 https://bugs.webkit.org/show_bug.cgi?id=33124
3284 * Scripts/VCSUtils.pm:
3285 - Renamed generateRunPatchCommand() to generatePatchCommand().
3287 * Scripts/VCSUtils_unittest.pl: Removed.
3288 - Divided into three files in Scripts/webkitperl/VCSUtils_unittest.
3290 * Scripts/test-webkit-perl: Removed.
3291 - Renamed to test-webkitperl.
3293 * Scripts/test-webkit-scripts:
3294 - Updated paths to test-webkitpy and test-webkitperl.
3296 * Scripts/test-webkitperl: Copied from Scripts/test-webkit-perl.
3297 - Added paths to new test files.
3299 * Scripts/webkitperl: Added.
3300 * Scripts/webkitperl/VCSUtils_unittest: Added.
3301 * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl: Added.
3302 * Scripts/webkitperl/VCSUtils_unittest/generatePatchCommand.pl: Added.
3303 * Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl: Copied from Scripts/VCSUtils_unittest.pl.
3305 2010-01-04 Eric Seidel <eric@webkit.org>
3307 Reviewed by Adam Barth.
3309 Make bugzilla-tool rollout include a bug link in the ChangeLog entry
3310 https://bugs.webkit.org/show_bug.cgi?id=33146
3312 One more step towards better rollouts.
3314 * Scripts/webkitpy/changelogs.py:
3315 * Scripts/webkitpy/changelogs_unittest.py:
3316 * Scripts/webkitpy/steps/preparechangelogforrevert.py:
3318 2010-01-04 Adam Barth <abarth@webkit.org>
3320 Reviewed by Eric Seidel.
3322 Sort the step options
3323 https://bugs.webkit.org/show_bug.cgi?id=33144
3325 * Scripts/webkitpy/steps/options.py:
3327 2010-01-04 Eric Seidel <eric@webkit.org>
3329 Reviewed by Adam Barth.
3331 Need support for longer text in per-command help
3332 https://bugs.webkit.org/show_bug.cgi?id=33143
3334 Add some minimal additional help to land-diff and
3335 pave the way for adding better help to all commands.
3337 * Scripts/webkitpy/commands/download.py: Add small amount of additional help to land-diff
3338 * Scripts/webkitpy/multicommandtool.py: support long_help
3339 * Scripts/webkitpy/multicommandtool_unittest.py: test long_help
3341 2010-01-04 Adam Barth <abarth@webkit.org>
3343 Reviewed by Eric Seidel.
3345 Add unit test for MarkBugFixed
3346 https://bugs.webkit.org/show_bug.cgi?id=33142
3348 MarkBugFixed is way behind in command technology, but it still needs a
3349 unit test, as the FIXME commands.
3351 Also, remove mark-bug-fixed and create-bug from main help since we have
3352 more modern commands to replace them.
3354 * Scripts/webkitpy/commands/upload.py:
3355 * Scripts/webkitpy/commands/upload_unittest.py:
3356 * Scripts/webkitpy/mock_bugzillatool.py:
3358 2010-01-04 Adam Barth <abarth@webkit.org>
3360 Reviewed by Eric Seidel.
3362 Add missing unit test for CommitMessageForCurrentDiff
3363 https://bugs.webkit.org/show_bug.cgi?id=33141
3365 * Scripts/webkitpy/commands/upload.py:
3366 * Scripts/webkitpy/commands/upload_unittest.py:
3368 2010-01-04 Adam Barth <abarth@webkit.org>
3370 Reviewed by Eric Seidel.
3372 Remove raw_input from queues in favor of user.prompt
3373 https://bugs.webkit.org/show_bug.cgi?id=33140
3375 This lets up properly mock out the user interaction instead of hacking
3376 around it with the options.
3378 * Scripts/webkitpy/commands/queues.py:
3379 * Scripts/webkitpy/commands/queuestest.py:
3381 2010-01-04 Eric Seidel <eric@webkit.org>
3383 Reviewed by Adam Barth.
3385 bugzilla-tool should not require users to install mechanize
3386 https://bugs.webkit.org/show_bug.cgi?id=32635
3388 * Scripts/webkitpy/__init__.py: Add missing declaration for ClientForm (which mechanize requires).
3390 2010-01-04 Eric Seidel <eric@webkit.org>
3392 Reviewed by Adam Barth.
3394 bugzilla-tool should not require users to install mechanize
3395 https://bugs.webkit.org/show_bug.cgi?id=32635
3397 Use the nifty "autoinstall" module from Daniel Krech:
3398 http://pypi.python.org/pypi/autoinstall/0.2
3399 http://code.google.com/p/pyautoinstall/
3400 It's available under a WebKit-compatible BSD license.
3402 * Scripts/webkitpy/__init__.py:
3403 - bind "mechanize" to an autoinstall importer which will
3404 auto-download mechanize if necessary.
3405 * Scripts/webkitpy/autoinstall.py: Added.
3406 * Scripts/webkitpy/bugzilla.py: use "mechanize" instead of webkit_mechanize
3407 * Scripts/webkitpy/statusbot.py: ditto.
3408 * Scripts/webkitpy/webkit_mechanize.py: Removed.
3410 2010-01-04 Adam Barth <abarth@webkit.org>
3412 Reviewed by Eric Seidel.
3414 [bzt] Move AbstractSequencedCommand to a more general location
3415 https://bugs.webkit.org/show_bug.cgi?id=33137
3417 I do what the FIXME tell me to do.
3419 * Scripts/webkitpy/commands/abstractsequencedcommand.py: Added.
3420 * Scripts/webkitpy/commands/download.py:
3421 * Scripts/webkitpy/commands/upload.py:
3423 2010-01-04 Adam Barth <abarth@webkit.org>
3425 Reviewed by Eric Seidel.
3427 Rename StatusBot to StatusServer
3428 https://bugs.webkit.org/show_bug.cgi?id=33139
3430 It's not a bot. It's a server.
3432 * Scripts/bugzilla-tool:
3433 * Scripts/webkitpy/bugzilla.py:
3434 * Scripts/webkitpy/commands/early_warning_system.py:
3435 * Scripts/webkitpy/commands/queues.py:
3436 * Scripts/webkitpy/mock_bugzillatool.py:
3437 * Scripts/webkitpy/queueengine.py:
3438 * Scripts/webkitpy/statusbot.py: Removed.
3440 2010-01-04 Adam Barth <abarth@webkit.org>
3442 Reviewed by Eric Seidel.
3444 [bzt] submit-pach should have a -o/--open option to open the bug after submit
3445 https://bugs.webkit.org/show_bug.cgi?id=33136
3447 Python makes this very easy.
3449 * Scripts/webkitpy/mock_bugzillatool.py:
3450 * Scripts/webkitpy/steps/options.py:
3451 * Scripts/webkitpy/steps/postdiff.py:
3452 * Scripts/webkitpy/user.py:
3454 2010-01-04 Adam Barth <abarth@webkit.org>
3456 Reviewed by Eric Seidel.
3458 [bzt] Move steps to a submodule
3459 https://bugs.webkit.org/show_bug.cgi?id=33135
3461 For great victory. This will probably introduce some regressions
3462 because our test coverage isn't perfect, but I've tried to be careful.
3464 * Scripts/test-webkitpy:
3465 * Scripts/webkitpy/buildsteps.py: Removed.
3466 * Scripts/webkitpy/buildsteps_unittest.py: Removed.
3467 * Scripts/webkitpy/commands/download.py:
3468 * Scripts/webkitpy/commands/upload.py:
3469 * Scripts/webkitpy/steps/__init__.py: Added.
3470 * Scripts/webkitpy/steps/abstractstep.py: Added.
3471 * Scripts/webkitpy/steps/applypatch.py: Added.
3472 * Scripts/webkitpy/steps/applypatchwithlocalcommit.py: Added.
3473 * Scripts/webkitpy/steps/build.py: Added.
3474 * Scripts/webkitpy/steps/checkstyle.py: Added.
3475 * Scripts/webkitpy/steps/cleanworkingdirectory.py: Added.
3476 * Scripts/webkitpy/steps/cleanworkingdirectorywithlocalcommits.py: Added.
3477 * Scripts/webkitpy/steps/closebug.py: Added.
3478 * Scripts/webkitpy/steps/closebugforlanddiff.py: Added.
3479 * Scripts/webkitpy/steps/closepatch.py: Added.
3480 * Scripts/webkitpy/steps/commit.py: Added.
3481 * Scripts/webkitpy/steps/completerollout.py: Added.
3482 * Scripts/webkitpy/steps/confirmdiff.py: Added.
3483 * Scripts/webkitpy/steps/createbug.py: Added.
3484 * Scripts/webkitpy/steps/editchangelog.py: Added.
3485 * Scripts/webkitpy/steps/ensurebuildersaregreen.py: Added.
3486 * Scripts/webkitpy/steps/ensurelocalcommitifneeded.py: Added.
3487 * Scripts/webkitpy/steps/metastep.py: Added.
3488 * Scripts/webkitpy/steps/obsoletepatches.py: Added.
3489 * Scripts/webkitpy/steps/options.py: Added.
3490 * Scripts/webkitpy/steps/postdiff.py: Added.
3491 * Scripts/webkitpy/steps/preparechangelog.py: Added.
3492 * Scripts/webkitpy/steps/preparechangelogforrevert.py: Added.
3493 * Scripts/webkitpy/steps/promptforbugortitle.py: Added.
3494 * Scripts/webkitpy/steps/revertrevision.py: Added.
3495 * Scripts/webkitpy/steps/runtests.py: Added.
3496 * Scripts/webkitpy/steps/steps_unittest.py: Added.
3497 * Scripts/webkitpy/steps/update.py: Added.
3498 * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py: Added.
3499 * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: Added.
3500 * Scripts/webkitpy/stepsequence.py:
3502 2010-01-04 Daniel Bates <dbates@webkit.org>
3504 Reviewed by Eric Seidel.
3506 https://bugs.webkit.org/show_bug.cgi?id=33097
3508 Cleans up the File menu to better conform to the File menu in Safari
3509 both in terms of options and keyboard shortcuts. Adds a "Quit" menu
3510 options to close all open windows. Also, renames the Tools menu to
3513 * QtLauncher/main.cpp:
3514 (MainWindow::setupUI):
3516 2010-01-04 Daniel Bates <dbates@webkit.org>
3518 https://bugs.webkit.org/show_bug.cgi?id=33039
3522 * Scripts/webkitpy/credentials.py:
3523 * Scripts/webkitpy/credentials_unittest.py:
3525 2010-01-04 Daniel Bates <dbates@webkit.org>
3527 Reviewed by Eric Seidel.
3529 https://bugs.webkit.org/show_bug.cgi?id=33039
3531 [bzt] Second attempt to fix an issue where bugzilla-tool dies
3532 when the keychain lookup fails to find an entry for bugs.webkit.org.
3534 * Scripts/webkitpy/credentials.py:
3535 * Scripts/webkitpy/credentials_unittest.py:
3537 2010-01-04 Eric Seidel <eric@webkit.org>
3539 Reviewed by Adam Barth.
3541 Make Rollout an AbstractSequencedCommmand
3542 https://bugs.webkit.org/show_bug.cgi?id=33133
3544 As suggested by Adam in:
3545 https://bugs.webkit.org/show_bug.cgi?id=33131#c2
3547 * Scripts/webkitpy/commands/download.py:
3549 2010-01-04 Eric Seidel <eric@webkit.org>
3551 Reviewed by Adam Barth.
3553 Make all commands AbstractDeclarativeCommmands instead of direct Command subclasses
3554 https://bugs.webkit.org/show_bug.cgi?id=33131
3556 Evenetually we'll probably roll AbstractDeclarativeCommmand directly into Command
3557 but for now we just deploy it everywhere and don't try to fix up the few valid uses
3560 * Scripts/webkitpy/commands/download.py:
3561 * Scripts/webkitpy/commands/queries.py:
3562 * Scripts/webkitpy/commands/upload.py:
3563 * Scripts/webkitpy/multicommandtool.py:
3565 2010-01-03 Adam Barth <abarth@webkit.org>
3567 Unreviewed "build" fix. Need to import ScriptError.
3569 * Scripts/webkitpy/buildsteps.py:
3571 2010-01-03 Adam Barth <abarth@webkit.org>
3573 Reviewed by Eric Seidel.
3575 [bzt] Make it easier to run submit-patch when previous run cancelled
3576 https://bugs.webkit.org/show_bug.cgi?id=33070
3578 This patch renames create-review to submit-patch (as requested by
3581 This patch makes it easier to run submit-patch after the user has
3582 already cancelled a previous run of submit-patch by detecting when we
3583 already have ChangeLogs and reading the bug number from them (and not
3584 attempting to recreate them). Aside from performance and the extra
3585 edit step, this command should not subsume post-dif.
3587 Also, added a --email command line argument so that the output of
3588 prepare-ChangeLog makes sense when it can't find the user's email
3591 * Scripts/webkitpy/bugzilla.py:
3592 * Scripts/webkitpy/buildsteps.py:
3593 * Scripts/webkitpy/commands/upload.py:
3594 * Scripts/webkitpy/commands/upload_unittest.py:
3595 * Scripts/webkitpy/mock_bugzillatool.py:
3596 * Scripts/webkitpy/user.py:
3598 2010-01-03 Eric Seidel <eric@webkit.org>
3600 Reviewed by Adam Barth.
3602 Rename Scripts/modules to Scripts/webkitpy
3603 https://bugs.webkit.org/show_bug.cgi?id=33128
3605 Just search-replace and svn mv commands.
3607 * Scripts/bugzilla-tool:
3608 * Scripts/check-webkit-style:
3609 * Scripts/modules: Removed.
3610 * Scripts/modules/BeautifulSoup.py: Removed.
3611 * Scripts/modules/__init__.py: Removed.
3612 * Scripts/modules/bugzilla.py: Removed.
3613 * Scripts/modules/bugzilla_unittest.py: Removed.
3614 * Scripts/modules/buildbot.py: Removed.
3615 * Scripts/modules/buildbot_unittest.py: Removed.
3616 * Scripts/modules/buildsteps.py: Removed.
3617 * Scripts/modules/buildsteps_unittest.py: Removed.
3618 * Scripts/modules/changelogs.py: Removed.
3619 * Scripts/modules/changelogs_unittest.py: Removed.
3620 * Scripts/modules/commands: Removed.
3621 * Scripts/modules/commands/__init__.py: Removed.
3622 * Scripts/modules/commands/commandtest.py: Removed.
3623 * Scripts/modules/commands/download.py: Removed.
3624 * Scripts/modules/commands/download_unittest.py: Removed.
3625 * Scripts/modules/commands/early_warning_system.py: Removed.
3626 * Scripts/modules/commands/early_warning_system_unittest.py: Removed.
3627 * Scripts/modules/commands/queries.py: Removed.
3628 * Scripts/modules/commands/queries_unittest.py: Removed.
3629 * Scripts/modules/commands/queues.py: Removed.
3630 * Scripts/modules/commands/queues_unittest.py: Removed.
3631 * Scripts/modules/commands/queuestest.py: Removed.
3632 * Scripts/modules/commands/upload.py: Removed.
3633 * Scripts/modules/commands/upload_unittest.py: Removed.
3634 * Scripts/modules/comments.py: Removed.
3635 * Scripts/modules/committers.py: Removed.
3636 * Scripts/modules/committers_unittest.py: Removed.
3637 * Scripts/modules/cpp_style.py: Removed.
3638 * Scripts/modules/cpp_style_unittest.py: Removed.
3639 * Scripts/modules/credentials.py: Removed.
3640 * Scripts/modules/credentials_unittest.py: Removed.
3641 * Scripts/modules/diff_parser.py: Removed.
3642 * Scripts/modules/diff_parser_unittest.py: Removed.
3643 * Scripts/modules/executive.py: Removed.
3644 * Scripts/modules/executive_unittest.py: Removed.
3645 * Scripts/modules/grammar.py: Removed.
3646 * Scripts/modules/mock.py: Removed.
3647 * Scripts/modules/mock_bugzillatool.py: Removed.
3648 * Scripts/modules/multicommandtool.py: Removed.
3649 * Scripts/modules/multicommandtool_unittest.py: Removed.
3650 * Scripts/modules/outputcapture.py: Removed.
3651 * Scripts/modules/patchcollection.py: Removed.
3652 * Scripts/modules/queueengine.py: Removed.
3653 * Scripts/modules/queueengine_unittest.py: Removed.
3654 * Scripts/modules/scm.py: Removed.
3655 * Scripts/modules/scm_unittest.py: Removed.
3656 * Scripts/modules/statusbot.py: Removed.
3657 * Scripts/modules/stepsequence.py: Removed.
3658 * Scripts/modules/style: Removed.
3659 * Scripts/modules/style.py: Removed.
3660 * Scripts/modules/style_unittest.py: Removed.
3661 * Scripts/modules/text_style.py: Removed.
3662 * Scripts/modules/text_style_unittest.py: Removed.
3663 * Scripts/modules/user.py: Removed.
3664 * Scripts/modules/webkit_logging.py: Removed.
3665 * Scripts/modules/webkit_logging_unittest.py: Removed.
3666 * Scripts/modules/webkit_mechanize.py: Removed.
3667 * Scripts/modules/webkitport.py: Removed.
3668 * Scripts/modules/webkitport_unittest.py: Removed.
3669 * Scripts/test-webkit-python: Removed.
3670 * Scripts/test-webkitpy: Copied from WebKitTools/Scripts/test-webkit-python.
3671 * Scripts/validate-committer-lists:
3672 * Scripts/webkitpy: Copied from WebKitTools/Scripts/modules.
3673 * Scripts/webkitpy/bugzilla.py:
3674 * Scripts/webkitpy/bugzilla_unittest.py:
3675 * Scripts/webkitpy/buildbot.py:
3676 * Scripts/webkitpy/buildbot_unittest.py:
3677 * Scripts/webkitpy/buildsteps.py:
3678 * Scripts/webkitpy/buildsteps_unittest.py:
3679 * Scripts/webkitpy/commands/commandtest.py:
3680 * Scripts/webkitpy/commands/download.py:
3681 * Scripts/webkitpy/commands/download_unittest.py:
3682 * Scripts/webkitpy/commands/early_warning_system.py:
3683 * Scripts/webkitpy/commands/early_warning_system_unittest.py:
3684 * Scripts/webkitpy/commands/queries.py:
3685 * Scripts/webkitpy/commands/queries_unittest.py:
3686 * Scripts/webkitpy/commands/queues.py:
3687 * Scripts/webkitpy/commands/queues_unittest.py:
3688 * Scripts/webkitpy/commands/queuestest.py:
3689 * Scripts/webkitpy/commands/upload.py:
3690 * Scripts/webkitpy/commands/upload_unittest.py:
3691 * Scripts/webkitpy/comments.py:
3692 * Scripts/webkitpy/credentials.py:
3693 * Scripts/webkitpy/credentials_unittest.py:
3694 * Scripts/webkitpy/executive.py:
3695 * Scripts/webkitpy/executive_unittest.py:
3696 * Scripts/webkitpy/mock_bugzillatool.py:
3697 * Scripts/webkitpy/multicommandtool.py:
3698 * Scripts/webkitpy/multicommandtool_unittest.py:
3699 * Scripts/webkitpy/queueengine.py:
3700 * Scripts/webkitpy/queueengine_unittest.py:
3701 * Scripts/webkitpy/scm.py:
3702 * Scripts/webkitpy/scm_unittest.py:
3703 * Scripts/webkitpy/statusbot.py:
3704 * Scripts/webkitpy/stepsequence.py:
3705 * Scripts/webkitpy/webkit_logging_unittest.py:
3706 * Scripts/webkitpy/webkitport_unittest.py:
3708 2010-01-03 Chris Jerdonek <chris.jerdonek@gmail.com>
3710 Reviewed by Eric Seidel.
3712 Added script to test both Perl and Python, and renamed
3713 run-webkit-unittests to test-webkit-python.
3715 https://bugs.webkit.org/show_bug.cgi?id=33045
3717 * Scripts/VCSUtils_unittest.pl:
3718 - Tweaked so it can be run from outside Scripts directory.
3720 * Scripts/run-webkit-unittests: Removed.
3721 - Renamed to test-webkit-python.
3723 * Scripts/test-webkit-perl:
3724 - Tweaked so it can be run from outside Scripts directory.
3726 * Scripts/test-webkit-python: Copied from Scripts/run-webkit-unittests.
3728 * Scripts/test-webkit-scripts: Added.
3729 - Runs both test-webkit-perl and test-webkit-python.
3731 2010-01-03 Adam Barth <abarth@webkit.org>
3733 Reviewed by Eric Seidel.
3735 commit-queue/bugzilla-tool should build both Debug and Release
3736 https://bugs.webkit.org/show_bug.cgi?id=28450
3738 Add a --build-style command that lets the master process tell the child
3739 process to build both debug and release. Eventually we want to teach
3740 the test step to understand this option too, but that's a patch for
3743 * Scripts/modules/buildsteps.py:
3744 * Scripts/modules/commands/queues.py:
3745 * Scripts/modules/webkitport.py:
3746 * Scripts/modules/webkitport_unittest.py:
3748 2010-01-03 Jakub Wieczorek <faw217@gmail.com>
3750 Reviewed by Eric Seidel.
3752 [Qt] EventSender: add support for Enter key events
3753 https://bugs.webkit.org/show_bug.cgi?id=33064
3755 Unskip 5 tests that are fixed now.
3757 * DumpRenderTree/qt/EventSenderQt.cpp:
3758 (EventSender::keyDown):
3760 2010-01-03 Adam Barth <abarth@webkit.org>
3762 Reviewed by Eric Seidel.
3764 [bzt] Add test for previous typo fix
3765 https://bugs.webkit.org/show_bug.cgi?id=33083
3767 A trivial test for a trivial fix, as requested by Eric.
3769 * Scripts/modules/bugzilla_unittest.py:
3771 2010-01-03 Adam Barth <abarth@webkit.org>
3773 Reviewed by Eric Seidel.
3776 https://bugs.webkit.org/show_bug.cgi?id=33072
3778 The mac-ews is slightly different than the other early warning systems
3779 because we can't run Mac OS X inside a VM. For that reason, we only
3780 process patches that were uploaded by committers. This isn't as much
3781 coverage as the other EWS bots, but it's better than nothing.
3783 * Scripts/modules/commands/early_warning_system.py:
3784 * Scripts/modules/commands/early_warning_system_unittest.py:
3785 * Scripts/modules/commands/queues.py:
3786 * Scripts/modules/commands/queuestest.py:
3787 * Scripts/modules/mock_bugzillatool.py:
3789 2010-01-03 Chris Jerdonek <chris.jerdonek@gmail.com>
3791 Reviewed by David Kilzer.
3793 Refactored svn-apply and svn-unapply to use a common "patch"
3794 command method, and added unit tests for this new method.
3796 https://bugs.webkit.org/show_bug.cgi?id=33098
3798 * Scripts/VCSUtils.pm:
3799 - Added generateRunPatchCommand().
3800 - Added runPatchCommand().
3801 - Added exitStatus() from webkitdirs.pm to address FIXME.
3803 * Scripts/VCSUtils_unittest.pl:
3804 - Added 10 unit tests for generateRunPatchCommand().
3805 - Added 4 unit tests for runPatchCommand().
3806 - Added callSilently() method.
3808 * Scripts/svn-apply:
3809 - Refactored applyPatch().
3810 - Removed $pathScriptWasRunFrom global variable.
3811 - Addressed issue where "--force" option was getting added twice.
3813 * Scripts/svn-unapply:
3814 - Refactored applyPatch().
3815 - Removed $pathScriptWasRunFrom global variable.
3816 - Added support for --force option.
3817 - Enhanced to return meaningful exit status.
3819 * Scripts/webkitdirs.pm:
3820 - Moved exitStatus() implementation to VCSUtils.pm.
3822 2009-12-31 Adam Barth <abarth@webkit.org>
3824 Reviewed by Eric Seidel.
3826 [bzt] Implement build-and-test
3827 https://bugs.webkit.org/show_bug.cgi?id=33073
3829 Some of the early warning system bots want to use build-and-test so
3830 they can cover LayoutTests in addition to just compilation.
3832 * Scripts/modules/commands/download.py:
3833 * Scripts/modules/commands/download_unittest.py:
3835 2009-12-31 Adam Barth <abarth@webkit.org>
3837 Reviewed by Eric Seidel.
3839 Show mac-ews status on QueueStatusServer
3840 https://bugs.webkit.org/show_bug.cgi?id=33076
3842 Also make error status purple.
3844 * QueueStatusServer/model/attachment.py:
3845 * QueueStatusServer/model/queues.py:
3846 * QueueStatusServer/templates/dashboard.html:
3847 * QueueStatusServer/templates/statusbubble.html:
3849 2009-12-31 Adam Barth <abarth@webkit.org>
3853 [bzt] REGRESSION: Bugzila is a typo
3854 https://bugs.webkit.org/show_bug.cgi?id=33074
3856 Eric should test his code before landing! :)
3858 * Scripts/modules/bugzilla.py:
3860 2009-12-31 Adam Barth <abarth@webkit.org>
3862 Unreviewed. Fix the unit tests!
3864 * Scripts/run-webkit-unittests:
3866 2009-12-30 Kevin Watters <kevinwatters@gmail.com>
3868 Reviewed by Kevin Ollivier.
3870 [wx] Alter a couple of default settings in the test app.
3872 https://bugs.webkit.org/show_bug.cgi?id=32956
3874 * wx/browser/browser.cpp:
3877 2009-12-30 Eric Seidel <eric@webkit.org>
3879 Reviewed by Adam Barth.
3881 logging.py should be renamed to webkit_logging.py and eventually die
3882 https://bugs.webkit.org/show_bug.cgi?id=33058
3884 Change all imports of "logging" to webkit_logging,
3885 except the ones which came from Google's cpp_lint.py and diff_parser.py
3886 which clearly are assuming python's logging.py.
3888 * Scripts/modules/bugzilla.py:
3889 * Scripts/modules/buildbot.py:
3890 * Scripts/modules/buildsteps.py:
3891 * Scripts/modules/commands/download.py:
3892 * Scripts/modules/commands/queries.py:
3893 * Scripts/modules/commands/queues.py:
3894 * Scripts/modules/commands/upload.py:
3895 * Scripts/modules/credentials.py:
3896 * Scripts/modules/executive.py:
3897 * Scripts/modules/multicommandtool.py:
3898 * Scripts/modules/queueengine.py:
3899 * Scripts/modules/scm.py:
3900 * Scripts/modules/statusbot.py:
3901 * Scripts/modules/stepsequence.py:
3902 * Scripts/modules/webkit_logging.py: Renamed from WebKitTools/Scripts/modules/logging.py.
3903 * Scripts/modules/webkit_logging_unittest.py: Renamed from WebKitTools/Scripts/modules/logging_unittest.py.
3905 2009-12-30 Jakub Wieczorek <faw217@gmail.com>
3907 Reviewed by Simon Hausmann.
3909 [Qt] layoutTestController.pathToLocalResource() should return a path, not an URL
3910 https://bugs.webkit.org/show_bug.cgi?id=33051
3912 Moreover, its primary function is to normalize the path in regard of platform
3913 specific directory separators. Therefore, it can simply make use of the
3914 QDir::toNativeSeparators function.
3916 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3917 (LayoutTestController::pathToLocalResource):
3919 2009-12-30 David D. Kilzer <ddkilzer@webkit.org>
3921 Fix executable bits for r52646
3923 * Scripts/VCSUtils_unittest.pl: Added property svn:executable.
3924 * Scripts/test-webkit-perl: Ditto.
3926 2009-12-29 Chris Jerdonek <chris.jerdonek@gmail.com>
3928 Reviewed by David Kilzer.
3930 Fixed a bug in fixChangeLogPatch, made it work correctly in
3931 more circumstances, and added unit tests.
3933 https://bugs.webkit.org/show_bug.cgi?id=32919
3935 * Scripts/VCSUtils.pm:
3936 Rewrote fixChangeLogPatch.
3938 * Scripts/VCSUtils_unittest.pl: Added.
3939 Added 7 unit tests for fixChangeLogPatch.
3941 * Scripts/test-webkit-perl: Added.
3942 Added test harness for unit tests of Perl code.
3944 2009-12-29 Eric Seidel <eric@webkit.org>
3946 Reviewed by Adam Barth.
3948 Split out BugzillaQueries class from Bugzilla
3949 https://bugs.webkit.org/show_bug.cgi?id=33042
3951 * Scripts/modules/bugzilla.py:
3952 - Split out BugzillaQueries from Bugzilla.
3953 - Try to isolate self.bugzilla usage into helper functions whenever possible.
3954 - Add a bunch of FIXMEs.
3955 - Rename fetch_bug_ids_from_needs_commit_list to fetch_bug_ids_from_pending_commit_list
3956 * Scripts/modules/bugzilla_unittest.py:
3957 - Create a new BugzillaQueriesTest testcase and move logic there.
3958 * Scripts/modules/buildsteps_unittest.py:
3959 - Use Bug 75 instead of 1 since bug 1 doesn't actually exist.
3960 * Scripts/modules/commands/queries.py:
3961 - Update to use bugzilla.queries
3962 * Scripts/modules/commands/queues.py:
3964 * Scripts/modules/commands/upload.py:
3966 * Scripts/modules/mock_bugzillatool.py:
3967 - Add a MockBugzillaQueries.
3968 - Make patches and bugs global privates.
3969 - Let _id_to_object_dictionary take a variable argument list instead of an array.
3971 2009-12-29 Daniel Bates <dbates@webkit.org>
3973 Reviewed by Eric Seidel.
3975 https://bugs.webkit.org/show_bug.cgi?id=33041
3977 Speed up the test method test_read_credentials_with_SVN by not actually
3978 creating an SVN repository to test against (by default). Instead, it is
3979 sufficient to create a temporary directory that does not contain a Git
3982 Also, renamed method test_read_credentials_with_SVN to
3983 test_read_credentials_without_git_repo, to better reflect what it is
3986 * Scripts/modules/credentials_unittest.py:
3988 2009-12-29 Daniel Bates <dbates@webkit.org>
3990 Reviewed by Adam Barth.
3992 https://bugs.webkit.org/show_bug.cgi?id=33039
3994 [bzt] Fixes an issue where bugzilla-tool dies when the keychain lookup
3995 fails to find an entry for bugs.webkit.org.
3997 Under Mac OS X, bugzilla-tool tries to query the keychain and Security
3998 framework (via /usr/sbin/security) for an internet-password entry for
3999 bugs.webkit.org so that it can use it to login to bugs.webkit.org.
4000 However, if no such entry exists then bugzilla-tool dies with an error.
4002 * Scripts/modules/credentials.py: Modified method _parse_security_tool_output to return
4003 [None, None] if /usr/sbin/security cannot find keychain entry for bugs.webkit.org.
4004 * Scripts/modules/credentials_unittest.py: Added method test_security_output_parse_entry_not_found.
4006 2009-12-29 Eric Seidel <eric@webkit.org>
4008 Rubber-stamped by Adam Barth.
4010 Remove unused BugzillaException.
4012 * Scripts/modules/bugzilla.py:
4014 2009-12-29 Eric Seidel <eric@webkit.org>
4016 Reviewed by Adam Barth.
4018 Need a script to assign bugs with r+ patches to committers for landing
4019 https://bugs.webkit.org/show_bug.cgi?id=33009
4021 This is just one more small tool to help in the fight against our
4022 ever-growing list of to-be-committed patches.
4024 * Scripts/modules/bugzilla.py:
4025 - Rename assign_to_email to assigned_to_email (typo).
4026 - Add assigned_to_email() method on Bug.
4027 - Add reassign_bug method.
4028 - Add Bugzilla.unassigned_email, eventually should move to some webkit_config.py module.
4029 * Scripts/modules/bugzilla_unittest.py:
4030 - Update test after assigned_to_email rename.
4031 * Scripts/modules/commands/commandtest.py:
4032 - Call bind_to_tool to that self.tool works in Command testing.
4033 * Scripts/modules/commands/download.py:
4034 - Move AbstractDeclarativeCommmand multicommandtool.py, it should be part of Command.
4035 * Scripts/modules/commands/queries_unittest.py:
4036 - One of the test patches is now posted by "eric@webkit.org" which is a committer.
4037 - Eventually we'll mock out CommitterList and be able to better control what's a committer and what's not.
4038 * Scripts/modules/commands/upload.py:
4039 - Add new assign-to-committer command.
4040 * Scripts/modules/commands/upload_unittest.py:
4041 - Add basic assign-to-committer test.
4042 * Scripts/modules/committers.py:
4043 - Add bugzilla_email() accessor.
4044 * Scripts/modules/committers_unittest.py:
4045 - Test our assumption that bugzilla_email is the first email.
4046 * Scripts/modules/mock_bugzillatool.py:
4047 - Add _id_to_object_dictionary for generating bug_cache from list of bugs.
4048 - Remove unused fetch_attachments_from_bug.
4049 - Add fetch_bug support and a bug_cache.
4050 * Scripts/modules/multicommandtool.py:
4051 - Move AbstractDeclarativeCommmand here from download.py
4053 2009-12-29 Adam Barth <abarth@webkit.org>
4055 Reviewed by Eric Seidel.
4057 [bzt] Don't crash if user types a number during PromptForBugOrTitleStep
4058 https://bugs.webkit.org/show_bug.cgi?id=33038
4060 Simple fix with test.
4062 * Scripts/modules/buildsteps.py:
4063 * Scripts/modules/buildsteps_unittest.py:
4065 2009-12-29 Adam Barth <abarth@webkit.org>
4067 Reviewed by Eric Seidel.
4069 [bzt] post-diff requires reading to the end
4070 https://bugs.webkit.org/show_bug.cgi?id=33036
4072 Catch the IOError caused by not reading to the end of the diff. We
4073 don't have a good way to test this currently.
4075 * Scripts/modules/user.py:
4077 2009-12-29 Chang Shu <Chang.Shu@nokia.com>
4079 Reviewed by Adam Barth.
4081 [Qt] Move logic that handles Qt headers before primary headers
4082 so that Qt headers won't be treated as primary headers by mistake.
4083 https://bugs.webkit.org/show_bug.cgi?id=32991
4085 * Scripts/modules/cpp_style.py:
4086 * Scripts/modules/cpp_style_unittest.py:
4088 2009-12-29 Eric Seidel <eric@webkit.org>
4090 Reviewed by Adam Barth.
4092 Add the start of a Bug object for bugzilla.py
4093 https://bugs.webkit.org/show_bug.cgi?id=32995
4095 This allowed us to get rid of some duplicated "is_obsolete" checks.
4097 * Scripts/modules/bugzilla.py:
4098 - Add a new Bug class, and move patches/unreviewed_patches filtering logic there.
4099 - Add _fetch_bug_page for possible future mocking.
4100 (I did not try to test fetch_*_from_bug now due to difficulties with our current validate_reviewer logic.)
4101 - Rename fetch_bug to fetch_bug_dictionary and add a new fetch_bug which returns a Bug object.
4102 - Use fetch_bug and attachments(), patches(), etc. instead of custom fetch_*_from_bug methods.
4103 - Reduce code in fetch_patches_from_pending_commit_list and fetch_patches_from_review_queue
4104 using list comprehensions. Use a sum(list, []) trick to flatten a list of lists into a single list.
4105 * Scripts/modules/bugzilla_unittest.py:
4106 - Remove an unneeded unicode string marker.
4107 * Scripts/modules/buildsteps.py:
4108 - define __all__ to include just the BuildSteps
4109 * Scripts/modules/commands/download.py:
4110 - import * now that we have an __all__ defined.
4111 * Scripts/modules/commands/upload.py:
4112 - Use fetch_bug_dictionary instead of fetch_bug.
4114 2009-12-29 Daniel Bates <dbates@webkit.org>
4116 Reviewed by Ariya Hidayat.
4118 https://bugs.webkit.org/show_bug.cgi?id=32925
4120 Adds an Open File dialog to make it convenient to open a file
4121 to view in the browser.
4123 Currently a person must either specify the path to a file as a
4124 command-line argument or type a file URL. Instead, we should
4125 have a file dialog to allow a person to open a file without
4126 memorizing its path.
4128 * QtLauncher/main.cpp:
4129 (MainWindow::MainWindow): Changed urlEdit->setText(qurl.toEncoded())
4130 to urlEdit->setText(qurl.toString()).
4131 (MainWindow::openFile): Added.
4132 (MainWindow::changeLocation): Moved code to load URL into method
4133 MainWindow::loadURL.
4134 (MainWindow::loadURL): Added.
4135 (MainWindow::setupUI): Added menu item Open File.
4137 2009-12-29 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
4139 Reviewed by Holger Freyther.
4141 [GTK] fails fast/harness/use-page-cache.html
4142 https://bugs.webkit.org/show_bug.cgi?id=33013
4144 Make sure settings are forwarded to child WebViews.
4146 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4149 2009-12-29 Daniel Bates <dbates@webkit.org>
4151 Reviewed by Eric Seidel.
4153 https://bugs.webkit.org/show_bug.cgi?id=32778
4155 Changes $diffPercentage to be a number to resolve Perl
4156 warning about comparing a string to a number.
4158 * Scripts/run-webkit-tests:
4160 2009-12-29 Jakub Wieczorek <faw217@gmail.com>
4162 Reviewed by Eric Seidel.
4164 [Qt] DRT: Frame loader callbacks differ from the Mac port
4165 https://bugs.webkit.org/show_bug.cgi?id=32989
4167 Remove messages from the callbacks that should not dump them to match
4168 the expected results for the http/loading tests.
4170 Unskip some http/loading tests which succeed now.
4172 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
4173 (WebCore::DumpRenderTree::dump):
4175 2009-12-29 Robert Hogan <robert@roberthogan.net>
4177 Reviewed by Eric Seidel.
4179 [Qt] fix fast/dom/Window/window-onFocus.html
4181 Add support for layouttestcontroller.windowIsKey to Qt DRT and fix issue where
4182 window.onblur was getting dispatched twice from QtWebKit.
4184 https://bugs.webkit.org/show_bug.cgi?id=32990
4186 * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
4187 (WebCore::DumpRenderTree::DumpRenderTree):
4188 (WebCore::DumpRenderTree::switchFocus):
4189 * DumpRenderTree/qt/DumpRenderTreeQt.h:
4190 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
4191 (LayoutTestController::setWindowIsKey):
4192 (LayoutTestController::setMainFrameIsFirstResponder):
4193 * DumpRenderTree/qt/LayoutTestControllerQt.h:
4195 2009-12-28 Kinuko Yasuda <kinuko@chromium.org>
4197 Reviewed by Maciej Stachowiak.
4199 Extended EventSender.keyDown method to take another (3rd) argument
4200 for indicating the keyLocation to make numeric pad key events testable.
4201 Expected values for the argument is one of the KeyLocationCode
4202 specified in DOM Level 3
4203 (http://www.w3.org/TR/DOM-Level-3-Events/#events-keyboardevents).
4204 https://bugs.webkit.org/show_bug.cgi?id=28247
4206 Test: fast/events/keydown-numpad-keys.html
4208 * DumpRenderTree/mac/EventSendingController.mm:
4209 (+[EventSendingController isSelectorExcludedFromWebScript:]):
4210 (+[EventSendingController webScriptNameForSelector:]):
4211 (-[EventSendingController keyDown:withModifiers:withLocation:]):
4213 2009-12-28 Ariya Hidayat <ariya.hidayat@gmail.com>
4215 Unreviewed, update my email address.
4217 * Scripts/modules/committers.py:
4219 2009-12-28 Laszlo Gombos <laszlo.1.gombos@nokia.com>
4221 Reviewed by Adam Barth.
4223 [Qt] Fix build break for Qt 4.4
4224 https://bugs.webkit.org/show_bug.cgi?id=30327
4226 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: Include QLocale
4227 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Ditto.
4228 * QtLauncher/main.cpp:
4229 (MainWindow::MainWindow): Qt::WA_TranslucentBackground was
4230 introduced in Qt version 4.5
4232 2009-12-28 Adam Barth <abarth@webkit.org>
4234 Reviewed by Eric Seidel.
4236 [bzt] Add an edit-changelog command
4237 https://bugs.webkit.org/show_bug.cgi?id=32986
4239 This command makes it easier to edit ChangeLogs. It's similar to
4240 prepare-ChangeLog -o, except it works with already existing ChangeLogs.
4242 * Scripts/modules/commands/upload.py:
4243 * Scripts/modules/commands/upload_unittest.py:
4245 2009-12-28 Adam Barth <abarth@webkit.org>
4247 Reviewed by Eric Seidel.
4249 [bzt] Create an ASAD command for uploading a patch
4250 https://bugs.webkit.org/show_bug.cgi?id=32979
4252 The create-review command goes through the whole process of preparing a
4253 code review, including creating a bug, editing the ChangeLogs, and
4254 uploading the patch. It is indeed the All Sing, All Dance upload
4257 * Scripts/modules/buildsteps.py:
4258 * Scripts/modules/commands/upload.py:
4259 * Scripts/modules/commands/upload_unittest.py:
4260 * Scripts/modules/mock_bugzillatool.py:
4261 * Scripts/modules/user.py: