1 2009-12-02 Adam Barth <abarth@webkit.org>
3 Unreviewed "build" fix. Forgot to declare my variables. :(
5 * QueueStatusServer/queue_status.py:
7 2009-12-02 Adam Barth <abarth@webkit.org>
9 Reviewed by Eric Seidel.
11 [bzt] Implement status bubble view
12 https://bugs.webkit.org/show_bug.cgi?id=32057
14 The status bubble is a compact representation of the queue status for a
15 given patch. This will eventually help us reduce the comment spam from
18 * QueueStatusServer/index.html: Added HTML5 doctype for sanity.
19 * QueueStatusServer/queue_status.py:
20 * QueueStatusServer/status_bubble.html: Added.
22 2009-12-02 Eric Seidel <eric@webkit.org>
24 Reviewed by Adam Barth.
26 trim commands/*.py includes now that commands are unit tested
27 https://bugs.webkit.org/show_bug.cgi?id=32056
29 In the course of ensuring that the unit tests still
30 passed after this change, I had to actually make them
31 pass in the first place.
33 * Scripts/modules/bugzilla.py:
34 - Fix _parse_attachment_ids_request_query to return ints instead of strings.
35 * Scripts/modules/commands/download.py: Remove unneeded imports.
36 * Scripts/modules/commands/queries.py: Ditto.
37 * Scripts/modules/commands/queues.py: Ditto.
38 * Scripts/modules/commands/upload.py: Ditto.
39 * Scripts/modules/scm_unittest.py:
40 - Fix to expect the \n after the path since echo adds an \n.
42 2009-12-01 Yaar Schnitman <yaar@chromium.org>
44 build-webkit: Remove flex,bison,gperf check for chromium
45 https://bugs.webkit.org/show_bug.cgi?id=32043
47 * Scripts/webkitdirs.pm:
49 2009-12-01 Chris Fleizach <cfleizach@apple.com>
51 Build fixage for Windows/GTK for DumpRenderTree.
53 WAI-ARIA: implement support for ARIA drag and drop
54 https://bugs.webkit.org/show_bug.cgi?id=32007
56 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
57 (AccessibilityUIElement::ariaIsGrabbed):
58 (AccessibilityUIElement::ariaDropEffects):
59 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
60 (AccessibilityUIElement::ariaIsGrabbed):
61 (AccessibilityUIElement::ariaDropEffects):
63 2009-12-01 Chris Fleizach <cfleizach@apple.com>
65 Reviewed by Darin Adler.
67 WAI-ARIA: implement support for ARIA drag and drop
68 https://bugs.webkit.org/show_bug.cgi?id=32007
70 * DumpRenderTree/AccessibilityUIElement.cpp:
71 (getARIADropEffectsCallback):
72 (getARIAIsGrabbedCallback):
73 (AccessibilityUIElement::getJSClass):
74 * DumpRenderTree/AccessibilityUIElement.h:
75 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
76 (AccessibilityUIElement::ariaIsGrabbed):
77 (AccessibilityUIElement::ariaDropEffects):
79 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
81 Not reviewed. GTK DRT try 2.
83 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
84 (LayoutTestController::sampleSVGAnimationForElementAtTime):
86 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
88 Not reviewed. Try to fix gtk DRT build.
90 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
92 2009-12-01 David Levin <levin@chromium.org>
94 Reviewed by Eric Seidel.
96 check-webkit-style does not understand (Prefix)Foo(Custom|Gtk|CG|Mac).cpp including Foo.h
97 https://bugs.webkit.org/show_bug.cgi?id=32033
99 * Scripts/modules/cpp_style.py: Changed check for a possible primary header to use find
100 instead of startswith.
101 * Scripts/modules/cpp_style_unittest.py: Added a unit test for the new behavior.
103 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
105 Not reviewed. Qt build almost fixed, DumpRenderTree should compile now as well.
107 * DumpRenderTree/qt/LayoutTestControllerQt.h: Update old function signature.
109 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
111 Reviewed by Simon Fraser.
113 Add SVG animation test framework with 'snapshot' functionality
114 https://bugs.webkit.org/show_bug.cgi?id=31897
116 Add new 'sampleSVGAnimationForElementAtTime' DRT method,
117 used by the new SVG animation testing framework, implemented
120 * DumpRenderTree/LayoutTestController.cpp:
121 (sampleSVGAnimationForElementAtTimeCallback):
122 (LayoutTestController::staticFunctions):
123 * DumpRenderTree/LayoutTestController.h:
124 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
125 (LayoutTestController::sampleSVGAnimationForElementAtTime):
126 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
127 (LayoutTestController::sampleSVGAnimationForElementAtTime):
128 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
129 (LayoutTestController::sampleSVGAnimationForElementAtTime):
130 * DumpRenderTree/qt/LayoutTestControllerQt.h:
131 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
132 (LayoutTestController::sampleSVGAnimationForElementAtTime):
133 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
134 (LayoutTestController::sampleSVGAnimationForElementAtTime):
136 2009-12-01 Adam Roben <aroben@apple.com>
138 Remove user content before running each test on Windows
140 Fixes <http://webkit.org/b/31479> Make websocket tests work on Windows
142 Reviewed by Alexey Proskuryakov.
144 * DumpRenderTree/win/DumpRenderTree.cpp:
145 (resetWebViewToConsistentStateBeforeTesting): Remove all user content
146 before each test, which matches Mac.
148 2009-12-01 Yuzo Fujishima <yuzo@google.com>
150 Reviewed by Alexey Proskuryakov.
152 Make pywebsocket log errors to a file
153 https://bugs.webkit.org/show_bug.cgi?id=31604
155 * Scripts/run-webkit-tests: Log output to a pywebsocket_log.txt file in results directory
156 (by passing the path to the server via a recently added -l option).
158 2009-12-01 Adam Roben <aroben@apple.com>
160 Fix tests that use the TestNetscapePlugin in Debug_Internal builds
162 Reviewed by Ada Chan.
164 Fixes <http://webkit.org/b/32027> REGRESSION (r49705): Tests that use
165 TestNetscapePlugin fail in Debug_Internal builds
167 * DumpRenderTree/win/DumpRenderTree.cpp: Use the "_Debug" plugin
168 directory in Debug and Debug_All builds, but not in Debug_Internal
171 2009-12-01 Adam Roben <aroben@apple.com>
173 Re-enable DRT's watchdog timer on Windows
175 It was accidentally disabled in r50907.
177 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
178 (LayoutTestController::setWaitToDump): Remove a "false &&" that snuck
179 into an if condition.
181 2009-12-01 Adam Barth <abarth@webkit.org>
183 Reviewed by Eric Seidel.
185 check-webkit-style complains about #imports with / in them
186 https://bugs.webkit.org/show_bug.cgi?id=32022
188 We need to exclude #import directives in addition to #include from the
189 binary operator whitespace checks.
191 * Scripts/modules/cpp_style.py:
192 * Scripts/modules/cpp_style_unittest.py:
194 2009-11-30 Adam Barth <abarth@webkit.org>
196 Reviewed by Eric Seidel.
198 check-webkit-style is slightly too verbose
199 https://bugs.webkit.org/show_bug.cgi?id=32010
201 check-webkit-style prints out a bunch of "done" lines that seem redundant,
202 especially for the style-queue.
204 * Scripts/modules/cpp_style.py:
206 2009-11-30 Alejandro G. Castro <alex@igalia.com>
208 Reviewed by Eric Seidel.
210 [GTK] Moved the functions that are closing the result log of the
211 tests to the last line of the runTest function, this avoids
212 reporting crashes in the wrong test if there is a problem when
213 reseting the state after the test.
215 * DumpRenderTree/gtk/DumpRenderTree.cpp:
219 2009-11-30 Sam Weinig <sam@webkit.org>
221 Reviewed by Geoffrey Garen.
223 Fix for https://bugs.webkit.org/show_bug.cgi?id=31286
224 fast/js/date-proto-generic-invocation breaks another test
226 Don't cache JSClassRefs, a change to the prototype chain will
229 * DumpRenderTree/AccessibilityController.cpp:
230 (AccessibilityController::getJSClass):
231 * DumpRenderTree/GCController.cpp:
232 (GCController::getJSClass):
233 * DumpRenderTree/GCController.h:
234 * DumpRenderTree/LayoutTestController.cpp:
235 (LayoutTestController::getJSClass):
237 2009-11-30 Yuzo Fujishima <yuzo@google.com>
239 Reviewed by Alexey Proskuryakov.
241 Update pywebsocket to 0.4.2.1.
242 This is to fix a bug that some messages are logged to stderr even when the log file is specified.
243 https://bugs.webkit.org/show_bug.cgi?id=31976
245 * pywebsocket/mod_pywebsocket/standalone.py:
246 * pywebsocket/setup.py:
248 2009-11-30 Adam Barth <abarth@webkit.org>
250 Reviewed by Eric Seidel.
252 [bzt] Generate pass messages for style-queue
253 https://bugs.webkit.org/show_bug.cgi?id=31995
255 With this change, the style-queue posts "pass" messages to bugs as
256 well. Also, added more information to the state store w.r.t. passing
259 * Scripts/modules/commands/queues.py:
260 * Scripts/modules/patchcollection.py:
262 2009-11-30 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
264 Reviewed by Simon Fraser.
266 Check for WEBKIT_TESTFONTS environment variable in
267 run-webkit-tests, for GTK+, to have a more prominent error
270 * Scripts/run-webkit-tests:
272 2009-11-30 Yaar Schnitman <yaar@chromium.org>
274 Reviewed by Dimitri Glazkov.
276 update-webkit --chromium forces gclient sync
278 https://bugs.webkit.org/show_bug.cgi?id=31967
280 * Scripts/update-webkit-chromium:
282 2009-11-29 Eric Seidel <eric@webkit.org>
284 Add Erik Arvidsson to committers.py since by r51326 he clear has commit rights.
286 * Scripts/modules/committers.py:
288 2009-11-29 Eric Seidel <eric@webkit.org>
290 No review, just adding missing svn property.
292 Set svn:executable property on new scripts.
293 These were added by commit-queue commits, but the executable
294 property was lost due to a bug in svn-apply:
295 https://bugs.webkit.org/show_bug.cgi?id=27204
297 * Scripts/update-webkit-chromium: Added property svn:executable.
298 * Scripts/validate-committer-lists: Added property svn:executable.
300 2009-11-29 Eric Seidel <eric@webkit.org>
302 Reviewed by Adam Barth.
304 Need a way to validate that committers.py includes all committers/reviewers
305 https://bugs.webkit.org/show_bug.cgi?id=30970
307 Add a script which knows how to compare our public committer/reviewer
308 lists and show discrepancies between them.
310 Validates mailing lists vs. committers.py:
311 - committers.py committers missing from webkit-committers@lists
312 - webkit-committers@lists members missing from committers.py
313 - committers.py reviewers missing from webkit-reviewers@lists
314 - webkit-reviewers@lists members missing from committers.py
315 - webkit-reviewers@lists members missing from committers.py reviewer list
317 Validates committers.py vs. trunk/ SVN history:
318 - committers who have not committed in over a year
319 - SVN committers missing from committers.py
320 - committers.py members who have no record in SVN.
322 All of these lists still show "false positives" until a few more committers.py updates are made, like:
323 https://bugs.webkit.org/show_bug.cgi?id=31366
325 * Scripts/validate-committer-lists: Added.
327 2009-11-28 Adam Barth <abarth@webkit.org>
329 Reviewed by Eric Seidel.
331 [bzt] style-queue sends ~100 requests to QueueStatusServer every 5 minutes
332 https://bugs.webkit.org/show_bug.cgi?id=31950
334 Now we cache the last status that we get back from QueueStatusServer.
335 Eventually we'll have to do something more fancy if we want to support
336 a "try again" button on QueueStatusServer, but we can cross that bridge
339 * Scripts/modules/patchcollection.py:
341 2009-11-28 Adam Barth <abarth@webkit.org>
343 Reviewed by Eric Seidel.
345 StyleQueue scans ~100 bug pages every 5 minutes
346 https://bugs.webkit.org/show_bug.cgi?id=31947
348 Instead of getting the pending-review attachment ids by scanning each
349 bug (which results in a network request), we should just get them all
350 from webkit.org/pending-review in one shot.
352 * Scripts/modules/bugzilla.py:
353 * Scripts/modules/bugzilla_unittest.py:
354 * Scripts/modules/commands/queries.py:
355 * Scripts/modules/commands/queries_unittest.py:
356 * Scripts/modules/commands/queues.py:
357 * Scripts/modules/mock_bugzillatool.py:
358 * Scripts/modules/patchcollection.py:
360 2009-11-28 Adam Barth <abarth@webkit.org>
362 Reviewed by Eric Seidel.
364 [bzt] CC webkit-bot-watchers whenever the bots touch bugs
365 https://bugs.webkit.org/show_bug.cgi?id=31952
367 The mailing list is open for anyone to subscribe.
369 * Scripts/modules/bugzilla.py:
370 * Scripts/modules/commands/queues.py:
372 2009-11-28 Adam Barth <abarth@webkit.org>
374 Reviewed by Eric Seidel.
376 [bzt] style-queue should report style errors to bugzilla
377 https://bugs.webkit.org/show_bug.cgi?id=31945
379 Currently, we're just logging the style errors locally. With this
380 patch we'll actually log the errors to bugzilla. Note: I plan to run
381 with the "local-only" logging during development.
383 * Scripts/modules/commands/queues.py:
384 * Scripts/modules/scm.py:
386 2009-11-28 Adam Barth <abarth@webkit.org>
388 Reviewed by Eric Seidel.
390 [bzt] style-queue shouldn't reject patches from the commit-queue
391 https://bugs.webkit.org/show_bug.cgi?id=31944
393 Currently the style-queue subprocess gets confused and thinks its the
394 commit-queue. If the patch has an error, it rejects it from the
395 commit-queue. Instead, we should have style-queue specific logic.
396 This patch doesn't add that logic, but it gives us a callback we can
397 use to add that logic.
399 * Scripts/modules/buildsteps.py:
400 * Scripts/modules/commands/queues.py:
401 * Scripts/modules/landingsequence.py:
403 2009-11-27 Adam Barth <abarth@webkit.org>
405 Rubber stamped by Eric Seidel.
407 Rename CommitQueueStatus to QueueStatusServer to allow for more queues.
409 * CommitQueueStatus: Removed.
410 * CommitQueueStatus/app.yaml: Removed.
411 * CommitQueueStatus/filters: Removed.
412 * CommitQueueStatus/filters/__init__.py: Removed.
413 * CommitQueueStatus/filters/webkit_extras.py: Removed.
414 * CommitQueueStatus/index.html: Removed.
415 * CommitQueueStatus/index.yaml: Removed.
416 * CommitQueueStatus/queue_status.py: Removed.
417 * CommitQueueStatus/stylesheets: Removed.
418 * CommitQueueStatus/stylesheets/main.css: Removed.
419 * CommitQueueStatus/update_status.html: Removed.
420 * QueueStatusServer: Copied from WebKitTools/CommitQueueStatus.
422 2009-11-27 Adam Barth <abarth@webkit.org>
424 Reviewed by Eric Seidel.
426 style-queue should only process each patch once
427 https://bugs.webkit.org/show_bug.cgi?id=31939
429 Actually address reviewer comments!
431 * Scripts/bugzilla-tool:
433 2009-11-27 Adam Barth <abarth@webkit.org>
435 Reviewed by Eric Seidel.
437 [bzt] style-queue fails to apply a bunch of patches for no reason
438 https://bugs.webkit.org/show_bug.cgi?id=31942
440 By passing --non-interactive to check-style, we convince check-style
441 to pass --force to svn-apply, which lets it apply more patches.
443 * Scripts/modules/commands/queues.py:
445 2009-11-27 Adam Barth <abarth@webkit.org>
447 Reviewed by Eric Seidel.
449 [bzt] Support --status-host in style-queue
450 https://bugs.webkit.org/show_bug.cgi?id=31941
452 * Scripts/modules/commands/queues.py:
453 * Scripts/modules/statusbot.py:
455 2009-11-27 Adam Barth <abarth@webkit.org>
457 Reviewed by Eric Seidel.
459 style-queue should only process each patch once
460 https://bugs.webkit.org/show_bug.cgi?id=31939
462 Before processing a patch, the try-queues now ask the web service
463 whether they have already processed the patch. This is an initial cut
464 of this functionality. I expect we're make it richer over time.
466 * Scripts/bugzilla-tool:
467 * Scripts/modules/commands/queues.py:
468 * Scripts/modules/patchcollection.py:
470 2009-11-27 Adam Barth <abarth@webkit.org>
472 Reviewed by Eric Seidel.
474 PatchStatus does not return status
475 https://bugs.webkit.org/show_bug.cgi?id=31938
477 We need to parse attachment_id as an int. Otherwise, we can't find
478 anything in the datastore.
480 * CommitQueueStatus/queue_status.py:
482 2009-11-27 Adam Barth <abarth@webkit.org>
484 Reviewed by Eric Seidel.
486 Make commit-queue status not throw an exception where there is not
488 https://bugs.webkit.org/show_bug.cgi?id=31936
490 We need to actually fetch the results of the query to see what's in the
493 * CommitQueueStatus/queue_status.py:
495 2009-11-27 Adam Barth <abarth@webkit.org>
497 Reviewed by Eric Seidel.
499 [bzt] unit test ApplyPatches and ApplyAttachment
500 https://bugs.webkit.org/show_bug.cgi?id=31935
502 * Scripts/modules/commands/download.py:
503 * Scripts/modules/commands/download_unittest.py:
505 2009-11-27 Adam Barth <abarth@webkit.org>
507 Reviewed by Eric Seidel.
509 [bzt] Unit test download commands
510 https://bugs.webkit.org/show_bug.cgi?id=31923
512 Adds download_unittest and fixes a bug found while testing.
514 * Scripts/modules/commands/commandtest.py:
515 * Scripts/modules/commands/download.py:
516 Fixed a bug where we'd throw an error because [].append returns
518 * Scripts/modules/commands/download_unittest.py: Added.
519 * Scripts/modules/mock_bugzillatool.py:
520 * Scripts/run-webkit-unittests:
522 2009-11-27 Adam Barth <abarth@webkit.org>
524 Unreviewed "build" fix found while writing unit tests.
526 * Scripts/modules/commands/download.py:
528 2009-11-27 Adam Barth <abarth@webkit.org>
530 Reviewed by Eric Seidel.
532 [bzt] Kill WebKitLandingScripts
533 https://bugs.webkit.org/show_bug.cgi?id=31904
535 Step 6: Kill the rest.
537 * Scripts/modules/buildsteps.py:
538 * Scripts/modules/commands/download.py:
539 * Scripts/modules/commands/queries.py:
540 * Scripts/modules/commands/upload.py:
541 * Scripts/modules/landingsequence.py:
542 * Scripts/modules/scm.py:
543 * Scripts/modules/webkitlandingscripts.py: Removed.
545 2009-11-27 Adam Barth <abarth@webkit.org>
547 Reviewed by Eric Seidel.
549 [bzt] Unit test upload commands
550 https://bugs.webkit.org/show_bug.cgi?id=31903
552 Adds unit tests for all but two of the upload commands. The two
553 remaining ones are more difficult. I'll return to them later. The
554 goal of these tests is just to run the commands. We can test more
555 detailed behavior later.
557 * Scripts/modules/commands/commandtest.py:
558 * Scripts/modules/commands/upload.py:
559 * Scripts/modules/commands/upload_unittest.py:
560 * Scripts/modules/mock.py: Added.
561 * Scripts/modules/mock_bugzillatool.py:
563 2009-11-26 Adam Barth <abarth@webkit.org>
565 Reviewed by Eric Seidel.
567 [bzt] Kill WebKitLandingScripts
568 https://bugs.webkit.org/show_bug.cgi?id=31904
570 Step 5: Kill run_and_throw_if_fail.
572 * Scripts/modules/buildsteps.py:
573 * Scripts/modules/processutils.py: Added.
574 * Scripts/modules/webkitlandingscripts.py:
576 2009-11-26 Adam Barth <abarth@webkit.org>
578 Reviewed by Eric Seidel.
580 [bzt] Kill WebKitLandingScripts
581 https://bugs.webkit.org/show_bug.cgi?id=31904
583 Step 4: Kill run_webkit_script.
585 * Scripts/modules/buildsteps.py:
586 * Scripts/modules/commands/download.py:
587 * Scripts/modules/webkitlandingscripts.py:
589 2009-11-26 Adam Barth <abarth@webkit.org>
591 Reviewed by Eric Seidel.
593 [bzt] Kill WebKitLandingScripts
594 https://bugs.webkit.org/show_bug.cgi?id=31904
596 Step 3: Kill build_webkit.
598 * Scripts/modules/buildsteps.py:
599 * Scripts/modules/landingsequence.py:
600 * Scripts/modules/webkitlandingscripts.py:
602 2009-11-26 Adam Barth <abarth@webkit.org>
604 Reviewed by Eric Seidel.
606 [bzt] Kill WebKitLandingScripts
607 https://bugs.webkit.org/show_bug.cgi?id=31904
609 Step 2: Kill ensure_builders_are_green.
611 * Scripts/modules/buildsteps.py:
612 * Scripts/modules/commands/download.py:
613 * Scripts/modules/landingsequence.py:
614 * Scripts/modules/webkitlandingscripts.py:
616 2009-11-26 Adam Barth <abarth@webkit.org>
618 Reviewed by Eric Seidel.
620 [bzt] Kill WebKitLandingScripts
621 https://bugs.webkit.org/show_bug.cgi?id=31904
623 Step 1: Kill prepare_clean_working_directory and run_webkit_tests.
625 * Scripts/bugzilla-tool:
626 * Scripts/modules/buildsteps.py: Added.
627 * Scripts/modules/commands/download.py:
628 * Scripts/modules/landingsequence.py:
629 * Scripts/modules/webkitlandingscripts.py:
631 2009-11-26 Zoltan Horvath <zoltan@webkit.org>
633 Reviewed by Adam Barth.
635 Remove directory prefixes from linux commands
637 SCM unittests can cause errors on some systems if we use absolute reference to
638 the commands, so directory prefixes have been removed.
640 * Scripts/modules/scm_unittest.py:
642 2009-11-21 Holger Hans Peter Freyther <zecke@selfish.org>
644 Reviewed by Kenneth Rohde Christiansen.
646 Link DumpRenderTree to the Qt Ui Tools
647 https://bugs.webkit.org/show_bug.cgi?id=31203
649 Implement QWebPage::createPlugin using the Qt Ui Tools
650 to be able to create classes like QProgressBar from within
651 the <object></object> tags This is required for the
652 new automatic test of Qt Plugins.
654 * DumpRenderTree/qt/DumpRenderTree.cpp:
655 (WebCore::WebPage::createPlugin):
656 * DumpRenderTree/qt/DumpRenderTree.h:
657 * DumpRenderTree/qt/DumpRenderTree.pro:
659 2009-11-25 Yuzo Fujishima <yuzo@google.com>
661 Reviewed by Eric Seidel.
663 Update pywebsocket to 0.4.2
665 Update pywebsocket to 0.4.2
666 https://bugs.webkit.org/show_bug.cgi?id=31861
668 * pywebsocket/example/echo_client.py:
669 * pywebsocket/example/echo_wsh.py:
670 * pywebsocket/mod_pywebsocket/__init__.py:
671 * pywebsocket/mod_pywebsocket/dispatch.py:
672 * pywebsocket/mod_pywebsocket/msgutil.py:
673 * pywebsocket/mod_pywebsocket/standalone.py:
674 * pywebsocket/setup.py:
675 * pywebsocket/test/test_dispatch.py:
676 * pywebsocket/test/test_msgutil.py:
678 2009-11-25 Adam Barth <abarth@webkit.org>
680 Reviewed by Eric Seidel.
682 Add unit test for mark-fixed
683 https://bugs.webkit.org/show_bug.cgi?id=31896
685 * Scripts/modules/commands/commandtest.py: Added.
686 * Scripts/modules/commands/queries_unittest.py:
687 * Scripts/modules/commands/upload_unittest.py: Added.
688 * Scripts/modules/mock_bugzillatool.py:
689 * Scripts/run-webkit-unittests:
691 2009-11-25 Adam Barth <abarth@webkit.org>
693 Reviewed by Eric Seidel.
695 bugzilla-tool should have a mark-fixed command
696 https://bugs.webkit.org/show_bug.cgi?id=31853
700 * Scripts/modules/commands/upload.py:
702 2009-11-25 Eric Seidel <eric@webkit.org>
704 Reviewed by Adam Barth.
706 'bugzilla-tool help' should only show common commands like how 'git help' does
707 https://bugs.webkit.org/show_bug.cgi?id=31772
709 I also took this opportunity to make 'help' a real Command.
710 Making 'help' a real command required adding Command.tool (which we've wanted to do for a while).
712 * Scripts/bugzilla-tool:
713 - change should_show_command_help to should_show_in_main_help
714 * Scripts/modules/commands/download.py:
715 - Mark commands as being shown in main help or not.
716 - show_in_main_help = False is not required (default is false),
717 but it seemed to make the commands more self-documenting.
718 * Scripts/modules/commands/queries.py: ditto
719 * Scripts/modules/commands/queues.py: ditto
720 * Scripts/modules/commands/upload.py: ditto
721 * Scripts/modules/multicommandtool.py:
722 - Make Command hold a pointer to tool in self.tool. Most Command
723 subclasses do not take advantage of this yet, but it was required
724 for HelpCommand to be able to reach the tool from _help_epilog().
725 - Move MultiCommandTool._standalone_help_for_command to Command.standalone_help
726 - Move MultiCommandTool._help_epilog to Command._help_epilog
727 - Move "help" logic into HelpCommand.execute()
728 - Change should_show_command_help to should_show_in_main_help and add a default implementation.
729 * Scripts/modules/multicommandtool_unittest.py:
730 - Test hiding of Commands in --help, and that all commands are shown in 'help --all-commands'
732 2009-11-25 Brian Weinstein <bweinstein@apple.com>
734 Reviewed by Dan Bernstein.
738 The buildbots are failing on Windows because when they were upgraded
739 to 4.0.4, Apple Application Support was not in their path. Add it to
740 the path to fix the buildots.
742 * Scripts/webkitdirs.pm:
744 2009-11-25 Csaba Osztrogonác <ossy@webkit.org>
746 Reviewed by David Kilzer.
748 run-webkit-tests doesn't accept directories/files with --skipped=only parameter
749 https://bugs.webkit.org/show_bug.cgi?id=31799
751 * Scripts/run-webkit-tests: Fixed.
753 2009-11-25 Zoltan Horvath <zoltan@webkit.org>
755 Reviewed by Eric Seidel.
757 Change run_command to give back stderr by default
758 https://bugs.webkit.org/show_bug.cgi?id=31734
760 Change run_command to give back stderr by default.
761 Set run_commands's 'svn-create-patch' calling to put only the stdout into the patches.
762 Change the related unittest call.
764 * Scripts/modules/scm.py:
765 * Scripts/modules/scm_unittest.py:
767 2009-11-25 Eric Seidel <eric@webkit.org>
769 Reviewed by Adam Barth.
771 Centralize required argument parsing in Command
772 https://bugs.webkit.org/show_bug.cgi?id=31872
774 * Scripts/modules/commands/download.py: remove custom required arg message.
775 * Scripts/modules/commands/upload.py: ditto.
776 * Scripts/modules/multicommandtool.py:
777 - Add _parse_required_arguments.
778 - Pass program name off to OptionParser.
779 - Add name() for access to tool name.
780 - Add check_arguments_and_execute and make it return a return code.
781 - Replace a couple uses of + with %.
782 * Scripts/modules/multicommandtool_unittest.py: test _parse_required_arguments
784 2009-11-25 Eric Seidel <eric@webkit.org>
786 Reviewed by Adam Barth.
788 Abstract out capturing stdout/stderr into a new OutputCapture class for re-use among the various unit tests.
789 https://bugs.webkit.org/show_bug.cgi?id=31870
791 * Scripts/modules/commands/queries_unittest.py: Use the new class.
792 * Scripts/modules/multicommandtool_unittest.py: Ditto.
793 * Scripts/modules/outputcapture.py: Added.
795 2009-11-24 Dmitry Titov <dimich@chromium.org>
797 Reviewed by Eric Seidel.
799 Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
800 https://bugs.webkit.org/show_bug.cgi?id=31444
802 * Scripts/build-webkit:
804 2009-11-24 Chris Marrin <cmarrin@apple.com>
806 Reviewed by Simon Fraser.
808 Changes the way 3D_RENDERING and ACCELERATED_COMPOSITING related tests are excluded
809 https://bugs.webkit.org/show_bug.cgi?id=27314
811 Now the script allows the directories with these tests to be included on all
812 platforms but Mac, where they behave the same as always. For all other platforms
813 the tests need to be excluded using the Skipped files, which is currently done
814 for all platforms (including win since we're not turned on yet)
816 * Scripts/webkitdirs.pm:
818 2009-11-24 Eric Seidel <eric@webkit.org>
820 Reviewed by Adam Barth.
822 queries_unittest.py should test command output
823 https://bugs.webkit.org/show_bug.cgi?id=31845
825 * Scripts/modules/commands/queries_unittest.py:
826 - Capture stdout and stderr and compare with expected strings.
828 2009-11-24 Simon Fraser <simon.fraser@apple.com>
832 Fix spelling error ("depenedencies").
834 * Scripts/build-webkit:
836 2009-11-24 Mark Rowe <mrowe@apple.com>
838 Land the configuration that includes the two debug GTK Linux builders.
840 * BuildSlaveSupport/build.webkit.org-config/config.json:
842 2009-11-24 David Kilzer <ddkilzer@apple.com>
844 <http://webkit.org/b/31840> bisect-builds broke after r50080
846 Reviewed by Dan Bernstein.
848 * Scripts/bisect-builds:
849 (mountAndRunNightly): Switched back to using backticks to run
850 the hdiutil command since exec() will terminate the existing
851 script, which is not what we want. Store the output of
852 File::Spec->devnull() in a variable for use in the hdiutil
855 2009-11-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
857 Reviewed by Kenneth Rohde Christiansen.
859 Include "config.h" to meet Coding Style Guidelines
860 https://bugs.webkit.org/show_bug.cgi?id=31792
862 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
863 * DumpRenderTree/qt/jsobjects.cpp:
864 * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
866 2009-11-23 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
868 Reviewed by Oliver Hunt.
870 Implement new required function to pass test we used to pass. This
871 change is required since r51294.
873 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
874 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
876 2009-11-23 Jakub Wieczorek <faw217@gmail.com>
878 Reviewed by Kenneth Rohde Christiansen.
880 [Qt] DRT: dumpBackForwardList() does not work properly with non-file URLs.
881 https://bugs.webkit.org/show_bug.cgi?id=31775
883 LayoutTestController::dumpBackForwardList() should work with local URLs
884 as well as with normal URLs (in http tests for instance).
885 Currently it does not output the latter properly.
887 Unskip a bunch of passing http/navigation tests.
889 * DumpRenderTree/qt/DumpRenderTree.cpp:
890 (WebCore::dumpHistoryItem):
892 2009-11-22 Chris Fleizach <cfleizach@apple.com>
894 Reviewed by Oliver Hunt.
896 ARIA: support aria-flowto
897 https://bugs.webkit.org/show_bug.cgi?id=31762
899 * DumpRenderTree/AccessibilityUIElement.cpp:
900 (ariaFlowToElementAtIndexCallback):
901 (AccessibilityUIElement::getJSClass):
902 * DumpRenderTree/AccessibilityUIElement.h:
903 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
904 (AccessibilityUIElement::ariaFlowToElementAtIndex):
905 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
906 (AccessibilityUIElement::ariaFlowToElementAtIndex):
907 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
908 (AccessibilityUIElement::ariaFlowToElementAtIndex):
910 2009-11-22 Antonio Gomes <tonikitoo@webkit.org>
912 Reviewed by Kenneth Christiansen.
914 [Qt] fast/history/back-forward-reset-after-error-handling.html failing due to WorkQueue not being un-frozen
915 https://bugs.webkit.org/show_bug.cgi?id=31638
917 Unfreeze WorkQueue after each test execution.
919 * DumpRenderTree/qt/DumpRenderTree.cpp:
920 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
922 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
924 Reviewed by Adam Barth.
926 [Qt] DumpRenderTree should explicitly ignore any SSL certificate errors
927 for localhost and 127.0.0.1.
928 https://bugs.webkit.org/show_bug.cgi?id=31783
930 Unskip the http/tests/ssl/verify-ssl-enabled.php test, which is passing now.
932 * DumpRenderTree/qt/DumpRenderTree.cpp:
933 (WebCore::NetworkAccessManager::NetworkAccessManager):
934 (WebCore::NetworkAccessManager::sslErrorsEncountered):
935 (WebCore::WebPage::WebPage):
936 * DumpRenderTree/qt/DumpRenderTree.h:
938 2009-11-22 Chris Evans <cevans@chromium.org>
940 Reviewed by Adam Barth.
942 Disable access to file:/// directory listings
943 https://bugs.webkit.org/show_bug.cgi?id=31329
945 Implemented setAllowUniversalAccessFromFileURLs to support testing of
948 * DumpRenderTree/LayoutTestController.cpp:
949 (setAllowUniversalAccessFromFileURLsCallback):
950 (LayoutTestController::staticFunctions):
951 * DumpRenderTree/LayoutTestController.h:
952 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
953 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
954 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
955 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
956 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
957 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
958 * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
959 (LayoutTestController::setAllowUniversalAccessFromFileURLs):
961 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
963 Reviewed by Kenneth Rohde Christiansen.
965 [Qt] Fix the timeout of fast/frames/frame-navigation.html
966 https://bugs.webkit.org/show_bug.cgi?id=31638
968 The test is timeouting, because it uses the WorkQueue to load a document in one
969 of the child frames and once the loading is finished, the DRT does not dump the
970 tree. This is because it waits for the QWebFrame::loadFinished() signal from
971 the main frame, while it should connect to QWebPage::loadFinished().
973 * DumpRenderTree/qt/DumpRenderTree.cpp:
974 (WebCore::DumpRenderTree::DumpRenderTree):
976 2009-11-21 Eric Seidel <eric@webkit.org>
978 Reviewed by Adam Barth.
980 bugzilla-tool --help spews way too much text
981 https://bugs.webkit.org/show_bug.cgi?id=31771
983 * Scripts/bugzilla-tool:
984 - Remove self.cached_scm initialization hack.
985 * Scripts/modules/buildbot.py:
986 - Make default_host accessible to callers.
987 * Scripts/modules/commands/download.py:
988 - Phrase help for all commands consistently and remove spurious help text punctuation.
989 * Scripts/modules/commands/queries.py: Ditto.
990 * Scripts/modules/commands/queues.py: Ditto.
991 * Scripts/modules/commands/upload.py: Ditto.
992 * Scripts/modules/multicommandtool.py:
993 - Add HelpPrintingOptionParser.format_epilog to replace
994 NonWrappingEpilogIndentedHelpFormatter and allow us to lazily initialize
995 per-command help (thus removing the need for the cached_scm hack in BugzillaTool).
996 - Make --help only show a list of commands like "svn help" and "git help" do --
997 previously --help was listing all commands and options.
998 - Sort list of commands alphabetically.
1000 2009-11-21 Eric Seidel <eric@webkit.org>
1002 No review. Fixing a typo from the previous patch for bug 31767.
1004 AbstractQueue.run_bugzilla_tool throws an exception
1005 https://bugs.webkit.org/show_bug.cgi?id=31769
1007 * Scripts/modules/commands/queues.py:
1009 2009-11-21 Eric Seidel <eric@webkit.org>
1011 Reviewed by Adam Barth.
1013 commit-queue fails to run with "permissions error" due to bad bugzilla-tool path
1014 https://bugs.webkit.org/show_bug.cgi?id=31767
1016 What we really want to test is BugzillaTool.path() instead of TrivialTool.path().
1017 Since we don't have a good way to test BugzillaTool pieces, I've
1018 left out a test for now.
1020 * Scripts/bugzilla-tool:
1021 - Add a path() implementation to expose bugzilla-tool's __file__ path to commit-queue.
1022 * Scripts/modules/commands/queues.py:
1023 - Use tool.path() instead of __file__.
1024 * Scripts/modules/multicommandtool.py:
1025 - Add a new path() method to MultiComandTool.
1026 * Scripts/modules/multicommandtool_unittest.py:
1027 - Provide a path() method. Little point in testing this mock implementation.
1029 2009-11-21 Adam Barth <abarth@webkit.org>
1031 Unreviewed "build" fix. Turns out I was testing the wrong copy of
1034 * Scripts/modules/commands/download.py:
1036 2009-11-21 Adam Barth <abarth@webkit.org>
1038 Reviewed by Eric Seidel.
1040 Convert check-style to use LandingSequence
1041 https://bugs.webkit.org/show_bug.cgi?id=31763
1043 Instead of manipulating the working copy by hand, we should use the
1044 LandingSequence in CheckStyle. This will make this code eaiser to
1047 * Scripts/modules/commands/download.py:
1049 2009-11-20 Adam Barth <abarth@webkit.org>
1051 Reviewed by Eric Seidel.
1053 Unit test query commands
1054 https://bugs.webkit.org/show_bug.cgi?id=31755
1056 These tests are pretty rough, but hopefully they'll grow.
1058 * Scripts/modules/commands/queries_unittest.py: Added.
1059 * Scripts/modules/mock_bugzillatool.py: Added.
1060 * Scripts/run-webkit-unittests:
1062 2009-11-20 Eric Seidel <eric@webkit.org>
1064 Reviewed by Adam Barth.
1066 Fix a bunch of unit test regressions from our recent bugzilla-toll hacking
1067 https://bugs.webkit.org/show_bug.cgi?id=31758
1069 * Scripts/modules/multicommandtool.py:
1070 - Allow passing of explicit commands to MultiCommandTool.__init__
1071 * Scripts/modules/multicommandtool_unittest.py:
1072 - Use new Command.name naming system.
1073 - Test Command auto-discovery.
1074 * Scripts/modules/workqueue.py:
1075 - bug_id no longer exists, use patch['bug_id'] instead.
1076 * Scripts/modules/workqueue_unittest.py:
1077 - WorkQueues require names now.
1078 - should_proceed_with_work_item must return a patch object.
1080 2009-11-20 Chris Fleizach <cfleizach@apple.com>
1082 Reviewed by Beth Dakin.
1084 WAI-ARIA: add support for aria-owns
1085 https://bugs.webkit.org/show_bug.cgi?id=31702
1087 * DumpRenderTree/AccessibilityUIElement.cpp:
1088 (ariaOwnsElementAtIndexCallback):
1089 (AccessibilityUIElement::getJSClass):
1090 * DumpRenderTree/AccessibilityUIElement.h:
1091 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
1092 (AccessibilityUIElement::ariaOwnsElementAtIndex):
1093 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1094 (AccessibilityUIElement::ariaOwnsElementAtIndex):
1095 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1096 (AccessibilityUIElement::ariaOwnsElementAtIndex):
1098 2009-11-20 Eric Seidel <eric@webkit.org>
1100 Reviewed by Adam Barth.
1102 Fix exception thrown when running the commit-queue.
1104 * Scripts/modules/statusbot.py: patch is optional.
1105 * Scripts/modules/workqueue.py: WorkQUeue requires a name.
1107 2009-11-20 Eric Seidel <eric@webkit.org>
1109 Reviewed by Adam Barth.
1111 Teach the StatusBot how to support more than just the commit-queue
1112 https://bugs.webkit.org/show_bug.cgi?id=31754
1114 * Scripts/modules/workqueue.py: Another typo.
1116 2009-11-20 Eric Seidel <eric@webkit.org>
1118 Reviewed by Adam Barth.
1120 Teach the StatusBot how to support more than just the commit-queue
1121 https://bugs.webkit.org/show_bug.cgi?id=31754
1123 * Scripts/modules/commands/queues.py: Fix silly typo.
1125 2009-11-20 Eric Seidel <eric@webkit.org>
1127 Reviewed by Adam Barth.
1129 Teach the StatusBot how to support more than just the commit-queue
1130 https://bugs.webkit.org/show_bug.cgi?id=31754
1132 * CommitQueueStatus/index.yaml:
1133 - Add indices required for the new queries.
1134 * CommitQueueStatus/queue_status.py:
1135 - Add a patch-status page and move update_status to update-status.
1136 - Only display "commit-queue" status records for the commit-queue.
1137 - Add support for a queue_name property on status records.
1138 - Fix _int_from_request to actually work.
1139 * CommitQueueStatus/update_status.html:
1140 - Add support for a queue_name on status records.
1141 - Remove unused list of bug ids.
1142 * Scripts/modules/commands/queues.py
1143 - Make the queues pass the patch instead of the bug_id to StatusBot.
1144 * Scripts/modules/statusbot.py:
1145 - Support passing the queue_name to the status updates.
1146 - Support fetching patch status with patch_status().
1147 * Scripts/modules/workqueue.py:
1148 - Pass the patch to the StatusBot instead of the bug_id.
1149 - Let WorkQueues have a name.
1151 2009-11-20 Adam Barth <abarth@webkit.org>
1153 Reviewed by Eric Seidel.
1155 Move bugzilla-tool commands into their own file
1156 https://bugs.webkit.org/show_bug.cgi?id=31752
1158 This will let us write unit tests.
1160 * Scripts/bugzilla-tool:
1161 * Scripts/modules/commands/__init__.py: Added.
1162 * Scripts/modules/commands/download.py: Added.
1163 * Scripts/modules/commands/queries.py: Added.
1164 * Scripts/modules/commands/queues.py: Added.
1165 * Scripts/modules/commands/upload.py: Added.
1166 * Scripts/modules/grammar.py: Added.
1168 2009-11-20 Adam Barth <abarth@webkit.org>
1170 Reviewed by Eric Seidel.
1172 BuildQueue should check if the tree is currently buildable
1173 https://bugs.webkit.org/show_bug.cgi?id=31744
1175 * Scripts/bugzilla-tool:
1176 * Scripts/modules/landingsequence.py:
1177 * Scripts/modules/webkitlandingscripts.py:
1179 2009-11-20 Adam Barth <abarth@webkit.org>
1181 Reviewed by Eric Seidel.
1183 Move prepare_clean_working_directory into the LandingSequence
1184 https://bugs.webkit.org/show_bug.cgi?id=31743
1186 * Scripts/bugzilla-tool:
1187 * Scripts/modules/landingsequence.py:
1189 2009-11-20 Yael Aharon <yael.aharon@nokia.com>
1191 Reviewed by Kenneth Rohde Christiansen.
1193 NPN_ReloadPlugins does not reload the page even if reloadPages is true.
1194 https://bugs.webkit.org/show_bug.cgi?id=30460
1196 Added code for calling NPN_ReloadPlugins with reloadPages true and false.
1198 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1201 2009-11-20 Adam Barth <abarth@webkit.org>
1203 Reviewed by Eric Seidel.
1205 Pass the port information to the child process
1206 https://bugs.webkit.org/show_bug.cgi?id=31736
1208 We need to do this so the child process knows what to build!
1210 * Scripts/bugzilla-tool:
1211 * Scripts/modules/landingsequence.py:
1212 * Scripts/modules/webkitport.py:
1213 * Scripts/modules/webkitport_unittest.py:
1215 2009-11-20 Adam Barth <abarth@webkit.org>
1217 Reviewed by Eric Seidel.
1219 Support Qt port in build-queue
1220 https://bugs.webkit.org/show_bug.cgi?id=31733
1222 * Scripts/bugzilla-tool:
1224 2009-11-20 Adam Barth <abarth@webkit.org>
1226 Reviewed by Eric Seidel.
1228 Implement a build-queue
1229 https://bugs.webkit.org/show_bug.cgi?id=31725
1231 Currently this just builds the first 10 patches in the review queue.
1232 We'll want to do something smarter soon.
1234 * Scripts/bugzilla-tool:
1236 2009-11-20 Adam Barth <abarth@webkit.org>
1238 Reviewed by Eric Seidel.
1240 Make commit-queue and style-queue show up in help
1241 https://bugs.webkit.org/show_bug.cgi?id=31724
1243 We need to store their names on their class to make these commands
1244 properly register themselves with MultiCommandTool.
1246 * Scripts/bugzilla-tool:
1248 2009-11-20 Adam Barth <abarth@webkit.org>
1250 Reviewed by Eric Seidel.
1252 Implement bugzilla-tool build-attachment
1253 https://bugs.webkit.org/show_bug.cgi?id=31722
1255 This command builds an attachment from bugzilla. It leaves the built
1256 patch in the working copy.
1258 * Scripts/bugzilla-tool:
1259 * Scripts/modules/landingsequence.py:
1260 * Scripts/modules/webkitlandingscripts.py:
1262 2009-11-20 Alejandro G. Castro <alex@igalia.com>
1264 Reviewed by Xan Lopez.
1266 [GTK] DRT release event does not create the state correctly
1267 https://bugs.webkit.org/show_bug.cgi?id=31717
1269 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
1271 2009-11-20 Eric Seidel <eric@webkit.org>
1273 Reviewed by Adam Barth.
1275 MultiCommandTool should find Command objects automatically instead of with a manual list
1276 https://bugs.webkit.org/show_bug.cgi?id=31710
1278 * Scripts/bugzilla-tool:
1279 * Scripts/modules/multicommandtool.py:
1280 - Use some wild python-fu to crawl all the known subclasses of Command.
1282 2009-11-20 Adam Barth <abarth@webkit.org>
1284 Unreviewed "build" fix. Added missing import.
1286 * Scripts/bugzilla-tool:
1288 2009-11-20 Adam Barth <abarth@webkit.org>
1290 Unreviewed "build" fix. I failed to update LandingSequence.test
1293 * Scripts/modules/landingsequence.py:
1295 2009-11-20 Adam Barth <abarth@webkit.org>
1297 Reviewed by Eric Seidel.
1299 Create LandingSequence as the all-sing, all-dance landing class
1300 https://bugs.webkit.org/show_bug.cgi?id=31709
1302 Client can inherit from this class to carefully control exactly which
1303 steps they wish to have happen in the landing sequence.
1305 * Scripts/bugzilla-tool:
1306 * Scripts/modules/landingsequence.py: Added.
1307 * Scripts/modules/webkitlandingscripts.py: Added.
1309 2009-11-19 Adam Barth <abarth@webkit.org>
1311 Reviewed by Eric Seidel.
1313 Abstract AbstractPatchProcessingCommand from AbstractPatchLandingCommand
1314 https://bugs.webkit.org/show_bug.cgi?id=31707
1316 This is to help when we implement build-attachment.
1318 * Scripts/bugzilla-tool:
1320 2009-11-19 Adam Barth <abarth@webkit.org>
1322 Reviewed by Eric Seidel.
1324 Support Qt port in bugzilla-tool
1325 https://bugs.webkit.org/show_bug.cgi?id=31701
1327 Now we support building with Qt!
1329 * Scripts/bugzilla-tool:
1330 * Scripts/modules/webkitport.py: Added.
1331 * Scripts/modules/webkitport_unittest.py: Added.
1332 * Scripts/run-webkit-unittests:
1334 2009-11-19 Zoltan Horvath <zoltan@webkit.org>
1336 Reviewed by Adam Barth.
1338 Remove inserting stderr into patch in bugzilla-tool
1339 https://bugs.webkit.org/show_bug.cgi?id=29914
1341 Modify SCM python module's run_command function to avoid return of stderr
1342 by default, so stderr won't be inserted into the patches.
1343 Modify the related unit test.
1345 * Scripts/modules/scm.py:
1346 * Scripts/modules/scm_unittest.py:
1348 2009-11-19 Eric Seidel <eric@webkit.org>
1350 Reviewed by Adam Barth.
1352 bugzilla-tool needs per-command help
1353 https://bugs.webkit.org/show_bug.cgi?id=31697
1355 Added support for "bugzilla-tool help command-name"
1356 and a unit test to make sure it works.
1358 * Scripts/modules/multicommandtool.py:
1359 * Scripts/modules/multicommandtool_unittest.py:
1361 2009-11-19 Eric Seidel <eric@webkit.org>
1363 Reviewed by Adam Barth.
1365 Move MultiCommandTool and Command into a separate file and add some basic unit tests
1366 https://bugs.webkit.org/show_bug.cgi?id=31695
1368 * Scripts/bugzilla-tool:
1369 * Scripts/modules/multicommandtool.py: Added.
1370 * Scripts/modules/multicommandtool_unittest.py: Added.
1371 * Scripts/run-webkit-unittests:
1373 2009-11-19 Eric Seidel <eric@webkit.org>
1375 No review, just adding a FIXME.
1377 Split out command parsing and help printing from BugzillaTool
1378 https://bugs.webkit.org/show_bug.cgi?id=31688
1380 * Scripts/bugzilla-tool: Add an extra comment about current design failures.
1382 2009-11-19 Eric Seidel <eric@webkit.org>
1384 Reviewed by Adam Barth.
1386 Split out command parsing and help printing from BugzillaTool
1387 https://bugs.webkit.org/show_bug.cgi?id=31688
1389 * Scripts/bugzilla-tool:
1390 - Add new MultiCommandTool class to contain option parsing and help printing logic.
1391 - Rename private methods to use _ pattern.
1392 - MultiCommandTool has two abstract methods should_show_command_help and should_execute_command.
1395 2009-11-19 Eric Seidel <eric@webkit.org>
1397 Reviewed by Adam Barth.
1399 Re-factor help printing to use modern python idioms
1400 https://bugs.webkit.org/show_bug.cgi?id=31685
1402 * Scripts/bugzilla-tool:
1404 2009-11-19 Eric Seidel <eric@webkit.org>
1406 Reviewed by Darin Adler.
1408 commit-queue empty queue logs twice
1409 https://bugs.webkit.org/show_bug.cgi?id=31679
1411 * Scripts/bugzilla-tool:
1413 2009-11-19 Eric Seidel <eric@webkit.org>
1415 Reviewed by Darin Adler.
1417 bugzilla-tool's reviewer/committer rejection message should be clearer
1418 https://bugs.webkit.org/show_bug.cgi?id=31126
1420 Add more explanatory prose to bugzilla-tool's flag permission rejection message.
1422 * Scripts/modules/bugzilla.py:
1424 2009-11-19 Eric Z. Ayers <zundel@google.com>
1426 Reviewed by Pavel Feldman.
1428 Forces a WM_PAINT event on calling layoutTestController.display()
1429 in order to enable the timeline-paint.html test on Windows.
1430 ::UpdateWindow() does not force an event becaue the window is
1433 https://bugs.webkit.org/show_bug.cgi?id=31402
1435 * DumpRenderTree/win/DumpRenderTree.cpp:
1438 2009-11-19 Michelangelo De Simone <michelangelo@webkit.org>
1442 Added myself to committers list.
1444 * Scripts/modules/committers.py:
1446 2009-11-19 Adam Barth <abarth@webkit.org>
1448 Reviewed by Eric Seidel.
1450 Bugzilla-tool command classes should match command names
1451 https://bugs.webkit.org/show_bug.cgi?id=31666
1453 I renamed all the commands except CommitMessageForCurrentDiff because
1454 the new name would conflict with an existing class.
1456 * Scripts/bugzilla-tool:
1458 2009-11-19 Pavel Feldman <pfeldman@chromium.org>
1460 Reviewed by Gustavo Noronha Silva.
1462 Web Inspector: Implement "show inspector" in WebKit GTK
1463 API and enable console tests.
1465 https://bugs.webkit.org/show_bug.cgi?id=31669
1467 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1468 (LayoutTestController::showWebInspector):
1470 2009-11-19 Kenneth Rohde Christiansen <kenneth@webkit.org>
1472 Reviewed by Simon Hausmann.
1474 Minor refactoring + more documentation.
1476 * DumpRenderTree/qt/DumpRenderTree.cpp:
1477 (WebCore::clearHistory):
1478 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
1480 2009-11-19 Fumitoshi Ukai <ukai@chromium.org>
1482 Reviewed by Eric Seidel.
1484 Ignore websocket tests when --no-http is specified.
1485 https://bugs.webkit.org/show_bug.cgi?id=31662
1487 * Scripts/run-webkit-tests:
1489 2009-11-18 Adam Barth <abarth@webkit.org>
1491 Reviewed by Eric Seidel.
1493 Normalize ' and " in bugzilla-tool
1494 https://bugs.webkit.org/show_bug.cgi?id=31655
1496 We decided " is better than ' and we should be consistent.
1498 * Scripts/bugzilla-tool:
1500 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1502 Reviewed by Kenneth Rohde Christiansen.
1504 [Qt] Remove support for Qt v4.3 or older versions
1505 https://bugs.webkit.org/show_bug.cgi?id=29469
1507 * DumpRenderTree/qt/DumpRenderTree.pro:
1508 * DumpRenderTree/qt/ImageDiff.pro:
1510 2009-11-18 Shinichiro Hamaji <hamaji@chromium.org>
1512 Reviewed by Eric Seidel.
1514 GitTest.test_create_binary_patch fails if /tmp is symlink
1515 https://bugs.webkit.org/show_bug.cgi?id=31536
1517 * Scripts/modules/scm_unittest.py:
1519 2009-11-18 Yaar Schnitman <yaar@chromium.org>
1521 Reviewed by Darin Adler.
1523 Configuration for Chromium Build Slaves.
1525 https://bugs.webkit.org/show_bug.cgi?id=31442
1527 * BuildSlaveSupport/build.webkit.org-config/config.json:
1528 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1530 2009-11-18 Eric Seidel <eric@webkit.org>
1532 Reviewed by Darin Adler.
1534 workqueue.py results in totally broken commit-queue UI
1535 https://bugs.webkit.org/show_bug.cgi?id=31645
1537 * Scripts/bugzilla-tool:
1538 - Remove unneeded use of PatchCollection.
1539 - Grab a new copy of the cq'd patches every run of the queue.
1541 2009-11-18 Sam Weinig <sam@webkit.org>
1543 Reviewed by Anders Carlsson.
1545 Make the Mac Geolocation API async.
1547 Update DRT to use the new async Mac Geolocation API.
1549 * DumpRenderTree/mac/UIDelegate.mm:
1550 (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]):
1552 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1554 Reviewed by Kenneth Rohde Christiansen.
1556 Add and option to toggle HTML5 datalist support to build-webkit
1557 https://bugs.webkit.org/show_bug.cgi?id=31599
1559 * Scripts/build-webkit:
1561 2009-11-18 Kevin Watters <kevinwatters@gmail.com>
1563 Reviewed by Kevin Ollivier.
1565 Enable wx plugin support using the Windows implementation as a base.
1567 https://bugs.webkit.org/show_bug.cgi?id=31636
1569 * wx/build/settings.py:
1571 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
1573 Reviewed by Simon Hausmann.
1575 Change the initialization order so that the controllers
1576 will be created before exporting them to the JS DOM window.
1578 * DumpRenderTree/qt/DumpRenderTree.cpp:
1579 (WebCore::DumpRenderTree::DumpRenderTree):
1581 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
1583 Reviewed by Simon Hausmann.
1585 Fix a code copy and paste error. m_page should be page.
1587 * DumpRenderTree/qt/DumpRenderTree.cpp:
1588 (WebCore::DumpRenderTree::createWindow):
1590 2009-11-17 Mark Rowe <mrowe@apple.com>
1592 Reviewed by Alexey Proskuryakov.
1594 <http://webkit.org/b/31603> WebSocket server is confused if WebKit tests run from within /tmp on Mac OS X
1596 * pywebsocket/mod_pywebsocket/dispatch.py: Use os.path.realpath as it returns the canonical path of a file.
1597 This prevents symlinks from confusing the descendant check.
1599 2009-11-17 Mark Rowe <mrowe@apple.com>
1601 Reviewed by Alexey Proskuryakov.
1603 <http://webkit.org/b/31602> Failing to start the WebSocket server shouldn’t terminate entire test run
1605 If the WebSocket server fails to start have DRT load an error page in place of tests that require the
1606 server to be up rather than having run-webkit-tests abort immediately.
1608 * Scripts/run-webkit-tests:
1610 2009-11-17 Eric Seidel <eric@webkit.org>
1612 Reviewed by Darin Adler.
1614 commit-queue is failing to set reviewer in ChangeLogs
1615 https://bugs.webkit.org/show_bug.cgi?id=31592
1617 * Scripts/bugzilla-tool: Clarify the "applying" log message.
1618 * Scripts/modules/bugzilla.py:
1619 - Add a new _validate_committer_and_reviewer function as a
1620 temporary solution until we can make a real Attachment object
1621 which knows how to fill in its committer/reviewer fields automatically.
1623 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
1625 Unreviewed buildbot fix.
1627 Revert part of earlier patch and add comment, as it
1628 was causing timeouts on the buildbot.
1630 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1631 (LayoutTestController::notifyDone):
1633 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
1635 Reviewed by Oliver Hunt.
1637 Make the timeout 15 sec as for the other DRT's and make
1638 it print out the same output when a test timeout.
1640 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1641 (LayoutTestController::waitUntilDone):
1642 (LayoutTestController::notifyDone):
1643 (LayoutTestController::timerEvent):
1645 2009-11-17 Joseph Pecoraro <joepeck@webkit.org>
1647 Reviewed by Timothy Hatcher.
1649 Fixed typos in comments.
1651 * Scripts/modules/committers.py:
1653 2009-11-17 Pavel Feldman <pfeldman@chromium.org>
1655 Reviewed by Timothy Hatcher.
1657 Web Inspector: Make DRT show web inspector for tests in inspector/ folder.
1658 - Updated DRT to show/close inspector for all tests under /inspector
1659 - Introduced LayoutTestController::setTimelineProfilingEnabled and
1660 WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled
1661 - Removed reload on each inspector test
1662 - Renamed fast/inspector to fast/inspector-support in order not to trigger
1663 inspector for those.
1664 - Reimplemented timeline tests in order to get rid of reload there.
1665 - Moved tests that don't require harness into the fast group.
1667 https://bugs.webkit.org/show_bug.cgi?id=31472
1669 * DumpRenderTree/LayoutTestController.cpp:
1670 (setTimelineProfilingEnabledCallback):
1671 (closeWebInspectorCallback):
1672 (LayoutTestController::staticFunctions):
1673 * DumpRenderTree/LayoutTestController.h:
1674 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1675 (shouldOpenWebInspector):
1677 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1678 (LayoutTestController::setTimelineProfilingEnabled):
1679 * DumpRenderTree/mac/DumpRenderTree.mm:
1680 (shouldOpenWebInspector):
1682 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1683 (LayoutTestController::setTimelineProfilingEnabled):
1684 * DumpRenderTree/win/DumpRenderTree.cpp:
1685 (shouldOpenWebInspector):
1687 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1688 (LayoutTestController::setTimelineProfilingEnabled):
1690 2009-11-17 Oliver Hunt <oliver@apple.com>
1692 Reviewed by Maciej Stachowiak.
1694 Incorrect use of JavaScriptCore API in DumpRenderTree
1695 https://bugs.webkit.org/show_bug.cgi?id=31577
1697 Return undefined rather than a literal null.
1699 * DumpRenderTree/AccessibilityUIElement.cpp:
1700 (setSelectedTextRangeCallback):
1701 (incrementCallback):
1702 (decrementCallback):
1705 2009-11-16 Chris Fleizach <cfleizach@apple.com>
1707 Reviewed by Beth Dakin.
1709 AX: aria-labelledby duplicates some of its WAI-ARIA label
1710 https://bugs.webkit.org/show_bug.cgi?id=31565
1712 * DumpRenderTree/AccessibilityUIElement.cpp:
1713 (titleUIElementCallback):
1714 (getIsValidCallback):
1715 (AccessibilityUIElement::getJSClass):
1717 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
1719 Reviewed by Simon Hausmann.
1721 r50942 broke output from created windows. Make the
1722 m_enableTextOutput a member of the DRT and not the
1725 * DumpRenderTree/qt/DumpRenderTree.cpp:
1726 (WebCore::WebPage::WebPage):
1727 (WebCore::WebPage::javaScriptAlert):
1728 (WebCore::WebPage::javaScriptConsoleMessage):
1729 (WebCore::WebPage::javaScriptConfirm):
1730 (WebCore::WebPage::javaScriptPrompt):
1731 (WebCore::WebPage::acceptNavigationRequest):
1732 (WebCore::DumpRenderTree::DumpRenderTree):
1733 (WebCore::DumpRenderTree::open):
1734 (WebCore::DumpRenderTree::createWindow):
1735 * DumpRenderTree/qt/DumpRenderTree.h:
1736 (WebCore::DumpRenderTree::setTextOutputEnabled):
1737 (WebCore::DumpRenderTree::isTextOutputEnabled):
1738 (WebCore::WebPage::shouldInterruptJavaScript):
1739 (WebCore::WebPage::isTextOutputEnabled):
1740 (WebCore::WebPage::setViewGeometry):
1742 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
1744 Reviewed by Gustavo Noronha Silva.
1746 Moved DumpRenderTree/gtk/TestNetscapePlugin to DumpRenderTree/unix/TestNetscapePlugin
1747 as the implementation is being used by at least Qt and Gtk+.
1749 Update buildsystems as well.
1751 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
1752 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h:
1753 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h:
1754 * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h:
1755 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
1758 2009-11-16 Yuzo Fujishima <yuzo@google.com>
1760 Reviewed by Alexey Proskuryakov.
1762 Disable wss until all platforms support pyOpenSSL
1764 https://bugs.webkit.org/show_bug.cgi?id=31479
1766 * Scripts/run-webkit-tests:
1768 2009-11-14 Antonio Gomes <tonikitoo@webkit.org>
1770 Reviewed by Kenneth Christiansen.
1772 [Qt] Implement load error pages support for Qt's DRT.
1773 https://bugs.webkit.org/show_bug.cgi?id=31509
1775 For now, it will not be a default feature, and layout tests
1776 that want to make use of this have to explicitily call
1777 'handleErrorPages();' for the test source.
1779 Any of the other DumpRenderTree's (mac, win and gtk)
1780 support handling error pages. Qt's will be the first.
1782 * DumpRenderTree/qt/DumpRenderTree.cpp:
1783 (WebCore::WebPage::supportsExtension):
1784 (WebCore::WebPage::extension):
1785 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
1786 (LayoutTestController::reset):
1787 * DumpRenderTree/qt/LayoutTestControllerQt.h:
1788 (LayoutTestController::shouldHandleErrorPages):
1789 (LayoutTestController::handleErrorPages):
1791 2009-11-16 Eric Seidel <eric@webkit.org>
1793 Reviewed by Adam Barth.
1795 Rename the --commit-queue flag on land-* now that the commit-queue needs no special treatment
1796 https://bugs.webkit.org/show_bug.cgi?id=31549
1798 Renamed --commit-queue to --non-interactive in most places
1799 and remove the code in land-patches which is no longer needed.
1801 * Scripts/bugzilla-tool:
1803 2009-11-16 Eric Seidel <eric@webkit.org>
1805 Reviewed by Adam Barth.
1807 The commit-queue should use land-attachment
1808 https://bugs.webkit.org/show_bug.cgi?id=31548
1810 * Scripts/bugzilla-tool:
1812 2009-11-16 Adam Barth <abarth@webkit.org>
1814 Reviewed by Eric Seidel.
1816 Convert CommitQueue over to PatchCollection
1817 https://bugs.webkit.org/show_bug.cgi?id=31547
1819 Also fixes a bug in workqueue and adds a test!
1821 * Scripts/bugzilla-tool:
1822 * Scripts/modules/workqueue.py:
1823 * Scripts/modules/workqueue_unittest.py:
1825 2009-11-16 Adam Barth <abarth@webkit.org>
1827 Reviewed by Eric Seidel.
1829 Move StyleQueue over to using PatchCollection
1830 https://bugs.webkit.org/show_bug.cgi?id=31544
1832 That's what the class it's for.
1834 * Scripts/bugzilla-tool:
1835 * Scripts/modules/patchcollection.py:
1836 * Scripts/modules/patchcollection_unittest.py:
1838 2009-11-16 Eric Seidel <eric@webkit.org>
1840 Reviewed by Adam Barth.
1842 bugzilla-tool needs a land-attachment command
1843 https://bugs.webkit.org/show_bug.cgi?id=31546
1845 * Scripts/bugzilla-tool:
1846 - Move all the logic into AbstractLandingCommand and
1847 add a new LandAttachment command subclass.
1848 - Split out _collect_patches_by_bug logging from _fetch_list_of_patches_to_land.
1850 2009-11-16 Eric Seidel <eric@webkit.org>
1852 Reviewed by Adam Barth.
1854 Move more patch-landing code into WebKitLandingScripts in preparation for land-attachment
1855 https://bugs.webkit.org/show_bug.cgi?id=31543
1857 Just moving code and updating the one caller to use WebKitLandingScripts instead of 'self'.
1859 * Scripts/bugzilla-tool:
1861 2009-11-16 Eric Seidel <eric@webkit.org>
1863 Reviewed by Adam Barth.
1865 Disable the style queue from posting to the commit queue status page.
1867 * Scripts/bugzilla-tool:
1869 2009-11-16 Adam Barth <abarth@webkit.org>
1871 Reviewed by Eric Seidel.
1873 Implement PatchCollection
1874 https://bugs.webkit.org/show_bug.cgi?id=31541
1876 This class holds a set of patches and lets clients iterate through
1877 them. Optionally, clients can install a filter.
1879 * Scripts/modules/patchcollection.py: Added.
1880 * Scripts/modules/patchcollection_unittest.py: Added.
1881 * Scripts/run-webkit-unittests:
1883 2009-11-16 Eric Seidel <eric@webkit.org>
1885 Reviewed by Adam Barth.
1887 bugzilla-tool land-patches will close bugs with patches r=?
1888 https://bugs.webkit.org/show_bug.cgi?id=28230
1890 The commit-queue shouldn't close patches with outstanding reviews on them,
1891 even if many reviewers seem to be against multi-patch bugs.
1893 * Scripts/bugzilla-tool:
1895 2009-11-16 Eric Seidel <eric@webkit.org>
1897 Reviewed by Adam Barth.
1899 bugzilla-tool check-style should work with attachment ids instead of bug ids
1900 https://bugs.webkit.org/show_bug.cgi?id=31540
1902 * Scripts/bugzilla-tool:
1904 2009-11-16 Eric Seidel <eric@webkit.org>
1906 Reviewed by Adam Barth.
1908 WorkQueue is the only place that should know about special exit codes
1909 https://bugs.webkit.org/show_bug.cgi?id=31534
1911 Move LandPatchesFromBugs.handled_error to WorkQueue.exit_after_handled_error
1912 and add tests for handling exit codes.
1913 I also cleaned up workqueue_unittest.py more.
1915 * Scripts/bugzilla-tool:
1916 * Scripts/modules/workqueue.py:
1917 * Scripts/modules/workqueue_unittest.py:
1919 2009-11-16 Eric Seidel <eric@webkit.org>
1921 Reviewed by Adam Barth.
1923 Re-factor workqueue_unittest to allow for more than one test.
1924 https://bugs.webkit.org/show_bug.cgi?id=31535
1926 * Scripts/modules/workqueue_unittest.py:
1928 2009-11-16 Eric Seidel <eric@webkit.org>
1930 Reviewed by Adam Barth.
1932 land-patches needs to be re-factored into smaller chunks
1933 https://bugs.webkit.org/show_bug.cgi?id=31532
1935 * Scripts/bugzilla-tool: fix a couple obvious typos.
1937 2009-11-16 Eric Seidel <eric@webkit.org>
1939 Reviewed by Adam Barth.
1941 land-patches needs to be re-factored into smaller chunks
1942 https://bugs.webkit.org/show_bug.cgi?id=31532
1944 The next patch will move these methods into WebKitLandingScripts.
1946 * Scripts/bugzilla-tool:
1947 - Split out _land_patch and _close_bug_if_no_active_patches.
1949 2009-11-16 Adam Barth <abarth@webkit.org>
1951 Reviewed by Eric Seidel.
1953 Fix silly copy-and-paste code. I am a terrible coder.
1955 * Scripts/modules/bugzilla.py:
1957 2009-11-16 Adam Barth <abarth@webkit.org>
1959 Reviewed by Eric Seidel.
1961 Implement a StyleQueue
1962 https://bugs.webkit.org/show_bug.cgi?id=31537
1964 The first iteration of the style queue only produces output locally.
1965 There is also a limit of 10 patches because it's not that useful to
1966 iterate through the entire review queue at this point. We can remove
1969 * Scripts/bugzilla-tool:
1970 * Scripts/modules/bugzilla.py:
1972 2009-11-16 Adam Barth <abarth@webkit.org>
1974 Reviewed by Eric Seidel.
1977 https://bugs.webkit.org/show_bug.cgi?id=31531
1979 Adds basic unit testing for WorkQueue. Just runs through one cycle.
1981 * Scripts/bugzilla-tool:
1982 * Scripts/modules/statusbot.py:
1983 * Scripts/modules/workqueue.py:
1984 * Scripts/modules/workqueue_unittest.py: Added.
1985 * Scripts/run-webkit-unittests:
1987 2009-11-16 Eric Seidel <eric@webkit.org>
1989 Reviewed by Adam Barth.
1991 bugzilla-tool land-diff should know how to parse bug ids out of ChangeLogs
1992 https://bugs.webkit.org/show_bug.cgi?id=31530
1994 * Scripts/bugzilla-tool:
1996 2009-11-16 Eric Seidel <eric@webkit.org>
1998 Reviewed by Adam Barth.
2000 bugzilla-tool needs apply-attachment
2001 https://bugs.webkit.org/show_bug.cgi?id=31528
2003 * Scripts/bugzilla-tool:
2004 - Add ApplyAttachment command.
2005 - Abstract applying code into WebKitApplyingScripts.
2006 - Rename setup_for_landing to prepare_clean_working_directory and make local_commit checking optional.
2007 * Scripts/modules/bugzilla.py:
2008 - Add fetch_attachment and bug_id_for_attachment_id.
2009 * Scripts/modules/bugzilla_unittest.py:
2010 - Add test for new parsing.
2011 - Fix previous parsing test which broke with Adam's check-style patch (bug 31515).
2013 2009-11-16 Eric Seidel <eric@webkit.org>
2015 Reviewed by Adam Barth.
2017 Document check-style's use of force_clean.
2019 * Scripts/bugzilla-tool:
2020 * Scripts/modules/scm.py:
2022 2009-11-16 Adam Barth <abarth@webkit.org>
2024 Reviewed by Eric Seidel.
2026 Move WorkQueue to its own file
2027 https://bugs.webkit.org/show_bug.cgi?id=31529
2029 WorkQueue and WorkQueueDelegate are separate concerns from
2030 bugzilla-tool. Also added a missing include to logging.py.
2032 * Scripts/bugzilla-tool:
2033 * Scripts/modules/logging.py:
2034 * Scripts/modules/workqueue.py:
2036 2009-11-16 Adam Barth <abarth@webkit.org>
2038 Reviewed by Eric Seidel.
2040 Move OutputTee to logging.py.
2042 * Scripts/bugzilla-tool:
2043 * Scripts/modules/logging.py:
2045 2009-11-15 Adam Barth <abarth@webkit.org>
2047 Reviewed by Eric Seidel.
2049 Refactor bugzilla-tool to allow for multiple queues
2050 https://bugs.webkit.org/show_bug.cgi?id=31513
2052 Divide the commit queue class into three class to make creating
2053 additional queues easier.
2055 * Scripts/bugzilla-tool:
2057 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
2059 Reviewed by Eric Seidel.
2061 svn-apply may not handle git patches created by bugzilla-tool
2062 https://bugs.webkit.org/show_bug.cgi?id=31457
2064 * Scripts/modules/scm.py:
2065 * Scripts/modules/scm_unittest.py:
2067 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
2069 Reviewed by Eric Seidel.
2071 bugzilla-tool should post git binary diff
2072 https://bugs.webkit.org/show_bug.cgi?id=31458
2074 Add --binary option to Git.create_patch.
2076 * Scripts/modules/scm.py:
2077 * Scripts/modules/scm_unittest.py:
2079 2009-11-15 Adam Barth <abarth@webkit.org>
2081 Reviewed by Darin Adler.
2083 Add bugzilla-tool check-style
2084 https://bugs.webkit.org/show_bug.cgi?id=31515
2086 * Scripts/bugzilla-tool:
2087 * Scripts/modules/bugzilla.py:
2089 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
2091 Reviewed by Simon Hausmann.
2093 Make the Qt Linux only --valgrind feature, suppress errors
2094 defined in the SuppressedValgrindErrors file.
2096 * Scripts/run-webkit-tests:
2098 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
2100 Reviewed by Simon Hausmann.
2102 Set the locale to C and not to the current one in use on the system.
2104 * DumpRenderTree/qt/DumpRenderTree.cpp:
2105 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2107 2009-11-13 Adam Roben <aroben@apple.com>
2110 http/tests/security/isolatedWorld/didClearWindowObject.html
2112 Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when
2113 window objects in isolated worlds are cleared
2115 Reviewed by Dave Hyatt.
2117 * DumpRenderTree/mac/DumpRenderTreeMac.h: Declared worldIDForWorld.
2119 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2120 (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
2121 Added. Moved code here from -webView:didClearWindowObject:forFrame:.
2122 (-[FrameLoadDelegate didClearWindowObjectForFrame:inIsolatedWorld:]):
2123 Added. Sets a __worldID property on the global object whose value is
2124 the ID of this world.
2125 (-[FrameLoadDelegate webView:didClearWindowObjectForFrame:inScriptWorld:]):
2126 Respond to this new delegate callback by calling through to one of the
2128 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2129 (worldMap): Added. Returns a HashMap containing all the worlds we've
2131 (worldIDForWorld): Added. Returns the ID for this world, or 0 if we
2132 haven't kept track of this world.
2133 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
2134 instead of declaring our own.
2136 * DumpRenderTree/win/DumpRenderTreeWin.h: Declared worldIDForWorld.
2138 * DumpRenderTree/win/FrameLoadDelegate.cpp:
2139 (FrameLoadDelegate::didClearWindowObject): Moved code from hear to
2140 didClearWindowObjectForFrameInStandardWorld.
2141 (FrameLoadDelegate::didClearWindowObjectForFrameInScriptWorld):
2142 Respond to this new delegate callback by calling through to one of the
2144 (FrameLoadDelegate::didClearWindowObjectForFrameInIsolatedWorld):
2145 Added. Sets a __worldID property on the gobal object whose value is
2146 the ID of this world.
2147 (FrameLoadDelegate::didClearWindowObjectForFrameInStandardWorld):
2148 Added. Moved code here from didClearWindowObject.
2150 * DumpRenderTree/win/FrameLoadDelegate.h: Added the
2151 didClearWindowObjectForFrame* functions.
2153 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2154 (worldMap): Added. Returns a HashMap containing all the worlds we've
2156 (worldIDForWorld): Added. Returns the ID of this world, or 0 if we
2157 haven't kept track of this world.
2158 (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
2159 instead of declaring our own.
2161 2009-11-13 Adam Roben <aroben@apple.com>
2163 Finish replacing worldIDs with world objects
2165 The only remaining use of worldIDs was in a method only used by DRT
2166 for the isolated worlds tests.
2168 Fixes <http://webkit.org/b/31414> Replace worldIDs with world objects
2170 Reviewed by Mark Rowe.
2172 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2173 (LayoutTestController::evaluateScriptInIsolatedWorld):
2174 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2175 (LayoutTestController::evaluateScriptInIsolatedWorld):
2176 Updated for changes to WebFrame. Now holds the map of worldID -> world
2177 at this level instead of making WebKit do it.
2179 2009-11-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2181 Reviewed by Simon Hausmann.
2183 [Qt] Ensure the DRT does not output anything until first test is run
2185 * DumpRenderTree/qt/DumpRenderTree.cpp:
2186 * DumpRenderTree/qt/DumpRenderTree.h:
2188 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
2190 Reviewed by Tor Arne Vestbø.
2192 Clear the undo stack in before each new test run.
2194 Locally fixes 3 incorrect layouts, 9 timeouts and 7 crashes.
2196 * DumpRenderTree/qt/DumpRenderTree.cpp:
2197 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
2199 2009-11-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2201 Reviewed by Kenneth Rohde Christiansen.
2203 [Qt] Add WebKitUsesPageCachePreferenceKey overriding support to DRT's LayoutTestController.
2205 * DumpRenderTree/qt/DumpRenderTree.cpp:
2206 (WebCore::WebPage::resetSettings):
2207 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2208 (LayoutTestController::overridePreference):
2210 2009-11-13 Eric Seidel <eric@webkit.org>
2212 Reviewed by Adam Barth.
2214 Update committers.py based on svn records
2215 https://bugs.webkit.org/show_bug.cgi?id=31366
2217 This list was generated using validate-committer-lists from
2218 https://bugs.webkit.org/show_bug.cgi?id=30970
2219 and makes committers.py current for committers who have
2220 committed in the last 3 years.
2222 * Scripts/modules/committers.py:
2224 2009-11-12 Anantanarayanan G Iyengar <ananta@chromium.org>
2226 Reviewed by Adam Barth.
2228 The document-open.html test was flaky at times. The test invokes the layout test plugin
2229 which in its destroy stream handler opens a new document. This basically tears down the
2230 stream and the associated plugin instance. The pluginLog function in the layout test
2231 plugin attempts to retrieve the window script object on a torn down plugin instance
2232 which crashed consistently on windows in the debugger. The functions which issue
2233 these logs already have a valid window script object. We now have variants of the pluginLog
2234 function which take in a window script object with and without variable arguments.
2236 https://bugs.webkit.org/show_bug.cgi?id=31067
2238 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2239 (pluginLogWithWindowObject):
2240 (pluginLogWithWindowObjectVariableArgs):
2242 (notifyTestCompletion):
2246 2009-11-12 Joanmarie Diggs <joanmarie.diggs@gmail.com>
2248 Reviewed by Gustavo Noronha Silva.
2250 https://bugs.webkit.org/show_bug.cgi?id=30997
2251 [Gtk] Implemment AtkDocument
2253 Added testing support.
2255 * DumpRenderTree/AccessibilityUIElement.cpp:
2256 * DumpRenderTree/AccessibilityUIElement.h:
2257 (getDocumentEncodingCallback):
2258 (getDocumentURICallback):
2259 (AccessibilityUIElement::getJSClass):
2260 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2261 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2262 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2263 (AccessibilityUIElement::documentEncoding):
2264 (AccessibilityUIElement::documentURI):
2266 2009-11-12 Adam Roben <aroben@apple.com>
2268 Replace worldIDs with world objects
2270 Part of <http://webkit.org/b/31414> Implement new SPI for dealing with
2271 user scripts/stylesheets and isolated worlds
2273 Reviewed by Sam Weinig.
2275 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2276 (LayoutTestController::addUserScript):
2277 (LayoutTestController::addUserStyleSheet):
2278 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2279 (LayoutTestController::addUserScript):
2280 (LayoutTestController::addUserStyleSheet):
2281 Changed these functions to create a new WebJSWorld each time they're
2282 called and to pass that world to WebKit.
2284 2009-11-11 Chris Fleizach <cfleizach@apple.com>
2286 Reviewed by Oliver Hunt.
2288 need to implement aria tree roles
2289 https://bugs.webkit.org/show_bug.cgi?id=31284
2291 * DumpRenderTree/AccessibilityUIElement.cpp:
2292 (disclosedRowAtIndexCallback):
2293 (selectedRowAtIndexCallback):
2295 (isAttributeSettableCallback):
2296 (isActionSupportedCallback):
2297 (disclosedByRowCallback):
2298 (hierarchicalLevelCallback):
2299 (AccessibilityUIElement::getJSClass):
2300 * DumpRenderTree/AccessibilityUIElement.h:
2301 (AccessibilityUIElement::isEqual):
2302 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2303 (AccessibilityUIElement::hierarchicalLevel):
2304 (AccessibilityUIElement::disclosedRowAtIndex):
2305 (AccessibilityUIElement::selectedRowAtIndex):
2306 (AccessibilityUIElement::disclosedByRow):
2307 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2308 (AccessibilityUIElement::getChildAtIndex):
2309 (AccessibilityUIElement::disclosedRowAtIndex):
2310 (AccessibilityUIElement::selectedRowAtIndex):
2311 (AccessibilityUIElement::titleUIElement):
2312 (AccessibilityUIElement::parentElement):
2313 (AccessibilityUIElement::disclosedByRow):
2314 (AccessibilityUIElement::hierarchicalLevel):
2315 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2316 (AccessibilityUIElement::hierarchicalLevel):
2317 (AccessibilityUIElement::disclosedRowAtIndex):
2318 (AccessibilityUIElement::selectedRowAtIndex):
2319 (AccessibilityUIElement::disclosedByRow):
2321 2009-11-11 Shinichiro Hamaji <hamaji@chromium.org>
2323 Reviewed by Darin Adler.
2325 svn-apply can not handle git binary diffs
2326 https://bugs.webkit.org/show_bug.cgi?id=26830
2328 Support "literal" type git binary diffs.
2330 * Scripts/VCSUtils.pm:
2331 * Scripts/modules/scm_unittest.py:
2332 * Scripts/svn-apply:
2334 2009-11-11 Dmitry Titov <dimich@chromium.org>
2336 Not reviewed, removing duplicate entry for myself in committers.py.
2338 * Scripts/modules/committers.py:
2340 2009-11-11 Alexey Proskuryakov <ap@apple.com>
2342 Reviewed by Darin Adler and Mark Rowe.
2344 https://bugs.webkit.org/show_bug.cgi?id=31200
2345 Tests in http/tests/security/mixedContent start to fail when new tests are added
2347 * DumpRenderTree/mac/DumpRenderTree.mm: (dumpRenderTree): Added a workaround for Tiger bug.
2349 2009-11-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2351 Reviewed by Jan Alonzo.
2353 Create, and display a window for the inspector, for inspector
2356 Need to also show/hide the inspector window to avoid having
2357 problems with code assuming it is realized
2358 https://bugs.webkit.org/show_bug.cgi?id=31347
2360 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2361 (webInspectorShowWindow):
2362 (webInspectorCloseWindow):
2363 (webInspectorInspectWebView):
2366 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2368 Unreviewed Qt buildbot fix.
2370 My previous fix was wrong, so revert that change and fix it by
2371 returning when the document of the frame has no document element.
2372 Idea is borrowed from mac and win DRT.
2374 * DumpRenderTree/qt/DumpRenderTree.cpp:
2375 (WebCore::DumpRenderTree::dumpFramesAsText):
2377 2009-11-11 Eric Seidel <eric@webkit.org>
2379 Reviewed byg Kenneth Rohde Christiansen.
2381 Update Kenneth's committer record to include the email he
2382 uses on lists.webkit.org.
2384 * Scripts/modules/committers.py:
2386 2009-11-11 Eric Seidel <eric@webkit.org>
2388 Reviewed by Gustavo Noronha Silva.
2390 Several committers use separate email addresses for bugzilla and svn.webkit.org
2391 https://bugs.webkit.org/show_bug.cgi?id=31364
2393 Update records for existing committers to include email addresses
2394 used in svn.webkit.org and lists.webkit.org.
2395 Most committers use the same email address in all 3 places, but some use
2396 separate addresses. committers.py needs record of each of these addresses.
2398 * Scripts/modules/committers.py:
2400 2009-11-11 Eric Seidel <eric@webkit.org>
2402 No review, adding second email address for an existing committer.
2404 Add Yong Li's second bugzilla account to his committer record.
2405 See: https://bugs.webkit.org/show_bug.cgi?id=27371#c27
2407 * Scripts/modules/committers.py:
2409 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2411 Reviewed by Simon Hausmann.
2413 If the frame has no innerText don't append it, and
2414 do not add a newline which breaks some cross platform
2417 * DumpRenderTree/qt/DumpRenderTree.cpp:
2418 (WebCore::DumpRenderTree::dumpFramesAsText):
2420 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2422 Reviewed by Simon Hausmann.
2424 Implement missing functionality in the Gtk/Qt TestNetscapePlugin.
2426 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
2427 (webkit_test_plugin_new_instance):
2428 (webkit_test_plugin_destroy_instance):
2429 (webkit_test_plugin_destroy_stream):
2431 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2433 Reviewed by Mark Rowe.
2435 Implement the functionality needed by plugins/window-open.html
2437 * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
2438 (webkit_test_plugin_new_instance):
2439 (webkit_test_plugin_set_window):
2441 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2443 Reviewed by Simon Hausmann.
2445 [Qt] Force -graphicssystem raster and -style windows when running DRT
2447 * DumpRenderTree/qt/main.cpp:
2448 * Scripts/run-webkit-tests:
2450 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
2452 Reviewed by Simon Hausmann.
2454 Compute correct library paths for Qt
2456 * Scripts/webkitdirs.pm:
2458 2009-11-10 Mark Rowe <mrowe@apple.com>
2460 Reviewed by Sam Weinig.
2462 <http://webkit.org/b/31200> Tests in http/tests/security/mixedContent start to fail when new tests are added
2464 The first request to an HTTPS URL results in didFailProvisionalLoadWithError being called with an error
2465 about the validity of the self-signed certificates used in the regression tests. We would then add the
2466 host to the ignore list for SSL certificate errors and retry the request. If this happened during a test
2467 that had enabled frame load delegate logging this would result in extra log messages being generated,
2468 causing the test to fail.
2470 We address this by explicitly ignoring SSL certificate errors for localhost and 127.0.0.1 before running any
2473 * DumpRenderTree/mac/DumpRenderTree.mm:
2475 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2476 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2478 2009-11-10 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2480 Reviewed by Kenneth Rohde Christiansen.
2482 [Qt] Remove obsolete scrollbar policy settings from DRT constructor.
2484 * DumpRenderTree/qt/DumpRenderTree.cpp:
2485 (WebCore::DumpRenderTree::DumpRenderTree):
2487 2009-11-10 Philippe Normand <pnormand@igalia.com>
2489 Reviewed by Jan Alonzo.
2491 [GTK] Remove WebSocket configuration from WebKitWebSettings
2492 https://bugs.webkit.org/show_bug.cgi?id=31244
2494 Follow-up of r50724. Don't set the enable-web-socket property
2497 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2498 (resetDefaultsToConsistentValues):
2500 2009-11-10 Oliver Hunt <oliver@apple.com>
2502 Reviewed by Maciej Stachowiak.
2504 Rename 3D Canvas related classes to use WebGL prefix
2505 https://bugs.webkit.org/show_bug.cgi?id=29095
2507 Checkin new version of do-webcore-rename used to do the WebGL type rename,
2508 and upate webkitdirs script to new method of testing for WebGL.
2510 * Scripts/do-webcore-rename:
2511 * Scripts/webkitdirs.pm:
2513 2009-11-09 Oliver Hunt <oliver@apple.com>
2515 Reviewed by Geoff Garen.
2517 Make do-webcore-rename work with git.
2519 * Scripts/do-webcore-rename:
2521 2009-11-09 Simon Hausmann <simon.hausmann@nokia.com>
2523 Adding Kenneth to the reviewers list.
2525 * Scripts/modules/committers.py:
2527 2009-11-09 Martin Robinson <martin.james.robinson@gmail.com>
2529 Reviewed by Jan Alonzo.
2531 [GTK] Expose Page::tabKeyCyclesThroughElements in the API
2532 https://bugs.webkit.org/show_bug.cgi?id=30482
2534 LayoutTestControllerGtk now uses the exposed
2535 Page::tabKeyCyclesThroughElements API
2537 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2538 (LayoutTestController::setTabKeyCyclesThroughElements):
2540 2009-11-08 Shu Chang <Chang.Shu@nokia.com>
2542 Reviewed by Holger Freyther.
2544 [Qt] Added support for key code 8 (backspace) in EventSenderQt.
2545 This helps to pass the test case below. Also replaced hardcoded
2546 code numbers with defined constants.
2547 https://bugs.webkit.org/show_bug.cgi?id=31185
2549 Test: editing/undo/undo-deleteWord.html
2551 * DumpRenderTree/qt/EventSenderQt.cpp:
2552 (EventSender::keyDown):
2554 2009-11-07 Antonio Gomes <tonikitoo@webkit.org>
2556 Reviewed by Holger Freyther.
2558 [Qt] [DRT] Fix wrong logic in LayoutTestController processWork
2559 https://bugs.webkit.org/show_bug.cgi?id=31164
2561 Fixed wrong logic to assume WorkQueue is done in QT's DRT.
2563 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2564 (LayoutTestController::processWork):
2566 2009-11-05 Antonio Gomes <tonikitoo@webkit.org>
2568 Reviewed by Holger Freyther.
2570 [Qt][DRT] Replace queueScript by queueNonLoadingScript and queueLoadingScript method
2571 https://bugs.webkit.org/show_bug.cgi?id=31158
2573 By invoking a script queue'd by queueScript(), 'true' was beeing returned
2574 always, which from WorkQueue prospective means that a load has been started
2575 and the queue processing should stop and wait for the load to finish.
2576 Spinning it off into a loading and a non-loading variants was the solution
2577 adopted by Mac's DRT to work around this problem. The former keeps returning
2578 'true' while the later executes the script synchronously and returns 'false'
2579 making it possible to the WorkQueue to proceed right away.
2581 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
2582 (LayoutTestController::processWork):
2583 (LayoutTestController::queueLoadingScript):
2584 (LayoutTestController::queueNonLoadingScript):
2585 * DumpRenderTree/qt/LayoutTestControllerQt.h:
2586 * DumpRenderTree/qt/WorkQueueItem.h:
2587 (LoadingScriptItem::LoadingScriptItem):
2588 (LoadingScriptItem::invoke):
2589 (NonLoadingScriptItem::NonLoadingScriptItem):
2590 (NonLoadingScriptItem::invoke):
2592 2009-11-07 Mark Rowe <mrowe@apple.com>
2594 Rubber-stamped by Cameron Zwarich.
2596 Invoke prepare-ChangeLog via an absolute path rather than assuming it can be found in PATH.
2598 * Scripts/commit-log-editor:
2600 2009-11-07 Mark Rowe <mrowe@apple.com>
2602 Reviewed by Darin Adler.
2604 Fix <https://bugs.webkit.org/show_bug.cgi?id=28168>.
2605 commit-log-editor does not support all the email address configurations that prepare-Changelog supports
2607 Move logic for determining the name and email address to use in a ChangeLog entry from
2608 prepare-ChangeLog to VCSUtils so that commit-log-editor can use it. It wants to check
2609 whether the author of the patch matches committer, and therefore needs access to the
2610 email address that would be used in a ChangeLog entry.
2612 Based on a patch by Pierre d'Herbemont.
2614 * Scripts/VCSUtils.pm:
2615 * Scripts/commit-log-editor:
2616 * Scripts/prepare-ChangeLog:
2617 * Scripts/webkitdirs.pm:
2619 2009-11-06 Anantanarayanan G Iyengar <ananta@chromium.org>
2621 Reviewed by Adam Barth.
2623 Added functionality to the layout test plugin to invoke document.open and
2624 window.open with default arguments. The associated webkit bug is
2625 https://bugs.webkit.org/show_bug.cgi?id=31067, which affects Chromium. Basically
2626 window.open and document.open calls issued by NPAPI plugins via NPN_Invoke don't
2627 work in Chromium (V8) if there is no calling javascript context. To achieve this
2628 effect we invoke these functions in the layout test plugin in the NPP_SetWindow
2629 for the window.open test case and in NPP_DestroyStream for the document.open test case.
2631 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2635 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2636 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2639 (NPP_DestroyStream):
2640 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
2644 (NPP_DestroyStream):
2646 2009-11-06 Eric Seidel <eric@webkit.org>
2648 Reviewed by Adam Barth.
2650 bugzilla-tool crashed with exception
2651 https://bugs.webkit.org/show_bug.cgi?id=31092
2653 * Scripts/modules/bugzilla.py: Change a ',' to a '%' to fix the error.
2655 2009-11-04 Eric Seidel <eric@webkit.org>
2657 No review, just add a line which got left out of the patch uploaded for commit.
2659 commit-queue is crashing when trying to reject patches after unknown failures
2660 https://bugs.webkit.org/show_bug.cgi?id=31091
2662 * Scripts/bugzilla-tool: Set bug_log = None after closing to we don't re-close and crash.
2664 2009-11-04 Adam Roben <aroben@apple.com>
2666 Remove bogus else clause in bugzilla-tool
2668 Fixes <http://webkit.org/b/31125> REGRESSION (r47121): bugzilla-tool
2669 create-bug raises exception after entering bug description
2671 Reviewed by David Kilzer.
2673 * Scripts/bugzilla-tool:
2674 (CreateBug): else clauses are only hit if no exception is raised, so
2675 it makes no sense to try to re-raise the exception in an else clause.
2676 The exception will automatically be re-raised if it doesn't match any
2677 of the except clauses, so we don't have to do anything special here at
2678 all to get the desired behavior.
2680 2009-11-04 Eric Seidel <eric@webkit.org>
2682 Reviewed by David Kilzer.
2684 svn-apply's fixChangeLogPatch function seems broken
2685 https://bugs.webkit.org/show_bug.cgi?id=30683
2687 Update fixChangeLogPatch to be able to handle patches which
2688 don't start at line 1.
2689 Add unit tests for svn-apply to scm_unittest.py.
2691 * Scripts/VCSUtils.pm:
2692 * Scripts/modules/scm_unittest.py:
2694 2009-11-04 Chris Fleizach <cfleizach@apple.com>
2696 Reviewed by Beth Dakin.
2698 Need to implement ARIA role="combobox"
2699 https://bugs.webkit.org/show_bug.cgi?id=31096
2701 * DumpRenderTree/AccessibilityUIElement.cpp:
2703 (getIsExpandedCallback):
2704 (AccessibilityUIElement::getJSClass):
2705 * DumpRenderTree/AccessibilityUIElement.h:
2706 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2707 (AccessibilityUIElement::isExpanded):
2708 (AccessibilityUIElement::showMenu):
2709 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2710 (AccessibilityUIElement::isExpanded):
2711 (AccessibilityUIElement::showMenu):
2712 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2713 (AccessibilityUIElement::isSelected):
2714 (AccessibilityUIElement::isExpanded):
2715 (AccessibilityUIElement::showMenu):
2717 2009-11-04 Eric Seidel <eric@webkit.org>
2719 Reviewed by Adam Barth.
2721 commit-queue is crashing when trying to reject patches after unknown failures
2722 https://bugs.webkit.org/show_bug.cgi?id=31091
2724 * Scripts/bugzilla-tool:
2725 - patch['id'] was a copy/paste mistake. This code has no 'patch' variable
2726 so we have to find out what the current patch is by asking bugzilla again.
2727 - Discovered that this code was also leaking file descriptors, so fixed that.
2729 2009-11-04 Adam Roben <aroben@apple.com>
2731 Make run-webkit-tests work for the Debug_Internal Windows
2734 In Debug_Internal, DumpRenderTree.exe and ImageDiff.exe have no _debug
2737 Fixes <http://webkit.org/b/31123>.
2739 Reviewed by Sam Weinig.
2741 * Scripts/run-webkit-tests: Don't add the _debug suffix in
2742 Debug_Internal, either.
2744 2009-11-04 Eric Seidel <eric@webkit.org>
2746 Reviewed by Adam Barth.
2748 committers.py needs a way to store non-bugzilla email addresses
2749 https://bugs.webkit.org/show_bug.cgi?id=31037
2751 Make Committer and Reviewer constructors take a single email or a list of emails.
2752 Change committer_by_bugzilla_email functions to committer_by_email to support lookup by any email.
2753 Expose reviewers(), used by validate-committer-lists on bug 30970.
2755 * Scripts/modules/committers.py:
2756 * Scripts/modules/committers_unittest.py: Added tests for the new code.
2758 2009-11-03 Yuzo Fujishima <yuzo@google.com>
2760 Reviewed by David Levin.
2762 Start/Stop Web Socket and Web Socket Secure servers for layout tests.
2763 https://bugs.webkit.org/show_bug.cgi?id=27491
2765 The test path determination logic is changed to handle websocket and websocket/ssl cases.
2766 The logic for non-http (and now also non-websocket) tests is moved toward the end of the if-elsif statement.
2768 Functions to start or stop Web Socket servers are added.
2770 * Scripts/run-webkit-tests:
2772 2009-11-03 Eric Seidel <eric@webkit.org>
2774 No review, just changing wording of log message.
2776 Change log string to say "failed" instead of "rejected"
2777 when a commit fails due to an out of date checkout.
2778 This makes grepping the commit-queue log for rejected patches easier.
2780 * Scripts/bugzilla-tool:
2782 2009-11-03 Eric Seidel <eric@webkit.org>
2784 No review, adding commonly known committers missing from the file.
2786 * Scripts/modules/committers.py: Add committers found by looking at SVN records.
2788 2009-11-03 Eric Seidel <eric@webkit.org>
2790 No review, just sort-order cleanup.
2792 * Scripts/modules/committers.py: Sort committers/reviewers alphabetically.
2794 2009-11-03 Stephen White <senorblanco@chromium.org>
2798 Add myself to committers.py.
2800 * Scripts/modules/committers.py:
2802 2009-11-03 Robin Dunn <robin@alldunn.com>
2804 Reviewed by Kevin Ollviier.
2806 Add packaging scripts for Debian-based Linux distros.
2808 https://bugs.webkit.org/show_bug.cgi?id=31075
2810 * wx/packaging/build-debian-installer.py: Added.
2811 * wx/packaging/debian: Added.
2813 2009-11-03 Dan Bernstein <mitz@apple.com>
2815 Reviewed by Anders Carlsson and Beth Dakin.
2817 https://bugs.webkit.org/show_bug.cgi?id=31070
2819 Added an 'ondestroy' parameter to the test plug-in. When the plug-in is
2820 destroyed, it executes the value of the 'ondestroy' parameter as a
2823 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2824 (pluginAllocate): Initialize onDestroy.
2825 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Define
2827 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2828 (NPP_New): Set onDestroy to the value of the 'ondestroy' parameter, if
2830 (NPP_Destroy): Execute the value of 'ondestroy' as a script.
2832 2009-11-02 Joanmarie Diggs <joanmarie.diggs@gmail.com>
2834 Reviewed by Xan Lopez.
2836 https://bugs.webkit.org/show_bug.cgi?id=31035
2837 [GTK] some accessibility tests hitting assertion in debug builds
2839 Get the correct Gtk+ object before attempting to turn it into an AtkObject.
2841 * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
2842 (AccessibilityController::rootElement):
2844 2009-11-02 Chris Fleizach <cfleizach@apple.com>
2846 Reviewed by Beth Dakin.
2848 Support ARIA "tab" roles
2849 https://bugs.webkit.org/show_bug.cgi?id=30842
2851 * DumpRenderTree/AccessibilityUIElement.cpp:
2852 * DumpRenderTree/AccessibilityUIElement.h:
2853 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2854 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2855 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2857 2009-11-01 Eric Seidel <eric@webkit.org>
2859 Reviewed by David Levin.
2861 buildbots should use --exit-after-N-failures
2862 https://bugs.webkit.org/show_bug.cgi?id=30809
2864 Make the bots exit after 20 failures to prevent never-ending
2865 test runs where every test spends a minute crashing.
2867 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2869 2009-11-01 Laszlo Gombos <laszlo.1.gombos@nokia.com>
2871 Reviewed by Eric Seidel.
2873 Turn on warnings for QtWebKit for gcc
2874 https://bugs.webkit.org/show_bug.cgi?id=30958
2876 * DumpRenderTree/qt/main.cpp:
2877 (crashHandler): Mark function NO_RETURN
2879 2009-11-01 Jessie Berlin <jberlin@webkit.org>
2881 Adding myself to the committers list.
2883 * Scripts/modules/committers.py:
2885 2009-10-30 Jon Honeycutt <jhoneycutt@apple.com>
2887 Fix an issue that Adam noticed in DRT.
2889 Reviewed by Darin Adler.
2891 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2892 (AccessibilityUIElement::role):
2893 Get the length of the role text, and create a buffer dynamically.
2895 2009-10-30 Eric Seidel <eric@webkit.org>
2897 No review, rolling out r50105.
2898 http://trac.webkit.org/changeset/50105
2900 This commit was causing:
2901 https://bugs.webkit.org/show_bug.cgi?id=30869
2902 We'll re-implement the feature a different way.
2904 * Scripts/bugzilla-tool:
2906 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
2908 Test for MSAA: Accessibility of headings is not correct
2910 https://bugs.webkit.org/show_bug.cgi?id=30937
2912 Reviewed by Adam Roben.
2914 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2915 (AccessibilityUIElement::role):
2916 Allow the role returned to be a BSTR.
2917 (AccessibilityUIElement::description):
2918 Fix a copy/paste error.
2920 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
2922 Test for MSAA: Accessibility of links is wrong
2924 https://bugs.webkit.org/show_bug.cgi?id=30928
2926 Reviewed by Darin Adler.
2928 * DumpRenderTree/AccessibilityUIElement.cpp:
2929 (getAccessibilityValueCallback):
2930 Return the accessibility value.
2931 (AccessibilityUIElement::getJSClass):
2932 Added "accessibilityValue" value.
2934 * DumpRenderTree/AccessibilityUIElement.h:
2936 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
2937 (AccessibilityUIElement::accessibilityValue):
2940 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2941 (AccessibilityUIElement::accessibilityValue):
2944 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2945 (AccessibilityUIElement::accessibilityValue):
2946 Get the object's value, and return it as a JS string.
2948 2009-10-30 Kevin Ollivier <kevino@theolliviers.com>
2950 Fix typo in command name used by wx build system.
2952 * wx/build/build_utils.py:
2954 2009-10-30 Adam Barth <abarth@webkit.org>
2956 Reviewed by Darin Adler.
2958 Patch v1 is a dumb default name for patches
2959 https://bugs.webkit.org/show_bug.cgi?id=30952
2961 Let's use "Patch" instead.
2963 * Scripts/bugzilla-tool:
2965 2009-10-30 Andras Becsi <becsi.andras@stud.u-szeged.hu>
2967 Unreviewed trivial buildfix.
2969 [Qt] Buildfix for r50333.
2971 * DumpRenderTree/qt/DumpRenderTree.pro:
2973 2009-10-30 Antonio Gomes <tonikitoo@webkit.org>
2975 Reviewed by Holger Freyther.
2977 [Qt] Remove qt/WorkQueue.cpp|h in favor of platform independent WorkQueue
2978 https://bugs.webkit.org/show_bug.cgi?id=30953
2980 DumpRenderTree/WorkQueue and DumpRenderTree/qt/WorkQueue share mostly the
2981 same implementation. Some Q_ASSERTs differ from ASSERTs basically. Patch
2982 makes qt DRT to share this implementation (as gtk and mac ports do).
2984 * DumpRenderTree/qt/DumpRenderTree.pro:
2985 * DumpRenderTree/qt/WorkQueue.cpp: Removed.
2986 * DumpRenderTree/qt/WorkQueue.h: Removed.
2988 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
2990 Unreviewed potential buildbot fix.
2992 Second try: Reset page history before running each test.
2994 Apparently the QWebHistory::clear() keeps the current page
2995 in history which is not what we want, so we not additionally
2996 sets the history capacity to 0 (forces removing everything)
2997 and then sets it back to its original value.
2999 * DumpRenderTree/qt/DumpRenderTree.cpp:
3000 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
3002 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
3004 Unreviewed potential buildbot fix.
3006 Reset page history before running each test.
3008 * DumpRenderTree/qt/DumpRenderTree.cpp:
3009 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
3011 2009-10-30 Roland Steiner <rolandsteiner@chromium.org>
3013 Reviewed by Eric Seidel.
3015 Remove ENABLE_RUBY guards as discussed with Dave Hyatt and Maciej Stachowiak.
3017 Bug 28420 - Implement HTML5 <ruby> rendering
3018 (https://bugs.webkit.org/show_bug.cgi?id=28420)
3020 No new tests (no functional change).
3022 * Scripts/build-webkit:
3024 2009-10-29 Dan Bernstein <mitz@apple.com>
3026 Reviewed by Mark Rowe.
3028 Fix “Undefined subroutine” errors in svn-*apply by moving the removeEOL subroutine
3029 from the two scripts that define it but don’t use it to the script that uses it but doesn’t
3032 * Scripts/VCSUtils.pm:
3033 * Scripts/svn-apply:
3034 * Scripts/svn-unapply:
3036 2009-10-29 Xan Lopez <xlopez@igalia.com>
3038 Reviewed by Gustavo Noronha.
3040 Use the GTK+ main loop instead of rolling our own mini-version of
3043 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3046 (webViewLoadFinished):
3048 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
3050 Reviewed by Oliver Hunt.
3052 Implement the Qt version of DRT dumpBackForwardList().
3054 * DumpRenderTree/qt/DumpRenderTree.cpp:
3055 (WebCore::dumpHistoryItem):
3056 (WebCore::DumpRenderTree::dumpBackForwardList):
3058 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
3060 Reviewed by Adam Roben.
3062 Implement DRT functionality for Qt introduced in
3065 - Implemented pathToLocalResource which exposes the functionality of
3066 converting a given unix path to the correct location on Windows.
3067 - Implemented a way to remove machine-dependent information from paths
3068 in layout test results.
3070 * DumpRenderTree/qt/DumpRenderTree.cpp:
3071 (WebCore::urlSuitableForTestResult):
3072 (WebCore::WebPage::javaScriptConsoleMessage):
3073 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3074 (LayoutTestController::pathToLocalResource):
3075 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3077 2009-10-28 Roland Steiner <rolandsteiner@chromium.org>
3079 Adding myself to the committers list.
3081 * Scripts/modules/committers.py:
3083 2009-10-28 Chris Fleizach <cfleizach@apple.com>
3085 Adding myself to the committers list.
3087 * Scripts/modules/committers.py:
3089 2009-10-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3091 Reviewed by Jan Alonzo.
3093 [GTK] API to start inspector for a WebView
3094 https://bugs.webkit.org/show_bug.cgi?id=22551
3096 Use the new inspector API to implement the LayoutTestController
3097 interfaces used to test the inspector.
3099 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3100 (webInspectorInspectWebView):
3102 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3103 (LayoutTestController::showWebInspector):
3104 (LayoutTestController::closeWebInspector):
3105 (LayoutTestController::evaluateInWebInspector):
3107 2009-10-28 Shinichiro Hamaji <hamaji@chromium.org>
3109 Reviewed by Eric Seidel.
3111 [Qt] WebFrame::counterValueForElementById must not be exposed
3112 https://bugs.webkit.org/show_bug.cgi?id=30882
3114 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3115 (LayoutTestController::counterValueForElementById):
3117 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org>
3119 Rubberstamped by Oliver Hunt.
3123 "warning: ignoring return value of 'char* getcwd(char*, size_t)',
3124 declared with attribute warn_unused_result".
3126 by actually checking the result. In the case it is null, an
3127 error has occoured, so treat it as the other fatal errors.
3129 * DumpRenderTree/qt/DumpRenderTree.cpp:
3130 (WebCore::DumpRenderTree::initializeFonts):
3132 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org>
3134 Reviewed by Darin Adler.
3136 Provide a way to get counter values with layoutTestContoller
3137 https://bugs.webkit.org/show_bug.cgi?id=30555
3139 Define layoutTestContoller.counterValueForElementById.
3141 * DumpRenderTree/LayoutTestController.cpp:
3142 (counterValueForElementByIdCallback):
3143 (LayoutTestController::staticFunctions):
3144 * DumpRenderTree/LayoutTestController.h:
3145 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3146 (LayoutTestController::counterValueForElementById):
3148 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
3150 Rubberstamped by Oliver Hunt.
3152 Change two methods to be internal for DRT use only.
3154 Part of [Qt] Review all new API in Qt 4.6
3155 https://bugs.webkit.org/show_bug.cgi?id=29843#c11
3157 * DumpRenderTree/qt/DumpRenderTree.cpp:
3158 (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
3159 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3160 (LayoutTestController::whiteListAccessFromOrigin):
3162 2009-10-27 Eric Seidel <eric@webkit.org>
3164 Reviewed by Adam Barth.
3166 REGRESSION: svn-apply exits(1) when applying a patch with a file add
3167 https://bugs.webkit.org/show_bug.cgi?id=30826
3169 * Scripts/svn-apply:
3170 - Add () around all system() calls.
3171 - Use the correct system() == 0 or die instead of system() or die
3172 - Add descriptive messages to all die statements.
3174 2009-10-27 Steve Block <steveblock@google.com>
3178 Adds steveblock@google.com to list of committers.
3180 * Scripts/modules/committers.py: Adds steveblock@google.com to list of committers.
3182 2009-10-27 Eric Seidel <eric@webkit.org>
3184 Reviewed by Adam Barth.
3186 svn-apply can exit(0) even on patch failure
3187 https://bugs.webkit.org/show_bug.cgi?id=29622
3189 * Scripts/svn-apply:
3190 - Add a bunch of "or die" statements, hopefully catching all
3191 possible cases where failure could still exit(0).
3193 2009-10-27 Eric Seidel <eric@webkit.org>
3195 Reviewed by Adam Barth.
3197 svn-* scripts should share code through VCSUtils.pm
3198 https://bugs.webkit.org/show_bug.cgi?id=30791
3200 Just moving code into a shared location.
3202 * Scripts/VCSUtils.pm:
3203 * Scripts/prepare-ChangeLog:
3204 * Scripts/resolve-ChangeLogs:
3205 * Scripts/svn-apply:
3206 * Scripts/svn-create-patch:
3207 * Scripts/svn-unapply:
3208 * Scripts/update-webkit:
3210 2009-10-27 Vadim Zeitlin <vadim@wxwidgets.org>
3212 Suppress a huge number of MSVC warnings when building wxWebKit.
3214 * wx/build/settings.py:
3216 2009-10-26 Eric Seidel <eric@webkit.org>
3218 No review, just adding Mike Belshe to the committers list.
3220 * Scripts/modules/committers.py:
3222 2009-10-26 Laszlo Gombos <laszlo.1.gombos@nokia.com>
3224 Reviewed by Darin Adler.
3226 Make .rc files compile on Windows without depending on MFC headers
3227 https://bugs.webkit.org/show_bug.cgi?id=30750
3229 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc: Use
3230 windows.h instead of afxres.h because it exists even when MFC is not
3231 installed, and is all that's needed here.
3233 * FindSafari/FindSafari.rc: Ditto
3235 2009-10-24 Eric Seidel <eric@webkit.org>
3237 Reviewed by Adam Barth.
3239 bugzilla-tool post-diff should know how to mark commit-queue=?
3240 https://bugs.webkit.org/show_bug.cgi?id=29202
3242 * Scripts/bugzilla-tool:
3243 - Add --commit-queue option to post-diff, post-commits and create-bug.
3244 * Scripts/modules/bugzilla.py:
3245 - Added support for --commit-queue to add_patch_to_bug and create_bug_with_patch.
3246 - Added _fill_attachment_form to share code between add_patch_to_bug and create_bug_with_patch.
3248 2009-10-23 Eric Seidel <eric@webkit.org>
3250 Reviewed by Adam Barth.
3252 bugzilla-tool commit-queue does not notice modifications to committers.py
3253 https://bugs.webkit.org/show_bug.cgi?id=30084
3255 * Scripts/bugzilla-tool:
3256 - Make commit-queue re-exec itself instead of using while(1).
3257 - Add a --is-relaunch parameter to commit-queue to bypass initialization on re-launch.
3258 - Add a _next_patch() method which calls exec() (and could eventually call update-webkit too).
3260 2009-10-22 Eric Seidel <eric@webkit.org>
3262 Reviewed by Adam Barth.
3264 commit-queue will get stuck on patches if land-patches terminates unexpectedly
3265 https://bugs.webkit.org/show_bug.cgi?id=30634
3267 * Scripts/bugzilla-tool:
3268 - Add a way for land-patches to exit(2) to indicate an error, but one it has handled.
3269 - Make commit-queue auto cq- any patch where land-patches exited anything other than '0' or '2'.
3271 2009-10-26 Yuzo Fujishima <yuzo@google.com>
3273 Reviewed by Eric Seidel.
3275 Upgrade pywebsocket to 0.4.1. This will make reusing LayoutTests/fast/js/resources easier, for example.
3277 https://bugs.webkit.org/show_bug.cgi?id=30763
3279 * pywebsocket/mod_pywebsocket/__init__.py:
3280 * pywebsocket/mod_pywebsocket/dispatch.py:
3281 * pywebsocket/mod_pywebsocket/headerparserhandler.py:
3282 * pywebsocket/mod_pywebsocket/standalone.py:
3283 * pywebsocket/setup.py:
3284 * pywebsocket/test/test_dispatch.py:
3286 2009-10-26 Carol Szabo <carol.szabo@nokia.com>
3288 Reviewed by David Levin.
3290 REGRESSION: 2 failures in run-webkit-unittests
3291 https://bugs.webkit.org/show_bug.cgi?id=30645
3293 * Scripts/modules/cpp_style_unittest.py:
3294 Fixed a few test scenarios which apparently lost some spaces from
3297 2009-10-26 Kevin Ollivier <kevino@theolliviers.com>
3299 wx build fix. Make sure isQt() doesn't return true if --wx was passed to build-webkit.
3301 * Scripts/webkitdirs.pm:
3303 2009-10-26 Csaba Osztrogonác <ossy@webkit.org>
3305 Reviewed by Darin Adler.
3307 Unification of using null device in perl scripts.
3308 https://bugs.webkit.org/show_bug.cgi?id=30572
3310 * Scripts/VCSUtils.pm:
3311 * Scripts/bisect-builds:
3312 * Scripts/resolve-ChangeLogs:
3313 * Scripts/run-iexploder-tests:
3315 * Scripts/run-mangleme-tests:
3316 * Scripts/run-webkit-tests:
3317 * Scripts/webkitdirs.pm:
3318 Using File::Spec->devnull() instead of hard coded /dev/null.
3320 2009-10-26 Eric Seidel <eric@webkit.org>
3322 Reviewed by Holger Freyther.
3324 Reviewers are missing from committers.py
3325 https://bugs.webkit.org/show_bug.cgi?id=30733
3327 * Scripts/modules/committers.py:
3329 2009-10-23 Eric Seidel <eric@webkit.org>
3331 No review, only adding Alice to the list of reviewers.
3333 * Scripts/modules/committers.py:
3335 2009-10-23 Eric Seidel <eric@webkit.org>
3337 Reviewed by Eric Carlson.
3339 fast/media/mq-transform-02.html failed on Leopard Commit Bot
3340 https://bugs.webkit.org/show_bug.cgi?id=30700
3342 * DumpRenderTree/mac/DumpRenderTree.mm:
3343 (resetDefaultsToConsistentValues): Update QuickTime version check.
3345 2009-10-23 Kevin Ollivier <kevino@theolliviers.com>
3347 wxMac 10.4 build fix, needs to link against WebKitSystemInterfaceTiger to get
3348 character measurement APIs that are private on Tiger.
3350 * wx/build/settings.py:
3352 2009-10-22 Gavin Barraclough <barraclough@apple.com>
3354 Reviewed by NOBODY (build fix).
3355 Build fix following bug #30696.
3357 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3358 (LayoutTestController::evaluateScriptInIsolatedWorld):
3360 2009-10-22 Gavin Barraclough <barraclough@apple.com>
3362 Reviewed by Sam Weinig & Geoff Garen.
3364 https://bugs.webkit.org/show_bug.cgi?id=30696
3365 Enable isolated-worlds tests on mac.
3367 Add private interface for DRT to invoke execution in a given world.
3369 * DumpRenderTree/LayoutTestController.cpp:
3370 (evaluateScriptInIsolatedWorldCallback):
3371 (LayoutTestController::staticFunctions):
3372 * DumpRenderTree/LayoutTestController.h:
3373 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3374 (LayoutTestController::evaluateScriptInIsolatedWorld):
3375 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3376 (LayoutTestController::evaluateScriptInIsolatedWorld):
3378 2009-10-21 Eric Seidel <eric@webkit.org>
3380 Reviewed by Adam Barth.
3382 bugzilla-tool's "patch failed to download an apply" error should give more information
3383 https://bugs.webkit.org/show_bug.cgi?id=30632
3385 * Scripts/modules/scm.py:
3386 - Use the common run_command method instead of custom POpen code.
3387 - Make run_command know how to take pipes as input.
3388 * Scripts/modules/scm_unittest.py:
3389 - Add new tests to cover change.
3390 - Also move test_error_handlers into new SCMClassTests so we don't run it 3 times.
3392 2009-10-21 Kent Tamura <tkent@chromium.org>
3394 Unreviewed. Adding myself to the committers list.
3396 * Scripts/modules/committers.py:
3398 2009-10-21 Robin Dunn <robin@alldunn.com>
3400 Reviewed by Kevin Ollivier.
3402 Update the Windows installer builder to work with Vista / Win 7 and with git.
3404 https://bugs.webkit.org/show_bug.cgi?id=30649
3406 * wx/build/build_utils.py:
3407 * wx/packaging/build-mac-installer.py:
3408 * wx/packaging/build-win-installer.py:
3409 * wx/packaging/wxWebKitInstaller.iss.in:
3411 2009-10-21 Alejandro G. Castro <alex@igalia.com>
3413 Reviewed by Gustavo Noronha.
3415 [GTK] Added conditional code to avoid using
3416 gdk_window_get_root_coords if we do not have a gtk+ release newer
3418 https://bugs.webkit.org/show_bug.cgi?id=30636
3420 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
3422 2009-10-21 Shu Chang <Chang.Shu@nokia.com>
3424 Reviewed by Eric Seidel.
3426 [Qt] Added dummy implementation for keepWebHistory()
3427 https://bugs.webkit.org/show_bug.cgi?id=30592
3429 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3430 (LayoutTestController::keepWebHistory):
3431 * DumpRenderTree/qt/LayoutTestControllerQt.h:
3433 2009-10-21 Alejandro G. Castro <alex@igalia.com>
3435 Reviewed by Xan Lopez.
3437 [GTK] Fixed the double click condition, it is not double click if
3438 we move in just in one direction.
3439 https://bugs.webkit.org/show_bug.cgi?id=30636
3441 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
3443 2009-10-21 Alejandro G. Castro <alex@igalia.com>
3445 Reviewed by Xan Lopez.
3447 [GTK] Initialize the events completly before emitting them.
3448 https://bugs.webkit.org/show_bug.cgi?id=30633
3450 * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
3452 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
3454 wx build fix. Fix for when linking using --as-needed with gcc.
3456 * wx/browser/wscript:
3458 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
3460 wxMac 10.4 build fix. Build and link against a version of libcurl new enough
3461 to support all the features used by CURL backend.
3463 * wx/build/settings.py:
3464 * wx/install-unix-extras:
3466 2009-10-20 Anton Muhin <antonm@chromium.org>
3468 Reviewed by Adam Barth.
3470 Add {ager,antonm,yurys}@chromium.org into committers.py
3471 https://bugs.webkit.org/show_bug.cgi?id=30560
3473 * Scripts/modules/committers.py:
3475 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org>
3477 Reviewed by Tor Arne Vestbø.
3479 Make the Netscape Test plugin available to the Qt launcher.
3481 * Scripts/run-launcher:
3483 2009-10-20 Fumitoshi Ukai <ukai@chromium.org>
3485 Reviewed by David Levin.
3487 Removed WebSocket runtime settings.
3488 https://bugs.webkit.org/show_bug.cgi?id=29896
3490 WebSocket runtime configuration is supported by chromium/v8 only.
3492 * DumpRenderTree/mac/DumpRenderTree.mm:
3493 (resetDefaultsToConsistentValues):
3494 * DumpRenderTree/win/DumpRenderTree.cpp:
3495 (resetDefaultsToConsistentValues):
3497 2009-10-19 Nate Chapin <japhet@chromium.org>
3499 Reviewed by Adam Barth.
3501 Add testFail() to test plugin so we can test our handling of a
3502 plugin invoke call returning false.
3504 https://bugs.webkit.org/show_bug.cgi?id=30239
3506 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add testFail().
3508 (testIdentifierToString): Always return true, since returning false will now cause an exception to be thrown.
3510 2009-10-19 Zan Dobersek <zandobersek@gmail.com>
3512 Reviewed by Gustavo Noronha.
3514 Enable DOM pasting when running layout tests.
3516 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3517 (resetDefaultsToConsistentValues):
3519 2009-10-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
3521 Reviewed by Simon Hausmann.
3523 Use the setPreferredContentsSize method instead
3524 of setFixedContentsSize, as the method has been renamed.
3526 * DumpRenderTree/qt/DumpRenderTree.cpp:
3527 (WebCore::DumpRenderTree::open):
3528 * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
3529 (LayoutTestController::setFixedContentsSize):
3531 2009-10-16 Steve Falkenburg <sfalken@apple.com>
3533 Reviewed by Dan Bernstein.
3535 https://bugs.webkit.org/show_bug.cgi?id=30456
3536 Fixes for new Debug_All Windows build configuration.
3538 * DumpRenderTree/win/DumpRenderTree.cpp:
3539 (sharedCFURLCache): Use new DEBUG_ALL preprocessor define for library naming.
3540 * DumpRenderTree/win/DumpRenderTree.vcproj: Remove unused DEBUG_WEBKIT_HAS_SUFFIX.
3542 2009-10-16 Eric Seidel <eric@webkit.org>
3544 Reviewed by Adam Barth.
3546 commit-queue status bot should list which buildbot is blocking the queue
3547 https://bugs.webkit.org/show_bug.cgi?id=30452
3549 Add new methods and testing.
3551 * Scripts/bugzilla-tool:
3552 * Scripts/modules/buildbot.py:
3553 * Scripts/modules/buildbot_unittest.py:
3555 2009-10-16 Eric Seidel <eric@webkit.org>
3557 Reviewed by Adam Barth.
3559 run-webkit-tests fails when CWD is not inside a WebKit checkout
3560 https://bugs.webkit.org/show_bug.cgi?id=30451
3562 * Scripts/modules/scm.py: in_working_directory shouldn't throw exceptions on failure.
3563 * Scripts/modules/scm_unittest.py:
3564 - Remove use of original_path (we don't need to restore the CWD).
3565 - Don't use '.' to find the webkit checkout, use __file__ instead.
3567 2009-10-16 Steve Falkenburg <sfalken@apple.com>
3569 Reviewed by Adam Roben.
3571 Add a Debug_All configuration to build entire stack as debug.
3572 Change Debug_Internal to:
3573 - stop using _debug suffix for all WebKit/Safari binaries
3574 - not use _debug as a DLL naming suffix
3575 - use non-debug C runtime lib.
3577 * DumpRenderTree/DumpRenderTree.sln: Add Debug_All configuration.
3578 * DumpRenderTree/win/DumpRenderTree.vcproj: Add Debug_All configuration.
3579 * DumpRenderTree/win/ImageDiff.vcproj: Add Debug_All configuration.
3580 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3581 Add missing debug.vsprops inherited property sheet.
3582 Add Debug_All configuration.
3583 * FindSafari/FindSafari.vcproj: Renamed single configuration from "Release" to "all".
3584 * WinLauncher/WinLauncher.vcproj:
3585 Removed extraneous definitions inherited from vsprops.
3586 Add Debug_All configuration.
3588 2009-10-16 Carol Szabo <carol.szabo@nokia.com>
3590 Reviewed by David Levin.
3592 check-webkit-style is wrong about indent checking in namespaces
3593 in header files and a few other things
3594 https://bugs.webkit.org/show_bug.cgi?id=30362
3596 The few other things include:
3597 + check-webkit-style does not require spaces around the equal sign
3598 inside 'if' statements and around binary operators that take
3600 + check-webkit-style reports false errors for the / operator
3601 when part of a filename in the #include directive.
3603 * Scripts/modules/cpp_style.py:
3604 Improved indentation checking and space checking around
3605 binary operators. While the checks are still not perfect,
3606 they are clearly better than before.
3607 * Scripts/modules/cpp_style_unittest.py:
3608 Added test cases for the newly supported checks and modified old
3609 test cases to match the new guidelines
3611 2009-10-16 Kevin Ollivier <kevino@theolliviers.com>
3613 wxMSW build fix. Link to MSW library needed by PluginPackageWin.cpp.
3615 * wx/build/settings.py:
3617 2009-10-15 Yuzo Fujishima <yuzo@google.com>
3619 Reviewed by David Levin.
3621 Add mod_pywebsocket to test Web Sockets.
3622 http://code.google.com/p/pywebsocket/
3623 https://bugs.webkit.org/show_bug.cgi?id=27490
3625 * pywebsocket/COPYING: Added.
3626 * pywebsocket/MANIFEST.in: Added.
3627 * pywebsocket/README: Added.
3628 * pywebsocket/example/echo_client.py: Added.
3629 * pywebsocket/example/echo_wsh.py: Added.
3630 * pywebsocket/mod_pywebsocket/__init__.py: Added.
3631 * pywebsocket/mod_pywebsocket/dispatch.py: Added.
3632 * pywebsocket/mod_pywebsocket/handshake.py: Added.
3633 * pywebsocket/mod_pywebsocket/headerparserhandler.py: Added.
3634 * pywebsocket/mod_pywebsocket/msgutil.py: Added.
3635 * pywebsocket/mod_pywebsocket/standalone.py: Added.
3636 * pywebsocket/mod_pywebsocket/util.py: Added.
3637 * pywebsocket/setup.py: Added.
3638 * pywebsocket/test/config.py: Added.
3639 * pywebsocket/test/mock.py: Added.
3640 * pywebsocket/test/run_all.py: Added.
3641 * pywebsocket/test/test_dispatch.py: Added.
3642 * pywebsocket/test/test_handshake.py: Added.
3643 * pywebsocket/test/test_mock.py: Added.
3644 * pywebsocket/test/test_msgutil.py: Added.
3645 * pywebsocket/test/test_util.py: Added.
3646 * pywebsocket/test/testdata/handlers/blank_wsh.py: Added.
3647 * pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added.
3648 * pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added.
3649 * pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added.
3650 * pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added.
3651 * pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added.
3652 * pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added.
3653 * pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added.
3655 2009-10-15 James Robinson <jamesr@google.com>
3657 Reviewed by David Levin.
3659 Updates check-webkit-style to reflect that code inside a namespace should not be indented, even in a header file.
3661 https://bugs.webkit.org/show_bug.cgi?id=30426
3663 * Scripts/modules/cpp_style.py:
3664 * Scripts/modules/cpp_style_unittest.py:
3666 2009-10-15 Brian Weinstein <bweinstein@apple.com>
3668 Reviewed by Adam Roben.
3670 Fixes <http://webkit.org/b/30411>.
3671 REGRESSION(49485): pdevenv doesn't compile in parallel for non-chromium builds on Windows.
3673 Added a check for isChromium() in pdevenv, and pass /useenv if we are not
3678 2009-10-15 Robin Dunn <robin@alldunn.com>
3680 Reviewed by Kevin Ollivier.
3682 Add Mac package building scripts for wx.
3684 https://bugs.webkit.org/show_bug.cgi?id=30405
3686 * wx/build/build_utils.py: